Re: [R] Vertical boxplot with a continuous X axis

2017-02-23 Thread Bert Gunter
Sebastien: The linked post is unclear: two of the rows have the same age, so should there be 10 boxplots for the 10 rows or 9 for the 9 different ages? I assumed the latter, as otherwise how could one disciminate rows with the same age that have overlapping values? For lattice, I just used age as

Re: [R] Vertical boxplot with a continuous X axis

2017-02-23 Thread Richard M. Heiberger
Yes, this is exactly what the panel function panel.bwplot.intermediate.hh along with the position() function in the HH package was designed for. Continuing with the example in the linked stackoverflow df <- structure(list(X1 = c(67.0785968921204, 45.5968692796599, 36.9528452430474, 59.016

[R] Vertical boxplot with a continuous X axis

2017-02-23 Thread Sebastien Bihorel
Hi, Can the boxplot design illustrated in the post (http://stackoverflow.com/questions/39849459/how-to-create-boxplots-with-a-continuous-x-axis-in-r) be reproduced with lattice or a lattice-derived function? Thank you Sebastien __ R-help@r-project.

Re: [R] [FORGED] Re: single strip for the same group in dotplot lattice

2017-02-23 Thread Paul Murrell
Hi The following is a bit customised to your example, but maybe if there's no other way ... library(grid) ## Go down to the viewport that lays everything out downViewport("plot_01.toplevel.vp") ## Eyeball the widths and heights (the "null"s are the plot regions) ## current.viewport()$layout$wi

Re: [R] vars package - irf() does not work

2017-02-23 Thread John Dougherty
On Wed, 22 Feb 2017 09:57:00 + "T.Riedle" wrote: > Dear all, > > I have not received any response on this email. Is there anybody who > can help me? > > I want to run an impulse response analysis using the vars() package. > The code looks as follwows. > > > # list of class varest > varest

Re: [R] Help with data management

2017-02-23 Thread Jim Lemon
Hi Andre, As far as I am aware, merges can only be accomplished between two data frames, so I think you would have to do it one by one. It is probably possible to program this to operate on your list of data frames, but I suspect that it would take as much time as a bit of copying and pasting. If y

Re: [R] Help with data management

2017-02-23 Thread Jim Lemon
Hi Andre, This might do it: A<-data.frame(c("c", "d", "e"),4.4:6.8,c(1,2,3)) colnames(A) <- c ("Family", "NormalizedCount", "Hits") B<-data.frame(c("c", "f", "a"),c(3.2,6.4, 4.4), c(1,4,3)) colnames(B) <- c ("Family", "NormalizedCount", "Hits") C<-data.frame(c("q", "o", "f"),c(7.2,9.4, 41.4), c(10

[R] Help with data management

2017-02-23 Thread André Luis Neves
Dear R users, I have the following dataframes (A, B, and C) stored in a list: A= data.frame(c("c", "d", "e"),4.4:6.8,c(1,2,3)) colnames(A) <- c ("Family", "NormalizedCount", "Hits") A B= data.frame(c("c", "f", "a"),c(3.2,6.4, 4.4), c(1,4,3)) colnames(B) <- c ("Family", "NormalizedCount", "Hits"

Re: [R] How to stop as.integer removing dimenions

2017-02-23 Thread MacQueen, Don
> net1 <- array(0L, dim=c(5,5)) > str(net1) int [1:5, 1:5] 0 0 0 0 0 0 0 0 0 0 ... -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 2/23/17, 3:49 AM, "R-help on behalf of Thomas Chesney" wrote: I have: net1 <- a

Re: [R] Web scraping - Having trouble figuring out how to approach this problem

2017-02-23 Thread Jeff Newmiller
The answer is yes, and does not seem like a big step from where you are now, so seeing what you already know how to do (reproducible example, or RE) would help focus the assistance. There are quite a few ways to do this kind of thing, and what you already know would be clarified with a RE. -- S

[R] Impose Structure for Exogenous in vars Package

2017-02-23 Thread Castro, Andrew William Keahi
Hello everyone, I see there are structural VAR options in the vars package for the endogenous variables, but is there any easy way to impose structure on the exogenous variable matrix (notated as the matrix C on page 45 of https://cran.r-project.org/web/packages/vars/vars.pdf). Thanks!

Re: [R] Multi-GPU "Yinyang" K-means and K-nn for R

2017-02-23 Thread Charles Determan
Hi Vadim, I would be happy to explore helping you out with this. I am quite active in development for GPU use in R. You can see my work on my github ( https://github.com/cdeterman) and the group I created for additional packages in development (https://github.com/gpuRcore). I believe it would b

[R] Generating Web Service for R Time Series Model in Microsoft Machine Learning Studio

2017-02-23 Thread Paul Bernal
Dear all, I just created an R script to generate forecasts in Microsoft Azure Machine Learning Studio, however, I want to create a web service for this model. Does anybody has any idea of how to do it? I have been searching in the web, but haven´t found anything yet. Any help will be greatly app

[R] Multi-GPU "Yinyang" K-means and K-nn for R

2017-02-23 Thread Vadim Markovtsev
¡Hola! This is to announce that [kmcuda](https://github.com/src-d/kmcuda) has obtained native R bindings and ask for the help with CRAN packaging. kmcuda is my child: an efficient GPGPU (CUDA) library to do K-means and K-nn on as much data as fits into memory. It supports running on multiple GPUs

[R] Web scraping - Having trouble figuring out how to approach this problem

2017-02-23 Thread henrique monte
Sometimes I need to get some data from the web organizing it into a dataframe and waste a lot of time doing it manually. I've been trying to figure out how to optimize this proccess, and I've tried with some R scraping approaches, but couldn't get to do it right and I thought there could be an easi

Re: [R] How to search t value when you know degree of freedom?

2017-02-23 Thread David L Carlson
Perhaps a typo? It should be qt() not pt(): > pt(0.975, 29) [1] 0.8311882 > qt(0.975, 29) [1] 2.04523 - David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-bo

Re: [R] How to search t value when you know degree of freedom?

2017-02-23 Thread Michael Dewey
When I do pt(0.975, 29) I do not get 2.045 so I think you must have declared a new function pt which is interfering with things. On 23/02/2017 10:40, vod vos wrote: If we want to get 95% limit of t value, the result will be pt(0.975, 29) = 2.045 is that right? On 星期三, 22 二月 2017 08:

Re: [R] How to stop as.integer removing dimenions

2017-02-23 Thread Gerrit Eichner
... or: net1 <- array(0L, dim=c(5,5)) Note the difference between 0 and 0L. Gerrit - Dr. Gerrit Eichner Mathematical Institute, Room 212 gerrit.eich...@math.uni-giessen.de Justus-Liebig-University Giessen

Re: [R] How to stop as.integer removing dimenions

2017-02-23 Thread Gerrit Eichner
Hi, Thomas, maybe mode(net1) <- "integer" does what you want? Hth -- Gerrit - Dr. Gerrit Eichner Mathematical Institute, Room 212 gerrit.eich...@math.uni-giessen.de Justus-Liebig-University Giessen Tel:

[R] How to stop as.integer removing dimenions

2017-02-23 Thread Thomas Chesney
I have: net1 <- array(0, dim=c(5,5)) str(net1) num [1:5, 1:5] 0 0 0 0 0 0 0 0 0 0 ... and what I want is: str(net1) int [1:5, 1:5] 0 0 0 0 0 0 0 0 0 0 ... Neither of the following work: net1 <- as.integer(net1, drop=FALSE) net1 <- as.integer(net1, dim=c(5,5)) Can someone please help? Tha

Re: [R] How to search t value when you know degree of freedom?

2017-02-23 Thread vod vos
If we want to get 95% limit of t value, the result will be pt(0.975, 29) = 2.045 is that right? On 星期三, 22 二月 2017 08:04:36 -0800 Rui Barradas wrote > Hello, > > It would be ?pt not pnorm. > And as you can see in that help page you need another value, the value > of t

Re: [R] vars package - irf() does not work

2017-02-23 Thread peter dalgaard
You are not giving us a fully reproducible example, nor telling us the exact error messages. However, chances are that you have another irf() function that gets in the way. Does it work with vars::irf() ? -pd On 22 Feb 2017, at 10:57 , T.Riedle wrote: > > > > Dear all, > > I have not

Re: [R] Antwort: Re: RStudio: Place for Storing Options

2017-02-23 Thread Keith Jewell
RStudio seems to not pay due regard to the distinction between APPDATA and LOCALAPPDATA. See https://support.rstudio.com/hc/en-us/community/posts/200650543-File-history-and-project-history-stored-in-LOCALAPPDATA On 23/02/2017 08:00, g.maub...@weinwolf.de wrote: Hi Martin, the command %loca

Re: [R] single strip for the same group in dotplot lattice

2017-02-23 Thread Luigi Marongiu
Dear Duncan and Philip, thank you for your answers. maybe the toy data I gave it is a bit too easy, so I am attaching a new dataset with 5 targets. As you can see from it, now there are 5 panel strips with the label "run_1" and 5 with the label "run_2". What I would like to do is to merge those wit

[R] Antwort: Re: RStudio: Place for Storing Options

2017-02-23 Thread G . Maubach
Hi Martin, the command %localappdata%\RStudio-Desktop gives on my machine "The command is written wrong or could not be found.". I found "RStudio-Desktop" under C:\Users\\AppData\Local\RStudio-Desktop There references on created notebooks and presentations are stored in the folder "RStudio-