Description Usage Arguments Details Value See Also
View source: R/initialize_weights.R
Initialize weights
1 2 | initialize_weights(data_table, n_breaks = 11, spline_order = 4,
plot = FALSE)
|
data_table |
Input data table |
n_breaks |
Number of breaks for the histogram |
spline_order |
Order of splines |
plot |
Logical. Produce a histogram plot if true |
Initialize the weights using the histogram of p_hat
Histogram values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.