equal_check_by_plot: Generate a spatial layout of checks by every # of plots

Description Usage Arguments Value Examples

View source: R/equal_check_by_plot.R

Description

This function generate a check layout in a retangular grid, The check is distributed by every # of plots

Usage

1
equal_check_by_plot(n.row, n.col, by.plot)

Arguments

n.row

The row of a retangular grid

n.col

The column of a retangular grid

by.plot

The distance between checks (row-wise and col-wise) in the unit of plots

Value

A dataframe will return

Examples

1
2
3
4
# To produce a 4 by 5 field with check distributed by every 2 plots
nr = 4; nc = 5
example.tmp = equal_check_by_plot(nr, nc, 2)
fields::quilt.plot(example.tmp, nx=nr, ny=nc)

SpatialFloor documentation built on April 26, 2018, 5:04 p.m.