Skip to content

Commit c5faeb0

Browse files
committed
Add missing spaces
1 parent 52f7462 commit c5faeb0

File tree

11 files changed

+46
-46
lines changed

11 files changed

+46
-46
lines changed

lib/node_modules/@stdlib/random/sample/docs/repl.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,23 @@
4646
e.g., [ 3, 'abc', null, 3, null ]
4747

4848
// Set sample size:
49-
> out = {{alias}}( [ 3, 6, 9 ], { 'size': 10 })
49+
> out = {{alias}}( [ 3, 6, 9 ], { 'size': 10 } )
5050
e.g., [ 6, 3, 9, 9, 9, 6, 9, 6, 9, 3 ]
51-
> out = {{alias}}( [ 0, 1 ], { 'size': 20 })
51+
> out = {{alias}}( [ 0, 1 ], { 'size': 20 } )
5252
e.g., [ 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0 ]
5353

5454
// Draw without replacement:
55-
> out = {{alias}}( [ 1, 2, 3, 4, 5, 6 ], { 'replace': false, 'size': 3 })
55+
> out = {{alias}}( [ 1, 2, 3, 4, 5, 6 ], { 'replace': false, 'size': 3 } )
5656
e.g., [ 6, 1, 5 ]
57-
> out = {{alias}}( [ 0, 1 ], { 'replace': false })
57+
> out = {{alias}}( [ 0, 1 ], { 'replace': false } )
5858
e.g., [ 0, 1 ]
5959

6060
// Assigning non-uniform element probabilities:
6161
> var x = [ 1, 2, 3, 4, 5, 6 ];
6262
> var probs = [ 0.1, 0.1, 0.1, 0.1, 0.1, 0.5 ];
63-
> out = {{alias}}( x, { 'probs': probs })
63+
> out = {{alias}}( x, { 'probs': probs } )
6464
e.g., [ 5, 6, 6, 5, 6, 4 ]
65-
> out = {{alias}}( x, { 'probs': probs, 'size': 3, 'replace': false })
65+
> out = {{alias}}( x, { 'probs': probs, 'size': 3, 'replace': false } )
6666
e.g., [ 6, 4, 1 ]
6767

6868

@@ -106,13 +106,13 @@
106106
Examples
107107
--------
108108
// Set a seed:
109-
> var mysample = {{alias}}.factory({ 'seed': 232 });
109+
> var mysample = {{alias}}.factory({ 'seed': 232 } );
110110
> var out = mysample( 'abcdefg' )
111111
e.g., [ 'g', 'd', 'g', 'f', 'c', 'e', 'f' ]
112112

113113
// Provide `pool` and set a seed plus a default sample size:
114114
> var pool = [ 1, 2, 3, 4, 5, 6 ];
115-
> mysample = {{alias}}.factory( pool, { 'seed': 232, 'size': 2 });
115+
> mysample = {{alias}}.factory( pool, { 'seed': 232, 'size': 2 } );
116116
> out = mysample()
117117
e.g., [ 6, 4 ]
118118
> out = mysample()
@@ -130,14 +130,14 @@
130130
null
131131

132132
// Override default `size` parameter when invoking created function:
133-
> mysample = {{alias}}.factory( [ 0, 1 ], { 'size': 2 });
133+
> mysample = {{alias}}.factory( [ 0, 1 ], { 'size': 2 } );
134134
> out = mysample()
135135
e.g., [ 1, 1 ]
136136
> out = mysample({ 'size': 10 })
137137
e.g, [ 0, 1, 1, 1, 0, 1, 0, 0, 1, 1 ]
138138

139139
// Sample with and without replacement:
140-
> mysample = {{alias}}.factory( [ 0, 1 ], { 'size': 2 });
140+
> mysample = {{alias}}.factory( [ 0, 1 ], { 'size': 2 } );
141141
> out = mysample()
142142
e.g., [ 1, 1 ]
143143
> out = mysample({ 'replace': false })

lib/node_modules/@stdlib/random/shuffle/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
> var data = [ 1, 2, 3 ];
2525
> var out = {{alias}}( data )
2626
e.g., [ 3, 1, 2 ]
27-
> out = {{alias}}( data, { 'copy': 'none' });
27+
> out = {{alias}}( data, { 'copy': 'none' } );
2828
> var bool = ( data === out )
2929
true
3030

