case_weights_allowed | R Documentation |
Not all modeling engines can incorporate case weights into their calculations. This function can determine whether they can be used.
case_weights_allowed(spec)
spec |
A parsnip model specification. |
A single logical.
case_weights_allowed(linear_reg())
case_weights_allowed(linear_reg(engine = "keras"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.