pct2p: 2-Point Field Goal Percentage (2P%) - calc2Ppct()

Description Usage Arguments Value

View source: R/functions.R

Description

Calculate 2-point-percentage (2P%) using the number of sucessfull 2-pointer and total 2-point attempts (2P/2PA)*100

Usage

1
pct2p(p2, p2a, pct = TRUE)

Arguments

p2

total number of succesfull 2-pointers

p2a

number of 2-point attempts

pct

TRUE for percentage of 100, FALSE for fraction of 1

Value

2P% ( between 0 and 1 )


danorama/hattrupbasket documentation built on Jan. 30, 2018, 7:43 p.m.