Learn R Programming

dcm2

The goal of dcm2 is to provide a generic function for calculating the M2 statistic described by Liu et al. (2016). The package provides native support for models estimated with GDINA, but package authors can create methods for different classes of models.

Installation

You can install the release version of {dcm2} from CRAN:

install.packages("dcm2")

To install the development version from GitHub use:

# install.packages("remotes")
remotes::install_github("atlas-aai/dcm2")

Copy Link

Version

Install

install.packages('dcm2')

Monthly Downloads

265

Version

1.0.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jeffrey Hoover

Last Published

March 21st, 2023

Functions in dcm2 (1.0.2)

data_att1

Simulated Data for a Single Attribute Assessment
fit_m2

Model Fit M2 Calculations
log_odds

Log-odds Transformation
calc_m2

Calculate the M2
as_binary

Make Binary Profiles
dcm2-package

dcm2: A package for the estimating the M2 statistic for DCMs
tidyeval

Tidy eval helpers
%>%

Pipe operator
sample_data

Simulated Data for Testing Functions