Displaying 3 results from an estimated 3 matches for "asresid".
2009 Jan 29
1
Question On CrossTable function in gmodels package
Hi R-users,
I have the following problem with CrossTable function within ?gmodels? package: the output of the function (format ?spss? and asresid=T) can not be stored within another object.
For example:
>library(gmodels)
>data(infert, package = "datasets")
> CrossTable(infert$education, infert$induced)->aa # the function prints everything ok on the screen
> aa # works just fine
$t
y
x 0 1 2
0-...
2008 Mar 09
1
question for crosstable
...number of cases, but with the adjusted standardized residuals test.
So i want something like the CrossTable function from gmodels package, but taking into account that i have weights which sum to 24 and not 10, as the CrossTable prints from this:
CrossTable(z$a, z$d, format="SPSS", asresid=T)
Thank you and have a great day ahead!
---------------------------------
[[alternative HTML version deleted]]
2005 Jun 23
1
the dimname of a table
i have a data frame(dat) which has many variables.and i use the following script to get the crosstable.
>danx2<-c("x1.1","x1.2","x1.3","x1.4","x1.5","x2","x4","x5","x6","x7","x8.1","x8.2","x8.3","x8.4","x11",