Displaying 2 results from an estimated 2 matches for "dcur".
Did you mean:
cur
2005 Nov 08
1
Can someone Help in nls() package
...7.8,170,202,210.4,221.2,224.4,248.2,266,
277,291.4,392,461.2,470,418,410.8,395.6,365.2,189.4,43.4,33.2,32,29,26,26,25.6,24.6,
24,23.4,18.4,17.6,15.8,13.6,10.6,8.4,6.4,5.4,4.2,3.6,2.7))
times<-c(0:60)
f <- function(t,xx,pars){
Cur<- xx[1]
Cum<- xx[2]
a <- pars[1]
b <- pars[2]
dCur <- a*Cur-b*Cur*Cum^2
dCum <- Cur
list(c(dCur,dCum))
}
require(nls)
fit <- nls(Cur ~ lsoda(c(Cur=1,Cum=1), times, f, c(a=a, b=b))[,2],
data=dat,
start=list(a=2.5, b=.01),
trace=T
)
print(coef(fit))
It runs the first iterations and shows the o...
2004 Sep 04
1
Dosemu and shorewall.
Hello..
I have a somewhat "funny" setup.
I use the dosemulator Dosemu for running a dos based packetradio nodeprogram
called Xrouter.
I setup dosemu to use my eth1 (lan) nic and i bring up a device called dsn0.
(this is all running on Slackware 9.1 without X)
insmod /etc/dosemu/dosnet.o
sleep 2
ifconfig dsn0 192.168.1.1 netmask 255.255.255.0
route add -host 192.168.1.2 dsn0
dosemu <