simulate_knot {simglm} | R Documentation |
Simulate knot locations
Description
Function that generates knot locations. An example of usefulness of this funciton would be with generation of interrupted time series data. Another application may be with simulation of piecewise linear data structures.
Usage
simulate_knot(data, sim_args)
Arguments
data |
Mostly internal argument. |
sim_args |
A named list with special model formula syntax. See details and examples for more information. The named list may contain the following:
|
[Package simglm version 0.8.9 Index]