I wrote the below code which gave the error.
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())
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.