fit | R Documentation |
Functions to fit statistical models to data.
fit(x, ...) ## S3 method for class 'variogram' fit(x, model = "spherical", nugget = TRUE, distance.exponent = 0, inits, ...) ## S3 method for class 'morphometry.scsbio' fit(x, y, z, n = 1, sex, theta, discrete = FALSE, print = FALSE, trace = 0)
x |
Data object or numeric vector representing a morphometric predictor variable.. |
model |
Character string specifying the model type. |
nugget |
Logical value specifying whether a variogram model contains a nugget semi-variance parameter. |
distance.exponent |
Numeric value specifying the exponent to be applied in the distance metric. export |
y |
Numeric vector representing a morphometric response variable. |
z |
Binary classification vector classifying morphometric data into discrete maturity groups. |
n |
Number of observations for each (x,y) pair (optional). |
sex |
Biological sex which specifies the type of analysis or initial values to be applied. |
theta |
Parameter vector. |
discrete |
Logical value specifying whether to treat observations as discrete rounded values. |
print |
Logical value specifying whether to print information about progress during model fitting. |
trace |
Optimization control output (see |
fit(variogram)
: Fit a model to empirical variogram data.
fit(morphometry.scsbio)
: Fit a morphometric model to snow crab morphometric data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.