Nico,

Check https://stat.ethz.ch/pipermail/r-help/2008-May/161725.html for some
alternatives.  You might have to change the structure of your data, though.

HTH,
Jorge.-


On Wed, Feb 13, 2013 at 10:13 PM, Nico Met <> wrote:

> Dear all,
>
> I have a data (bellow) and I want to make a correlation test with p-value
>
> structure(list(Name = structure(c(3L, 3L, 3L, 3L, 3L, 3L, 3L,
> 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("CTJ",
> "PKR", "TTK"), class = "factor"), score = c(86.4371428571428,
> 89.7028571428572, 87.728, 89.99, 89.42, 85.6914285714286, 82.256,
> 83.9942857142857, 86.4371428571429, 84.596, 84.74, 87.8771428571428,
> 83.12, 81.824, 88.5457142857143, 85.7171428571429, 84.902,
> 89.8828571428571,
> 91.5542857142857, 89.42, 86.81)), .Names = c("Name", "score"), class =
> "data.frame", row.names = c(NA,
> 21L))
>
> And finally , I would like to display as matrix where I can fill up with
> p-values
>
>
>  *TTK*
>  *CTJ*
>  *PKR*
>  *TTK*
>  **
>  **
>  **
>  *CTJ*
>  **
>  **
>  **
>  *PKR*
>
>
>
>
>
> Many thanks for your help in advance
>
> Nico
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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]]

______________________________________________
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.

Reply via email to