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


google/CausalImpact documentation built on Nov. 14, 2022, 2:57 p.m.