make.ggplot.df: Transform a matrix into a ggplottable data.frame

Description Usage Arguments Value

View source: R/rtools.R

Description

Converts a numeric matrix into a ggplot compatible data.frame.

Usage

1
make.ggplot.df(dmat, dataset = NULL, variable2numeric = T)

Arguments

dmat

[n,m] numeric, input data matrix

dataset

character, data set id string

variable2numeric

logical, Should $variable be converted to numeric?

Value

A data.frame representation of dmat


jutako/Rtools documentation built on May 29, 2019, 4:52 p.m.