Learn R Programming

hzar (version 0.2-5)

hzar.makeTraitObsData: Compile and transform raw scalar data

Description

Compile and transform raw scalar data into a frequency based hzar.obsData object.

Usage

hzar.makeTraitObsData(distOfLocation, locationOfValue, values)

Arguments

distOfLocation
A vector mapping locality ids to distances of each locality.
locationOfValue
A vector of locality ids of each sample.
values
A vector of trait values for each sample.

Value

A hzar.obsData object.

See Also

hzar.obsData hzar.doMorphoSets

Examples

Run this code
##TODO

Run the code above in your browser using DataLab