View source: R/extendr-wrappers.R
| isotonic_regression_impl | R Documentation |
Internal method that is used by R code to pass into Rust code.
isotonic_regression_impl(y, X = NULL, weights = NULL, decreasing = FALSE)
y |
Double vector of response values. |
X |
Double vector of covariate values, or NULL if responses are pre-sorted. |
weights |
Double vector of non-negative weights, or NULL for equal weights. |
decreasing |
Bool indicating direction (default FALSE is increasing, TRUE is decreasing). |
Internal wrapper; user-facing input validation happens in the R function 'isotonic_regression()' (R/modeling.R). The asserts here are backstops with clear messages for anyone calling the wrapper directly.
Numeric vector of isotonic fitted means.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.