https://github.com/cran/pracma
Tip revision: f0ba8a5d88ce30d08c8312fd9b882f2ff051d91b authored by Hans W. Borchers on 25 August 2018, 21:00:11 UTC
version 2.1.5
version 2.1.5
Tip revision: f0ba8a5
meshgrid.R
##
## m e s h g r i d . R Test suite
##
meshgrid <- pracma::meshgrid
identical(meshgrid(1:3, 10:14)$X,
matrix(rep(c(1:3), each = 5), nr = 5, nc = 3))
identical(meshgrid(1:3, 10:14)$Y,
matrix(rep(10:14, times = 3), nr = 5, nc = 3))