[R] 2D Convolution Function

2011-02-26 Thread Wonsang You
1D sequence. Is there any function for 2D convolution? For theory, please refer to the following link: http://www.songho.ca/dsp/convolution/convolution2d_example.html Thank you for your help in advance. Best Regards, Wonsang - Wonsang You Leibniz Institute for Neurobiology -- View this me

[R] 2D Convolution Function

2011-02-26 Thread Wonsang You
1D sequence. Is there any function for 2D convolution? For theory, please refer to the following link: http://www.songho.ca/dsp/convolution/convolution2d_example.html Thank you for your help in advance. Best Regards, Wonsang - Wonsang You Leibniz Institute for Neurobiology -- View this me

[R] 2D Convolution in R

2011-02-26 Thread Wonsang You
Dear R-Helpers, I want to try the 2D (two-dimensional) convolution in R. For example, let us we have the following kernel and data. kernel <- (1,2,3,2,1) data <- array(1:100, dim=c(10,10)) I know the function 'convolve' only for one-dimensional convolution, but it is just for a 1D sequence. Is t

Re: [R] Large Datasets

2011-02-11 Thread Wonsang You
I have not ever tried to use any GUI package. Thus, I cannot give you a good help. Instead, I would like to report my experience of exploiting the 'ff' package to have access to large dataset. To achieve your goal, I think that you need to make any function which handles ff objects. According to m

Re: [R] Simulation of Multivariate Fractional Gaussian Noise and Fractional Brownian Motion

2011-02-11 Thread Wonsang You
> > Kjetil > > On Tue, Feb 8, 2011 at 1:51 PM, Wonsang You wrote: > > > > Dear R Helpers, > > > > I have searched for any R package or code for simulating multivariate > > fractional Brownian motion (mFBM) or multivariate fractional Gaussian > noise &g

[R] Simulation of Multivariate Fractional Gaussian Noise and Fractional Brownian Motion

2011-02-08 Thread Wonsang You
multivariate FBM and FGN simulation? Thank you for your help. Best Regards, Ryan - Wonsang You Leibniz Institute for Neurobiology -- View this message in context: http://r.789695.n4.nabble.com/Simulation-of-Multivariate-Fractional-Gaussian-Noise-and-Fractional-Brownian-Motion

Re: [R] Error of 'memory not mapped' in ff Package with VirtualBox

2011-02-02 Thread Wonsang You
If possible, try running this under valgrind (see 'Writing R Extensions') > to get more info on the cause: at least run under gdb to get more precise > info on what was not mapped. > > You don't say what the host OS of VirtualBox was. We've found I/O under > VirtualB

[R] Error of 'memory not mapped' in ff Package with VirtualBox

2011-02-02 Thread Wonsang You
;, overwrite = TRUE) Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selection: Can anyone give an advice to solve the problem? Best Regards, Ryan - Wonsang You Leibniz Institute for Neurobiology -- View

Re: [R] Fast Two-Dimensional Optimization

2010-11-27 Thread Wonsang You
Dear Dave, Thank you for your recommendation. I looked over the website of AD Model Builder for fast optimization. I want to ask you whether the software can be used in R programming as a kind of R package? Or is there any possibility that it can be jointly used with R packages? Regards, Wonsang

Re: [R] Fast Two-Dimensional Optimization

2010-11-25 Thread Wonsang You
; > > > -Mensaje original- > > De: r-help-boun...@r-project.org > > [mailto:r-help-boun...@r-project.org] En nombre de Wonsang You > > Enviado el: lunes, 22 de noviembre de 2010 16:17 > > Para: r-help@r-project.org > > Asunto: [R] Fast Two-Dimensional Opti

[R] Fast Two-Dimensional Optimization

2010-11-22 Thread Wonsang You
st Regards, Wonsang ----- Wonsang You Leibniz Institute for Neurobiology -- View this message in context: http://r.789695.n4.nabble.com/R-Fast-Two-Dimensional-Optimization-tp3053782p3053782.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML versi

[R] Cross Spectral Analysis

