BaşlayınÜcretsiz Başlayın

Visualize your matrix

Similar to vectors, we can visualize our matrix to gain some insights about the relationships in the data.

In this exercise, you will plot the matrix of Apple and Microsoft stock prices to see the relationship between the two companies' stock prices during December, 2016.

Bu egzersiz

Introduction to R for Finance

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • The matrix apple_micr_matrix is available in your workspace.
  • First, print out apple_micr_matrix to get a look at the data.
  • Use plot() to create a scatter plot of Microsoft VS Apple stock prices.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# View the data


# Scatter plot of Microsoft vs Apple
Kodu Düzenle ve Çalıştır