plotBounds             package:adaptTest             R Documentation

_F_u_n_c_t_i_o_n _t_o _p_l_o_t _t_h_e _s_t_o_p_p_i_n_g _b_o_u_n_d_s _o_f _a_n _a_d_a_p_t_i_v_e _t_w_o-_s_t_a_g_e _t_e_s_t

_D_e_s_c_r_i_p_t_i_o_n:

     This function plots the stopping bounds of an adaptive two-stage
     test.

_U_s_a_g_e:

     plotBounds(a1 = 0, a0 = 1, add = TRUE, xlab = NA, ylab = NA, ...)

_A_r_g_u_m_e_n_t_s:

      a1: alpha1, the efficacy stopping bound and local level of the
          test after the first stage (default: no stopping for
          efficacy)

      a0: alpha0, the futility stopping bound (default: no stopping for
          futility)

     add: logical determining whether the bounds should be added to an
          existing plot (default) or a new plot should be opened

    xlab: a label for the x axis (default: no label)

    ylab: a label for the y axis (default: no label)

     ...: arguments to be passed on to the underlying 'lines' functions
          (e.g., graphical parameters)

_D_e_t_a_i_l_s:

     This function plots the stopping bounds alpha1 and alpha0 of an
     adaptive two-stage test, either onto an existing plot or into a
     new plot.

_V_a_l_u_e:

     The function 'plotBounds' is invoked for its plotting effect; it
     returns no meaningful value.

_N_o_t_e:

     Note that in this implementation of adaptive two-stage tests,
     early stopping bounds are _not_ part of the conditional error
     function. Rather, they are specified separately (see also 'tsT').

_A_u_t_h_o_r(_s):

     Marc Vandemeulebroecke

_S_e_e _A_l_s_o:

     'adaptTest' package description, 'plotCEF'

_E_x_a_m_p_l_e_s:

     ## Example from Bauer and Koehne (1994): full level after final stage, alpha0 = 0.5
     alpha  <- 0.1
     alpha2 <- 0.1
     alpha0 <- 0.5
     alpha1 <- tsT(typ="b", a=alpha, a0=alpha0, a2=alpha2)
     plotCEF(typ="b", a2=alpha2, add=FALSE)
     plotBounds(alpha1, alpha0)

