vec_ptype2.logLik.logLik {tidychangepoint}R Documentation

Vectors implementation for logLik

Description

Vectors implementation for logLik

Usage

## S3 method for class 'logLik.logLik'
vec_ptype2(x, y, ...)

## S3 method for class 'logLik.logLik'
vec_cast(x, to, ...)

Arguments

x, y

Vector types.

...

These dots are for future extensions and must be empty.

to

Type to cast to. If NULL, x will be returned as is.

Value

A stats::logLik() vector.

See Also

stats::logLik()

Examples

a <- logLik(lm(mpg ~ disp, data = mtcars))
b <- logLik(lm(mpg ~ am, data = mtcars))
vec_ptype2(a, b)
c(a, b)
vec_cast(a, b)

[Package tidychangepoint version 1.0.1 Index]