This function computes real plus minus and threshold by minutes player if requested
1 2 |
design_matrix |
0, -1, 1 matrix with info about shots and goals |
threshold |
for minutes, by default 0 |
minutes |
dataframe with minutes info by player |
response |
character to chose as response, either goal, or shots |
type |
can be offensive, defensive or both which takes the differnce in the response |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.