fito: Phytosociological Parameters

View source: R/fito.R

fitoR Documentation

Phytosociological Parameters

Description

Calculates the phytosociological sampling parameters.

Usage

fito(sp,plot,d,A,stratum=NULL,spivi=15,pt=TRUE,save=TRUE)

Arguments

sp

A vector or data frame with the species.

plot

A vector or data frame with the plots.

d

A vector or data frame with the diameter.

A

Total area, in hectares.

stratum

Optional. A vector or data frame with the strata.

spivi

number of species in the IVI plot. Default is 15.

pt

Logical argument. If TRUE (default), the language of the outputs is Portuguese. If FALSE, the language is English.

save

Logical argument. If TRUE (default), a docx file will be saved in the temporary files directory (run 'tempdir()') (if save=TRUE) with the generated tables and graphics.

Value

A list with an Importance Valor Index (IVI) plot and a phytosociological parameters table, and a docx file saved in the temporary files directory (run 'tempdir()') (if save=TRUE) (if save=TRUE).

Author(s)

Igor Cobelo Ferreira

Examples

library(florestal)

#loads the data

data("simple1")
head(simple1)

#Calculate the phytosociological parameters

IF_fito <- fito(sp=simple1$Specie, plot=simple1$Plot, d= simple1$`Diameter (cm)`, A=27)

igorcobelo/florestal documentation built on April 22, 2023, 12:30 p.m.