@@ -69,7 +69,7 @@
6969
true
7070
// Default option can be overridden:
7171
> arr = [ 1, 2, 3, 4 ];
72-
> out = myshuffle( arr, { 'copy': 'shallow' });
72+
> out = myshuffle( arr, { 'copy': 'shallow' } );
7373
> bool = ( arr === out )
7474
false
7575

lib/node_modules/@stdlib/stats/bartlett-test/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
... 'b', 'b', 'b', 'b',
6262
... 'c', 'c', 'c', 'c', 'c'
6363
... ];
64-
> out = {{alias}}( arr, { 'groups': groups })
64+
> out = {{alias}}( arr, { 'groups': groups } )
6565

6666
See Also
6767
--------

lib/node_modules/@stdlib/stats/fligner-test/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
... 'b', 'b', 'b', 'b',
6262
... 'c', 'c', 'c', 'c', 'c'
6363
... ];
64-
> out = {{alias}}( arr, { 'groups': groups })
64+
> out = {{alias}}( arr, { 'groups': groups } )
6565

6666
See Also
6767
--------

lib/node_modules/@stdlib/stats/kruskal-test/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
... 'b', 'b', 'b', 'b',
6262
... 'c', 'c', 'c', 'c', 'c'
6363
... ];
64-
> out = {{alias}}( arr, { 'groups': groups })
64+
> out = {{alias}}( arr, { 'groups': groups } )
6565

6666
See Also
6767
--------

lib/node_modules/@stdlib/stats/kstest/docs/repl.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
Examples
7777
--------
7878
// Verify that data is drawn from a normal distribution:
79-
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory({ 'seed': 4839 });
79+
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory({ 'seed': 4839 } );
8080
> var x = new Array( 100 );
8181
> for ( var i = 0; i < 100; i++ ) { x[ i ] = rnorm( 3.0, 1.0 ); }
8282

@@ -89,7 +89,7 @@
8989
{ pValue: 0.6282, statistic: 0.0733, ... }
9090

9191
// Verify that data is drawn from a uniform distribution:
92-
> runif = {{alias:@stdlib/random/base/uniform}}.factory( 0.0, 1.0, { 'seed': 8798 })
92+
> runif = {{alias:@stdlib/random/base/uniform}}.factory( 0.0, 1.0, { 'seed': 8798 } )
9393
> x = new Array( 100 );
9494
> for ( i = 0; i < x.length; i++ ) { x[ i ] = runif(); }
9595
> out = {{alias}}( x, 'uniform', 0.0, 1.0 )
@@ -108,21 +108,21 @@
108108
significance level
109109

110110
// Set custom significance level:
111-
> out = {{alias}}( x, 'uniform', 0.0, 1.0, { 'alpha': 0.1 })
111+
> out = {{alias}}( x, 'uniform', 0.0, 1.0, { 'alpha': 0.1 } )
112112
{ pValue: ~0.7039, statistic: ~0.069, ... }
113113

114114
// Carry out one-sided hypothesis tests:
115-
> runif = {{alias:@stdlib/random/base/uniform}}.factory( 0.0, 1.0, { 'seed': 8798 });
115+
> runif = {{alias:@stdlib/random/base/uniform}}.factory( 0.0, 1.0, { 'seed': 8798 } );
116116
> x = new Array( 100 );
117117
> for ( i = 0; i < x.length; i++ ) { x[ i ] = runif(); }
118-
> out = {{alias}}( x, 'uniform', 0.0, 1.0, { 'alternative': 'less' })
118+
> out = {{alias}}( x, 'uniform', 0.0, 1.0, { 'alternative': 'less' } )
119119
{ pValue: ~0.358, statistic: ~0.07, ... }
120-
> out = {{alias}}( x, 'uniform', 0.0, 1.0, { 'alternative': 'greater' })
120+
> out = {{alias}}( x, 'uniform', 0.0, 1.0, { 'alternative': 'greater' } )
121121
{ pValue: ~0.907, statistic: ~0.02, ... }
122122

123123
// Set `sorted` option to true when data is in increasing order:
124124
> x = [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 ];
125-
> out = {{alias}}( x, 'uniform', 0.0, 1.0, { 'sorted': true })
125+
> out = {{alias}}( x, 'uniform', 0.0, 1.0, { 'sorted': true } )
126126
{ pValue: ~1, statistic: 0.1, ... }
127127

128128
See Also

