Homework1

A new article created using the Distill format. This is everything about homework1

Huidi Ding https://homework1.com/huididing
2022-05-23
knitr::opts_chunk$set(echo = TRUE)

Distill is a publication format for scientific and technical writing, native to the web.

Learn more about using Distill for R Markdown at https://rstudio.github.io/distill.

My Hw1 code lines

x <- c(5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20)
y <- seq(from=5, to=20, by=1)
z <- 5:20
x == y
 [1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[14] TRUE TRUE TRUE
x == z
 [1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[14] TRUE TRUE TRUE
head(x)
[1]  5  6  7  8  9 10
dim(y)
NULL