create.label.from.metadata {SIAMCAT} | R Documentation

## create a label object from metadata

### Description

This function creates a label object from metadata

### Usage

    create.label.from.metadata(meta, column)

### Arguments

`meta` | metadata as read by read.meta of sample_data-class
`column` | name of column that will be used to create the label

### Value

an object of class label-class

### Examples

        data(siamcat_example)
        label <- create.label.from.metadata(meta(siamcat_example),"gender")

[Package SIAMCAT version 1.0.0 Index]