Skip to content

Commit

Permalink
fix summary method
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmerkle committed Aug 28, 2023
1 parent 5c0b6a0 commit a9881ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: blavaan
Title: Bayesian Latent Variable Analysis
Version: 0.4-9.1161
Version: 0.4-9.1162
Authors@R: c(person(given = "Edgar", family = "Merkle",
role = c("aut", "cre"),
email = "merklee@missouri.edu",
Expand Down
8 changes: 5 additions & 3 deletions R/blav_object_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,11 @@ function(object, header = TRUE,
}
PE$group[PE$group == 0] <- 1

if(object@call$target == "vb") {
attributes(PE)$information <- "VB"
attributes(PE)$se <- "VB"
if("target" %in% names(object@call)){
if(object@call$target == "vb"){
attributes(PE)$information <- "VB"
attributes(PE)$se <- "VB"
}
} else {
attributes(PE)$information <- "MCMC"
attributes(PE)$se <- "MCMC"
Expand Down

0 comments on commit a9881ca

Please sign in to comment.