Internal method that is used by R code to pass into Rust code.
isotonic_regression_impl(y, X = NULL, weights = NULL, decreasing = FALSE)Numeric vector of isotonic fitted means.
Double vector of response values.
Double vector of covariate values, or NULL if responses are pre-sorted.
Double vector of non-negative weights, or NULL for equal weights.
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.