Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions src/cluster.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,9 @@ function clusterdepth(
statfun = nothing,
permfun = nothing,
)
if stat_type == :onesample_ttest
if isnothing(statfun!)
statfun! = studentt!
end
if isnothing(statfun)
statfun = studentt
end
if stat_type == :onesample_ttest && isnothing(statfun!) && isnothing(statfun)
statfun! = studentt!
statfun = studentt
end
if perm_type == :sign
if isnothing(permfun)
Expand Down
Loading