Skip to content

Commit

Permalink
Update spca.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mlesnoff committed Jan 15, 2025
1 parent e9615ab commit f870ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spca.jl
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ function Base.summary(object::Spca, X)
## End
nam = string.("lv", 1:nlv)
contr_ind = DataFrame(fscale(TT, tt), nam)
contr_var = DataFrame(object.V.^2, nam)
## Should be ok
C = X' * fweight(fscale(object.T, sqrt.(tt)), weights.w)
coord_var = DataFrame(C, nam)
## End
contr_var = DataFrame(object.V.^2, nam)
cor_circle = DataFrame(corm(X, object.T, weights), nam)
(explvarx = explvarx, explvarx_v, contr_ind, contr_var, coord_var, cor_circle)
end
Expand Down

0 comments on commit f870ff9

Please sign in to comment.