Skip to content

Commit

Permalink
Mistake on obj name.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereckmezquita committed Jul 14, 2024
1 parent 0ebc4a6 commit d73b514
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/Pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ Pca <- R6::R6Class(
) {
private$check_data(data)

if (!is.null(comparisons)) {
private$check_comparisons(comparisons)
if (!is.null(comparison)) {
private$check_comparison(comparison)
}

self$data <- private$prepare_data(data)
self$comparisons <- comparisons
self$comparison <- comparison
},
prcomp = function(comparison = NULL, ...) {
data <- data.table::copy(self$data)
Expand Down

0 comments on commit d73b514

Please sign in to comment.