Displaying 2 results from an estimated 2 matches for "thisdf".
Did you mean:
thisdc
2011 Jun 08
1
Variable in file name png
Hi,
I'm having trouble with getting the png function to properly produce multiple graphs. RIght now I have:
for (z in data) {
png(file=z,bg="white")
thisdf<-data[[z]]
plot(thisdf$rc,thisdf$psi)
dev.off()
}
Which should take the "data" object, a list of data sets and produce a graph of each with respect to the two variables rc and psi.
I want the names to change for each graph, but am not sure how to do it, any help would be apreciated...
2008 Jun 18
5
paste data
Hello,
I need a command.
I have a lot of data in different dataframes(auto.0a, auto.0b, auto.0c, auto.5Na,...), that has similar names.
I could print the names all at once wih a loop with the command paste(), see below: