[R] Need help plotting

Jim Lemon drj|m|emon @end|ng |rom gm@||@com
Mon Sep 19 23:49:22 CEST 2022


Hi David,
All I got was the rather cryptic "DFP (iPad)" below your message.
Whatever format you used for the data was blocked by the R-help mail
server. Try this command in your R session:

dput(test)

and cut and paste the output into your email. That should do it.

Jim

On Tue, Sep 20, 2022 at 7:41 AM Parkhurst, David <parkhurs using indiana.edu> wrote:
>
> I just sent a subset of the data, with a dataframe called test.  Can you see that?  It may not have been approved by the moderator yet.
>
> DFP (iPad)
>
> > On Sep 19, 2022, at 5:29 PM, Jim Lemon <drjimlemon using gmail.com> wrote:
> >
> > Hi David,
> > Since you used read.csv to get the data frame, the file must be i text
> > format. If you can include a few lines of the input (with made up NO2
> > values if necessary), it would be easy to respond with the required
> > commands and a plot.
> >
> > Jim
> >
> >> On Mon, Sep 19, 2022 at 9:12 PM Parkhurst, David <parkhurs using indiana.edu> wrote:
> >>
> >> I’ve been retired since ‘06 and have forgotten most of R.  Now I have a use for it, with some data from Bloomington’s Environmental Commission.
> >>
> >> I have a dataframe (obtained from read.csv) that contains numerous columns, including time (in Excel’s 18:00 format), and DNO2, and MNO2 from two air quality instruments.
> >>
> >> I’d like a plot of both the NO2 measurements against time.  I be happy to use either ordinary R plots or ggplot2 ones, if that would be a better way.  I’d much appreciate help.
> >>
> >>        [[alternative HTML version deleted]]
> >>
> >> ______________________________________________
> >> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> >> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list