seed_need: Required seed amount in a tricot project

Description Usage Arguments Value Examples

View source: R/seed_need.R

Description

Calculate the required amount of seeds (or other technology) required for a triadic comparison of technologies (tricot) project.

Usage

1
seed_need(nobservers = 100, ncomp = 3, nitems = 10, nseeds = 0.15, unit = "kg")

Arguments

nobservers

an integer for the number of observers

ncomp

an integer for the number of items each observer compares

nitems

an integer for the number of items tested in the project

nseeds

an integer for the metric of seeds each bag receives

unit

optional, a character specifying the metric unit used

Value

a dataframe with required number of seeds

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
  
# allocate 0.2 kg of seeds per variety in a project with 500 
# participants and 14 varieties
seed_need(nobservers = 500,
          ncomp = 3,
          nitems = 14, 
          nseeds = 0.2)

# allocate 100 seedlings per variety in a project with 400 
# participants, 8 varieties and 3 comparisons between varieties
seed_need(nobservers = 400,
          ncomp = 3,
          nitems = 9, 
          nseeds = 100,
          unit = "unit")

kauedesousa/ClimMobTools documentation built on Feb. 14, 2020, 8:23 a.m.