combined_k: Calculate the effective overall k based on coefficients of...

View source: R/combined_k.R

combined_kR Documentation

Calculate the effective overall k based on coefficients of variation

Description

Calculate the effective overall k based on coefficients of variation

Usage

combined_k(cv_between, cv_within, cv_slide, cv_reduction)

Arguments

cv_between

A vector of CV reflecting variation in EPG between individuals in each community

cv_within

Day-to-day variation in EPG within an individual

cv_slide

Variation between faecal samples from the same individual and day

cv_reduction

Variation in efficacy between individuals

Value

a vector of pre_k and post_k

Examples

combined_k(1.5, 0.75, 0.25, 0)
combined_k(1, 0.75, 0, 0)
(1/1^2 * 1/0.75^2) / (1/1^2 + 1/0.75^2 + 1)


ku-awdc/eggSim documentation built on Feb. 23, 2024, 10:22 p.m.