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

mongosh install properly

gemini cli getting file not defined error

vllm : Failed to infer device type