Calculates power to detect the true model
Arguments
- daisie_data
A list, conforming to the
DAISIEobject format. Usually preprocessed byDAISIE::DAISIE_dataprep(), see it's documentation for details. Otherwise it may be generated via simulations, usingDAISIE::DAISIE_sim_cr()and friends.- results_dir
A string with the path to the directory where results are to be stored or can be found. For example, if the data in question is (to be) stored in
folder_with_res/$data_name, thenresults_dirshould be"folder_with_res". Defaults toNULL, which indicates the default directories are to be used. Default directories are: *$HOME/results/$data_nameif on the cluster *getwd()/results/$data_nameif called from another environment Ifis.na(results_dir), then the object is returned to the R session and not saved to file.