Jeff
Thanks - that’s easy enough
Jeff
-Original Message-
From: Jeff Newmiller
Sent: Wednesday, February 6, 2019 7:09 AM
To: r-help@r-project.org; reichm...@sbcglobal.net
Subject: Re: [R] Calendar Heat Map
ggplot automatically chooses continuous or discrete scales depending on the
typ
I am using performance analytics and Quantmod packages. The data is daily
stock returns, I am calculating VaR (Port.returns, p=0.95, weights =
weights, portfolio_method = "Component", method="modified"). This gives me
the Cornish Fisher VaR - daily risk. Is there a way still using daily
prices a
This seems like an odd analysis to me, but I don't have time to look
closer at it. It certainly doesn't look simple to me... I hope you have
some good theoretical guidance in tackling this (which this mailing list
is not).
One obvious thing is that z1 only depends on i, so you should only have
On Wed, 6 Feb 2019, Jeff Newmiller wrote:
Take a look at [1] for an example analysis that maximizes the firm yield
(amount that can be promised and subsequently delivered for irrigation
delivery each year) subject to required minimum capacity levels (for flood
protection) and available water i
On Wed, 6 Feb 2019, S Ellison wrote:
Water management is definitely not my field, but for interest - and maybe
to help other folk respond - can I ask what the loss function would look
like for this kind of problem? That may suggest particular optimisation
approaches.
Steve,
I'll go learn more
On Wed, 6 Feb 2019, Thomas Adams wrote:
Did you Google "R stat water resources optimization" or "r stats
optimization"?
Tom,
No. I went directly to the CRAN task views.
Thanks very much for the pointers.
Regards,
Rich
__
R-help@r-project.org mai
Did you Google "R stat water resources optimization" or "r stats
optimization"?
It seems that applying some of the references below with R packages in the
optimization task view probably gets you where you want to go.
https://cran.r-project.org/web/packages/reservoir/reservoir.pdf
https://www.res
On 2019-02-06 12:36 p.m., Rich Shepard wrote:
> The task view lists many R packages for optimization and I would appreciate
> suggestions from those familiar with the available tools for packages that
> might be suitable for water management.
>
> Limited water resources need to be apportioned amon
Rich's email did not reach me, so tagging off of S Ellison's reply...
Take a look at [1] for an example analysis that maximizes the firm yield
(amount that can be promised and subsequently delivered for irrigation
delivery each year) subject to required minimum capacity levels (for flood
prote
> Limited water resources need to be apportioned among various competing
> users
> (e.g,, agriculture, fish and wildlife, Tribes, potable human water
> supplies).
Water management is definitely not my field, but for interest - and maybe to
help other folk respond - can I ask what the loss functio
The task view lists many R packages for optimization and I would appreciate
suggestions from those familiar with the available tools for packages that
might be suitable for water management.
Limited water resources need to be apportioned among various competing users
(e.g,, agriculture, fish and
What have you tried so far? Have you installed the spatstat package and read
the manual page for pp3 objects? The website spatstat.org has additional
support including a quick reference guide. There are always multiple ways to do
something in R, but without more details it is hard to be specific
This is not an answer to your speed problem but are your assignments to
AICc[,1] and so on doing what you hope they are doing?
Michael
On 06/02/2019 12:03, salah maadawy wrote:
i am a beginner regarding R but i am trying to do a simple thing, but it is
taking too much time and i am asking if t
Hi,
I have a text file that contains the 3D coordinates of points and I want
to plot the histogram of the nearest neighbors distance. I can import
the xyz coordinates in R and each value x, y, z is stored in a numerical
array. I discovered the nndist.pp3 function from the spatstat package
that
i am a beginner regarding R but i am trying to do a simple thing, but it is
taking too much time and i am asking if there is any way to achieve what i
need, i have a time series data set with 730 data points, i detected 7, 354
and 365 seasonality periods. i am trying to use Fourier terms for
season
ggplot automatically chooses continuous or discrete scales depending on the
type of column you give it... so don't give it a numeric column (integers are a
subset of numeric)... give it a character (lazy) or factor (better for
controlling what the output looks like) value for your colour specifi
Please use "reply-all" to keep the mailing list included in the conversation.
You need to closely examine your format string ... read
?strptime
and adjust your format to match the data you have. In particular the %Y you are
using is wrong, but only you can tell in what order the day, month and
Hi R programmers
I am reading multiple .xls and .xlsx files from a directory using readxl from
tidyverse. When reading fails, the code should continue on to the next file.
However, when I call the custom function readExcelSheets (in a loop and with
the tryCatch function) I get an error for some
18 matches
Mail list logo