search for: 13000

Displaying 20 results from an estimated 81 matches for "13000".

Did you mean: 1000
2011 Aug 10
2
using if then statements in a dataframe
...usand lines and to each line I need to apply a series of "if else" statements. For each row I need either a value or a blank/NA. Below is the series of if else statements I have been trying without success to integrate into a function such as "apply". if (t1.secondstrongest<-13000) {NA} else if (noise>-13000) {NA} else if ((abs(value.str1-value.str2))==120) {NA} else if ((abs(value.str1-value.str2))==180) {NA} else if ((abs(value.str1-value.str2))==240) {NA} else if (value.str1 ==300&&value.str2 ==0) {value.str1_adj+ bearingdiff} else if (value.str1 ==0&&v...
2004 May 19
2
indexing question
...SIRUTA TYPE 1 1017 0 1 1017 3 2 1026 0 2 1020 5 3 42711 0 3 1026 4 .... .... 13000 100234 0 .... 16000 160241 3 I want to bring the TIP variable in the 'poploc? dataset according to the SIRUTA variable (which has unique codes for each case, in both datasests). The resulting dataset...
2011 Aug 19
1
how to merge distance data based on location
...resents a segment of the genome where a deletion has occurred. First column is start position of the deletion in genomic distance, second is end position. So, e.g., first 3 rows of data frame A is: 1003 1023 5932 6120 12348 12689 first 3 rows of data frame B is: 852 5305 1010 1015 8500 9500 10000 13000 I want to merge based on distance, such that each row will be deletions that overlap. So I'd like: 1003 1023 852 5305 1010 1015 5932 6120 8500 9500 12348 12689 10000 13000 Does anyone have ideas about how to accomplish this? Thank you, Matthew Keller -- Matthew C Keller Asst. Profe...
2018 Mar 23
1
Integrate erros on certain functions
...message ?the integral is probably divergent? which gives an error message if stop.on.error = FALSE. But what happens on something like the function below: integrate(function(x) exp(-x), lower = 0, upper =Inf) #> 1 with absolute error < 5.7e-05 integrate(function(x) exp(-x), lower = 0, upper =13000) #> 2.819306e-05 with absolute error < 5.6e-05 *integrate(function(x) exp(-x), lower = 0, upper =13000, stop.on.error = FALSE)#> 2.819306e-05 with absolute error < 5.6e-05* I'm not sure this is a bug or misuse of the function, but I would assume the last integrate to give an error...
2013 Jan 22
2
Creating a Data Frame from an XML
...ot; /> <row BRAND="FORD" NUM="1" YEAR="2000" VALUE="12000" /> <row BRAND="GMC" NUM="1" YEAR="2001" VALUE="12500" /> <row BRAND="FORD" NUM="1" YEAR="2002" VALUE="13000" /> <row BRAND="GMC" NUM="1" YEAR="2003" VALUE="14000" /> <row BRAND="FORD" NUM="1" YEAR="2004" VALUE="17000" /> <row BRAND="GMC" NUM="1" YEAR="2005" VALUE=&quo...
2005 Jun 20
6
tapply
hi, i have another question on tapply: i have a dataset z like this: 5540 389100307391 2600 5541 389100307391 2600 5542 389100307391 2600 5543 389100307391 2600 5544 389100307391 2600 5546 381300302513 NA 5547 387000307470 NA 5548 387000307470 NA 5549 387000307470 NA 5550 387000307470 NA 5551 387000307470 NA 5552 387000307470
2007 Aug 27
2
Max vs summary inconsistency
Hello, I'm having the following questionable behavior: > summary(m) Min. 1st Qu. Median Mean 3rd Qu. Max. 1 13000 26280 25890 38550 50910 > max(m) [1] 50912 > typeof(m) [1] "integer" > class(m) [1] "integer" ...it seems to me like max() and summary(m)[6] ought to return the same number. Am I doing something wrong? I'm running R 2.5.1 (2007-06-27), installed on MacOS...
2008 Dec 17
1
R function to calculate number of data points of each level
I have a dataframe with two columns : 11600 238'4 12000 218'0 12200 209'0 12600 192'0 13000 176'4 14000 145'0 15000 119'0 16000 103'0 18000 80'0 19000 68'3 20000 59'0 11600 208'1 12000 189'2 12200 180'3 There are repeatations in 1st column and I want to use this as Level. Next I want to report for each level how many data points are there, with c...
2011 Oct 22
1
Does R has a similar way as DATA in SPSS?
...1000 10.9 600 10 10000 3400 8.8 1000 10 9000 3800 13.6 1700 140 25000 4000 12.8 1600 140 25000 8200 8.3 2600 60 12000 1200 11.4 400 10 16000 9100 11.5 3300 60 14000 9900 12.5 3400 180 18000 9600 13.7 3600 390 25000 9600 9.6 3300 80 12000 9400 11.4 4000 100 13000 END DATA . Is there a similar way in R? Any suggestion will be really appreciated. Thanks in advance. Regards, Jinsong
2013 Feb 13
1
An extended Hodgkin-Huxley model that doesn't want to work.
...ng current (but we're not using it here ) (2) I_i = g_i * m_i^pi * h_i^pi(V-E) i identifies the ion, thus I_K would be Potassium current. (3) dm/dt = (m_inf*V - m)/tau_m (4) dh/dt = (h_inf*V-h)/tau_h (5) The Nernst equation is used to calculate reversal potential for Ca: Eca = 12.2396 * log(13000/Ca2+) (6) d[Ca_2+]/dt = (F*I_Ca - [Ca2+] + C0)/Tau_Ca tau_m, tau_h, m_inf and h_inf are all calculated according to formulae provided in a paper. In my code these are calculated for the different channels into the following variables: CaTminf, CaThinf, CaTtaum, CaTtauh, CaSminf, CaStaum, Napmin...
2005 Dec 08
0
qr with missing dependent variables
...genetic structure, represented by the design matrix X(g), gives a significant linear regression relationship. Depending on the complexity of the genetic model being investigated, X(g) typically has either 7 or 32 columns, i.e is of non-trivial size. the number of loci g to be investigated is ~13000, so we have to do 13000*20000 = 260,000,000 multiple regressions. Therefore computational efficiency is important. We thought of one way to do this: - for each design matrix g, compute the qr decomposition once, then work out the residual sum of squares for each of the expression phenotypes usi...
2009 Jan 23
1
Relative frequency of cases in data frame matching a specified criteria
...a data frame that matches a specified criteria, omiting NA values. This seem so simple, but I can't come up with an effective way. nrow(data[data$variable>value & !is.na(data$variable),])/nrow(data) works but is very ineffective and CPU consuming when the data frame is large (more than 13000 rows and 400 columns). /S
2009 Feb 26
6
Re: Questions on gdbsx
yujiageng734 wrote: > Hi, > > I am trying to use your gdbsx. But I don''t know how to make a 32bit > dom0 running on 64bit hypervisor. Can you explain this for me? I''m > extremely grateful to you. Hmm.. good question. I don''t know, it''s always done for me here. One option would be to just download OVM from edelivery.oracle.com,
2008 Jun 24
2
Global FTS index?
Hi, I tried the FTS (and FTS Squat) plugin today, and it works as advertised. But: On my 13000 folders with 160000 mails maildir I use for testing, the speed increase is not as big as one would wish (it still takes several minutes to complete a search). Is my assumption correct, that there is no way to do a search over a big IMAP folder hierarchy in a reasonable amount of time, because e...
2011 Dec 16
1
Model design
...- required due to spatial autocorrelation Cells can be classfied in a hierarchical nature into AREAS and STATES i.e Cell 1, Cell 2, Cell 3 are all in AREA "A" where as Cell 4,5 and 6 are in AREA "B" However both area A + B are in state "S1" I have lots of these (13000) cells which are classfied into ~2000 AREA's and ~750 STATE'S So my question is do AREA'S differ in the amount of grass they contain i.e does AREA A contain significantly more grass than AREA B? I have modelled this by area_grass <- gls(grass~AREA, correlation=corExp(form=~x+y), d...
2012 May 21
1
Problems seeking with liboggz
...(void*)0); ofs = oggz_seek(pOGGZ, 0, SEEK_END); printf("\n Audio file size in bytes = %8lld", ofs); ofs = oggz_seek(pOGGZ, 0, SEEK_SET); ret = oggz_read(pOGGZ, 28779); for(int i=0; i<3; i++) { ogg_int64_t seektime = (i==0 ? 5000 : i==1 ? 10000 : 13000); ogg_int64_t rseek = oggz_seek_units(pOGGZ, seektime, SEEK_SET); ogg_int64_t tellseek = oggz_tell_units(pOGGZ); printf("\n Requested seek time = %8lld, return of time seek function = %8lld, return of time tell function = %8lld", seektime, rseek, tellseek); }...
2023 Jan 26
2
How do you scale dovecot for good performance with Roundcube webmailer in front? (hitting limits without exhausting resources)
...EC keys. Authentication is done in parallel (auth_cache_verify_with_workers=yes). Where possible min_available_processes have been set equal to the threads available on the Dovecot machine (64). Hardware is a 64 thread Xeon CPU at 2.10 GHz, 96 GB RAM, SSDs as backing storage IOPS read 40000/write 13000. What settings do you recommend and how was your experience with Roundcube and its performance in general (what should be possible with that kind of HW?)? Best regards and thanks in advance! ???? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot....
2007 Dec 06
3
HTB performance improvement
.../sec with 2 packets lost 2) with only system conf + iptables marking support          TX/RX  24950 packets/sec, 8 packets lost 3) with only system conf + u32 support                       TX/RX  29950 packets/sec, 5 packets lost 4) with only system conf + HTB with iptables mark classifier TX/RX  13000 packets/sec, 0 packets lost 5) with only system conf + HTB with u32 classifier           TX/RX  19290 packets/sec, 0 packets lost First of all, do you consider this scenario correct? consider that i will not have more than 2/3 levels of classes, i''m wondering if i can improve the algori...
2008 Oct 12
2
proper use of textConnection
...= 6000 Sun Oct 12 07:09:56 2008 N lines = 7000 Sun Oct 12 07:10:01 2008 N lines = 8000 Sun Oct 12 07:10:09 2008 N lines = 9000 Sun Oct 12 07:10:18 2008 N lines = 10000 Sun Oct 12 07:10:31 2008 N lines = 11000 Sun Oct 12 07:10:46 2008 N lines = 12000 Sun Oct 12 07:11:04 2008 N lines = 13000 Sun Oct 12 07:11:25 2008 N lines = 14000 Sun Oct 12 07:11:51 2008 N lines = 15000 Sun Oct 12 07:12:20 2008 N lines = 16000 Sun Oct 12 07:12:54 2008 N lines = 17000 Sun Oct 12 07:13:32 2008 N lines = 18000 Sun Oct 12 07:14:16 2008 N lines = 19000 Sun Oct 12 07:15:04 2008 N lines = 2000...
2013 Jan 22
1
Create a Data Frame from an XML
...ot; /> <row BRAND="FORD" NUM="1" YEAR="2000" VALUE="12000" /> <row BRAND="GMC" NUM="1" YEAR="2001" VALUE="12500" /> <row BRAND="FORD" NUM="1" YEAR="2002" VALUE="13000" /> <row BRAND="GMC" NUM="1" YEAR="2003" VALUE="14000" /> <row BRAND="FORD" NUM="1" YEAR="2004" VALUE="17000" /> <row BRAND="GMC" NUM="1" YEAR="2005" VALUE=&quo...