Question on model.matrix using BMTME Package

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?


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.