From c8a48bb9b521e5903eb47e408a003f9680c51cf0 Mon Sep 17 00:00:00 2001 From: Alexander Grueneberg Date: Wed, 20 May 2020 15:55:14 -0400 Subject: [PATCH] Remove isMatrixLike function --- R/crochet.R | 5 ----- 1 file changed, 5 deletions(-) diff --git a/R/crochet.R b/R/crochet.R index 4ecfe82..f52de6a 100644 --- a/R/crochet.R +++ b/R/crochet.R @@ -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)