The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
You can install the development version of seinfitR from GitHub with:
Alternatively, if you’d like to install the stable version of seinfitR from CRAN, run:
The seinfitR package is designed for fitting the Seinhorst equation to experimental data describing the relationship between preplant nematode densities and plant growth. The package provides nonlinear least squares fitting and useful methods for model evaluation and visualization.
We will use the glasshouse dataset included in the package:
We fit the model using the seinfitR() function, specifying initial parameter values and controlling iteration limits:
The result of the seinfitR()
function returns a list
containing several important elements related to the fitted model:
- fit: The fitted model object, which can be further analyzed or extracted.
- summary_seinfitR: A summary of the fitted model, providing details about parameter estimates and statistical significance.
- cov: The covariance matrix of the parameter estimates, if available.
- data: The original dataset used for fitting the model.
- x: The name of the predictor variable (e.g., preplant nematode density).
- y: The name of the response variable (e.g., plant growth).
- z_fixed: A boolean indicating whether the `z` parameter was fixed during model fitting.
If `TRUE`, the function uses the default value for ( z^t ), as described in
Seinhorst, J. W. (1986). Effects of nematode attack on the growth and yield of crop plants. In Cyst nematodes (pp. 191-209). Springer US.
summary(model)
#> Seinhorst Model - Parameter Estimates
#> -----------------------------------------------------
#> Estimate Std. Error t value Pr(>|t|)
#> m 0.5951683 0.008177824 72.77832 4.096851e-16
#> t 1.6829177 0.116059892 14.50042 1.627030e-08
#> y_max 10.3675895 0.053752628 192.87596 9.127161e-21
#> -----------------------------------------------------
#> R2 - R squared (Coefficient of Determination): 0.9949782
#> Adjusted_R2 - Adjusted R squared: 0.9940652
#> -----------------------------------------------------
The fitted model can be visualized using built-in plotting functions:
For further details, refer to the official GitHub repository.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.