Description Usage Arguments Author(s) Examples
View source: R/utils-solvers.R
This function can only be used inside sfcr_set()
when generating variables.
It smartly guesses the length of the sfcr_baseline()
model or of the
sfcr_shock()
that it is inserted.
1 | sfcr_random(.f, ...)
|
.f |
This argument accepts three options: "rnorm", "rbinom", and "runif",
and implement the respective functions from the built-in |
... |
Extra arguments to be passed to the |
João Macalós
1 2 3 4 5 | # Create a random normal series to pass along an endogenous series
# Example taken from model PC EXT 2.
sfcr_set(
Ra ~ sfcr_random("rnorm", mean=0, sd=0.05)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.