AsCausalImpact: Coercion to a 'CausalImpact' object

as.CausalImpactR Documentation

Coercion to a CausalImpact object

Description

Method for coercing objects to class CausalImpact.

This function serves as a template to implement S3 methods for coercing other objects to CausalImpact objects in other packages. The function itself just dispatches a call to the appropriate S3 method.

Usage

  as.CausalImpact(x, ...)

Arguments

x

Any R object that should be coerced to a CausalImpact object.

...

Optional additional arguments (not currently used).

Author(s)

Kay H. Brodersen kbrodersen@google.com


CausalImpact documentation built on Nov. 10, 2022, 5:45 p.m.