similar to: [R] besselK

Displaying 20 results from an estimated 3000 matches similar to: "[R] besselK"

2002 Oct 17
1
underflow handling in besselK (PR#2179)
The besselK() function knows about overflows/underflows internally; there is a constant xmax_BESS_K in src/nmath/bessel.h (and referred to only in bessel_k.c), equal to 705.342, which is checked if expon.scaled is FALSE. (The equivalent number for bessel_i.c is 709, defined as exparg_BESS in bessel.h.) However, besselK(x) silently returns +Inf if x>705.342. This behavior is reasonable for
2007 Jun 14
1
besselK
Assistance, besselK- complex number problem Im a student intrested in using R in my learning and research work in option pricing however i have a problem with besselK function In R. Would you assit me in computing the besselK of third kind of a complex number in R. Any code or suggestion will be highly appriceiated eg besselK(2,10) works well.. but besselK(2,10i) doesnt work !! im
2007 Jun 14
0
besselK- complex number problem any help is welcome
Assistance, Im a student intrested in using R in my learning and research work in option pricing however i have a problem with besselK function In R. Would you assit me in computing the besselK of third kind of a complex number in R. Any code or suggestion will be highly appriceiated eg besselK(2,10) works well.. but besselK(2,10i) doesnt work !! im supprised it works in MATLAB but NOT
2008 Mar 09
2
Bessel functions of complex argument
Dear R users, I'm porting a piece of Matlab code to R, but I'm now stuck with the following: I need an equivalent of besselJ(x, nu) that can handle a complex argument x. I couldn't find any R implementation. I did find a possible fortran solution in SLATEC (< http://www.netlib.org/slatec/ > , CBESJ-C), however I've never tried to use external C or Fortran code
2008 Mar 09
2
Bessel functions of complex argument
Dear R users, I'm porting a piece of Matlab code to R, but I'm now stuck with the following: I need an equivalent of besselJ(x, nu) that can handle a complex argument x. I couldn't find any R implementation. I did find a possible fortran solution in SLATEC (< http://www.netlib.org/slatec/ > , CBESJ-C), however I've never tried to use external C or Fortran code
2018 Mar 26
0
R Lapack – why a subset?
I'm not too happy with this either, but I believe the reason is that there would be a significant extra maintenance burden consisting of things that is not being used by R itself. In particular, complex math routines are little used and have historically caused a number of issues with correct argument and return-value passing. Notice that it is a bit of a can of worms involving matching up C
2015 May 24
0
NEWS.md support on CRAN
While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler: being able to "see? this file in the Help pane in RStudio or being about to run something like show_news(?packagename?). Duncan mentioned issues with the news() function being able to process metadata represented in the Md file. What is the motivation of this structure? > On 24 May 2015,
2018 Mar 26
1
R Lapack – why a subset?
Peter, Is there not already a significant maintenance burden from cherry-picking routines? From my own experience (https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16482 <https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16482>) this is a painful process. And while users may not call these complex routines directly, R is often used as a front-end for libraries that do, so
2015 May 24
0
NEWS.md support on CRAN
> On 24 May 2015, at 12:07 pm, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > > On 23/05/2015 9:15 PM, Imanuel Costigan wrote: >> While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler: being able to "see? this file in the Help pane in RStudio > > That isn't really any simpler. RStudio is just displaying
2015 May 24
0
NEWS.md support on CRAN
On 24/05/2015 7:20 AM, Duncan Murdoch wrote: > On 23/05/2015 10:26 PM, Imanuel Costigan wrote: >> >>> On 24 May 2015, at 12:07 pm, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: >>> >>> On 23/05/2015 9:15 PM, Imanuel Costigan wrote: >>>> While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler:
2008 Jun 18
2
highest eigenvalues of a matrix
DeaR list, I happily use eigen() to compute the eigenvalues and eigenvectors of a fairly large matrix (200x200, say), but it seems over-killed as its rank is limited to typically 2 or 3. I sort of remember being taught that numerical techniques can find iteratively decreasing eigenvalues and corresponding orthogonal eigenvectors, which would provide a nice alternative (once I have the
2009 Nov 23
0
R-help Digest, Vol 81, Issue 23
Hi, keine ahnung. Das liegt jetzt bei Hr. Feld. Frag mal bei ihm nach. Gr??e Thushyanthan r-help-request at r-project.org wrote: > Send R-help mailing list submissions to > r-help at r-project.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://stat.ethz.ch/mailman/listinfo/r-help > or, via email, send a message with subject or body 'help'
2007 Dec 30
1
adding a function after package.skeleton()
Dear R helpers, I've successfully created a package 'constants' using package.skeleton () with one dataframe and a few functions. However, now that I want to add some functions and data to the package, I run into a problem. I ran prompt(...) and moved + edited the resulting .Rd files as appropriate (I believe). The log file from RCMD check constants does indicate a few
2009 Apr 27
3
Formatting numbers
I've been trough the R documentation for about half an hour and it's not clear to me how to do this: I need to format to character a series of integers from 1 to 1000, and I like them to look like "0001" "0002", "0059", "0123" and so on. Padded with zeroes to have four digits. Cheers! Mario. r-help-request at r-project.org wrote: > Send
2015 May 24
2
NEWS.md support on CRAN
On 23/05/2015 9:15 PM, Imanuel Costigan wrote: > While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler: being able to "see? this file in the Help pane in RStudio That isn't really any simpler. RStudio is just displaying HTML whenever it shows you anything in the Help pane. or being about to run something like show_news(?packagename?).
2015 May 24
2
NEWS.md support on CRAN
On 23/05/2015 10:26 PM, Imanuel Costigan wrote: > >> On 24 May 2015, at 12:07 pm, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: >> >> On 23/05/2015 9:15 PM, Imanuel Costigan wrote: >>> While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler: being able to "see? this file in the Help pane in RStudio >>
2015 May 24
0
NEWS.md support on CRAN
On 23/05/2015 8:51 PM, Baptiste Auguie wrote: > John MacFarlane, the author of Pandoc, has been working on a project > (http://commonmark.org/) to define a standard reference for Markdown*. > There are already two reference implementations, one in javascript, the > other in C: https://github.com/jgm/cmark It sounds as though there are at least two possibilities for parsers that could
2009 Nov 17
2
Lattice plot
Hi, I was trying to get a graph in lattice with the following data frame (7 rows, 5 cols): chr start1 end1 meth positive 1 1 10 20 1.5 y 2 2 12 18 -0.7 n 3 3 22 34 2.0 y 4 1 35 70 3.0 y 5 1 120 140 -1.3 n 6 1 180 190 0.2 y 7 2 220 300 0.4 y I wanted the panels to be organized by 'chr' -
2008 Jul 03
1
ggplot2 legend for vertical lines
Dear all, The following example code produces a graph with ggplot2, to which I add several vertical lines of arbitrary colors. I am not satisfied with the legend: it automatically adds some vertical lines which I'd rather not see (they confuse the reader rather than add information in this case). > library(ggplot2) > dfr <- data.frame(values = sin(1:50/10), > fact =
2008 Apr 12
1
lm() of one matrix against another
Hello R list, I have two matrices of identical dimensions, and I want to fit a straight line for each pair of columns and plot the resulting lines. I got it to work with a for loop, but there must be a better way, > n<-5 > N<-10 > > data.x<-matrix(1:(n*N),ncol=n) > data.y<-matrix(1:(n*N) + rnorm(n*N,sd=1),ncol=n) > >