mapasp                  package:sp                  R Documentation

_C_a_l_c_u_l_a_t_e _a_s_p_e_c_t _r_a_t_i_o _f_o_r _p_l_o_t_t_i_n_g _g_e_o_g_r_a_p_h_i_c _m_a_p_s

_D_e_s_c_r_i_p_t_i_o_n:

     Calculate aspect ratio for plotting geographic maps

_U_s_a_g_e:

      mapasp(data) 

_A_r_g_u_m_e_n_t_s:

    data: object of class 'SpatialData', or a class that extends
          'SpatialData' such as 'SpatialDataFrame' or 
          'SpatialDataFrameGrid'

_V_a_l_u_e:

     diff(range(y))/diff(range(x)), but then derived from slot(data,
     "bbox")

_S_e_e _A_l_s_o:

     levelplot in package 'lattice'

