Learn R Programming

rptR

rptR provides a collection of functions for calculating point estimates, confidence intervals and significance tests of the repeatability (intra-class correlation coefficient) of measurements, as well as on the variances themselves. The function rpt is a the core functions that calls more specialised functions as required. Specialised functions can also be called directly (see ?rpt for details). All functions return lists of values. The function ?summary.rpt produces summaries in a detailed format, whereby ?plot.rpt plots the distributions of bootstrap or permutation test estimates.

  • get the latest development version from github with
    # install.packages("devtools")
    # building vignettes might take some time. Set build_vignettes = FALSE for a quick download.
    devtools::install_github("mastoffel/rptR", build_vignettes = TRUE)
    # tutorial
    browseVignettes("rptR")

Citation

Stoffel, M. A., Nakagawa, S. and Schielzeth, H. (2017), rptR: repeatability estimation and variance decomposition by generalized linear mixed-effects models. Methods Ecol Evol. 8: 1639-1644.

Copy Link

Version

Install

install.packages('rptR')

Monthly Downloads

632

Version

0.9.22

License

GPL (>= 2)

Maintainer

Martin A Stoffel

Last Published

March 6th, 2019

Functions in rptR (0.9.22)

group_vars

Calculates / extracts variance components from random effects and random slopes
rptGaussian

LMM-based Repeatability Estimation for Gaussian Data
rptProportion

GLMM-based Repeatability Estimation for Proportion Data
rptPoisson

GLMM-based Repeatability Estimation for Poisson-distributed Data
rptBinary

GLMM-based Repeatability Estimation for Binary Data
rpt

Repeatability Estimation for Gaussian and Non-Gaussian Data
summary.rpt

Summary of a rpt object
rptR

rptR: Repeatability Estimation for Gaussian and Non-Gaussian data
with_warnings

Captures and suppresses (still to find out why) warnings of an expression
BeetlesBody

BeetlesBody dataset
permut_nongaussian

Permutation function for non-gaussian functions (internal use)
BeetlesFemale

BeetlesFemale dataset
plot.rpt

Plot a rpt object
BeetlesMale

BeetlesMale dataset
LRT_nongaussian

Likelihood ratio test for non-gaussian functions (internal use)
print.summary.rpt

Prints the summary of a rpt object
print.rpt

Print a rpt object
bootstrap_nongaussian

Bootstrapping for non-gaussian functions (internal use)