Displaying 20 results from an estimated 893 matches for "d4".
Did you mean:
4d
2008 Jun 03
3
How to solve a non-linear system of equations using R
...would be greatly appreciated.
Thanks in advance,
Jorge
# ------------------------------
# Constants
# ------------------------------
l=1
m=0.4795
s=0.4795
# ------------------------------
# Functions to estimate f_i-k_i
# ------------------------------
f1=function(d){
d1=d[1]
d2=d[2]
d3=d[3]
d4=d[4]
res=2*d1+2*sqrt(2)*d1*d2+2*sqrt(3)*d2*d3+4*d3*d4-l*m*(1+d1^2+d2^2+d3^2+d4^2)
res
}
f2=function(d){
d1=d[1]
d2=d[2]
d3=d[3]
d4=d[4]
res=2*sqrt(2)*d2+2*d1^2+2*sqrt(6)*d1*d3+4*d2^2+4*sqrt(3)*d2*d4+6*d3^2+8*d4^2-l*(m^2+m^3*s^(-1))*(1+d1^2+d2^2+d3^2+d4^2)
res
}
f3=function(d){
d1=d[1]
d2=d[2]
d3=...
2009 Feb 22
2
how to recover a list structure
...oefficients that have to be zeroed ... but the names of vector "coef.abs.sorted" elements differes from the original "coef" list elements as shown in the following:
> names(coef.abs.sorted[1:10])
[1] "d6.d6(0)" "d5.d5(2)" "d5.d5(0)" "d4.d4(2)" "d5.d5(1)" "d4.d4(1)" "d4.d4(6)" "d4.d4(5)" "d4.d4(3)"
[10] "d3.d3(12)"
I wonder if there exists a high level command to set to zero respectively the coefficients in list "coef":
- Level=6, Oscillation-Number=0...
2012 Jan 03
1
Samba Freezes accessing shares/ low performance
...ackup
path = /bkp
read only = No
inherit acls = Yes
hide files = /Thumbs.db/lost+found
force create mode = 0770
directory mask = 0770
force user = root
force group = samba-domain-admins
browseable = no
*smbd.log*
Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03
4F D4 6A ........ .....O.j
[0010] 86 15 00 00 ....
[2012/01/03 20:53:40.219505, 4]
rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal)
Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03
4F D4 6A ........ .....O.j
[0010] 86 15 00...
2008 Nov 13
2
(no subject)
Hi,
Browse[1]> d4
EVDO_Rev Session_Setup FCA bin counts
50 NA 0 5 1 1
51 NA 0 5 2 1
52 NA 0 5 3 1
53 NA 0 5 4 1
54 NA 0 5 5 1
55 NA 0 5 6 1
56...
2009 Mar 20
4
how to make aggregation in R ?
...2 = c("a1", "a1", "a1", "a2", "a3", "b1", "b1", "b2",
"b2", "b2", "c1", "c2", "c2", "c2", "c3", "d1", "d2", "d3", "d4", "d4"),
n1 = 1:20,
n2 = 21:40 )
testDF <- orderBy( ~ v1+v2, data = testDF)
rownames(testDF) <- NULL
> testDF
v1 v2 n1 n2
1 a a1 1 21
2 a a1 2 22
3 a a1 3 23
4 a a2 4 24
5 a a3 5 25
6 b b1 6 26
7 b b1 7 27
8...
2013 May 21
0
[PATCH] 02-
...g 16 samples filtering at a time */
+ "vmlal.s16 q7, d8, d10;\n"
+ "vmlal.s16 q8, d8, d11;\n"
+ "vmlal.s16 q9, d8, d12;\n"
+ "vmlal.s16 q10, d8, d13;\n"
+
+ /* Reduce filter sum to 16 bits for y output */
+ "vrshrn.s32 d4, q7, %[SIGSHIFT];\n"
+ "vrshrn.s32 d5, q8, %[SIGSHIFT];\n"
+ "vrshrn.s32 d6, q9, %[SIGSHIFT];\n"
+ "vrshrn.s32 d7, q10, %[SIGSHIFT];\n"
+
+ "pld [%0, #0];\n"
+
+ /* Duplicate last x sample to q5 for next "previous" samp...
2012 Dec 21
2
dahdi timing source multiple cards
...alarms=OK
description=T4XXP (PCI) Card 0 Span 1
name=TE4/0/1
manufacturer=Digium
devicetype=Wildcard TE410P (3rd Gen) (VPMOCT128)
location=Board ID Switch 0
basechan=1
totchans=24
irq=225
type=digital-T1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI
framing_opts=ESF,D4
coding=B8ZS
framing=ESF
[2]
active=yes
alarms=OK
description=T4XXP (PCI) Card 0 Span 2
name=TE4/0/2
manufacturer=Digium
devicetype=Wildcard TE410P (3rd Gen) (VPMOCT128)
location=Board ID Switch 0
basechan=25
totchans=24
irq=225
type=digital-T1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DS...
2011 Apr 21
1
Help with matching rows
...cuse my akwardness as I a new to R and computers, but would kindly
appreciate help.
{
a <- sample (1:10,100,replace=T )
b <-sample(10:20,100,replace=T)
c <- sample(20:30,100,replace=T)
d <- sample(30:40,100,replace=T)
e <- sample(40:50,100,replace=T)
}
d1 <- a
d2 <- b
d3 <-c
d4 <- d
d5 <- e
data.frame(d1,d2,d3,d4,d5)
dd <- data.frame(d1,d2,d3,d4,d5)
dd
sd(d1)
summary(d1)
sd(d2)
summary(d2)
sd(d3)
summary(d3)
sd(d4)
summary(d4)
sd(d5)
summary(d5)
I am a beginner to R and am trying to learn statistical
probability. I have started Dr. Levine and Dr Kerns books.
So...
2003 Sep 07
0
µÚËĽ챱¾©³¯Ñô¹ú¼ÊÉÌÎñ½Ú
=BE=B4=C6=F4=D5=DF=A3=BA
=A1=B0=B5=DA=CB=C4=BD=EC=B1=B1=BE=A9=B3=AF=D1=F4=B9=FA=BC=CA=C9=CC=CE=F1=
=BD=DA=A1=B1=BD=AB=D3=DA2003=C4=EA10=D4=C2=D4=DA=B1=B1=BE=A9=BE=D9=B0=EC=A1=
=A3=BD=EC=CA=B1=A3=AC=B9=FA=BC=D2=C1=EC=B5=BC=C8=CB=A1=A2=CD=E2=B9=FA=D5=FE=
=D2=AA=BA=CD=C0=B4=D7=D4=C3=C0=A1=A2=B5=C2=A1=A2=B7=A8=A1=A2=B0=C4=B4=F3=C0=
=FB=D1=C7=B5=C8=B9=FA=B5=C4=C9=CC=CE=F1=B4=FA=B1=ED=CD=C5=BC=B0=C6=F3=D2=B5=
=BC=D2=BD=AB=DD=B0=C1=D9=B4=F3=...
2009 Feb 09
2
How to plot multiple graphs each with multiple y variables
I am new to R and have a problem that I haven't been able to find the answer to in the guides or online.
I have multiple datasets, D1, D2, D3, D4, D5, D6, D7 and D8, and I would like to produce two plots side by side using mfrow. The first plot should contain data from D1-D4, the second should contain D5-D8.
I can plot these separately using the code,
par(mfrow=c(1,1))
plot(c(0.000001,1),c(0,100),type="n", xlab="D", yl...
2013 May 21
2
[PATCH] 02-Add CELT filter optimizations
...g 16 samples filtering at a time */
+ "vmlal.s16 q7, d8, d10;\n"
+ "vmlal.s16 q8, d8, d11;\n"
+ "vmlal.s16 q9, d8, d12;\n"
+ "vmlal.s16 q10, d8, d13;\n"
+
+ /* Reduce filter sum to 16 bits for y output */
+ "vrshrn.s32 d4, q7, %[SIGSHIFT];\n"
+ "vrshrn.s32 d5, q8, %[SIGSHIFT];\n"
+ "vrshrn.s32 d6, q9, %[SIGSHIFT];\n"
+ "vrshrn.s32 d7, q10, %[SIGSHIFT];\n"
+
+ "pld [%0, #0];\n"
+
+ /* Duplicate last x sample to q5 for next "previous" samp...
2011 Jan 15
2
Rounding variables in a data frame
Hi All
I am trying to use the round function on some columns of a dataframe while
leaving others unchanged. I wish to specify those columns to leave
unchanged.
My attempt is below - here, I would like the column d3 to be left but
columns d1, d2 and d4 to be rounded to 0 decimal places. I would welcome any
suggestions for a nicer way of doing this.
d1= rnorm(10,10)
d2= rnorm(10,6)
d3= rnorm(10,2)
d4= rnorm(10,-4)
d = data.frame(d1,d2,d3,d4)
x= NULL
for (i in 1:ncol(d)){
if (colnames(d)[i] =="d3"){x[i] = d[i]
} else { x[i] = roun...
Which is the easiest (most elegant) way to force "aov" to treat numerical variables as categorical ?
2010 Jun 14
2
Which is the easiest (most elegant) way to force "aov" to treat numerical variables as categorical ?
...variables by "aov".
BRUTE FORCE SOLUTION
Manually transforming "cars" and "driver" into categorical variables, I obtain the correct result:
> DATA_AB
driver cars additive y
1 D1 C1 A 19
2 D2 C1 D 23
3 D3 C1 B 15
4 D4 C1 C 19
5 D1 C2 B 24
6 D2 C2 C 24
7 D3 C2 D 14
8 D4 C2 A 18
9 D1 C3 D 23
10 D2 C3 A 19
11 D3 C3 C 15
12 D4 C3 B 19
13 D1 C4 C 26
14 D2 C4 B 30
15 D3...
2011 May 17
2
Minimum value by ID
Hello,
I have a longitudinal dataset where each individual has a different number
of entries. Thus, it is of the following structure:
x <- runif(12)
id.var <- factor(c(rep("D1",4),rep("D2",2),rep("D3",3),rep("D4",3)))
dat <- as.data.frame(x)
dat$id.var <- id.var
dat
> dat
x id.var
1 0.9611269 D1
2 0.6738606 D1
3 0.9724301 D1
4 0.9787778 D1
5 0.2468355 D2
6 0.7031734 D2
7 0.2458727 D3
8 0.8439799 D3
9 0.5223196 D3
10 0.6930475...
2012 Nov 22
1
Data Extraction - benchmark()
...s to the rbecnhmark package.
I am sorry that I am bothering you again. I have tried to run your code (slightly tweaked) involving the benchmark function, and I am getting the following error message. What am I doing wrong?
Error in benchmark(d1 <- s1(df), d2 <- s2(df), d3 <- s3(df), d4 <- s4(df), :
could not find function "s1"
>
> identical (d1,d2), identical (d1,d3), identical (d1,d4), identical (d1,d5), identical (d1,d6)
Error: unexpected ',' in "identical (d1,d2),"
> sessionInfo ()
R version 2.15.1 (2012-06-22)
Platform: i386-pc-m...
2005 Oct 10
5
User unable to change their password using smbpasswd
May anyone help me solve the problem? I use samba 2.2.2 on Solaris 8
ngnvob02 [** NONE **]/export/home/sitlb $ cd /usr/local/samba/bin
ngnvob02 [** NONE **]/usr/local/samba/bin $ ./smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : =
ERRSRV - ERRbadpw.
Failed to change password for sitlb
But I can change the
2006 Mar 17
4
D4 AMI - No Caller ID
I currently have Asterisk deployed in my office with a TE411P. On the first port of this card is a T1 from the telco setup for D4 AMI. Unfortunately, I'm not receiving caller ID on inbound calls from this line. The caller ID information is arriving in the form *ANI*DNIS*. In zapata.conf, I have signalling set to em_w. The DNIS always arrives correctly, but I'm never receiving the ANI for caller ID. I'm starti...
2008 Mar 04
4
Mitel SX-200 + *
...Crossover cable and connected it like this:
PSTN--T1--ASTRISK--T1--OLD MITEL
-Crossover Cable Pin-out:
1 - 4
2 - 5
4 - 1
5 - 2
Mitel Settings:
Line Coding = B8ZS Framing = D4 (T1 Card 9109-021-001-NA)
(My config: span=1,1,0,d4,b8zs & e&m=1-24)
The card is a 24 channel T1 - not a PRI right? (T1 E&M Emulation Trunk:
1)
So does that mean I use E&M with Winkstart?
(signalling=em_w) (is this spelt right?)
(Wink sett...
2014 May 28
1
vnet device not appearing
...e to dedicate em4 to my new VM however when I create the bridge
like I did for the others I do not get a vnet3 device show up in the list
as shown below.
I tried using the GUI and virsh to create the bridge. I ended up with this
config:
[root@cbcvm network-scripts]# cat ifcfg-em4
DEVICE=em4
HWADDR=d4:ae:52:a1:53:a7
ONBOOT=yes
BRIDGE=www_br0
[root@cbcvm network-scripts]# cat ifcfg-www_br0
DEVICE=www_br0
ONBOOT=yes
TYPE=Bridge
STP=on
DELAY=0
[root@cbcvm network-scripts]# virsh iface-list
Name State MAC Address
--------------------------------------------
em1...
2009 Jul 20
1
Regression function lm() not giving proper results
...atch with SPSS results ,you
can find it out having a look at the coefficients sections of the result.my
variables were i1 and i2.*
*CASE-II*
Whereas if I do this the results produced are correct:--
> d1<-c(1,2,3,NA,6,7,8)
> d2<-c(2,3,4,3,1,2,2)
> d3<-c(2,1,2,1,2,1,3)
> d4<-c(5,6,2,1,1,2,2)
> d<-data.frame(d1,d2,d3,d4)
> d
d1 d2 d3 d4
1 1 2 2 5
2 2 3 1 6
3 3 4 2 2
4 NA 3 1 1
5 6 1 2 1
6 7 2 1 2
7 8 2 3 2
> fit<-lm(d1 ~ d2+d3+d4)
> summary(fit)
Call:
lm(formula = d1 ~ d2 + d3 + d4)
Residuals:...