square               package:spatstat               R Documentation

_S_q_u_a_r_e _W_i_n_d_o_w

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

     Creates a square window

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

      square(r=1)
      unit.square()

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

       r: The side length of the square.

_D_e_t_a_i_l_s:

     'square' is a shortcut for creating a window object representing
     the square  [0,r] * [0,r]. It is equivalent to the command
     'owin(c(0,r),c(0,r))'.

     'unit.square' creates the unit square [0,1] * [0,1]. It is
     equivalent to 'square(1)' or 'square()' or 'owin(c(0,1),c(0,1))'.

     These commands are  included mainly to improve the readability of
     some code.

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

     An object of class '"owin"' (see 'owin.object') specifying a
     window.

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

     Adrian Baddeley adrian@maths.uwa.edu.au <URL:
     http://www.maths.uwa.edu.au/~adrian/> and Rolf Turner
     rolf@math.unb.ca <URL: http://www.math.unb.ca/~rolf>

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

     'owin.object', 'owin'

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

      W <- square(10)

