My current major is in Applied Computing.
During Spring 2022 I took
STMATH 341 Introduction to Statistical Inference. I learned
quite a bit about RStudio here, but it wasn’t entirely
R focused, and I’m learning a lot more about R in this
class.
My goal for the course is to memorize most of the commands we learn in class. I might not be able to memorize all of them, but if i can apply this to any data I analyze in the future, it will be very useful.
The only experience I’ve had with analyzing data is with
Microsoft Excel, or the Google counterpart,
Google Spreadsheets. I am technically certified to work
with Microsoft Excel, but I mostly used the Excel
search bar to look for the functions the test asks me to find. I
had also used Excel in
B BECN 302 Intermediate Microeconomics.
Here is the famous equation from Albert Einstein.
\[ E = MC^2 \]
library(tidyverse)
## -- Attaching core tidyverse packages ------------------------ tidyverse 2.0.0 --
## v dplyr 1.1.2 v readr 2.1.4
## v forcats 1.0.0 v stringr 1.5.0
## v ggplot2 3.4.3 v tibble 3.2.1
## v lubridate 1.9.2 v tidyr 1.3.0
## v purrr 1.0.1
## -- Conflicts ------------------------------------------ tidyverse_conflicts() --
## x dplyr::filter() masks stats::filter()
## x dplyr::lag() masks stats::lag()
## i Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
container <- c(1:10)
container
## [1] 1 2 3 4 5 6 7 8 9 10
bools <- container %% 2 == 0
bools
## [1] FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE
container[bools] = 10
container
## [1] 1 10 3 10 5 10 7 10 9 10
bools <- container %% 2 == 1
bools
## [1] TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE
container[bools] = -10
container
## [1] -10 10 -10 10 -10 10 -10 10 -10 10