create_cross_reactivity_vector | R Documentation |
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
create_cross_reactivity_vector(x, cr_gradient)
x |
the melted antigenic map |
cr_gradient |
the cross reactivity waning parameter |
a vector of cross reactivity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.