long_to_preference: Convert a long-form ranks into a preference matrix.

View source: R/long-to-preference.R

long_to_preferenceR Documentation

Convert a long-form ranks into a preference matrix.

Description

A long-format dataset (where each row is a specific rank) for the college and for the students are converted to a wide-format preference matrix.

Usage

long_to_preference(d_rank_college, d_rank_student)

Arguments

d_rank_college

How the colleges ranked the students. A 1 represents a college's top choice.

d_rank_student

How the students ranked the colleges. A 1 represents a student's top choice.

Author(s)

Will Beasley


OuhscBbmc/usnavy-billets documentation built on April 7, 2024, 12:32 a.m.