https://github.com/cran/pracma
Tip revision: 63e8a52ae6668e736720c89691352d6dc3bc9eb1 authored by HwB on 17 January 2012, 00:00:00 UTC
version 0.9.6
version 0.9.6
Tip revision: 63e8a52
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))