Description Usage Arguments Details Value Examples

Generate multiple initial vectors for the nls function in sgSEMp1().

1 |

`bounds` |
a list of three vectors of length = 2. Each vector gives the upper and lower limits of an interval from which the initial values are randomly generated. The default values list(a1 = c(-3, 3), a2 = c(-3, 3), a3 = c(-3, 3)) sets limits of all three initial values to be (-3, 3). |

`k` |
a positive integer (default = 50). The number of initial vectors to generate. |

Currently the non-linearizable function included in sgSEMp1() is y = a + b * exp(c * x), where a, b and c are coefficients to be estimated. Thus, an initial vector contains three values. The random initial values are generated by a uniform distribution between the bounds.

A data frame. Each column corresponds to a coefficient. Each row corresponds to a random initial vector.

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.