I’ve released an opencpu app in the package ocpusimplereg. It performs a simple linear regression. In this app, the user:
uploads the data from a CSV file;
selects the two columns used for the regression;
clicks on a button to generate a report.
Of course the report deserves to be improved. My purpose is just to demonstrate how one can use
opencputo create such an app.
Only one R function is used. It takes as arguments the dataframe, the confidence level and the format of the outplut file, and it knits the template included in the package.
In addition to
Papa Parse, to convert the CSV file to a JSON object;
You can play with the app by following this link, but obviously the report generation is not available.