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. Michael On Thu, Dec 1, 2011 at 2:54 AM, agent dunham <crossp...@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, u...@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@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. ______________________________________________ R-help@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.