Save the statistical analysis output

save_bstr_out(
  bstr_data,
  bstr_model,
  outdir = "",
  overwrite = F,
  nclusters = 10
)

Arguments

bstr_data

object of type BstrData

bstr_model

object of type BstrModel

outdir

path for the output directory to save the results The parent directory of the output directory should exist. As an e.g., if you specify /dir1/dir2/dir3 as the output directory, it is required that the directory dir2 should exist. If dir2 doesn't exist, the function will fail. If dir3 exists, and the overwrite flag is set to TRUE, dir3 will be deleted and recreated. If dir3 exists, and the overwrite flag is set to FALSE, the function will return an error. By default overwrite flag is set to FALSE (see the overwrite flag below)

overwrite

logical parameter denoting if existing output directory should be overwritten or not (default is FALSE)

nclusters

numeric value denoting number of clusters (default is 10)