#exportPattern("^[[:alpha:]]+")
export(beat.1st,beat.2st,beat.cv,check_input,eval_2stage,plot_sens,prepareInputToAllocation1,prepareInputToAllocation2,select_PSU,select_SSU,select_PSU2,sensitivity_min_SSU,sensitivity_min_SSU2,input_to_beat.2st_1,input_to_beat.2st_2,build_dummy_variables,sens_names)
importFrom("stats", "aggregate")
importFrom("utils", "read.table", "write.table")
#importFrom("plyr", "ldply","ddply",".")
importFrom("sampling","UPsampford","UPsystematic","inclusionprobabilities","strata","getdata")
#importFrom("devtools","install_github")
importFrom("graphics", "par", "title")
importFrom("glue","glue")
importFrom("grDevices", "dev.off", "png")
importFrom("graphics", "barplot", "boxplot", "legend")
importFrom("stats", "cov", "sd", "var")
importFrom("utils", "setTxtProgressBar", "txtProgressBar")
importFrom("grDevices", "dev.new")
importFrom("methods", "new","is")
importFrom("parallel", "detectCores", "makeCluster")
importFrom("doParallel", "registerDoParallel")
importFrom("foreach", "foreach","%dopar%")