You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to specify covariates when I reshape the data using make_projoint_data()? Our data are coded a little bit differently from the way they would be had we used your tool to set up the experiment. So I’m starting out with a clean dataframe, and make_projoint_data() works well for reshaping the data. The challenge arises when I want to compare group-level marginal means. I can use make_projoint_data() to create subsetted datasets for each group, and I use these subsetted projoint objects to estimate group-level marginal means. But to estimate the difference in marginal means (as described here: https://yhoriuchi.github.io/projoint/articles/06-compare.html) I need a single projoint object that contains data from all groups and includes the covariate across which I want to compare MMs. There doesn’t seem to be a covariate argument analogous to the ".covariates" argument in reshape_projoint(). Is there a different way to specify covariates with the make_projoint_data() function?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to specify covariates when I reshape the data using make_projoint_data()? Our data are coded a little bit differently from the way they would be had we used your tool to set up the experiment. So I’m starting out with a clean dataframe, and make_projoint_data() works well for reshaping the data. The challenge arises when I want to compare group-level marginal means. I can use make_projoint_data() to create subsetted datasets for each group, and I use these subsetted projoint objects to estimate group-level marginal means. But to estimate the difference in marginal means (as described here: https://yhoriuchi.github.io/projoint/articles/06-compare.html) I need a single projoint object that contains data from all groups and includes the covariate across which I want to compare MMs. There doesn’t seem to be a covariate argument analogous to the ".covariates" argument in reshape_projoint(). Is there a different way to specify covariates with the make_projoint_data() function?
Beta Was this translation helpful? Give feedback.
All reactions