Displaying 4 results from an estimated 4 matches for "patient_no".
Did you mean:
patient_id
2006 Sep 07
5
augPred plot in nlme library
...o create an augPred plot in the nlme library, similar to the
plot on
p.43 of Pinheiro & Bates (Mixed Effects Models in S and S-Plus) for
their Pixel data.
My data structure is the same as the example but I still get the error
msg below.
> comp.adj.UKV <- groupedData(adj.UKV ~ Time | Patient_no/Lisinopril,
data = comp.adj.UKV.frm, order.groups = F)
> fm1comp = lme(adj.UKV ~ Time + Time.sq, data = comp.adj.UKV, random =
list(Patient_no = ~ 1) )
> plot(augPred(fm1comp, level= 1))
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, :
variabl...
2006 Jun 28
5
sapply question
sent this to the list yesterday but didn't see it listed in the daily
summary ... apologies if you receive it
twice ...
________________________________
From: Afshartous, David
Sent: Tuesday, June 27, 2006 10:02 AM
To: 'r-help@stat.math.ethz.ch'
Subject: sapply question
All:
I'm trying to use sapply to break up data within another function.
(tapply doens't seem to work
2006 Jun 14
3
appending
...er ## gamma = rate of Cr going into bucket, e.g., mg/hr ##
delta.0.Y.0 = product of delta.0 and Y.0 at baseline ##
Y.1 = delta.0.Y.0 + gamma
delta = numeric(6)
delta.patient = numeric(24)
delta.patient.comb = numeric(144)
##
for (k in 1:24) { ## each patient
patient.k.CAND = which(comp.CAND.frm$Patient_no == k)
Ucr.CAND.patient.k = comp.CAND.frm$Ucr[patient.k.CAND]
C = Ucr.CAND.patient.k ## 6 observed creatanine values
for each patient
delta[1] = (Y.1 - C[1])/Y.1
Y.i = Y.1
delta.i = delta[1]
for (i in 1:5) { ## six measurments per
patient
Y.i.plus.1 = delta.i * Y.i + gamma
delt...
2006 Jul 13
0
collapsing plot lines
All,
When plotting a group data object, is there a way to have the plots
of all the groups collapsed onto one plot, i.e., instead of
separate panels as would be produced from example below?
grouped.data.example <- groupedData(Y ~ Time | Patient_no,
data = example.frm)
plot(grouped.data.example)
cheers,
dave
ps - I'm on windows