ch.moralsEquateItemStringsForNumberQuantDataset: A function to equate the probe 1 and probe 2 strings when...

ch.moralsEquateItemStringsForNumberQuantDatasetR Documentation

A function to equate the probe 1 and probe 2 strings when quantity varies.

Description

This function equates the probe 1 and probe 2 strings when quantity varies.

Usage

ch.moralsEquateItemStringsForNumberQuantDataset(data, probe1Col, probe2Col)

Arguments

data

morals dataframe.

probe1Col

a string the specifies the column name in "data" that contains the first probe item.

probe2Col

a string the specifies the column name in "data" that contains the second probe item.

Value

the dataframe (data) with the four new columns: "p1Quant" and "p1Quant" (the quantities of probe 1 and 2 respectively) & "p1" and "p2" (the singular, equalized names of probe 1 and 2 respoectively).

Examples

ch.moralsEquateItemStringsForNumberQuantDataset (analysisReadyData.gp, "probe1", "probe2")

ccpluncw/ccpl_R_chMorals documentation built on Feb. 4, 2024, 3:30 p.m.