get_gaming_index: Get Z x Z Index

Description Usage Arguments Details

View source: R/generate_play_stats.R

Description

Get a gaming index, such as the H-index.

Usage

1
get_gaming_index(play_df, play_index)

Arguments

play_df

a data frame of valid plays

play_index

an index of any of the index values: "H", "HH", "K", or "KH", not case sensitive

Details

Input a play df and the index you desire. H-index: N where you have played N distinct games at least N times each. HH-index: N where you have played N distinct games for at least N hours each. K-index: N where you have played with N distinct people for at least N games each. KH-index: N where you have played with N distinct people for at least N hours each. Returns the value of the given index.


kenosborne/bgStats documentation built on Jan. 30, 2020, 12:25 a.m.