beard_wide {NaileR}R Documentation

Beard descriptions

Description

These data refer to 8 types of beards. They come from a subset of the original "beard" dataset. Each beard was evaluated by 62 assessors (except beard 8 which only had 60 evaluations).

Usage

beard_wide

Format

A data frame with 8 rows and 24 columns:

Source

Applied mathematics department, Institut Agro Rennes-Angers

Examples

## Not run: 
# Processing time is often longer than ten seconds
# because the function uses a large language model.

library(NaileR)
data(beard_wide)

intro_beard <- "As a barber, you make
recommendations based on consumers comments.
Examples of consumers descriptions of beards
are as follows."
intro_beard <- gsub('\n', ' ', intro_beard) |>
stringr::str_squish()

res <- nail_sort(beard_wide[,1:5], name_size = 3,
stimulus_id = "beard", introduction = intro_beard,
measure = 'the description was')
res$prompt_llm[[1]] |> cat()

## End(Not run)

[Package NaileR version 1.2.3 Index]