Number of bar groups (N) and bars per group (n) produced by barplot(), depending on given data and parameter "beside"

hsBpNumBars(myData, myBeside)

Arguments

myData

as passed in height to barplot

myBeside

as passed in beside to barplot

Value

Returns tupel containing N = number of bar groups and n = number of bars per group