predict.cosinor: Predict from a 'cosinor'

View source: R/cosinor-predict.R

predict.cosinorR Documentation

Predict from a cosinor

Description

Predict from a cosinor

Usage

## S3 method for class 'cosinor'
predict(object, new_data, type = "numeric", ...)

Arguments

object

A cosinor object.

new_data

A data frame or matrix of new predictors.

type

A single character. The type of predictions to generate. Valid options are:

  • "numeric" for numeric predictions.

...

Additional arguments passed to the prediction function

Value

A tibble of predictions. The number of rows in the tibble is guaranteed to be the same as the number of rows in new_data.


card documentation built on April 3, 2025, 10:52 p.m.