Re: [R] Can someone please have a look at my query on stackoverflow ?

2024-05-28 Thread Ashim Kapoor
Dear Uwe and others, Here is my query: I am looking for a function which can:- take a seasonal ARMA model and return :- the spectrum of the seasonal ARMA model. I have seen: library(astsa) ?arma.spec However it's a bit clumsy to use arma.spec when my model has seasonal ar / ma terms. For

Re: [R] Can someone please have a look at my query on stackoverflow ?

2024-05-28 Thread Uwe Ligges
On 28.05.2024 06:41, Ashim Kapoor wrote: Dear Sir, OK. I will migrate this query to stats.stackexchange.com. In any case, if you ask on the list, the question should be on the list. Personally, I do read mails, but rather not websites. Best, Uwe Ligges Best, Ashim On Mon, May 27,

Re: [R] Can someone please have a look at my query on stackoverflow ?

2024-05-27 Thread Ashim Kapoor
Dear Sir, OK. I will migrate this query to stats.stackexchange.com. Best, Ashim On Mon, May 27, 2024 at 8:28 PM David Winsemius wrote: > > If I had seen that post before it got a bounty, I would have voted to migrate > it to https://stats.stackexchange.com since it is a request for advice on

Re: [R] Can someone please have a look at my query on stackoverflow ?

2024-05-27 Thread David Winsemius
If I had seen that post before it got a bounty, I would have voted to migrate it to https://stats.stackexchange.com since it is a request for advice on methods as well as an implicit request for a package recommendation. — David Sent from my iPhone > On May 27, 2024, at 5:40 AM, Ashim Kapoor

[R] Can someone please have a look at my query on stackoverflow ?

2024-05-27 Thread Ashim Kapoor
Dear experts, I am having difficulty with computing spectrum of seasonal ARMA models. My query is posted here : https://stackoverflow.com/questions/78526800/computing-the-spectrum-of-a-seasonal-model-in-r Will be grateful if someone has a look at it and responds. Many thanks, Ashim.

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-18 Thread Ashim Kapoor
Dear Olivier, Many thanks. Best Regards, Ashim On Sat, Nov 18, 2023 at 2:36 PM Olivier Crouzet wrote: > > 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,

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-18 Thread Olivier Crouzet
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 wrote: > Dear Olivier, > > Many thanks for

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-18 Thread Olivier Crouzet
Indeed, it's not far from that. Actually stating these parameters (paperwidht and paperheight) with the geometry package replaces the A4 size (or any default size as e.g. letterpaper...) with specific dimensions. But the nuance is that common sizes are declared with, e.g. the 'paper=a4paper'

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-17 Thread Ashim Kapoor
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. Best, Ashim On Sat, Nov 18, 2023 at 12:51 PM Olivier Crouzet wrote: > > Dear

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-17 Thread Olivier Crouzet
Dear Ashim, these are documented in the LaTeX 'geometry' package (see for example on CTAN: https://ctan.org/pkg/geometry). As I added in my response on Stackoverflow, several parts in the RMarkdown header actually concern information that are processed by LaTeX to actually generate the PDF, among

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-17 Thread Ashim Kapoor
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 Regards, Ashim On Fri, Nov 17, 2023 at 9:25 PM Olivier Crouzet wrote: > > Dear

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-17 Thread Olivier Crouzet
Dear Ashim, I don't think the aspectratio is appropriate in this context because it would imply that the beamer (LaTeX) class is used but you're actually using the article (LaTeX) class. You may use specifications of the geometry package rather than specifying options to the class: e.g. replace

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-16 Thread Ashim Kapoor
Hello, > 1366/768 [1] 1.778646 > 16/9 [1] 1.78 > There is a mild difference. Is that causing the problem? Best, Ashim On Thu, Nov 16, 2023 at 1:42 PM Ashim Kapoor wrote: > > Dear Bert, > > Following your suggestion: > > I checked my device resolution is : 1366 x 768 = 16:9 > > which is

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-16 Thread Ashim Kapoor
Dear Bert, Following your suggestion: I checked my device resolution is : 1366 x 768 = 16:9 which is the same as is specified in the Rmd file. I am out of ideas now. Any other idea? Best Regards, Ashim On Wed, Nov 15, 2023 at 10:32 PM Bert Gunter wrote: > > Well, as no one else has offered

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-15 Thread Bert Gunter
... and note also that there may be clipping options you can change/set to approximate your desiderata. -- Bert On Wed, Nov 15, 2023 at 9:02 AM Bert Gunter wrote: > Well, as no one else has offered an answer ... > > I haven't looked at this closely, but could it not simply be the case that >

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-15 Thread Bert Gunter
Well, as no one else has offered an answer ... I haven't looked at this closely, but could it not simply be the case that the aspect ratio set by "Landscape Mode" just differs from that of your display device? -- i.e., it is impossible to have the figure displayed in landscape ratio *and*

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-14 Thread Ashim Kapoor
Dear John, Many thanks for your reply. I wish 2 things : 1. Landscape mode 2. No wasted space on the sides when I maximise the pdf. When I download an open and maximise the pdf it wastes space. Please see the attached screenshot. Query: When you maximise the PDF does it occupy the full screen

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-14 Thread John Kane
I ran the code from the answer and it seems to work well. It, definitely, is giving a landscape output. --- title: "Testing landscape and aspect ratio" output: pdf_document: number_sections: true classoption: - landscape - "aspectratio=169" header-includes: - \usepackage{dcolumn}

[R] Can someone please have a look at this query on stackoverflow?

2023-11-13 Thread Ashim Kapoor
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