This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var array = [[1,2,[3,4]],4]; | |
function flattenArray(array){ | |
var length = array.length; | |
var flattenedArray = new Array(); | |
for(var x = 0; x < length; x++){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################### | |
#### Initializer For Shiny App #### | |
################################### | |
#Add shiny library | |
library("shiny") | |
#Retrieve command line arguments | |
args = commandArgs(trailingOnly=TRUE) |