Raw File
useDynLib(cplm, .registration = TRUE)

############################
#  import 
############################
import(Matrix)
import(coda)
importFrom(minqa, bobyqa)
importFrom(reshape2, melt)
importFrom(statmod, tweedie)
importFrom(tweedie, dtweedie.series, dtweedie, tweedie.dev)
importFrom(stats, predict)
importMethodsFrom(methods, show)
importClassesFrom(lme4, mer, summary.mer)
importMethodsFrom(lme4, fixef, VarCorr, vcov, mcmcsamp, residuals, resid,
			fitted, terms, formula, deviance, model.matrix, 
			coef, plot)
importMethodsFrom(stats4, AIC)


############################
#  export 
############################
# functions 
export(cpglm, cpglmm, bcplm, zcpglm, gini)
export(sp2d)
export(getF, plotF, tp, bsp)   #amer functions

#Classes
exportClasses(cplm, cpglm, cpglmm, bcplm, summary.cpglmm, zcpglm, gini)
exportClasses(NullNum, NullList, NullFunc, ListFrame)
           
#Methods
exportMethods(summary, show,  "$", "[[", "[", names, coef, vcov, 
              residuals, resid, fitted, 
		  AIC, deviance, terms, formula, model.matrix, plot,
		  VarCorr, predict)
back to top