Learn R Programming

ggESDA (version 0.2.0)

RSDA2sym: RSDA object to symbolic object for ggplot

Description

It will be a good way to unify all symbolic data object in R that collects all useful symbolic analysis tools such like RSDA into the same class for management. In this way, user who wants to do some study in symbolic data will be more convenient for searching packages.Thus,RSDA2sym collecting RSDA object into ggESDA object will do for plot(ggplot) and RSDA's analysis.

Usage

RSDA2sym(data=NULL,rawData=NULL)

Value

Return an object of class "ggESDA", which have a interval data and others as follows.

  • intervalData - The Interval data after converting also known as a RSDA object.

  • rawData - Classical data that user input.

  • clusterResult - Cluster results .If the groupby method is a clustering method then it will exist.

  • statisticsDF - A list contains data frame including some typically statistics in each group.

#'

Arguments

data

an interval data, which may transfrom by RSDA::classic.to.sym .Note:data is a necessary parameter,and must have symbolic_tbl class.

rawData

rawData, which can be transformed to interval data, must be a data frame and match to data.

Examples

Run this code
r<-ggESDA::Cardiological
mySym<-RSDA2sym(r)
mySym$intervalData

Run the code above in your browser using DataLab