similar to: Comparing two matrices [Broadcast]

Displaying 20 results from an estimated 6000 matches similar to: "Comparing two matrices [Broadcast]"

2006 Jul 06
3
Comparing two matrices
hi: I have matrix with dimensions(200 X 20,000). I have another file, a tab-delim file where first column variables are row names and second column variables are column names. For instance: > tmat Apple Orange Mango Grape Star A 0 0 0 0 0 O 0 0 0 0 0 M 0 0 0 0 0 G 0 0 0 0 0 S 0 0 0 0 0
2004 Oct 18
2
答复: 答复: R plot problems
Yes! You are right ! It is perpendicular to the axis. Thank you very much! Could I choose the angle ,such as 45 degree? Best Regards! Ivy Li YMS in Production & Testing Semiconductor Manufactory International(ShangHai) Corporation #18 ZhangJiang Road, PuDong New Area, Shanghai, China Tel: 021-5080-2000 *11754 Email: Ivy_Li at smics.com -----orig--- Hi Ivy, How about x <-
2004 Oct 18
3
答复: R plot problems
Thank you for your help! I gave you an example, you could run it in R . Maybe you will understand my meaning clearly. x <- data.frame(main.name="AAA", x.name=rep(c("Apply","Watermelon","Lemon","Banana",
2011 Aug 11
1
help with loops
hi I need help with list object. I have a list object > a <- c('apple','orange','grape') > b <- c('car','truck','jeep') > c <- list(a,b) > names(c) <- c('fruit','vehicle') > c $fruit [1] "apple" "orange" "grape" $vehicle [1] "car" "truck"
2004 Mar 10
2
data frame filtration
Hi, R-help: I am a new user of R and am very pleased with R's features. Here I have one question regarding data frame manipulation. I have a data frame look like this: Fruit Condition 1 Orange Good 2 Orange Bad 3 Orange Good 4 Orange Good 5 Orange Bad 6 Apple Good 7 Apple Bad 8 Apple Good 9 Apple Good 10 Apple Bad 11 Apple Good 12 Apple Bad 13
2002 Sep 10
3
print
Hi all, Suppose I have a vector Fruits <- c('Apple','Orange','Pear','Banana','Mango') I want to print the statement "The fruits in the basket are: Apple, Orange, Pear, Banana, Mango" If I do: print(paste('The fruits in the basket are:',Fruits)) The output is: [1] "The fruits in the basket are: Apple" "The fruits in
2006 Sep 01
1
Reading many files at once
dear group, i have 100 files starting with 'hsa-*'. ex. file: fruit p-value ------------ apple 0.0003 orange 0.004 kiwi 0.0003 peach 0.0004 I want to read all these files and create a single matrix. here each file may have different fruit names. in the matrix i want to have a union of all fruits and those should be the rows in the matrix and file names should be columns.
2010 May 19
1
Calling R-tists
Participants in the R User Conference, useR! 2010, July 21-23, (http://R-project.org/useR-2010) will each receive a t-shirt, thanks to the sponsorship of Mango Solutions (http://www.mango-solutions.com/). This email is a call for designs for the front of the t-shirt. The design should be made using a single color of your choice. The design should be in the form of a high-resolution (at least
2010 Dec 02
1
Arrange elements on a matrix according to rowSums + short 'apply' Q
Greetings, My goal is to create a Markov transition matrix (probability of moving from one state to another) with the 'highest traffic' portion of the matrix occupying the top-left section. Consider the following sample: inputData <- c( c(5, 3, 1, 6, 7), c(9, 7, 3, 10, 11), c(1, 2, 3, 4, 5), c(2, 4, 6, 8, 10), c(9, 5, 2, 1, 1) ) MAT <- matrix(inputData,
2002 Mar 18
2
persp(): add second plane (second, long question)
Thank you for your replies so far. Sorry for bothering you again, but I'm still not able to get what I need as I don't understand all parts of the replies (just using R for easy things....). Is there a code for plane3d() like some of you sent me for points3d()? I was not able to get that out of the scatterplot3d package... What I can do is to get the x,y and z-range for the xlim,ylim and
2006 Mar 25
2
pairwise combinatons of variables
Dear WizaRds, although this might be a trivial question to the community, I was unable to find anything solving my problem in the help files on CRAN. Please help. Suppose I have 4 variables and want to use all possible combinations: 1,2 1,3 1,4 2,3 2,4 3,4 for a further kmeans partitioning. I tried permutations() of package e1071, but this is not what I need. Thank you for your help and
2009 Feb 19
2
counting strings in a column
Dear All, I have a query : what is the command to count number of repeated words in a column. for ex: a = oranges oranges apples apples grape oranges apple pine the result should be oranges 3 apples 3 grape 1 pine 1 is there an easy way for this. Thanks, Nataraju GM R & D Bangalore -- "No relationship is Static .. You either Step up or Step down" [[alternative HTML
2003 Jul 30
1
S & R Public Training Courses in the UK
(Apologies for cross posting) Mango Solutions are pleased to announce the following public courses in the UK. Date Course Location 29th - 31st October Advanced <http://www.mango-solutions.com/pubadvanceds.htm> S-PLUS Programming Oxford 11th - 13th November R <http://www.mango-solutions.com/pubrprogramming.htm> Programming London 14th November R for
2004 Aug 05
1
Using pipe for input data
Hi. I have asked this question before and Aaron J. Mackey and Tony Plate gave me some great insight but I still can't figure out how to do what I am trying to accomplish. So let me ask again... What I am trying to do is to make R read data from pipe (stdin). Say I have following files on my directory my.dat apple 1 orange 2 grape 3 my.R d <- read.table(
2010 Oct 07
1
model.frame deficiency
The model.frame function has trouble with a certain type of really long formula. Here is a test: tname <- paste('var', 1:50, sep='') tmat <- matrix(rnorm(500), ncol=50, dimnames=list(NULL, tname)) tdata <- data.frame(tmat) temp1 <- paste( paste(tname, tname, sep='='), collapse=', ') temp2 <- paste("~1 + cbind(", temp1, ")")
2008 Oct 02
1
R Training Courses
There are still places available on the following courses. For more detailed information and a registration form please contact training@mango-solutions.com, or visit our website at www.mango-solutions.com <http://www.mango-solutions.com/> . R for Finance **************************************************** Dates: 21st to 23rd October 2008. Duration: 3 days. Location: London.
2010 Jul 07
1
LondonR July Meeting
I am pleased to announce to agenda for next weeks LondonR meeting: LondonR meeting - 13th July 2010 Date:?? ???????? Tuesday 13th July 2010 Time:??????????? 6pm - 9pm Venue:????????? The Shooting Star ??????????????????? 125 - 129 Middlesex Street ??????????????????? E1 7JF ??????????????????? (Nearest Tubes- Liverpool Street, Moorgate or Bank)? Agenda 6.00pm???????? Mango
2011 Oct 21
3
Contributors on R-Forge
Hi, I've recently taken over maintenance for the "xtable" package, and have set it up on R-Forge. At the moment I'm pondering what the best way is to handle submitted patches. Basically, is it better to: 1) Be non-restrictive regarding committer status, let individuals change the code with minimal pre-commit review, and figure changes can be reviewed before
2010 Mar 26
1
BaselR
BaselR - The new R meeting We are pleased to announce the new R meeting to be held in Basel, Switzerland. BaselR will be held from 6:30-9:30pm on Tues, Apr 27 at TransBARent: http://transbarent.business.sv-group.ch Doors open at 6:30,pm with the presentations starting at 7:00pm Introduction: What is Basel R? Andreas Krause:... Graphing Pharma Data Yann Abraham: Graphics Charles Roosen: Web
2017 Jun 04
0
New var
Since the number of choices is small (6), how about this? Starting with Jeff's initial DFM: DFM <- structure(list(obs = 1:6, start = structure(c(16467, 14710, 13152, 13787, 15126, 12696), class = "Date"), end = structure(c(17167, 14975, 13636, 13879, 15340, 12753), class = "Date"), D = c(700, 265, 484, 92, 214, 57), bin = structure(c(6L, 3L, 5L, 1L, 3L, 1L), .Label