per_facility_summary: Function that extracts summary statistics from entire...

Description Usage Arguments Value

View source: R/DataSummary.R

Description

Function that extracts summary statistics from entire database

Usage

1

Arguments

base

(data.table). A subject discharge database, in the form of a data.table. The data.table should have at least the following columns: sID: subjectID (character) fID: facilityID (character) Adate: admission date (date) Ddate: discharge date (date)

verbose

(boolean) print diagnostic messages. Default is TRUE.

...

other parameters passed on to internal functions

Value

a data table with one row per facility, showing mean LOS, number of subjects, and number of admissions


PascalCrepey/HospitalNetwork documentation built on Sept. 16, 2020, 9:56 p.m.