Hi, I'm trying to conduct a priori power analyses in RStudio using the semPower package and the following code. When I run it in a normal R file, there's absolutely no problem and I easily get the result of N = 403 Required Num Observations I'm looking for:
SUP_CFA <- semPower.aPriori(effect.measure = "RMSEA", effect = .08, alpha = .05, power = .80, df = 5)
summary(SUP_CFA)
However, I would like to hand in my term paper as a RMarkdown file as it looks 'cleaner'. When I run the same code in RMarkdown, I only get the following output:
Please help me. What am I doing wrong? What do I have to change in order to receive the same clean output in the Markdown file? I'm rather new in working with R and English isn't my first language.
Thanks in advance for everyone who's willing to help! ![]()
