Description Usage Arguments Details Value Examples
Given a row (identified by row names or a character column called "rowname"), select the cell that intersects with a given column.
1 |
df |
a dataframe |
rowname |
the name (or id) of a row |
col |
the name of a column |
percent |
return value multiplied by 100 |
This function requires a data frame either have row names, a column called "rowname", or that a row be referred to by its ID if neither of the previous conditions are true.
percent
is useful for returning numeric values reported as rates that you would like reported as percentages.
a single cell from a data frame that is of the class of the value's containing column
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.