I am creating carsx using the following code.
My understanding is carsx will have all the columns from cars data frame (i.e speed and dist), so I am trying to access these columns using carsx$speed notation but R does not Like it and gives me a warning message
But when I use carsx$cars$speed notation , I was able to get the values that I need
Can anyone explain me this . I am little confused.