R Markdown Flashcards

1
Q

What is the extension for an R Markdown document?

A

.Rmd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What button do you click to render an R Markdown document?

A

the “Knit” button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Insert [TEXT] in the output section of an R Markdown file to generate a powerpoint presentation.

A

“powerpoint_presentation”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

To generate a PDF from an R Markdown, [blank] must be installed on your system.

A

LaTeX. This can be installed via the “tinytex” package.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the output format to knit a prettydoc document?

A

output: prettydoc::html_pretty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the keyboard shortcut to create a chunk of code in an R Markdown file?

A

Command + Option + i (MAC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The [BLANK] option in an R Markdown chunk shows or hides the R code chunk in the knitted document.

A

echo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The filter function affects [BLANK] in a dataset while the select function affects [BLANKS].

A

Filter affects ROWS; Select affects COLUMNS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How would you match NA values for a variable called “ages” and set its NA values to “Missing age”?

A

is.na(ages) ~ “Missing age”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which function converts numeric values to integers?

A

as.integer()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly