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
Improper handling of the data frame with only 1 predictor variable and 1 response variable.
Steps to reproduce the error
data(peFactors)
names(peFactors)
pef <- peFactors[,c(1,8)]
lmout <- qeLin(pef , 'wageinc')
parvsnonparplot(lmout,qeKNN(pef , 'wageinc', 25))
Expected error
1. error message from qeLin()
Error in eval(predvars, data, env) :
numeric 'envir' arg not of length one
2 error message from qeKNN()
Error in getXY(newx, NULL, TRUE, FALSE, object$factorsInfo) :
data must be a data frame
The text was updated successfully, but these errors were encountered:
kenneth-lee-ch
changed the title
Handling one predictor and one response variable
Error with qe(): handling one predictor and one response variable
Nov 6, 2020
What is the issue?
Improper handling of the data frame with only 1 predictor variable and 1 response variable.
Steps to reproduce the error
data(peFactors)
names(peFactors)
pef <- peFactors[,c(1,8)]
lmout <- qeLin(pef , 'wageinc')
parvsnonparplot(lmout,qeKNN(pef , 'wageinc', 25))
Expected error
1. error message from qeLin()
Error in eval(predvars, data, env) :
numeric 'envir' arg not of length one
2 error message from qeKNN()
Error in getXY(newx, NULL, TRUE, FALSE, object$factorsInfo) :
data must be a data frame
The text was updated successfully, but these errors were encountered: