Displaying 20 results from an estimated 86 matches for "a14".
Did you mean:
14
2017 Dec 14
1
match and new columns
Hi Bill,
I put stringsAsFactors = FALSE
still did not work.
tdat <- read.table(textConnection("A B C Y
A12 B03 C04 0.70
A23 B05 C06 0.05
A14 B06 C07 1.20
A25 A23 A12 3.51
A16 A25 A14 2,16"),header = TRUE ,stringsAsFactors = FALSE)
tdat$D <- 0
tdat$E <- 0
tdat$D <- (ifelse(tdat$B %in% tdat$A, tdat$A[tdat$B], 0))
tdat$E <- (ifelse(tdat$B %in% tdat$A, tdat$A[tdat$C], 0))
tdat
I got this,
A B C Y D E
1 A12 B03...
2017 Dec 13
2
match and new columns
Thank you Rui,
I did not get the desired result. Here is the output from your script
A B C Y D E
1 A12 B03 C04 0.70 0 0
2 A23 B05 C06 0.05 0 0
3 A14 B06 C07 1.20 0 0
4 A25 A23 A12 3.51 1 1
5 A16 A25 A14 2,16 4 4
On Wed, Dec 13, 2017 at 4:36 PM, Rui Barradas <ruipbarradas at sapo.pt> wrote:
> Hello,
>
> Here is one way.
>
> tdat$D <- ifelse(tdat$B %in% tdat$A, tdat$A[tdat$B], 0)
> tdat$E <- ifelse(tdat$B %in% tda...
2017 Dec 13
3
match and new columns
Hi all,
I have a data frame
tdat <- read.table(textConnection("A B C Y
A12 B03 C04 0.70
A23 B05 C06 0.05
A14 B06 C07 1.20
A25 A23 A12 3.51
A16 A25 A14 2,16"),header = TRUE)
I want match tdat$B with tdat$A and populate the column values of tdat$A
( col A and Col B) in the newly created columns (col D and col E). please
find my attempt and the desired output below
Desired output
A B C Y D E
A12...
2017 Dec 14
0
match and new columns
...TIBCO Software
wdunlap tibco.com
On Wed, Dec 13, 2017 at 3:02 PM, Val <valkremk at gmail.com> wrote:
> Thank you Rui,
> I did not get the desired result. Here is the output from your script
>
> A B C Y D E
> 1 A12 B03 C04 0.70 0 0
> 2 A23 B05 C06 0.05 0 0
> 3 A14 B06 C07 1.20 0 0
> 4 A25 A23 A12 3.51 1 1
> 5 A16 A25 A14 2,16 4 4
>
>
> On Wed, Dec 13, 2017 at 4:36 PM, Rui Barradas <ruipbarradas at sapo.pt>
> wrote:
>
> > Hello,
> >
> > Here is one way.
> >
> > tdat$D <- ifelse(tdat$B %in% tdat$A, td...
2008 Jan 20
3
Logical test and look up table
...s). I would like to associate each name with a
particular Type (coded as 1,2,3,4,H or H1) in a second column. Is it
possible to do a lookup table of associations (i.e. A23 is of type 1, A13
is of type 3 ...) so as to fill up automatically the $Type column.
df()
$Source $Type
A23
A24
A9
A32
A25
A14
A10
A12
A11
A13
G
Alternative solutions are also welcome.
Thanks in advance
P.S. I found a discussion mentioning match() and %in% but it does not seem
adapted.
--
Nikola Markov
Inserm U 846 Stem cells and brain research institute
18 av Du Doyen Lepine
69500 Bron
France
2017 Dec 13
0
match and new columns
...t$A, tdat$A[tdat$B], 0)
tdat$E <- ifelse(tdat$B %in% tdat$A, tdat$A[tdat$C], 0)
Hope this helps,
Rui Barradas
On 12/13/2017 9:36 PM, Val wrote:
> Hi all,
>
> I have a data frame
> tdat <- read.table(textConnection("A B C Y
> A12 B03 C04 0.70
> A23 B05 C06 0.05
> A14 B06 C07 1.20
> A25 A23 A12 3.51
> A16 A25 A14 2,16"),header = TRUE)
>
> I want match tdat$B with tdat$A and populate the column values of tdat$A
> ( col A and Col B) in the newly created columns (col D and col E). please
> find my attempt and the desired output below
&g...
2009 Jul 10
3
strange strsplit gsub problem 0 is this a bug or a string length limitation?
...truncated and I only get 85 items, not 113.
Is it due to a string length limitation in R or is it a bug in the strsplit
or gsub functions, or in my string?
I'd very much appreciate any suggestions
============Input script:
backtestFormula<-SPX~A1+A2+A3+A4+A5+A6+A7+A8+A9+A10+A11+A12+A13+A14+A15+A16+A17+A18+A19+A20+A21+A22+A23+A24+A25+A26+A27+A28+A29+A30+A31+A32+A33+A34+A35+A36+A37+A38+A39+A40+A41+A42+A43+A44+A45+A46+A47+A48+A49+A50+A51+A52+A53+A54+A55+A56+A57+A58+A59+A60+A61+A62+A63+A64+A65+A66+A67+A68+A69+A70+A71+A72+A73+A74+A75+A76+A77+A78+A79+A80+A81+A82+A83+A84+A85+A86+A87+A88+A89...
2010 May 27
1
stripplot, lattice
...quot;, "a"),col=1,
scales = list(y=list(cex=c(rep(0.5,39))),x = list(rot =
90,labels=c("Surr.","Gap"))))
my data:
stage site plot gap rich
A A12 A12SW 0 0
A A11 A11NO 0 2
A A11 A11NW 0 3
A A11 A11SO 0 2
A A11 A11SW 0 2
A A12 A12NO 0 1
A A12 A12NW 0 2
A A12 A12SO 0 1
A A14 A14NO 0 1
A A14 A14NW 0 1
A A14 A14SO 0 1
A A14 A14SW 0 0
A A15 A15NO 0 1
A A15 A15NW 0 3
A A15 A15SO 0 3
A A15 A15SW 0 3
A A16 A16NW 0 1
A A17 A17NO 0 2
A A17 A17NW 0 3
A A17 A17SO 0 7
A A17 A17SW 0 4
A A18 A18NW 0 2
A A18 A18SO 0 1
A A18 A18SW 0 3
A A19 A19NO 0 2
A A19 A19NW 0 2
A A19 A19SO 0 2
A...
2005 Jul 07
3
What method I should to use for these data?
Dear R user:
I am studying the allele data of two populations.
the following is the data:
a1 a2 a3 a4 a5 a6 a7 a8 a9
a10 a11 a12 a13 a14 a15 a16 a17
pop1 0.0217 0.0000 0.0109 0.0435 0.0435 0.0000 0.0109 0.0543
0.1739 0.0761 0.1413 0.1522 0.1087 0.0870 0.0435 0.0217 0.0109
pop2 0.0213 0.0213 0.0000 0.0000 0.0000 0.0426 0.1702 0.2128
0.1596 0.1809 0.0957 0.0745 0.0106 0.0106 0.0000 0.0000 0.0000
a1,a2...
2011 Jul 05
3
[LLVMdev] optimizer returning wrong variable?
...ond, label %Repeat2, label %Untilcmp2
Untilcmp2: ; preds = %Until2
%x11 = load i32* %x
%add12 = add i32 %x11, 1
store i32 %add12, i32* %x
br label %Until1
Until1: ; preds = %Untilcmp2
%x13 = load i32* %x
%a14 = load i32* %a1
%cond15 = icmp sge i32 %x13, %a14
br i1 %cond15, label %Repeat1, label %Untilcmp1
Untilcmp1: ; preds = %Until1
%c16 = load i32* %c
ret i32 %c16
}
verifying module
Optimize Function
Run in JIT
Jit Result: = 0
should = 325
dump the...
2007 Mar 10
3
long character string problem
...t programs, which I tested with strings that for some
reason do not have these double quotes (see very bottom).
> cum1
[1]
"A11*(X11*x1+X21*x2)+1*sqrt(B11*(X11*x1+X21*x2)^2+C11)A12*(X12*x1+X22*x2)+1*sqrt(B12*(X12*x1+X22*x2)^2+C12)A13*(X13*x1+X23*x2)+-1*sqrt(B13*(X13*x1+X23*x2)^2+C13)A14*(X14*x1+X24*x2)+-1*sqrt(B14*(X14*x1+X24*x2)^2+C14)A15*(X15*x1+X25*x2)+1*sqrt(B15*(X15*x1+X25*x2)^2+C15)A16*(X16*x1+X26*x2)+1*sqrt(B16*(X16*x1+X26*x2)^2+C16)A17*(X17*x1+X27*x2)+1*sqrt(B17*(X17*x1+X27*x2)^2+C17)A18*(X18*x1+X28*x2)+1*sqrt(B18*(X18*x1+X28*x2)^2+C18)A19*(X19*x1+X29*x2)+-1*sqrt(B19*(X19*...
2003 May 27
1
(no subject)
Running 1.0pre8 on FreeBSD 4.8, I can successfully connect to the remote
side, but packets (icmp, telnet etc) all get logged with:
May 27 20:44:06 ptp tinc.vpn[75998]: Cannot route packet: unknown type a14
The following is logged after running # tincd -n vpn -d5
Thanks for any help!!
May 27 20:38:03 ptp tinc.vpn[75998]: System call `waitpid' failed:
Interrupted system call
May 27 20:38:03 ptp tinc.vpn[75998]: Listening on 0.0.0.0 port 655
May 27 20:38:03 ptp tinc.vpn[75998]: Ready
May 27 20:38...
2012 Aug 21
0
Upgrade 4.0.0alpha14
...the wiki it mentions that I should get advice before trying this
from this list - so anything you can provide me with would be appreciated!
I pencilled out two options (are either feasible?):
1) Create new remote host, install v4 B6, join to existing domain, and
shift FSMO roles. Then, remove v4 A14 from the domain - and hey presto.
2) Remove v4 A14 from the machine, but preserve databases. Install v4 B6,
and attempt to upgrade the databases somehow (but I wouldn't know how to
start with that).
The current v4 A14 install was not upgraded from an earlier version - it
was installed fresh....
2004 Oct 06
4
Cpu bandwidth for Speex on Win32 platforms
...syntax, so you might have to do some of your own translation to
>something your compiler understands.
We submitted an intel patch a ways back- maybe it is in the archives
somewhere...
Tom
--
Tom Harper - tharper@sightspeed.com
Lead Software Engineer
SightSpeed, Inc.
918 Parker St, Suite A14
Berkeley, CA 94710
Phone: 510.665.2920
Cell: 415.378.3779
web: http://www.sightspeed.com
video: http://tom.sightspeed.com/
2011 Jul 05
0
[LLVMdev] optimizer returning wrong variable?
...%cond = icmp sge i32 %y9, %b10
> br i1 %cond, label %Repeat2, label %Untilcmp2
>
> Untilcmp2: ; preds = %Until2
> %x11 = load i32* %x
> %add12 = add i32 %x11, 1
> store i32 %add12, i32* %x
> br label %Until1
>
> Until1: ; preds = %Untilcmp2
> %x13 = load i32* %x
> %a14 = load i32* %a1
> %cond15 = icmp sge i32 %x13, %a14
> br i1 %cond15, label %Repeat1, label %Untilcmp1
>
> Untilcmp1: ; preds = %Until1
> %c16 = load i32* %c
> ret i32 %c16
> }
>
> verifying module
> Optimize Function
> Run in JIT
> Jit Result: = 0
> should = 3...
2012 Mar 28
6
How to get all possible combinations?
Dear all, suppose I have a vector with elements as:
Vec <- c(2,3,4,5,6)
Now I want to have all possible combination of length 3 using those
elements and without any repetition. Like, I want to have 1
possibility like 2-3-4 but not 3-2-4.
Can somebody guide me how to achieve that in R?
Thanks for your help.
2005 Oct 25
1
(small) bug in nb_decode?
...heck isn't in my code base and it was in
nb_decode_lost, and nb_encode- so I figured it was just an oversight-
Tom
______________________________________________
Tom Harper
Lead Software Engineer
SightSpeed - <http://www.sightspeed.com/>http://www.sightspeed.com/
918 Parker St, Suite A14
Berkeley, CA 94710
Email: tharper@sightspeed.com
Phone: 510-665-2920
Fax: 510-649-9569
My SightSpeed Video Link: http://tom.sightspeed.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20051025/fde1868b/attachm...
2005 Oct 26
1
subversion link incorrect
...x.org/download.html page
should probably point to:
http://www.xiph.org/svn/
rather than:
http://xiph.org/svn.html
Tom
______________________________________________
Tom Harper
Lead Software Engineer
SightSpeed - <http://www.sightspeed.com/>http://www.sightspeed.com/
918 Parker St, Suite A14
Berkeley, CA 94710
Email: tharper@sightspeed.com
Phone: 510-665-2920
Fax: 510-649-9569
My SightSpeed Video Link: http://tom.sightspeed.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20051026/ab8b48a1/attachm...
2006 Apr 27
2
summer of code
Congrats Jean Marc,
Just heard you got a new google assistant for the Ghost project!
Tom
______________________________________________
Tom Harper
Lead Software Engineer
SightSpeed - <http://www.sightspeed.com/>http://www.sightspeed.com/
918 Parker St, Suite A14
Berkeley, CA 94710
Email: tharper@sightspeed.com
Phone: 510-665-2920
Fax: 510-649-9569
My SightSpeed Video Link: http://tom.sightspeed.com
2006 Oct 24
2
vad changes
...ritten. Is there a plan as far as this goes?
Just wondering as the current one seems to work pretty well.
Thanks!
Tom
______________________________________________
Tom Harper
Lead Software Engineer
SightSpeed - <http://www.sightspeed.com/>http://www.sightspeed.com/
918 Parker St, Suite A14
Berkeley, CA 94710
Email: tharper@sightspeed.com
Phone: 510-665-2920
Fax: 510-649-9569
My SightSpeed Video Link: http://tom.sightspeed.com