search for: brunelli

Displaying 5 results from an estimated 5 matches for "brunelli".

Did you mean: brunelle
2007 May 28
2
S4 object slot of type 'call'
...I would like to be able to initialize it with something like NULL or NA (indicating that there is no information in the slot) but the value should comply with the fact that it must be of type call. Is there any simple way to obtain this? Thanks for any hint, Roberto -- <r/> | Roberto Brunelli - [scientist at Fondazione Bruno Kessler-irst] | 'Home can be anywhere, for it is a part of one's self' ------------------ ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler ITC -> since 1 March 2007 Fondazione Bruno Kessler
2007 May 31
1
Selective 'expansion' of arguments in a match.call() result ...
...t;- 1 > example(a, document = 1) [1] "Roberto" example(name = a, document = 1) > example(a, document = 2) [1] "Roberto" example(name = "Roberto", document = 2) > example(b, document = 2) [1] 1 example(name = b, document = 2) > -- <r/> | Roberto Brunelli - [scientist at Fondazione Bruno Kessler-irst] | 'Home can be anywhere, for it is a part of one's self' ------------------ ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler ITC -> since 1 March 2007 Fondazione Bruno Kessler
2008 Nov 19
2
do.call and plotting functions ...
I'm trying to write a simple wrapper for plotting functions to make them print to postscript, something like ploteps <- function(file, plotFunction, ...) { args <- list(bquote(...)) # prepare postscript device do.call(plot, args) # close postscript device } I have inserted the bquote otherwise I get a lot of numbers in the plot when I plot/hist something. But if I invoke
2008 Nov 07
2
Applying a function to a list of arguments ...
How can I apply function f, that I get as an argument as in func <- function(f, ...) { . . . } to a list of arguments list(a, b, c) (eg the ... argument of func above) in order to obtain f(a, b, c) Thanks a lot, Roberto [[alternative HTML version deleted]]
2012 Jun 21
1
Writing 'domain specific languages' with R
I would like to port to R the IPAT-S language, kind of a 'domain specific' scripting language for developing quantitative models for medium and long-term sustainability scenarios (www.ipat-s.org). I think that in order to replicate its syntax I need some kind of 'macro' functionality to reparse it into R constructs. Are there any examples of tweaking R to support a domain specific