OpasnetUtils/ComputeDependencies
From Testiwiki
Revision as of 10:34, 20 June 2012 by Teemu R (talk | contribs) (Created page with "{{method|moderator=|stub="yes"}} Category:OpasnetUtils ==Description== Uses Fetch2, EvalOutput, CheckMarginals and CheckInput to load and pre-process upstream variables. Ty...")
This page is a method.
The page identifier is Op_en5760 |
---|
Moderator:Nobody (see all) Click here to sign up. |
This page is a stub. You may improve it into a full page, and then a rating bar will appear here. |
Upload data
|
Description
Uses Fetch2, EvalOutput, CheckMarginals and CheckInput to load and pre-process upstream variables. Typically seen on the first line of ovariable formula code.
Code
# ComputeDependencies ############ uses Fetch2, EvalOutput, CheckMarginals and CheckInput to load and pre-process upstream variables # Typically seen on the first line of ovariable formula code. ComputeDependencies <- function(dependencies) { Fetch2(dependencies) for (i in dependencies$Name) { get(i)@output <- EvalOutput(get(i)) get(i)@marginals <- CheckMarginals(get(i)) get(i)@output <- CheckInput(get(i)) } } |