similar to: function order

Displaying 20 results from an estimated 6000 matches similar to: "function order"

2011 Apr 04
3
add zero in front of numbers
Dear R users, I need to add 0 in front of a series of numbers, e.g. 1->001, 19->019, Is there a fast way of doing that? Many thanks yan [[alternative HTML version deleted]]
2011 Feb 01
3
R string help
Dear R guru: If I got a variable aaa<- "up.6.11(16)" how can I extract 16 out of the bracket? I could use substr, e.g. substr(aaa, start=1, stop=2) [1] "up" But it needs start and stop, what if my start or stop is not fixed, I just want the number inside the bracket, how can I achieve this? Many thanks yan
2011 Feb 24
2
debugging
Dear R user How to make the program stop at the spot where the error occurs? I mean inside the iterations,. Many thanks yan ********************************************************************** This email and any files transmitted with it are confide...{{dropped:10}}
2011 May 17
2
submit R package
Dear all, I'm just wondering how to submit a package to cran? I followed the instruction, using anonymous as username and my email address as password, but it didn't connect. Any hints? Yan [[alternative HTML version deleted]]
2012 Jan 24
5
function for grouping
Dear All, I'm wondering if there is a R function could give me all the combinations of the grouping/cluster result, given the number of the groups. e.g. 3 objects: x1 x2 x3, number of groups is 2 so the result will be group1:x1,x2; group2: x3 group1: x1;group2: x2,x3 group1: x1,x3;group2: x2 many thanks yan
2011 Feb 21
1
output selectively change the font
Dear brainy R users, I need to output a matrix, with two colors , meaning some elements using different color I normally use write.table(table.m, file="table file name.csv", sep=","), how could I pass the index for the color ? Many thanks yan ********************************************************************** This email and any files transmitted with it are
2011 Feb 10
1
extracting characters from string
Dear R gurus, If I got a vector with string characters like "abcd_efgh_12ab3_dfsfd", how could I extract "12ab3", which is the characters after second underscore and before the third underscore? Tons of thanks yan ********************************************************************** This email and any files transmitted with it are confide...{{dropped:10}}
2011 Feb 14
1
Bron-Kerbosch algorithm
Dear R users I need to solve the finding all cliques in a graph problem, is there a R package implementing Bron-Kerbosch algorithm? Many thanks YAn ********************************************************************** This email and any files transmitted with it are confide...{{dropped:10}}
2011 Apr 01
2
regression line on boxplots
Dear R users, I'm trying to add a regression line on my boxplots (something like:boxplot(c(1:3),c(4:6),c(5:8))) But I can't see it. Please help !!! It's not a April fool's joke!!! Yan [[alternative HTML version deleted]]
2008 Aug 21
1
order(x,y, decreasing = c(FALSE, TRUE)) - how / elegantly?
I've found the need to compute a version of order(x,y) where I want the sort order for *increasing* x and *decresing* y ... something we could imagine could be provided in the future as order(x,y, decreasing = c(FALSE, TRUE)) i.e., using a 'vectorized' decreasing argument. {No, I'm not volunteering right now!} I've found the following R-level solution and like to quiz
2011 Jan 28
1
axis name editing
Dear All, I'm generating a heatmap, is there a way to make Y axis name display horizontally, X axis name display vertically? I tried using "horiz=TRUE": axis(1,at=1:dim(cor.meta.m)[1],labels=gsub("module","",pw.names),horiz=T RUE) but got warning message and the name is not displayed as I wish: Warning message: In axis(1, at = 1:dim(cor.meta.m)[1],
2012 Jan 25
1
function restrictedparts
I am using function restrictedparts, but got error: restrictedparts(281,10) Error in integer(len) : vector size specified is too large Calls: restrictedparts -> integer In addition: Warning message: In restrictedparts(281, 10) : NAs introduced by coercion Error in integer(len) : vector size specified is too large Calls: restrictedparts -> integer is there a similar function can deal with
2012 Jul 12
1
using glmnet for the dataset with numerical and categorical
Dear R users, if all my numerical variables in my datasets having the same units, may I leave them unnormalized, just do cv.glmnet directly(cv.glmnet(data,standardize=FALSE))? i know normally if there is a mixture of numerical and categorical , one has to standardize the numerical part before applying cv.glmnet with standardize=fase, but that's due to the different units in the numerical
2011 Apr 01
1
mean in the boxplot
Dear R users, How to show mean in the boxplot instead of median ? Many thanks Yan [[alternative HTML version deleted]]
2011 Mar 29
3
Reversing order of vector
Dear R helpers Suppose I have a vector as vect1 = as.character(c("ABC", "XYZ", "LMN", "DEF")) > vect1 [1] "ABC" "XYZ" "LMN" "DEF" I want to reverse the order of this vector as vect2 = c("DEF", "LMN", "XYZ", "ABC") Kindly guide Regards Vincy [[alternative HTML
2007 Jan 19
2
split data set
I have a data(ABC) like this: x y A 3 4 A 1 3 B 2 6 B 4 8 C 5 4 C 6 7 I want to split this data into A: x y A 3 4 A 1 3 B B 2 6 B 4 8 C C 5 4 C 6 7 anyone knows how to do that? thanks, Aimin Yan
2008 Jul 09
2
Read.table - Less rows than original data
Dear all, I have problem when reading a table into R. The total row of read in table has is much less than the original saved table. I built a 1,273,230 by 6 data set named "mydata2", it was saved in the following command, write.table(mydata2, "mydata2.txt", row.name=F,col.name=T,quote=F,sep="\t") The next day I read in above saved text file into R,
2016 Mar 22
2
Xapian's GSoC Student Application
Dear All? Hello! My name is Ou Jiao, and I am a graduate student at Institute of Computing Technology, Chinese Academy of Sciences. The file is my GSoC student application. Would it be possible to give me some suggestions as to how I might improve it? I am looking forward with great pleasure to doing this project.Thank you for your help and consideration. Kind regards!
2007 Aug 13
3
invert 160000x160000 matrix
Can R invert a 160000x160000 matrix with all positive numbers? Thanks a lot!
2016 Mar 23
2
Xapian's GSoC Student Application
I am very sorry for the inconvenience.I have had my proposal in Google Docs,this is the url, https://docs.google.com/document/d/1_9kalujmuHu_ce3DScn-1E9hM-RGAV46JEIql4h8rks/edit?usp=sharing . Thank you! 2016-03-22 20:57 GMT+08:00 James Aylett <james-xapian at tartarus.org>: > On Tue, Mar 22, 2016 at 03:49:45PM +0800, ?? wrote: > > > Hello! My name is Ou Jiao, and I am a