Learn R Programming

hce (version 0.7.0)

as_hce.default: Coerce a data frame to an hce object

Description

Coerce a data frame to an hce object

Usage

# S3 method for default
as_hce(x, ...)

Value

an hce object.

Arguments

x

an object.

...

additional parameters.

See Also

as_hce(), as_hce.data.frame().

Examples

Run this code
dat <- KHCE
class(dat) <- "moo" # non-existent class
as_hce(dat) # tries to convert to an hce object

Run the code above in your browser using DataLab