Skip to content

Commit

Permalink
removing means
Browse files Browse the repository at this point in the history
  • Loading branch information
jhorzek committed Aug 24, 2023
1 parent 296b3a4 commit f49b437
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/mxsem.R
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,6 @@ mxsem <- function(model,
}else{
if(!add_intercepts){
mx_data <- OpenMx::mxData(observed = stats::cov(as.matrix(data[,parameter_table$variables$manifests])),
means = apply(as.matrix(data[,parameter_table$variables$manifests]),
2,
mean,
na.rm = TRUE),
type = "cov",
numObs = nrow(data))
}else{
Expand Down

0 comments on commit f49b437

Please sign in to comment.