Getting Help Flashcards

1
Q

help(topic)

A

documentation on topic

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

?topic

A

id.

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

help.search(“topic”)

A

search the help system

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

apropos(“topic”)

A

the names of all objects in the search list matching

the regular expression ”topic”

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

help.start()

A

start the HTML version of help

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

str(a)

A

display the internal structure of an R object

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

summary(a)

A

gives a “summary” of a, usually a statistical summary but it is
generic meaning it has different operations for different classes of a

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

ls()

A

show objects in the search path; specify pat=”pat” to search on a
pattern

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

ls.str()

A

str() for each variable in the search path

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

dir()

A

show files in the current directory

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

methods(a)

A

shows S3 methods of a

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

methods(class=class(a))

A
ists all the methods to handle objects of
class a
How well did you know this?
1
Not at all
2
3
4
5
Perfectly