useDynLib("prefmod", .registration = TRUE)

import("stats", "graphics", "gnm", "colorspace")
importFrom("methods", "is")
importFrom("grDevices", "xy.coords")
importFrom("utils", "flush.console", "read.table", "write.table")

export("patt.design")
export("pattPC.fit")
export("pattR.fit")
export("pattL.fit")
export("pattLrep.fit")
export("pattRrep.fit")
export("pattnpml.fit")
export("llbt.design")
export("llbt.fit")
export("llbtPC.fit")
export("checkMIS")
export("patt.worth")
export("llbt.worth")
export("plotworth")
export("expand.mat")
export("simPC")
export("simR")

S3method("print", "pattMod")
S3method("print", "pattNPML")
export("plot.wmat"); S3method("plot", "wmat")
S3method("summary", "pattNPML")
S3method("logLik", "pattNPML")
S3method("nobs", "pattNPML")
