Description Usage Arguments Details Value See Also Examples
Add sample rows to an isatab
1 | isa_rows_add(x, n, total = FALSE, replicate = TRUE)
|
x |
an isatab object |
n |
number of rows to add |
total |
if TRUE, the resulting isatab object will have |
replicate |
If true (default), the values in the last row of the isatabs will be replicated. Otherwise, empty rows will be added. |
Expand the isatab by adding rows. If total parameter is TRUE, the
number of rows to be added will be such that the final number of rows is
n. However, if n is smaller than current number of rows, no rows
will be removed.
An object of class isatab with expanded rows
1 2 3 4 | file <- system.file('extdata', 's_isatab.txt', package='isaeditor')
isa_s <- read_isa(file)
isa_new <- isa_rows_add(isa_s, 10, total=TRUE)
n_row(isa_new)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.