View source: R/getPlotDimensions.R
getPlotdimensions | R Documentation |
find the plotting dimensions for quilt.plot when using a regular grid
getPlotdimensions(x.pos, y.pos, segmentWidth, segmentLength)
x.pos |
Vector of x-coordinates in dataset |
y.pos |
Vector of y-coordinates in dataset |
segmentWidth |
Width of each grid cell of data (in same units as |
segmentLength |
Length of each grid cell of data (in same units as |
#' # load data
data(ns.data.re)
getPlotdimensions(ns.data.re$x.pos, ns.data.re$y.pos, segmentWidth=500, segmentLength=500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.