Displaying 2 results from an estimated 2 matches for "phonydata2".
2017 Jun 20
2
by can not find transpose function
...ement using the t function. When 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&qu...
2017 Jun 20
0
by can not find transpose function
...he 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", "...