Skip to content

Commit

Permalink
Fixed : names weren't assigned to IMLEGIT outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexiaJM authored May 11, 2017
1 parent a237447 commit 0a1e9ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/LEGIT.R
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,7 @@ IMLEGIT = function(data, latent_var, formula, start_latent_var=NULL, eps=.001, m
formula_withlatent_var = vector("list", k)
formula_step = vector("list", k)
fit_ = vector("list", k)
names(fit_) = names(latent_var)

# Deconstructing formula into parts (With latent_var and without latent_var)
formula_full = stats::terms(formula,simplify=TRUE)
Expand Down

0 comments on commit 0a1e9ef

Please sign in to comment.