get.chance: TDS chance proportion

View source: R/tds.R

get.chanceR Documentation

TDS chance proportion

Description

Obtains the TDS chance proportion based on the number of attributes, as proposed by Pineau et al. (2009; Eq. 1).

Usage

get.chance(attributes = c(), include.stop = FALSE)

Arguments

attributes

number of attributes used in the TDS ballot.

include.stop

defaut is FALSE. Default should be kept if time standardization is applied. Optionally, set to TRUE if analyzing data on the raw timeline.

References

Pineau, N., Schlich, P., Cordelle, S., Mathonnière, C., Issanchou, S., Imbert, A., Rogeaux, M., Etiévant, P., & Köster, E. (2009). Temporal dominance of sensations: Construction of the TDS curves and comparison with time–intensity. Food Quality and Preference, 20, 450–455. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.foodqual.2009.04.005")}

Examples

# example using 'bars' data set
attributes <- unique(bars$attribute)
chance <- get.chance(attributes)
chance

tempR documentation built on Sept. 8, 2023, 5:19 p.m.

Related to get.chance in tempR...