[R] Preparing data frame for Plotrix kiteChart

Graham Smith graham.smith at myotis.co.uk
Sun Sep 19 10:19:14 CEST 2010


Jim,

> Ben's solution is excellent, I just thought I would add an alternative
> starting with the X dataframe:
>
> x2<-matrix(X$Count,ncol=3)
> rownames(x2)<-unique(X$Distance)
> colnames(x2)<-unique(X$Species)
> kiteChart(t(X3),xlab="Distance",ylab="Species")

Thanks, very useful to see an alternative approach.


Graham



More information about the R-help mailing list