Plotting graph using R for dummies


One of the simple way to plot xy graph say, x is a range from 1 to 10 and the same case with Y. So what we will see is a linear graph,





Figure 1



Figure 2




Notes about predict function.

In R, predict a proxy or middle man which routes to predict.lm or predict.glm depending on what data you're passing in.


Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type