lib/node_modules/@stdlib/stats/ttest/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
Examples
8383
--------
8484
// One-sample t-test:
85-
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory( 0.0, 2.0, { 'seed': 5776 });
85+
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory( 0.0, 2.0, { 'seed': 5776 } );
8686
> var x = new Array( 100 );
8787
> for ( var i = 0; i < x.length; i++ ) {
8888
... x[ i ] = rnorm();
@@ -97,7 +97,7 @@
9797
}
9898

9999
// Paired t-test:
100-
> rnorm = {{alias:@stdlib/random/base/normal}}.factory( 1.0, 2.0, { 'seed': 786 });
100+
> rnorm = {{alias:@stdlib/random/base/normal}}.factory( 1.0, 2.0, { 'seed': 786 } );
101101
> x = new Array( 100 );
102102
> var y = new Array( 100 );
103103
> for ( i = 0; i < x.length; i++ ) {
@@ -129,7 +129,7 @@
129129

130130
// Choose custom significance level:
131131
> arr = [ 2, 4, 3, 1, 0 ];
132-
> out = {{alias}}( arr, { 'alpha': 0.01 });
132+
> out = {{alias}}( arr, { 'alpha': 0.01 } );
133133
> table = out.print()
134134
One-sample t-test
135135

@@ -145,7 +145,7 @@
145145

146146
// Test for a mean equal to five:
147147
> var arr = [ 4, 4, 6, 6, 5 ];
148-
> out = {{alias}}( arr, { 'mu': 5 })
148+
> out = {{alias}}( arr, { 'mu': 5 } )
149149
{
150150
rejected: false,
151151
pValue: 1,
@@ -156,7 +156,7 @@
156156

157157
// Perform one-sided tests:
158158
> arr = [ 4, 4, 6, 6, 5 ];
159-
> out = {{alias}}( arr, { 'alternative': 'less' });
159+
> out = {{alias}}( arr, { 'alternative': 'less' } );
160160
> table = out.print()
161161
One-sample t-test
162162

@@ -170,7 +170,7 @@
170170
Test Decision: Fail to reject null in favor of alternative at 5%
171171
significance level
172172

173-
> out = {{alias}}( arr, { 'alternative': 'greater' });
173+
> out = {{alias}}( arr, { 'alternative': 'greater' } );
174174
> table = out.print()
175175
One-sample t-test
176176

lib/node_modules/@stdlib/stats/ttest2/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
significance level
113113

114114
// Choose a different significance level than `0.05`:
115-
> out = {{alias}}( x, y, { 'alpha': 0.1 });
115+
> out = {{alias}}( x, y, { 'alpha': 0.1 } );
116116
> table = out.print()
117117
Welch two-sample t-test
118118

@@ -125,7 +125,7 @@
125125
Test Decision: Reject null in favor of alternative at 10% significance level
126126

127127
// Perform one-sided tests:
128-
> out = {{alias}}( x, y, { 'alternative': 'less' });
128+
> out = {{alias}}( x, y, { 'alternative': 'less' } );
129129
> table = out.print()
130130
Welch two-sample t-test
131131

@@ -138,7 +138,7 @@
138138

139139
Test Decision: Reject null in favor of alternative at 5% significance level
140140

141-
> out = {{alias}}( x, y, { 'alternative': 'greater' });
141+
> out = {{alias}}( x, y, { 'alternative': 'greater' } );
142142
> table = out.print()
143143
Welch two-sample t-test
144144

@@ -155,7 +155,7 @@
155155
// Run tests with equal variances assumption:
156156
> x = [ 2, 3, 1, 4 ];
157157
> y = [ 1, 2, 3, 1, 2, 5, 3, 4 ];
158-
> out = {{alias}}( x, y, { 'variance': 'equal' });
158+
> out = {{alias}}( x, y, { 'variance': 'equal' } );
159159
> table = out.print()
160160
Two-sample t-test
161161

@@ -170,7 +170,7 @@
170170
significance level
171171

172172
// Test for a difference in means besides zero:
173-
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory({ 'seed': 372 });
173+
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory({ 'seed': 372 } );
174174
> x = new Array( 100 );
175175
> for ( i = 0; i < x.length; i++ ) {
176176
... x[ i ] = rnorm( 2.0, 3.0 );
@@ -179,7 +179,7 @@
179179
> for ( i = 0; i < x.length; i++ ) {
180180
... y[ i ] = rnorm( 1.0, 3.0 );
181181
... }
182-
> out = {{alias}}( x, y, { 'difference': 1.0, 'variance': 'equal' })
182+
> out = {{alias}}( x, y, { 'difference': 1.0, 'variance': 'equal' } )
183183
{
184184
rejected: false,
185185
pValue: ~0.642,

lib/node_modules/@stdlib/stats/ztest/docs/repl.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
Examples
7373
--------
7474
// One-sample z-test:
75-
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory( 0.0, 2.0, { 'seed': 212 });
75+
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory( 0.0, 2.0, { 'seed': 212 } );
7676
> var x = new Array( 100 );
7777
> for ( var i = 0; i < x.length; i++ ) {
7878
... x[ i ] = rnorm();
@@ -89,7 +89,7 @@
8989

9090
// Choose custom significance level and print output:
9191
> arr = [ 2, 4, 3, 1, 0 ];
92-
> out = {{alias}}( arr, 2.0, { 'alpha': 0.01 });
92+
> out = {{alias}}( arr, 2.0, { 'alpha': 0.01 } );
9393
> table = out.print()
9494
One-sample z-test
9595

@@ -105,7 +105,7 @@
105105

106106
// Test for a mean equal to five:
107107
> var arr = [ 4, 4, 6, 6, 5 ];
108-
> out = {{alias}}( arr, 1.0, { 'mu': 5 })
108+
> out = {{alias}}( arr, 1.0, { 'mu': 5 } )
109109
{
110110
rejected: false,
111111
pValue: 1,
@@ -116,7 +116,7 @@
116116

117117
// Perform one-sided tests:
118118
> arr = [ 4, 4, 6, 6, 5 ];
119-
> out = {{alias}}( arr, 1.0, { 'alternative': 'less' })
119+
> out = {{alias}}( arr, 1.0, { 'alternative': 'less' } )
120120
{
121121
alpha: 0.05,
122122
rejected: false,
@@ -125,7 +125,7 @@
125125
ci: [ -Infinity, 5.735600904580115 ],
126126
// ...
127127
}
128-
> out = {{alias}}( arr, 1.0, { 'alternative': 'greater' })
128+
> out = {{alias}}( arr, 1.0, { 'alternative': 'greater' } )
129129
{
130130
alpha: 0.05,
131131
rejected: true,

lib/node_modules/@stdlib/stats/ztest2/docs/repl.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
significance level
115115

116116
// Choose a different significance level than `0.05`:
117-
> out = {{alias}}( x, y, 2.0, 2.0, { 'alpha': 0.4 });
117+
> out = {{alias}}( x, y, 2.0, 2.0, { 'alpha': 0.4 } );
118118
> table = out.print()
119119
Two-sample z-test
120120

@@ -127,7 +127,7 @@
127127
Test Decision: Reject null in favor of alternative at 40% significance level
128128

129129
// Perform one-sided tests:
130-
> out = {{alias}}( x, y, 2.0, 2.0, { 'alternative': 'less' });
130+
> out = {{alias}}( x, y, 2.0, 2.0, { 'alternative': 'less' } );
131131
> table = out.print()
132132
Two-sample z-test
133133

@@ -141,7 +141,7 @@
141141
significance level
142142

143143

144-
> out = {{alias}}( x, y, 2.0, 2.0, { 'alternative': 'greater' });
144+
> out = {{alias}}( x, y, 2.0, 2.0, { 'alternative': 'greater' } );
145145
> table = out.print()
146146
Two-sample z-test
147147

@@ -155,7 +155,7 @@
155155
significance level
156156

157157
// Test for a difference in means besides zero:
158-
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory({ 'seed': 372 });
158+
> var rnorm = {{alias:@stdlib/random/base/normal}}.factory({ 'seed': 372 } );
159159
> x = new Array( 100 );
160160
> for ( i = 0; i < x.length; i++ ) {
161161
... x[ i ] = rnorm( 2.0, 1.0 );
@@ -164,7 +164,7 @@
164164
... for ( i = 0; i < x.length; i++ ) {
165165
... y[ i ] = rnorm( 0.0, 2.0 );
166166
... }
167-
> out = {{alias}}( x, y, 1.0, 2.0, { 'difference': 2.0 })
167+
> out = {{alias}}( x, y, 1.0, 2.0, { 'difference': 2.0 } )
168168
{
169169
rejected: false,
170170
pValue: ~0.35,

0 commit comments

Comments
 (0)