Description Usage Arguments Value Examples
View source: R/calculateChannelChar.R
Calculate the channel constaint metrics, pctch_b, pctch_c, pctch_n, and pctch_u. These are the proprtion of the reach in each contraint category. For boatable sites only.
1 | calculateChannelConstraint(uid, constraint)
|
uid |
a vector of site identifiers |
constraint |
a vector of channel constraint codes: 'B', 'C', 'N', 'U'. |
a 'metric' data.frame (i.e., one with uid, metric, result fields)
1 2 3 | uid <- rep(1:10, each = 11)
constraint <- sample(c('B', 'C', 'N', 'U'), 10*11, replace = T)
calculateChannelConstraint(uid, constraint)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.