new_injd {injurytools}R Documentation

constructor of injd class

Description

constructor of injd class

Usage

new_injd(
  x = data.frame(),
  unit_exposure = "match_minutes",
  follow_up = data.frame(),
  data_exposures = data.frame(),
  data_injuries = data.frame()
)

Arguments

x

a data frame object to construct it to injd class object

unit_exposure

first attribute

follow_up

second attribute

data_exposures

third attribute

data_injuries

fourth attribute

Value

a new injd object


[Package injurytools version 1.0.3 Index]