Compute the TAS factors

tas_compute(
  data,
  reverse_cols = c(tas_04, tas_05, tas_10, tas_18),
  identify_cols = c(tas_01, tas_03, tas_06, tas_07, tas_09, tas_13, tas_14),
  describe_cols = c(tas_02, tas_04, tas_11, tas_12, tas_17),
  thinking_cols = c(tas_05, tas_08, tas_10, tas_15, tas_16, tas_18, tas_19, tas_20),
  prefix = "tas_",
  keep_all = TRUE
)

Arguments

data

Data containing TAS data

reverse_cols

Columns that need reversing

identify_cols

Columns for the "identify feeling" factor

describe_cols

Columns for the "describing feelings" factor

thinking_cols

Columns for the "externally oriented thinking" factor

prefix

string to prefix column names of computed values

keep_all

logical, append to data.frame