On Wed, Jul 30, 2008 at 12:24:22PM +0200, Philipp Pagel wrote: > If I understand correctly, all you want to do is add another column to > your data.frame. Unless I have overlooked something, a simple > assignement should do: > > copd$trans <- copd$admissions+0.25
Sorry, that should have been: copd$trans <- sqrt(copd$admissions+0.25) cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan 85350 Freising, Germany http://mips.gsf.de/staff/pagel ______________________________________________ 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.