hello,

using the package "descr" i created a crosstab e.g.:

Table <- crosstab(age,question,weight=pond)
"age": being a variable that consists of the surveyed data of the ages of
children: the values are "6 years", "7 years" and "8 years".
"question": is a variable that consists of the answers of these children to
a question: the values are "yes", "no".

This works as long as all values actually occur in the data.

But if one value doesn't occur, eg there is no child of the age of 8 years
this row (or column) is excluded.

Now i would like to INCLUDE the rows and colums of the values that are
missing, showing me that there are 0 children.

does anyone know a way to do this? i couldn't find an argument for this,
which would probably be the easiest way.

thank you very much in advance for your help!

marion

	[[alternative HTML version deleted]]

