Description Usage Arguments Details Value Author(s) References See Also Examples

Simulates the outcome of `n`

same-different experiments.

1 | ```
samediffSim(n, tau, delta, Ns, Nd)
``` |

`n` |
the number of experiments to simulate. |

`tau` |
the value of "tau". |

`delta` |
the value of delta (d-prime). |

`Ns` |
number of same-samples |

`Nd` |
number of different-samples |

The function makes two calls to `rbinom`

.

A matrix of with `n`

rows and four columns named ```
ss, ds,
sd, dd
```

with the number of same-answers to same-samples,
different-answers to same-samples, same-answers to different-samples
and different-answers to different-samples respectively.

Rune Haubo B Christensen

Christensen, R.H.B., Brockhoff, P.B. (2009). Estimation and inference in the same-different test. Food, Quality and Preference, 20 pp. 514–520

1 2 | ```
## Running simulations:
samediffSim(n = 10, tau = 1, delta = 1, Ns = 10, Nd = 10)
``` |

sensR documentation built on May 2, 2019, 9:43 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.