To install this package from source:
1) Users need to install the rstan in order to execute the functions of StanDCM package.
2) Windows users should avoid using space when installing rstan.
3) After installing rstan package, users can use the lines beblow to install StanDCM package.
# install.packages("devtools")
devtools::source_url("https://raw.githubusercontent.com/zjiang4/StanDCM/master/R/StanDCM.R")
# To use it in your local machines, please save the StanDCM.R to your local drives, and use "source(.../StanDCM.R)" in R to execute the package functions
# For example, if the StanDCM.R is saved in "C:\\Myfile", users should type source("C:/Myfile/StanDCM.R") in R
The parametric version of DCM R package named GDINA can be found in R CRAN at here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.