create_template: Create template for sensory table

Description Usage Arguments Value Examples

View source: R/create-template.R

Description

Create template for inputting data that collected from sensory research.

Usage

1
create_template(data, attribute, hedonic = FALSE)

Arguments

data

output from prepare function

attribute

a numeric value of number or sensory attributes or vector of sensory terms (lexicon)

hedonic

whether to include hedonic rating or not

Value

Returns a dataframe of sensory design with panelist, presentation order, product, blind code (optional) and sensory attributes columns

Examples

1
2
3
4
design <- prepare(n_panelist = 20, product = 5, blind_code = TRUE)
design

create_template(design, attribute = c("Sweetness", "Mint", "Green", "Herbal"))

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