[R] JMdesign package

2017-05-22 Thread Bernard North
Dear R list I wonder please if anyone has experience they can share of the JMdesign package that performs sample sized for (surviival/longitudinal) joint models and is based on the paper "Sample size and power determination in joint modeling of longitudinal and survival data " by Chen et al (

[R] histograms embedded in a plot (as alternative to jitter)

2014-03-05 Thread Bernard North
Dear R list, I am plotting a discrete valued number on the y axis against a continuous variable on the x axis. To allow sample size to be viewed for the discrete groups I am using vertical jitter. So my code is along the lines of y<-rpois(500,2) x<-rnorm(500,y,1) plot(x,jitter(y)) It has not be