Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotting-objects-not-found #23

Open
noamross opened this issue Mar 24, 2015 · 0 comments
Open

plotting-objects-not-found #23

noamross opened this issue Mar 24, 2015 · 0 comments

Comments

@noamross
Copy link
Owner

https://github.com/noamross/zero-dependency-problems/blob/master/R/plotting-objects-not-found.md

I tried plotting for the first question and got:

subset(ChickWeight, Chick == 1)
weight Time Chick Diet
1 42 0 1 1
2 51 2 1 1
3 59 4 1 1
4 64 6 1 1
5 76 8 1 1
6 93 10 1 1
7 106 12 1 1
8 125 14 1 1
9 149 16 1 1
10 171 18 1 1
11 199 20 1 1
12 205 21 1 1

plot( log_weight, log_Time, main="Scatter plot of weight vs Time", xlab="log Time", ylab="log weight" )

Error in plot(log_weight, log_Time, main = "Scatter plot of weight vs Time", :
object 'log_weight' not found

what am I doing wrong here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant