Multilevel Model Intraclass Correlation for Slope Heterogeneity

A function and vignettes for computing an intraclass correlation described in Aguinis & Culpepper (2015) . This package quantifies the share of variance in a dependent variable that is attributed to group heterogeneity in slopes.


BuildStatus Package-License CRAN VersionBadge CRANStatus RStudio CRAN Mirror’s MonthlyDownloads RStudio CRAN Mirror’s TotalDownloads Coveragestatus

A function and vignettes for computing an intraclass correlation described in Aguinis & Culpepper (in press). iccbeta quantifies the share of variance in a dependent variable that is attributed to group heterogeneity in slopes.

Installation

You can install iccbeta from CRAN using:

install.packages("iccbeta")

Or, you can be on the cutting-edge development version on GitHub using:

if(!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("tmsalab/iccbeta")

Usage

To use the iccbeta package, load it into R using:

library("iccbeta")

From there, calling the icc_beta() function with either a lmer() model object or the desired individual components will compute the intraclass correlation:

# Automatically calculate icc from model
results_model = icc_beta(<lmer-model>)
 
# Calculate icc from individual terms.
results_component = icc_beta(X, l2id, T, vy)

Authors

Steven Andrew Culpepper and Herman Aguinis

Citing the iccbeta package

To ensure future development of the package, please cite iccbeta package if used during an analysis or simulation studies. Citation information for the package may be acquired by using in R:

citation("iccbeta")

License

GPL (>= 2)

News

iccbeta 1.2.0

Feature

  • Added automatic calculation of icc on lmer model objects.

Changes

  • Added improved error messaging related to presence of missing values and dimension mis-match.
  • Added ORCiDs to DESCRIPTION
  • Increased version dependencies.
  • Enabled use of OpenMP and C++11.
  • Added CITATION information for the R package.

Documentation

  • Switched documentation to use Markdown.
  • Improved contents of documentation.

Deployment

  • Enable the default TMSALab Travis-CI configuration.
  • Enable code coverage checks.

iccbeta 1.1.0

  • Adds instructions on how to create simICCdata2 to relevant helpdocs
  • Switched over to using Rcpp to handle function registration instead of src/init.c.
  • Added namespace requirement check for lme4 and RLRsim to documentation.\
  • Modified Travis-CI to use a later gcc

iccbeta 1.0.1

  • Added src/init.c to comply with R 3.4 requirements
  • Added GitHub repository location information.
  • Improved documentation flow.

iccbeta 1.0.0

  • Released initial version of iccbeta

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("iccbeta")

1.2.0 by Steven Andrew Culpepper, 2 months ago


https://github.com/tmsalab/iccbeta


Report a bug at https://github.com/tmsalab/iccbeta/issues


Browse source code at https://github.com/cran/iccbeta


Authors: Steven Andrew Culpepper [aut, cph, cre] , Herman Aguinis [aut, cph]


Documentation:   PDF Manual  


Task views: Psychometric Models and Methods


GPL (>= 2) license


Imports Rcpp, lme4, stats, methods

Suggests RLRsim, testthat, covr

Linking to Rcpp, RcppArmadillo


See at CRAN