> On Sep 25, 2016, at 6:43 PM, John Sorkin wrote:
>
> I have a data frame that contains data for multiple (seven) subjects. Each
> subject is represented by a new value of PID.
> I would like to plot the data for all seven subjects. For each subject I want
> to plot a line showing CT as a func
Hi John,
I know this is kind of dumb, but:
plot(0,xlim=range(xx$Nit,na.rm=TRUE),
ylim=range(xx$CT,na.rm=TRUE),type="n",
xlab="Nit",ylab="CT")
for(i in unique(xx$PID))
points(xx$Nit[xx$PID==i],xx$CT[xx$PID==i],
pch=i,col=i,type="b")
Jim
On Mon, Sep 26, 2016 at 11:43 AM, John Sorkin
wrote:
>
2 matches
Mail list logo