Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Indexes and Row Names | Core R Data Structures for EDA
Essential R Data Structures for Exploratory Data Analysis
Section 1. Chapter 14
single

single

bookChallenge: Indexes and Row Names

Swipe to show menu

Task

Swipe to start coding

Practice setting and using custom row names in data frames.

  • Assign the values from names_vector as the row names of the data frame df.
  • Use the provided selected_names vector to subset the data frame by its row names.
  • Return the updated data frame with custom row names from set_custom_row_names.
  • Return the subsetted data frame from subset_by_row_names.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 14
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt