r/RStudio • • 23h ago

Coding help Help with gglikert_side

Post image
17 Upvotes

Attempting to make a likert graph using the likert package. Have successfully got a graph with the correct data but the side graph is squished to the side. I followed instructions online and no one seems to have this issue and i cant find any variables that would affect this.

If anyone has any suggestion I would greatly appreciate the help.

My code is:

> gglikert_side(Travel,
+               reverse_likert = TRUE,
+               labels_accuracy = .9,
+               add_totals = FALSE,
+               y_label_wrap = 20,
+               side_values = "No Answer",
+               symmetric = TRUE,
+               width = 1)+
+     ggtitle("...Was an important reason for travel")> gglikert_side(Travel,
+               reverse_likert = TRUE,
+               labels_accuracy = .9,
+               add_totals = FALSE,
+               y_label_wrap = 20,
+               side_values = "No Answer",
+               symmetric = TRUE,
+               width = 1)+
+     ggtitle("...Was an important reason for travel")