MulaiMulai sekarang secara gratis

Load dataset and get details

For this exercise, you are going to load the abalone dataset in the native R native binary format .RData using the load() function. You will use the ls() command before and after loading the dataset to confirm that the abalone dataset was loaded to your global environment. This is similar to working with the WORK library in SAS. You can learn more about both of these functions using the help() command.

Latihan ini adalah bagian dari kursus

R For SAS Users

Lihat Kursus

Petunjuk latihan

  • List the objects currently in the global environment.
  • Load the "abalone.RData" data file.
  • List the objects in the global environment again.
  • Get help on the load() and ls() functions.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# List the objects in global environment
ls()

# Load the "abalone.RData" dataset
load(___)

# List objects in global environment again 
___

# Learn more about the load function
help(___)

# Learn more about the ls function
help(___)
Edit dan Jalankan Kode