Re: [R] Recurrence plots in R using different colours

2017-10-12 Thread Jim Lemon
Hi Lisa, I'm not sure exactly what sort of plot you want, but this may help: rcol<-matrix(c(1,0,3,1,0,4,0,0,1,0,5,6),ncol=4,byrow=TRUE) # replace zeros with NAs as there is no numeric color for zero rcol[rcol==0]<-NA library(plotrix) color2D.matplot(rcol,cellcolors=rcol,yat=1:3) Jim On Fri, Oct

[R] Recurrence plots in R using different colours

2017-10-12 Thread l.handke
Hello, I am an absolutely beginner with regards to R, so forgive me for my potentially very stupid questions. I have been attempting to create recurrence plots using R. The data I am using is based on a mutually exclusive and exhaustive coding scheme with over 40 individual codes which can be ass