dataChart {rrecsys}R 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")


[Package rrecsys version 0.9.7.3.1 Index]