Skip to content

x-axis value in boxplot

2 messages · Kochikkaran Musammilu, David Winsemius

#
On Dec 24, 2013, at 9:02 PM, Kochikkaran Musammilu wrote:

            
`boxplot` has a names argument. If you are passing a dataframe with a 'grp' variable to boxplot.formula, then try:
     boxplot( ... , names = sub("^X", "" dfrm$grp), ...)

See ?regex and ?sub

If this does not address your specific problem, then you would need to be .... more specific.