Skip to content

Commit

Permalink
Remove isMatrixLike function
Browse files Browse the repository at this point in the history
agrueneberg committed May 20, 2020
1 parent e94ac20 commit c8a48bb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions R/crochet.R
Original file line number Diff line number Diff line change
@@ -234,11 +234,6 @@ replace <- function(replace_vector, replace_matrix, allowDoubles = FALSE) {

}

# Incomplete check if x is matrix-like. Should check for length as well.
isMatrixLike <- function(x) {
length(dim(x)) == 2L
}

ktoij <- function(x, k) {
k <- k - 1L
n <- nrow(x)

0 comments on commit c8a48bb

Please sign in to comment.