Jump to content

FancyJules

New Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Favorite Area of Science
    Physics

FancyJules's Achievements

Lepton

Lepton (1/13)

0

Reputation

  1. Hello, I am doing a project in R and am interested in creating a list of vectors of TRUES and FALSES as follows: FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE TRUE TRUE ... TRUE TRUE TRUE TRUE TRUE I have manually typed all 32 combinations; however, I am interested in doing this more elegantly. I imagine a loop and some sort of modulus operation are required. Any advice would be appreciated. Thank you!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.