Description Usage Arguments Value Examples
not sure about this right here
1 | sample_long(datx, idvar, n = 5)
|
datx |
data.table or data.frame |
idvar |
variable that identifies a unit across observations |
n |
number of units (*not* number of observations) |
This function returns a data.table
with samples from a larger data.table
1 2 3 4 | ## Not run:
function(arg1, arg2 etc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.