TRIANGLE TEST

Description

Three functions are related to the triangle test:

  1. triangle.design
  2. triangle.pair.test
  3. triangle.test

1) triangle.design: constructs a design for a given number of products, a given number of panelists and a given number of products per panelist

2) triangle.pair.test: returns the p-value associated with a given number of panelists and a given number of good answers for a triangle test with two products

3) triangle.test: returns differents results (including a matrix with the p-value of the triangle test for each pair of products) associated with a given number of panelists and a given number of good answers for a triangle test