new_injd: constructor of injd class

View source: R/helpers.R

new_injdR 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


injurytools documentation built on Nov. 15, 2023, 1:06 a.m.