df_to_msg {matsindf} | R Documentation |
Create a message from a data frame
Description
This function is especially helpful for cases when a data frame of missing or unset values is at hand. Trim unneeded columns, then call this function to create a string with rows separated by semicolons and entries separated by commas.
Usage
df_to_msg(df)
Arguments
df |
The data frame to be converted to a message |
Value
A string with rows separated by semicolons and entries separated by commas.
Examples
data.frame(a = c(1, 2, 3), b = c("a", "b", "c")) |>
df_to_msg()
[Package matsindf version 0.4.8 Index]