What does the "$" mean in the following line of code?
db$Continent <- NA
What does the "$" mean in the following line of code?
db$Continent <- NA
Generally speaking, the $ operator is used to extract or subset a specific part of a data object in R.
In your example, you're assigning NA to Continent, as @dario pointed out in the comments.