Description Usage Arguments Author(s) Examples
The expand
function is similar to the function of the same name available in Stata. Given a dataset, and an expansion factor N, expand will output all rows in a data frame, repeated N times each.
1 | expand(dataset, size)
|
dataset |
A data frame or matrix to expand. |
size |
Number of times each row should be output in the resulting data frame or matrix. |
Ryan Patrick Kyle <ryan.kyle@mail.mcgill.ca>
1 2 3 4 5 6 7 8 9 10 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.