When using downloaded R packages, such as "tm", the given example usually loads an example data set such as
data("crude")
How can I know what exactly this data set is, and in which kind of format, a matrix or a vector? Only by knowing this kind of information can I customize my input into the format required by this package.
try ?crude
, str(crude)
and summary(crude)
.
?crude
will even get you some literature references.