Learn R Programming

ruta (version 1.0.2)

as_loss: Coercion to ruta_loss

Description

Generic function to coerce objects into loss objects.

Usage

as_loss(x)

# S3 method for character as_loss(x)

# S3 method for ruta_loss as_loss(x)

Arguments

x

Object to be converted into a loss

Value

A "ruta_loss" construct