plotF                  package:amer                  R Documentation

_p_l_o_t _e_s_t_i_m_a_t_e_d _f_u_n_c_t_i_o_n _v_a_l_u_e_s + _p_o_i_n_t_w_i_s_e _c_o_n_f_i_d_e_n_c_e _i_n_t_e_r_v_a_l_s _f_o_r _a_n _a_m_e_r-_F_i_t...

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

     plot estimated function values + pointwise confidence intervals
     for an amer-Fit

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

     plotF(object, which, n=100, interval=RW, addConst=TRUE,
         trans=I, level=0.9, sims=1000, auto.layout=TRUE, rug=TRUE,
         legendPos=topright, ...)

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

  object: a fitted additive (mixed) model of class 'amer-class'

   which: (optional) an integer vector or a character vector of names
          giving the smooths for which plots are desired. Defaults to
          all.

       n: fitted values for a regular grid with n values in the range
          of the respective covariates are calculated

interval: what mehod should be used to compute pointwise confidence/HPD
          intervals. See 'getF'.

addConst: boolean should the global intercept and intercepts for the
          levels of the by-variable be included in the fitted values
          (and their CIs)

   trans: a function that should be applied to the fitted values and
          ci's before plotting (e.g. the inverse link function to get
          plots on the scale of the reponse)

   level: level for the confidence/HPD intervals

    sims: how many iterates should  be generated for the MCMC-based
          HPD-intervals

auto.layout: automagically set plot layout via 'par()$mfrow'

     rug: add 'rug'-plots of the observed covariate locations

legendPos: a (vector of) keyword(s) where to put labels of by-variables
          (see 'legend'). "none" if you don't want a legend.

     ...: arguments passed on to the low-level plot functions ('plot',
          'matlines'), 'legend', and 'title'

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

     invisibly returns the result of the 'getF'-call used to do the
     plots

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

     Fabian Scheipl

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

     'getF'; 'plotF',  'tests/optionsTests.r' and the vignette for
     examples

