Dear Adrian,
See ?cor.test.
HTH,
Jorge
On Fri, Jul 10, 2009 at 4:13 PM, Adrian Johnson
<oriolebaltimore@gmail.com>wrote:
> Hi I have a matrix with samples on columns and variables and their
> values on rows.
> I want to calculate correlation (pearson) between a variable and
> others in rows and obtain t-scores for the variables.
> how can i do it.
> thank you.
> Ad
>
> ______________________________________________
> 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.
>
[[alternative HTML version deleted]]