similar to: Extracting elements of a particular slot from S4 object

Displaying 20 results from an estimated 1000 matches similar to: "Extracting elements of a particular slot from S4 object"

2010 Dec 24
1
Help required: binomial option pricing using package
I'm using the CRRBinomialTreeOption function (in package "fOptions") with a loop for pricing a large number of options. But I can't transfer the values obtained from this function to a "numeric" matrix as the outcome of this function is not a simple numeric. The following is the piece of code: # USING THE FUNCTION library(fOptions)
2008 Nov 18
2
error in function: nls (urgent)
Hi,all: I am running a nonlinear regression and there is a problem. There is a data frame: data p s x t 1 875.0 12392.5 11600 0.06967213 2 615.0 12332.5 12000 0.06967213 3 595.0 12332.5 12000 0.06967213 4 592.5 12337.0 12000 0.06967213 5 650.0 12430.0 12000 0.06967213 6 715.0 12477.5 12000 0.06967213 . . . . str(data): 'data.frame': 234 obs. of 4 variables:
2004 Jul 04
1
Rmetrics 191.10057
It is a pleasure for me to announce the new built for Rmetrics Version 191.0057. The source files and Windows binary packages can be downloaded from www.rmetrics.org . The new built has also been submitted to the CRAN server. Some new functions and example files have been added. Unfortunately the user guides and reference guides are not yet updated, they have still the status of Version
2011 Apr 23
2
Loop and Solver with Black/Scholes-Formula
Hello, for my diploma thesis I need to program a solver for Merton?s respectively Black?s and Scholes? Option pricing formula, which should be achieved for several dates. What I want to do is to estimate the value of a firm?s assets "vA" (x[2] denotes vA) and the option-implied volatility of firm?s assets "sigA" (x[1] denotes sigA) by solving it simultaneous using the Black
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > The issue is fAsianOptions. Is there a version that works with the latest version of R? If not, which version of it works with which version of R and where can it be found? I tried several at the archive already. sessionInfo() R version 3.4.2 Patched (2017-10-04 r73465) Platform:
2017 Nov 02
2
"prob" package alternative
Yes. That's the version I've been discussing that has non-zero exit status. That situation is why CRAN retired the prob package. It's possible you installed that library earlier in development and it's been "carried" along. It no longer installs, now. The problems with all of this seem to have started this month according to the conversations. However, no one has
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > Yes. That's the version I've been discussing that has non-zero exit status. That situation is why CRAN retired the prob package. It's possible you installed that library earlier in development and it's been "carried" along. It no longer installs, now. > > The problems
2017 Nov 02
2
"prob" package alternative
The issue is fAsianOptions. Is there a version that works with the latest version of R? If not, which version of it works with which version of R and where can it be found? I tried several at the archive already. Alternatively, is there another package that behaves similarly to prob? On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Nov
2017 Nov 02
2
"prob" package alternative
Yes, that is exactly what I was doing two days ago. Warning in install.packages : installation of package ?fAsianOptions_3010.79.tar.gz? had non-zero exit status Which is what a reading of the explanation for why "prob" was retired leads one to expect. Do you have some other suggestion about how to get it to work? I notice you're not using Windows which might have a relationship
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > Yes, that is exactly what I was doing two days ago. > > Warning in install.packages : > installation of package ?fAsianOptions_3010.79.tar.gz? had non-zero exit status > > Which is what a reading of the explanation for why "prob" was retired leads one to expect. Do you have
2012 Mar 13
1
3D Black-Scholes Graph Help!
Hello all! I would like to create a 3d plot, with the option price explained by the underlying price and time. Unfortunately, I can't quite get it to work. I would very much appreciate your help! Thanks, Anna # Black-Scholes Option Graph library(lattice) blackscholes <- function(s, k, r=.1, t=5, sigma=.9,call=TRUE) { #calculate call/put option d1 <-
2017 Nov 02
2
"prob" package alternative
Rtools is not available for the current version of R. What I'm looking for is an alternative package or how others have managed to create workarounds. On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > > > Yes, that is exactly what I was doing
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 2:14 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > Rtools is not available for the current version of R. Really? If true, I'm surprised and not able to help. I do see an Rtools34.exe at https://cran.r-project.org/bin/windows/Rtools/ -- David. > > What I'm looking for is an alternative package or how others have managed to create
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 3:46 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > Thanks. I found that, and installed it and got the same message. Here: > > RTools version 3.4 > > install.packages("fAsianOptions_3010.tar.gz", I don't see a path to that file's location. The expansion from pkg_version.tar.gz might be automatic, but I do generally
2007 Oct 31
2
reversing perspective plot axis
Hi, I am trying to create a perspective plot with Time on the x-axis, Underlying Price on the y-axis, and Option Price on the z-axis. But I don't like the way my x-axis is setup. Right now, Time is this sequence. Time = seq(from = 1/52, to = 1, by=1/52) That results in the x-axis going from 0 at the back, to 1 near the foreground corner.(If that makes any sense) I want to do the
2017 Nov 02
2
"prob" package alternative
Thanks. I found that, and installed it and got the same message. Here: RTools version 3.4 install.packages("fAsianOptions_3010.tar.gz", dependencies=TRUE, repos=NULL, type = "source") Installing package into ?C:/Users/Tlk7/Documents/R/win-library/3.4? (as ?lib? is unspecified) Warning: invalid package 'fAsianOptions_3010.tar.gz' Error: ERROR: no packages specified
2011 Oct 22
2
Segfault and bad output with fOptions::rnorm.sobol
I have had the following problem with R 2.10, 2.13.1, and 2.13.2, running on Ubuntu linux 10.04, xubuntu 11.10, and a version of Redhat (I think 5). rnorm.sobol is producing impossible random values, and occasionally the routine crashes. Here are samples of the output and the crash message. library(fOptions) Zs <- rnorm.sobol(50, dimension=1) produces this: [,1] [1,]
2010 Sep 02
1
Using library and lib.loc
Hi, I didn't find any post on this subject so I ll ask you some advices. Let's say that I have two library trees. Number 1 is the default R library tree on path1 Number 2 is another library tree on a server with all packages on path2. When I set library(aaMI,lib.loc=paths2) it loads the package even if its not on default R library When I set library(fOptions,lib.loc=paths2) it
2007 Oct 16
0
Simple plot of IR and option prices
Hi, I'm trying to construct what I think should be a fairly simple plot, yet I'm having a tremendously difficult time. I'm trying to create a very simple graph showing the effect of interest rates on option prices. I have three sets of option prices that I've calculated using rMetrics. Each set contains a call price and a put price at a particular interest rate. Each
2016 May 13
2
2.2.24 ldap-client.c compile failing on Solaris 10
Hi, I'm trying to compile 2.2.24 on Solaris 10 with SolarisStudio 12.4 compiler. Looks like BerVarray is totallly missing from Solaris ldap. BR, Tomppa Making all in lib-ldap source='ldap-client.c' object='ldap-client.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/bash ../../depcomp \ /bin/bash ../../libtool --tag=CC --mode=compile cc -std=c11 -DHAVE_CONFIG_H -I.