I have plant genotypes that have been classified as Invasive
, Wild
or Domestic
. I am trying to investigate what explanatory variables (such as "leaf size", "width of petals" and other continuous variables) affect the probability of being classified a sone of the three groups. I therefore have to perform a multinomial logistic regression. However, I would like to account for phylogenetic non-independence using a kinship matrix.
Are there R tools that can perform such regression?
I considered lmekin for example but I don't think it manages to take a response that can take 3 different categories. Is there some function I would be interested in (in the ape
package for example)?