similar to: distinct elements of a vector

Displaying 20 results from an estimated 10000 matches similar to: "distinct elements of a vector"

2010 Feb 22
2
how do I calculate means or cov matrix for multivariate groups
Hello, Having the matrix d > d value value2 class 1 1 1 x 2 2 2 x 3 3 3 x 4 4 2 x 5 5 1 y 6 11 3 y 7 12 4 z 8 13 5 z 9 14 6 z 10 15 7 z I want to calculate the means and cov matrix for groups x,y,z. I know how to do it the long way. I tried to use tapply and
2010 Mar 01
1
remove from mailing list
Hello, I receive a lot of emails from the forum members.Is there any way to make the option for a daily summary?If not can may email be removed from the list?I want to continue using the forum but the numebr of emails I receive dialy is too big :) Thanks,Bogdan [[alternative HTML version deleted]]
2010 Apr 15
2
sequence clustering and assembly
Dear all, please could you suggest any R functions or packages (or external programs), that a. take as input a large number (> 10 000) of short 20-30 nt sequences, and do sequence assembly, to reconstruct larger (extended) 30-50 sequences ? b. take as input a larger number of sequences (100 000 - 1 mil) and cluster these sequences in distinct classes based on the sequence similarity ?
2008 Sep 11
9
How to load functions in R
Hello, I am trying to use self created functions in other scripts than the one where they are stored. For the moment I am using the following structure of commands to do that: 1. Load the text file with the functions in the current script: x=parse("path") 2. transform the tex in a function: f1=eval(x[1]), f2=eval(x[2]) if more than one function is stored in the text file 3. use the
2015 Jun 17
1
Can't login to Windows 2012R2 with domain user
Thank you! Does it possible to convert this git diffs - https://attachments.samba.org/attachment.cgi?id=11162 to common patch? I would like to apply it to Sernet packages sources and rebuild it for test. On Wed, Jun 17, 2015 at 6:05 PM, mourik jan heupink <heupink at merit.unu.edu> wrote: > Perhaps this: > > https://bugzilla.samba.org/show_bug.cgi?id=11061 > > > On
2001 Mar 01
1
a directory refresh bug in dos.
I'm very sorry, but I cannot find any way to send you my bug report. (The email account samba-bugs is disabled, while it can be found on the web page http://de.samba.org/samba/bugreports.html) Can you please send my bug report to the right place, or tell me what should I do to send it to the right person? Thank you very much! Bogdan Zavalnij system administrator ---------- Forwarded
2006 Feb 26
3
Fast inserts?
There are cases when I have to create the same record 100 times. Is there a faster way than: 100.times{Obj.create(@params[:obj])} ? Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060226/75d1e099/attachment.html
2017 Jun 06
1
integrating 2 lists and a data frame in R
Here's another approach: N <- data.frame(N=c("n1","n2","n3","n4")) M <- data.frame(M=c("m1","m2","m3","m4","m5")) C <- data.frame(n=c("n1","n2","n3"), m=c("m1","m1","m3"), I=c(100,300,400)) # Rebuild the factors using M and N C$m <-
2017 Jun 06
0
integrating 2 lists and a data frame in R
Hi Bogdan, Kinda messy, but: N <- data.frame(N=c("n1","n2","n3","n4")) M <- data.frame(M=c("m1","m2","m3","m4","m5")) C <- data.frame(n=c("n1","n2","n3"), m=c("m1","m1","m3"), I=c(100,300,400))
2011 Jan 14
2
selecting elements in vector
Hi everybody, I have the following problem. I have a vector containing character elements, such as: list = c("aa","bb","cc","dd","ee") I want to create an index which identifies the elements that are different from, e.g. "aa" and "bb". When I do the following: jj = list!="aa" & list!="bb" > jj
2018 May 08
1
a question about R script : "Can only modify plain character vectors."
Dear all, would appreciate a suggestion about the following situation : I am running a script in R, and shall i execute it in the terminal, step by step, it works fine. however, if i do source ("script.R"), it does not complete and I am getting the error : "Can only modify plain character vectors." what may go wrong ? thank you for your help, -- bogdan [[alternative HTML
2005 Sep 10
4
has_too_many
Assuming you have Person that has_many :messages, what will it happen if it has 10000 messages? Will rails attempt to initialize @person.messages with 10000 rows from database? If that is the case, is combining finder_sql and counter_sql the common practice to avoid this? Bogdan _______________________________________________ Rails mailing list
2017 Jun 06
1
integrating 2 lists and a data frame in R
Simple matrix indexing suffices without any fancier functionality. ## First convert M and N to character vectors -- which they should have been in the first place! M <- sort(as.character(M[,1])) N <- sort(as.character(N[,1])) ## This could be a one-liner, but I'll split it up for clarity. res <-matrix(NA, length(M),length(N),dimnames = list(M,N)) res[as.matrix(C[,2:1])] <-
2017 Jun 06
2
integrating 2 lists and a data frame in R
> On Jun 6, 2017, at 4:01 AM, Jim Lemon <drjimlemon at gmail.com> wrote: > > Hi Bogdan, > Kinda messy, but: > > N <- data.frame(N=c("n1","n2","n3","n4")) > M <- data.frame(M=c("m1","m2","m3","m4","m5")) > C <-
2011 Jul 16
4
Z-test
Hi, please could you recommend a R package that computes a 2 sample z-test ? thanks, Bogdan [[alternative HTML version deleted]]
2017 Jun 06
0
integrating 2 lists and a data frame in R
Thank you David. Using xtabs operation simplifies the code very much, many thanks ;) On Tue, Jun 6, 2017 at 7:44 AM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Jun 6, 2017, at 4:01 AM, Jim Lemon <drjimlemon at gmail.com> wrote: > > > > Hi Bogdan, > > Kinda messy, but: > > > > N <-
2006 Jan 08
4
Finding memory leaks?
Where are the memory leaks and what is the way to fix them? I''m working on a game that was fairly stable in terms the memory consumption and it was staying at around 200MB. Recently it has gone crazy, and unless I restart it, it goes straight up to 350-400+MB after 30 minutes-1hour. I am using Apache 1.3+fcgi in production mode. Also the dispatch.fcgi processes take a really high toll
2016 Oct 27
1
Integrating remote Samba DC in existing 2012R2 AD
Hello all! We have Windows-base AD with 2012R2 level. I would like to provide authentication and GPO in our new remote branch office. Basically, there are two ways: 1. Samba-only domain + trust relationship main AD. 2. Remote Samba DC as members of existing AD maintainig same set of users. FAQ says that 'trust' is useless due to group membership restrictions. But what about second
2006 Jan 31
3
Random 502 Bad Gateway
I have moved my project to a dedicated server and I am getting a very annoying behaviour. I am able to view the site just fine when using the ip. The name is properly resolved on my computer, however I am getting "Bad Gateway The proxy server received an invalid response from an upstream server." This is simply random. The site works for several minutes, then i get this message for some
2017 Aug 23
0
splitting a dataframe in R based on multiple gene names in a specific column
Hi Bogdan, Messy, and very specific to your problem: df.sample.gene<-read.table( text="Chr Start End Ref Alt Func.refGene Gene.refGene 284 chr2 16080996 16080996 C T ncRNA_exonic GACAT3 448 chr2 113979920 113979920 C T ncRNA_exonic LINC01191,LOC100499194 465 chr2 131279347 131279347 C G ncRNA_exonic LOC440910 525 chr2 223777758 223777758 T A