View source: R/internal.plasso.R
handle_weights | R Documentation |
handle_weights
cleans potential sample weights or codes them as ones if they are not specified.
handle_weights(w, n)
w |
Vector or n x 1 matrix of weights or null if no weights provided |
n |
Number of observations |
Vector of weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.