GoConqr has a new look! Let us know what you think.

Flashcards

Control Structures - for

Thomas Allan Programming R - Mind Maps 1 English 4 cards

Cards in this deck (4)

  1. 1What is a way to remove complexity from multiple nested for loops?functions can be used to remove the complexity of multiple nested for loops
  2. 2what is the template of a basic for loop?for ( i in 1:10 ) {
    ## do something
    }
  3. 3for x <- ( "a", "b", "c", "d" ) what are 3 different ways that the for clause can be written?for (i in 1:4)
    for ( i in seq_along ( x ) )
    for (letter in x )
  4. 4for x <- ( "a", "b", "c", "d" ) write an in-line for statement.for ( i in 1:4) ## do something

Information

Description
1 Programming R - Mind Maps Flashcards on Control Structures - for, created by Thomas Allan on 09/02/2016.
Created by
Thomas Allan
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?