Sets the data matrix to associate with the mapper.

Arguments

data

either a matrix, a function, or a data set name. See details.

...

additional parameters to pass to the filter function.

Details

This function sets the data for the Mapper to work on. If data is a string, it must be one of the (illustrative) data sets listed in data(package="Mapper"). Otherwise, data must be either a matrix of coordinate values, a function that returns a matrix of coordinate values.