<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Prediction of Time with Hedging Prior</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="https://rpkg.net/assets/examples.css" />
</head><body>

<table width="100%" summary="page for accrual.T.hedging"><tr><td>accrual.T.hedging</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>
Prediction of Time with Hedging Prior
</h2>

<h3>Description</h3>

<p>Prediction of time frame with Hedging Prior for a certain nubmer of subjects.
</p>


<h3>Usage</h3>

<pre>
accrual.T.hedging(n, T, m, tm, np)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>n</code></td>
<td>

<p>Target sample size
</p>
</td></tr>
<tr valign="top"><td><code>T</code></td>
<td>

<p>Target completion time
</p>
</td></tr>
<tr valign="top"><td><code>m</code></td>
<td>

<p>Sample observed to date
</p>
</td></tr>
<tr valign="top"><td><code>tm</code></td>
<td>

<p>Time to date
</p>
</td></tr>
<tr valign="top"><td><code>np</code></td>
<td>

<p>The specific number of subjects want to be predicted
</p>
</td></tr>
</table>


<h3>Author(s)</h3>

<p>Junhao Liu, Yu Jiang, Cen Wu, Steve Simon, Matthew S. Mayo, Rama Raghavan, Byron J. Gajewski
</p>


<h3>Examples</h3>

<pre>
accrual.T.hedging(n=300, T=36, m=100, tm=10, np=300)[[1]]
</pre>


</body></html>
