LCHansson / iPlot

An example of an interactive plot app - DEPRECATED
4 stars 0 forks source link

Doesn't work with factor variables #33

Open reinholdsson opened 10 years ago

reinholdsson commented 10 years ago

The app never finish to load. No error is shown.

a <- as.factor(sample(1990:2010, 100000, replace = T))
b <- sample(1:100, 100000, replace = T)

dt <- data.table(AR = a, IRR = b)
iPlot(dt)

It works without AR.

reinholdsson commented 10 years ago

For some reason, it does work with two numerical variables:

a <- as.factor(sample(1990:2010, 100000, replace = T))
b <- sample(1:100, 100000, replace = T)

dt <- data.table(AR = a, IRR = b, IRR2 = b+1)
iPlot(dt)