1

I would like to create a bar plot with a table right underneath that is, kind of, part of the x-axis: See the mock-up of the desired graph below and please ignore the geom_point and errorbars:

enter image description here

In the table I want to show additional variables related to the x-axis data. The dataframe looks something like this:

device_name <- c("device1", "device2", "device3")
performance <- c(0, 3.5, 6)
modification1 <- c("Yes", "No", "Yes")
modification2 <- c("No", "Yes", "Yes")
df <- data.frame(device_name, performance, modification1, modification2)

Is there a way to do this without manual formatting the table position and column width so it fits to the bar chart axis?

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.