From 1ebe06dfbec3ee0af952f9ba91e351eea42f10b6 Mon Sep 17 00:00:00 2001 From: bruna wundervald <brunadaviesw@gmail.com> Date: Mon, 7 Dec 2015 20:23:43 -0200 Subject: [PATCH] shiny app scripts --- FinalProject/.Rbuildignore | 2 ++ FinalProject/DESCRIPTION | 10 ++++++++++ FinalProject/FinalProject.Rproj | 20 ++++++++++++++++++++ FinalProject/NAMESPACE | 1 + FinalProject/report.Rmd | 24 ++++++++++++++++++++++++ 5 files changed, 57 insertions(+) create mode 100644 FinalProject/.Rbuildignore create mode 100644 FinalProject/DESCRIPTION create mode 100644 FinalProject/FinalProject.Rproj create mode 100644 FinalProject/NAMESPACE create mode 100644 FinalProject/report.Rmd diff --git a/FinalProject/.Rbuildignore b/FinalProject/.Rbuildignore new file mode 100644 index 0000000..91114bf --- /dev/null +++ b/FinalProject/.Rbuildignore @@ -0,0 +1,2 @@ +^.*\.Rproj$ +^\.Rproj\.user$ diff --git a/FinalProject/DESCRIPTION b/FinalProject/DESCRIPTION new file mode 100644 index 0000000..ce9425b --- /dev/null +++ b/FinalProject/DESCRIPTION @@ -0,0 +1,10 @@ +Package: FinalProject +Type: Package +Title: What the Package Does (Title Case) +Version: 0.1 +Date: 2015-11-24 +Author: Who wrote it +Maintainer: Who to complain to <yourfault@somewhere.net> +Description: More about what it does (maybe more than one line) +License: What license is it under? +LazyData: TRUE \ No newline at end of file diff --git a/FinalProject/FinalProject.Rproj b/FinalProject/FinalProject.Rproj new file mode 100644 index 0000000..497f8bf --- /dev/null +++ b/FinalProject/FinalProject.Rproj @@ -0,0 +1,20 @@ +Version: 1.0 + +RestoreWorkspace: Default +SaveWorkspace: Default +AlwaysSaveHistory: Default + +EnableCodeIndexing: Yes +UseSpacesForTab: Yes +NumSpacesForTab: 2 +Encoding: UTF-8 + +RnwWeave: Sweave +LaTeX: pdfLaTeX + +AutoAppendNewline: Yes +StripTrailingWhitespace: Yes + +BuildType: Package +PackageUseDevtools: Yes +PackageInstallArgs: --no-multiarch --with-keep.source diff --git a/FinalProject/NAMESPACE b/FinalProject/NAMESPACE new file mode 100644 index 0000000..d75f824 --- /dev/null +++ b/FinalProject/NAMESPACE @@ -0,0 +1 @@ +exportPattern("^[[:alpha:]]+") diff --git a/FinalProject/report.Rmd b/FinalProject/report.Rmd new file mode 100644 index 0000000..41cbcd3 --- /dev/null +++ b/FinalProject/report.Rmd @@ -0,0 +1,24 @@ +---- +title: "Linear Regression Report - Generated in the Shiny App, authored by Bruna Wundervald." +----- + +*Here is my regression model: +```{r, echo=TRUE} +m1 <- fc()$m +summary(m1) +``` + +*Here is the ANOVA generated by this model:* +```{r, echo=TRUE} +anova(m1) +``` + + +*And here are the plots to check for departures from homocedasticity and normality of the model.* +```{r, echo=TRUE} +par(mfrow=c(2,2)); plot(m1); layout(1) +``` + + + +_______________________________________ -- GitLab