We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
intersect()
1 parent 3c4d3d3 commit 869d2aeCopy full SHA for 869d2ae
R/format_p_adjust.R
@@ -191,7 +191,7 @@ format_p_adjust <- function(method) {
191
ci_level <- 0.95
192
}
193
# find degrees of freedom column, if available
194
- df_column <- colnames(params)[stats::na.omit(match(c("df", "df_error"), colnames(params)))][1]
+ df_column <- intersect(c("df", "df_error"), colnames(params))[1]
195
if (is.na(df_column)) {
196
return(params)
197
0 commit comments