vignettes/spatial-data.Rmd
spatial-data.Rmd
itle: “Assessing Spatial Data” |
uthor: “JJB” |
ate: “2021-06-12” |
utput: rmarkdown::html_vignette |
ignette: > |
% |
% |
% |
# install.packages("devtools")
devtools::install_github("tmsalab/edm", auth_token = "secret")
devtools::install_github("tmsalab/edmdata", auth_token = "secret")
edm
package
# Version of package used
message("Running simulation with edm v",
as.character(utils::packageVersion("edm")),
sep = "")
### Configuration
# Burn in
burnin = 20000
# Length of chain
chain_length = 10000
# Number of attributes
K = 4
# Coerce to matrix
trial_matrix = as.matrix(trial_matrix)
# Launch job
edina_model = edina(trial_matrix, K, burnin, chain_length)
#### Parameters
## Guessing and Slipping
out$coefficients
# Guessing
out$coefficients[, 1]
# Slipping
out$coefficients[, 2]
# Pi
out$pi_classes
# Q Matrix
out$est_Q
### Print methods
print(edina_model)
### Calculate model heuristic with default alpha = 0.05
summary(edina_model)
### Calculate model heuristic
summary(edina_model, alpha = 0.10)