2010-11-17 Thread Wonsang You
analysis? Thank you. Best Regards, Wonsang - Wonsang You Leibniz Institute for Neurobiology -- View this message in context: http://r.789695.n4.nabble.com/Cross-Spectral-Analysis-tp3046999p3046999.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version

Re: [R] How to fix error in the package 'rgenoud'

2010-10-17 Thread Wonsang You
l values of parameters. "control" is the list of control parameters in "optim" (For details, refer to http://sekhon.berkeley.edu/stats/html/optim.html). "boundary.enforcement" prevents the algorithm from going away from the boundary. On 13 October 2010 15:01, Wonsang

Re: [R] How to fix error in the package 'rgenoud'

2010-10-13 Thread Wonsang You
.function(gr1func), as.real(P9mix), as.integer(BFGSburnin), as.integer(transform), PACKAGE = "rgenoud") 3: genoud(Qmin, nvars = 2, starting.values = InitVal, max.generations = 10, wait.generations = 3, n = n, yper = yper, pertype = pertype) at wFGN.R#75 - Wonsang You Leibn

Re: [R] How to fix error in the package 'rgenoud'

2010-10-13 Thread Wonsang You
as.real(P9mix), as.integer(BFGSburnin), as.integer(transform), PACKAGE = "rgenoud") 3: genoud(Qmin, nvars = 2, starting.values = InitVal, max.generations = 10, wait.generations = 3, n = n, yper = yper, pertype = pertype) at wFGN.R#75 On 13 October 2010 13:03, Wonsang You wrote:

[R] How to fix error in the package 'rgenoud'

2010-10-13 Thread Wonsang You
000, max.generations=10, wait.generations=3) Then, I had the following error message. Error in solve.default(Djl) : system is computationally singular: reciprocal condition number = 0 Can anyone give me some tip on how to fix the problem? Thank you for your great help in advance. Be

Re: [R] How to combine matrix and vector

2010-09-16 Thread Wonsang You
14,15)) > b [,1] [,2] [,3] [,4] [,5] [1,] 11 12 13 14 15 > rbind(a,b) [,1] [,2] [,3] [,4] [,5] [1,]12345 [2,]6789 10 [3,] 11 12 13 14 15 - -- Wonsang You Special Lab Non-Invasive Brain Imaging Leibniz Institute

Re: [R] How to uncompress a gz file in R

2010-09-16 Thread Wonsang You
Dear Henrik and Steven, Thank you for your kind help and guidance even though it is a basic question. I misunderstood that "gunzip" is a part of not "R.utils" but "utils". I could find out the function in "R.utils". Then, it was successful to decompress any "gz" file as follows. library(R.utils)

[R] How to combine matrix and vector

2010-09-16 Thread Wonsang You
2 13 14 15 Then, I want to combine a and b as follows. c= 12345 6789 10 11 12 13 14 15 If you teach me to easily combine the matrix and the vector, I will greatly appreciate you. Thank you. Regards, Wonsang ----- -- Wonsang You Special Lab Non-Invasive

Re: [R] How to uncompress a gz file in R

2010-09-15 Thread Wonsang You
R.utils package. > > /Henrik > > 2010/9/14 Uwe Ligges : > > See ?gzfile > > > > Uwe Ligges > > > > > > On 14.09.2010 11:02, Wonsang You wrote: > >> > >> Dear Fellows, > >> > >> I would like to know how to un

[R] How to uncompress a gz file in R

2010-09-14 Thread Wonsang You
Dear Fellows, I would like to know how to uncompress a gz file at the R console. I could not find out any help from the R-help archive. Thanks for your great help. Best Regards, Wonsang You - -- Wonsang You Special Lab Non-Invasive Brain Imaging Leibniz Institute for Neurobiology http

[R] How to Adaptively Set Up the Coordinate Range of Multiple Graphs in One Figure

2010-08-31 Thread Wonsang You
ive to the real range of data, in order to include all data in the figure. Thank you for your great help and contribution. Best Regards, Stephen You ----- -- Wonsang You Special Lab Non-Invasive Brain Imaging Leibniz Institute for Neurobiology http://www.ifn-magdeburg.de -- View this message in con