Displaying 5 results from an estimated 5 matches for "devfun".
Did you mean:
devfn
2018 Jan 23
0
interaction term by a factor group in gamm4
.....
library(gamm4)
model<-gamm4(LIFE.OE_spring~s(ResidualQ95, by=super.end.group)+t2(ResidualQ95, Hms_Rsctned, by=super.end.group)+Year +Hms_Poaching +X.broadleaved_woodland +X.urban.suburban +X.CapWks, data=dat, random=~(1|WATERBODY_ID/SITE_ID))
#Warning messages:
#1: In optwrap(optimizer, devfun, getStart(start, rho$lower, rho$pp), :
# convergence code 1 from bobyqa: bobyqa -- maximum number of function evaluations exceeded
#2: In optwrap(optimizer, devfun, opt$par, lower = rho$lower, control = control, :
# convergence code 1 from bobyqa: bobyqa -- maximum number of function evaluat...
2010 Apr 06
1
estimating the starting value within a ODE using nls and lsoda
...the model using nls:
fit.rk4 <- nls(noisy ~ rk4(p4, time, minmod, parms=c(p1,p2,p3))
However, my goal is to not only estimate p1, p2 and p3, but also to estimate the starting value p4 from the data.
I am currently using the following procedure using optim to accomplish this:
step 1 (define a DevFun to optimize):
DevFunc <- function(p4) {
fit.rk4 <- nls(noisy ~ rk4(p4, time, ODE.model, params)
r <- deviance(fit.rk4)
r
}
step 2 (optimize with optim):
fit <- optim(inits, DevFunc, method="L-BFGS-B", hessian=T, lower=lower, upper=upper)
I have explored this via simulatio...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...re, fetch slot, bus, cap... */
slot_ptr = hpc_ptr->slots;
@@ -862,9 +906,10 @@ static int __init ebda_rsrc_controller (void)
hpc_ptr->u.pci_ctlr.dev_fun = readb (io_mem + addr + 1);
hpc_ptr->irq = readb (io_mem + addr + 2);
addr += 3;
- debug ("ctrl bus = %x, ctlr devfun = %x, irq = %x\n",
- hpc_ptr->u.pci_ctlr.bus,
- hpc_ptr->u.pci_ctlr.dev_fun, hpc_ptr->irq);
+ debug("ctrl bus = %x, ctlr devfun = %x, irq = %x\n",
+ hpc_ptr->u.pci_ctlr.bus,
+ hpc_ptr->u.pci_ctlr.dev_fun,
+ hpc_ptr->irq);...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...re, fetch slot, bus, cap... */
slot_ptr = hpc_ptr->slots;
@@ -862,9 +906,10 @@ static int __init ebda_rsrc_controller (void)
hpc_ptr->u.pci_ctlr.dev_fun = readb (io_mem + addr + 1);
hpc_ptr->irq = readb (io_mem + addr + 2);
addr += 3;
- debug ("ctrl bus = %x, ctlr devfun = %x, irq = %x\n",
- hpc_ptr->u.pci_ctlr.bus,
- hpc_ptr->u.pci_ctlr.dev_fun, hpc_ptr->irq);
+ debug("ctrl bus = %x, ctlr devfun = %x, irq = %x\n",
+ hpc_ptr->u.pci_ctlr.bus,
+ hpc_ptr->u.pci_ctlr.dev_fun,
+ hpc_ptr->irq);...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...re, fetch slot, bus, cap... */
slot_ptr = hpc_ptr->slots;
@@ -862,9 +906,10 @@ static int __init ebda_rsrc_controller (void)
hpc_ptr->u.pci_ctlr.dev_fun = readb (io_mem + addr + 1);
hpc_ptr->irq = readb (io_mem + addr + 2);
addr += 3;
- debug ("ctrl bus = %x, ctlr devfun = %x, irq = %x\n",
- hpc_ptr->u.pci_ctlr.bus,
- hpc_ptr->u.pci_ctlr.dev_fun, hpc_ptr->irq);
+ debug("ctrl bus = %x, ctlr devfun = %x, irq = %x\n",
+ hpc_ptr->u.pci_ctlr.bus,
+ hpc_ptr->u.pci_ctlr.dev_fun,
+ hpc_ptr->irq);...