powered by
Vectors implementation for logLik
# S3 method for logLik.logLik vec_ptype2(x, y, ...)# S3 method for logLik.logLik vec_cast(x, to, ...)
# S3 method for logLik.logLik vec_cast(x, to, ...)
A stats::logLik() vector.
stats::logLik()
Vector types.
These dots are for future extensions and must be empty.
Type to cast to. If NULL, x will be returned as is.
NULL
x
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