Description Usage Arguments Value
classify_qr
creates binary classifications from a quantile
regression fit by comparing predicted values to a prespecified threshold.
1 | classify_qr(newx, coef, y_transform, threshold)
|
newx |
a design matrix containing the input values for predictions. |
coef |
a vector or matrix containing the estimated regression coefficient values. If a matrix (e.g. if you want classifications for model fits produced by a sequence of tuning parameter values), then the each column should correspond to a different fit. |
y_transform |
a vectorized function to be applied to the predictions. |
threshold |
the threshold to compare the predictions to. |
a vector or matrix of classifications.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.