Displaying 2 results from an estimated 2 matches for "occson".
Did you mean:
occasion
2005 Apr 15
2
abbreviate or wrap dimname labels
...)
>
> data(FHtab)
> FHtab<-as.data.frame(FHtab)
>
> xtable <- xtabs(Freq ~ .,FHtab)
> lab <- dimnames(xtable)
> lab
$OccFather
[1] "Upper nonmanual" "Lower nonmanual" "Upper manual" "Lower manual"
[5] "Farm"
$OccSon
[1] "Upper nonmanual" "Lower nonmanual" "Upper manual" "Lower manual"
[5] "Farm"
abbreviate works here, but gives results that aren't very readable:
> lapply(lab, abbreviate, 8)
$OccFather
Upper nonmanual Lower nonmanual Upper manual...
2003 Feb 12
1
models for square tables
I've posted a sample file for estimating loglinear models for square
tables (mobility models) at http://www.xs4all.nl/~jhckx/mcl/R/
Comments and suggestions are welcome.
John Hendrickx