moshagen / semPower

R package providing a-priori, post-hoc, and compromise power analyses for structural equation models (SEM)
7 stars 3 forks source link

crash in vignette example #1

Closed oscci closed 4 years ago

oscci commented 4 years ago

Code chunk on line 239

perform a priori power analysis

ap6 <- semPower.aPriori(SigmaHat = list(cov.h0.g1, cov.h0.g2), Sigma = list(cov.pop.g1, cov.pop.g2), alpha = .05, beta = .20, N = list(1, 1), df = df)

summary(ap6) Gives crash with : Error in semPower.aPriori(SigmaHat = list(cov.h0.g1, cov.h0.g2), Sigma = list(cov.pop.g1, : unused argument (N = list(1, 1)). Removing N=list(1,1) does not fix it.

moshagen commented 4 years ago

Did you use the CRAN or the github version? Multiple group cases are not yet on CRAN.

oscci commented 4 years ago

ah I should have thought of that. thanks. will install from github. v useful resource!

Sent from my iPad

On 11 Aug 2020, at 20:24, moshagen notifications@github.com wrote:



Did you use the CRAN or the github version? Multiple group cases are not yet on CRAN.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/moshagen/semPower/issues/1#issuecomment-672215106, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABYC2XOKD7DZQTYWYABRPMLSAGLHFANCNFSM4P3G7YIQ.

moshagen commented 4 years ago

Thank you anyway for reminding me to push the updates on CRAN, should be online in about 3 weeks (holiday season strikes CRAN submissions, too).

moshagen commented 4 years ago

Now on CRAN.