Skip to contents

Removes the columns that are not prefixed with 'subject_' prefixed columns from a dataframe. Useful intermediate step for extracting subject UIDs from an solutions_matrix structure.

Usage

subs(df)

Arguments

df

Dataframe

Value

df_subs Dataframe with only 'subject_' prefixed columns