https://github.com/cran/cplm
Raw File
Tip revision: 6f766707b895cc5dcfea6cedb06045a62f44f19e authored by Wayne Zhang on 10 March 2014, 00:00:00 UTC
version 0.7-2
Tip revision: 6f76670
NAMESPACE
useDynLib(cplm, .registration = TRUE)

############################
#  import 
############################
import(Matrix)
import(coda)
import(ggplot2)
import(biglm)
importFrom(minqa, bobyqa)
importFrom(reshape2, melt)
importFrom(statmod, tweedie)
importFrom(tweedie, dtweedie.series, dtweedie, tweedie.dev)
importMethodsFrom(methods, show)
importFrom(nlme, fixef, ranef, VarCorr)
importFrom("stats4", AIC, BIC, logLik)# so S4 methods are used!
importFrom("stats",
           anova,
           coef,
           confint,
           deviance,
           fitted,
           formula,
           model.frame,
           model.matrix,
           predict,
           residuals, resid,  
           terms,
           vcov
           )


############################
#  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, fixef, ranef, logLik, anova, 
		  AIC, deviance, terms, formula, model.matrix, plot,
		  VarCorr, predict)
S3method(model.frame, cplm)
back to top