Re: [R] Numerical integration of a two dimensional function over a disk

2012-05-09 Thread yingfu xie
Hello,   I understand that the standard way out is the Polar Conversion. I was almost there, but I must have thought something wrong. I will try that again. Thanks for your reply!   Best regards, Yingfu From: Jeff Newmiller jdnew...@dcn.davis.ca.us ect.org

[R] Numerical integration of a two dimensional function over a disk

2012-05-08 Thread yingfu xie
Hello, there!   Basically my problem is very clear. I would like to take a (numerical) integration of a function f(x,y) which can be quite complex of x and y, over a disk (x-a)^2+(y-b)^2= r^2 (with r constant). However, after some search in R, I just cannot find a function in R that suits my

[R] How to substitute special characters within a data frame?

2008-08-15 Thread Yingfu Xie
Hello all, I have a data frame in R, imported from an excel file in Swedish. The original file contains several columns that have special characters, such as \¨{a}, \¨{o}, and so on. After import such special characters are represented in the data frame by \\345, \\366 etc (don't ask me why).

Re: [R] How to substitute special characters within a data frame?

2008-08-15 Thread Yingfu Xie
To: Yingfu Xie Cc: r-help@r-project.org Subject: Re: [R] How to substitute special characters within a data frame? You've not told us the 'at a minimum' information requested in the posting guide. What OS? What locale? And how did you 'import'? But here's a guess. If you change \\345 to \345