fito: Phytosociological Parameters

Description Usage Arguments Value Author(s) Examples

View source: R/fito.R

Description

Calculates the phytosociological sampling parameters.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

Example output

Registered S3 methods overwritten by 'lme4':
  method                          from
  cooks.distance.influence.merMod car 
  influence.merMod                car 
  dfbeta.influence.merMod         car 
  dfbetas.influence.merMod        car 
Warning messages:
1: no DISPLAY variable so Tk is not available 
2: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
3: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
  Plot Individual               Specie Height (m) Diameter (cm)
1    1          1 Cariocar braziliense         10            18
2    1          1 Cariocar braziliense         10            16
3    1          1 Cariocar braziliense         10            17
4    1          1 Cariocar braziliense         10            18
5    1          2     Qualya parvifora         14            17
6    1          3    Magonia pubescens         12            19

florestal documentation built on Oct. 25, 2020, 1:07 a.m.