r to analyze t