useDynLib(cplm) ############################ # import ############################ importFrom(stats, predict, coef, vcov, residuals, resid, fitted, fitted.values, df.residual, AIC, deviance, terms, formula, model.matrix) importFrom(methods, show) importFrom(graphics, plot) importFrom(Matrix, summary) import(coda) ############################ # import ############################ # function export(cpglm) export(cpglm_em) export(cpglm_profile) export(bcpglm) #Classes exportClasses(cpglm, bcplm, bcpglm) exportClasses(NullNum, NullList, NullFunc) #Methods exportMethods(summary, show, "$", "[[", "[", names, coef, vcov, residuals, resid, fitted, fitted.values, df.residual, AIC, deviance, terms, formula, model.matrix, plot)