[R] Kendall heat map
Shane Carey
careyshan at gmail.com
Fri Jun 17 11:47:25 CEST 2016
Hi,
I was hoping someone could help me. I was wondering are there any libraries
available to undertake a kendall correlation on a matrix of data, in the
same way as what can be undertaken with the rcorr function:
cormatrix = rcorr(as.matrix(A), type='spearman')
cordata = melt(cormatrix$r)
ggplot(cordata, aes(x=Var1, y=Var2, fill=value)) +
geom_tile() + xlab("") + ylab("")
Thanks
--
Le gach dea ghui,
Shane
[[alternative HTML version deleted]]
More information about the R-help
mailing list