Dear Jonas,

Thanks for you your suggestion. I tried double quotes (as in following
code). It still does not work. Attached is the data.

library(gamlss)
data=read.csv("D:\\lzg\\jointmodel\\data.csv",header=T)
data$ID<-factor(data$ID)
par.plot(factpal~timetodeath2,data=data,sub=ID,color=FALSE,ylim=c(50,184),xlab="Time
to death",ylab="FACITPAL")


Zhigang



On Sat, Jan 14, 2012 at 8:10 PM, Jonas Stein [via R] <
ml-node+s789695n4296048h14@n4.nabble.com> wrote:

>  > 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 <[hidden email]<http://user/SendEmail.jtp?type=node&node=4296048&i=0>>
>
> https://github.com/jonasstein/R-Reference-Card
>
> ______________________________________________
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4296048&i=1>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.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://r.789695.n4.nabble.com/par-plot-for-repeated-measurements-tp4279069p4296048.html
>  To unsubscribe from par.plot() for repeated measurements, click here<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4279069&code=WmhpZ2FuZy5MaUBkYXJ0bW91dGguZWR1fDQyNzkwNjl8LTE3NzQ2MDQ4NDk=>
> .
> NAML<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://r.789695.n4.nabble.com/par-plot-for-repeated-measurements-tp4279069p4297143.html
Sent from the R help mailing list archive at Nabble.com.
	[[alternative HTML version deleted]]

