Learn R Programming

psc (version 1.2.0)

dataSumm: A function which provides basic summary information of a matrix x

Description

A function which provides basic summaries of data provided within a data frame of covariets. Summaries are in the form of frequencies of counts and associated percentages for categorical data and median (IQR) for continuous data. Intended for use with the pscCFM.R function to define the setting in which a model has been generated

Usage

dataSumm(x)

Arguments

x

a matrix of covariates

Details

Categorical/Character data are summarised by a table and Continuous data are summarised as median (IQR)