Learn R Programming

tidychangepoint (version 1.0.1)

vec_ptype2.logLik.logLik: Vectors implementation for logLik

Description

Vectors implementation for logLik

Usage

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

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

Value

A stats::logLik() vector.

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.

See Also

Examples

Run this code
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)

Run the code above in your browser using DataLab