@@ -166,7 +166,7 @@ tape( 'the function throws an error if the arguments have unequal lengths', func
166166
167167 valuesY = [
168168 [ 'treatment A' , 'treatment C' , 'treatment A' , 'treatment C' ] ,
169- [ 'control' , 'treatment C' , 'tratment B' ] ,
169+ [ 'control' , 'treatment C' , 'treatment B' ] ,
170170 [ 'john' , 'delta beta' ]
171171 ] ;
172172
@@ -188,7 +188,7 @@ tape( 'the function produces expected values on simple inputs', function test( t
188188 var f ;
189189
190190 x = [ 3 , 4 , 5 , 6 , 2 , 5 , 10 , 12 , 8 , 10 ] ;
191- f = [ 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' ] ;
191+ f = [ 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' ] ;
192192 out = anova1 ( x , f ) ;
193193
194194 // Tested against R
@@ -279,7 +279,7 @@ tape( 'the function returns an object with a `.print()` method that accepts an `
279279 var x ;
280280
281281 x = [ 3 , 4 , 5 , 6 , 2 , 5 , 10 , 12 , 8 , 10 ] ;
282- f = [ 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' ] ;
282+ f = [ 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' ] ;
283283 out = anova1 ( x , f ) ;
284284 table = out . print ( { } ) ;
285285
@@ -295,7 +295,7 @@ tape( 'the function returns an object with a `.print()` method that throws an er
295295 var f ;
296296
297297 x = [ 3 , 4 , 5 , 6 , 2 , 5 , 10 , 12 , 8 , 10 ] ;
298- f = [ 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' ] ;
298+ f = [ 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' ] ;
299299 out = anova1 ( x , f ) ;
300300
301301 values = [
@@ -329,7 +329,7 @@ tape( 'the function returns an object with a `.print()` method that throws an er
329329 var x ;
330330
331331 x = [ 3 , 4 , 5 , 6 , 2 , 5 , 10 , 12 , 8 , 10 ] ;
332- f = [ 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' ] ;
332+ f = [ 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' ] ;
333333 out = anova1 ( x , f ) ;
334334
335335 values = [
@@ -368,7 +368,7 @@ tape( 'the function returns an object with a `.print()` method that throws an er
368368 var x ;
369369
370370 x = [ 3 , 4 , 5 , 6 , 2 , 5 , 10 , 12 , 8 , 10 ] ;
371- f = [ 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' , 'control' , 'tratment B' , 'treatment A' ] ;
371+ f = [ 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' , 'control' , 'treatment B' , 'treatment A' ] ;
372372 out = anova1 ( x , f ) ;
373373
374374 values = [
0 commit comments