Package: bfsl 0.2.1
Patrick Sturm
bfsl: Best-Fit Straight Line
How to fit a straight line through a set of points with errors in both coordinates? The 'bfsl' package implements the York regression (York, 2004 <doi:10.1119/1.1632486>). It provides unbiased estimates of the intercept, slope and standard errors for the best-fit straight line to independent points with (possibly correlated) normally distributed errors in both x and y. Other commonly used errors-in-variables methods, such as orthogonal distance regression, geometric mean regression or Deming regression are special cases of the 'bfsl' solution.
Authors:
bfsl_0.2.1.tar.gz
bfsl_0.2.1.zip(r-4.5)bfsl_0.2.1.zip(r-4.4)bfsl_0.2.1.zip(r-4.3)
bfsl_0.2.1.tgz(r-4.4-any)bfsl_0.2.1.tgz(r-4.3-any)
bfsl_0.2.1.tar.gz(r-4.5-noble)bfsl_0.2.1.tar.gz(r-4.4-noble)
bfsl_0.2.1.tgz(r-4.4-emscripten)bfsl_0.2.1.tgz(r-4.3-emscripten)
bfsl.pdf |bfsl.html✨
bfsl/json (API)
NEWS
# Install 'bfsl' in R: |
install.packages('bfsl', repos = c('https://pasturm.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pasturm/bfsl/issues
- pearson_york_data - Example data
Last updated 2 years agofrom:9096b1e682. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win | OK | Nov 22 2024 |
R-4.5-linux | OK | Nov 22 2024 |
R-4.4-win | OK | Nov 22 2024 |
R-4.4-mac | OK | Nov 22 2024 |
R-4.3-win | OK | Nov 22 2024 |
R-4.3-mac | OK | Nov 22 2024 |
Exports:augmentbfslbfsl_controlglancetidy
Dependencies:generics
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Augment Data with Information from a bfsl Object | augment.bfsl |
Calculates the Best-fit Straight Line | bfsl bfsl.default bfsl.formula |
Controls the Iterations in the bfsl Algorithm | bfsl_control |
Glance at a bfsl Object | glance.bfsl |
Example data | pearson_york_data |
Plot Method for bfsl Results | plot.bfsl |
Predict Method for bfsl Model Fits | predict.bfsl |
Print Method for bfsl Results | print.bfsl |
Print Method for summary.bfsl Objects | print.summary.bfsl |
Summary Method for bfsl Results | summary.bfsl |
Tidy a bfsl Object | tidy.bfsl |