agouti_summary: Summarise a aggregated output dataset.

View source: R/summary.R

agouti_summaryR Documentation

Summarise a aggregated output dataset.

Description

Summarise a aggregated output dataset.

Usage

agouti_summary(x, ID = ID, high_res = NA, na.rm = FALSE)

Arguments

x

A data frame suitable for use as aggregate output data.

ID

The column to use as the group ID column. Unquoted value.

high_res

A string or vector of strings specifying a column or columns of high resolution variables to summarise. default is NULL in which case the function will summarise all variables with more unique values than ID

na.rm

default is false, if na.rm is not equal to false, NA's will be dropped

Examples

data(madagascar_malaria)
agouti_summary(madagascar_malaria)
agouti_summary(madagascar_malaria, high_res=c("pop","EVI"))

timcdlucas/agouti documentation built on Feb. 8, 2024, 6:12 p.m.