Create a new resample object from the rounded proportion of indices starting at the beginning of a resample object. For example, create a resample object pointing to the the first .3 (30%) or .5 (50%) of rows pointed to by the original resample object.
1 | p_from_resample(resample, p)
|
resample |
|
p |
Non-zero proportion. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.