Displaying 1 result from an estimated 1 matches for "copd2".
Did you mean:
cond2
2008 Jul 30
2
Bizarre - R crashes on merge
Hi all,
I have a large data.frame, 1530 observation with 6 columns. I want to
merge a 7th column, a transformation of the response variable (hospital
admissions), namely
trans<-sqrt(copd$admissions+0.25)
trans<-data.frame(trans)
And now when I do
copd2<-merge(copd,trans)
(copd being my original data.frame), R either crashes or is taking an
extremely long time to do the computation. I had expected the
computation to be done almost instantly as I have done similar things in
R recently, however my system becomes very slow to the point of being
un...