True and False in R

  • Comments posted to this topic are about the item True and False in R

  • Technically the answer x <- "True" is also correct as you never said that you want the boolean value of True to be stored and this is a valid string value in R.

    Anyway nice to see questions about R.

  • Thanks to  http://tryr.codeschool.com/   learned it from there.

  • The best material on R is R for Data Science by Wickham and Grolemund.

    Thanks, Steve!

  • Revenant - Wednesday, April 12, 2017 9:38 AM

    The best material on R is R for Data Science by Wickham and Grolemund.

    Thanks, Steve!

    Agreed
    Nice one, thanks Steve

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

  • Dealing with data scientists I've been learning R out of self defense.

    The book they recommended as a starter is "R for Everyone" by Jared P. Lander.

    Having said that it is not recommended to use the T abbreviation since it evaluates to TRUE in R. It's not wrong, it's just not best practice.

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

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