test_metric-class {struct} | R Documentation

## Example metric

### Description

An example metric for testing

calculates a metric, which just returns a value of 3.142

### Usage

    ## S4 method for signature 'test_metric'
    calculate(obj)

### Arguments

`obj` | metric object

### Value

test metric object

dataset object

### Examples

    MET = test_metric()

    MET = test_metric()
    MET = calculate(MET)

[Package struct version 1.6.0 Index]