Displaying 12 results from an estimated 12 matches for "4e7".
Did you mean:
47
2011 Mar 08
1
Multiple testing corrections on very large vector
Hello all,
I am calculating probabilities of association for terms in the
GeneOntology database. I have ~4e7 probabilities and I would like to correct
for multiple testing. At the moment I have something like the following:
pv is a vector containing my 4e7 probabilities.
To run the multiple testing corrections I do:
mt <- mt.rawp2adjp(pv, proc="BH")
Because of the size of the vector this...
2016 Apr 10
0
what is the faster way to search for a pattern in a few million entries data frame ?
...the strings starting
> with a sequence of few words.
>
> I guess these days it is standard to use DF with millions of entries so
> I was wondering how people are doing that in the faster way.
I did this to generate and search 40 million unique strings
> grams <- as.character(1:4e7) ## a long time passes...
> system.time(grep("^900001", grams)) ## similar times to grepl
user system elapsed
10.384 0.168 10.543
Is that the basic task you're trying to accomplish? grep(l) goes quickly
to C, so I don't think data.table or other will be mark...
2010 May 19
1
Multiple language output - Correct in RGui, wrong in .txt after sink()
...ter(RMLANG$RM_KR[i]),"\n","\n","\n",sep="")
+ sink()
+ }
>
Output.txt contains:
""
English Alfalfa hay
Deutsch Luzerneheu
Japanese <U+FF71><U+FF99><U+FF8C><U+FF67><U+FF99><U+FF8C><U+FF67><U+4E7
Chinese <U+82DC><U+84FF><U+5E72><U+8349>
Korean <U+C54C><U+D314><U+D30C> <U+AC74><U+CD08>
English Alfalfa meal
Deutsch Lurzernegr?nmehl
Japanese <U+FF71><U+FF99><U+FF8C><U+FF67><U+FF99><U+FF8...
2016 Apr 10
5
what is the faster way to search for a pattern in a few million entries data frame ?
Hi Duncan,
> Didn't you post the same question yesterday? Perhaps nobody answered
> because your question is unanswerable.
sorry, I got a email that my message was waiting for approval and when I
look at the forum I didn't see my message and this is why I sent it
again and this time I did check that the format of my message was text
only. Sorry for the noise.
> You need to
2011 Mar 14
2
proportional symbol map ggplot
Hello,
we want to plot a proportional symbol map with ggplot. Symbols' area should
have the same proportions as the scaled variable.
Hereby an example we found on
http://www.r-bloggers.com/bubble-chart-by-using-ggplot2/ . In this example
we see the proportions of the symbols' area are different from the
proportions of the scaled variable:
crime <-
2012 Oct 03
3
Fastest non-overlapping binning mean function out there?
Hi,
I'm looking for a super-duper fast mean/sum binning implementation
available in R, and before implementing z = binnedMeans(x y) in native
code myself, does any one know of an existing function/package for
this? I'm sure it already exists. So, given data (x,y) and B bins
bx[1] < bx[2] < ... < bx[B] < bx[B+1], I'd like to calculate the
binned means (or sums)
2017 Jun 18
3
R_using non linear regression with constraints
..., b = 0.05
)
, lower = c( 1000, 0 )
, upper = c( 3000, 1 )
)
a <- as.vector( coef( myfit )[ "a" ] )
b <- as.vector( coef( myfit )[ "b" ] )
brks <- c( 500, 1e7, 2e7, 3e7, 4e7 )
ggplot( objdtass, aes( x=a, y=b, z = x, fill=x ) ) +
geom_tile() +
geom_contour( breaks= brks ) +
geom_point( x=a, y=b, colour="red" ) +
geom_point( x=objdtassmin$a
, y=objdtassmin$b
, colour="green" ) +
scale_fill_continu...
2017 Jun 18
0
R_using non linear regression with constraints
...; )
> , lower = c( 1000, 0 )
> , upper = c( 3000, 1 )
> )
> a <- as.vector( coef( myfit )[ "a" ] )
> b <- as.vector( coef( myfit )[ "b" ] )
>
> brks <- c( 500, 1e7, 2e7, 3e7, 4e7 )
> ggplot( objdtass, aes( x=a, y=b, z = x, fill=x ) ) +
> geom_tile() +
> geom_contour( breaks= brks ) +
> geom_point( x=a, y=b, colour="red" ) +
> geom_point( x=objdtassmin$a
> , y=objdtassmin$b
> , colour="gree...
2017 Jun 18
0
R_using non linear regression with constraints
I ran the following script. I satisfied the constraint by
making a*b a single parameter, which isn't always possible.
I also ran nlxb() from nlsr package, and this gives singular
values of the Jacobian. In the unconstrained case, the svs are
pretty awful, and I wouldn't trust the results as a model, though
the minimum is probably OK. The constrained result has a much
larger sum of squares.
2017 Jun 18
3
R_using non linear regression with constraints
https://cran.r-project.org/web/views/Optimization.html
(Cran's optimization task view -- as always, you should search before posting)
In general, nonlinear optimization with nonlinear constraints is hard,
and the strategy used here (multiplying by a*b < 1000) may not work --
it introduces a discontinuity into the objective function, so
gradient based methods may in particular be
2007 Apr 30
0
[LLVMdev] Boostrap Failure -- Expected Differences?
...popa
> 4e1: 64 fs
> 4e2: 6a 75 push $0x75
> - 4e4: 73 74 jae 55a <__FUNCTION__.22434+0x6>
> + 4e4: 73 74 jae 55a <__FUNCTION__.22347+0x6>
> 4e6: 5f pop %edi
> 4e7: 6f outsl %ds:(%esi),(%dx)
> 4e8: 66 data16
> 4e9: 66 data16
> - 4ea: 73 65 jae 551 <__FUNCTION__.22282+0x11>
> - 4ec: 74 5f je 54d <__FUNCTION__.22282+0xd>
> + 4ea: 73 65...
2007 Apr 27
2
[LLVMdev] Boostrap Failure -- Expected Differences?
The saga continues.
I've been tracking the interface changes and merging them with
the refactoring work I'm doing. I got as far as building stage3
of llvm-gcc but the object files from stage2 and stage3 differ:
warning: ./cc1-checksum.o differs
warning: ./cc1plus-checksum.o differs
(Are the above two ok?)
The list below is clearly bad. I think it's every object file in
the