GAMU: Presentation of webR
functionalities
How could our app look like
Tomas Pompa
September 2025
Loading webR, please wait...
1. Data set with specified sample size N
In the first section, we will work with a generated dataset with specified number of rows.
1.1 Generate the data
Enter a whole number and click Generate the data
:
N =
1.2 Plot the data
We now plot the data. You can select a title for the plot.
Enter a title for the graph and click Plot the data
:
Title for the graph:
Press Plot the data
button to see the graph ...
1.3 Fitting linear model
Now, we fit the linear model with interaction using lm()
function.
Press the button to fit the linear model:
Press "Fit linear model"
button to fit the model ...
1.4 Plot the fitted lines
Finally, we create a graph of the fitted lines. Again, you can select a title for the graph.
Title for the graph:
Press "Plot the fitted lines"
button to see the graph ...
2. Load data from a file
In this section, we work with a custom data uploaded in the csv
format. After uploading such data, we do the same as before:
- plot the data,
- fit a linear regression model, and
- plot the fitted regression lines along with the data points.
2.1 Load the data
First, we upload the data from a CSV file.
Select a CSV file:
File does not uploaded yet.
2.2 Plot the data
We now plot the data. You can select a title for the plot.
Enter a title for the graph and click Plot the data
:
Title for the graph:
Press Plot the data
button to see the graph ...
2.3 Fitting linear model
Now, we fit the linear model with interaction using lm()
function.
Press the button to fit the linear model:
Press "Fit linear model"
button to fit the model ...
2.4 Plot the fitted lines
Finally, we create a graph of the fitted lines. Again, you can select a title for the graph.
Title for the graph:
Press "Plot the fitted lines"
button to see the graph ...