search for: varhh2xlist

Displaying 2 results from an estimated 2 matches for "varhh2xlist".

2012 May 13
1
how to write data using xlsReadWrite
...varLH2ylist[i] <- var(y.modwt$LH2[,i]) } ##Get the variance from the overall y variance varLH2y <- var(varLH2ylist) #-----------------------------------------------------------------# ##Get the dimension ##HH2 dimHH2 <- dim(y.modwt$HH2) dimHH2x <- dimHH2[1] dimHH2y <- dimHH2[2] varHH2xlist <- c(rep(0, dimHH2x)) varHH2ylist <- c(rep(0, dimHH2y)) ##Loop to get variance from x axis for(i in seq(dimHH2x)){ varHH2xlist[i] <- var(y.modwt$HH2[i,]) } ##Get the variance from the overall x variance varHH2x <- var(varHH2xlist) ##Loop to get variance from y axis for(i in seq(...
2012 May 13
4
write data using xlsReadWrite
...{ varLH2ylist[i] <- var(y.modwt$LH2[,i]) } ##Get the variance from the overall y variance varLH2y <- var(varLH2ylist) #-----------------------------------------------------------------# ##Get the dimension ##HH2 dimHH2 <- dim(y.modwt$HH2) dimHH2x <- dimHH2[1] dimHH2y <- dimHH2[2] varHH2xlist <- c(rep(0, dimHH2x)) varHH2ylist <- c(rep(0, dimHH2y)) ##Loop to get variance from x axis for(i in seq(dimHH2x)){ varHH2xlist[i] <- var(y.modwt$HH2[i,]) } ##Get the variance from the overall x variance varHH2x <- var(varHH2xlist) ##Loop to get variance from y axis for(i in seq(dimH...