Learn R Programming

retistruct (version 0.5.11)

Dataset: Constructor for a dataset object.

Description

Constructor for a dataset object.

Usage

Dataset(o, dataset, Ds, Ss, cols, raw, Gs = NULL)

Arguments

o

An outline object.

dataset

The name of the dataset

Ds

A list of data point sets, with each set being a 2 column matrix of X and Y coordinates of data point locations. Each item in the list should be named. Elements with these names should also be in the cols argument (see below).

Ss

A list of landmarks. These do not need to be named. If any elements are named, the names should map onto an element in the cols argument. Any elements that are named "" will be plotted using the default colour.

cols

A list of colours in which to plot datapoints and landmarks.

raw

A place to put raw data in whatever format is desired.

Gs

A list of grouped point sets, with each set being a 3 column matrix of X and Y coordinates and the value Z of the variable at that point. Each item in the list should be named. Elements with these names should also be in the cols argument.

Value

A dataset object.