Adds a column of deterministic pseudorandom numbers to a collection. The outputs are double-precision floating point numbers. When using the 'uniform' distribution (default), outputs are in the range of [0, 1). Using the 'normal' distribution, outputs have μ=0, 𝛔=1, but have no explicit limits.

FeatureCollection.randomColumn(columnName, seed, distribution)FeatureCollection
this: collectionFeatureCollection

The input collection to which to add a random column.

columnNameString, default: "random"

The name of the column to add.

seedLong, default: 0

A seed used when generating the random numbers.

distributionString, default: "uniform"

The distribution type of random numbers to produce. One of 'uniform' or 'normal'