print,EventSeries-method | R Documentation |
EventSeries
-print methodPrints an EventSeries
## S4 method for signature 'EventSeries' print(x, type = "pretty", indices, round.value = 0, ...) ## S4 method for signature 'eventList,ANY,missing' x[i]
x |
An object of class |
This method prints an object of class EventSeries
in an formatted way.
Formatting options are provided each event's EventDate, EventType, EventValue, and state variables from the java-object to R (through rJava) and structures the data in an R-data.frame object.
An R-data.frame containing a the structured printout
ContractType, events
pam = Pam() set(pam, what=list( ContractID = "001", Currency = "CHF", ContractRole = "RPA", StatusDate = "2012-12-31T00", ContractDealDate = "2012-12-31T00", InitialExchangeDate = "2013-01-01T00", MaturityDate = "2013-03-31T00", NotionalPrincipal = 1000, NominalInterestRate = 0.01, DayCountConvention = "30E/360")) ad = AD0("2012-12-31T24") evs = events(pam, ad) class(evs) print(evs) print(evs, indices=c(-4,-9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.