Package: OEFPIL 0.1.1

Stanislav Zamecnik
OEFPIL: Optimal Estimation of Function Parameters by Iterated Linearization
Package for estimating the parameters of a nonlinear function using iterated linearization via Taylor series. Method is based on Kubáček (2000) ISBN: 80-244-0093-6. The algorithm is a generalization of the procedure given in Köning, R., Wimmer, G. and Witkovský, V. (2014) <doi:10.1088/0957-0233/25/11/115001>.
Authors:
OEFPIL_0.1.1.tar.gz
OEFPIL_0.1.1.tar.gz(r-4.5-noble)OEFPIL_0.1.1.tar.gz(r-4.4-noble)
OEFPIL_0.1.1.tgz(r-4.4-emscripten)OEFPIL_0.1.1.tgz(r-4.3-emscripten)
OEFPIL.pdf |OEFPIL.html✨
OEFPIL/json (API)
NEWS
# Install 'OEFPIL' in R: |
install.packages('OEFPIL', repos = 'https://cloud.r-project.org') |
- silica2098 - Nanoindentation measurements data
- silicaBerk - Nanoindentation measurements data
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 3 years agofrom:46ab1b9a20. Checks:2 OK, 1 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 06 2025 |
R-4.5-linux | NOTE | Mar 06 2025 |
R-4.4-linux | OK | Mar 06 2025 |
Exports:confBandsconfInt.OEFPILcurvplot.OEFPILNanoIndent.OEFPILOEFPILortresiduals.OEFPILparamplot.OEFPIL
Dependencies:clicolorspaceDerivfansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmatrixcalcmgcvminpack.lmmunsellnlmepillarpkgconfigplyrR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithr
Citation
To cite package ‘OEFPIL’ in publications use:
Zamecnik S, Sindlar V, Gerslova Z, Wimmer G (2021). OEFPIL: Optimal Estimation of Function Parameters by Iterated Linearization. R package version 0.1.1, https://CRAN.R-project.org/package=OEFPIL.
Corresponding BibTeX entry:
@Manual{, title = {OEFPIL: Optimal Estimation of Function Parameters by Iterated Linearization}, author = {Stanislav Zamecnik and Vojtech Sindlar and Zdenka Gerslova and Gejza Wimmer}, year = {2021}, note = {R package version 0.1.1}, url = {https://CRAN.R-project.org/package=OEFPIL}, }
Readme and manuals
title: "README" author: "stanislav zamecnik" date: "03 11 2021" output: html_document: default pdf_document: default
OEFPIL
Optimal Estimation of Parameters by Iterated Linearization
The original version of this software was written in R by Stanislav Zámečník, Zdeňka Geršlová and Vojtěch Šindlář in year 2021. The package is based on theoretical background of work of prof. Gejza Wimmer and afterwards implemented by mentioned authors. Main features of the package include:
- estimation of parameters of nonlinear function by iterated linearization
- possibility to use generic functions to OEFPIL objects
- extract confidence bands for set of points
- confidence intervals for parameters
- extract summary of used model
- get covariance matrix for model parameters
- plot the OEFPIL object in a different ways
- plot of estimated curve
- plot of estimated curve with ggplot2 package
- count orthogonal residuals for OEFPIL object
- print out information about OEFPIL object
- calculate estimates of parameters in Nanoindentation
- two datasets from nanoindentation measurements
Installation
You can install the release version of package from CRAN:
install.packages("OEFPIL")
Or the development version from GitHub repository:
devtools::install_github("OEFPIL/OEFPIL")
Usage
In R session do:
library(MASS)
steamdata <- steam
colnames(steamdata) <- c("x","y")
k <- nrow(steamdata)
CM <- diag(rep(10,2*k))
Creating OEFPIL object which we want to work with
library(OEFPIL)
st1 <- OEFPIL(steamdata, y ~ b1 * 10 ^ (b2 * x/ (b3 + x)),
list(b1 = 5, b2 = 8, b3 = 200), CM, useNLS = FALSE)
Displaying results using summary function
summary(st1)
## Summary of the result:
##
## y ~ b1 * 10^(b2 * x/(b3 + x))
##
## Param Est Std Dev CI Bound 2.5 % CI Bound 97.5 %
## b1 4.487870 1.526903 1.495196 7.480545
## b2 7.188155 1.865953 3.530953 10.845356
## b3 221.837783 99.953658 25.932214 417.743352
##
## Estimated covariance matrix:
## b1 b2 b3
## b1 2.331432 2.296195 134.3054
## b2 2.296195 3.481782 184.6313
## b3 134.305405 184.631318 9990.7337
##
## Number of iterations: 10
Plot of estimated function
plot(st1, signif.level = 0.05, interval = "conf", main = "Estimated function by iterated linearization")
Ggplot graph of estimated function
library(ggplot2)
curvplot.OEFPIL(st1, signif.level = 0.05)
For more information and examples see:
?OEFPIL
This software OEFPIL was financed by the Technology Agency of the Czech Republic within the ZETA Programme. https://www.tacr.cz .
Help Manual
Help page | Topics |
---|---|
Extract model coefficients from OEFPIL | coef.OEFPIL |
Confidence and prediction bands for OEFPIL object | confBands confBands.OEFPIL |
Confidence intervals for OEFPIL parameters | confInt.OEFPIL |
Plot of estimated curve for OEFPIL object | curvplot.OEFPIL |
Estimation of parameters in nanoindentation | NanoIndent.OEFPIL |
Optimal Estimation of Parameters by Iterated Linearization | OEFPIL |
Orthogonal residuals from an OEFPIL object | ortresiduals.OEFPIL |
Plot parameters of an OEFPIL object | paramplot.OEFPIL |
Plot the estimate from an OEPFIL object | plot.OEFPIL |
Print function for an object of class 'OEFPIL' | print.OEFPIL |
Nanoindentation measurements data | silica2098 |
Nanoindentation measurements data | silicaBerk |
Summary from an OEFPIL object | summary.OEFPIL |
Covariance matrix from an OEFPIL object | vcov.OEFPIL |