export(mle) # exporting methods implicitly exports the generics importFrom(graphics, plot) ## need AIC to make an implicit generic from importFrom(stats, AIC, coef, confint, logLik, optim, profile, qchisq, update, vcov) ## S4 exportClasses(mle, profile.mle, summary.mle) ## All methods, for own or "foreign" generics: exportMethods(BIC, coef, confint, logLik, plot, profile, summary, show, update, vcov) ## implicit generic does not have any methods here (but in flexmix) export(AIC)