> I am using the package gamlss in R to plot repeated measurements. The > command I am using is par.plot(). It works great except one thing about the > label of the axises. I tried to label both x and y axises using ylab and > xlab options. But the plot only gives variable variables. The labels did not > show up. Below is the code I used. Any comments are appreciated! Thanks. > > library(gamlss) > enable2r=read.csv("D:\\lzg\\jointmodel\\enable2r.csv",header=T) > enable2r$ID<-factor(enable2r$ID) > par.plot(factpal~timetodeath2,data=enable2r,sub=ID,ylim=c(45,184),ylab='FACIT-PAL',xlab='Time > to death',color=FALSE,lwd=1)
i can not use your example, as i have no enable2r.csv, but perhaps you have luck if you change xlab='Time to death' to xlab="Time to death" kind regards, -- Jonas Stein <n...@jonasstein.de> https://github.com/jonasstein/R-Reference-Card ______________________________________________ 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.