Re: [R] converting to data.frame

2009-10-15 Thread David Winsemius
You probably could have saved some time by installing Hmisc and using rcorr: ---something like: require(Hmisc) typecors <- tapply(c.df[ , c("age_obs", "Ht_cm", "BD_mm", "CDA_cm", "CDB_cm") ], c.df$type, rcorr ) The upper or lower triangle of those results could have populated most of you

Re: [R] converting to data.frame

2009-10-15 Thread stephen sefick
Make the example reproducible. Us dput() or make up data that illustrates the problem. The nice folks on this list volunteer their time, so try and make the the help easier to give. And please read the posting guide if you haven't. commented, minimal, self-contained, reproducible code... like i

[R] converting to data.frame

2009-10-15 Thread ms.com
> dear all I have a data set with three types (Tree, Sapling, Seedling). I have estimated the correlation values. now i need to bring all the correlation values in a table like the one i have shown in attached file with R codes.could you please give me idea on this problem > thanking you MS

[R] converting to data.frame

2009-10-15 Thread ms.com
dear allI have a data set with three types (Tree, Sapling, Seedling). I have estimated the correlation values. now i need to bring all the correlation values in a table like the one i have shown in attached file with R codes.could you please give me idea on this problem thanking you MSNepal