Description Usage Arguments Value Examples
Summarize counts over a trim input dataset. Sites without counts are removed
before any counting takes place (since these will not be used when calling
trim
). For the remaining records, the total number of
zero-counts, positive counts, total number of observed counts and the total
number of missings are reported.
1 2 3 4 5 6 7 | count_summary(
x,
count_col = "count",
site_col = "site",
year_col = "year",
eps = 1e-08
)
|
x |
A |
count_col |
|
site_col |
|
year_col |
|
eps |
|
A list
of class count.summary
containing individual names.
1 2 3 4 5 | data(skylark)
count_summary(skylark)
s <- count_summary(skylark)
s$zero_counts # obtain number of zero counts
|
Welcome to rtrim 2.0.6 Type ?`rtrim-package` to get started.
Attaching package: 'rtrim'
The following object is masked from 'package:stats':
heatmap
Total number of sites 55
Sites without positive counts (0):
Number of observed zero counts 0
Number of observed positive counts 202
Total number of observed counts 202
Number of missing counts 238
Total number of counts 440
[1] 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.