https://github.com/cran/pracma
Tip revision: 39aca747f500f69985711f7ae5e9969f93ecc860 authored by Hans W. Borchers on 21 June 2017, 07:52:27 UTC
version 2.0.7
version 2.0.7
Tip revision: 39aca74
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))