Learn R Programming

vegan (version 2.0-10)

nobs.adonis: Extract the Number of Observations from a vegan Fit.

Description

Extract the number of observations from a vegan model fit.

Usage

## S3 method for class 'adonis':
nobs(object, ...)

Arguments

object
A fitted model object.
...
Further arguments to be passed to methods.

Value

  • A single number, normally an integer, giving the number of observations.

Details

Function nobs is generic in R, and vegan provides methods for objects from adonis, betadisper, cca and other related methods, CCorA, decorana, isomap, metaMDS, pcnm, procrustes, radfit, varpart and wcmdscale.