View source: R/misc_mle_sample.R
draw_sample | R Documentation |
Draw feature-label data sample
draw_sample(
n = 100,
score = score_linearsparse,
pars = list(P = 50, Prel = 5, rho = 0, red = 0, b = 0.5, s = 1, mu = 4),
seed = NULL,
tune = FALSE
)
n |
integer, sample size |
score |
function specifying score |
pars |
list of score parameters |
seed |
integer to set seed explicitly (or NULL) |
tune |
logical (default: FALSE) if TRUE, return true parameter values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.