Displaying 20 results from an estimated 100 matches similar to: "dygraphs, multiple graphs and shiny"
2016 Apr 11
1
[VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?
Hi all,
I am trying to figure out how to do this in R and I need your help.
My journey started from something like the following:
http://stackoverflow.com/questions/11365857/real-time-auto-updating-incremental-plot-in-r/1#1
n=1000
df=data.frame(time=1:n,y=runif(n))
window=100
for(i in 1:(n?\window)) {
flush.console()
plot(df$time,df$y,type='l',xlim=c(i,i+window))
Sys.sleep(.09)
}
2016 Apr 11
1
[VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?
Hi all,
I am trying to figure out how to do this in R and I need your help.
My journey started from something like the following:
http://stackoverflow.com/questions/11365857/real-time-auto-updating-incremental-plot-in-r/1#1
n=1000
df=data.frame(time=1:n,y=runif(n))
window=100
for(i in 1:(n?\window)) {
flush.console()
plot(df$time,df$y,type='l',xlim=c(i,i+window))
Sys.sleep(.09)
}
2017 Sep 27
1
need held in r coding.
Need Help in Debugging below script:--------------------------------
dat <- get_majorlandmarks(dat,Dmin,Per)
fit_xts <- xts(dat$fit,order.by = dat$Date,frequency = 365)
close_xts <- xts(dat$Close, order.by = dat$Date, frequency = 365 )
majorlandmarks_xts <-xts(dat$Close[dat$majorlandmarks==TRUE], order.by =
dat$Date[dat$majorlandmarks==TRUE], frequency = 365 )
minorlandmarks_xts
2018 Mar 04
2
problema con shiny
Carlos el código es el ejemplo de shiny:
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
#setwd("C:/curso 2017-18/curso R/shiny/prueba1")
library(shiny)
# Define UI for application that draws a histogram
ui <-
2014 May 29
2
Discrepancia entre Ord_plot y distplot del paquete vcd
Estimados miembros de la lista.
Estoy usando 2 funciones del paquete vcd y obtengo resultados que parecen
discrepar entre ambas funciones.
> dput(peces)
c(26L, 63L, 1L, 21L, 20L, 50L, 0L, 104L, 19L, 0L, 8L, 32L, 0L,
24L, 5L, 2L, 0L, 36L, 0L, 5L, 27L, 1L, 13L, 24L, 15L, 25L, 23L,
5L, 37L, 26L, 29L, 14L, 15L)
La función Ord_plot me dice que la mejor distribución para los datos es
binomial
2018 Jan 10
2
Information installation package sjPlot
Hi all,
I am new. I am installing the library sjPlot on Ubunto 16.10 and I guess it is installing some dependencies. But it is taking more than 1.5 hours, is it possible?
It has right now halted (hope momentarily) in installing the package 'rstan', particularly the file lang__grammars__statement_grammar_inst.o
Other packages installed include: dygraphs, colourpicker, raster.
Is it good
2018 Mar 05
2
problema con shiny
De acuerdo Carlos pero en mi ordenador no funciona y me da el error que he comentado.
Muchas gracias por tu colaboración.
Saludos,
Juan
El 04/03/2018 a las 20:09, Carlos J. Gil Bellosta escribió:
Corre perfectamente en mi máquina si borro la última línea (print(environment(show))).
Simplemente, he creado un directorio vacío (/tmp/prueba), he copiado el código (menos esa última línea) en el
2018 Jan 11
0
Information installation package sjPlot
That is very strange.
I am using Ubuntu 16.04 and managed to install it in less than 5 minutes.
OA
On Wed, Jan 10, 2018 at 12:00 PM, Luca Danieli <mr.lucedan at hotmail.it>
wrote:
> Hi all,
>
> I am new. I am installing the library sjPlot on Ubunto 16.10 and I guess
> it is installing some dependencies. But it is taking more than 1.5 hours,
> is it possible?
>
> It
2005 Oct 10
1
acf.plot() question
When I run the "acf()" function using the "acf(ts.union(mdeaths,
fdeaths))" example, the "acf()" function calls the "acf.plot()"
function to generate this plot...
http://members.cox.net/ddebarr/images/acf_example.png
The plot in the lower right-hand corner is labeled "fdeaths & mdeaths",
but the negative lags appear to belong to "mdeaths
2000 Apr 03
1
cbind.ts(),ts.union() (PR#508)
Full_Name: Wolfgang Koller
Version: 1.0.0
OS: linux
Submission from: (NULL) (137.208.7.48)
> data(UKLungDeaths)
> ts.union(mdeaths, fdeaths,dframe=TRUE)
Error in names<-.default(*tmp*, value = nmsers) :
names attribute must be the same length as the vector
> cbind(mdeaths, fdeaths,dframe=TRUE)
Error in names<-.default(*tmp*, value = nmsers) :
names attribute
2003 Aug 08
1
understanding time series objects
### First, is there a way to access a univariate time series as a matrix
instead of a vector?
# For example:
data(UKLungDeaths)
# If I do
apply(mdeaths,1,cumsum)
# Gives an error as mdeaths is not a matrix but a vector, although when I
look at it :
mdeaths
# the ts object has a matrix like "appearance"
# The only way of doing it I've found is:
mdeaths2<-as.matrix(mdeaths)
2018 Mar 04
4
problema con shiny
Estimados compañeros tengo un problema con shiny. Es un problema local de mi ordenador, porque en otro va si problemas pero no consigo saber ¿cómo arreglarlo?. He instalado incluso la nueva versión de Rstudio. Os explico:
1) lanzo el programa app.R, el ejemplo de shiny e intenta mostrar los resultados pero si hago: print(environment(show)) da como resultado
Error in func(fname, ...) : app.R did
2007 Mar 23
3
distribution graph
I am looking for a way to produce a "distribution graph" as in the example:
(http://cecsweb.dartmouth.edu/release1.1/datatools/dgraph.php?year=2003&geotype=STD_HRR&event=A01_DIS&eventtype=UTIL
Anybody who can help?
Christian von Plessen
Department of Pulmonary Medicine
Haukeland university hospital
Bergen
Norway
2004 Jan 01
1
Barplot errors in MASS script
Reading "Modern Applied Statististics with S" and trying the corresponding
examples both in the book and in ../lib/R/library/MASS/script, I'm now trying
chapter 4 plotting bars with the following code on a linux box with R 1.8.1:
----------------------
library(MASS)
library(lattice)
options(echo=T, width=65, digits=5)
lung.deaths <- aggregate(ts.union(mdeaths, fdeaths), 1)
2005 Aug 02
1
multiple scale
Hi all
i need to put on one graph 2 functions who's x axis is the same and y not.
I mean on horizontal the time, and on vertical left: pressure, on vertical right: rpm of a motor, is R able to do that?
i've found this that i could adapt maybe (i don't need time series really?) :/ :
(http://tolstoy.newcastle.edu.au/R/help/04/03/1456.html)
##
## Description: A simple function which
2004 May 07
1
*** GOODNESS OF FIT FOR BINOMIAL DISTRIBUTED DATA
Hi,
this is probably a very newbie statistical question.
I have some experimental data.
My hypothesis is that the data are binomially distributed with a known N
and p.
I am trying to obtain a sort of p-value to tell me whether or not my
hypothesis is correct.
What can I do with R?
Thank you,
Pier Luca
2004 Jan 15
3
how to overlap plots
Dear R experts:
Can you help me to overlap a histogram and theoretical density curve of poison
distribution? for example data like this:
The numbers of sanils found in each of 100 sampling quadrats in an area were
as follows:
number of snails, r 0 1 2 3 4 5 8 15
f=frequency of r 69 18 7 2 1 1 1 1
apparently this is not Poison but near to Poison, How to overlap the
theoretical desity curve to
2008 Jul 25
1
How to pass function argument of same name to internal call?
I ran across this problem when playing with ccf().
Its function call is
>function (x, y, lag.max = NULL, type = c("correlation", "covariance"),
plot = TRUE, na.action = na.fail, ...)
Internally, ccf() calls plot(), which digs up plot.acf() whose default
style is type='h' .
I wanted to pass the argument type='l' to the plotting routine, but of
2008 Oct 28
1
acf() plots of a data.frame: what meaning?
Hello,
what is the meaning of the plots of an acf()-plot,
when using a data frame as argument?
The result is NOT obvious for me.
There are combinations of the columns of a dataframe in the reulting
plot.
But an acf() is just defined for onyl one time-sreies.
So what do the plots mean? I did not found a description in the
help-page.
Ciao,
Oliver
2006 Sep 15
1
"ccf versus acf"
I am trying to run a cross-correlation using the "ccf()" function. When
I select plot = TRUE in the ccf() I get a graph which has ACF on the
y-axis, which would suggest that these y-values are the auto-correlation
values.
How should I adjust the code to produce a plot that provides the
cross-correlation values?
Here is my code:
w002dat <-