#functions
exportPattern(Factors)
importFrom(grDevices, jpeg, dev.off, dev.new)
importFrom(utils, write.table, write.csv2, read.csv2, write.csv,  read.csv)
importFrom(graphics, par, hist, rect, barplot, plot, polygon, axis, image, mtext, pairs, abline, points)
importFrom(stats, na.exclude, quantile, IQR, lm, residuals, sd, step)

#functions
exportPattern(Factors)
importFrom(grDevices, jpeg, dev.off, dev.new)
importFrom(utils, write.table, write.csv2, read.csv2, write.csv,  read.csv)
importFrom(graphics, par, hist, rect, barplot, plot, polygon, axis, image, mtext, pairs, abline, points)
importFrom(stats, na.exclude, quantile, IQR, lm, residuals, sd, step)

#functions
exportPattern(Factors)
importFrom(grDevices, jpeg, dev.off, dev.new)
importFrom(utils, write.table, write.csv2, read.csv2, write.csv,  read.csv)
importFrom(graphics, par, hist, rect, barplot, plot, polygon, axis, image, mtext, pairs, abline, points)
importFrom(stats, na.exclude, quantile, IQR, lm, residuals, sd, step)

export(simfam, summary.simfam, plot.simfam, penplot, penmodel, summary.penmodel, plot.penmodel, carrierprobgeno, carrierprobpheno, penmodelEM)
importFrom("graphics", "legend", "lines", "par", "plot", "title")
importFrom("stats", "aggregate", "dgamma", "dnorm", "nlm", "pgamma",
"pnorm", "quantile", "rgamma", "rnorm", "runif", "uniroot", "var")

export(simfam, summary.simfam, plot.simfam, penplot, penmodel, summary.penmodel, plot.penmodel, carrierprob, penmodelEM)

export(simfam, summary.simfam, plot.simfam, penplot, penmodel,

"nlm", "pgamma", ".getXlevels", "model.extract", "model.matrix",
"optim", "qnorm", "sd", "terms", "pnorm", "quantile", "rgamma",

simfam_c, summary.simfam_c, plot.simfam_c, penplot_c, penmodel_c,

importFrom("stats", "aggregate", "rbinom", "runif", "uniroot")
export("Db", "Dd", "e0", "IDpartner","IDch", "IDfather", "IDmother","Multistate")

importFrom("stats", "complete.cases", "qchisq", "qnorm", "quantile", "sd")

export(add.header, arequest, as.WebResult, done, ohead, oprint, otable, out, WebPlot, WebResult)