如何使用“crossstable”包的重量对于 R

发布于 2025-01-09 10:48:48 字数 164 浏览 1 评论 0原文

crosstable 包为我提供了在由调查答案组成的数据集中进行一些探索性工作所需的信息。但我需要对交叉制表进行加权,以获得我正在研究的人群的代表性结果。我有什么想法可以在这个包中使用权重吗?

到目前为止,我已经使用“调查”包来做到这一点,但它缺乏演示工具来获取准备发布的表格。

谢谢。

The crosstable package give me exactly what I need to do some exploratory work in a data set composed of answers to a survey. But I need to weight the crosstabulation to get a representative results of the population I'm studying. Any ideas how I could use weights with this package?

So far I have used the "survey" package to do that, but it's lacking presentation tool to get publication ready tables.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

微暖i 2025-01-16 10:48:48

我是 crosstable 包的开发者,不幸的是它还不支持权重。

我希望有一天能将此作为一项功能实现,因此您绝对应该在 GitHub

由于我自己从未做过加权描述,因此请添加您的用例的简化版本,以便我可以做出对每个人都有用的东西。

I'm the dev of the crosstable package and it is unfortunately not supporting weights yet.

I would love to implement this as a feature one day, so you should definitely open a Feature Request on GitHub.

As I've never had to do a weighted description myself, please add a simplified version of your use case so that I can make something useful to everyone.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文