File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -164,14 +164,18 @@ setMethod(f="model.apply",
164
164
rownames(output )= output $ Row.names
165
165
output = output [,- 1 ]
166
166
output $ p.value = p.adjust(output $ p.value ,method = param.value(M ,' mtc' ))
167
- output.value(M ,' statistic' )= output $ statistic.W
167
+ if (M $ paired ) {
168
+ output.value(M ,' statistic' )= output $ statistic.V
169
+ } else {
170
+ output.value(M ,' statistic' )= output $ statistic.W
171
+ }
168
172
output.value(M ,' p_value' )= output $ p.value
169
173
output.value(M ,' significant' )= output $ p.value < param.value(M ,' alpha' )
170
174
M $ conf_int = output [,3 : 4 ,drop = FALSE ]
171
175
colnames(M $ conf_int )= c(' lower' ,' upper' )
172
176
if (M $ paired ) {
173
177
M $ estimates = output [,5 ,drop = FALSE ]
174
- colnames(M $ estimates )= ' estimated_mean_difference '
178
+ colnames(M $ estimates )= ' estimate.(pseudo)median '
175
179
} else {
176
180
M $ estimates = output [,5 ,drop = FALSE ]
177
181
colnames(M $ estimates )= as.character(' estimate.difference in location' )
You can’t perform that action at this time.
0 commit comments