The function ‘Power’ is used to summarize the ‘cpd.PwrGSD’ object into a dataframe containing power and type II error, summed over analysis times. The data frame is stacked by rows of ‘descr’ and by ‘stat’ (if there are multiple statistics being profiled per each component of ‘Elements’), for generating tables or performing other computations.

1 |

`object` |
an object of class |

`subset` |
you may extract a subset via a logical expression in the
variables of the index dataframe, |

`nlook.ind` |
(optional) a vector containing a subset of the indices of analysis times over which the sum is formed. Use this for example if you want to know the probability of stopping by the kth analysis under an unfavorable alternative. Set nlook.ind to 1:k |

a dataframe, stacked by rows of ‘descr’ and then by choices of ‘stat’

Grant Izmirlian <izmirlian@nih.gov>

`cpd.PwrGSD`

and `PwrGSD`

1 | ```
## See the `cpd.PwrGSD' example
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.