def main(data_dir): resp = brfss.Respondents() resp.ReadRecords(data_dir) w = [r.weight2 for r in resp.records if r.weight2 != 'NA'] logw = map(math.log, w) rankit.makeNormalPlot(logw)
import ch4_rankit as rankit import relay if __name__ == '__main__': results = relay.ReadResults() speeds = relay.GetSpeeds(results) rankit.makeNormalPlot(speeds)