setActiveMVC             package:iSPlot             R Documentation

_S_e_t_s _t_h_e _a_c_t_i_v_e _M_V_C _o_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     setActiveMVC sets the active MVC object.  setActiveMVC is a
     command line function that performs the same functionality as the
     Set Active MVC menu item under the Edit menu on the control
     window.  setActiveMVC is meant to be called by users that are not
     using the GUI.  Only one MVC object can be active at a time.  All
     of the control window menus and command line functions will refer
     to operations that are performed on this active MVC object.

_U_s_a_g_e:

     setActiveMVC(aMVC)

_A_r_g_u_m_e_n_t_s:

    aMVC: the name of the MVC that you want to be the active MVC

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_S_e_e _A_l_s_o:

     'loadData', 'getActiveMVC', 'getModelNames'

_E_x_a_m_p_l_e_s:

       if (interactive())
       {
         loadData("USArrests")
         loadData("USJudgeRatings")
         getActiveMVC()

         # now choose USJudgeRatings as the active MVC
         setActiveMVC("USJudgeRatings")
         getActiveMVC()
       }

