Skip to content

stat545ubc-2024/assignment-b4-apieters1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Assignment B4

Author: Alex Pieters | Last modified: December 03, 2024

STAT 545 UBC (2024 Winter 1)

Contents

  1. Overview

  2. File Directory Description

  3. How to Run Code in This GitHub Repository

Overview {#overview}

Welcome to Assignment B4!

This assignment is focused on manipulating strings and functional programming in R (OPTION A). The objectives are as follows:

  • Plotting the most common words in Jane Austen's book Emma from the janeaustenr package without stop words found in the stopwords package (Exercise 1).
  • Evaluating a linear model for each car’s horsepower versus mileage using the mtcars dataset for assessing the hypothesis that these variables are inversely proportional (Exercise 3).

File Directory Description {#file-directory-description}

  • README.md: Provide distinctions for this assignment and instructions.

  • assignment-b4.Rmd: The source code .Rmd file for the assignment.

  • assignment-b4.md: The knitted output of assignment-b4.Rmd.

  • assignment-b4_files/figure-gfm: The output images file for the assignment.

How to Run Code in This GitHub Repository {#how-to-run-code-in-this-github-repository}

  1. Fork the repository in RStudio by following the steps:

    1. Go to the Rstudio and select “File > New Project”
    2. Select "Version Control"
    3. Click on Git
    4. Fill in (https://github.com/stat545ubc-2024/assignment-b4-apieters1.git) in URL
    5. Browse to where you would like to create this folder and select "create project"

    View details

  2. Open the assignment-b4.Rmd file.

  3. Click Knit on the top to generate the .md file and view the output.

About

assignment-b4-apieters1 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors