[R] What is the easiest way to turn a dataframe into a barplot?
jdnewmil at dcn.davis.ca.us
Thu May 12 19:56:18 CEST 2016
You are missing a reproducible example. We don't care what is on your home or work computer... we just need to have clear communication, so make up some data that shows the problem and some code to go with it. You MIGHT have to show some data that does not have the problem in order to highlight the problem for us.
Sent from my phone. Please excuse my brevity.
On May 12, 2016 10:19:54 AM PDT, "yoursurrogategod at gmail.com" <yoursurrogategod at gmail.com> wrote:
>Hello, I can't post my code since it's on a work computer.
>But basically, I have a dataframe that has two columns, one is a string
>and the other is an integer. I want to turn this into a vertival
>barplot where on the x-axis I have the string in the first columb and
>then the plot will display the integer count.
>I have found many examples online and most of those matched either odd
>edge cases or putting the data into a format that strips out some of
>the data and I can't use it later.
>This should be a breeze, what am I missing?
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help