useDynLib(MultiLCIRT, .registration = TRUE)


# Imported function
import("MASS")
import("limSolve")
importFrom("stats", "pchisq", "rnorm", "runif", "sd")

export("aggr_data", "class_item", "compare_models", "est_multi_glob", 
       "est_multi_poly_clust", "est_multi_poly", "inv_glob", "lk_obs_score_clust",
       "lk_obs_score", "matr_glob", "print.class_item", "print.est_multi_poly_clust",
       "print.est_multi_poly", "print.test_dim", "prob_multi_glob", "search.model",
       "standard.matrix", "summary.class_item", "summary.est_multi_poly_clust",
       "summary.est_multi_poly", "summary.test_dim", "test_dim")

# S3methods
S3method(print, class_item)
S3method(print, est_multi_poly)
S3method(print, est_multi_poly_clust)
S3method(print, test_dim)
S3method(summary, class_item)
S3method(summary, est_multi_poly)
S3method(summary, est_multi_poly_clust)
S3method(summary, test_dim)