-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in qr.fitted(qrhs, G) : 'qr' and 'y' must have the same number of rows #524
Comments
No, I don't know. But you do not give many hints either. What are |
xy is a matrix just like this xy has the same rows as data. I try to change rhs to name of variable. But I use adonis2 in a function. I change character to a variable name to achieve it. But Error in model.frame.default(delete.response(terms(formula)), data, na.action = na.action) : My code is adonis2(xy ~ as.symbol(colnames(as.data.frame(as.matrix(simphyseq@sam_data)))), data = as.data.frame(as.matrix(simphyseq@sam_data))) What are your insights? |
I really do not understand how you came up with such a long and winding expressions. What do you think they make? It seems that xy # is this a matrix, what are its dims
as.symbol(colnames(as.data.frame(as.matrix(simphyseq@sam_data)))) # what is the name you get here
as.data.frame(as.matrix(simphyseq@sam_data)) # does this exist, what are its dims Also remember that |
hello,
when I run
I get Error in qr.fitted(qrhs, G) :
'qr' and 'y' must have the same number of rows
do you know why
The text was updated successfully, but these errors were encountered: