R/qtplot.R - changed qtplot.character() to coerce x to factor