Lecture + Assignment

4 important questions on Lecture + Assignment

Difference apply, lapply, sapply?

apply returns normal
lapply returns list
sapply returns simplified

What is a recursive function?

A function that calls itself

Data.frame(x=1,y=2,z=3)

Creates a dataframe with labels xyz
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

How to transpose df/matrix?

t()

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo