An Example of Layers Tne provider of user software has multiple layers to choose from in deciding what the end user "sees" as the data.
As an example, suppose we supply S users a function that extracts data from the call-detail database:
> calls("908 273") # calls from 908-273 exchangeTransparently to the user, what's actually happening is the invocation of a Corba method providing access to the call-detail database. We may want to think of the object returned by the calls function in different ways:What work has to be done, and by whom, so the user can transparently pass the object to other S functions?
a result set
- i.e., the Corba object satisfying the query; this can happen automatically, via dynamic discovery. No work by the designer needed.
a data frame
- the object the user expects, for example, if the result was an argument to a modelling function:
lm(Duration ~ Type + Start, data = calls("908 273"))
| Different Solutions | A Proposal | Start |