useDynLib(VLMC, .registration = TRUE)


importFrom('graphics', abline, mtext, par, plot, plot.new, plot.window, strwidth, text)
importFrom('stats', as.dendrogram, AIC, predict, qchisq, residuals, runif, simulate)
importFrom('utils', str, packageDescription)
importFrom('MASS', rational, fractions)



export ("alpha2int", "alphabet", "alphabet.vlmc", "char2int"
	, "draw"
	, "entropy", "entropy2"
	, "id2ctxt", "int2alpha", "int2char", "is.vlmc"
	, "prt.vvec"
	, "RCplot"
	, "simulate.vlmc"
	, "vlmc", "vlmctree"
	, "vlmc.version"
	)

S3method(alphabet, vlmc)
S3method(as.dendrogram, vlmc)
S3method(deviance, vlmc)
S3method(draw, vlmc)
S3method(fitted, vlmc)
S3method(predict, vlmc)
S3method(simulate, vlmc)
S3method(summary, vlmc)
S3method(residuals, vlmc)
S3method(logLik, vlmc)
##> have advertized simulate.vlmc() for years; *deprecation* in Oct.2014
##> S3method(simulate, vlmc)
S3method(str, vtree)# <- vlmctree()

S3method(print, vlmc)
S3method(print, predict.vlmc)
S3method(print, summary.vlmc)
S3method(print, simulate.vlmc)


