Description Usage Arguments Value Examples
Function to return the unique contents of the column given the column name
1 | get_contents_cols(data, colname)
|
data |
a data frame |
colname |
name of column corresponding to year of birth |
the contents of the column, if success error if failure
1 2 3 4 | get_contents_cols(data.frame(
"yob" = c(1951, 1980),
"Name" = c("John", "Dora")
), "yob")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.