search for: ccordin

Displaying 2 results from an estimated 2 matches for "ccordin".

Did you mean: according
2009 Dec 22
1
RGtk2 - retrieve ggraphics mouse coordinates during drag-and-drop event
Hi all, I have a gtable and a ggraphic widget. I want to drag an element from the table onto the graphic. When the drag object is released over the ggraphic widget, I want the mouse coordinates inside the ggraphic to be returned. Right now I do not know how to get the mouse ccordinates of the ggraphic widget at any given time. How can I access the ggraphics mouse coordinates? Below you find my sample code (windows only due to ggraphics). TIA, Mark library(gWidgets) library(RGtk2) options("guiToolkit"="RGtk2") w = gwindow("ggraphics example&quot...
2010 Dec 15
0
Problems with the borders (High difficulty)
Dear r-help members, Could any of you help me with this model, please? This model gives error when some value touch whatever border and I do not know how to correct it. The 80% of the seeds produced by a plant will fell into the parent cell, the 15% in the first ring according to the king movement (in chess), and a 5% in the second ring defined by the queen2 matrix. Someone said me the functions that order the position of the seed dispersed, they are: neighb <- aperm(apply(aperm(outer(king,IJ,'+'),c(2,4,1,3)),3:4,diag),c(2,1,3)) #Seed going back into sourc...