Hi,
You should separate parameters like you would do it for a regular function
call and use the class Formula.
from rpy2.robjects import Formula
r.lme(Formula("gpr ~1"), random = Formula("~1 ..."))
On Feb 24, 2013 6:32 AM, "David Haynes" wrote:
> Hello,
>
> I have a question about using a dataf
Hello,
I have a question about using a dataframe in the R function (lme)
This is the r function I am trying to run
r.lme("gpr ~ 1, random =~1 | groups, weights")
This is the summary of the code.
import rpy2
import rpy2.robjects as robjects
r = robjects.r
r.library('nlme')
d = {'id': robjects.In