mapq: Mapping univariate and multivariate NSPOT results

Description Usage Arguments Value

View source: R/f_mapq.R

Description

This function creates maps of univariate and multivariate differences between q100 positive and negative values of the indices, based on results from a call to the nspot() function.

Usage

1
2
3
4
5
6
7
8
9
mapq(
  sts,
  ind_names,
  res,
  path,
  brks = c(1.25, 2, 3, 4),
  brks_time = c(1.1, 1.2, 1.3, 1.5),
  country = NULL
)

Arguments

sts

A matrix or data frame containing (all) the stations information. Must have, at least: ID, NAME, LON, LAT.

ind_names

names of the indices.

res

results object (list) from a call to the nspot() function.

path

Directory where the results in pdf format will be saved.

brks

Vector (numeric). Breaks in which indices values (not time) will be categorized for representation purposes.

brks_time

Vector (numeric). Breaks in which the temporal index values (temporal trends) will be categorized for representation purposes.

country

uses administrative boundaries of provinces (or equivalent) of a specific country. If NULL, only country boundaries are shown.

Value

collection of PDF files representing the univariate and multivariate trends, by indices.


rsnotivoli/nspotPrec documentation built on Dec. 22, 2021, 7:18 p.m.