On Sun, 15 Nov 2009 14:33 -0500, "Jacob Wegelin"
wrote:
>
> Often I perform the same task on a series of variables in a dataframe,
> by looping through a character vector that holds the names and using
> paste(), eval(), and parse() inside the loop.
>
> For instance:
>
> rm(environmental)
> the
Often I perform the same task on a series of variables in a dataframe,
by looping through a character vector that holds the names and using
paste(), eval(), and parse() inside the loop.
For instance:
rm(environmental)
thesevars<-names(environmental)
environmental$ToyReal <-rnorm(nrow(environmen
2 matches
Mail list logo