Here you will find daily news and tutorials about R, contributed by over 750 bloggers.
There are many ways to follow us - By e-mail:On Facebook: If you are an R blogger yourself you are invited to add your own R content feed to this site (Non-English R bloggers should add themselves- here)

In this exercise we assume that we obtained the measurements of the height and the distance of the movement of a projectile by means of an experiment.

We define the vectors “Height” and “Distance” that have our physical measurements. We fit a second-order model “lmr”. We defined a scale of heights “nh” to evaluate the motion equation. With the coefficients of the adjusted model we define the motion equation “fit” and finally we plot.