return0_if_not_null_na: Function to return 0 if the param is not null or NA trimming...

Description Usage Arguments Value Examples

View source: R/help_cost_analysis_functions.R

Description

Function to return 0 if the param is not null or NA trimming the white spaces

Usage

1

Arguments

param

the form of medication either tablet or patch

Value

zero or -1

Examples

1
2
3
4
parame = NULL
ans <- return0_if_not_null_na(parame)
parame = 1
ans <- return0_if_not_null_na(parame)

packDAMipd documentation built on March 3, 2021, 5:07 p.m.