How to make a boxplot in R

Hi
I'm brand new to R and just trying to 'fumble' my way through it!
I'm trying to create two boxplots of two columns of data.
Col 1 Country, Col 2 2018, Col 3 2019.
16 countries listed and 16 entries for both 2018 and 2019. (e.g. Range 2018 72-2087)
I'm just using boxplot(2018,2019) is that correct?
Why are they flat lines with decimal fractions of years on Y axis?
How do I turn these around?
Any help much appreciated

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.