Description Usage Arguments Value
This function will sample n observations, or if n < 1, it will sample the proportion of the total obseravtion specified by n.
1 | sample_obs(df, n)
|
df |
dataframe to sample |
n |
integer or numeric < 1 and > 0 |
a dataframe with number of observations specified by n, or the proportion of observations specified by n.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.