convert_SWIMw_to_SWIM: Convert SWIMw to SWIM

Description Usage Arguments Details Value Author(s) Examples

View source: R/class.R

Description

Convert SWIMw to SWIM

Usage

1

Arguments

object

A SWIMw object

Details

Convert a SWIMw object into a SWIM object

Value

A SWIM object containing:

See SWIM for details.

Author(s)

Kent Wu

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
set.seed(0)
x <- as.data.frame(cbind(
  "normal" = rnorm(1000),
  "gamma" = rgamma(1000, shape = 2)))
res1 <- stress_wass(type = "RM", x = x,
  alpha = 0.9, q_ratio = 1.05)
convert_SWIMw_to_SWIM(res1)

## End(Not run)

spesenti/SWIM documentation built on Jan. 15, 2022, 11:19 a.m.