search for: datasetoriginal

Displaying 1 result from an estimated 1 matches for "datasetoriginal".

2012 Aug 05
1
trouble with looping for effect of sampling interval increase
...c <- WHOLESIZE[2]-1 for (i in 1:c) { x <- length(unique(index[,i])) for (j in 1:x) { data <- WHOLE [WHOLE[,x]==j,1] But also here is the whole code in case I am wrong that that is the problem area: #loop for making index #clean dataset of empty cells dataset <- na.omit (datasetORIGINAL) #how messed up was the data? holeyDATA <- datasetORIGINAL - dataset D <- dim(dataset) #what is the smallest sample? tinysample <- 100 #how long is the dataset? datalength <- length (dataset) #MD <- how many divisions MD <- datalength/tinysample #clear things up...