[R] Question regarding mosaicplot
Jean Vidal
jean.vidal at freesurf.fr
Tue Nov 18 23:32:05 CET 2003
I tried this :
> mosaicplot(stoc ~ q9r + segca,data=tmp2,color=T) : works fine.
And now, this :
> mosaicplot(stoc ~ q9r + segca, data=tmp2, color=T, main="Big title")
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, :
invalid variable type
I'm probably stupid and missed something simple in the manual (and wouldn't
like to be flamed if insinuating that, may be... a bug ? Oh no !).
It can be done with :
> mosaicplot(table(tmp2$stoc,tmp2$q9r,tmp2$segca),color=T,main="Big
title") : works fine.
So, no real trouble for me...
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 8.0
year 2003
month 10
day 08
language R
More information about the R-help
mailing list