loop calculation B Ben Bolker Thu, Jul 3, 2008 5:14 AM something like: ## set PIJ to be negative while (any(PIJ<0)) { ## calculate PIJ }