Re: [R] Help with read.csv.sql()

2020-07-20 Thread Rasmus Liland
On 2020-07-20 17:54 -0400, H wrote: > On 07/18/2020 11:42 PM, Rasmus Liland wrote: > > > > The thing is, defining the second column > > as of type Date in colClasses happens to > > work, but it's still character when you > > check with str(dat) ... perhaps it has > > something to do with this i

[R] rgl terminology: the definitions of "thickness" and "width" in rgl

2020-07-20 Thread Byron Dom via R-help
I'm struggling to come up to speed with rgl. At the moment, I'm struggling with the function arrows3d(). In the R documentation for that, two parameters/arguments are mentioned: "thickness" (of the arrow's shaft) and "width" (of the arrow's shaft).  Naively, I would expect the arrow's shaft unde

Re: [R] Creating xts objects from csv file

2020-07-20 Thread Bert Gunter
Might this be related to the stringsAsfactors change? -- the new default is FALSE, the old was TRUE. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Jul 20

Re: [R] Help with read.csv.sql()

2020-07-20 Thread H
On 07/18/2020 11:42 PM, Rasmus Liland wrote: > On 2020-07-18 18:09 +0100, Rui Barradas wrote: > | �s 17:59 de 18/07/2020, H escreveu: > | | On Fri, Jul 17, 2020 at 6:28 PM H wrote: > | | | > | | | The problem I am having is that > | | | the csv files have header rows > | | | with column names t

Re: [R] Creating xts objects from csv file

2020-07-20 Thread Rui Barradas
Hello, I cannot reproduce the error, your code runs as expected. Try as.POSIXct? Hope this helps, Rui Barradas Às 21:32 de 20/07/2020, Jeff Reichman escreveu: R-Help Forum Starting to work with xts objects but can't figure out what I'm doing wrong when converting *.csv file with a dtg v

[R] Creating xts objects from csv file

2020-07-20 Thread Jeff Reichman
R-Help Forum Starting to work with xts objects but can't figure out what I'm doing wrong when converting *.csv file with a dtg variable to a *.xts object. When I'm converting to an appropriate time object all I get are NA, so that's my first issue. dtg <- c("1/5/2010 2:30", "1/5/2010 10:32"

[R] Creating xts objects from csv file

2020-07-20 Thread Jeff Reichman
R-Help Forum Starting to work with xts objects but can't figure out what I'm doing wrong when converting *.csv file with a dtg variable to a *.xts object. When I'm converting to an appropriate time object all I get are NA, so that's my first issue. dtg <- c("1/5/2010 2:30", "1/5/2010 10:32"

Re: [R] Plot base 100

2020-07-20 Thread Joshua Ulrich
You can do this with PerformanceAnalytics. library(PerformanceAnalytics) data(edhec) chart.RelativePerformance(edhec, 0, legend = "topleft") Also note that there's a finance-specific mailing list: R-SIG-Finance. Best, Josh On Sun, Jul 19, 2020 at 1:46 PM Pedro páramo wrote: > > Hi all, > > I a

Re: [R] Plot base 100

2020-07-20 Thread Pedro páramo
I understand. I Will send my Code tomorrow, I am outside home now. Many thanks David, sorry about all. El dom., 19 jul. 2020 21:13, David Winsemius escribió: > > On 7/19/20 11:18 AM, Pedro páramo wrote: > > Hi all, > > > > I am trying to make a plot based on stock market prices and the library

[R] [R-pkgs] 'analyzer' - R package to automatic data analysis

2020-07-20 Thread Apurv Priyam
Hi all, I would like to introduce a recently published R package 'analyzer' which can be used for automated data analysis. With one command a detailed R markdown notebook can be generated with pre-written codes for data analysis using 15+ statistical tests, model, variable selection, and plots. T