Created
March 20, 2021 05:27
-
-
Save jcheong0428/8344426284d9a0cf758a9e6dc826cd06 to your computer and use it in GitHub Desktop.
LMER in Rpy2 with input and outputs from notebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%R -i data -o betas | |
m<-lmer('Weight ~ Time + (1+Time|Pig)', data=data) | |
print(summary(m)) | |
betas <- fixef(m) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment