You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the user-defined function pred.fun, the line as.data.frame(Yes) must be changed to as.vector(Yes) because pdp::partial() does not accept a data frame for the partial function argument pred.fun= (explicitly forbidden in the package documentation regarding use of the argument pred.fun; matrix is also forbidden )
The text was updated successfully, but these errors were encountered:
In the user-defined function pred.fun, the line as.data.frame(Yes) must be changed to as.vector(Yes) because pdp::partial() does not accept a data frame for the partial function argument pred.fun= (explicitly forbidden in the package documentation regarding use of the argument pred.fun; matrix is also forbidden )
The text was updated successfully, but these errors were encountered: