search for: multpage

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

Did you mean: multipage
2010 Dec 19
3
Layout of mulitpage conditioned lattice plots
...s to divide the dataframe into subset that fit on one page, but the code is ugly. Is there a build-in way to achieve this? Dieter library(lattice) nsubj = 13 # This number is variable dt = expand.grid(time=1:20,comp=LETTERS[1:3],subj=letters[1:nsubj]) dt$val = rnorm(nrow(dt)) #pdf(file="multpageOk.pdf") # How it should look: xyplot(val~time|subj+comp, data=dt,type="l",layout=c(10,3), subset=as.integer(subj) <= 10) #dev.off() # What to do if it stretches over multiple pages, but I want the same # layout as above? pdf(file="multpage.pdf") xyplot(val~time|subj+c...
2010 Dec 19
3
monthly median in a daily dataset
Hello, I have a multi-year dataset (see below) with date, a data value and a flag for the data value. I want to find the monthly median for each month in this dataset and then plot it. If anyone has suggestions they would be greatly apperciated. It should be noted that there are some dates with no values and they should be removed. Thanks Emily > print ( str(data$flow$daily) )