Description Usage Arguments Details Value Author(s) Examples
This function extracts the first row for each patient from a longform dataset, assuming patient identifiers are located in the first column of the dataset.
1 |
ds |
Longform dataset with patient IDs in first column. |
C |
Indicates inclusion of IGNORE=C column; if true, removes first
column. Defaults to |
This function was created for quickly plotting and running statistics on
patient demographics. The function assumes the first column in ds
contains patient identifiers ordered sequentially (i.e. no all rows for a
single patient are grouped together). There is an optional logical variable
C
which is used to indicate the presence of an IGNORE column. This
variable defaults to FALSE
, but if this variable is TRUE
, then
this column will be removed.
The first row for each patient are returned as a data.frame with all
columns intact (except first comment column if C
is TRUE
).
Samuel Callisto calli055@umn.edu firstRow()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.