multihyp: A multihyp object

Description See Also Public fields Methods Examples

Description

A multihyp object

A multihyp object

See Also

hyp

Public fields

data

A list of hyp objects

Methods

Public methods


Method new()

Create a multihyp object

Usage
multihyp$new(data)
Arguments
data

A list of hyp objects

Returns

A new multihyp object


Method print()

Print multihyp obect

Usage
multihyp$print()
Returns

NULL


Method as.list()

Print multihyp obect

Usage
multihyp$as.list()
Returns

A list of hyp objects as dataframes


Method clone()

The objects of this class are cloneable with this method.

Usage
multihyp$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

1
2
3
4
5
data <- data.frame(replicate(5,sample(0:1,10,rep=TRUE)))
args <- list("arg_1"=1, "arg_2"=2, "arg_3"=3)
hyp_obj <- hyp$new(data, args=args)
data <- list("hyp_1"=hyp_obj, "hyp_2"=hyp_obj,"hyp_3"=hyp_obj)
multihyp_obj <- multihyp$new(data)

hypeR documentation built on Nov. 8, 2020, 8:19 p.m.