similar to: matrix of bins with different length

Displaying 20 results from an estimated 6000 matches similar to: "matrix of bins with different length"

2007 Jul 13
1
counting occurances of matching rows in a matrix
I need help regarding to the following problem: Consider this matrix: > M <- matrix(c(1,2, 4,3, 1, 2),3, 2, byrow=TRUE) > M [,1] [,2] [1,] 1 2 [2,] 4 3 [3,] 1 2 I would like to have a matrix which counts the identical rows and places the counts into its third column. I tried with ftable(): > as.data.frame(ftable(M[,1], M[,2])) Var1 Var2 Freq 1 1 2
2007 Oct 31
1
problem with package fSeries
Helo, please look at the log below: after loading the fSeries library, I can not use the log function. Is this a bug or what am I doing wrong? Because of this, I'm unable to use the garch library. thanks a lot for any help, Balazs Torma > log(1) [1] 0 > require("fSeries") Loading required package: fSeries Loading required package: robustbase Loading required package:
2009 Mar 02
2
R-code help for filtering with for loop
Dear Sir / Madam, I am new for R coding. Kindly help me out in sorting out the following problem. There are 50 rows with six coloumns(you could see in the attached .txt file). I wish to go for filtering this 50 rows for any one of the six coloumns satisfying the value >= 64. I need to have a final table with rows having >= 64 value in any one of the six coloumns and the rest could be
2008 Jun 10
4
Hello
Hello, I am facing a problem in drawing heat map using R. I have a 70X3 matrix and I want to draw a heat map with 1 coloumn on X axis another on Y axis and want to show the value of 3rd coloumn using heat colours. Could you please help me with this . Thank you . Regards, Sumit [[alternative HTML version deleted]]
2005 Mar 25
2
tapply and NA value
Hi, I'm writing for a little help. I have a dataframe with same NA value and I'd like to obtain the means of the value of a coloumn grouped by the levels of a factor coloumn of the datframe. I'm using the function "tapply" but I see that if only a NA value is present the result is NA. There is an option to have the correct result or I must use an other function? Thanks of
2004 Dec 10
1
bar charts
Hi, I'd like plot a bar graphic of a array. I'd like to have the values of the single columns as juxtaposed bars (like in "barplot" with beside=TRUE) and I'd like to have the values of the single columns expressed like percentage of the sum of the coloumn. In this way all the bars are composed by the sum of the percentage of the values of a coloumn (with different colors)
2006 Jun 16
1
Assignemt problem ,,,,,,,,,,,,,,,
  Hello list, i have a very simple question about matrix assignment. i did like this. res<-1:30 dim(res)<-c(5,6) ind<-1:6 now i want to assign the value of this variable ind to first coloumn in matrix res. like res[,1]<-ind but this code is giving error , Actualy i have a for loop and value of ind variable is changing every time ,,total 6 times,,i want to assign every vlaue
