Search Header Logo
R Programming for Statistics and Data Science - Building a Function in R 2.0

R Programming for Statistics and Data Science - Building a Function in R 2.0

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Wayground Content

FREE Resource

In this lesson, the instructor revisits a basic function in R, initially designed to draw cards from a deck. The function is enhanced by introducing arguments, allowing it to work with different data sets. The lesson progresses by modifying the function to deal cards instead of drawing them, and testing it with different card decks. To ensure variability, the function is further refined to shuffle the deck before dealing. The lesson concludes with a discussion on combining these features into a single, elegant function.

Read more

1 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What new insight or understanding did you gain from this video?

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?