I am trying to use the lmer() function R to perform a mixed effects analysis on phyloseq data. This is my d
ataframe. I keep getting the error message
“Error in h(simpleError(msg, call)) :
error in evaluating the argument ‘object’ in selecting a method for function ‘summary’: invalid ‘lazy’ to ‘R_sparse_transpose’
model.data <-data.frame(
infected=factor(sample_data(physeq.rarefy)$lesion_infected),
site=factor(sample_data(physeq.rarefy)$body_site),
group=factor(sample_data(physeq.rarefy)$countryname),
diversity=alpha.metrics$Shannon, sample=factor(sample_data(physeq.rarefy)$pair_1))
model.data <- (na.omit(model.data))
I have tried the data in this file (https://jontalle.web.engr.illinois.edu/MISC/lme4/bw_LME_tutorial.pdf) to double check whether it was my data and it produces the same error message. I have tried uninstalling the lme4 package and reinstalling and this has not fixed the issue. Has anyone else encountered this problem and how did you fix it?
Sat22277 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.