Re: [R] Cusum and Ewma charts

2015-08-26 Thread PIKAL Petr
Hi If you really wanted to know the answer why on earth you did not query an internet? Asking ewma R gave me (among many other answers) as second hit package qcc, which seems to me does what you want. You had to wait one hour for my answer. You would get it in seconds if you used internet

Re: [R] Fwd: ayuda- help me

2015-08-26 Thread PIKAL Petr
Hi You probably need to look at package akima (function interp), together with ?image or ?contour. Cheers Petr -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Paulo Fonseca Sent: Tuesday, August 25, 2015 11:02 PM To: r-help@r-project.org

Re: [R] Cusum and Ewma charts

2015-08-26 Thread PIKAL Petr
-Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of PIKAL Petr Sent: Wednesday, August 26, 2015 8:44 AM To: Babatunde Yakub Cc: r-help@r-project.org Subject: Re: [R] Cusum and Ewma charts Hi If you really wanted to know the answer why on earth you

Re: [R] TSclust multivariate time series clustering

2015-08-26 Thread Roy Mendelssohn - NOAA Federal
I suggest you look at this paper: http://www.jstatsoft.org/v62/i01/paper -Roy On Aug 26, 2015, at 1:02 AM, GloriaSolano sol...@europrofessionals.org wrote: Hello, I am trying to cluster multivariate time series with the R package TSclust. I have a dataset of 45 companies with 10 years

Re: [R] Convert character Variables to numeric

2015-08-26 Thread Jeff Newmiller
I agree that having a few (5-20 perhaps) rows of the data is essential to give you appropriate help. Be warned that files with extension .CSV (or must others as well) don't make it through the mailing list filters, so be sure to read the Posting Guide and either change the name of the file so

[R] Convert character Variables to numeric

2015-08-26 Thread Arun84441
I have imported the csv file having 398800 obs of 30 variables. There is a variable TOTALFRT which is showing as character in R environment. I am trying to convert it to numeric by using as.numeric function. Wherein function is converting character to numeric but with an error message Warning

Re: [R] Convert character Variables to numeric

2015-08-26 Thread jim holtman
Please provide a sample of the data that you are trying to convert. BTW does it have commas in numeric values, or what else is strange about the data. The error message is very clear in the column of data that you are trying to convert is not numeric. Jim Holtman Data Munger Guru What is the

Re: [R] nls model parameter compare?

2015-08-26 Thread peter dalgaard
On 26 Aug 2015, at 00:34 , Jianling Fan fanjianl...@gmail.com wrote: Hello everyone, I am doing nonlinear regression using a same sigmoidal model for different treatments. for each treatment, I got a set of estimated parameters (a1, b1, c1 for treatment 1; a2, b2, c2 for treatment 2; a3,

Re: [R] lsqlin in R package pracma

2015-08-26 Thread Hans W Borchers
On Mon Aug 24 Wang, Xue, Ph.D. Wang.Xue at mayo.edu wrote I am looking for a R version of Matlab function lsqlin. I came across R pracma package which has a lsqlin function. Compared with Matlab lsqlin, the R version does not allow inequality constraints. I am wondering if this functionality

Re: [R] Cusum and Ewma charts

2015-08-26 Thread PIKAL Petr
Hi Sorry that you consider my answer as an insult. Anyway, from your post I did not find any clue you already had tried to find an answer. I had to look up myself and found qcc (BTW does it do what you want?) quite easily (ewma R). Cheers Petr -Original Message- From: callyak4real

Re: [R] lsqlin in R package pracma

2015-08-26 Thread Wang, Xue, Ph.D.
Hi Hans, Thanks for your comments! I need the linear inequality constraints so nlsLM is not a candidate. I am also looking at the functions mma and slsqp in R package nloptr. Compared with constrOptim(), which approach would you recommend? Thanks, Xue -Original Message- From:

[R] compiling Rmd - can't find tex file....

2015-08-26 Thread Witold E Wolski
I am using from within R-studio and the .Rmd file builds nicely. However, when I try to compile the fiel using : knit2pdf( specL.Rmd, output=file.path(res.12345,specL.pdf) ) I am getting tex errors (see below). When I wan't to check what's wrong I can't find the tex file. Any ideas? Thank you

Re: [R] lsqlin in R package pracma

2015-08-26 Thread Hans W Borchers
I am a strong advocate of the *nloptr* package; and sequential quadratic programming, i.e. slsqp(), should be a good choice for least-squares problems. Note that you still have to provide a starting point. BUT: this point does not need to lie in the interior of the feasible region. So you can

[R] TSclust multivariate time series clustering

2015-08-26 Thread GloriaSolano
Hello, I am trying to cluster multivariate time series with the R package TSclust. I have a dataset of 45 companies with 10 years information on 6 variables. I understand from the TSclust package manual that the first step is choosing the dissimilarity meassure we are going to use. However I

Re: [R] Convert character Variables to numeric

2015-08-26 Thread MacQueen, Don
In addition to what Jim and Jeff said, I would suggest trying this: tmp - is.na(V) ## then head(Mac$TOTALFRT[tmp]) ## or head( V[tmp] ) This will show you the first few rows of the values which you think should be numeric but are not. Hopefully, you will be able to see why they are not numeric.

Re: [R] xyplot colour points and layout

2015-08-26 Thread David Winsemius
On Aug 26, 2015, at 8:41 PM, Christine Lee via R-help wrote: Dear All, I have tried to plot graphs of one row of four figures for each station. In each graph, black points indicate data in the year of 2002, denoted as Y2002, whereas grey points indicate data in the year of 2014, denoted

Re: [R] How to Turn OFF Vectors Recycling Rule in Paste()

2015-08-26 Thread Jeff Newmiller
No can do. You need to modify the input vectors so you get what you want. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live

[R] Universal axis is overwritten in ggplot panel plot using grid.arrange

2015-08-26 Thread Joe Ceradini
R-helpers, I am trying to make a panel of ggplots with universal Y and X axes. There are many examples that show how to do this with grid.arrange. However, my x axis label looks like it is (maybe) overwritten by the margin of the lower left plot and I cannot figure out how to fix it. I realize

[R] xyplot colour points and layout

2015-08-26 Thread Christine Lee via R-help
Dear All, I have tried to plot graphs of one row of four figures for each station. In each graph, black points indicate data in the year of 2002, denoted as Y2002, whereas grey points indicate data in the year of 2014, denoted as Y2014. I ended up with 2x2 plots with all data points in

Re: [R] Convert character Variables to numeric

2015-08-26 Thread Nordlund, Dan (DSHS/RDA)
Or to provide data without using an attachment, use dput() and cut-n-paste the result into an email. dput(Mac[1:10,]) Dan Daniel Nordlund, PhD Research and Data Analysis Division Services Enterprise Support Administration Washington State Department of Social and Health Services

[R] How to Turn OFF Vectors Recycling Rule in Paste()

2015-08-26 Thread Preeti ranjan Pradhan
Hello Team, Platform:Windows 7 32-bit R Version:3.2.2 I have two vectors as follows S = c(aa, bb, cc, dd, ee) X= c(aa, bb, cc, dd) When I trying a paste function z=paste(S,X) z I am getting result as [1] aa aa bb bb cc cc dd dd ee aa I don't need the last element of S vector should get