similar to: R- merging two matrix

Displaying 20 results from an estimated 7000 matches similar to: "R- merging two matrix"

2012 Sep 10
1
E-mail # 2 / attachments matrix test cases
HI Sridhar, Try this: #I saved the file as .csv. ?testMaster<-read.csv("test1Master.csv") ?test2Sorted<-read.csv("test2Sorted.csv") testMaster1<-testMaster[order(testMaster[,1]),] test2Sorted1<-test2Sorted[order(test2Sorted[,1]),] Combinedat<-as.matrix(merge(testMaster1,test2Sorted1,by="X")) ?rownames(Combinedat)<-Combinedat[,1]
2019 Jan 05
1
unsorted - suggestion for performance improvement and ALTREP support for POSIXct
I believe the performance of isUnsorted() in sort.c could be improved by calling REAL() once (outside of the for loop), rather than calling it twice inside the loop. As an aside, it is implemented in the faster way in doSort() (sort.c line 401). The example below shows the performance improvement for a vectors of double of moving REAL() outside the for loop. # example as implemented in
2012 May 23
2
Expected behaviour of is.unsorted?
Hi, I've read ?is.unsorted and searched. Have found a few items but nothing close, yet. Is the following expected? > is.unsorted(data.frame(1:2)) [1] FALSE > is.unsorted(data.frame(2:1)) [1] FALSE > is.unsorted(data.frame(1:2,3:4)) [1] TRUE > is.unsorted(data.frame(2:1,4:3)) [1] TRUE IIUC, is.unsorted is intended for atomic vectors only (description of x in ?is.unsorted). Indeed
2013 Apr 24
1
multiple issues with is.unsorted()
Hi, In the man page for is.unsorted(): Value: A length-one logical value. All objects of length 0 or 1 are sorted: the result will be ?NA? for objects of length 2 or more except for atomic vectors and objects with a class (where the ?>=? or ?>? method is used to compare ?x[i]? with ?x[i-1]? for ?i? in ?2:length(x)?). This contains many incorrect
2014 Oct 12
5
Help with xapian
Hi, I am unable to build the letor module. I am generating the configure file using autoconf. The configure file generated is throwing the error ./configure: line 2057: syntax error near unexpected token `1.10.1' ./configure: line 2057: `AM_INIT_AUTOMAKE(1.10.1 -Wportability tar-ustar)` I am not too sure what to do with this. Need help with this. Thank You Regards Karthik On Mon, Sep 29,
2008 Apr 17
1
Couldn't (and shouldn't) is.unsorted() be faster?
Hi, Couldn't is.unsorted() bail out immediately here (after comparing the first 2 elements): > x <- 20000000:1 > system.time(is.unsorted(x), gcFirst=TRUE) user system elapsed 0.084 0.040 0.124 > x <- 200000000:1 > system.time(is.unsorted(x), gcFirst=TRUE) user system elapsed 0.772 0.440 1.214 Thanks! H.
2014 Feb 25
2
GSoC 2014
Hi, I am C Karthik Iyer, a 3rd year B Tech student at NITK Surathkal. I am interested in working on projects on Information Retrieval and Machine Learning. I've had previous experience on working on projects regarding Question Answering Systems. I have a project idea which includes both IR and ML but i dont know how feasible the idea is. Could you guys say when will you be available
2009 Feb 16
3
Finishing up the contributors list as well
Guys, OK, now that we have the new core contributors squared away, we can go back to finishing the contributors list. There were some people who got added and then there is existing contributors list. I think Darren''s suggestion to wait to add new core contributors is fine (let the new constitution settle down and we can in the meanwhile have a more inclusive look at both rather than
2006 Mar 18
2
basic operations in rails
Hi all, This must be such a beginner''s problem, but I can''t figure it out. I''m pulling two integers out of a database, and i want to divide one value with the other, but i keep getting an error about operating on strings. Here''s the code - low_freq = unsorted.last.freq high_freq = unsorted.first.freq divider = high_freq / low_freq In my view, if i display
2014 Jan 03
1
wishlist: decreasing argument to is.unsorted
I've just realized that it could be handy to have a 'decreasing' argument in 'is.unsorted'. And I'm cheekily hoping someone else will implement it. It is easy enough to work around (with 'rev'), but would be less hassle with an argument. The case I have in mind uses 'is.unsorted' in 'stopifnot'. Pat -- Patrick Burns pburns at pburns.seanet.com
2014 Feb 26
2
GSoC 2014
The Letor project involves descent amount of Machine Learning while all the ranking related projects are around IR. Its better to introduce your idea on mailing list where all the mentors can have a detailed look at it, potential mentors can respond and the idea is kind of registered under your name. Cheers, Parth. On Wed, Feb 26, 2014 at 10:20 AM, Olly Betts <olly at survex.com> wrote:
2014 Sep 29
2
Help with xapian
Hi, I have started getting a hang of the xapian codebase. I think I would like to try my hands on the letor module of xapian. Could you please suggest some free data set for the training and testing of letor features. I am not able to get the INEX data set from anywhere (the one mentioned by parth gupta in his GSOC 2011 projecct. Regards Karthik On Mon, Sep 22, 2014 at 4:23 PM, Olly Betts
2018 Nov 29
2
Best way of merging mbox files
When concatenating mbox files like described here https://xaizek.github.io/2013-03-30/merge-mbox-mailboxes/. You will end up with an 'unsorted' mbox file. Is this going to be a problem esspecially when they are large >2GB's and new emails will be written to it? The email client nicely sorts the message from folder A "foldera 5 last" as last, but of course the mbox is
2007 Nov 08
2
question on image() function?
Dear friends, My dataset is like the following: x y mcpvalue 0.4603578 0.6247629 1.001 0.4603715 0.6247788 1.001 0.4603852 0.6247948 1.001 0.4110561 0.5664841 0.995 The x and y variables are unsorted. I use the function image(x,y,mcpvalue) to generate a plot, but the error is that "increasing 'x' and
2008 Oct 28
1
Source code for ppr (Projection Pursuit Regression)
Dear R users, I am looking for the source code of the implementation of ppr (Projection Pursuit Regression) in R. It will be great if citations of the source papers on which the implementation is based, are also provided. Thank you, Arvind Iyer, Grad student, Deptt. of Biomedical Engineering Viterbi School of Engineering University of Southern California, Los Angeles [[alternative HTML
2016 Apr 18
2
heatmap2 error key
Hi I am trying to understand what happen with the heatmap.2 code that it used to work (last used in October 2015). I am able to get a heatmap but my colour key doesn't come up and instead I get an error in all my files the used to work. Does anyone has any idea of what could have changed? or how to fix this. Thanks. # Error in seq.default(min.raw, max.raw, by = min(diff(breaks)/100)) :
2009 Nov 16
1
[LLVMdev] CFG using LLVM
I used successors to find the basic blocks that can be visited and those that cannot be reached. My pass just prints out those blocks which can be reached. The problem is that I want to include this in my compiler code rather than as a separate .cpp file which will perform the pass when I use 'opt'. I have seen that there is something called a PassManager class. Will this help me any way ?
2014 Dec 30
2
Help with xapian
Hi, Can someone tell me what was Gaurav Arora's exact contribution in the Clustering Search Results part during GSoC 2014? I guess that will be more helpful in understanding his code. Regards Karthik On Tue, Dec 16, 2014 at 4:06 AM, Olly Betts <olly at survex.com> wrote: > On Mon, Dec 15, 2014 at 06:56:39PM +0530, karthik iyer wrote: >> Could some one tell me some specific
2020 May 26
2
[ORC JIT][MLIR] GDBRegistrationListener "second attempt to perform debug registration" assert
Referring to the log messages from my previous mail… I confused myself (and probably others) by reading the “Adding MemMgr 0x55555959f440“ message as “Registering MemMgr 0x55555959f440”. Thus the address mismatch made no sense. How could we be registering a `MemMgr` address/key that does not match once we arrive in `notifyObjectLoaded` method? Answer: Because the registrations is NOT coming
2010 Dec 11
1
DO NOT REPLY [Bug 7861] New: documentation: files-frombehaves badly on unsorted input
https://bugzilla.samba.org/show_bug.cgi?id=7861 Summary: documentation: files-frombehaves badly on unsorted input Product: rsync Version: 3.0.5 Platform: x64 OS/Version: Linux Status: NEW Severity: minor Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: rlpowell at