From morg@n@em@||box @end|ng |rom gm@||@com  Fri Oct 11 12:44:16 2019
From: morg@n@em@||box @end|ng |rom gm@||@com (Morgan Morgan)
Date: Fri, 11 Oct 2019 11:44:16 +0100
Subject: [Rd] New matrix function
Message-ID: <CAL0QV_OHN1+c2ZMO28v9gB1Y-0c+2zL57bDCgcZse13bZ8--eQ@mail.gmail.com>

Hi All,

I was looking for a function to find a small matrix inside a larger matrix
in R similar to the one described in the following link:

https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix

I couldn't find anything.

The above function can be seen as a "generalisation" of the "which"
function as well as the function described in the following post:

https://coolbutuseless.github.io/2018/04/03/finding-a-length-n-needle-in-a-haystack/

Would be possible to add such a function to base R?

I am happy to work with someone from the R core team (if you wish) and
suggest an implementation in C.

Thank you
Best regards,
Morgan

	[[alternative HTML version deleted]]



[Rd] New matrix function
Morgan Morgan