matching_df | R Documentation |
matching_df()
implements matching between two groups of
individuals with preferences specified by either a pair of data frames or
a pair of data files (csv, tsv, or table).
matching_df(
df1,
df2,
df_type = NULL,
header = NULL,
sep = NULL,
algorithm = "DA",
switch = FALSE,
verbose = TRUE,
mt1 = FALSE
)
df1 |
A data frame or a data file containing preferences of the proposers. |
df2 |
A data frame or a data file containing preferences of the proposed. |
df_type |
Type of |
header |
A logical value showing if the data file has the header
(variable names) row. If not specified, default is |
sep |
The field separator character. Values on each line of the
file are separated by this character. If not specified,
default is |
algorithm |
A algorithm for matching. |
switch |
A logical value. If |
verbose |
If |
mt1 |
A logical valu. |
A list of "matching" class containing (1) a data frame of the matching results, (2) a character string showing which algorithm was used, (3) a character string of the matching results, (4) a character string of the history of matching steps, and (5) a list of preferences of each group.
Yoshio Kamijo and Yuki Yanai yanai.yuki@kochi-tech.ac.jp
## Not run:
test7 <- matching_df(
df1 = "foo1.csv",
df2 = "foo2.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.