Skip to content

Commit

Permalink
make it dot instead
Browse files Browse the repository at this point in the history
  • Loading branch information
emitanaka committed Nov 23, 2023
1 parent 1fd3863 commit f2dd0e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ plot.edbl_design <- function(x, which = c("factors", "levels"),
"factors" = gsub("edbl_", "", nodes$role),
"levels" = nodes$fct_var)
nodes$label <- nodes$name
class2shape <- c("edbl_unit" = "circle",
"edbl_trt" = ifelse(which=="factors", "diamond", "circle"),
class2shape <- c("edbl_unit" = "dot",
"edbl_trt" = ifelse(which=="factors", "diamond", "dot"),
"edbl_rcrd" = "database")
nodes$shape <- class2shape[nodes$role]

Expand Down

0 comments on commit f2dd0e3

Please sign in to comment.