Suppressing warnings
A warning tells the user that something has gone potentially wrong. Let's highlight a good use of the warning function.
Diese Übung ist Teil des Kurses
Defensive R Programming
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# Create new variable
x <- c(___, ___, ___)
y <- 1:3
# Correlation coefficient of x & y
m <- cor(___, ___)