Re: [R] Missing Values in Table Statement

2015-06-12 Thread PIKAL Petr
Hi -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Shivi82 Sent: Friday, June 12, 2015 8:28 AM To: r-help@r-project.org Subject: Re: [R] Missing Values in Table Statement Hi Petr, Probably i did not explain my scenario clearly.

Re: [R] Missing Values in Table Statement

2015-06-12 Thread Shivi82
Hi Petr, Please see the output from dget as follows. ORIGIN ORIGIN_NAME DESTINATION DESTINATION_NM RPS_NO VENDOR_NAME CR_DT SCHD_MRKT VHL_NO vhl_cap 1 DLI11DELHI-11 NDA50NOIDA-50 1350760

Re: [R] Missing Values in Table Statement

2015-06-12 Thread PIKAL Petr
Hi -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Shivi82 Sent: Friday, June 12, 2015 7:41 AM To: r-help@r-project.org Subject: [R] Missing Values in Table Statement HI All, I need help on 2 issues as highlighted below A)I have 2 variables:-

[R] Views installation

2015-06-12 Thread Partha Sinha
I want to install views like machine learning and Bayesian using code ( write code and running the code once and it will install all packages in those views rather than doing it twice). Pl help Parth __ R-help@r-project.org mailing list -- To

Re: [R] Missing Values in Table Statement

2015-06-12 Thread Shivi82
Hi Petr, Probably i did not explain my scenario clearly. table(test$ORIGIN_NAME,is.na(test$SCH_TIME)) is the syntax with which i am trying to find per destination wise how many instances are there where system failed to enter the scheduled delivery time there are multiple cases of these. I am

Re: [R] Views installation

2015-06-12 Thread Achim Zeileis
On Fri, 12 Jun 2015, Partha Sinha wrote: I want to install views like machine learning and Bayesian using code ( write code and running the code once and it will install all packages in those views rather than doing it twice). Pl help I'm not sure what exactly you are looking for but

[R] Missing Values in Table Statement

2015-06-12 Thread Shivi82
HI All, I need help on 2 issues as highlighted below A)I have 2 variables:- Sch_Time Origin Name. Now there are multiple instances where Scheduled time i.e. Sch_Time is missing from each location hence i need to count how many instances do i have split on location. the code i have is :

Re: [R] Missing Values in Table Statement

2015-06-12 Thread John Kane
If possible always supply data in dput() form. John Kane Kingston ON Canada Kindly let me know if i need to supply dput data. Thank you!!! FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!

Re: [R] Marascuilo procedure

2015-06-12 Thread Bert Gunter
If this matters -- i.e it is not merely a matter of homework or thesis work -- I suggest you speak with a local statistical expert, as your statistical understanding appears to be too confused to get much help from online forums. Cheers, Bert Bert Gunter Data is not information. Information is

Re: [R] problem in auto run iteration in R2OpenBUGS

2015-06-12 Thread Uwe Ligges
Not sure from what you sent: The call looks fine, so you need to make inits, data and model file available, I think. And perhaps more an OpenBUGS than an R question... Best, Uwe Ligges On 12.06.2015 20:09, thanoon younis wrote: Hi for all members in R community I have a small problem in the

Re: [R] Installing R 2.15.2 on Mac

2015-06-12 Thread Ranjan Maitra
Nicki, I don't know if you will be doing any clustering using kmeans in R, but there was a bug in 2.15.2 and 2.15.3 IIRC. This was fixed in 3.0. Btw, are there any capabilities of SPSS that you need and that R can't provide? Best wishes, Ranjan On Fri, 12 Jun 2015 13:37:27 -0400 Nicole

Re: [R] Two factor nonparametric test

2015-06-12 Thread Bert Gunter
google is your friend ... ?R nonparametric statistics (and the like) Cheers, Bert Bert Gunter Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. -- Clifford Stoll On Fri, Jun 12, 2015 at 2:34 AM, Ana Rodrigues arfeliza...@isa.ulisboa.pt wrote:

Re: [R] Installing R 2.15.2 on Mac

2015-06-12 Thread Jeff Newmiller
Install an older OS. Your question really should be directed at SPSS support because they are the ones preventing you from installing a current version of R. Please read the Posting Guide, as it addresses (among other things) the issue of support for old versions of R.

Re: [R] display a matrix in colors

2015-06-12 Thread Jim Lemon
Hi Bogdan, Have a look at color2D.matplot in the plotrix package - it's a bit different from image and heatmap. Jim On Sat, Jun 13, 2015 at 10:39 AM, Bogdan Tanasa tan...@gmail.com wrote: Hi David, thanks, yes, heatmap provides clustered heatmap, and I am looking for an unclustered display

