Learn R Programming

darts (version 1.0)

simpleExpScores: Expected Scores for the Simple Model

Description

Computes the expected score as the aiming location varies across the board, using the specified variance and the simple model for dart throws.

Usage

simpleExpScores(s)

Arguments

s
The marginal variance.

Value

e
The matrix of expected scores.

Examples

Run this code
# Generate the matrix of expected scores if my variance is 25^2,
# in the simple model. This will take a couple of seconds.
e = simpleExpScores(s=25^2)

# Draw a heatmap!
drawHeatmap(e)

Run the code above in your browser using DataLab