useDynLib(Rphylopars)
import(ape)
importFrom(Rcpp, evalCpp)
importFrom(doBy, summaryBy)
importFrom(phytools, pbtree, sim.corrs, fastBM,splitTree,paste.tree,sampleFrom, starTree)
importFrom(phylolm,three.point.compute,transf.branch.lengths,pruningwise.branching.times,pruningwise.distFromRoot)
importFrom(Matrix,nearPD)
importFrom(MASS,mvrnorm)
importFrom(numDeriv,hessian)
importFrom("graphics", "barplot", "image", "par", "persp", "pie", "polygon", "rect", "segments")
importFrom("grDevices", "col2rgb", "dev.cur", "dev.list", "dev.new", "dev.off", "dev.set")
importFrom("stats", "cutree", "dist", "dnorm", "hclust", "na.omit", "rnorm", "runif","qnorm",
           "AIC", "BIC", "as.formula", "coef",
             "complete.cases", "logLik", "model.frame", "model.matrix",
             "na.exclude", "optim", "pf", "printCoefmat", "pt",
             "reorder", "setNames", "terms", "var", "quantile")
importFrom("utils", "compareVersion", "head", "write.table")
export(
anc.recon,
anova.phylopars.lm,
fast.SSC,
logLik.phylopars,
logLik.phylopars.lm,
phylopars,
phylopars.lm,
print.phylopars,
print.phylopars.lm,
print.SSC,
summary.phylopars,
summary.phylopars.lm,
write.phylopars,
simtraits
)

S3method(anova, phylopars.lm)
S3method(logLik, phylopars)
S3method(logLik, phylopars.lm)
S3method(print, phylopars)
S3method(print, phylopars.lm)
S3method(print, SSC)
S3method(summary, phylopars)
S3method(summary, phylopars.lm)