Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
[Homework] R beginner here - some educational work with it over one year ago
Author Summary
Dalebert007 is in Homework
Post Body

Hello everyone,

It's been some time since I've had to use R for school work, and I've barely (almost never) used it since the last course I took that required it. This class's final assignment requires brief use of R, and I've hit a sticking point.

The assignment requires us reading two files (call them df1 and df2 for the sake of this post) to plot on an x-axis, then counting the number of occurrences on each date within the data series. The layout of each data series follows this format:

df layout

The homework calls for us to plot df1 in black and df2 in red, both in the same graph on the x-axis, with the number of occurrences on a particular date on the y-axis.

From what I understand/remember, I'm trying to use something similar to:
plot(df1, type='o', col='black', xlab='Date', ylab='Loss', main='# of Occurrences')
lines(df2,col='black')

But I'm getting this crazy result:

result of code

Can someone help me out and give me a nudge in the right direction?

Thanks in advance!

Author
Account Strength
80%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
417
Link Karma
17
Comment Karma
400
Profile updated: 4 days ago
Posts updated: 3 weeks ago

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago