remove_non_complete: Remove non-complete cases

View source: R/remove_non_complete.R

remove_non_completeR Documentation

Remove non-complete cases

Description

Remove non-complete cases

Usage

remove_non_complete(
  data,
  variables = c("flg_cmp_po_severe", "flg_male", "age_at_admit", "e_race_wbho",
    "e_admit_type", "AHRQ_score", "e_ses_5grp", "facility_clm_yr", "had_assist_surg",
    "e_hosp_beds_4grp", "flg_hosp_ICU_hosp", "val_hosp_mcday2inptday_ratio",
    "val_hosp_rn2bed_ratio", "id_physician_npi", "facility_prvnumgrp")
)

Arguments

data

medicare data

variables

variables that need to be used to exclude missing values, for example years of experience. If need to add multiple variables, use syntax c("var1", "var2")

Details

included variables are the commoly used varaibles in the models. Variables included: "flg_cmp_po_severe", "flg_male", "age_at_admit", "e_race_wbho", "e_admit_type", "AHRQ_score", "e_ses_5grp","facility_clm_yr", "had_assist_surg", "e_hosp_beds_4grp","flg_hosp_ICU_hosp", "val_hosp_mcday2inptday_ratio", "val_hosp_rn2bed_ratio", "id_physician_npi","facility_prvnumgrp"


UMCSTaR/medicareAnalytics documentation built on July 13, 2022, 11:33 p.m.