similar to: code to turn T into TRUE

Displaying 20 results from an estimated 1000 matches similar to: "code to turn T into TRUE"

2007 Oct 25
2
Find duplicates and save their max value
Hi, maybe someone can help me with this: I have a matrix of genes and values: GeneName Value Abc1 10 Abc2 11 Bbc1 -5 Bbc31 2 Ccd 5 Ccd -2 Ccd 7 Dda 5 Dda 10 ..... ..... Zzz3 -1 I would like to
2008 Dec 16
1
renaming factor-labels / add factors etc.
Hi, how can I change a defined factor-variable? Like adding levels, renaming existing levels or merge several levels of a factor to one level? For example; following factor-variable is given: x <- factor(c("xyz1", "abc1", "xyz2", "abc2")) How can I add the level fgh? And how can I merge "xyz1" and "xyz2" to one level? And
2005 Nov 11
1
conditional coloring of image labels
Hi all, I am interested in plotting a heatmap of a set of genes. I would like the text labels of these genes to be colored red rather than black if they meet certain statistical criteria (using an if statement). I'm not sure how to change individual color labels without changing them all. Can anyone provide some insight on how to do this? Thanks in advance, Jake
2014 Jun 16
2
Print files which would be transfered by rsync (when syncing two directories)
Hi together, after I read "very often" without even a tiny bit of a contradiction, I start to have the feeling I have a basic misunderstanding of rsync. Assume one want to get a list of files which would have been transfered by rsync if rsync was requested to sync directories X and Y and one does <code> X=`mktemp` echo "abc" > $X/1 echo "abc1" > $X/2
2006 Feb 20
2
glob2rx function not working
Dear R users, Inspired by previous list discussion of the glob2rxc function, I am attempting to create a new vector called TOTAL by summing all vectors whose names begin with ABC: TOTAL = sum(list = ls(pattern = glob2rx("ABC*"))) I'm running R 2.2.1 on Windows XP. Can anyone say what I'm missing? Thank you, Mark
2011 Aug 22
2
Extracting columns with specific string in their names
Hi, Let's say that I have a set of column names that begin with the string "Xyz". How do I extract these specific columns? I tried to do the following: dataframe1[,grep("Xyz",colnames(dataframe1))] But it does not work. What is wrong with my expression?
2007 Jul 11
2
Previously saved workspace restored
hi there, i an beginner of R. some one have sent me a file (extension is .Rdata). i have installed R in my computer and i just double clicked the data. then it automatically opened R programme and displayed that [previously saved workspace restored]. the following message was displayed. Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an
2007 Nov 01
1
loops & sampling
Hi, I'm new to R (and statistics) and my boss has thrown me in the deep-end with the following task: We want to evaluate the impact that sampling size has on our ability to create a robust model, or evaluate how robust the model is to sample size for the purpose of cross-validation i.e. in our current project we have collected a series of independent data at 250 locations, from which
2005 Nov 11
0
Fwd: Re: conditional coloring of image labels
---------- Forwarded Message ---------- Subject: Re: [R] conditional coloring of image labels Date: Friday 11 November 2005 1:04 pm From: jim holtman <jholtman at gmail.com> To: Jake Michaelson <jjmichael at cc.usu.edu> Use 'mtext': genes=cbind(ABC1=c(3,4,4,5,6,3), ABC2=c(4,3,4,7,7,8), ABC3=c(8,7,8,6,3,2)) ###plot the image image(1:nrow(genes), 1:ncol(genes), genes, axes =
2010 Oct 13
4
Change global env variables from within a function
Hi, I've looked all over for a solution to this, but haven't had much look in specifying what I want to do with appropriate search terms. Thus I'm turning to R-help. In the process of trying to write a simple function to rename individual column names in a data frame, I ran into the following problem: When I rename the columns within my function, I can't seem to get it to
2023 Jul 26
2
Rename Computer on Domain
I can report that the computer renaming worked. As it turned out, only the cn was incorrect ... ldbsearch -H ldap://DC1 -UAdministrator 'CN=DT06' dn: CN=DT06,OU=Desktops,OU=Computers,DC=domain,DC=com objectClass: computer cn: DT06 operatingSystem: Windows 10 Pro displayName: WH23$ sAMAccountName: WH23$ ... so a simple LDAP rename worked ... ldbrename -H ldap://DC1 -UAdministrator
2013 Oct 15
2
[LLVMdev] MCJIT and DWARF debugging info and lldb
Hey folks, I've written a Common Lisp compiler using LLVM as the back end. I switched to MCJIT a couple of days ago. I generate DWARF debugging information for each Compile Unit, Function, LexicalBlock and line numbers (using DIBuilder). (I'm on OS X 10.8.5; XCode 5.0; ToT LLVM/Clang build rev 192521) When I check my backtraces in lldb (stock lldb from Xcode 5.0) I don't see my
2004 May 31
1
Old domain name an't delete record with tdbtool
Samba V3, tdbsam backend. I've had to change the workgroup name in smb.conf on a Samba PDC (ie, I've changed the domain name). However, the old domain name still shows up in Windows PCs' "Microsoft Windows Network" (together with the new name, which works just fine). I want to remove the old domain name, and I assume it is still showing because it is still present in
2007 Aug 03
2
change the names of all listed objects
Dear list members, I have created seven objects, from a to g, so that ls() gives me [1] "a" "b" "c" "d" "e" "f" "g" how can I automatically change their names in "a1" "b1" "c1" "d1" "e1" "f1" "g1" It seems simple, ut it is driving me mad. Thank you very
2005 Dec 05
1
how to save output all together
Dear R users: I have a problem about catch the value from function. I have following two functions (part): sbolus1 <- function() { ....... for( i in 1:Subject) { kel<-par1 Vd<-par2 PKindex<-sbolus1.out(PKtime,kel,Vd,defun,par1,par2,Dose,i) } savefile(PKindex) } sbolus1.out<-function(PKtime,kel,Vd,defun,par1,par2,Dose,i) { time<-PKtime$time
2011 Oct 16
1
grouped lattice plot with overall regression line
I'd like to draw a lattice plot with groups. The groups (the grouping condition, fns) are successfully marked with separate symbols, using the following code: xyplot(T~A|speaker,groups=fns,pch=1:3,key=list(space="right",points=list(pch=1:3)),type=c("g","p","r")) Here's a hard part. This draws regression lines for each group in each panel (there are
2020 Apr 10
2
missing binaries in R-devel windows snapshot 78175
> On Thu, Apr 9, 2020 at 12:44 PM Bravington, Mark (Data61, Hobart) > <Mark.Bravington at data61.csiro.au> wrote: > > > > The "r-devel snapshot build" 78175 on Windows--- a dot-exe installer--- seems to be missing a couple of files in its bin/i386 folder: Rterm.exe and Rgui.exe. Both are present in its bin/x64 folder (and in the i386 folder for current R). From:
2020 Apr 10
3
missing binaries in R-devel windows snapshot 78175
>>>>> Jeroen Ooms >>>>> on Fri, 10 Apr 2020 08:54:39 +0200 writes: > On Fri, Apr 10, 2020 at 2:42 AM Bravington, Mark (Data61, > Hobart) <Mark.Bravington at data61.csiro.au> wrote: >> >> > On Thu, Apr 9, 2020 at 12:44 PM Bravington, Mark >> (Data61, Hobart) > <Mark.Bravington at data61.csiro.au>
2003 Mar 26
5
predict (PR#2686)
# r-bugs@r-project.org `predict' complains about new factor levels, even if the "new" levels are merely levels in the original that didn't occur in the original fit and were sensibly dropped, and that don't occur in the prediction data either. (At least if `drop.unused.levels' was set to TRUE, which the default.) test> scrunge.data.2_ data.frame( y=runif( 3),
2007 Jan 30
1
Emacs spec parsing?
Hi, Did anyone with better emacs lisp knowledge than me already come up with a function like spec-at-point which finds the specify and context declaration for the current cursor position and returns a string which can be used to be passed to the --spec option of the spec runner? Damn that would be useful ... I am currently using a function that runs spec --line with the current line number, the