Description Usage Arguments Value Examples
Generates a tibble of n
rows with user-specified column types.
1 | gen_tbl(n, types)
|
n |
The number of rows in the tibble. |
types |
The types for the columns in the data. The representation
follows the convention specified in the |
A [tibble][tibble::tibble-package] with n
rows and
nchar(types)
columns.
1 2 | # A tibble with 42 rows and one character, one date and one integer column
gen_tbl(42, "cDi")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.