acs: Simple Casual Sampling and Phytosociological Parameters

Description Usage Arguments Value Author(s) References Examples

View source: R/acs.R

Description

Calculates the simple casual and phytosociological sampling parameters.

Usage

1
acs(x,A,a,E=0.1,p=0.05,prot=NULL,ampl=2,rn=FALSE,spivi=15,un=FALSE,pt=TRUE,save=TRUE)

Arguments

x

A data frame with six columns: plots in the first (in numerals), numbering of individuals in the second (in numerals), species in the third, height in the fourth (in meters), diameter in the fifth (in centimeters) and volume in the sixth (in cubic meters).

A

Total area, in hectares.

a

Plot area, in hectares.

E

Required error, in decimal value. Default is 0.1.

p

Significance level, in decimal value. Default is 0.05.

prot

Optional. Protected species.

ampl

Amplitude of diameter class range. Default is 2.

rn

Logical argument. If TRUE, calculates the sample intensity once again, with the degrees of freedom from the previous result.

spivi

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

un

Logical argument. If TRUE, the species column have an unique specie, as a planted forest. If FALSE (default), have multiple species (more than one).

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 of tables and plots, and a docx file saved in the temporary files directory (run 'tempdir()') (if save=TRUE). The console displays the sampling intensity.

Author(s)

Igor Cobelo Ferreira

References

Pellico Netto, S.; Brena, D. (1997). Inventario florestal. Curitiba: Universidade Federal do Parana, 316 p.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(florestal)

#loads the data

data("simple2")
head(simple2)

#Calculate the sampling parameters

IF_acs <- acs(simple2,A=27,a=0.1)

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