Hi,
I have two data frames each with 5 columns and different number of
rows. some of the row names in one data frame are the same as the row
names in the other. I want to be able to merge the two data frames to
get a new data frame in which the duplicated row names are only shown
once with the
Hi all,
I have a matrix with each column containing a large number of integers
(0 and above). in each column beyond a certain row (say row 120 in
column 1, row 134 in column 2, 142 in column 3...) there are only
0's. I want to find, for each column the row number of the last row
which contains
Hi all,
I created three separate square matrices (lets say R, G, and B). each
one contains a series of values between 0 and 1. I want to be able to
take for example R[1], G[1], B[1] and create a rgb color value into a
fourth matrix. I tried using the rgb function but I must be doing
something
Hello All,
I have a device that spews out experimental data as a series of text
files each of which contains one column with several rows of numeric
data. My problem is that for each trial it gives me one text file
(and I run between 30 to 50 trials at a time) and I would ideally like
to merge
Hi all,
In response to a previous post about plotting a numeric square matrix
as a colored matrix, I was referred to both image and the
color2D.matplot function in the plotrix package. Both have worked for
me thanks!!
However I need to plot my data in a log transformed color scale. Is
this
Hi all,
I have a square (a x a) matrix with values in a range. For example:
[,1] [,2] [,3] [,4]
[1,] -5 -13 -4
[2,] -404 -3
[3,] -315 -2
[4,] -22 -5 -1
I want to take any number smaller than -4 (in this example -5) and
replace it with -4 and
Hello all,
I am trying to use R to create a colored data matrix. I have my data
which (after certain steps of normalization and log transformation)
gives me a x by y matrix of numbers between 0 and -5. I want to be
able to create from this matrix of numbers a x by y image (box) that