Learn R Programming

ruta (version 1.2.0)

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)

Value

A "ruta_loss" construct

Arguments

x

Object to be converted into a loss