Learn R Programming

sensR (version 1.5-4)

Thurstonian Models for Sensory Discrimination

Description

Provides methods for sensory discrimination methods; duotrio, tetrad, triangle, 2-AFC, 3-AFC, A-not A, same-different, 2-AC and degree-of-difference. This enables the calculation of d-primes, standard errors of d-primes, sample size and power computations, and comparisons of different d-primes. Methods for profile likelihood confidence intervals and plotting are included. Most methods are described in Brockhoff, P.B. and Christensen, R.H.B. (2010) .

Copy Link

Version

Install

install.packages('sensR')

Monthly Downloads

844

Version

1.5-4

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

John Ennis

Last Published

November 4th, 2026

Functions in sensR (1.5-4)

dod_utils

Utility functions for the Degree-of-Difference model
dod_fit

Direct fitter of the Thurstonian Degree-of-Difference (DOD) model
dprime_compare

Test the 'any-differences' hypothesis and estimate common d-prime
dodSim

Simulate data from the Degree-of-Difference model
dod

Thurstonian Degree-of-Difference (DOD) model
discrimSim

Simulates replicated difference tests
discrimSS

Sensory discrimination sample size calculation
dodControl

Control settings for the dod function
dodPwr

Power of the Degree-of-Difference (DOD) method
discrimR

Replicated Thurstonian Model for discrimination analysis
dprime_table

Summary table of several discrimination experiments using the simple-binomial protocols (Duo-Trio, Triangle, Tetrad, 2-AFC and 3-AFC)
duotrio

Create duotrio binomial family
profile.samediff

Profile likelihood methods for samediff objects.
profile.discrim

Profile likelihood and confidence interval methods for discrim objects
dprime_test

Test of simple hypothesis with the common d-prime
plot.samediff

Plot function for samediff objects
plot.discrim

Plot function for discrim objects
posthoc

Post-hoc estimates and tests for multiple discrimination experiments.
findcr

Find the critical value of a one-tailed binomial test
hexad

Create hexad binomial family
sensR-deprecated

Deprecated Functions in sensR Package
samediff

Computation of tau and dprime for same different test
tetrad

Create tetrad binomial family
summary.samediff

Summary method for samediff objects.
twoAC

2-AC Discrimination and Preference Protocol
triangle

Create triangle binomial family
threeAFC

Create 3-AFC binomial family
rescale

Transform or rescale between pc, pd and d-prime for sensory discrimination protocols
samediffPwr

Power Analysis for Same-different Experiments
samediffSim

Simulates data from a samediff test
twofiveF

Create twofiveF binomial family
twofive

Create twofive binomial family
twoAFC

Create 2-AFC binomial family
twoACpwr

Exact Power Computation for the 2-AC Discrimination Protocol
betabin

Beta-binomial and chance-corrected beta-binomial models for over-dispersed binomial data
AUC

AUC computation
clm2twoAC

Extract 2-AC coefficient table from a cumulative link model
clls-deprecated

Cumulative Link Location-Scale Models
ROC

Plot the Receiver Operating Characteristic Curve
confint.twoAC

Confidence intervals and profile likelihoods for parameters in 2AC models
AnotA

Analysis of A-not-A tests
SDT

Signal Detection Theory Computation of d-prime
discrimPwr

Sensory discrimination power analysis
discrim

Sensory discrimination analysis