Amelia软件包中的非洲数据集 [英] africa dataset from Amelia package

查看:94
本文介绍了Amelia软件包中的非洲数据集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Amelia有一个名为'africa'的数据集,我正在尝试加载它. airquality数据集可以正常工作,但是我想知道(1)如何从程序包中加载数据集,以及(2)查看该程序包中的数据集,以便为特定问题选择最准确的数据集我正在尝试解决.

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.

推荐答案

让我们以其他方式回答您的问题. data命令就是您所需要的.

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

2)要查看包中的数据集,请使用:

2) To see the datasets in a package use:

data(package = "Amelia")

1)从包中加载数据集而不使用包:

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

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

这篇关于Amelia软件包中的非洲数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