expandrows: Expand rows of google forms

Description Usage Arguments Value Further details Examples

Description

Expand rows of google forms

Usage

1

Arguments

df

A dataframe with three columns "Actor" "Recipient"

Value

The dataframe with expanded rows, as well as a row-identifier and score variable.

Further details

Expand rows that have a variable where 2 or more factors are split by commas into separate rows with all other variables duplicated. Make sure columns/variables are named "Actor", "Recipient" The score variable will be '1' for Actors that are clear winners and a '0.5' for ties between Actors and Recipients.

Examples

1

jalapic/curleylab documentation built on May 18, 2019, 11:18 a.m.