similar to: renaming factor-labels / add factors etc.

Displaying 20 results from an estimated 1200 matches similar to: "renaming factor-labels / add factors etc."

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
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?
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
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 =
2004 Dec 19
1
Authentication problems
Hi. I aim to provide pop3 and imap services to a few users. At the moment I only offer imap for squirrelmail users. However, I can't login successfully for pop3. It appears to be trying to auth against PAM, rather than directly using the passwd-file. Thoughts? Thanks, Rory Config: uthenticatprotocols = pop3 imap ssl_disable = yes login = imap login = pop3 mail_extra_groups = mail auth =
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
2002 Oct 18
4
code to turn T into TRUE
Does anyone have code that will methodically process R sourcecode, turning T's into TRUE and F's into FALSE? I got bored doing this by hand, after the first 30-odd functions-- there are hundreds left to do. I don't want to simply deparse everything, because that would destroy my beautiful formatting. The reason it's not trivial, is that comment lines, quotes, and split lines need
2013 Feb 16
1
[LLVMdev] A weird problem when try to output operand of instruction involving function pointer in a struct
Hi all, I just start to learn llvm. I am trying to get the operand's name of some instruction that invokes a function field of a struct. While, I found in the result that there is a sequence number attached to the function field name. Below is an example: /******source code t2.c*******/ #include <stdio.h> void F(){printf("F\n");} void E(){printf("E\n");} void
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
2007 Jan 08
2
rsync - 2.6.8 ( broken pipe )
Wayne, While testing rsync 2.6.8, I often receive broken pipe error, even though there is no network problem, between Active and Standby nodes. Please clarify. 2007/01/09 02:11:36 [1076] rsync: connection unexpectedly closed (342821 bytes received so far) [receiver] 2007/01/09 02:11:36 [1076] rsync: writefd_unbuffered failed to write 84 bytes [generator]: Broken pipe (32) 2007/01/09
2013 Apr 01
2
Timing of SET_VECTOR_ELT
Assume a C program invoked by .Call, that returns a list. Near the top of the program we allocate space for all the list elements. (It is my habit to use "xyz2" for the name of the R object and "xyz" for the pointer to its contents.) PROTECT(means2 = allocVector(REALSXP, nvar)); means = REAL(means2); PROTECT(u2 = allocVector(REALSXP, nvar)); u =
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
2000 Feb 07
1
demo(nlm) error under R 0.99.0
I can't seem to get the demo(nlm) to run under R version 0.99.0 Anyone know a solution? > fgh <- function(x) { gr <- function(x1, x2) { c(-400 * x1 * (x2 - x1 * x1) - 2 * (1 - x1), 200 * (x2 - x1 * x1)) } h <- function(x1, x2) { a11 <- 2 - 400 * (x2 - x1 * x1) + 800 * x1 * x1 a21 <- -400 * .... [TRUNCATED] > nlm(fgh,
2009 Nov 24
2
Re moving white space help
Hi there I am trying to remove the white space and replace it with nothing but didnt have any luck with that x <- and fgh- i can replace the comma using gsub gsub("\\-","",x) but i cant replace the white space with nothing. Ramya -- View this message in context: http://old.nabble.com/Removing-white-space-help-tp26503431p26503431.html Sent from the R help mailing list
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 Mar 02
2
nlm() problem : extra parameters
Hello: Below is a toy logistic regression problem. When I wrote my own code, Newton-Raphson converged in three iterations using both the gradient and the Hessian and the starting values given below. But I can't get nlm() to work! I would much appreciate any help. > x [1] 10.2 7.7 5.1 3.8 2.6 > y [1] 9 8 3 2 1 > n [1] 10 9 6 8 10 derfs4=function(b,x,y,n) {
2009 Jan 23
1
problem in appending data into*.csv file
Hi all, I got a problem with appending data into the *.csv file like abc<-read.csv("bbb.csv") # reading data from one csv file abc1<-mean(subset(abc,Group=="A")) hear i have to creat a .csv file and in that i have to create column's with names *group, mean* and farther i have to caliculate for Groups:-A, B, C, D, F and i have to append data to consicutive rows of
2015 Dec 10
2
Bug: windows server 2012R2 fails to start after virt-resize
Hello everyone! After I ran virt-resize (v1.31.28) on my disk with win2012R2 (partition table [GPT]: VFAT (100M), unknown (128M), NTFS (64G)) My VM fails to boot: black screen informing that Windows failed to start... Status: 0xc000000e Info: an unexpected error has occured. After some investigations, I realized that Windows remembers the GUID of disk it is installed to. If I execute
2013 Aug 02
4
Internalization of help pages
Is it possible to translate help files? I see there are some localization options for GUI, but not for help. I think this would be really helpful for users who don't have English as their primary language. Because all the online help is created from text files, it should be not that difficult to maintain different language versions (e.g. to mark them as not valid when primary documentation in
2013 Aug 02
4
Internalization of help pages
Is it possible to translate help files? I see there are some localization options for GUI, but not for help. I think this would be really helpful for users who don't have English as their primary language. Because all the online help is created from text files, it should be not that difficult to maintain different language versions (e.g. to mark them as not valid when primary documentation in