官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "we will employ some methods from the forecast package"

A block of R code (usually a function's body) is set as follows:

logreturn <- function(x) {
    log(tail(x, -1) / head(x, -1))
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

logreturn <- function(x) {
    log(tail(x, -1) / head(x, -1))
}

Any command-line input or output is written as follows:

> pi
[1] 3.141593

Where ">" shows that the R console is waiting for commands to be evaluated. Multiline expressions are started with the same symbol on the first line, but all the rest lines have a "+" sign at the beginning to show that the last R expression is still to be finished.

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "clicking the Next button moves you to the next screen".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 广元市| 厦门市| 华坪县| 兴仁县| 门头沟区| 建阳市| 兴宁市| 民权县| 郑州市| 凤阳县| 广饶县| 浮山县| 巴南区| 招远市| 视频| 曲麻莱县| 汝城县| 梁山县| 石家庄市| 和顺县| 牙克石市| 中西区| 龙州县| 河津市| 郎溪县| 英超| 杭锦后旗| 九寨沟县| 文安县| 桓台县| 当雄县| 万年县| 钟山县| 曲阳县| 泰宁县| 白玉县| 三都| 论坛| 牙克石市| 明溪县| 鸡西市|