africa dataset from Amelia package

流过昼夜 提交于 2019-12-25 02:19:09

问题


Amelia has a dataset named 'africa' and I'm trying to load it. airquality dataset works fine, but I want to know (1) how I can load datasets from the packages, and (2) to see what datasets are in that package, in order to choose the most accurrate dataset for a specific problem that I'm trying to solve.


回答1:


lets answer your questions the other way around. the data command is what you need.

2) To see the datasets in a package use:

data(package = "Amelia")

1) to load a dataset from a package without loading the package use:

data("africa", package = "Amelia")


来源:https://stackoverflow.com/questions/51046182/africa-dataset-from-amelia-package

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!