jointplot               package:joineR               R Documentation

_J_o_i_n_t _p_l_o_t _o_f _l_o_n_g_i_t_u_d_i_n_a_l _a_n_d _s_u_r_v_i_v_a_l _d_a_t_a

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

     This function views the longitudinal profile of each unit with
     event-time (censored or not) taken as the end-point, referred to
     as time zero. In doing so, the shape of the profile prior to
     event-time can be inspected. This can be done over a
     user-specified number of time units.

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

     jointplot(longdat, survdat, lag = 5, split = TRUE)

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

 longdat: a matrix containing both the longitudinal data and the
          longitudinal design matrix. The matrix will contain one row
          per measurement per subject. The matrix is required to have
          the column form: subject index, longitudinal response,
          longitudinal measurement time, longitudinal design matrix.

 survdat: matrix containing both the survival data and the survival
          design matrix and must contain one row per subject. The
          matrix is required to be set up in the following column
          order: subject index, survival time, censoring indicator,
          survival design matrix.

     lag: Argument which specifies how many units in time we look back
          through.

   split: TRUE/FALSE argument which allows the profiles of units which
          'fail' and those which are 'censored' to be viewed in
          separate panels of the same graph. This is the default
          option. Using split=FALSE will plot all profiles overlaid on
          a single plot.

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

     The function tailors the 'xyplot' function in the 'lattice'
     library to produce a representation of joint data with
     longitudinal and survival components.

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

     Pete Philipson (p.m.philipson@ncl.ac.uk)

_R_e_f_e_r_e_n_c_e_s:

     Wulfsohn, M. S. and Tsiatis, A. A. (1997) "A Joint Model for
     Survival and Longitudinal Data Measured with Error", Biometrics,
     53, 330-339.

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

     'lattice','xyplot','joint','jointsep','jointcp'.

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

     data(liverlong,liversurv)
     jointplot(liverlong,liversurv,lag=8)

