IndZonas: IndZonas

View source: R/ipv.R

IndZonasR Documentation

IndZonas

Description

Estimation of global indices by areas; merely a wrapper around ConsInd.

Usage

IndZonas(datos, zonas, frm = NULL, base = "2008-01-01", plot = FALSE)

Arguments

datos

Dataframe of observations

zonas

Name of the column of datos defining the areeas for which we want indices.

frm

Formula specifying the base model, in the notation expected by gam. The formula is common to all indices computed byu the function.

base

Base date (index=100). It is a day in format yyyy-mm-dd.

plot

FALSE (default) if no graphs are desired, TRUE otherwise.

Value

A list with the computed indices, in the format in which they are returned by ConsInd.


FernandoTusell/ipv documentation built on Nov. 7, 2022, 6:03 a.m.