search for: ashimkapoor

Displaying 20 results from an estimated 43 matches for "ashimkapoor".

2011 Sep 27
1
Does replacing some values of a zoo object by NA reduce it's size ?
..., c("v1", "l1")), index = 1:10, class = "zoo") > dput(f2) structure(c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2), .Dim = c(10L, 2L), .Dimnames = list(NULL, c("v1", "l1")), index = 1:10, class = "zoo") -rw-r--r-- 1 ashimkapoor ashimkapoor 192 2011-09-27 11:08 file1 -rw-r--r-- 1 ashimkapoor ashimkapoor 179 2011-09-27 11:08 file2 Best Regards, Ashim. [[alternative HTML version deleted]]
2023 Nov 18
2
Can someone please have a look at this query on stackoverflow?
...es arbitrary (even using smaller > steps and ratios differing from 16/9) depending on the aims to be > reached. > - It is also possible to specify different units (pt = points, in = > inches...) > > Yours. > Olivier. > > On Sat, 18 Nov 2023 09:53:19 +0530 Ashim Kapoor <ashimkapoor at gmail.com> > wrote: > > > Dear Olivier, > > > > Many thanks for your reply. > > > > This works well for me. > > > > How did you come up with the pagewidth / pageheight numbers? I do > > understand that their ratio = 16:9, > > but ho...
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
And indeed again (I did not understand your previous question exactly at first), the 'hard-coded' definition of a landscape a4 sheet would therefore be: paperwidth=29.7cm, paperheight=21cm Olivier. On Sat, 18 Nov 2023 13:20:49 +0530 Ashim Kapoor <ashimkapoor at gmail.com> wrote: > Dear Olivier, > > Many thanks for your reply. > > Very cool. > > You know what I thought ? I thought you had modified the A4 sheet size > to compute the paperheight and paperwidth ? > > I wonder if that's another way of proceeding. &g...
2018 Jan 07
0
SpreadLevelPlot for more than one factor
Dear All, we need to do : library(car) for the spreadLevelPlot function I forgot to say that. Apologies, Ashim On Sun, Jan 7, 2018 at 10:37 AM, Ashim Kapoor <ashimkapoor at gmail.com> wrote: > Dear All, > > I want a transformation which will make the spread of the response at all > combinations > of 2 factors the same. > > See for example : > > boxplot(breaks ~ tension * wool, warpbreaks) > > The closest I can do is : > &g...
2018 Jan 07
2
SpreadLevelPlot for more than one factor
Dear All, I want a transformation which will make the spread of the response at all combinations of 2 factors the same. See for example : boxplot(breaks ~ tension * wool, warpbreaks) The closest I can do is : spreadLevelPlot(breaks ~tension , warpbreaks) spreadLevelPlot(breaks ~ wool , warpbreaks) I want to do : spreadLevelPlot(breaks ~tension * wool, warpbreaks) But I get : >
2018 Apr 18
3
Understanding which
Dear All, Here is a reprex: > x<- 1:100 > x[-which(x>100)] integer(0) In words, I am finding out which indices correspond to values in x which are greater than 100 ( there are no such items ) . Then I remove those indices. I should get back the x that I started with since there are no items in x which are bigger than 100 . Instead, it is returning an empty vector. Why is this ?
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
...und it was ok. - But one may vary these sizes arbitrary (even using smaller steps and ratios differing from 16/9) depending on the aims to be reached. - It is also possible to specify different units (pt = points, in = inches...) Yours. Olivier. On Sat, 18 Nov 2023 09:53:19 +0530 Ashim Kapoor <ashimkapoor at gmail.com> wrote: > Dear Olivier, > > Many thanks for your reply. > > This works well for me. > > How did you come up with the pagewidth / pageheight numbers? I do > understand that their ratio = 16:9, > but how did you choose these numbers? > > Best Reg...
2018 Apr 18
0
Understanding which
Look at which(x>100) This is a zero-length vector. The negative of nothing is nothing, not a list of all possible index values. Do you want x[ !( x > 100 ) ] ? On April 18, 2018 6:13:30 AM CDT, Ashim Kapoor <ashimkapoor at gmail.com> wrote: >Dear All, > >Here is a reprex: > >> x<- 1:100 >> x[-which(x>100)] >integer(0) > >In words, I am finding out which indices correspond to values in x >which >are greater than 100 ( there are no such items ) . Then I remove >th...
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
...rheight=13.5cm > --- > > Of course, you may change the exact dimensions and it will impact the > relative font sizes. I've tested it and it generates what you want. > > Yours. > Olivier. > > > > > > On Tue, 14 Nov 2023 10:03:23 > +0530 Ashim Kapoor <ashimkapoor at gmail.com> wrote: > > > Dear all, > > > > I have posted a query which has received a response but that is not > > working on my computer. > > > > Here is the query: > > > > https://stackoverflow.com/questions/77387434/pdf-from-rmarkdown-lands...
2017 Oct 02
0
Default value of the option initial in the ses function in the forecast package.
The first one, i.e. "optimal"; check help for match.arg() for the idiom. -pd > On 2 Oct 2017, at 11:48 , Ashim Kapoor <ashimkapoor at gmail.com> wrote: > > Dear All, > > I am trying to use the function ses from the forecast package. > > From its help I have : > > Usage: > > ses(y, h = 10, level = c(80, 95), fan = FALSE, initial = c("optimal", > "simple"), a...
2011 Sep 27
2
Coercing a character zoo to a numeric
Dear R-helpers, It seems to me that a character zoo cannot be coerced to a numeric zoo. Below is a minimal example. Can someone tell me what I have done wrong? > z<-zoo(1:4,order.by=1:4) > coredata(z)<-as.character(coredata(z)) > str(z) ‘zoo’ series from 1 to 4 Data: chr [1:4] "1" "2" "3" "4" Index: int [1:4] 1 2 3 4 >
2023 Nov 14
2
Can someone please have a look at this query on stackoverflow?
Dear all, I have posted a query which has received a response but that is not working on my computer. Here is the query: https://stackoverflow.com/questions/77387434/pdf-from-rmarkdown-landscape-and-aspectratio-169 Can someone please help me ? Best Regards, Ashim
2017 Oct 02
2
Default value of the option initial in the ses function in the forecast package.
Dear All, I am trying to use the function ses from the forecast package. >From its help I have : Usage: ses(y, h = 10, level = c(80, 95), fan = FALSE, initial = c("optimal", "simple"), alpha = NULL, lambda = NULL, biasadj = FALSE, x = y, ...) My query is that if I do not mention the initial value will its default value be "optimal". A MWE would be
2017 Jun 08
0
regular expression help
Zitat von Ashim Kapoor <ashimkapoor at gmail.com>: > Dear All, > > My query is: > > Do we always need to use perl = TRUE option when doing ignore.case=TRUE? > > A small example : > > my_text = > "RECOVERY OFFICER-II\nDEBTS RECOVERY TRIBUNAL-III\n RC No. 162/2015\nSBI > VS RAMESH GUPTA.\n...
2023 Nov 17
1
Can someone please have a look at this query on stackoverflow?
...ntclass: article geometry: margin=1.5cm, paperwidth=24cm, paperheight=13.5cm --- Of course, you may change the exact dimensions and it will impact the relative font sizes. I've tested it and it generates what you want. Yours. Olivier. On Tue, 14 Nov 2023 10:03:23 +0530 Ashim Kapoor <ashimkapoor at gmail.com> wrote: > Dear all, > > I have posted a query which has received a response but that is not > working on my computer. > > Here is the query: > > https://stackoverflow.com/questions/77387434/pdf-from-rmarkdown-landscape-and-aspectratio-169 > > Can s...
2023 Jun 08
1
Cryptic error from stargazer
Dear All, I had done an automatic upgrade of my Debian 10 system which had also upgraded R. I reinstalled the stargazer package and the error went away. Query : Do I need to reinstall all packages with each upgrade of R ? Best, Ashim On Thu, Jun 8, 2023 at 11:11?AM Ashim Kapoor <ashimkapoor at gmail.com> wrote: > > Dear All, > > Here is my reproducible example: > > > library(stargazer) > > Please cite as: > > Hlavac, Marek (2018). stargazer: Well-Formatted Regression and > Summary Statistics Tables. > R package version 5.2.2. https://CRAN.R-...
2017 Jun 04
2
Warning from reshape2 when melting a data frame with uneven number of columns.
Here is a small reproducible example: data <- structure(list(V1 = structure(1:3, .Label = c("Name1", "Name2", "Name3"), class = "factor"), V2 = structure(c(1L, 3L, 2L), .Label = c("nam1", "name-1", "name_12"), class = "factor"), V3 = structure(1:3, .Label = c("nam2", "nam_34",
2023 Jun 08
1
Cryptic error from stargazer
...or R 4.3-0, https://cloud.r-project.org/doc/manuals/r-release/NEWS.html , has a prominent first item about using && and errors.) and ii) the package maintainer fixed those warnings/errors in 5.2.3. kind regards Enrico > On Thu, Jun 8, 2023 at 11:11?AM Ashim Kapoor <ashimkapoor at gmail.com> wrote: >> >> Dear All, >> >> Here is my reproducible example: >> >> > library(stargazer) >> >> Please cite as: >> >> Hlavac, Marek (2018). stargazer: Well-Formatted Regression and >> Summary Statistics Tables. &g...
2017 Jun 08
2
regular expression help
Dear All, My query is: Do we always need to use perl = TRUE option when doing ignore.case=TRUE? A small example : my_text = "RECOVERY OFFICER-II\nDEBTS RECOVERY TRIBUNAL-III\n RC No. 162/2015\nSBI VS RAMESH GUPTA.\n Dated: 01.03.2016 Item no.01\n Present: Ms. Sonakshi, the proxy counsel for Ms. Usha Singh, the counsel for ARCIL.\n None for the CDs.\n
2011 Jun 30
2
Points but no lines in qplot.
Dear R helpers, I have molten data which is : - > t3 Year variable value 1 2005 ICICI.Bank 274883700000 2 2006 ICICI.Bank 431668500000 3 2007 ICICI.Bank 595153000000 4 2008 ICICI.Bank 630857600000 5 2009 ICICI.Bank 545263300000 6 2005 HDFC.Bank 2658600000 7 2006 HDFC.Bank 7891000000 8 2007 HDFC.Bank 18031100000 9 2008