Yes, that is it. Or even simpler:
mapply(plot, x=df1, ylab=names(df1), col=1:10, main=paste("Plot",
names(df1)))
Thank you!
Bjarke Christensen
Thanks to everybody who replied - I got three distinct, very useful
suggestions.
Bjarke Christensen
Romain Francois
would be hoping for
something like
lapply(df1, function(x) plot(x, ylab=parent.index()))
or some way to parse the index number out of the call, using match.call()
or something like that.
Thanks in advance for any comments,
Bjarke Christensen
__
R-help@r-pro
covariate.
I hope this helps - if it doesn't, you might try posting a self-contained
example (code) that we can try on our systems and that will provoke the
same error.
Bjarke Christensen.
Helen Jenkins wrote:
>The error message when I use list is:
>&quo
4 matches
Mail list logo