2005 Nov 18
1
pr[in]comp: predict single observation when data has colnames (PR#8324)
To my knowledge, this has not been reported previously, and doesn't seem to have been changed in R-devel or R-patched. If M is a matrix with coloumn names, and mod <- prcomp(M) # or princomp then predicting a single observation (row) with predict() gives the error Error in scale.default(newdata, object$center, object$scale) : length of 'center' must equal the number of
2010 Jun 16
4
search bug?
Hi all, I have emails with multiple Delivered-To: headers in them. The problem is that the SEARCH command only searches in the first instances. For example: 1 FETCH 14557 BODY[HEADER.FIELDS (Delivered-To)] * 14557 FETCH (BODY[HEADER.FIELDS (DELIVERED-TO)] {85} Delivered-To: pozsy at ojjektum.uhulinux.hu Delivered-To: szamlagyar at uhusystems.com ) 1 OK Fetch completed. 1 SEARCH HEADER
2011 Jun 07
3
Classifying boolean values
Hi to all, I'm new to this forum and new to R. I have to build a tree classifier that has boolean values as response. When I build the tree with: echoknn.tree <- tree(class ~ ., data=echoknn.train) where "class" is a coloumn of my dataset (echoknn.train) of boolean values, the result is a tree where leaf nodes are numbers in the range [0,1]; but this isn't the result that I
2009 Apr 29
3
mode(x) <- "double"
Hi, I need your help!! I imported a big coloumn vector from a txt file but it results as mode :"list" I want to change it in numeric otherwise I can't do my analysis. This is what i get: mode (data) <- "double" Error in eval(expr, envir, enclos) : (list) object cannot be coerced to type 'double' > Thanks a lot!!! Alessandra -- View this message in
2000 May 25
4
Needed: Understading runif() output :-)
Dear all, I have been trying to understand what runif() is telling me. I am generating lots of numbers (billions and billions (wow, I''ve dreamed about saying that for many years... :-) ), for a distribution that has the following quantile function: 1 / (2 * sqrt(1 - p)) (that is, the distribution has a lower cutoff) As you can imagine, this has rather heavy upper tail. I was
2010 Feb 08
1
Hi problem with read.csv
Hi all, I am getting problem with "read.csv()" command the problem is I have one file which is saved in "ANSI" while I am trying to open with R-Project its opend and all the cloumn names are comming proper like for the command names(kk) "FILEID" "UNIQUEID" "LATESTFLG" "ACTIVEFLG" "PROJROLEID"
2001 Aug 02
1
Package GSS for interpolation in more than 2D?
Dear all, There has been some time since I asked about interpolation in higher (>2) dimensions, and I must admit I failed to write a function to do this myself the last time, but eventually ended up doing it in MATLAB. I tried to translate the MATLAB code, but MATLAB code is so much more opaque than R (S) code, so I failed that too, mainly because I could only get one MATLAB session, I would
2005 Mar 22
1
OS X proxy question
All, I'm currently using R 2.0.1 on a Powerbook G4 with OS X 10.3.8. So far the only way I've found to set my proxy is by doing Sys.putenv("http_proxy"="<insert proxy url>:<proxy port>) everytime I start up R. This works fine, but I'd like to find a solution that doesnt require manual input everytime I start up R. Does any one have a better way of
2005 Jan 24
1
R 2.0.1 and Rggobi install issues on windows XP
Has anyone else ran into problems installing Rggobi with R 2.0.1 on a windows platform? I've followed all the instructions available and I still can not get R to recognize Rggobi as a library (package). I I've already emailed Duncan Temple Lange at ggobi.org and bell labs and both emails have bounced back. Any help would be greatly appreciated. -Drew Balazs
2007 Oct 29
5
problem in starting xend
problem in starting xend I tried to install xen, but got some errors when starting xend. as I logged in and tried to start xend (/etc/init.d/xend start). I just got six-seven dot (.) printed out, then it stops. I looked more closely and found that xend could not start. then I looked at /var/log/xend-debug.log. here is the last few lines: ^^^    Exception starting Xend: no element found:
2008 Apr 18
1
Bug in Merge?
Hello, I find strange number in my merge data set. My first coloumn consist row numbers. ----------------------------------------------------------- my.data: AbsTime RelTime PE_ID Event Delay 4238 1208514343.812086 107.153637 4 EKA 51620 ################################## Host.data: ID Host 4 4
2006 Aug 11
1
help:coerce lmer.coef to matrix
Hi, Thanks for your response, it nearly worked! But it only wrote one coloumn of data and not the three columns I need. Using fixef(m1) doesnt give the same results as coef(m1) when you are using more than one random effect. I need the coefficients for each individual so I use coef(m1) to get this which results in an object of class lmer.coef, 3 columns by 700 rows. as.data.frame() wont work on
2010 Nov 16
2
Counting
Hi dear all, i have a data (data.frame) which contain y and x coloumn(i.e. y x 1 0.58545723 0.15113102 2 0.02769361 -0.02172165 3 1.00927527 -1.80072610 4 0.56504053 -1.12236685 5 0.58332337 -1.24263981 6 -1.70257274 0.46238255 7 -0.88501561 0.89484429 8 1.14466282 0.34193875 9 0.58827457 0.15923694 10 -0.79532232 -1.44193770 ) i changed