2 thoughts on “swirl – R Programming – Lesson 15 – Base Graphics”

  1. I am getting an error when I pass the argument for the graph:

    plot(x = cars$speed, y = cars$dist)
    Error in plot.window(…) : need finite ‘xlim’ values
    In addition: Warning messages:
    1: In min(x) : no non-missing arguments to min; returning Inf
    2: In max(x) : no non-missing arguments to max; returning -Inf
    3: In min(x) : no non-missing arguments to min; returning Inf
    4: In max(x) : no non-missing arguments to max; returning -Inf

Comments are closed.