Learn R Programming

JumpeR (version 0.3.0)

attempts_split_cols: Creates new columns for splitting attempts strings

Description

Given a data frame with columns "Round_1_Attempts" it will produce three columns, for each of the attempts in round 1 (Round_1_Attempt_1, Round_1_Attempt_2 etc.)

Usage

attempts_split_cols(i, data, new_cols, old_cols)

Arguments

i

iterative value

data

output from tf_parse

new_cols

a list of new column names to make

old_cols

a list of old columns to split

Value

returns a data frame with Round_X_Attempts columns split into individual attempts inside tf_parse

See Also

attempts_split_cols is a helper function inside attempts_split