create_cross_reactivity_vector: Convert melted antigenic map to cross reactivity

View source: R/RcppExports.R

create_cross_reactivity_vectorR Documentation

Convert melted antigenic map to cross reactivity

Description

Multiplies all elements of the provided vector, x such that y = 1 - cr_gradient*x. Also makes sure that no calculated value is less than 0

Usage

create_cross_reactivity_vector(x, cr_gradient)

Arguments

x

the melted antigenic map

cr_gradient

the cross reactivity waning parameter

Value

a vector of cross reactivity


seroanalytics/serosolver documentation built on April 10, 2024, 3:28 p.m.