cpp_valueOccurrencesToPoints: Convert Value Occurences to Points

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

This function converts a data.frame of feature characteristic occurences to plottable points. For that the characteristic value is used as the x-value. To visualize multiple occurences, each of them is assigned a slightly higher y-position, so that multiple occurences of one characteristic will later on stack in the plotted graph.

Usage

1

Arguments

x

data.frame with the results of the table command on a given vector. x should contain the counts per characteristic of a specific feature.

Value

List including plottable point positions representing the counts of feature characteristics.

Examples

1
2
3
  val <- rep(1:5, c(10, 20, 30, 40, 50))
  df <- as.data.frame(table(val))
  KaggleHouse:::cpp_valueOccurrencesToPoints(df)

MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.