reproducible-research-quiz2

Week 2 Quiz

已通过
4/5 得分(80%)
测验通过!
1. 

Who created Markdown?

Yihui Xie

Hadley Wickham

Robert Gentleman

2. 

When writing a document in R Markdown, how do you denote the beginning of an R code chunk?

<code>

```

<rcode>

3. 

When using knitr, how do you indicate the height and width of a plot created in a code chunk?

Set the 'size' and 'scale' options for the code chunk

Set the 'height' and 'width' options for the code chunk

Set the 'fig.height' and 'fig.width' options for the code chunk  (正确答案应为此项)

4. 

With some code chunks, we may not want the output generated by the chunk to be rendered into HTML but would prefer to print the output verbatim. How can we specify this preference for a given code chunk?

Set the option tidy = FALSE

Set the option message = FALSE

Set the option highlight = TRUE

5. 

When using knitr and R Markdown and producing output in HTML, why should you never edit the resulting HTML file?

The HTML file is not a text file.

The Markdown file generated by knitr is the appropriate file to edit.

Editing the HTML file requires knowledge of a separate markup language.

Every time you knit() the R Markdown file, the HTML file will be overwritten

正确回答
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值