Skip to content

Commit

Permalink
Update fit_and_reporting.R
Browse files Browse the repository at this point in the history
finalise`umxAPA` html report for lm
  • Loading branch information
tbates committed Dec 27, 2024
1 parent a68b1d7 commit e7a2035
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/fit_and_reporting.R
Original file line number Diff line number Diff line change
Expand Up @@ -4669,7 +4669,9 @@ umxAPA <- function(obj = .Last.value, se = NULL, p = NULL, std = FALSE, digits =
obj = update(obj, data = umx_scale(obj$model))
}
if(report=="html"){
umx_print(summary(obj)$coefficients, digits= digits, report = "html")
tmp= data.frame(summary(obj)$coefficients)
names(tmp)= c("Estimate", "SE", "t-value", "p-value")
umx_print(tmp, digits= digits, report = "html")
} else {
sumry = summary(obj)
conf = confint(obj)
Expand Down

0 comments on commit e7a2035

Please sign in to comment.