Re: [R] Long Range Dependence: Hurst exponent estimation

2008-08-04 Thread Hans W. Borchers
There is the 'fdim' package that computes the fractal dimension D. Between D and the Hurst exponent H there should be a relation D = 2 - H I wonder if this is true when computing D and H with different approaches Regards, Hans Werner Borchers ABB Corporate Research tolga.i.uzuner at

Re: [R] Are there any guis out there, which will allow editing of the graph?

2008-08-04 Thread Hans W. Borchers
Duncan Murdoch murdoch at stats.uwo.ca writes: On 04/08/2008 12:50 PM, Arthur Roberts wrote: Hi, all, I would like to know if there is any gui interface out there (academic or commercial) that allows one to edit R-language generated graphs (e.g positioning x axis labels.) It

Re: [R] Constrained Optimization

2008-08-04 Thread Hans W. Borchers
alan.ng at gmx.net writes: Hello, I am trying to run a constrained optimization in R. constrOptim is really useful and has helped me a lot, but unfortunately, it doesn't provide the hessian. Is there a solution to this problem? You didn't provide an example to understand why 'optim'

Re: [R] Solving Yis[i] = a*cos((2*pi/T)*(times[i] - Tau)) + ...

2008-08-01 Thread Hans W. Borchers
Treat it as an over-determined linear system, that is: A - cbind(cos((2*pi/T)*(Times - Tau)), sin((2*pi/T)*(Times - Tau))) qr.solve(A, Yis) because 'solve' will only handle square matrices. Hans W. Borchers JosuƩ Polanco wrote: Hi everybody, I am reading the Lomb paper

Re: [R] Fit a 3-Dimensional Line to Data Points

2008-07-25 Thread Hans W. Borchers
S. M. Niaz Arifin niazarifin at yahoo.com writes: Hi Experts, I am new to R, and was wondering how to do 3D linear regression in R. In other words, I need to Fit a 3-Dimensional Line to Data Points (input). I googled before posting this, and found that it is possible in Matlab and other

Re: [R] How to get rule number in arules

2008-07-24 Thread Hans W. Borchers
As always, 'str(rules)' will provide you with a view on the internal structure of 'rules'. By the way, 'rules' is of class 'rules', see the rules-class entry in the ARULES help pages, with more explanations on the meaning of attributes. For example, '[EMAIL PROTECTED]' will show support,

Re: [R] randomForest Tutorial

2008-07-22 Thread Hans W. Borchers
The help pages for 'randomForest' are quite clear in stating how to use the 'randomForest()' function. Input is a data frame (not a csv-file) and a formula involving attribute names. There is a kind of tutorial for classification and clustering with Random Forests on Leo Breiman's web page

Re: [R] Editor fpr Mac OS

2008-07-21 Thread Hans W. Borchers
Angelo Scozzarella angeloscozzarella at tiscali.it writes: Hi, is there a good editor for Mac Os? We had the same discussion in December 2007 and again in June 2008. Please consider the recommendations given in these threads. My personal favorite: TextMate http://macromates.com/, though

Re: [R] principal factor analysis

2008-07-20 Thread Hans W. Borchers
Jinsong Zhao jszhao at mail.hzau.edu.cn writes: Hi, Is there a function to do principal factor analysis in R? Do a 'RSiteSearch(factor analysis)' and you will find several packages for Factor Analysis, such as: FAiRFactor Analysis in R FactoMineR Factor Analysis and Data

Re: [R] Non-linearly constrained optimisation

2008-07-20 Thread Hans W. Borchers
work if f and g were linear. Alas, they are not. Is there any other way I can achieve this in R ? Thanks in advance, Tolga - Hans W. Borchers ABB Corporate Research Germany -- View this message in context: http://www.nabble.com/Non-linearly-constrained-optimisation-tp18549310p18558334

[R] Histogram with colors according to factor

2008-07-08 Thread Hans W. Borchers
like 'lattice' and 'ggplot2'. Searching R-help revealed that 'histogram' is spelled 'histogramm' in almost 2% of the time. I now know how to color whole bars, but did not find a solution for this specific kind of visualization. Many thanks in advance, Hans Werner Borchers Hans W. Borchers ABB

Re: [R] Histogram with colors according to factor

2008-07-08 Thread Hans W. Borchers
, 1)), y = gl(3, 100, labels = LETTERS[1:3])) ggplot(dataset, aes(x = x, fill = y)) + geom_histogram() ggplot(dataset, aes(x = x, fill = y)) + geom_histogram(position = dodge) HTH, Thierry - Hans W. Borchers ABB Corporate Research Germany -- View this message in context: http

Re: [R] constrOptim with method = L-BFGS-B

2008-06-18 Thread Hans W. Borchers
Dear Georges, if you are interested in optimization methods in R, there is the Optimization Task View that has been set up only a few weeks ago. Most likely it covers all the optimization algorithms available in R packages. For constraint handling there have been some postings in April and May

