New answers tagged r
1
vote
Question regarding coefficents regarding linear modeling in R
thus my new formula is just XZ + YZ ?
No, the * operator in R expands into all lower-order terms.
terms(~(X * Z) + (Y * Z))
...
0
votes
Does anyone know if I have written this mixed model correctly in lme4?
Perhaps this is what the authors intended:
lmer(Index ~ Genotype + (1 + Genotype | Location) + (1 | Rep:Location))
That is, a "random slope" for Genotype by location.
Top 50 recent answers are included
Related Tags
r × 1482machine-learning × 360
python × 161
time-series × 85
predictive-modeling × 82
clustering × 81
classification × 78
data-mining × 74
random-forest × 73
regression × 72
statistics × 71
visualization × 69
dataset × 57
rstudio × 53
neural-network × 52
data × 52
logistic-regression × 50
data-cleaning × 47
xgboost × 46
linear-regression × 39
decision-trees × 38
ggplot2 × 38
text-mining × 32
keras × 30
feature-selection × 30