Displaying 4 results from an estimated 4 matches for "intrvntn".
2018 Mar 22
3
How do I include a factor in a groupedData object? Meaning and use of inner and outer parameters
...file for groupedData multiple times. I am unable to understand the meaning or, or the use for the inner= and outer= parameters in the call to groupedData. Can someone either explain the meaning of these parameters or refer me to a source that give a clear explanation?
> fit0 <- lmer(THmean~INTRVNTN+factor(TimePtID)+INTRVNTN*factor(TimePtID)+(1|PatientID),data=smalldata)
> sdgd <- groupedData(THmean~INTRVNTN+TimePtID+INTRVNTN*TimePtID|PatientID,data=smalldata)
Warning messages:
1: In Ops.factor(INTRVNTN, TimePtID) : ?+? not meaningful for factors
2: In Ops.factor(INTRVNTN, TimePtID) : ?*...
2018 Mar 22
0
How do I include a factor in a groupedData object? Meaning and use of inner and outer parameters
...pedData multiple times. I am unable to understand the meaning or, or the use for the inner= and outer= parameters in the call to groupedData. Can someone either explain the meaning of these parameters or refer me to a source that give a clear explanation?
>
>
>> fit0 <- lmer(THmean~INTRVNTN+factor(TimePtID)+INTRVNTN*factor(TimePtID)+(1|PatientID),data=smalldata)
>> sdgd <- groupedData(THmean~INTRVNTN+TimePtID+INTRVNTN*TimePtID|PatientID,data=smalldata)
> Warning messages:
> 1: In Ops.factor(INTRVNTN, TimePtID) : ?+? not meaningful for factors
> 2: In Ops.factor(INTRV...
2017 Jun 20
2
by can not find transpose function
...I use the by function, I get a message,
Error in FUN(X[[i]], ...) : could not find function "FUN"
I don't think I have a syntax error in my by statement because the by statment works using the print function.
Data and an executable example follows:
phonydata2 <- structure(list(INTRVNTN = c("CONTROL", "CONTROL", "CONTROL",
"MPR+NMES+HPRO", "CONTROL", "CONTROL", "CONTROL", "CONTROL",
"MPR+NMES+HPRO", "MPR+NMES+HPRO", "CONTROL", "CONTROL", "CONTROL",
&quo...
2017 Jun 20
0
by can not find transpose function
...>
> Error in FUN(X[[i]], ...) : could not find function "FUN"
>
> I don't think I have a syntax error in my by statement because the by statment works using the print function.
>
> Data and an executable example follows:
>
> phonydata2 <- structure(list(INTRVNTN = c("CONTROL", "CONTROL", "CONTROL",
> "MPR+NMES+HPRO", "CONTROL", "CONTROL", "CONTROL", "CONTROL",
> "MPR+NMES+HPRO", "MPR+NMES+HPRO", "CONTROL", "CONTROL", "CONTROL&q...