dataChart: Visualization of data characteristics.

View source: R/plot.R

dataChartR Documentation

Visualization of data characteristics.

Description

This method visualizes data characteristics on a two dimensional graph, where "x" axes shows either items ordered by descending popularity, or users based on the number of ratings they have submitted. Moreover the "y" axes shows the number of ratings.

Usage

dataChart(data, x = "items", y = "num_of_ratings")

Arguments

data

the dataset, class "_ds".

x

class "character", is the variable that will be shown on the "x" axis. Possible values are: "items", "users".

y

class "character", is the variable that will be shown on the "y" axis. Possible values are: "num_of_ratings", "%_of_ratings".

Value

Plot results.

See Also

See Also as _ds-class.

Examples

data(mlLatest100k)

a <- defineData(mlLatest100k)

dataChart(a, x = "items", y = "num_of_ratings")


ludovikcoba/rrecsys documentation built on May 17, 2022, 2:33 a.m.