Fastest way to plot a function in R
Sometimes you need to see a curve to understand a function better.
eq = function(x) {x*x}; x = (1:1000); y=eq(x); plot(x,y)
Written by Sun Ning
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#R
Authors
Related Tags
#r
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#