| print.simulab_sim | R Documentation |
Prints a one-line header giving the simulation type and the full dimensions,
then at most the first 10 rows of the primary data, then a count of the rows
not shown. The table of generating values follows under the heading
Truth: the first of coefficients, fixed_effects, parameters,
transition, transitions, true_transitions, definitions,
probabilities, survival_definitions and settings that the result
stores, again at most 10 rows. A last line names the other stored tables,
which as.data.frame() returns with what.
## S3 method for class 'simulab_sim'
print(x, ...)
x |
A |
... |
Arguments passed to the base data-frame print method. |
x, invisibly.
result <- simulate_ttest(n_a = 30, n_b = 30, mean_a = 0, mean_b = 0.5, seed = 1)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.