useDynLib(fastrda, .registration = TRUE)

import(Rcpp)
importFrom(parallel, detectCores)
importFrom(stats, predict, anova, biplot)
importFrom(graphics, plot)

export(fastrda)
export(get_sample_scores)
export(biplot_scores)
export(biplotrda)
export(scores)
export(anova_fastrda)

S3method(scores, fastrda)
S3method(predict, fastrda)
S3method(biplot, fastrda)
S3method(plot, fastrda)
S3method(summary, fastrda)
S3method(anova, fastrda)
S3method(print, anova.fastrda)
S3method(print, anova.fastrda.axis)
S3method(print, fastrda)
S3method(print, fastrda_biplot)