read_matching_data()
reads a file to be used in
matching_df() or matching_mt1().
read_matching_data(data, df_type = NULL, header = NULL, sep = NULL)
A data frame or a data file containing preferences of proposers or proposed.
Type of df1
and df2
, which should be one of
"data.frame"
, "csv"
, "tsv"
, or "table"
.
If not specified, matching_df()
tries to determine the type.
A logical value showing if the data file has the header
(variable names) row. If not specified, default is TRUE
for
"csv" and "tsv", and FALSE
for "table".
The field separator character. Values on each line of the
file are separated by this character. If not specified,
default is ","
for "csv", "\t"
for "tsv", and ""
(white space) for "table".
A data frame.