Re: [R] display a matrix in colors

2015-06-12 Thread Bogdan Tanasa
Thanks, Jim. Yes, a good idea, shall I find more time, typically all these little projects I am doing or asking are in big rush. Found some good tutorials about heatmap.2 too: http://www.inside-r.org/packages/cran/gplots/docs/heatmap.2 http://sebastianraschka.com/Articles/heatmaps_in_r.html On

Re: [R] Missing Values in Table Statement

2015-06-12 Thread Shivi82
HI Don, This is the exact result i need. However in my case i am not getting any value under TRUE whereas FALSE captures total observations in each variable. Please find the syntax and output from the code: table(test$ORIGIN_NAME,is.na(test$SCH_TIME)) Output

Re: [R] display a matrix in colors

2015-06-12 Thread Bogdan Tanasa
Thanks, David, for your time. I found some good tutorials on heatmap.2 and it works : https://www.packtpub.com/books/content/creating-your-first-heat-map-r On Fri, Jun 12, 2015 at 9:12 PM, David Winsemius dwinsem...@comcast.net wrote: On Jun 12, 2015, at 5:39 PM, Bogdan Tanasa wrote: Hi

Re: [R] display a matrix in colors

2015-06-12 Thread David Winsemius
On Jun 12, 2015, at 5:39 PM, Bogdan Tanasa wrote: Hi David, thanks, yes, heatmap provides clustered heatmap, and I am looking for an unclustered display of a matrix, Please explain what clustered means in the context of a heatmap. and only to set up the color ranges. And that needs

Re: [R] display a matrix in colors

2015-06-12 Thread David Winsemius
On Jun 12, 2015, at 5:28 PM, Bogdan Tanasa wrote: Dear all, please could you advise about the most convenient functions or libraries to use in order to display a matrix as a heatmap/a color matrix ? the matrix contains the values of 0, 10, 20, 30 or 100. thank you ! What? You must have

[R] display a matrix in colors

2015-06-12 Thread Bogdan Tanasa
Dear all, please could you advise about the most convenient functions or libraries to use in order to display a matrix as a heatmap/a color matrix ? the matrix contains the values of 0, 10, 20, 30 or 100. thank you ! -- bogdan [[alternative HTML version deleted]]

Re: [R-es] Serie temporal interrumpida del tipo AirPassengers

2015-06-12 Thread Freddy Omar López Quintero
2015-06-12 18:42 GMT-03:00 Dalios Castellano Marrero dcastell...@aqualogy.net: Necesito detectar si existe o no un cambio de tendencia y si dicho cambio es significativo, para una serie temporal del tipo AirPassengers, en la que a partir de un determinado momento se ha hecho una campaña

Re: [R] display a matrix in colors

2015-06-12 Thread Bogdan Tanasa
Hi David, thanks, yes, heatmap provides clustered heatmap, and I am looking for an unclustered display of a matrix, and only to set up the color ranges. thanks for your help ! -- bogdan On Fri, Jun 12, 2015 at 5:36 PM, David Winsemius dwinsem...@comcast.net wrote: On Jun 12, 2015, at 5:28

Re: [R] Help with abs function

2015-06-12 Thread Jeff Newmiller
FAQ 7.31 --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#..

[R-es] pregunta

2015-06-12 Thread jbetancourt
Estimados ?como se puede llevar el archivo que adjunto a vector? necesito hacer lo siguiente con el archivo a library(zoo) x - c

Re: [R-es] pregunta

2015-06-12 Thread Freddy Omar López Quintero
​Holap.​ x - c (1,3,1,1,1,1,2,1,1,2,1,1,2,1,1,1,2,1,2,2,1,1,1,3,1,1,2,2,2,2,1,1,1,2,1,1,1,1,1,2,2,5,1,1,1,1,2,1,1,1,2,4,1,2,1,3,1,1,1,1,3,1,2,1,1,3,1,3,3,1,2,1,2,2,2,3,1,2,1,1,1,1,2,1,1,1,1,1,1) names(x) - format(index(zooreg(1:89, start =as.Date(2015-01-01))), '%Y-%m-%d') ​Puedes usar:

Re: [R-es] pregunta

2015-06-12 Thread javier.ruben.marcuzzi
Estimado José Betancourt Por si desea declarar como vector podría intentar as.vector(x), aunque creo que con la ayuda de Freddy López no habría inconvenientes. Javier Rubén Marcuzzi Técnico en Industrias Lácteas Veterinario De: Freddy López Enviado el: ‎viernes‎, ‎12‎ de ‎junio‎ de

