Loads data from a file and creates an arcosTS object based on provided parameters. Data is loaded using data.table::fread function, thus all file formats recognised by fread are admissible, including gzip and bz2 compressions.
loadDataFromFile(
fname,
colPos = "x",
colFrame = "f",
colIDobj = "id",
colIDcoll = NULL,
colMeas = NULL,
colMeasResc = NULL,
colMeasBin = NULL,
colBootIter = NULL,
colRT = NULL,
interVal = 1L,
interType = c("fixed"),
fromBin = FALSE,
fromColl = FALSE,
fromBoot = FALSE,
...
)
a string, file name path.
a vector, names of positional columns; default "x".
a string, column name with frame numbers; default "f".
a string, column name with object IDs; default "id".
a string, column name with IDs of collective events; default NULL.
a string, column name of the measurement; default NULL.
a string, column name of the rescaled measurement; default NULL.
a string, column name of the binarised measurement; default NULL.
a string, column name with bootstrap iterations; default NULL.
a string, column name with real time; default NULL (currently unused).
a numeric with the interval length (currently unused).
a string to designate whether the time series has fixed or variable intervals; possible values fixed or var (currently unused).
logical, whether the output has been passed by binarisation, relevant for plotting of binarised activity; default FALSE.
logical, whether the output comes from collective event identification, relevant for plotting of collective events; default FALSE.
logical, whether the output comes from bootstrapping, relevant for calculating stats of collective events; default FALSE.
additional parameters passed to data.table::fread.
an arcosTS object.
cat("no examples")
#> no examples