dot.plot: Plot variable means across time

Description Usage Arguments Details Value

View source: R/dot.plot.R

Description

dot.plot plots the means of the variables passed with params. 1.96 x SE (confidence intervals) bars are also plotted.

Usage

1
2
dot.plot(data, params, species = "all", trendline = TRUE,
  save2disk = FALSE, dir.out = NULL, wcm = 27, hcm = 19)

Arguments

data

The data.frame with the trapping data

params

The variables to be plotted

species

The species to be included in the plots. If "all", then all the species found will be plotted

save2disk

Whether to save files to disk (default FALSE)

dir.out

The path where to save the files if save2disk=TRUE

wcm

width of saved plots in cm

hcm

height of saved plots in cm

Details

If save2disk==TRUE a PDF and RDA file will be saved to disk in the directory passed with dir.out (which will be created if doesn't exist). Size of the saved plots can be controlled with wcm and hcm. Default settings save plots with a landscape orientation on A4 size.

Value

A list with a plot for each parameter. The last element is a table with mean and confidence intervals for each parameter


carlopacioni/WPdata documentation built on July 14, 2018, 8:16 p.m.