Displaying 2 results from an estimated 2 matches for "areasqmi".
2009 Sep 01
1
Read multiple files into dataframe?
Hello,
I am fairly new to R programming and am stuck with the following problem.
I am trying to read in multiple files (see attached file or at end of
email), the files all have the same general header information and
different precipitation (avgppt) and area (areasqmi) values. Some times
the number of records are different in the files.
I want to read in all files (.stdsummary), and create a dataframe that
contains the area and precipitation for each file (files are different
duration), and supply a header name that represents the duration (sixth
line down...
2009 Oct 22
1
Cairo package, png files within for loop are black?
...ck? If I comment
out the for loop and force my zones to equal one the png file is created
correctly? Is there an issue with generating .png files within a for loop?
Create .png commands within for loop:
CairoPNG(paste(t.g), width=800, height=600, pointsize=12, bg="white")
xyplot(areasqmi ~ value, x.p, groups=dur,
main=(t.n), ylab=expression("Area(mi" ^ 2 * ")"),
xlab="Maximum Average Depth of Percipitation (inches)",
scales=list(y=list(log=TRUE)), ylim=c(1,1000000), type='l',
auto.key=list(space='right'))
dev.off()
--...