Skip to content
Permalink
Browse files

omit only NAs in term column

  • Loading branch information
bbolker committed Sep 23, 2018
1 parent fe593e6 commit e014e8dba95181dfcf5a68964cd7fdeb844e97cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/dwplot.R
@@ -129,7 +129,7 @@ dwplot <- function(x,
# Specify order of variables if an order is provided
if (!is.null(order_vars)) {
df$term <- factor(df$term, levels = order_vars)
df <- df[order(df$term), ] %>% stats::na.omit()
df <- df[order(df$term), ] %>% filter(!is.na(term))
}

# Add rows of NAs for variables not included in a particular model

0 comments on commit e014e8d

Please sign in to comment.
You can’t perform that action at this time.