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.7-any)bfsl_0.2.1.zip(r-4.6-any)bfsl_0.2.1.zip(r-4.5-any)
bfsl_0.2.1.tgz(r-4.6-any)bfsl_0.2.1.tgz(r-4.5-any)
bfsl_0.2.1.tar.gz(r-4.7-any)bfsl_0.2.1.tar.gz(r-4.6-any)
bfsl_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bfsl/json (API)
| # 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 from:9096b1e682. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 122 | ||
| source / vignettes | OK | 167 | ||
| linux-release-x86_64 | OK | 103 | ||
| macos-release-arm64 | OK | 137 | ||
| macos-oldrel-arm64 | OK | 170 | ||
| windows-devel | OK | 83 | ||
| windows-release | OK | 65 | ||
| windows-oldrel | OK | 62 | ||
| wasm-release | OK | 108 |
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 |