mtennekes / tabplot

R package for tableplot visualisation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nCols

opened this issue · comments

I can't get nCols to work:

library(ggplot2); data(diamonds); library(tabplot)
tableplot(diamonds, nCols = 5)

Warning messages:
1: In is.na(tab$sort_decreasing) :
  is.na() applied to non-(list or vector) of type 'NULL'
2: In is.na(tab$sort_decreasing) :
  is.na() applied to non-(list or vector) of type 'NULL'

z = tableplot(diamonds, nCols = 5, plot = F)
Warning messages:
1: In is.na(tab$sort_decreasing) :
  is.na() applied to non-(list or vector) of type 'NULL'
2: In is.na(tab$sort_decreasing) :
  is.na() applied to non-(list or vector) of type 'NULL'
z
named list()

No output is generated when the nCols argument is used
(tested this in both RStudio and the R terminal).

Thanks!