dummie_mcv: Combines mutate_mcv and split_mcv to clean datasets

Description Usage Arguments Value Author(s)

View source: R/dummie_mcv.R

Description

Combines mutate_mcv and split_mcv to clean datasets

Usage

1
dummie_mcv(names, var, n, dataf)

Arguments

names

a vector of strings with names in the order of correspondent numeric values

var

a variable from the database with multiple choice answers

n

string containing the number of possible answers for the selected var

dataf

a data frame with numeric values associated with the desired factor

Value

New data frame with the values distributed across subjects in the approriate factor level

Author(s)

R.C.S


rafaelsommer1/emocempr documentation built on Aug. 31, 2020, 4:38 p.m.