specify: Specify sensory table

Description Usage Arguments Value Examples

View source: R/specify.R

Description

Specify sensory informations into a raw dataframe. The minimal sensory informations are the panelist, the product, the sensory attributes, and the method in which the evaluation was conducted. Additonally the session, the presentation order and hedonic evaluation can also be specified.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
specify(
  data,
  sensory_method = c("QDA", "CATA", "RATA", "FCP", "FP", "JAR", "IPM"),
  panelist,
  product,
  session = NULL,
  pres_order = NULL,
  attribute,
  hedonic = NULL
)

Arguments

data

a dataframe

sensory_method

method of sensory evaluation, available methods are QDA, CATA, RATA, FCP, FP, JAR, IPM

panelist

panelist column

product

product column

session

session column

pres_order

presentation order column

attribute

sensory attribute columns

hedonic

hedonic column

Value

a sensory table (dataframe with class of tbl_sensory)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
(df <- specify(
  data = perfume_qda_consumers,
  sensory_method = "QDA",
  panelist = consumer,
  product = product,
  attribute = intensity:green,
  hedonic = NULL
))

perfume_qda_experts %>%
  specify(
    sensory_method = "QDA",
    panelist = panelist,
    product = product,
    session = session,
    pres_order = rank,
    attribute = spicy:wrapping
  )

aswansyahputra/sensehubr documentation built on March 12, 2021, 9:45 a.m.