Displaying 20 results from an estimated 10000 matches similar to: "print-show-display a matrix"
2004 May 08
3
Indexing column of a matrix with infix $
I'm using 1.9.0 on Windoze 2k and I created a numeric matrix and used
colnames() to give it some column names, but if I try to select a
column using matrixname$validname I get a null return but if I use
matrixname[,4] it works fine. Looking at the help I think this is
because a matrix is not a recursive structure and I think it's saying
I shouldn't be surprised nor attempt this.
2003 Aug 20
1
question for loop on matrix row level.
For the 1000 simulations, a matrix will be generated
each time. And, I need to choose the first row of the
generated matrix. The following loop doesn't work
though:
for (i in 1:1000) {
aval[i]<- matrixname[1,]
}
Any solution? thanks!
2010 Jun 02
3
writing a matrix in a file
Hi,
I want to write a matrix (n*m) in a file (Text file) such that the file
will be as Result file (below).
I use the below command but it write all numbers in one column,
> write(paste(matrixname),file="test.txt",append=TRUE)
how can I do this?
Result file:
5 5 -1 -1 -1 -1
8 8 2 7 6 5
6 6 8 2 7 5
Matrix:
[,1] [,2] [,3] [,4] [,5]
2010 Sep 08
2
Matrixes inside matrixes
Hello everyone,
Could you please help me find out if R supports matrixes inside matrixes?
This is what I would like to do
I have an area map of humidity per km. I would like at every cell to keep also
information about the height of this area, the current temperature etc.
Is something like that supported?
I would like to thank you in advance for your help
Best Regards
Alex
2007 Sep 11
1
storing text and decimal values in a matrix form
Hi,
I would like to store some text and decimal values in the following
form:
name dec.val dec.val ... dec.val
name dec.val dec.val ... dec.val
...
name dec. val dec.val ... dec.val
To do so, I created a matrix of the necessary size (x row per y cols)
with the command
matrixname <- matrix(0,x,y)
and proceeded to fill in the matrix with information drawn from a
data frame.
The
2011 Feb 07
1
color2d.maplot error
Dear all
I am using color2D.maplot to map some matrixes to plot. everything works fine. It seems that when my matrix contains only the same value color2D.maplot returns the following error:
color2D.matplot(estimatedsr,redrange=c(0,1),greenrange=c(0,.5),bluerange=c(0,.5),xlab="x",ylab="y",main=sprintf('Estimated'),show.legend=TRUE,show.values=TRUE)
Error in rgb(reds,
2011 Mar 04
4
How two compare two matrixes
Dear all I have two 10*10 matrixes and I would like to compare theirs contents. By the word content I mean to check visually (not with any mathematical formulation) how similar are the contents.
I also know edit that prints my matrix in the scree but still one edit blocks the prompt to launch a second edit() screen.
What is the best way to compare these two matrices?
I would like to thank you
2006 Sep 13
2
Revisited - No fullscreen on FreeNX
This topic came up some time back and I pretty much ignored it, but the "itch" came back to find out why. Searching through the
FreeNX/knx list came up with the reason sessions did not come up full-screen even though the session definition was set to fullscreen.
Apparently there is an oversight in /usr/bin/nxnode, the script is never retrieving the fullscreen flag from the parameters
2010 Oct 05
4
Linear Integration
Hello
I would like to calculate a weighted line integral.
The integral is calculated by the cells that this lines trasverses (the small
cells belong to matrix (m*n) that represent the value that a specific area has.
I need to calculate the weights by finding out how much the line touches or
impinges inside a cell.
The weight is less if a line just touches one of the four edges of a square
2010 Jul 01
3
wine1.2rc-x changes brightnes in flash fullscreen (nvidia)
Hey,
I've noticed some strange behaviour in the latest wine versions 1.2rc-x.
At 1.2rc-1-3 when I installed games like Guild Wars or Runes of Magic the first start in fullscreen turned the birghtness level of my laptop to 100%.
(having a Sony VGN-NR21S with an Nvidia 8400M-GT).
I'm setting the brightness level with smartdimmer (nvclock package).
When I enter "smartdimmer -s
2013 Jan 12
2
X11 plot window doesn't show graphic immediately
Hi r-help,
I have a weird problem. When I plot anything, say plot(1:10), a plot
window opens but it's empty. It looks just like this:
http://i.imgur.com/9uqO6.png
I have to resize the window, either by clicking the fullscreen icon on
the menu bar, or by dragging the borders. Then the plot is shown, but
strangely in the original size of the window, where it was before the
resize:
2006 Jun 06
4
(?) Loss of fullscreen mode with freenx-0.5.0-8.c4
I've currently got the nx-1.5.0-1.centos4.i386, freenx-0.5.0-8.c4.noarch, and nxclient-1.5.0-141.i386 packages installed on a couple
of CentOS 4 update 3 systems and I'm getting the same results on all of them. I got the new version of freenx via "yum update" and
it appears to have "broken" fullscreen mode. The connection config file I have been using does have the
2010 Oct 05
3
Make a loop more efficient
Hello everyone
I need some advice if the following might be easier implemented.
There are n matrixes
each matrix needs to calculate one value for the rest n-1 matrixes (but not for
itself). I implemented this one by
two nested loops
for (i in c(1:length(CRX))) {
for (j in c(1:length(CRX)))
if (i!=j) # where i and j are the two indexes. If i==j then is the same
matrix.
2013 Oct 11
1
display full-screen color graphic without X
Need to test a monitor attached to a running server, so I'm looking for
an application/utility to display a large color graphic. This must be
possible to do without X because a splash screen comes up when this
system boots. The best graphic to display obviously would be some kind
of fullscreen test pattern. Anyone know where to get that?
tia,
ken
2011 Feb 02
2
Help me apply mapply
Hello all I would like to ask your help use mapply.
I have a function called findCell that takes two arguments(x,sr)
where x is a vector of size two (e.g x<-c(2,3) and sr is a matrix.
I would like to call many times the findCell function (thus I need mapply) for different x inputs but always for the same sr.
as x is a vector of size two (two cells) I want to pass inside inside the following
2011 Aug 31
2
ggplot2 to create a "square" plot
Dear all,
I am using ggplot with geom_tile to print as an image a matrix I have. My matrix is a squared one of 512*512 cells.
The code that does that is written below
> print(v + geom_tile(aes(fill=dB))+ opts(axis.text.x=theme_text(size=20),axis.text.y=theme_text(size=20), axis.title.x=theme_text(size=25) , axis.title.y=theme_text(size=25), legend.title=theme_text(size=25,hjust=-0.4) ,
2007 Apr 10
6
Fullscreen windows(videos) and Compiz
I worte in my last mail that when I ue compiz git fullscreen videos are no
longer ontop of the gnome-panel...
that means that the gnome-panel is still visible while playing the video in
fullscreen. The commit which I said may caused it has nothing to do with it
compiz does not build if I revert it).
again with older compiz and metacity it works fine. (now I am running
20070316). Anyone else wiith
2008 Mar 22
5
Fullscreen DirectX breaks with new versions
Hi all, this error is almost certainly due to a misconfiguration while using tools/winebuild, but every time I update my version of Wine, my fullscreen game (Hoyles Card Games 2001) refuses to work fullscreen anymore :(
NB. My current Wine build (LinuxMint) is about 0.9.44 or so, which is the working one. Many of my distro's built in versions of Wine have all worked fullscreen, it is only
2008 Dec 26
1
NV50: xv fullscreen issues
Hi,
I've been trying out nouveau for a while now and I must say I'm impressed. Performance in KDE4 in general seems better than the nvidia blob; way to go!
There are a couple of annoyances though:
XV in fullscreen doesn't work. I'm running in composite mode, and non fullscreen video works well enough. Going fullscreen in e.g gmplayer gives me:
[ws] Error in display. -0.005 ct:
2006 Jun 09
1
Force window fullscreen
Hi all,
I'm looking for a way to force a certain window on my desktop to go
fullscreen. The window in question is from Enemy Territoy, it tries to
go fullscreen, but for some reason doesn't work, and stay always
redirected with obvious framerate slowdown (keep 6-7 fps average on a FX
5200). I was thinking something like xwinwrap, which you can call a
process and force his window to