Skip to content

Commit fcc470e

Browse files
committed
save_history and lda_pp bug fix
1 parent e826a50 commit fcc470e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
* anomaly tour is initialised with a random basis
44
* option to label only long axes
5+
* bug fix for save_history with lda_pp
56

67
# tourr 1.2.0
78

R/interesting-indices.r

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ lda_pp <- function(cl) {
150150

151151
1 - summary(fit, test = "Wilks")$stats[[3]]
152152
} else {
153-
summary(stats::aov(mat ~ cl))[[1]][4]
153+
summary(stats::aov(mat ~ cl))[[1]][1,4]
154154
}
155155
}
156156
}

0 commit comments

Comments
 (0)