Re: [R] Help with abs function

2015-06-12 Thread Sarah Goslee
Please read R FAQ 7.31. On Fri, Jun 12, 2015 at 11:39 AM, Nelson, Gary (MISC) gary.nel...@state.ma.us wrote: I have come across some odd behavior (to me) using the abs() function that I wonder if anyone can explain. Using R version 3.2.0, I created a vector of absolute values using the

[R] Help with abs function

2015-06-12 Thread Nelson, Gary (MISC)
I have come across some odd behavior (to me) using the abs() function that I wonder if anyone can explain. Using R version 3.2.0, I created a vector of absolute values using the following code: tran-c(7.2) tgrid-c(7.1,7.4,7.3,7.1,7.3) dgrid-abs(tgrid-tran) dgrid [1] 0.1 0.2 0.1 0.1 0.1

[R] Marascuilo procedure

2015-06-12 Thread MyList
Hello All, I am new to R and statistics.Pardon me if this a trivial question. Can the Marascuilo procedure be applied to a 2 x c contingency table with c equal to 2 ? My understanding is that it is used to compare proportion between two variables and see which pairs are more significant to

Re: [R] Missing Values in Table Statement

2015-06-12 Thread MacQueen, Don
Maybe it will help if I create some fake data to illustrate what I think you want: set.seed(25) tmp - data.frame(origin=sample( letters[1:3], 25, replace=TRUE), schd= sample( 1:5, 25, replace=TRUE) ) tmp$schd[ c(5,7,18,22) ] - NA print(tmp) table(

Re: [R] accessing the ellements in an array and factors.

2015-06-12 Thread Bogdan Tanasa
Thanks Jim ! also found a second way to do by using as.character() eg : as.character(yyy). On Fri, Jun 12, 2015 at 3:06 AM, Jim Lemon drjimle...@gmail.com wrote: Hi Bogdan, I seem to be able to do it like this: xxx -array(0, dim=4) dimnames(xxx) = list(list_triplet_wells) xxx A1:A2:A3

Re: [R] Marascuilo procedure

2015-06-12 Thread Jeff Newmiller
Your question is about statistics, not R. Do read the Posting Guide to inform you for future questions. Meanwhile, you should probably go to stats.stackexchange.com. --- Jeff NewmillerThe .

[R] Installing R 2.15.2 on Mac

2015-06-12 Thread Nicole Yarkovsky
Hello, I'm trying to install the R integration add on for SPSS version 22 so that I am able to use a specific R extension in SPSS. For this, I have to download an older version of R, version 2.15.2 to my MacBook Pro. When I try to download this older version, it says I cannot install it on my

Re: [R] Installing R 2.15.2 on Mac

2015-06-12 Thread Marc Schwartz
On Jun 12, 2015, at 12:37 PM, Nicole Yarkovsky yark...@uwindsor.ca wrote: Hello, I'm trying to install the R integration add on for SPSS version 22 so that I am able to use a specific R extension in SPSS. For this, I have to download an older version of R, version 2.15.2 to my MacBook

[R] problem in auto run iteration in R2OpenBUGS

2015-06-12 Thread thanoon younis
Hi for all members in R community I have a small problem in the code below when i call OpenBUGS #Call OpenBUGS model= bugs(data, inits, parameters.to.save=parameters, model.file=D:/Run/model.txt, n.iter=5000,

[R] Two factor nonparametric test

2015-06-12 Thread Ana Rodrigues
I'm just starting to use R, so my question must be really basic... I need a non parametric test for a two factor (4x3) design. What are the options in R? If someone could tell me the functions names or even some script examples, it would be great. Thank you all =) -- View this message in

[R] memory isuue

2015-06-12 Thread Pinkal Patel
Dear All, Using dist() function, I have to calculate distance matrix for large dataset (2,00,000*23) but problem of memory issue came. I had already try by break of data into small and this idea is work but take more time, So I want some other which reduce time. Try to help me to solve out

Re: [R] accessing the ellements in an array and factors.

2015-06-12 Thread Jim Lemon
Hi Bogdan, I seem to be able to do it like this: xxx -array(0, dim=4) dimnames(xxx) = list(list_triplet_wells) xxx A1:A2:A3 A4:A5:A6 A7:A8:A9 A10:A11:A12 0 0 0 0 yyy-factor(c(A1:A2:A3, A4:A5:A6 , A7:A8:A9, A10:A11:A12)) yyy [1] A1:A2:A3