Skip to content

'point_size' doesn't inherit from data. #38

Description

@sjoshi2294

I wrote the below code which gave the error.

Error in ggplot2::geom_point():
! Problem while converting geom to grob.
ℹ Error occurred in the 2nd layer.
Caused by error in pointsize * .pt:
! non-numeric argument to binary operator
Run rlang::last_trace() to see where the error occurred.

p <- ggforestplot(
  sectioned_coefs,
  #facet = "section",
  striped_rows = FALSE,
  stripe_fill = "white",
  facet_strip_position = "right",
  ref_line = 0,
  point_size = 'N'
) +
  add_split_table(
    left_columns = "section",
    right_columns = c("term", "estimate"),
    column_labels = c(
      "term" = "Survey Scale",
      "estimate" = "Hedges' g (95% CI)"
    ),
    left_width = 0.05,
    right_width = 2.5
  ) +
  
  labs(
    x = "Hedges' g (95% CI)",
    y = NULL
  )+
  theme(panel.grid = element_blank())

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions