dai.histogram.RdObtains a histogram for the variable.
dai.histogram( dataset, variable_name, number_of_bars = NULL, transformation = "none", mark = "bar", render = TRUE, progress = getOption("dai.progress", TRUE), ... )
| dataset | 
  | 
    
|---|---|
| variable_name | Name of the variable.  | 
    
| number_of_bars | Number of bars (optional).  | 
    
| transformation | No transformation by default, can also be "log" or "square_root".  | 
    
| mark | Default value is "bar" (use "area" to get a density polygon).  | 
    
| render | Whether to directly render the plot or not.  | 
    
| progress | Whether to display a progress bar.  | 
    
| ... | Additional parameters passed over to   | 
    
JSON of the plot in Vega format if render=FALSE.
vegawidget