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

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.

主站蜘蛛池模板: 敦煌市| 阳谷县| 翁牛特旗| 洛川县| 太白县| 察隅县| 普兰县| 黔江区| 蓬溪县| 邓州市| 定边县| 永兴县| 密山市| 天柱县| 顺平县| 汶川县| 海淀区| 平乐县| 周至县| 云南省| 陆川县| 博爱县| 鹤峰县| 咸阳市| 富裕县| 新昌县| 临清市| 平罗县| 罗平县| 仲巴县| 鹤山市| 绥棱县| 梓潼县| 高碑店市| 涞水县| 南澳县| 长白| 兴国县| 大关县| 德安县| 龙山县|