R/RcppExports.R
create_cross_reactivity_vector.Rd
Multiplies all elements of the provided vector, x such that y = 1 - sigma*x. Also makes sure that no calculated value is less than 0
create_cross_reactivity_vector(x, sigma)
x | the melted antigenic map |
---|---|
sigma | the cross reactivity waning parameter |
a vector of cross reactivity