similar to: How to compare, match two columns from diferent dataframe and assign values from one datafram to the other

Displaying 20 results from an estimated 10000 matches similar to: "How to compare, match two columns from diferent dataframe and assign values from one datafram to the other"

2007 May 21
4
How to compare linear models with intercept and those without intercept using minimizing adjs R^2 strategy
Dear R-list, I apologize for my many emails but I think I know how to desctribe my problem differently and more clearly. My question is how to compare linear models with intercept and those without intercept using maximizing adjusted R^2 strategy. Now I do it like the following: > library(leaps) > n=20 > x=matrix(rnorm(n*3),ncol=3) > b=c(1,2,0) > intercept=1 >
2011 Feb 14
1
conditional value assignment
Dear R-Help, I am trying to compute a new variable, let's call it "target cannon orientation (tco)" based conditionally on old variables, "TargetColor," "CannonOriB," and "CannonOriR." For every case in the data set, if TargetColor is "B" then I want tco to equal the value for that case of CannonOirB, else CannonOriR. I've tried writing
2009 May 11
3
Looking for a quick way to combine rows in a matrix
I'm working with genotype data in a frequency table: > a=matrix(1:16, nrow=4) > rownames(a)=c("AA","AT","TA","TT") > a [,1] [,2] [,3] [,4] AA 1 5 9 13 AT 2 6 10 14 TA 3 7 11 15 TT 4 8 12 16 'AT' and 'TA' are essentially the same, and I'd like to combine (add) the rows to reflect
2008 May 05
7
iscsi conn error: Xen related?
Hello all, I got some severe iscsi connection loss on my dom0 (Gentoo 2.6.20-xen-r6, xen 3.1.1). Happening several times a day. open-iscsi version is 2.0.865.12. Target iscsi is the open-e DSS product. Here is a snip of my messages log file: May 5 16:52:50 ying connection226:0: iscsi: detected conn error (1011) May 5 16:52:51 ying iscsid: connect failed (111) May 5 16:52:51 ying iscsid:
2010 Apr 17
2
Interacting with dendrogram plots, locator() or click()
I would like to explore dendrogam plots interactively. For example, click on a node and return information about all of the children of that node. Is there a high level wrapper for locator() or click() that will return the nearest dendrogram node on a plot? If not, is there a way to obtain the [x,y] coordinates of all the nodes on a plot? Thanks, David David J. States, M.D., Ph.D. Professor
2020 Jun 22
2
[PATCH 13/16] mm: support THP migration to device private memory
On Mon, Jun 22, 2020 at 4:02 PM John Hubbard <jhubbard at nvidia.com> wrote: > > On 2020-06-22 15:33, Yang Shi wrote: > > On Mon, Jun 22, 2020 at 3:30 PM Yang Shi <shy828301 at gmail.com> wrote: > >> On Mon, Jun 22, 2020 at 2:53 PM Zi Yan <ziy at nvidia.com> wrote: > >>> On 22 Jun 2020, at 17:31, Ralph Campbell wrote: > >>>> On
2016 Mar 03
2
[LLVMDev] llvm-cov outputting coverage results as HTML reports
Xinliang David Li via llvm-dev <llvm-dev at lists.llvm.org> writes: > Harlan Haskins has recently submitted a patch (for review) that implements > --format=html for llvm-cov tool. Please take a look at that patch. For reference, the review thread starts here: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160229/336622.html > David > > On Thu, Mar 3, 2016 at
2020 Jun 22
2
[PATCH 13/16] mm: support THP migration to device private memory
On Mon, Jun 22, 2020 at 3:30 PM Yang Shi <shy828301 at gmail.com> wrote: > > On Mon, Jun 22, 2020 at 2:53 PM Zi Yan <ziy at nvidia.com> wrote: > > > > On 22 Jun 2020, at 17:31, Ralph Campbell wrote: > > > > > On 6/22/20 1:10 PM, Zi Yan wrote: > > >> On 22 Jun 2020, at 15:36, Ralph Campbell wrote: > > >> > > >>> On
2006 Dec 12
4
help on determining operating system
Dear list, I am an R user and I also write my own package in R(sometime i need to write in C), and right now i am thinking about buying a new workstation--and i am trying to decide if i should get a mac with OS X or a linux machine (for example Dell). I have experience using R on linux (but i have been just a user and never been a admin) but i am hesitating of managing a linux system on my
2008 Jan 24
3
features boxplot
Hallo, I just made a boxplot with the following command: boxplot(vsnrg$M~col(vsnrg$M)) When I now look at the plot. On the x-axis I just find numbers 1-6 because I have 6 datasets plotted. Now I want to add there the corresponding names which can be found in colnames(qrg). How can I realize this the online help does not help me. Thanks Corinna
2013 Aug 23
1
A couple of questions regarding the survival:::cch function
Dear all, I have a couple of questions regarding the survival:::cch function. 1) I notice that Prentice and Self-Prentice functions are giving identical standard errors (not by chance but by programming design) while their estimates are different. My guess is they are both using the standard error form from Self and Prentice (1986). I see that standard errors for both methods are
2011 Jan 05
1
rShowMessage "Fatal error: unable to open the base package
Hi All, As you may know I am trying connect R with java by RJava, now I run the examples, I got this error rShowMessage "Fatal error: unable to open the base package I am using 64bits windows 7 and eclipse. Any suggestions? Many thanks Ying [[alternative HTML version deleted]]
2007 May 04
3
listing R packages in our system
Hi, I like to know the simple way to list the R package names in our linux system. Thanks Ying [[alternative HTML version deleted]]
2006 Nov 17
2
Getting R and .Rdata together again
Somehow, I've managed to have my .Rdata files become `disassociated' from the R program. I am running Windows XP Pro. I have re-installed R 2.4 in an attempt to have it re-associate itself with .Rdata files, but to no avail. .Rdata files are now associated with a file compression program or alternatively with Rgui.exe. .Rdata files are represented by the blue R, but double-clicking on
2005 Aug 24
6
Wbinfo -Y couldn't work with idmap_rid for BUILTIN groups
Hi, wbinfo -Y BUILTIN\group can work without idmap_rid in Samba-3.0.14a. But I'm experiencing wbinfo -Y with idmap_rid failed for SID to GID conversion of BUILTIN groups. Since idmap_rid only works in a single domain, and captures workgroup's domain sid as a real domain sid in rid_idmap_get_domains(), when running "wbinfo -Y BUILTIN/System Operators", the function
2011 Apr 07
2
replace an expression with its value, or read macros
I know my subject line seems odd, but I want to replace an expression—such as a variable—with its value. For example, I want to paste() some strings together, assign the result to a variable s, then use the value of s as a variable to hold another value. Something like this: import_subjects <- function (start, iterations) { for (i in 1:iterations) { # iterate from start to end s <-
2007 Apr 12
3
Idmap back compatible issue
I ran into a problem on idmap backend. In previous Samba releases, there are two kinds of scenarios on idmap backend. 1) No explicit idmap backend option presented in smb.conf. But imply using default tdb idmap backend idmap uid = low - high idmap gid = low - high 2) idmap backend option exists in smb.conf idmap uid = low - high idmap gid = low - high idmap backend = tdb [or
2020 Jun 22
2
[PATCH 13/16] mm: support THP migration to device private memory
On 22 Jun 2020, at 17:31, Ralph Campbell wrote: > On 6/22/20 1:10 PM, Zi Yan wrote: >> On 22 Jun 2020, at 15:36, Ralph Campbell wrote: >> >>> On 6/21/20 4:20 PM, Zi Yan wrote: >>>> On 19 Jun 2020, at 17:56, Ralph Campbell wrote: >>>> >>>>> Support transparent huge page migration to ZONE_DEVICE private memory. >>>>> A
2008 Sep 28
1
Kernel Estimate for the Intensity Function
To anyone who can help me: I found that the function "smooth.ppp" in the package "spatstat" provides the kernel estimate for the intensity function of a "two-dimensional" point process with marks. Does anyone know that which package can do this for simply a "one- dimensional" point process with marks? I've been searching all over the R site but still
2011 Jan 06
1
JRI & plot( )
Hi Everyone, Thanks a lot for your guys help, I finally got it running, now I can call my R function from my java code. But there is one problem left. In my R code , it open a window and plot a curve. Once running in Java, the window did successfully opened, but nothing inside, instead of grey color. Any suggestions? Many thanks Ying [[alternative HTML version