Displaying 6 results from an estimated 6 matches for "x1n".
Did you mean:
x11
2006 Mar 27
1
Missing Argument in optim()
...anybody coud give me some advice
ll1<-function(rho,theta,beta1,beta2,beta3,beta4,t,Szenariosw5,Testfaellew5,X1,X2)
{
n<-length(t)
t<-cumsum(t)
tn<-t[length(t)]
Szenn<-Szenariosw5[length(Szenariosw5)]
Testn<-Testfaellew5[length(Testfaellew5)]
X1n<-X1[length(X1)]
X2n<-X2[length(X2)]
n/rho-(tn^theta)*(beta1*Szenn+beta2*Testn+beta3*X1n+beta4*X2n)
}
p0<-c(rho=1,theta=1,beta1=1,beta2=1,beta3=1,beta4=1)
optim(p0,fn=ll1,t=t,Szenariosw5=Szenariosw5,Testfaellew5=Testfaellew5,X1=X1,X2=X2)
i always got an error message: Argument &q...
2011 Feb 04
1
dataframes from a function
...e function to give me dataframes and
with unique names relating to the variable they are based on.
For example.....
sub<-c("6-1a","6-1a","6-1a","9-2b","9-2b","9-2b","7c","7c","7c")
yar<-rep(1991:1993,3)
x1n<-c(4,6,3,6,4,7,9,4,2)
y1m<-c(3,7,5,8,4,3,6,7,8)
prac<-data.frame(sub,yar,x1n,y1m)
plot.restrut<-function(org.plot,ex.plot) {
new.pl<-org.plot[org.plot$sub %in% ex.plot,]
new.pl.st<-new.pl[new.pl$yar %in% "1991",]
new.pl.fin<-new.pl[new.pl$yar %in% "1993",]...
2017 Feb 28
2
Dict protocol changes string
...tentional? Why?
> Hi!
>
> Dict protocol escapes you newlines. You are expected to de-escape them
> yourself.
>
> Following escapes are done, you can de-escape them with your client.
>
> \x00 => \x10
> \x01 => \x11
> \t => \x1t
> \r => \x1r
> \n => \x1n
>
>
Following up on this: dovecot 2.2.27 and 2.2.28 goes even further
(2.2.25 was OK).
If a user specifies a password with a % in it, dovecot silently
truncates it.
So for example if I specify (just to check this simple example is also bad):
key passdb {
key = %w
format = json
}
and...
2016 Jul 29
2
Dict protocol changes string
Hi,
I use pass and userdb with dict protocol in a similar way:
key passdb {
key = passdb^MAuth-User: %u^MAuth-Pass: %w^MAuth-Protocol:
%s^MClient-IP: %r
format = json
}
(^M is an \r character, inserted with vi CTRL-v + enter)
Until 2.2.24 this has worked, but 2.2.25 seems to convert that ASCII 13
into an ASCII 1 and an "r".
Python printout from what I get with 2.2.25:
2016 Sep 23
0
Dict protocol changes string
...\x01rClient-IP: 1.2.3.4'
>
> Is this change intentional? Why?
Hi!
Dict protocol escapes you newlines. You are expected to de-escape them
yourself.
Following escapes are done, you can de-escape them with your client.
\x00 => \x10
\x01 => \x11
\t => \x1t
\r => \x1r
\n => \x1n
The change has been made to avoid breakage if newlines or NULLs are
injected into the data.
Aki
2017 Mar 13
0
Dict protocol changes string
...ict protocol escapes you newlines. You are expected to de-escape them
>> yourself.
>>
>> Following escapes are done, you can de-escape them with your client.
>>
>> \x00 => \x10
>> \x01 => \x11
>> \t => \x1t
>> \r => \x1r
>> \n => \x1n
>>
>>
> Following up on this: dovecot 2.2.27 and 2.2.28 goes even further
> (2.2.25 was OK).
> If a user specifies a password with a % in it, dovecot silently
> truncates it.
> So for example if I specify (just to check this simple example is also
> bad):
> key pass...