Читать книгу Probability with R - Jane M. Horgan - Страница 20

1.5 Getting Help

Оглавление

The easiest way of getting help when you are working in the R environment is to click the Help button on the toolbar.

Alternatively, you can type

help()

for online help, or

help.start()

for an HTML browser interface.

It could be helpful to look at some demonstrations of R by typing

demo()

which gives a list of all available demonstrations.

Demonstrations on specific topics can be obtained by inserting an argument. For example,

demo(plotmath)

gives some examples of the use of mathematical notation.

A more specific way of getting help, when working in the R environment, is to type the name of the function you require. For example,

help(read.table)

will provide details on the exact syntactic structure of the instruction read.table.

An alternative is

?read.table

To obtain all that is available on a particular topic, use apropos.

apropos ("boxplot")

returns

"boxplot", "boxplot.default", "boxplot.stats"

which are all of the objects that contain the word “boxplot.”

Probability with R

Подняться наверх