An issue on plotting.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

An issue on plotting.

Taeho Kim
Administrator
This post was updated on .
Okay this was a posting from one of us.

I was really stuck on this problem, so I looked up a tutorial on how to plot a scatterplot with 2 variables. The suggestion said type Plot(variable 1, variable 2). So I tired typing plot(weight, wtdesire) and I even tried switching the order, but everytime i do that the first variable says ERROR weight can not be found. Any suggestions if I am doing the right command?

I would say you are 95% there already.  
The issue can be simply resolved by replacing weight and wtdesire by cdc$weight and cdc$wtdesire.
We have to make it clear that the variable comes from the cdc data.