View source: R/logitSplines_start.R
logitSplines_start | R Documentation |
Get the initial estimates for a logistic spline fit by assuming the binomial detection probability
logitSplines_start(dp, mu, wt, df = 1)
dp |
A vector of detection proportion in all precursors. |
mu |
A vector of average observed intensities in all precursors. |
wt |
A vector of the numbers of trials (samples size). |
df |
Degrees of freedom for the natural cubic spline. |
A list of fitted coefficients and the basis matrix for a spline with some degrees of freedom.
# See the vignettes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.