briandk / granovaGG

Bob Pruzek and Jim Helmreich's implementation of Elemental Graphics for Analysis of Variance
Other
15 stars 4 forks source link

dependentSampleTtestStatistics may be too verbose #6

Closed WilDoane closed 13 years ago

WilDoane commented 13 years ago

this is the ds function, so everything has to do with dependent samples. This may be a case where using the domain language (ttest) is better than being explicit. Consider

 dependentSampleTtestStatistics <- computeDependentSampleTtest(dd, conf.level)
 meanTreatmentEffect  <- dependentSampleTtestStatistics$estimate

versus

 ttest <- computeTtest(dd, conf.level)
 meanTreatmentEffect  <- ttest$estimate
WilDoane commented 13 years ago

renamed to getTtest(...)