[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

[R] 2D Convolution Function

2011-02-26 Thread Wonsang You
. 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 message in context

[R] 2D Convolution Function

2011-02-26 Thread Wonsang You
. 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 message in context

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

2011-02-11 Thread Wonsang You
results. Kjetil On Tue, Feb 8, 2011 at 1:51 PM, Wonsang You y...@ifn-magdeburg.de 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 (mFGN) when a covariance matrix

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

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

2011-02-08 Thread Wonsang You
for 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

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

2011-02-02 Thread Wonsang You
: 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 this message in context: http://r.789695.n4.nabble.com/Error-of-memory-not-mapped-in-ff-Package

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

2011-02-02 Thread Wonsang You
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 VirtualBox with a x86_64 Linux host to be slow, but R to run reliably. On Wed, 2 Feb 2011, Wonsang You

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
de Wonsang You Enviado el: lunes, 22 de noviembre de 2010 16:17 Para: r-help@r-project.org Asunto: [R] Fast Two-Dimensional Optimization Dear R Helpers, I have attempted optim function to solve a two-dimensional optimization problem. It took around 25 second to complete

[R] Fast Two-Dimensional Optimization

2010-11-22 Thread Wonsang You
, 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 version deleted

[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
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 You [via R] ml-node+2993619-1186574920-137...@n4.nabble.comml-node

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

2010-10-13 Thread Wonsang You
, 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. Best Regards, Wonsang You

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

2010-10-13 Thread Wonsang You
(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 y...@ifn-magdeburg.de wrote: Dear R user fellows, I

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

2010-10-13 Thread Wonsang You
), 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 Leibniz Institute for Neurobiology -- View this message

[R] How to combine matrix and vector

2010-09-16 Thread Wonsang You
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 Brain

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)

Re: [R] How to combine matrix and vector

2010-09-16 Thread Wonsang You
] [,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 for Neurobiology http://www.ifn-magdeburg.de

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

2010-09-15 Thread Wonsang You
2010/9/14 Uwe Ligges lig...@statistik.tu-dortmund.de: See ?gzfile Uwe Ligges On 14.09.2010 11:02, Wonsang You wrote: 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

[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
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 context: http://r.789695