binconf_uur: Binary Configuration Hour

Description Usage Arguments

Description

Function receives a data frame and creates a graph based on the proportion of fires active by hour. Also gives xlsx output of prop, upper and lower. Makes use of Monte Carlo Simulation

Usage

1
2
3
4
5
6
7
binconf_uur(x = stowe.df, datumvar = "datum", vuurvar = "vuur",
  vuurnaam = "fire", plot = c(NULL, "bar", "line"), stoor = FALSE,
  xlsx = TRUE, stoordir = NULL, fn = "binconf.uur.pdf",
  ttl = "Proportion of fires active\n by hour of day (with 95% CI)",
  addttl = NULL, addfn = NULL, ylm = c(0, 1), verbose = TRUE,
  ylable = "Proportion of fires active", uurvar = "hour",
  maandvar = "month", jaarvar = "year")

Arguments

x

Data frame that contains fire data

datumvar

Character vector. Name of the column containing dates

vuurvar

Character vector. Name of the column containing fires being active or not

vuurnaam

Character vector. Is the fire active? Either "fire" or "yes".

plot

Character vector. Plot nothing (NULL), barplot (bar), or lineplot (line)

stoor

Logical. Store the data?

xlsx

Logical. Print out xlsx or not.

stoordir

Character vector. The directory for storage to take place in

fn

Character vector. Filename of stored data

ttl

Character vector. Title of the generated graph

addttl

Character vector. Add a title

addfn

Character vector. Add a filename

ylm

Numeric vector. Contains y axis limits

verbose

Logical. Displays messages

ylable

Character vector. The y-axis lable

uurvar

Character vector. Name of the hours variable. If null the function will extract the hour of day from the data contained in the date column (recommended)

maandvar

Character vector. Name of the month variable

jaarvar

Character vector. Name of the year variable


Boshoffsmit/novaFire documentation built on May 6, 2019, 7:59 a.m.