Description Usage Arguments Value Examples
Given an object of class comorbidity
, and the characters used to
specify the sex, a figure containing 3 plots, one of the age distribution,
another one of the age distribution and the third one with the relation
between age and sex distribution.
1 2 3 |
input |
Object of |
maleCode |
Characters(s) used to determine the male condition of a patient.
Depending on the database it can be determined, for example, as |
femaleCode |
Characters(s) used to determine the female condition of a patient.
Depending on the database it can be determined, for example, as |
barColor |
Determines the bar color. By default |
femaleColor |
Determines the color for female values. By default |
maleColor |
Determines the color for male values. By default |
verbose |
By default |
warnings |
By default |
A multiple graph containing a barplot with age distribution, a boxplot representing age distribution by sex and a pie chart representing sex distribution.
1 2 3 4 5 | load(system.file("extdata", "comorbidity.RData", package="comoRbidity"))
summaryDB( input = comor_obj,
maleCode = "Male",
femaleCode = "Female"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.