diff --git a/src/mglmxls.jl b/src/mglmxls.jl index 669faea..7ec4e37 100644 --- a/src/mglmxls.jl +++ b/src/mglmxls.jl @@ -91,7 +91,7 @@ function mglmxls(glmout, # assign dependent variables for i=1:num_models ysim = glmout[i].mf.f.lhs.sym #terms.eterms[1] - mtitle[i] = labels != nothing && haskey(labels, ysim) ? varlab(labels,ysim) : string(ysim) + mtitle[i] = labels != nothing && haskey(labels, ysim) ? labels[ysim] : string(ysim) end end