search for: getinit

Displaying 3 results from an estimated 3 matches for "getinit".

Did you mean: setinit
2011 Jun 27
0
OpenBUGS and glmmBUGS package
...rio, ontario[["CSDUID"]]) library(glmmBUGS) forBugs = glmmBUGS(formula=observed + logExpected ~ 1, effects="CSDUID", family="poisson", spatial=popDataAdjMat, data=ontario at data, modelFile="model.txt") startingValues = forBugs$startingValues source("getInits.R") library(R2OpenBUGS) ontarioResult = bugs(forBugs$ragged, getInits, parameters.to.save = names(getInits()), model.file="model.txt", n.chain=3, n.iter=100, n.burnin=10, n.thin=2) ------------------------------------------- I got error message saying "Error in bugs.run(n.bu...
2013 Feb 06
1
[LLVMdev] Process the initializers of a C++ class properly
...lized by means of getMember <http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html#a877f0bab49ff048f7e0faddf3f528977> () method for each initializer. However, I want to have the initialization values themselves (a and 3.14...), then I tried to get the initializer expression (getInit <http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html#a6a232de857e5b703d4d21fc86588f77b> ()) and then cast it to CXXConstructExpr in order to try to get the arguments of the call to the constructors of A and f. The problem is that the method getInit() is not returning the...
2008 Aug 18
1
"nested" getInitial calls; variable scoping problems
...elling package from S-plus to R). Below I've reduced this to the minimum necessary to demonstrate my problem (I think); the real situation is more complicated. Two similar selfStart functions, ssA and ssB. The 'initial' function for ssB modifies its arguments a little and then calls getInital for ssA. In addition to the "x" and the fitted coefficients ("Coeff"), ssA and ssB have arguments ("A") which are not the same length as the dataframe, so cannot be passed as columns of that dataframe. The initial function for ssA uses eval(... parent.frame()) to...