swath_data_ci: Generate means by geographical slices (swaths). Extended to...

Description Usage Arguments Value Author(s)

Description

For a given set of coordinate intervals calculate the mean of the data within each interval (swath).

Usage

1
swath_data_ci(df, value, group, axis, slices, reps = 10000, conf = 0.95)

Arguments

df

Data frame with at least one coordinate field.

value

Column name to be evaluated (e.g., au).

group

Grouping column (e.g., domain).

axis

Axis column for slicing (e.g., x).

slices

List of slice starting coordinates as numeric vector. Can be generated from function swath_seq.

reps

(default = 10000) Number of bootstrap repetitions.

conf

(default = 0.95) Confidence level.

Value

dataframe

Author(s)

Alex M Trueman


truemoid/swathr documentation built on May 3, 2019, 4:05 p.m.