Displaying 20 results from an estimated 418 matches for "ascend".
2004 Dec 23
1
searching Jonathan Baron's R Site
...r normal or short")
format <- paste("result=", switch(format, "normal", "short"), sep="")
sortby <- charmatch(sortby, c("score", "date:late", "date:early",
"field:subject:ascending", "field:subject:decending",
"field:from:ascending", "field:from:decending",
"field:size:ascending", "field:size:decending",
"field:ur...
2011 May 01
2
bwplot in ascending order
Can anyone point me to examples with R code where bwplot in lattice is used to order the boxes in ascending order? I have found the following discussion and it partly works. But, I have a conditioning variable, so my example is more like
bwplot(var1 ~ var2|condition, dat)
Th example in the discussion below works only when there is not a conditioning variable as far as I can tell. I can tweak the exa...
2007 Nov 18
1
how to sort a data.frame by ascending some columns
Dear list,
I have a data frame (238304 rows and 6 columns). I want the data frame
sorted by two columns in ascending order. I am showing
the first 5 rows of the data frame
> clones.info[1:5,1:6]
USER_CLONE_ID CHROMOSOME Expr1002 KB_POSITION Allele_A WELL_ID
1 SNP_A-1855402 17 41419603 41419603 C rs17572851
2 SNP_A-4249904 17 41420045 41420045 A rs17572893
3 SNP_A-2174835 18 41407760 41407760 C rs17651...
2011 Feb 09
3
[LLVMdev] Lowering "memcpy" intrinsic function on ARM using LDMIA/STMIA
Hi,
llvm emits code for "memcpy" on ARM as consecutive ldr/str commands, and
further combines them into ldm/stm with special pass after register
allocation. But ldm/stm commands require registers to go in ascending
order, what is often not so after regalloc, therefore some str/ldr
commands. For example such code:
struct Foo {int a, b, c, d; }
void CopyStruct(struct Foo *a, struct Foo *b) { *a = *b; }
compiled to:
ldmia r1, {r2, r3, r12}
ldr r1, [r1, #12]
stmia r0, {r2, r3, r12}
str r1, [r0...
2003 Jan 14
4
density plot - beginner's question
...onal grid. My
data is in the an external file, and is arranged in three columns:
x, y, density
how may i get a plot of this? i would like to get (1) a three
dimensional plot and (2) a color coded two dimensional plot.
I have tried using
image(x, y, density)
but i am asked to put the data in ascending order. i am not sure
how i may put grid points in an ascending order.
I would also like to know if i could use any other function, other
than image.
thank you in advance.
--
saurav
2007 Mar 09
4
[PATCH] dump-core: store .xen_p2m or .xen_pfn section in pfn ascending order.
dump-core: store .xen_p2m or .xen_pfn section in pfn ascending order.
So far the order isn''t specified and may be random in theory.
But sorted array is requested by crash utility for efficient looking up.
Fortunately it is the case except ia64 full virtualized domain.
Update document such that those array must be sorted and fix the ia64
full virtua...
2010 May 23
2
tricky perl question - ascending order
or maybe in bash..
script/"one liner" e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ
i want to make this output from it:
http://pastebin.com/raw.php?i=kH8VxT0A
So from the input, i want to make an ascendant order, how many things
are under a "SOMETHING-XX"
Does anyone has any "perl magic" in the pocket, how to do this? :D
Thank you very, very much..:\
2011 Feb 09
3
[LLVMdev] Lowering "memcpy" intrinsic function on ARM using LDMIA/STMIA
...s not a good idea, because often (especially
in cases of small chunks of memory) consecutive ldm/stm instructions are
more efficient than memcpy call.
>> further combines them into ldm/stm with special pass after register
>> allocation. But ldm/stm commands require registers to go in ascending order,
>> what is often not so after regalloc, therefore some str/ldr commands. For
>> example such code:
>>
>> struct Foo {int a, b, c, d; }
>> void CopyStruct(struct Foo *a, struct Foo *b) { *a = *b; }
>>
>> compiled to:
>>
>> ldmia r1,...
2009 May 27
3
Sort matrix by column 1 ascending then by column 2 decending
I've got a matrix with 2 columns and n rows. I need to sort it first
by the values in column 1 ascending. Then for values which are the
same in column 1, sort by column 2 decending. For example:
2 .5
1 .3
1 .5
3 .2
Goes to:
1 .5
1 .3
2 .5
3 .2
This is easy to do in spreadsheet programs but I can't seem to work
out how to do it in R and haven't been able to find a solution
anywhere.
Th...
2005 Jan 14
1
how to produce 2-d color plots in R
Hello 'R' Users,
I am very new on 'R', so excuse me if I ask something wrong.
I have ASCII data and the colums of the data are looks like :-
!-------------------------
time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2model
--
-
--
!----------------------------
Each column has data value. Now I want to produce 2-d color maps,
for example the plot should look like :-
on
2011 Aug 11
3
Fwd: Re: what is the fastest way to fetch results which are sorted by timestamp ?
...t; Hi,
>
> In terms of the enquiry, do you mean this?:
> set_weighting_scheme(Xapian::BoolWeight());
> set_docid_order(Xapian::Enquire::DESCENDING);
>
>
In my test, it is more than 10 times slower than :
set_weighting_scheme(Xapian::BoolWeight());
set_docid_order(Xapian::Enquire::ASCENDING);
Why?
What's the most efficient process to build multiple Xapian indexes? Can
> the "relevance" index provide any hints to building the sorted indexes?
>
> Cheers,
> Tim.
>
> On Tue, 2011-08-09 at 18:04 +0100, Richard Boulton wrote:
> > On 9 August 2011 1...
2011 Feb 09
0
[LLVMdev] Lowering "memcpy" intrinsic function on ARM using LDMIA/STMIA
...ecause often (especially
> in cases of small chunks of memory) consecutive ldm/stm instructions are
> more efficient than memcpy call.
>
>>> further combines them into ldm/stm with special pass after register
>>> allocation. But ldm/stm commands require registers to go in ascending order,
>>> what is often not so after regalloc, therefore some str/ldr commands. For
>>> example such code:
>>>
>>> struct Foo {int a, b, c, d; }
>>> void CopyStruct(struct Foo *a, struct Foo *b) { *a = *b; }
>>>
>>> compiled to:
>...
2005 Aug 19
2
Ascend Pipeline POTS to TDM400P FXO Question..
I have a TDM400P with some FXO ports, and I wanted to connect the two POTS
lines from my Pipeline-75 ISDN router into the FXO interfaces on my Asterisk
server.
Hooked it up, seemed fine, called in and it answered. The problem is when
the call is hung up on, the FXO port never drops. So of course then the P75
just holds the line off hook and you get a busy. So it's good for the first
2001 Jan 12
1
sorting ascending descending! & THX@coling
THX.
You are right!!
a[order(-1*a)]
[1] 110 23 4 3 2
Eryk
coling wrote:
> Hi,
>
> I know very little of R, but one suggestion could be to multiply your list
> by "-1", then order, then multiply by "-1" again.
>
> Not very nice I realize. But it's "better than a poke in the eye with a
> sharp stick" as a wise man once
2010 Jun 10
2
adding column of ordered numbers to matrix
Hello everyone,
I have a matrix of over 40000 line and about 30 columns.
For my analysis I would like to add another column with ascending numbers
(column header should be "order", and than 1,2,3,4 ....the end of the
matrix).
During my analysis I reorder them ( due to merge commands by a different
column).
How do I add such a column in an ascending order (or descending for what it
matters)?
THX
Assa
[[alternative HTM...
2011 Feb 09
0
[LLVMdev] Lowering "memcpy" intrinsic function on ARM using LDMIA/STMIA
...ot; on ARM as consecutive ldr/str commands, and
Hmm, this happens elsewhere as well (x86?). Perhaps what we need is a
switch to disable memset/memcpy lowering?
> further combines them into ldm/stm with special pass after register
> allocation. But ldm/stm commands require registers to go in ascending order,
> what is often not so after regalloc, therefore some str/ldr commands. For
> example such code:
>
> struct Foo {int a, b, c, d; }
> void CopyStruct(struct Foo *a, struct Foo *b) { *a = *b; }
>
> compiled to:
>
> ldmia r1, {r2, r3, r12}
> ldr r1, [r1, #...
2006 Oct 15
3
sort question in a dataset?
...ne or two variables in the dataset,
i thought sort could do it , but failed.
e.g.
x <- c(2, 9, 18, 3, 2)
y<-c(2,5.6,5,9,8)
z<-c(21,5,5,19,7)
a<-cbind(x,y,z)
a
x y z
[1,] 2 2.0 21
[2,] 9 5.6 5
[3,] 18 5.0 5
[4,] 3 9.0 19
[5,] 2 8.0 7
I want to sort dataset a according to ascending x and descending y, How to
accomplish it?
BTW, sort(a$x) can't works and it shows"null", why is it?
Any suggestions are welcome!
--
With Kind Regards,
oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::
:::::::::::::
[**************************...
2002 Mar 29
2
order()
Hi,
In the order() help file, there is an example like:
a <- c(4, 3, 2, NA, 1)
b <- c(4, NA, 2, 7, 1)
z <- cbind(a, b)
(o <- order(a, b)); z[o, ]
How can I do something like "order a in ascending order, b in descending
order"? And say I have a third vector c, and I'd like to add this to the
previous condition "a ascending, b descending, c descending". How can I
do this?
Thanks,
Ko-Kang Wang
--------------------------------------------------------------------------...
2006 Apr 10
1
How to specify Ascending or Descending Option?
Hi,
I am accessing records in Stores table as follows in @store object.
=============================================
@store_pages, @stores = paginate :stores, :order_by => ''store_rating'',
:per_page => 10
=============================================
Now I want that records returned by above objects should be in
descending order. How to do this in above statement?
2009 Jan 23
2
Plot, lines and disordered x and y
Hello,
I have 2d data where x coordinate is not given in usual ascending
order (x1,...,x1+l; l>0), and instead in another, regular, but not
ascending or descending order (for illustration:
x1,-x1,x1+dx1,-x1-dx1,....).y is an array which corresponds to the way
x is ordered. I have noticed that giving 'plot(x,y,type='l') produces
a plot where the points...