get_col_as_trial_matrix.RdCreate an N-individual by T-trial matrix from a column in a SPLT data frame
get_col_as_trial_matrix(splt_df, col, id_col = "id", sample_col = "sample", trial_col = "trial_index")
| splt_df | a data frame containing data from the SPLT |
|---|---|
| col | the column to use for cell values in the returned matrix |
| id_col | the column if individual IDs |
| sample_col | the column denoting the sample for each row |
| trial_col | the column indexing trials, to ensure correct order |
an N-individual by T-trial matrix with values taken from the column
in splt_df named by col