Description Usage Arguments Value Examples
"adoption" is an S3 class which indicates the
output of the function adoption.
The commands print and str give some nice output.
The command print additionally returns the output within a list.
1 2 3 4 |
x,object |
objects of S3 class |
level |
integer. If |
... |
optional arguments that are ignored |
give.attr |
logical. If |
The higher the level, the more details are
printed. The print out is also returned within an invisible list.
So, z <- print(adoption(), level=1) might make sense.
It uses essentially the basic str function.
str returns NULL
1 2 3 4 5 6 7 8 9 10 11 | RFoptions(cores=2) ## see package RandomFieldsUtils
## only the model definitions and the simulation result for the
## first model (Bass, '_set_') are returned; no pictures are drawn
str(adoption(gui=FALSE, printlevel=0))
## pictures are drawn and the result returned by 'adoption' is
## reduced to most revelant information (level=1). 'print' also
## returns this information in a list
z <- print(adoption(gui=FALSE), level=1)
str(z, give.attr=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.