search for: anuptyagi

Displaying 20 results from an estimated 29 matches for "anuptyagi".

2024 Aug 09
1
WDI package commands timing out and not working
In the browser the link downloads immediately, in less than a second. I let the command run in R for five minutes, using R Studio. Nothing happened. On Fri, 9 Aug 2024 at 17:54, Ivan Krylov <ikrylov at disroot.org> wrote: > ? Thu, 8 Aug 2024 12:43:23 +0530 > Anupam Tyagi <anuptyagi at gmail.com> ?????: > > > In open.connection(con, "rb") : > > URL > > ' > https://api.worldbank.org/v2/en/country/OED/indicator/NY.ADJ.NNAT.GN.ZS?format=json&date=1977:2020&per_page=32500&page=1 > ': > > Timeout of 60 seconds was...
2023 Jul 07
1
Plotting factors in graph panel
...only matter of your preference which one do you choose. > > Cheers > Petr > > > > -----Original Message----- > > From: R-help <r-help-bounces at r-project.org> On Behalf Of Deepayan Sarkar > > Sent: Thursday, July 6, 2023 3:06 PM > > To: Anupam Tyagi <anuptyagi at gmail.com> > > Cc: r-help at r-project.org > > Subject: Re: [R] Plotting factors in graph panel > > > > On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi <anuptyagi at gmail.com> wrote: > > > > > > Btw, I think "lattice" graphics will provide...
2024 Aug 09
2
WDI package commands timing out and not working
? Thu, 8 Aug 2024 12:43:23 +0530 Anupam Tyagi <anuptyagi at gmail.com> ?????: > In open.connection(con, "rb") : > URL > 'https://api.worldbank.org/v2/en/country/OED/indicator/NY.ADJ.NNAT.GN.ZS?format=json&date=1977:2020&per_page=32500&page=1': > Timeout of 60 seconds was reached If you try to open the link...
2023 Jul 07
1
Plotting factors in graph panel
...e = TRUE, grid = TRUE) So it is probably only matter of your preference which one do you choose. Cheers Petr > -----Original Message----- > From: R-help <r-help-bounces at r-project.org> On Behalf Of Deepayan Sarkar > Sent: Thursday, July 6, 2023 3:06 PM > To: Anupam Tyagi <anuptyagi at gmail.com> > Cc: r-help at r-project.org > Subject: Re: [R] Plotting factors in graph panel > > On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi <anuptyagi at gmail.com> wrote: > > > > Btw, I think "lattice" graphics will provide a better solution than > &...
2023 Jun 29
2
Plotting factors in graph panel
..."n") axis(1,at=1:5,labels=at_df$Income) plot(at_df[,"MF_Debt"], type="l",lwd=3,main="MF_Debt", xlab="Income",ylab="%",xaxt="n") axis(1,at=1:5,labels=at_df$Income) dev.off() Jim On Thu, Jun 29, 2023 at 1:49?PM Anupam Tyagi <anuptyagi at gmail.com> wrote: > > Thanks, Pikal and Jim. Yes, it has been a long time Jim. I hope you have > been well. > > Pikal, thanks. Your solution may be close to what I want. I did not know > that I was posting in HTML. I just copied the data from Excel and posted in > the ema...
2023 Jul 06
2
Plotting factors in graph panel
On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi <anuptyagi at gmail.com> wrote: > > Btw, I think "lattice" graphics will provide a better solution than > "ggplot", because it puts appropriate (space saving) markers on the axes > and does axes labels well. However, I cannot figure out how to do it in > "lattice&quo...
2023 Jun 29
3
Plotting factors in graph panel
...uot;Percentage of group",xaxt="n") > axis(1,at=1:5,labels=at_df$Income) > legend(3,54,c("Bank_None","Bank_Current","Bank_Savings"), > lty=1:4,lwd=3,col=1:3) > dev.off() > > Jim > > On Wed, Jun 28, 2023 at 6:33?PM Anupam Tyagi <anuptyagi at gmail.com> wrote: > > > > Hello, > > > > I want to plot the following kind of data (percentage of respondents > from a > > survey) that varies by Income into many small *line* graphs in a panel of > > graphs. I want to omit "No Answer" categori...
2024 Aug 09
1
WDI package commands timing out and not working
...1 On Fri, 9 Aug 2024 at 18:38, Martin Maechler <maechler at stat.math.ethz.ch> wrote: > >>>>> Ivan Krylov via R-help > >>>>> on Fri, 9 Aug 2024 15:23:58 +0300 writes: > > > ? Thu, 8 Aug 2024 12:43:23 +0530 > > Anupam Tyagi <anuptyagi at gmail.com> ?????: > > >> In open.connection(con, "rb") : > >> URL > >> ' > https://api.worldbank.org/v2/en/country/OED/indicator/NY.ADJ.NNAT.GN.ZS?format=json&date=1977:2020&per_page=32500&page=1 > ': > >&...
2023 Jul 06
1
Plotting factors in graph panel
...w, I think "lattice" graphics will provide a better solution than "ggplot", because it puts appropriate (space saving) markers on the axes and does axes labels well. However, I cannot figure out how to do it in "lattice". On Thu, 6 Jul 2023 at 15:11, Anupam Tyagi <anuptyagi at gmail.com> wrote: > Hi John: > > Thanks! Below is the data using your suggestion. I used "ggplot" to make a > graph. I am not too happy with it. I am looking for something simpler and > cleaner. Plot is attached. > > I also tried "lattice" package, bu...
2024 Aug 09
1
WDI package commands timing out and not working
>>>>> Ivan Krylov via R-help >>>>> on Fri, 9 Aug 2024 15:23:58 +0300 writes: > ? Thu, 8 Aug 2024 12:43:23 +0530 > Anupam Tyagi <anuptyagi at gmail.com> ?????: >> In open.connection(con, "rb") : >> URL >> 'https://api.worldbank.org/v2/en/country/OED/indicator/NY.ADJ.NNAT.GN.ZS?format=json&date=1977:2020&per_page=32500&page=1': >> Timeout of 60 seconds was reache...
2023 Jun 28
1
Plotting factors in graph panel
...uot;, xlab="Income",ylab="Percentage of group",xaxt="n") axis(1,at=1:5,labels=at_df$Income) legend(3,54,c("Bank_None","Bank_Current","Bank_Savings"), lty=1:4,lwd=3,col=1:3) dev.off() Jim On Wed, Jun 28, 2023 at 6:33?PM Anupam Tyagi <anuptyagi at gmail.com> wrote: > > Hello, > > I want to plot the following kind of data (percentage of respondents from a > survey) that varies by Income into many small *line* graphs in a panel of > graphs. I want to omit "No Answer" categories. I want to see how each one >...
2006 Sep 11
9
rename cols
A quick question please! How do you rename column names? i.e. V1 --> Apple; V2 --> Orange, etc. thx much ej [[alternative HTML version deleted]]
2024 Aug 08
1
WDI package commands timing out and not working
There is some problem getting data with the WDI package. It gets data from World Development Indicators and other databases of The World Bank. I let the code run for several minutes and nothing happens. Sometimes it gives a time out message. I ran the same code last year and it worked. Any idea what the problem is and how to fix it? > dat1EU = WDI(indicator = c('NY.ADJ.NNAT.GN.ZS',
2006 Sep 09
1
reading and formating irregular time series for VaR
Hi, I am trying to read the following type of data from a .csv file to form an irregular time series object. I want to use it with the VaR package. How do I read it in correctly to an irregular time series object? Anupam. date,Open,High,Low,Close,Volume,OpenInterest,Contract 1972-08-16,54.25,54.25,54.25,54.25,1,1,KC1973H 1972-08-17,54.25,54.25,54.25,54.25,0,1,KC1973H
2006 Sep 13
0
Of fixed column format (and more fixed mindsets)
> > Message: 107 > Date: Tue, 12 Sep 2006 05:25:09 -0400 > From: Michael Kubovy <kubovy at virginia.edu> > Subject: Re: [R] Reading fixed column format > To: Anupam Tyagi <AnupTyagi at yahoo.com> > Cc: r-help at stat.math.ethz.ch > Message-ID: <3EBEC9D3-559C-4607-838D-46042D36A3AA at virginia.edu> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Sep 12, 2006, at 2:47 AM, Anupam Tyagi wrote: > > > Jason Barnhart &l...
2006 Sep 25
1
Passing R connection as argument to a shell command on Windows
Hello, is there a way to pass a connection to a file in a zipped archive as argument (instead of a file name of unzipped file) to shell command "cut". In general, is it possible to pipe output of a R function to a shell command? How? I want to do something like: z = unz("zipArchive.zip", "fileASCII.ASC") # open connection open(z) # cut lines of the ASCII file in
2006 Sep 30
1
plotting
Is there something in R that will display both observed values and their influence on calculated statistics? Anupam.
2006 Sep 30
1
Setting NA
Is there a way to set NA values in R, without changing the dataframe? I would like to use different combinations of non-response values, as if they were NA for some of the computations. I don't want to change the dataframe each time I have to do this? Anupam.
2023 Mar 23
2
loess plotting problem
For some reason the following code is not plotting as I want it to. I want to plot a "loess" line plotted over a scatter plot. I get a jumble, with lines connecting all the points. I had a similar problem with "lowess". I solved that by dropping "NA" rows from the data columns. Please help. library(stats) attach(gini_pci_wdi_narm) plot(ny_gnp_pcap_pp_kd, si_pov_gini)
2006 Sep 26
2
colClasses: supressed 'NA'
Hi, The colClasses seem to be supressing 'NA' vlaues. How do I fix this? R script and first 5 lines of output is below. File "test2.dat" has blanks that are read as "NA" when I do not use 'colClasses', but as blanks when I use 'colClasses'. temp.df <- read.fwf("test2.dat", width=c(10,1,1,1,1,2,2,3,3,1),