count.selections | R Documentation |
Count the number of times that the attribute was selected (or optionally: deselected) in a single TCATA or TDS evaluation.
count.selections(x, deselections = FALSE)
x |
vector of binary data (with possible values |
deselections |
set to |
Count the number of times that the attribute was selected (or, optionally, deselected) in a single TCATA or TDS evaluation.
count of selections (or deselections if deselections = TRUE
)
data(bars)
paste0(bars[1, -c(1:4)], collapse = "")
# this attribute was checked 3 times and unchecked 2 times
count.selections(bars[1, -c(1:4)])
count.selections(bars[1, -c(1:4)], deselections = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.