Description Usage Arguments Details
View source: R/beta_coefficients.R
Reduce the weights such that it rounds to 'nice' numbers.
1 | reduce_data_weights(data_model_obj, N, by = 1, choose = "random", family)
|
data_model_obj |
An object from 'generate_response_with_ratio'. |
N |
Number of weights to be trimmed. |
by |
Integer; desired decrement for each weight. |
choose |
One of 'random' and 'top'. If 'random', the function reduces a random set of N weights. If 'top', the function reduces the heaviest N weights. |
family |
GLM family, see "?family" for details. |
Not for external users.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.