Vektör nedir?

Finans için R'ye Giriş

Lore Dirick

Manager of Data Science Curriculum at Flatiron School

Vektörler ve hisse fiyatları

apple <- 159.4

apple_stock <- c(159.4, 160.3, 161.3) apple_stock
159.4 160.3 161.3
is.vector(apple)
TRUE
grocery <- c("apple", "orange", "cereal")

grocery
"apple" "orange" "cereal"
Finans için R'ye Giriş

Vektör names()

apple_stock <- c(159.4, 160.3, 161.3)

names(apple_stock) <- c("Monday", "Tuesday", "Wednesday")
apple_stock
Monday   Tuesday Wednesday 
 159.4     160.3     161.3
Finans için R'ye Giriş

Hadi pratik yapalım!

Finans için R'ye Giriş

Preparing Video For Download...