CSmosquitoSp.plot: CSmosquitoSp plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/CSmosquitoSp_plot.R

Description

This function create spatial maps for a selected AOI using the results generated from spatial analysis of CSmosquitoSp data

Usage

1
2
3
CSmosquitoSp.plot(x, field = "VAL_PMFA",
  maptitle = "Perceived mosquito abundance", lang = "ENG",
  filename = NULL, caption_logo = FALSE, ...)

Arguments

x

Input object of class CSmosquitoSp.obj

field

Character. Fields to be mapped from the 'aoi' slot of object of class CSmosquitoSp.obj

maptitle

Character. 'Map title.

lang

Character. Language to use for map footer ('ENG' or 'ITA').

filename

Character. Plot result to speified file path.

caption_logo

Logical. Add the caption logo (currently available only for 'ZanzaMapp' DataBase) to the map (Default to FALSE).

...

Additional arguments to be passed through to function CSmosquitoSp.plot

Value

The function return a plot for the selected field computed from CSmosquitoSp.analysis within the Area Of Interest

Author(s)

Federico Filipponi

See Also

CSmosquitoSp.analysis CSmosquitoSp.export

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# perform CSmosquitoSp spatial analysis
for the metropolitan area of the city of Rome
CSMS_roma <- CSmosquitoSp.analysis(input_db=input_db, aux_path=aux_path,
aoi="Roma", start_date="2017-09-01", end_date="2017-09-30")

# plot result
CSmosquitoSp.plot(x=CSMS_roma, field="VAL_PMFA")

## End(Not run)

ffilipponi/CSmosquitoSp documentation built on July 2, 2020, 6:25 p.m.