| To: | "internet" <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | |
| From: | "Coppenolle, Hans" <Hans.Coppenolle@AGR.KULEUVEN.AC.BE> |
| Date: | Fri, 27 Jul 2001 10:07:22 +0200 |
| Thread-index: | AcEWcynzZcqa4p/PQCeEOpzFT2cZrw== |
Hello
I am iteratively fitting a glm model
with weights argument within a function
a simple example
uu_function(datas){
aa_c(0.2,0.3,0.4,0.5,...)
for(i in 1:10){
glm(formula=formula,data=datas,weights=aa)
aa_c(0.5,0.2,0.8,0.7,...)
}
uu(datas)
the weights argument is however not updated during
the iteration if the iteration is performed
within the function...
if outside the function, everything is ok...
what can be the problem??
thank you in advance...
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re:, Abd Rahman Kassim |
|---|---|
| Next by Date: | Re: (scoping in glm), Prof Brian Ripley |
| Previous by Thread: | Re:, Abd Rahman Kassim |
| Next by Thread: | Re: (scoping in glm), Prof Brian Ripley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |