vec_ptype2.logLik.logLik: Vectors implementation for logLik

View source: R/utils.R

vec_ptype2.logLik.logLikR 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)

tidychangepoint documentation built on April 4, 2025, 4:31 a.m.