getSubplotCount: getSubplotCount

getSubplotCountR Documentation

getSubplotCount

Description

This function gets the the counts and/or areas of quadrats or microplots sampled in the "Events" slot of an NPSForVeg object.

Usage

getSubplotCount(object, group, subtype = "all", ...)

Arguments

object

Either an NPSForVeg object of a list of such objects.

group

Indicates which plant groups the area should correspond to. Acceptable values are "trees","saplings","seedlings", "shrubs" and "herbs"

subtype

Indicates the type of area to be returned, and should be enclosed in quotes. Acceptable values are

"all"

(the default) Returns the total area and number of subplots sampled per plot event for that group.

"area"

Returns the total area sampled per plot event for that group.

"count"

A count of the number of subplots/microplots/quadrats that the group is monitored in for each plot event.

...

Additional arguments passed on to getEvents.

Value

A data.frame with the columns corresponding to the plot name, event year,number of subplots sampled, and area of the sampled subplots.


NCRN/NPSForVeg documentation built on March 26, 2024, 7:13 a.m.