Re: [R] Different date formats in one column

2017-06-29 Thread Christoph Puschmann
Hey, Are all the dates connected? So no comma or space btw? Regards, Christoph > On 29 Jun 2017, at 2:02 pm, Farnoosh Sheikhi via R-help > wrote: > > Hi, > I have a data set with various date formats in one column and not sure how to > unify it.Here is a few formats: > 02091702/22/17022120

Re: [R] Percent transformation

2017-03-17 Thread Christoph Puschmann
y brevity. > > On March 14, 2017 2:19:59 PM PDT, Christoph Puschmann > wrote: >> Hello all, >> >> I am having a problem of transforming decimals into percentage. >> Specifically, I get the following error message: >> >> "Error in UseMethod("round_

[R] Percent transformation

2017-03-14 Thread Christoph Puschmann
Hello all, I am having a problem of transforming decimals into percentage. Specifically, I get the following error message: "Error in UseMethod("round_any") : no applicable method for 'round_any' applied to an object of class “data.frame" My code looks the following: x <- sp[1:5,2:6] x = pe

Re: [R] Loop to check for large dataset

2016-10-10 Thread Christoph Puschmann
Dear Petr, I attached a sample file, which contains the first 4 products. It is more that I have: 157 weeks, 19 different Stores and 22 products: 157*19*22 = 65,626 rows. And as I sated I have roughly 63,127 rows. (so some have to be missing). All the best, Christoph

Re: [R] Loop to check for large dataset

2016-10-08 Thread Christoph Puschmann
Dear Adrian, Yes it is a cyclical data set and theoretically it should repeat this interval until 61327. The data set itself is divided into 2 Parts: 1. Product category (column 10) 2. Number of Stores Participating (column 01) Overall there are 22 different products and in each you have 19 diffe

[R] Loop to check for large dataset

2016-10-08 Thread Christoph Puschmann
Hey all, I would like to know if anyone, can put in the right direction of the following problem: I am currently want to use it to check if a column with a length of 61327 is consistent over an 1 to 157 interval until the end of the column. In the case the interval is interrupted I want to kno

Re: [R] Bootstrapping in R

2016-10-01 Thread Christoph Puschmann
orry, but what formula? formula is not a ?boot argument. > To the OP: Michael is probably right, if you reset the seed each time, you'll > get equal values, otherwise you should get different results due to > randomization. > > Rui Barradas > > > Quoting Christoph Pu

Re: [R] Bootstrapping in R

2016-10-01 Thread Christoph Puschmann
Dear Bryan, Did you try to include formula in the boot command? like: results <- boot(data, statistic, R, formula) All the best, Christoph > On 1 Oct 2016, at 19:24, Michael Dewey wrote: > > Dear Bryan > > You are not resetting the seed each time by any chance? > > Michael > > On 01/10/