powered by
A GUI interface for exploring spline selectivity.
selfit_spline(n = 4, minBin = 10, maxBin = 65, knots = NULL, slopevec = c(0.01, -0.01), params = NULL, dir = getwd(), silent = FALSE)
Number of knots.
Minimum length or age to show.
Maximum length or age to show.
Vector giving location of each knot.
Optional initial values parameters controlling slope at first and last knot.
Optional initial values for the parameters controlling selectivity at each knot.
Directory in which the spline_selex executable is located (default = working directory).
TRUE/FALSE switch to return fit at the end.
selfit
# NOT RUN { # } # NOT RUN { selfit_spline() # } # NOT RUN { # }
Run the code above in your browser using DataLab