getProbabilities | R Documentation |

Calculates the cumulative probabilities to declare efficacy and futility under the null hypothesis and the alternative hypothesis. It also returns the p-values for declaring efficacy and futility.

```
getProbabilities(theObject)
```

`theObject` |
The sequential design object |

numeric

```
design1<-sequential.design()
probs<-getProbabilities(design1)
```

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.