combineData {RFishBC} | R Documentation |
Combines radii data from multiple files into one data.frame
Description
Combines radial measurements made on calcified structures and saved to an R data file with digitizeRadii
into a single data.frame that can then be post-processed (e.g., back-calculate length at a previous age).
Usage
combineData(
nms,
formatOut = c("long", "wide"),
typeOut = c("radii", "increments"),
deletePlusGrowth = TRUE
)
Arguments
nms |
A string (or vector of strings) that indicates the R data file(s) created with |
formatOut |
A string that indicates the output format for the combined data. The |
typeOut |
A string that indicated output type for the combined data. The |
deletePlusGrowth |
A logical that indicates whether the radial measurement that corresponds to “plus-growth” should be deleted from the returned data.frame ( |
Details
A detailed description of its use is in this vignette on the RFishBC website. The list of R data file names may be efficiently created with listFiles
as described in that vignette. The R data file names may also be selected from a dialog box if using Windows.
Value
A data.frame that contains the radii data created with digitizeRadii
for all files given in nms
.
Author(s)
Derek H. Ogle, DerekOgle51@gmail.com
Examples
## See the link to the extensive documentation in the Details.