freq_overview: Get frequencies from an item

Description Usage Arguments Value Examples

Description

The return value contains two enries for each category used in the data. One that ends with abs shows the absolute frequencies, the other shows the relative frequencies, ending on perc. min before an entry means that this value was negative. Example: C_min2_perc with a value of 5 means that the -2 was present 5

Usage

1
freq_overview(item, return.df = FALSE)

Arguments

item

The item that will be analysed

return.df

Logical, should a data frame with the overview be returned? Default is fot FALSE.

Value

An overview for the frequencies of each entry in the item.

Examples

1
2
3
item <- c(rep(1, 19), rep(2, 8), rep(3, 26), rep(4, 29),
          rep(5, 5), rep(NA, 5), rep(-2, 4), rep(-3, 4))
freq_overview(item, return.df = TRUE)

kthorstmann/consr documentation built on May 20, 2019, 7:04 p.m.