ZIRes {zooimage} | R Documentation |
Various function to calculate results ('ZIRes' object)
Description
Having classified items in a 'ZIDat' object, these function calculate various statistic descriptors of whole samples (abundances, biomasses, size spectra) and they collect them together in a 'ZIRes' object.
Usage
processSample(x, sample, keep = NULL,
detail = NULL, classes = "both", header = c("Abd", "Bio"),
cells = NULL, biomass = NULL, breaks = NULL)
processSampleAll(path = ".", zidbfiles, ZIClass = NULL, keep = NULL,
detail = NULL, classes = "both", header = c("Abd", "Bio"),
cells = NULL, biomass = NULL, breaks = NULL)
## S3 method for class 'ZIRes'
print(x, ...)
## S3 method for class 'ZIRes'
rbind(..., deparse.level = 1)
Arguments
x |
a 'ZIDat' object or similar data frame for |
sample |
the sample 'Id' to use for selecting items of one sample only, in case the object contains data for several samples. It should not be the case for 'ZIDat' objects, and you do not have to provide this argument then. |
keep |
a character vector with names of the levels to keep in the
analysis for the classes, or |
detail |
a character vector with names of classes for which to calculate
separate statistics. The special levels |
classes |
a character string with |
header |
a character vector with one or two strings to use as headers for, respectively, abundances and biomasses. |
cells |
the path to an .rds file containing cells counting models, as used
by |
biomass |
a specification for biomass conversion. Can be |
breaks |
either |
path |
the path containing your ZIDB or ZID files to use for samples processing. |
zidbfiles |
a list of ZIDB or ZID files to process in batch. |
ZIClass |
a 'ZIClass' object to use to classify particles during the process of your samples. |
... |
further arguments passed to the methods |
deparse.level |
integer controlling the way labels are constructed for non-matrix-like arguments (defined in the generic, but not used here). |
Author(s)
Philippe Grosjean & Kevin Denis
See Also
Examples
##TODO...