0

I imported data into my R workspace from an csv file.

>tbl <- read.csv("BitcoinData.csv", header = TRUE)

Then displayed the table

>tbl
time   timeDate          close     high     low      open  
1   1.51e+12 12/24/2017 12615.06 12796.90 12428.77 12741.11  

Then I wanted to plot the high and low using the columns, as my data extends down for 200+ rows.

I tried

plot(high, low)

And got

Error in plot(high, low) : object 'high' not found

Any suggestions?

1 Answer 1

1

try:

plot(tbl$high, tbl$low)

you need to let it know where those variables live... thanks for the easy one!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.