total_diff_effect: Compute difference in reproduction rate between two inputs

View source: R/draft helpers.R

total_diff_effectR Documentation

Compute difference in reproduction rate between two inputs

Description

Compute difference in reproduction rate between two inputs

Usage

total_diff_effect(
  df.values,
  choose_age = NULL,
  average = FALSE,
  cov.cur = macro$cov
)

Arguments

df.values

data.frame with name and value1 and value2 of covariate

choose_age

if age should be filtered

average

if output should be weighted average across age groups

cov.cur

covariates that one can choose from (standard only continuous)


Schmidtpk/InfSup documentation built on Jan. 20, 2024, 12:33 a.m.