https://github.com/cran/pracma
Tip revision: 9683335bbee02d0e5a569a07826d458ca55d5370 authored by HwB on 06 June 2012, 00:00:00 UTC
version 1.1.0
version 1.1.0
Tip revision: 9683335
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))