Displaying 20 results from an estimated 10000 matches similar to: "Interactive ggvis plot - question"
2008 Jun 05
0
Javascript & Scrolling
I am currently in the middle of creating a horizontal scrolling
product list with page buttons that use effects to scroll from one
page to another using scriptaculous.
I am having problem that when the window is resized, so only the
viewable area of the div changes, this causes the width to change and
then because of that the scroll effect will scroll to position 2000
but then when the scroll bar
2010 Jan 18
0
ggobi and plug-ins issues
Dear all
I have issues with loading ggobi plug-ins in my Debian testing. In a R
--vanilla session I get a lot of error messages about being unable to
load the plug-ins (see at the end).
I understand that this issue has been previously addressed [1][2], and
the solution implemented in Debian:
liviu at debian-liv:~$ locate /usr/lib/ggobi/plugins
/usr/lib/ggobi/plugins
2005 Sep 21
8
Slider controls
Heya!
Thanks to Marty Haught, script.aculo.us (as of changeset 2281) now
sports
a new Control for horizontal and vertical sliders.
See the functional test file (test/functional/slider_test.html) for
information
on how to use it.
Basically, you do:
<div id="track1" style="width:200px;background-color:#aaa;height:5px;">
<div id="handle1"
2007 Jan 31
0
Interactive plots with R
Hi,
I wrote some simple rpanel package script for visual spectral data comparison.
At this example i have a three samples and i want to zoom through x and y
axis to compare differences between samples. With my script below I can zoom
to some data region and add some other spetra to the plot, through text input
field.
But I can't figure out, how to change axis scaling for all displayed
2008 Jun 29
3
Interactive plot
Hi all,
I have created following codes :
mat = cbind(c(0.000059710430,0.000023057380), c(0.000023057380, 0.00005971089))
set.seed = 1000
vary = runif(dim(mat)[1], 2000, 3000)
calc = function(mat, vary)
{
result = vector(length = (length(vary)+1))
result[1] = sqrt(t(vary) %*% vary)
for (i in 1 : length(vary))
{
result[(i+1)] = sum(vary)*sum(vary*mat[,i])
2009 Mar 17
3
Non-Linear Optimization - Query
Dear All,
I couple of weeks ago, I’ve asked for a package recommendation for nonlinear
optimization. In my problem I have a fairly complicated non-linear objective
function subject to one non-linear equality constrain.
I’ve been suggested to use the *Rdonlp2* package, but I did not get any
results after running the program for 5 hrs. Is it normal to run this type
of programs for hours? Also,
2017 Sep 09
0
Avoid duplication in dplyr::summarise
Hi Lars
I am not very sure what you really want. However, I am suggesting the
following code that enables (1) to obtain the full summary of your data and
(2) retrieve only mean of X values as function of factors f1 and f2.
library(tidyverse)
library(psych)
df <- data.frame(matrix(rnorm(40), 10, 4),
f1 = gl(3, 10, labels = letters[1:3]),
f2 = gl(3, 10, labels
2019 Aug 24
0
Fwd: Document colon equals `:=` operator ?
Dear all,
There was some discussion lately on twitter (
https://twitter.com/geospacedman/status/1164208293377691648 ) about the
status of the colon equal operator. I'm sure it has been discussed in the
past but I couldn't find anything, I'll start by clarifying all i can by
myself to have strong reference, and then ask a few questions at the bottom.
`:=` has been used by data table
2017 Sep 09
1
Avoid duplication in dplyr::summarise
Hi Lars,
Two comments:
1. You can achieve what you want with a slight modification of your
definition of s(), using the hint from the error message that you need an
argument '.':
s <- function(.) {
dplyr::summarise(., x1m = mean(X1),
x2m = mean(X2),
x3m = mean(X3),
x4m = mean(X4))
}
2. You have not given a great test case in
2007 Feb 26
5
Panel Slider (like on maps.google.com)
Hi,
I want to create a panel slider like shown on maps.google.com (click
the little triangle on the left side of the map (in the vertical-
middle)).
I tried several scriptaculous treasure chest thingies .. but they
didn''t work. Does anyone know of a way to do this?
Thanks, Joost
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2010 Dec 31
4
Sweave for "big" data analysis
Hi,
Maybe I'm missing the point here...but let's suppose you are working with
"large" data sets and using functions that take a significant amount of time
to run in R. I woulnd't like to run these functions every time I call
Sweave("myfile.Rnw") within R. What is the "common" practice to use Sweave
in these situations. I would just run the function once,
2012 Jan 24
1
Interactive map graphics.
I just watched
http://www.youtube.com/watch?v=iSXNfZESR5I
and there is a section where Hadley Wickham showed demonstrated a county map
of the US that was interactive. This is exactly what I would like. I have
downloaded ggplot2 but still failed to find out how to even read in and plot
something like a US map let alone add the kind of interactivity that was
shown in this demo. Anyone else
2005 Aug 18
8
Extending a js class
It''s been a few days since I posted my last two emails (of which, no one
replied to) so I''ve gone ahead and coded a working slider class as well
as a ''resizeable'' class that allows a user to drag and resize the
element. I also linked these two together as I want to have slider
behavior that can resize the resizeable element. The end result is both
the
2011 Jul 30
3
Problem with effects package
Dear List,
Several times I use this package I get the error message shown below.
When I work out simple examples, it turns out to be fine, but when
working with real and moderate size data sets I always get the same
error.
Do you know what could be the cause of the problem?
Error in apply(mod.matrix[, components], 1, prod) :
subscript out of bounds
Error in
2013 Oct 12
2
Order of factors with facets in ggplot2
Hello,
I'd like to produce a ggplot where the order of factors within facets is
based on the average of another variable.
Here's a reproducible example. My problem is that the factors are ordered
similarly in both facets. I would like to have, within each facet of `f1',
boxplots for 'x' within each factor `f2', where the boxplots are ordered
based on the average of x
2011 May 21
3
Simple R Question...
Let's say I have the data frame 'dd' below. I'd like to select one
column from this data frame (say 'a') and keep its name in the
resulting data frame. That can be done as in #2. However, what if I
want to make my selection based on a vector of names (and again keep
those names in the resulting data frame). My attempt is #4 but doesn't
work.
dd <- data.frame(a =
2010 Aug 12
2
R 64-bit and Revolution
Dear users,
The company where I work is considering getting a license for Revolution
Enterprise - Windows 64-bit. I'll appreciate for those familiar with the
product if can share your experiences with it? In particular, how does it
compare to the "free" version of R 64-bit?
Thanks in advance.
Regards,
Lars.
[[alternative HTML version deleted]]
2006 Jan 16
0
Slider Problems
Hi,
I have two minor problems with scriptaculous sliders:
a) when a list of allowed values is provided and that list contains 0
the value 0 is not usable
This can be seen in the slider_test.html functional tests, slider 5
(multiple handles and predefined values), which allows values
[0,0.2,0.4,0.6,0.8]. I cannot move any of the sliders to position 0
(using mozilla 1.7.8, same for
2017 Sep 09
2
Avoid duplication in dplyr::summarise
Dear group,
Is there a way I could avoid the sort of duplication illustrated below?
i.e., I have the same dplyr::summarise function on different group_by
arguments. So I'd like to create a single summarise function that could be
applied to both. My attempt below fails.
df <- data.frame(matrix(rnorm(40), 10, 4),
f1 = gl(3, 10, labels = letters[1:3]),
f2 =
2013 Jun 28
0
Wine release 1.6-rc4
The Wine development release 1.6-rc4 is now available.
What's new in this release (see below for details):
- Bug fixes only, we are in code freeze.
The source is available from the following locations:
http://prdownloads.sourceforge.net/wine/wine-1.6-rc4.tar.bz2
http://mirrors.ibiblio.org/wine/source/1.6/wine-1.6-rc4.tar.bz2
Binary packages for various distributions will be available