gen_tab: gen_tab

View source: R/gen_tab.R

gen_tabR Documentation

gen_tab

Description

Generates the summary table(s) resulting from the analysis.

Usage

gen_tab(li, vars, outpath, file, ord, stationnames, specs)

Arguments

li

A list resulting from mocis

vars

Variables which the tables should be generated from. Passed from mocis.

outpath

Where the table(s) should be saved. Passed from mocis.

file

The file containing the data. Passed from mocis.

ord

Ordering of the data in the table(s), defaults to statorder.

stationnames

Names of the monitoring stations. A list, defaults to stations.

specs

Species list. Defaults to species().

Details

For internal use only

Value

A list with elements

  • genus - specis

  • loc - the locale

  • n - the total number of measurements

  • yrs - the number of years in te series

  • years.min - earliest measurement

  • years.max - latest measurement

  • m - the overall geometric mean value

  • m.lower - lower confidence limit for m

  • m.upper - upper confidence limit for m

  • slope - slope of the regression line expressed as % per year

  • ci.lower - lower confidence limit for slope

  • ci upper - upper confidence limit for slope

  • r2 - coefficient of determination

  • pval - p-value from the test of the null hypothesis that the slope is 0.

  • cv - coefficient of variation around the linear regression line

  • ldt - lowest detectable trend

  • yrq - number of years required to not miss a trend

  • pow1 - ...

  • pow2 - ...

  • pow3 - ...

  • tau - Kendall's tau

  • p.tau - p-value resulting from the test of the null hypothesis that tau equals 0.

  • cv.sm - coefficient of determination around the regression smooth

  • p.smooth - p-value resulting from the test with the null hypothesis that the smooth explains less than or as much variance as the regression line

  • min.trend - minimal detectable trend during the last 10 years based on the degrees of freedom used by the smooth

  • yhat.last - estimate of the contaminant level for the last year in the series

  • yhat.last.lower - lower confidence limit of the estimate

  • yhat.last.upper - upper confidence limit of the estimate

  • slope.10 - slope for the last 10 years, if applicable, expressed as % per year

  • ci.10.lower - lower confidence limit for the slope

  • ci.10.upper - upper confidence limit for the slope

  • cv.10 - coefficient of variation around the slope, if applicable

  • ldt.10 - lowest detectable trend during the last 10 years

  • yrq.10 - number of years required

  • pow1.10 - ...

  • pow2.10 - ...

  • pow3.10 - ...

  • r2.10 - coefficient of determination

  • pval.10 - p-value resulting from the test with the null hypothesis that the slope the last 10 years is 0

  • changepoint - the change point, if applicable

Author(s)

Erik Lampa


NRM-MOC/MoCiS documentation built on March 27, 2023, 7:35 p.m.