search for: gslider

Displaying 4 results from an estimated 4 matches for "gslider".

Did you mean: slider
2012 May 29
1
gslider-gwidgets
Hello R lovers, For my GUI, I am using gslider of Gwidgets. I need to add the "to=" value dynamically ie., maximum value from a data frame column(something like to=max(df[,3])). But I am getting error message like Error in checkPtrType(object, "GtkWidget") : object of class NULL isn't a GtkWidget Not sure what I a...
2009 Jun 25
1
How do I define the method for gcheckboxgroup in gWidgets?
...election & Scaling", xlab = "x values", ylab = "y values") } report.which <- function(h, ...) { print(svalue(h$obj), index = TRUE) } # Define the actions & type of widget, along with returned values. # Must be done before packing widgets. yrange <- gslider(from = 0, to = max(y), by = 1.0, value = max(y), handler = update.Plot) which.y <- gcheckboxgroup(stuff, handler = report.which, index = TRUE, checked = c(TRUE, FALSE, FALSE, FALSE, FALSE)) # Assemble the graphics window & groups of containers mainWin <- gwindow("Interactiv...
2012 Nov 05
0
slider control questions
...ed", nticks = 5) } plot.dirichlet<-function(){ refresh.code<-function(...){ a1<-slider(no=1); a2<-slider(no=2); a3<-slider(no=3) type= slider(obj.name="type") dirfelulet(a1,a2,a3) } slider(obj.name="type",obj.value="l") gslider(refresh.code,sl.names=c("a1","a2","a3"), sl.mins=c(1,1,1),sl.maxs=c(10,10,10),sl.deltas=c(.1,.1,.1),sl.defaults=c(1,1,1)) } plot.dirichlet() [[alternative HTML version deleted]]
2010 Jan 28
3
Using tcltk or other graphical widgets to view zoo time series objects
Dear all, I am looking at the R-help entry below: http://finzi.psych.upenn.edu/R/Rhelp02/archive/26640.html I have a more complicatedt problem. I have a zoo time series frame with 100+ sequences. I want to cycle through them back and forth and compare them to the 1st column at any time. I need also a button to click when I need the viewed-selected sequence (that is being compared to the