Learn R Programming

ScrabbleScore (version 1.0)

sls: Scrabble Letter Score

Description

A simple function giving the standard letter value of each letter in Scrabble.

Usage

sls(l)

Arguments

l
A letter or vectors of letters to get the Scrabble letter score for.

Value

Returns a vector of values for the letter score of each letter passed in.

See Also

sws

Examples

Run this code
  sls("z")
  sls(c("z","z","z"))

Run the code above in your browser using DataLab