Format the data to the format expected by get_ps

format_data4get_ps(data)

Arguments

data

data to be formatted

Value

list with two named elements: data and labels