Re: [R] FREDR and R 3.6

2020-10-29 Thread H
On 10/29/2020 07:20 PM, Marc Schwartz wrote: >> On Oct 29, 2020, at 6:35 PM, H wrote: >> >> On 10/29/2020 01:49 PM, Marc Schwartz wrote: On Oct 29, 2020, at 1:29 PM, H wrote: I tried to install the fredr package yesterday to access the data series hosted by the St. Louis Fed

Re: [R] FREDR and R 3.6

2020-10-29 Thread John via R-help
On Thu, 29 Oct 2020 13:29:41 -0400 H wrote: > I tried to install the fredr package yesterday to access the data > series hosted by the St. Louis Fed but my installation of R, version > 3.6, tells me it is not available from a cran repository. > > I could not find any information on this on the f

Re: [R] Good Evening,

2020-10-29 Thread Jim Lemon
Hi Joy, As Rui noted, you can get a plot with: jk.dat<-runif(100,1000,1) plot(jk.dat,type="l") This plots your vector of 100 uniformly distributed numbers against their "index" (the order in which they appear in the vector). I suspect your problem is that you want to define a vector of "x" va

Re: [R] FREDR and R 3.6

2020-10-29 Thread Marc Schwartz via R-help
> On Oct 29, 2020, at 6:35 PM, H wrote: > > On 10/29/2020 01:49 PM, Marc Schwartz wrote: >>> On Oct 29, 2020, at 1:29 PM, H wrote: >>> >>> I tried to install the fredr package yesterday to access the data series >>> hosted by the St. Louis Fed but my installation of R, version 3.6, tells me

Re: [R] FREDR and R 3.6

2020-10-29 Thread H
On 10/29/2020 01:49 PM, Marc Schwartz wrote: >> On Oct 29, 2020, at 1:29 PM, H wrote: >> >> I tried to install the fredr package yesterday to access the data series >> hosted by the St. Louis Fed but my installation of R, version 3.6, tells me >> it is not available from a cran repository. >> >>

Re: [R] FREDR and R 3.6

2020-10-29 Thread Marc Schwartz via R-help
> On Oct 29, 2020, at 1:29 PM, H wrote: > > I tried to install the fredr package yesterday to access the data series > hosted by the St. Louis Fed but my installation of R, version 3.6, tells me > it is not available from a cran repository. > > I could not find any information on this on the

Re: [R] R optim() function

2020-10-29 Thread J C Nash
The issue is almost certainly in the objective function i.e., diagH, since Nelder Mead doesn't use any matrix operations such as Choleski. I think you probably need to adjust the objective function to catch singularities (non-positive definite cases). I do notice that you have two identical parame

[R] FREDR and R 3.6

2020-10-29 Thread H
I tried to install the fredr package yesterday to access the data series hosted by the St. Louis Fed but my installation of R, version 3.6, tells me it is not available from a cran repository. I could not find any information on this on the fredr information package and was wondering if anyone

Re: [R] Good Evening,

2020-10-29 Thread Rui Barradas
Hello, To plot a graph you don't need to compute the axis, R will do it for you: # create data set.seed(2020)# Make the results reproducible x <- runif(100, 1000, 1) This is not very intuitive but the following will plot the x values in the y axis, along the x axis values 1 to 100.

Re: [R] Good Evening,

2020-10-29 Thread Joy Kissoon
I contacted Martin Maechler (maech...@stat.math.ethz.ch) and was advised to contact you for input on the question below...thanks! I am very new with the R experience, all I know is that it's computer language & coding... I'm trying to plot a regression graph for runif (100, 1000, 1). What am I

[R] R optim() function

2020-10-29 Thread Baker, Kieran via R-help
Hi R-Help, I am using R to do functional outlier detection (using PCA to reduce to 2 dimensions - the functional boxplot methodology used in the Rainbow package), and using Hscv.diag function to calculate the bandwidth matrix where this line of code is run: result <- optim(diag(Hstart), scv.mat

Re: [R] Need help in programming R on functional data

2020-10-29 Thread Michael Dewey
You have already asked this and people gave you a variety of answers. Just asking again without clarifying why those answers did not help you is not going to solve your problem. Tell us what you tried and why it failed might help. Michael On 29/10/2020 07:50, Ablaye Ngalaba wrote: Hello, I n

[R] Need help in programming R on functional data

2020-10-29 Thread Ablaye Ngalaba
Hello, I need to generate the functional data in R programming but I can't do it. Please, an example of R code that generates the functional data can help me. Thank you and have a nice day [[alternative HTML version deleted]] __ R-help@r-proj