Learn R Programming

SplitR (version 0.4)

disp_stats_particle_through_region: Get statistics for dispersed particles travelling through a specified region

Description

This function computes statistics focussed on particles travelling through a specified volume of air.

Usage

disp_stats_particle_through_region(dispersion_df, stats, lat, lon, heights)

Arguments

dispersion_df

a data frame generated from dispersion output data returned from the dispersion_read function.

stats

the type of statistical analysis to perform. Currently, only frequencies is available.

lat

a numeric vector containing latitude bounds

lon

a numeric vector containing longitude bounds

heights

a numeric vector containing height bounds

Examples

Run this code
# NOT RUN {
# Get a statistical summary of particles
# available in a region every hour
disp_stats_particle_through_region(
  dispersion_df = disp_output,
  stats = "frequencies",
  lat = c(49.05, 49.50),
  lon = c(-127.2, -128.0),
  heights = c(0, 1000))
# }

Run the code above in your browser using DataLab