-z option in r.stats

I like the option as it stands right now. But why don't you create a new one
that does just what you describe (at least one layer is zero).
*******************************************************************************
Dominique Bachelet * If you plan for one year, plant rice;
US EPA Env. Res. Lab. * if you plan for 10 years, plant trees;
200 SW 35th Street * if you plan for 100 years, educate the
Corvallis OR 97333 * people.
Tel: 503-754-4314 *
Fax: 503-754-4338 * Chinese proverb
Email: dominiq@heart.cor.epa.gov *
*******************************************************************************