BivariateGridding         package:fMultivar         R Documentation

_B_i_v_a_r_i_a_t_e _G_r_i_d_d_e_d _D_a_t_a _S_e_t_s

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

     A collection and description of functions which allow to generate
     bivariate gridded data sets. 

     Grid Data Functions:

       'gridData'  generates a grid data set of class 'gridData',
       'persp'     generates a perspective plot from a grid data set,
       'contour'   generates a contour plot from a grid data set.

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

      
     gridData(x = (-10:10)/10, y = x, z = outer(x, y, function(x, y) (x^2+y^2) ) )

     ## S3 method for class 'gridData':
     persp(x, theta = -40, phi = 30, col = "steelblue", 
         ticktype = "detailed", ...)
     ## S3 method for class 'gridData':
     contour(x, addImage = TRUE, ...)

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

addImage: [contour] - 
           a logical flag indicating if an image plot should be
          underlayed to the contour level plot. 

 x, y, z: [gridData] - 
           'x' and 'y' are two numeric vectors of grid pounts and 'z'
          is a numeric matrix or any other rectangular object  which
          can be transformed by the function 'as.matrix' into  a matrix
          object. 

theta, phi, col, ticktype: [persp] - 
           tailored parameters passed the perspective plot function
          'persp'. 

     ...: [contour][persp] - 
           additional arguments to be passed to the perspectice and
          countour plot functions. 

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

     'gridData' - 
      A list with at least three entries, 'x', 'y' and 'z'. 

     The returned values, can be directly used by the
     'persp.gridData()'  and 'contour.gridData' 3D plotting methods.

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

     Diethelm Wuertz for the Rmetrics R-port,
      H. Akima for the Fortran Code of the Akima spline interpolation
     routine.

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

     ## gridData -
        # Grid Data Set
        gD = gridData()
        persp(gD)
        contour(gD)

