Displaying 20 results from an estimated 900 matches similar to: "Reg: ggplot error"
2023 Jan 11
1
Reg: ggplot error
No code or data came through.
Please read the posting guidelines.
On Wed, Jan 11, 2023 at 1:38 PM Upananda Pani <upananda.pani at gmail.com> wrote:
>
> Dear All,
>
> I am using roptest function of package "ROptEst" (Kohl and Ruckdeschel
> (2019)) to find out the ML, CvM-MD, and the RMX estimator and their
> asymptotic confidence intervals. I am assuming 1-5% of
2023 Jan 11
1
Reg: ggplot error
I am sorry.
On Wed, Jan 11, 2023 at 5:32 PM Eric Berger <ericjberger at gmail.com> wrote:
> No code or data came through.
> Please read the posting guidelines.
>
>
> On Wed, Jan 11, 2023 at 1:38 PM Upananda Pani <upananda.pani at gmail.com>
> wrote:
> >
> > Dear All,
> >
> > I am using roptest function of package "ROptEst" (Kohl
2023 Jan 11
1
Reg: ggplot error
Dear All,
I am using roptest function of package "ROptEst" (Kohl and Ruckdeschel
(2019)) to find out the ML, CvM-MD, and the RMX estimator and their
asymptotic confidence intervals. I am assuming 1-5% of erroneous data for
the RMX estimator.
Then I am trying to Plot the data in the form of a histogram and add the
three Gamma distribution densities with the estimated parameters and
2017 Sep 22
1
Convert data into zoo object using Performance analytics package
Dear All,
Thanks a lot for your help. Would you please let me know if i want to read
a csv file as zoo object from my local file rather than directly from the
website, how to do that?
library(zoo)
u <- "https://faculty.washington.edu/ezivot/econ424/sbuxPrices.csv"
fmt <- "%m/%d/%Y"
With sincere regards,
Upananda Pani
On Wed, Sep 20, 2017 at 3:22 PM, PIKAL Petr
2017 Sep 20
1
Convert data into zoo object using Performance analytics package
Dear Sir,
Thanks for your mail and help. I got this error while trying to run your
code.
sbux1.z <- read.csv.zoo(u, FUN = as.yearmon, format = fmt)
Error in read.table(file = file, header = header, sep = sep, quote = quote,
:
'file' must be a character string or connection
Thanks and Regards,
Upananda Pani
On Tue, Sep 19, 2017 at 4:31 PM, Upananda Pani <upananda.pani at
2017 Sep 20
0
Convert data into zoo object using Performance analytics package
Hi
Gabor's code works as expeceted without error.
What is "u" in your case?
Cheers
Petr
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Upananda
> Pani
> Sent: Wednesday, September 20, 2017 11:06 AM
> To: Gabor Grothendieck <ggrothendieck at gmail.com>
> Cc: r-help <r-help at r-project.org>
>
2023 May 02
5
Reg: Help regarding ggplot2
Dear All,
I have a dataset which contains date and 12 other countries data. I
have extracted the data as xts object.
I am not able to recall all the series in the Y axis. My data set
looks like this
index crepub finland france germany italy netherlands norway poland
<date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
2017 Sep 18
3
Convert data into zoo object using Performance analytics package
Dear All,
While i am trying convert data frame object to zoo object I am
getting numeric(0) error in performance analytics package.
The source code i am using from this website to learn r in finance:
https://faculty.washington.edu/ezivot/econ424/returnCalculations.r
# create zoo objects from data.frame objects
dates.sbux = as.yearmon(sbux.df$Date, format="%m/%d/%Y")
dates.msft =
2023 May 02
1
Reg: Help regarding ggplot2
It's not clear what you want but ...
On 02/05/2023 10:57, Upananda Pani wrote:
> Dear All,
>
> I have a dataset which contains date and 12 other countries data. I
> have extracted the data as xts object.
>
> I am not able to recall all the series in the Y axis. My data set
> looks like this
>
> index crepub finland france germany italy netherlands norway poland
>
2023 Jan 16
1
Reg: Frequency in declaring time series data
Dear All,
I have a time series daily data with date are stored ( %dd-%mm-%yy format )
from 22-01-20 to 03-08-21. In total I have 560 observations. I am using the
following command to declare as a time series object. Here the the data set
is 7 days a week.
oil <- read_xlsx("crudefinal.xlsx")
pricet=ts(oil$price, start = c(2020, 22), freq = 365)
2011 Oct 05
2
creating a loop for a function
Dear All,
I want to create a loop within a function r. The example follows:
Box.test (lfut, lag = 1, type="Ljung")
if i want to compute the Box.test for lag 1 to 10, I have to write manually
change each time for different lag. So i wan to write a loop for the lag 1
to 10 and return the statistics for each lag. Is there any method to do this
?
With regards,
Upananda
--
You may
2023 Feb 05
3
Extracting data using subset function
Dear All,
I want to create a vector p and extract first 20 observations using subset
function based on logical condition.
My code is below
p <- 0:100
I know i can extract the first 20 observations using the following command.
q <- p[1:20]
But I want to extract the first 20 observations using subset function which
requires a logical condition. I am not able to frame the logical
2011 Sep 29
1
checking the outliers of the time series data set
Dear All,
Can you please guide me how to check the outliers in the data set in R. It
would be great if you can give some examples of methods.
With regards,
Upananda
--
You may delay, but time will not.
Research Scholar
alternative mail id: upani@iitkgp.ac.in
Department of HSS, IIT KGP
KGP
[[alternative HTML version deleted]]
2017 Sep 22
1
Treating NA in timeSeries package
Dear All,
I am facing problem with NA treatment in my financial time series data.
# data reading
aluminum = read.csv(file="alu.csv", header=T, sep=",")
fut = aluminum [,2]
spt = aluminum [,3]
# Missing Value Treatment (Linear Interpolation)
spt = interpNA(spt, method = c("linear"))
fut = interpNA(fut, method = c("linear"))
fut=fut[,1]
spt =spt[,1]
2023 May 02
0
Reg: Help regarding ggplot2
Hi Thomas,
Thanks for your help. I need to plot all other countries as well.
Thanks for your time
With sincere regards,
Upananda
On Tue, May 2, 2023 at 3:01?PM Thomas.Rose <Thomas.Rose at daad-alumni.de>
wrote:
> Dear Upananda,
>
> I see a misplaced bracket in your code, and there is no need in aes() to
> call the dataframe explicitly. Does this work?
>
> ggplot(data =
2023 Jan 16
0
Reg: Frequency in declaring time series data
?s 20:52 de 16/01/2023, Upananda Pani escreveu:
> Hi Rui,
>
> Thank you so much for your help. As I have to fit a Markov Switching Model
> using MSwM package.
>
> May I know whether i can convert from zoo object to a time series object.
>
> As I have to use several packages which uses ts so I am not able to decide
> how to do it.
>
> Grateful to you for your
2011 Aug 24
2
regarding changing of title of decompose graph
Hi All,
I am new to this forum. I have just started learning R. When i use
plot(decompose(x)), i am getting the title " Additive time series
decomposition". How to make this title off and change to some other title.
Any help regarding this is highly appreciated.
With sincerer regards,
Upananda
--
View this message in context:
2024 Aug 11
1
geom_smooth with sd
Dear community
Using after_stat() I was able to visualise ggplot with standard deviations
instead of a confidence interval as seen in the R help.
p1<-ggplot(data = MS1, aes(x= Jahr, y= QI_A,color=Bio, linetype=Bio)) +
geom_smooth(aes(fill=Bio,
ymax=after_stat(y+se*sqrt(length(y))), ymin=after_stat(y-se*sqrt(y))) ,
method = "lm" , formula = y ~ x +
2024 Aug 11
1
geom_smooth with sd
Hi!
This is probably completely off base, but your ymin and y max setup lines
are different. One uses sqrt(y), while the second uses sqrt(length(y)).
Could that play a part, please?
Thank you
Erin Hodgess, PhD
mailto: erinm.hodgess at gmail.com
On Sun, Aug 11, 2024 at 10:10?AM SIBYLLE ST?CKLI via R-help <
r-help at r-project.org> wrote:
> Dear community
>
>
>
> Using
2023 Aug 12
1
geom_smooth
G'day Thomas,
On Sat, 12 Aug 2023 04:17:42 +0000 (UTC)
Thomas Subia via R-help <r-help at r-project.org> wrote:
> Here is my reproducible code for a graph using geom_smooth
The call "library(tidyverse)" was missing. :)
> I'd like to add a black boundary around the shaded area. I suspect
> this can be done with geom_ribbon but I cannot figure this out. Some
>