hello ( and sorry for my poor english ... )

I'm a newbie on R software and I need to obtain this kind of system :

a structure, like a liste :

my_struct <- list()
my_struct$a <- a_value
my_struct$b <- another_value
my_struct$c <- one_more_value

and a function with two args : the first is a instance of the structure, and the second is any component of the structure (here $a, $b or $c) and the function will do some transformations on this component :

my_func <- function(a_struct, a_comp)
{
a_comp <- transformationFunct(a_comp)
a_result <- someComputation(a_struct)


return(a_result) }

In reallity, the structure have lot of components (+/- 40) who are input parameters for a time discret model and this function is to do selective sensitivity analysis.

Thanks in advance for this information and thanks for doing a open high quality software.

Norbert

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to