n_fix,Student-method | R Documentation |

Returns the sample size of a fixed design without sample size recalculation.

```
## S4 method for signature 'Student'
n_fix(design, nuisance, ...)
```

`design` |
test statistic object |

`nuisance` |
nuisance parameter |

`...` |
Further optional arguments. |

The method is only vectorized in either `nuisance`

or `n1`

.

One value of the fixed sample size for every nuisance parameter and every value of n1.

```
d <- setupStudent(alpha = .025, beta = .2, r = 1, delta = 3.5, delta_NI = 0,
alternative = "greater", n_max = 156)
n_fix(design = d, nuisance = 5.5)
```

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.