reshape_points_table: Reshapes a two-column dataframe of archery scores and Shooter...

Description Usage Arguments Value

Description

Long dataframes are inconvenient to print in a document or web page. This function converts a two- column dataframe to one with 4, 6, or more columns so it can be printed more compactly.

Usage

1
reshape_points_table(results, cols = 4)

Arguments

results

A dataframe with a specific (even) number of columns.

cols

The number of columns in the reshaped dataframe. It must be an even number (default = 4).

Value

A new dataframe containing the reshaped dataframe.


timwilson/soty documentation built on May 11, 2019, 3:08 p.m.