convex_comb | R Documentation |
Given two vectors and one or multiple coefficients in [0,1], convex combinations of vectors are computed.
convex_comb(w, x, y, simplify = TRUE)
w |
|
x, y |
|
simplify |
if |
plot3logit:::convex_comb(c(0, 0.3, 0.5, 1), c(1, 0, 0), c(0, 1, 0)) plot3logit:::convex_comb(c(0, 0.3, 0.5, 1), c(1, 0, 0), c(0, 1, 0), FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.