I'm new to R so this might be a dumb question but can someone help me out clarifying the $ function in R please? I know that $ is used to extract a specific "part" from the data frame. Is it correct that it is extracting one whole column of the data frame? not a specific element in the column nor one whole specific row? The $ sign only worked for me when the variables were as columns. Is this correct?
Tried manipulating the data frame to see different results.