add.str | R Documentation |
Combine all the items in a specific column of a data frame with any string of characters in the original data frame. Only data frames are supported. The converted column will be a string because it contains strings such as ALL.
add.str(data, key, add.string = "ALL")
data |
Specify the data frame to be converted. No other data frame is accepted. |
key |
Specify the name of the column where you want to convert the value to ALL, etc. and combine them. If the column name does not exist in the data frame, an error occurs. |
add.string |
Specifies an any single string or value. Convert the specified column to any string of characters or value. The default value is ALL. |
a data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.