Sam Allardyce was critical of his West Ham side after they slumped to a 2-1 away defeat by Wigan at the DW Stadium.