
Create a raven universe specification
create_universe.RdThis function creates a universe specification with a given number of variables and a given crud distribution.
Usage
create_universe(nVars, rCorDistFun = rnorm, ...)
# S3 method for raven_universe_spec
print(x, ...)Arguments
- nVars
The number of variables in the universe.
- rCorDistFun
The function to call to produce the correlations between the variables in the universe. As its first argument, this function has to accept the number of values to produce, and any subsequent arguments can be passed in
.... Optionally, you can specify a number, which is then used for all correlations.- ...
Additional arguments to pass to the
rCorDistFunfunction.