meshgrid: Union of two vectors.

Description Usage Arguments Value Author(s) Examples

View source: R/FuzzyToolkitUoN.R

Description

Generates the union of two input vectors.

Usage

1
meshgrid(a, b)

Arguments

a

Input vector 1

b

Input vector 2

Value

Union of the two input vectors

Author(s)

Craig Knott, Luke Hovell, Nathan Karimian

Examples

1
meshgrid((1:10), (11:20))

Example output

Loading required package: splines
$x
      [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
 [1,]    1    2    3    4    5    6    7    8    9    10
 [2,]    1    2    3    4    5    6    7    8    9    10
 [3,]    1    2    3    4    5    6    7    8    9    10
 [4,]    1    2    3    4    5    6    7    8    9    10
 [5,]    1    2    3    4    5    6    7    8    9    10
 [6,]    1    2    3    4    5    6    7    8    9    10
 [7,]    1    2    3    4    5    6    7    8    9    10
 [8,]    1    2    3    4    5    6    7    8    9    10
 [9,]    1    2    3    4    5    6    7    8    9    10
[10,]    1    2    3    4    5    6    7    8    9    10

$y
      [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
 [1,]   11   11   11   11   11   11   11   11   11    11
 [2,]   12   12   12   12   12   12   12   12   12    12
 [3,]   13   13   13   13   13   13   13   13   13    13
 [4,]   14   14   14   14   14   14   14   14   14    14
 [5,]   15   15   15   15   15   15   15   15   15    15
 [6,]   16   16   16   16   16   16   16   16   16    16
 [7,]   17   17   17   17   17   17   17   17   17    17
 [8,]   18   18   18   18   18   18   18   18   18    18
 [9,]   19   19   19   19   19   19   19   19   19    19
[10,]   20   20   20   20   20   20   20   20   20    20

FuzzyToolkitUoN documentation built on May 2, 2019, 5:50 a.m.