sptm212

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Load packages

(library(readxl)),

2
New cards

Import data

(read.csv()),

3
New cards

Explore

(summary(), head()),

4
New cards

Transform

(mutate(), filter()),

5
New cards

Visualize

(hist(), plot()).

6
New cards

Assign

x <- 5

7
New cards

Arithmetic

+ - * / ^

8
New cards

Combine data

c( )

9
New cards

Load

  • data <- read.csv("file.csv")

10
New cards

New variable

  • data$new <- data$PTS / data$MIN

11
New cards

Sort

  • data[order(data$PTS, decreasing=TRUE), ]

12
New cards

Rank

rank(data$PTS)

13
New cards

Mean

mean(data$PTS)

14
New cards

Standard devation

sd(data$PTS)


15
New cards

cor

(data$PTS, data$REB)

16
New cards

Histogram

hist(data$PTS, main="Points Distribution")

17
New cards

Scatterplot

plot(data$PTS, data$REB, main="Points vs Rebounds")