This lesson is still being designed and assembled (Pre-Alpha version)

HTML <div>

Challenge

Use the paste() function to concatenate the strings “hello” and “there” in R.

Solution

paste("hello","there")
[1] "hello there"

{dovetail}

Challenge

Use the paste() function to concatenate the strings “hello” and “there” in R.

Solution

paste("hello","there")
[1] "hello there"

pandoc fenced div

Challenge

Use the paste() function to concatenate the strings “hello” and “there” in R.

Solution

paste("hello","there")
[1] "hello there"

HTML <div>

Challenge

Use the paste() function to concatenate the strings “hello” and “there” in R.

School Solution

paste("hello","there")
[1] "hello there"

Great! Now use paste0() to paste together “mono” and “rail” to make “monorail”

Fast Solution

paste0("mono","rail")
[1] "monorail"

{dovetail}

Challenge

Use the paste() function to concatenate the strings “hello” and “there” in R.

School Solution

paste("hello","there")
[1] "hello there"

Great! Now use paste0() to paste together “mono” and “rail” to make “monorail”

Fast Solution

paste0("mono","rail")
[1] "monorail"

pandoc fenced div

Challenge

Use the paste() function to concatenate the strings “hello” and “there” in R.

School Solution

paste("hello","there")
[1] "hello there"

Great! Now use paste0() to paste together “mono” and “rail” to make “monorail”

Fast Solution

paste0("mono","rail")
[1] "monorail"