Skip to content

Commit

Permalink
close #403
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Aug 23, 2018
1 parent 2ff57d6 commit 4b3fa56
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Following functions are now defunct:

* Due to changes in the _broom_ and _lmerTest_ packages, tidiers did no longer work for `lmerModLmerTest` objects.
* Fix issue with standardized coefficient (argument `show.std`) in `tab_model()`.
* Argument `dot.size` and `line.size` in `plot_model()` now also apply to marginal effects plots.

# sjPlot 2.5.0

Expand Down
4 changes: 4 additions & 0 deletions R/plot_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,8 @@ plot_model <- function(model,
axis.lim = axis.lim,
case = case,
show.legend = show.legend,
dot.size = dot.size,
line.size = line.size,
...
)

Expand All @@ -654,6 +656,8 @@ plot_model <- function(model,
axis.lim = axis.lim,
case = case,
show.legend = show.legend,
dot.size = dot.size,
line.size = line.size,
...
)

Expand Down
6 changes: 5 additions & 1 deletion R/plot_type_eff.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ plot_type_eff <- function(type,
axis.lim,
case,
show.legend,
dot.size,
line.size,
...) {

if (type == "pred") {
Expand Down Expand Up @@ -64,7 +66,9 @@ plot_type_eff <- function(type,
dot.alpha = dot.alpha,
alpha = alpha,
dodge = dodge,
log.y = log.y
log.y = log.y,
dot.size = dot.size,
line.size = line.size
)

# set axis and plot titles
Expand Down
6 changes: 5 additions & 1 deletion R/plot_type_int.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ plot_type_int <- function(model,
axis.lim,
case,
show.legend,
dot.size,
line.size,
...) {

# find right hand side of formula, to extract interaction terms
Expand Down Expand Up @@ -151,7 +153,9 @@ plot_type_int <- function(model,
dot.alpha = dot.alpha,
alpha = alpha,
dodge = dodge,
log.y = log.y
log.y = log.y,
dot.size = dot.size,
line.size = line.size
)

# set axis and plot titles
Expand Down

0 comments on commit 4b3fa56

Please sign in to comment.