search for: intervalmean

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

Did you mean: internalmean
2012 Aug 05
1
trouble with looping for effect of sampling interval increase
...elect = -c(1) ) #merge dataset and index loop WHOLE <- cbind (dataset, index) WHOLESIZE <- dim (WHOLE) #Housekeeping before loops IntervalBetas <- NULL IntervalBetas <- c(NA,NA) IntervalBetas <- as.data.frame (IntervalBetas) IntervalLowerQ <- NULL IntervalUpperQ <- NULL IntervalMean <- NULL IntervalMedian <- NULL #Here is the loop for betas from 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] #get power spectral density PSDPLOT <- spectrum (data, d...