Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions inTextSummaryTable/R/subjectProfileSummaryPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ subjectProfileSummaryPlot <- function(data,
yAxisExpand = c(0.05, 0.05),
yLimExpand = NULL,
xAxisLabs = NULL,
sizePoint = GeomPoint$default_aes$size,
sizeLine = GeomLine$default_aes$size,
sizeLabel = GeomText$default_aes$size,
widthErrorBar = GeomErrorbar$default_aes$width,
Comment on lines -154 to -157
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are now mostly dynamic instead of static values, so you can't read them out directly anymore. The easiest thing is to just put fixed values here.

sizePoint = 1.5,
sizeLine = 0.5,
sizeLabel = 3.87,
widthErrorBar = 0.9,
tableText = NULL, tableTextFontface = 1,
tableHeight = 0.1,
tableYAxisLabs = !is.null(colorVar),
Expand Down Expand Up @@ -659,7 +659,7 @@ subjectProfileSummaryPlot <- function(data,
ggTable <- ggTable + fctScaleX

# remove legend and title x-axis for base plot (will be included in table plot)
plotMargin <- themeFct()$plot.margin
plotMargin <- calc_element("plot.margin", themeFct())
plotMargin[3] <- tablePlotMargin # set bottom margin
gg <- gg + theme(
legend.position = "none",
Expand Down