View source: R/truefalsecounter.R
truefalsecounter | R Documentation |
This functions allows comparing two vectors to make a vector with true / false values to indicate where the values in vector 1 are present in vector 2. This function can be combined with the 'outlier'-function (use the output of the latter as input for the first) to determine which values in a data set are outliers (TRUE / FALSE rated)
truefalsecounter(
data,
valuesofinterest
)
data |
data input, as vector |
valuesofinterest |
Values to be found in the vector |
truefalsecounter(data = c(1,2,4,7,20),
valuesofinterest = behavdata::outliers(data = c(1,2,4,7,20)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.