Subsetting a data frame

  • Comments posted to this topic are about the item Subsetting a data frame

  • Got it right, but there may be some comments about the answer...

  • But there isn't a data frame called batting...

  • sipas - Wednesday, July 18, 2018 5:04 AM

    But there isn't a data frame called batting...

    Yes, I think you have to make an assumption.

  • paul s-306273 - Wednesday, July 18, 2018 5:07 AM

    sipas - Wednesday, July 18, 2018 5:04 AM

    But there isn't a data frame called batting...

    Yes, I think you have to make an assumption.

    I know nothing about R, but took a wild guess, using deductive reasoning (sometimes I surprise myself)..  I excluded this answer because of that very reason.  There is no data frame called "batting"
    Would that actually work ?  Can R really assume that batting is like batting% ??

  • Nice question, despite the incomplete dataframe name (batting instead of battingpergame).

    ____________________________________________
    Space, the final frontier? not any more...
    All limits henceforth are self-imposed.
    “libera tute vulgaris ex”

  • Sorry, answer corrected.

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply