powered by
coef.sgpv
S3 method coef for an S3 object of class sgpv
coef
sgpv
# S3 method for sgpv coef(object, ...)
An sgpv object
Other coef arguments
Coefficients in the OLS model
# NOT RUN { # prepare the data x <- t.housing[, -ncol(t.housing)] y <- t.housing$V9 # run one-stage algorithm out.sgpv <- pro.sgpv(x = x, y = y) # get coefficients coef(out.sgpv) # }
Run the code above in your browser using DataLab