Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weighted samples #816

Open
quant39 opened this issue Nov 22, 2022 · 1 comment
Open

Weighted samples #816

quant39 opened this issue Nov 22, 2022 · 1 comment

Comments

@quant39
Copy link

quant39 commented Nov 22, 2022

I have a dataset with weighted sample points. Is it possible to extend ggbeteenstats function for this case?

@cdlethem
Copy link

@quant39 I also had this use case. In case your weights are integer, then one workaround is to duplicate the observations in your source data according to the weights using an approach like this: https://stackoverflow.com/questions/2894775/repeat-each-row-of-data-frame-the-number-of-times-specified-in-a-column

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants