lattice                package:FLCore                R Documentation

_L_a_t_t_i_c_e _p_l_o_t_s

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

     Implementation of Trellis graphics in FLR. Plot methods in the 
     'lattice' package are  available for object of class  'FLQuant',
     'FLQuants' or those derive from 'FLComp'.

     See the help page in 'lattice' for a full description of each plot
      method and of all possible arguments.

     Plot methods from lattice are called by passing a data.frame
     obtained by  converting the FLR objects using as.data.frame. For
     details on this transformation, see  as.data.frame-FLCore.

_G_e_n_e_r_i_c _f_u_n_c_t_i_o_n:

     barchart(x, data, ...) 

     bwplot(x, data, ...) 

     densityplot(x, data, ...) 

     dotplot(x, data, ...) 

     histogram(x, data, ...) 

     stripplot(x, data, ...) 

     xyplot(x, data, ...)

_M_e_t_h_o_d_s:


      _s_i_g_n_a_t_u_r_e(_x=_f_o_r_m_u_l_a, _d_a_t_a=_F_L_Q_u_a_n_t) : Use the lattice
          functionality for objects of class FLQuant

      _s_i_g_n_a_t_u_r_e(_x=_f_o_r_m_u_l_a, _d_a_t_a=_F_L_Q_u_a_n_t_s) : Use the lattice
          functionality for objects of class FLQuants

      _s_i_g_n_a_t_u_r_e(_x=_f_o_r_m_u_l_a, _d_a_t_a=_F_L_C_o_m_p) : Use the lattice functionality
          for objects of class FLComp

      _s_i_g_n_a_t_u_r_e(_x=_f_o_r_m_u_l_a, _d_a_t_a=_F_L_P_a_r) : Use the lattice functionality
          for objects of class FLPar

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

     The FLR Team

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

     xyplot, barchart, bwplot, densityplot, dotplot, histogram,
     stripplot

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

     # xyplot on FLQuant
     xyplot(data~year|age, catch.n(ple4)[, 1:20])

     xyplot(data~year|as.factor(age), catch.n(ple4)[, 1:20], type='b', pch=19, cex=0.5)

     # bwplot on FLQuant with iter
     flq <- rnorm(100, catch.n(ple4)[, 1:20], catch.n(ple4)[,1:20])
     bwplot(data~year|as.factor(age), flq)

     # now with same style modifications
     bwplot(data~year|as.factor(age), flq, scales=list(relation='free',
       x=list(at=seq(1, 20, by=5), labels=dimnames(catch.n(ple4)[,1:20])$year[seq(1, 20,
       by=5)])), cex=0.5, strip = strip.custom(strip.names = TRUE, strip.levels = TRUE,
       var.name='age'))

