Learn R Programming

RootscanR (version 0.0.1)

combineStatsWithDL: Get an overview of the given root scans

Description

combineStatsWithDL - This function goes through a set of image directories and combines all existing statistics_withDepthLayers.csv-files into one data frame, that is optionally saved as a csv.

Usage

combineStatsWithDL(data_dir, data_dirs = NULL, out_file = NA)

Value

combineStatsWithDL A data frame containing the combined depth layer information of the images.

Arguments

data_dir

(Optional, default = NULL) String specifying the name (full path) of the directory containing all image directories of interest.

data_dirs

(Optional, default = NULL) Character vector specifying all of the individual root scan directories of interest. This is only used if data_dir is set to NULL.

out_file

(Optional, default = NA) Full path of the output-csv-file. If set to NULL, no output file is created. If its is set to NA and data_dir is not NULL, then the output file all_statistics_withDepthLayers.csv is created in data_dir.

Examples

Run this code
combineStatsWithDL(data_dir = NULL, out_file = NULL)

Run the code above in your browser using DataLab