Coerce object to be a siglist

Share:

Description

Coerces an object to be a siglist.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
as.siglist(x, ...)

## S3 method for class 'sig'
as.siglist(x, ...)

## S3 method for class 'list'
as.siglist(x, ...)

## S3 method for class 'siglist'
as.siglist(x, ...)

Arguments

x

Object to coerce.

...

Passed to other as.siglist methods.

Value

An object of class siglist.

See Also

as.sig

Examples

1
2
3
4
as.siglist(list(
  sig(mean),
  list(name = "fun", alist(x =,y = 1))
))