我想捕获data您提供包名称的函数的输出,该函数产生静态输出.我想把它变成一个数据帧.
目前以下给出了静态输出:
data(package = "ggplot2")
Run Code Online (Sandbox Code Playgroud)
我希望它是一个数据帧,实际上从来没有产生外部静态输出.
diamonds Prices of 50,000 round cut diamonds
economics US economic time series.
midwest Midwest demographics.
movies Movie information and user ratings from IMDB.com.
mpg Fuel economy data from 1999 and 2008 for 38 popular models of car
msleep An updated and expanded version of the mammals sleep dataset.
presidential Terms of 10 presidents from Eisenhower to Bush W.
seals Vector field of seal movements.
Run Code Online (Sandbox Code Playgroud) 我在练习R语言练习时,遇到一道题,要求我访问“ eset”库中的“ genefilter”数据集;
> library(genefilter)\n> data(eset)\nRun Code Online (Sandbox Code Playgroud)\n但我总是收到以下错误;
\nIn data(eset) : data set \xe2\x80\x98eset\xe2\x80\x99 not found\nRun Code Online (Sandbox Code Playgroud)\n我遇到了同样的错误;
\n>library(globaltest);\n>data(exampleX);\n>data(exampleY);\nRun Code Online (Sandbox Code Playgroud)\n有人可以向我解释一下我在这里做错了什么吗?
\n我搜索了所有BiocManager文档,但找不到有用的答案。