Re: [R] is.category

2008-05-13 Thread Hans W Borchers
Applejus ielkhoury at gmail.com writes: Hello, Could someone tell me what the SPLUS is.category function do and what is its equivalent in R? Thank you, I couldn't find any help elsewhere... If you Web search for splus help or similar, you will find, among others,

[R] Hashes as S4 Classes, or: How to separate environments

2008-05-10 Thread Hans W Borchers
For learning purposes mainly I attempted to implement hashes/maps/dictionaries (Python lingua) as S4 classes, see the coding below. I came across some rough S4 edges, but in the end it worked (for one dictionary). When testing ones sees that the dictionaries D1 and D2 share their environments

Re: [R] quasi-random sequences

2008-04-26 Thread Hans W. Borchers
baptiste AuguiƩ ba208 at exeter.ac.uk writes: Dear list useRs, You might be interested to apply the Hammersley or Halton point sets that are often used in numerical integration or Differential Evolution. These pseudo-random distributions are both uniform and irregular, but have a kind of

Re: [R] How to pack my stuff into a package (library, collection)?

2008-04-07 Thread Hans W. Borchers
Tribo Laboy tribolaboy at gmail.com writes: [...] These seem to include among others Perl and compiler. But R is an interpreted and cross-platform language, I don't understand the need for additional platform specific tools just to call a user collection of R-files. Anyone knows of a smooth

Re: [R] How to improve the OPTIM results

2008-04-06 Thread Hans W Borchers
of these algorithms. Hans W. Borchers Control and Optimization Group ABB Corporate Research Germany [EMAIL PROTECTED] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Applying rbind() to a sequence of data frame names

2008-04-01 Thread Hans W. Borchers
I have a set of data frames ds1, ds2, ... each having the same columns and column names: ds1 - data.frame(x=c(1,2,3,4), y=c(5,6,7,8)) ds1 - data.frame(x=c(9,10,11,12), y=c(13,14,15,16)) ... and I would like to combine them into just one data frame like ds - rbind(ds1, ds2, ...) Because

Re: [R] DE optimization with equality constraint

2008-03-31 Thread Hans W. Borchers
Paul Smith phhs80 at gmail.com writes: The problem with DEoptim approach is that is not guaranteed that it converges to the solution. Moreover, from my experience, it seems to be quite slow when the optimization problem is high-dimensional (i.e., with many variables). Paul There is a

[R] R Code and the Pygments Python SyntaxHighlighter

2008-03-27 Thread Hans W. Borchers
Dear R Help, is someone going to write a R/S language lexer for the Pygments Python syntax highlighter http://pygments.org/? As it is used now by Trac, Django, or the Python documentation tool Sphinx, the R community can apply it in Python-based Wikis like Moinmoin and others. Hans Werner

Re: [R] Optimization with constraint.

2008-03-14 Thread Hans W Borchers
Andreas Klein klein82517 at yahoo.de writes: Hello. I have some problems, when I try to model an optimization problem with some constraints. The original problem cannot be solved analytically, so I have to use routines like Simulated Annealing or Sequential Quadric Programming. But

Re: [R] Expert systems

2008-01-29 Thread Hans W. Borchers
Ralf Finne Ralf.Finne at syh.fi writes: Hi R-users Is there any functions in R that can implement expert systems? The aim of an expert system is to produce a probable diagnosis for a patient with certain symptoms. In the classical expert system a mumber of experts are asked to make

[R] Plotting error bars in xy-direction

2007-12-05 Thread Hans W. Borchers
Dear R-help, I am looking for a function that will plot error bars in x- or y-direction (or both), the same as the Gnuplot function 'plot' can achieve with: plot file.dat with xyerrorbars,... Rsite-searching led me to the functions 'errbar' and 'plotCI' in the Hmisc, gregmisc, and plotrix

Re: [R] Questions on RWeka classifiers?

2007-11-28 Thread Hans W. Borchers
Li Li lilycai2007 at gmail.com writes: Hi, I am using some classifiers in RWeka packages and met a couple problems. (1) J48 implements C45 classifier, the C45 should be able to handle missing values in both training set and test set. But I found the J48 classifier can not be

Re: [R] R and reading matlab compressed files

2007-11-19 Thread Hans W Borchers
Prof Leslie Smith lss at cs.stir.ac.uk writes: Is there any way to read these files (standard .mat files, created by matlab version 7 onwards are compressed)? I know that R.matlab doesn't read them (it even says in the file MatlabServer.m Matlab v7 saves compressed files, which is not

Re: [R] convex optimization package for R, specifically semidefinite programming

2007-11-15 Thread Hans W Borchers
Hi there, I do assume you are talking about the CVXOPT (and CVXMOD) Python package(s). Please note that CVXOPT only contains _interfaces_ to the solvers in MOSEK, because these are commercial products (as Roger Koenker already has mentioned). There appear to be some Python/Scipy-based solvers

<    1   2   3