Displaying 2 results from an estimated 2 matches for "visitwk".
Did you mean:
visit
2002 Sep 09
1
Plots by subject
...bject (1 to
n).
-The data frame is in the form of one line per visit per subject (so more than
one line per subject). (I thought this may be why the 'split' and 'for'
functions didn't do it for me.)
This works one subject:
pt <- ID == '1'
par(oma=c(0,2,0,3))
plot(VISITWK[pt], T4[pt], ylim=c(0,500), xlim=c(0,50), xlab='Visit week',
type='b', ylab='CD4 count (cells/ul) [-o-]')
par(new=T)
plot(VISITWK[pt], LOG.BDUS[pt], ylim=c(1,6), xlim=c(0,50), pch='+', axes=F,
ylab='', type='b', xlab='', main='Viral load...
2002 Nov 20
0
Plots by subject
...per subject (so more
than
>> one line per subject). (I thought this may be why the 'split' and 'for'
>> functions didn't do it for me.)
>>
>> This works one subject:
>>
>> pt <- ID == '1'
>> par(oma=c(0,2,0,3))
>> plot(VISITWK[pt], T4[pt], ylim=c(0,500), xlim=c(0,50), xlab='Visit week',
>> type='b', ylab='CD4 count (cells/ul) [-o-]')
>> par(new=T)
>> plot(VISITWK[pt], LOG.BDUS[pt], ylim=c(1,6), xlim=c(0,50), pch='+', axes=F,
>> ylab='', type='b', xla...