Displaying 1 result from an estimated 1 matches for "ppm_summary".
Did you mean:
app2_summary
2010 Sep 16
1
Odd graphics output problem
...39;m having trouble saving graphics output from within a loop, and I
can't figure out a solution. I'd like to produce and save lots of
individual plots for inspection, so I set up the following script:
library( lattice )
wd = "~/Documents/PPM/"
ppm = read.table( paste( wd, "ppm_summary.txt", sep = "" ), sep = "\t",
header = TRUE )
ppm$Trial = as.factor( ppm$Trial )
for ( ID in levels( ppm$Patient ) ){
patient_data = ppm[ ppm$Patient == ID, ]
dir.create( paste( wd, ID, sep = "" ) )
for ( trial in ( levels( ppm[ ppm$Patient == ID, ]$T...