generateDB: Follow a variable definition, composed of 1 and 0 and create...

View source: R/generateDB.r

generateDBR Documentation

Follow a variable definition, composed of 1 and 0 and create both a database complete set and a means dataframe. Like scoreItems, but less cumbersome

Description

Follow a variable definition, composed of 1 and 0 and create both a database complete set and a means dataframe. Like scoreItems, but less cumbersome

Usage

generateDB(db, def, v = "var", ignore = c(), na.rm = TRUE)

Arguments

db

the database

def

the definition matrix. Should have 'v' parameter on in

v

name of the column names

ignore

names of columns to ignore. By default, 'n'


clbustos/rcebn documentation built on Feb. 2, 2024, 5:55 a.m.