21.4.1 / R / 강의 수강 및 실습

pjk·2021년 4월 1일
0

[매일코딩 스터디]

목록 보기
51/62

Today

강의

R 프로그램, 통계 27강

스터디 내용

27. R Markdown, Matrix

---
title: "matrix practice"
author: "pjk"
date: '2021 4 2 '
output: html_document
---

Now we are going to practice matix functions!!!

```{r}

A = matrix(c(1,-1,2,0,3,4), nrow = 2, byrow = FALSE)
A
B = array(1:3, c(2,3))
B
is.matrix(A)
is.matrix(B)

A + B

A - B

B = t(B) # transpose

# prove of (A^T)T = A

A%*%B


{r cars}
summary(cars)


## Including Plots

You can also embed plots, for example:

{r pressure, echo=FALSE}
plot(pressure)


Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.

Result

Tomorrow

  • 매일 1시간 정도 R 강의 수강 및 실습 진행

Summary

  • keep going!
profile
성장

0개의 댓글