Hello, I am trying to design a matrix using model.matrix:
ZG <- model.matrix(∼0 + as.factor(phenoMaizeToy$Line))
However, I am receiving this error:
Error: unexpected input in "ZG <- model.matrix(∼"
Does anyone know how to mediate this issue?
Thanks!