Learn R Programming

ISDA.R (version 1.0)

tableMulti: Point to interval conversion

Description

Converts an pontual data set to an intervaled data set by grouping variables

Usage

tableMulti(variableVector, groupedVar, Data)

Arguments

variableVector
An String vector containing the headers of columns which contains the variables used to group
groupedVar
An String vector containing the headers of columns which contains the grouped variables
Data
An table

Value

An matrice containing the values used to group and the grouped values

See Also

table

Examples

Run this code
cars_data = datasets::mtcars
tableMulti(c("cyl"), c("mpg"),cars_data)


Run the code above in your browser using DataLab