subSquare: Select a subsection from the center of a 'pp3' data file.

View source: R/rapt_pp3-manipulate.R

subSquareR Documentation

Select a subsection from the center of a pp3 data file.

Description

Given an original pp3 object, subSquare will select a rectangular prism centered at the center of the original point pattern, and return a pp3 object of the subsection.

Usage

subSquare(orig, win)

Arguments

orig

The original pp3 object

win

Numerical vector containing the dimensions for the box that you would like to select: c(xdim, ydim, zdim) (e.g. c(10,10,10)).

Value

Returns a pp3 object of the selected box, shifted so that the origin is still at (0,0,0).


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.