https://github.com/clinda-aau/loamr

Limits of agreement with the mean - R

https://github.com/clinda-aau/loamr

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary
Last synced: 7 months ago · JSON representation

Repository

Limits of agreement with the mean - R

Basic Info
  • Host: GitHub
  • Owner: CLINDA-AAU
  • License: other
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 5.77 MB
Statistics
  • Stars: 2
  • Watchers: 4
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Created over 6 years ago · Last pushed 9 months ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---



```{r include=FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)
library(knitr)
library(loamr)
set.seed(1)
```

# loamr: limits of agreement with the mean
`loamr` is an `R` package for performing agreement analysis on continuous measurements made by multiple observers. The package provides functions for making agreement plots and for calculating the estimate and CI for the limits of agreement with the mean proposed by Christensen et al. (2020). 


## Installation
`loamr` can be installed using the following command:
```{r, eval = FALSE}
devtools::install_github("CLINDA-AAU/loamr")
```

## Example
The package includes a function to simulate data from the two-way random effects model
described in Christensen et al. (2020):

```{r}
sim <- simMD(mu = 5)
head(sim)
```
Estimate and CI for the limits of agreements with the mean:
```{r}
LOAM(sim)
```

The S3 class includes a generic plotting function made with `ggplot2` for making an 
agreement plot with indication of estimate and CI for the limits of agreement with the mean:
```{r}
plot(LOAM(sim))
```

Elements of the plot is easily changed using functionalities from `ggplot2`. For 
example, changing the title:
```{r fig.height=4, fig.width=10}
plot(LOAM(sim)) + ggplot2::labs(title = "Simulated Data")
```


## References

1. Christensen, H. S., Borgbjerg, J., Børty, L., and Bøgsted, M. (2020) 
"On Jones et al.'s method for extending Bland-Altman plots to limits of agreement with the mean for 
multiple observers". BMC Medical Research Methodology. https://doi.org/10.1186/s12874-020-01182-w











Owner

  • Name: Center for Clinical Data Science (CLINDA)
  • Login: CLINDA-AAU
  • Kind: organization
  • Location: Aalborg, Denmark

Center for Clinical Data Science - Aalborg University & Aalborg University Hospital

GitHub Events

Total
  • Push event: 6
Last Year
  • Push event: 6

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • MASS * imports
  • Rdpack * imports
  • dplyr * imports
  • ggplot2 * imports
  • knitr * imports
  • magrittr * imports
  • rlang * imports
  • tibble * imports
  • tidyr * imports