View source: R/sigma_from_family.R
| resolve_sigma_family | R Documentation |
Validates the family/sigma combination and returns a list with:
sigma_fun: NULL (fixed-sigma path) or a closure
function(eta) returning sigma at each eta.
family: the family object (possibly set to NULL for
gaussian(identity) short-circuit).
resolve_sigma_family(family, sigma_missing, sigma = NULL, offset = 0)
family |
A family object or NULL. |
sigma_missing |
Logical: was sigma missing in the calling function? |
sigma |
Numeric sigma value (only used when sigma_missing is FALSE). |
offset |
Numeric scalar offset. |
A list with components sigma_fun and family.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.