Learn R Programming

timeSeries (version 3011.98)

comment: comment for timeSeries objects

Description

Print or assign new comment to a timeSeries object.

Usage

## S3 method for class 'timeSeries':
comment(x)
## S3 method for class 'timeSeries':
comment(x) <- value

Arguments

x
a timeSeries object.
value
a character string - the comment.

Examples

Run this code
## Get Description from timeSeries -
   comment(LPP2005REC)
   
## Add User to comment -
   comment(LPP2005REC) <- paste(comment(LPP2005REC), "by User Rmetrics")
   comment(LPP2005REC)

Run the code above in your browser using DataLab