Description Usage Arguments Author(s) Examples
View source: R/make_concordance.R
This function creats a dataframe, which is for a concordance.
1 | make_concordance(a_df, v1, v2)
|
a_df |
A dataframe; |
v1 |
A varaible of a_df; |
v2 |
Another variable of a_df |
Lingyun (Larry) Zhang lyzhang10@gmail.com
1 2 3 4 5 6 | require(dplyr)
a_df <-
data.frame(x = sample(letters), stringAsFactor = FALSE) %>%
mutate(y = toupper(x),
z = rnorm(26))
concordance_df <- make_concordance(a_df, "x", "y")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.