Skip to content

Commit f893493

Browse files
committed
🐞 Fix: syntax
1 parent e130e7f commit f893493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/internal-functions-samr-adapted.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ getperms <- function(y, nperms) {
907907
if (total.perms > nperms) {
908908
perms <- matrix(NA, nrow = nperms, ncol = length(y))
909909
for (i in 1:nperms) {
910-
perms[i, ] <- sample(seq_along(y)), size = length(y)
910+
perms[i, ] <- sample(seq_along(y), size = length(y))
911911
}
912912
all.perms.flag <- 0
913913
nperms.act <- nperms

0 commit comments

Comments
 (0)