search for: new_morb

Displaying 2 results from an estimated 2 matches for "new_morb".

Did you mean: new_mode
2010 Aug 19
1
Adding column to dataframe
...f it takes ~20 minutes morbidity$adm_date <- as.Date(etc) when I place the vector over it (so no computation involved), or place it as a new column it still takes ~20 minutes morbidity$adm_date <- test morbidity$new_col <- test when I tried a cbind to add it that way it took >20 minutes new_morb <- cbind(morbidity,test) Has anyone done something similar or know of a different command that should work faster? I can't get my head around what R is doing, if it can create the vector instantly then the computation is quite simple, I don't understand why then adding it as a column to...
2010 Aug 24
0
mlm for within subject design
...c) >> when I place the vector over it (so no computation involved), or place it > as >> a new column it still takes ~20 minutes >> morbidity$adm_date <- test >> morbidity$new_col <- test >> when I tried a cbind to add it that way it took>20 minutes >> new_morb <- cbind(morbidity,test) >> >> Has anyone done something similar or know of a different command that > should >> work faster? I can't get my head around what R is doing, if it can create >> the vector instantly then the computation is quite simple, I don't >...