[R] Replace columns in a data.frame randomly splitted

R. Michael Weylandt michael.weylandt at gmail.com
Thu Dec 1 19:41:18 CET 2011

I repeat myself:

Any more automated solution will depend on whether your data has
rownames or not. [...] create a plain text representation of R data
using the dput() command.

Another way that might make more sense is to cbind() the data you need
later on before the split and then it will be carried through.


On Thu, Dec 1, 2011 at 2:54 AM, agent dunham <crosspide at hotmail.com> wrote:
> The thing is that I've already been working with df1, and I was looking for
> a function that could replace values knowing rows and columns. Does it
> exist?
> Thank you, user at host.com
> --
> View this message in context: http://r.789695.n4.nabble.com/Replace-columns-in-a-data-frame-randomly-splitted-tp4122926p4127405.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list