R package to find scalar projections of vectors on other vectors
library(devtools)
install_github("agentlans/ShadowPlayer")
library(ShadowPlayer)
# Two vectors. Note: vectors must be arranged in columns in matrix.
a <- as.matrix(c(1,-1,3))
b <- as.matrix(c(3,3,0))
# Projection is 0 means the vectors are orthogonal to each other
projection(a, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.