Learn R Programming

darts (version 1.0)

generalExpScores: Expected Scores for the General Model

Description

Computes the expected score as the aiming location varies across the board, using the specified covariance matrix and the general model for dart throws.

Usage

generalExpScores(Sig)

Arguments

Sig
The covariance matrix.

Value

e
The matrix of expected scores.

Examples

Run this code
# Generate the matrix of expected scores if my covariance is
# Sig=c(15^2,30^2,0), in the general model. This will take a
# couple of seconds. 
e = generalExpScores(Sig=(c(15^2,30^2,0)))

# Draw a heatmap!
drawHeatmap(e)

Run the code above in your browser using DataLab