Skip to contents

Deprecated Methods

Usage

as_long(from, ...)

# S4 method for matrix
as_long(from, factor = FALSE, reverse = FALSE)

confidence(object, ...)

# S4 method for numeric
confidence(object, level = 0.95, type = c("student", "normal"))

assert_numeric(x, expected, ...)

assert_trend(x, expected, ...)

assert_relation(x, y, expected, ...)

assert_matrix(x, expected)

remove_empty(x, margin = 1)

Arguments

from

An object to be coerced.

...

Extra parameters to be passed to internal methods.

factor

A logical scalar: should character string be coerced to factor? Default to FALSE, if TRUE the original ordering is preserved.

reverse

A logical scalar: should the order of factor levels be reversed? Only used if factor is TRUE. Useful for plotting.

object

A numeric vector.

level

A length-one numeric vector giving the confidence level. Must be a single number between \(0\) and \(1\).

type

A character string giving the type of confidence interval to be returned. It must be one "student" (the default) or "normal". Any unambiguous substring can be given.

x, y

A numeric object to be checked.

expected

A character string specifying the expected value (see details).

margin

A vector giving the subscripts which the function will be applied over (1 indicates rows, 2 indicates columns).

Author

N. Frerebeau