hsavgmana: hsavgmana

Description Usage Arguments Value Examples

View source: R/hsavgmana.R

Description

This function shows the average mana for either cards you searched or the deck you searched.
(You must first run either hscard or hsdeck function in hstone package to use this function)

Usage

1

Arguments

type

Enter either "Deck" or "Card". When you enter "Deck", it will give the average mana cost for the deck you searched by using hsdeck function in hstone package.
When you enter "Card", it will give the average mana cost for the cards you searched by using hscard function in hstone package.

Value

The average mana cost.

Examples

1
2
hsavgmana(type = "Deck")
hsavgmana(type = "Card")

nhk2120/hstone documentation built on Dec. 12, 2019, 12:47 a.m.