Re: [R] how to export results of rcorr into excel

2008-11-11 Thread Dieter Menne
shixin hotmail.com> writes: > > I try to export the outputs of rcorr into excel. but I got error message,"cannot coerce class "rcorr" into a > data.frame". Actually i just need export part of results of this analysis,e.g. p-values or stat-values. library(Hmisc) x <- c(-2, -1, 0, 1, 2) y <- c(4,

[R] how to export results of rcorr into excel

2008-11-11 Thread shixin
Hi, I try to export the outputs of rcorr into excel. but I got error message,"cannot coerce class "rcorr" into a data.frame". Actually i just need export part of results of this analysis,e.g. p-values or stat-values. Does anyone have sort of exprience before or you can help on how to export