rowMax | R Documentation |
Extracts the desired columns for analysis via regular expression, then takes the maximum value row-wise. Ultimately resulting in a new column containing the max values.
rowMax(df, cn, regex)
df |
The dataframe to be analyzed. |
cn |
The column name (character string) of the Max column that is created after execution of this function. |
regex |
A regular expression used in identifying the columns of interest. |
df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.