View source: R/loo_subsample.R
obs_idx | R Documentation |
Get observation indices used in subsampling
obs_idx(x, rep = TRUE)
x |
A |
rep |
If sampling with replacement is used, an observation can have
multiple samples and these are then repeated in the returned object if
|
An integer vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.