The shiny application developed calculates the linear model, which best fits the given X and Y variables.
Then, the fitted model is represented in two ways, as a plot and as a text output.
The application takes two inputs, X and Y values.
Note:
E.g.: the input:
will fit the points: (1,3), (2,5), (4,6)
Fitted linear model:
Plot: The plot represents the points given by the user and the fitted linear model.
The input:
Will create the plot:
This is how the application looks like when it's running: