cause: Helper Function Search Death Scenarios by the Cause

Description Usage Arguments Value Author(s)

View source: R/death.R

Description

This function is a helper function that helps the main function to search for death scenarios by a specific cause

Usage

1
cause(df, weapon)

Arguments

df

A data table that contains all the death scenarios

weapon

Specify the cause of death, select from gun, knive, bomb, poison, strangle, crush, beat, decapitate, overdose, slit and collide

Value

All death senarios caused by *weapon*

Author(s)

Chuze Zhang <https://github.com/QMSS-G5072-2019/Zhang_Chuze>


czhang2581/BrkbadWiki documentation built on Dec. 16, 2019, 12:39 a.m.