-
Notifications
You must be signed in to change notification settings - Fork 12
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
rf.effectSize function error #6
Comments
Just checked the function, using the code you provided as well as running the examples and it all runs fine. Can you please send me the results of your sessionInfo() so I can see your version of R, rfUtilities and packages loaded?
Best,
Jeff
Jeffrey S. Evans, Ph.D., | Senior Landscape Ecologist & Biometrician
The Nature Conservancy | Protected Lands Science
Visiting Professor | University of Wyoming | Zoology & Physiology
Laramie, WY | ***@***.******@***.***> | (970) 672-6766<tel:(970)%20672-6766>
From: ManuelSpinola ***@***.***>
Sent: Wednesday, May 12, 2021 4:05 PM
To: jeffreyevans/rfUtilities ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [jeffreyevans/rfUtilities] rf.effectSize function error (#6)
I am trying to run the example of the rf.effectSize function but gives me an error.
library(randomForest)
data(airquality)
airquality <- na.omit(airquality)
fit.reg <- randomForest(Ozone ~ ., data=airquality)
Parameter effect sizes
rf.effectSize(fit.reg, y = airquality$Solar.R, pred.data = airquality, x.var = Solar.R)
Error in a[[which(names(a) == "x")]] :
attempt to select less than one element in get1index
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#6>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACLKH77PKSLPMOCBP3UQLDTTNL3R5ANCNFSM44ZOC4DQ>.
|
Thank you very much Jeffrey.
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
I am trying to run the example of the rf.effectSize function but gives me an error.
library(randomForest)
data(airquality)
airquality <- na.omit(airquality)
fit.reg <- randomForest(Ozone ~ ., data=airquality)
Parameter effect sizes
rf.effectSize(fit.reg, y = airquality$Solar.R, pred.data = airquality, x.var = Solar.R)
Error in a[[which(names(a) == "x")]] :
attempt to select less than one element in get1index
The text was updated successfully, but these errors were encountered: