Displaying 3 results from an estimated 3 matches for "vectorname".
Did you mean:
vector_name
2009 Nov 12
1
trap window pop up when running 'bugs' in R
...n [011D4F80H]
.argNum INTEGER 0
.bugsCommands ARRAY 240 OF CHAR "BugsCmds.SetOK; BugsCmds.Clear;
" ...
.p ARRAY 3, 120 OF CHAR Elements
.s BugsScanners.Scanner Fields
.scriptCommand ARRAY 240 OF CHAR "#Bugs:check" ...
.vectorName BOOLEAN FALSE
Services.Exec [00000136H]
.a Services.Action [011D4F80H]
.t POINTER [62AF0170H]
Services.IterateOverActions [000002F4H]
.p Services.Action [011D4F80H]
.t POINTER NIL
.time LONGINT 19009968
Services.StdHook.Step [0000034D...
2012 Jun 06
1
error calling Winbugs using R2WinBugs to run a multi-level model
...atible copy
BugsScript.Action.Do [00000436H]
.a BugsScript.Action [025B6790H]
.argNum INTEGER 0
.bugsCommands ARRAY 240 OF CHAR 7877X, 75A5X, 0B17X, 3701X ...
.p ARRAY 3, 120 OF CHAR Elements
.s BugsScanners.Scanner Fields
.scriptCommand ARRAY 240 OF CHAR "#Bugs:check" ...
.vectorName BOOLEAN FALSE
Services.Exec [00000136H]
.a Services.Action [025B6790H]
.t POINTER [64E10170H]
Services.IterateOverActions [000002F4H]
.p Services.Action [025B6790H]
.t POINTER NIL
.time LONGINT 4375656
Services.StdHook.Step [0000034DH]
.h Services.StdHook [0248E380H]
HostWindows.Idl...
2005 Mar 26
1
Function Arguments
Hello,
I am trying to wrap some code that I repeatedly use into a function for efficiency. The following is a toy example simply to illustrate the problem.
foobar.fun<-function(data,idvar,dv){
id.list<-unique(idvar)
result<-numeric(0)
for (i in id.list){
tmp1<-subset(data, idvar == i)
result[i]<-mean(get("tmp1")[[dv]])
}
return(result)
}
The