Learn R Programming

dsm (version 2.3.3)

block.info.per.su: Find the block information

Description

Takes the transect data and works out how many blocks of a given size (in segment terms) fit into each.

Usage

block.info.per.su(block.size, data, name.su)

Value

a data.frame with the following columns

  • name the sample unit name (e.g. transect label)

  • num.seg number of segments in that transect

  • num.block number of blocks available

  • start.block block number for first block

  • end.block block number for last block

  • num.req number of blocks needed for the unit

Arguments

block.size

number of segments per block

data

data used to build the model

name.su

names of the sampling units (i.e., transects)