data_from_function {rcausim} | R Documentation |
Generate causally-simulated data
Description
Generate causally-simulated data
Usage
data_from_function(func, n)
Arguments
func |
Functions, an object class generated by
|
n |
Number of observations, a numeric of length 1, non-negative, and non-decimal. |
Value
A data frame which include the simulated data for each vertex as a column.
Examples
data(functions)
data_from_function(functions, n = 100)