This project aims to explore the iris dataset, to be specific, using data visualization to explore the relationships between variables and three iris species.
├── data
│ ├── iris.data
│ ├── data_clean.rds
├── code
│ ├── 00_clean_data.R
│ ├── 01_make_table.R
│ ├── 02_make_boxplot.R
│ ├── 03_render_report.R
├── output
│ ├── table.rds
│ ├── boxplot_sepal_length.png
│ ├── boxplot_sepal_width.png
├── renv
│ ├── .gitignore
│ ├── activate.R
│ ├── settings.json
│ ├── library
├── report
│ ├── iris_report.html
├── renv.lock
├── Makefile
├── Dockerfile
├── README.md
├── README.html
├── iris_report.Rmd
docker pull l9otus/data550_final_image
Link to the image on DockerHub:
https://hub.docker.com/repository/docker/l9otus/data550_final_image/general
docker build -t l9otus/data550_final_image .
make report/iris_report.html
Run the following in terminal:
Step 1:
git clone https://github.com/L9otus/DATA550_final_project_iris
cd DATA550_final_project_iris
Step 2 (select one of the following):
- For Windows users:
docker pull l9otus/data550_final_image
- For Mac users: (Work on Apple M1 chip)
docker pull --platform linux/amd64 l9otus/data550_final_image
Step 3:
make clean
make report/iris_report.html
Now you should be able to view iris_report.html
in the report
folder
Tips:
If add/delete/update any package, run following in console to synchronize the renv library and renv.lock:
renv::snapshot()
- Description of the iris data set
- Analysis objectives
- Read in Data
- Tabular analysis (table)
- Graphical analysis (boxplots)
The code file that creates the table: code/01_make_table.R
The code file that creates the figures: code/02_make_boxplot.R