[R] ggplot2 barplot: extra markers in graph

2010-08-04 Thread Dieter Vanderelst
Dear List, (self-contained example + version info at the bottom) I'm having trouble producing a barplot using the functions in ggplot2. When I use the position=dodge option, the bars are plotted but also a number of spurious markers. More specifically, a number of black dots are plotted in

Re: [R] ggplot2 barplot: extra markers in graph

2010-08-04 Thread Dieter Vanderelst
Thanks, this indeed solved the problem. Regards, Dieter On 4/08/2010 15:21, Shentu wrote: The reason you see the exra markers is that the first part of the command qplot(DT$N,DT$D,fill=factor(DT$C)) already plots the individual points. You didn't see it with geom_bar(stat = identity) simply

[R] comparing mixture models (mix function in mixdist package)

2009-04-22 Thread Dieter Vanderelst
that differ in the number of distributions fitted and/or the shape of the distributions. Is there a way, using likelihoods maybe, to compare this kinds of fits in a statistical meaningfull way? Regards, Dieter Vanderelst __ R-help@r-project.org

Re: [R] Kruskal's MDS results

2009-04-17 Thread Dieter Vanderelst
A few people suggested taking a look at Ripley's book MASS. I know the formula listed there. The point is that the manual for the isoMDS function says it's stress output is in percent. Does this mean, the stress reported by isoMDS is just the stress value in MASS (which ranges from 0 to 1)

Re: [R] Kruskal's MDS results

2009-04-17 Thread Dieter Vanderelst
Thank you for clearing this out. Jari Oksanen wrote: Dieter Vanderelst Dieter.Vanderelst at ua.ac.be writes: The point is that the manual for the isoMDS function says it's stress output is in percent. Does this mean, the stress reported by isoMDS is just the stress value in MASS (which

[R] Kruskal's MDS results

2009-04-15 Thread Dieter Vanderelst
up with a definitive answer. Regards, Dieter -- Dieter Vanderelst PhD Student Active Perception Lab University of Antwerp http://batbits.webnode.com/ Postal Address: Prinsstraat 13 B-2000 Antwerp Belgium __ R-help@r-project.org mailing list https

Re: [R] Kruskal's MDS results

2009-04-15 Thread Dieter Vanderelst
Non-metric Multidimensional Scaling algorithm (isoMDS, MASS package). The 'goodness of fit' is reported as The final stress achieved (in percent). What does this mean exactly? I've tried to google for an answer but I've not come up with a definitive answer. Regards, Dieter -- Dieter Vanderelst

[R] interp() function output not continue

2008-06-17 Thread Dieter Vanderelst
Dear List, I'm using interp() to prepare 3d data for plotting with the contour() function. If have x,y and z data. All are arrays. X and Y are sampled in an orderly fashion on a grid (a circular sub-area of a grid - see plot). I'm trying to use interp() to get x and y arrays and a z matrix

[R] spherical plots?

2008-06-05 Thread Dieter Vanderelst
). If my explanation is not clear, you can find an example of what I'm after here: http://www.mediafire.com/?in0fmnikzmg (created using matlab). Regards, Dieter Vanderelst -- Dieter Vanderelst PhD Student Active Perception Lab University of Antwerp Koningstraat 8 B-2000 Antwerp Belgium

Re: [R] lineplot.CI problem

2008-02-18 Thread Dieter Vanderelst
) Manuel On Fri, 2008-02-15 at 15:18 +0100, Dieter Vanderelst wrote: Hi List, I have a problem plotting data using the lineplot.CI command in the sciplot package. I want to plot the data of 2 experimental cases using different lines (traces). Time is on the X-axis. The tricky thing

[R] lineplot.CI problem

2008-02-15 Thread Dieter Vanderelst
Dieter Vanderelst dieter dot vanderelst at emailengine dot org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

[R] rearrange data: one line per subject, one column per condition

2007-11-27 Thread Dieter Vanderelst
data in SPSS, so I need the rearranged format. Regards and Thanks, Dieter -- Dieter Vanderelst dieter _ vanderelst AT emailengine DOT org d DOT vanderelst AT tue DOT nl Eindhoven University of Technology Faculty of Industrial Design Designed Intelligence

[R] ylim in barplot2 function?

2007-10-31 Thread Dieter Vanderelst
-- Dieter Vanderelst dieter _ vanderelst AT emailengine DOT org d DOT vanderelst AT tue DOT nl Eindhoven University of Technology Faculty of Industrial Design Designed Intelligence Group Den Dolech 2 5612 AZ Eindhoven The Netherlands Tel +31 40 247 91 11

Re: [R] Cluster Analysis

2007-10-29 Thread Dieter Vanderelst
take a look at hclust() Dieter Katia Freire wrote: Dear all, I would like to know if I can do a hierarchical cluster analysis in R using my own similarity matrix and how. Thanks. Katia Freire. [[alternative HTML version deleted]]

[R] adding aggregate data to data frames

2007-10-19 Thread Dieter Vanderelst
mails, is very hard. So, if any one knows a set of better keywords... Any ideas? Thanks, Dieter Vanderelst -- Dieter Vanderelst dieter _ vanderelst AT emailengine DOT org d DOT vanderelst AT tue DOT nl Eindhoven University of Technology Faculty

[R] cumulative frequency plots for factors

2007-10-15 Thread Dieter Vanderelst
Dear list, I have a data frame with a number of events (factor) and the times at which they occurred (continuous variable): event time A 10 A 12 B 15 A 17 C 13 ... Is it possible in R to make a plot against time of the cumulative frequency of occurrence of each event? This would be, a raising

Re: [R] Making a table: collapsing across sub-strings

2007-10-04 Thread Dieter Vanderelst
to determine if one string is a subset of another. On 10/3/07, Dieter Vanderelst [EMAIL PROTECTED] wrote: Hi list, I'm currently processing textual data and I would really appreciate some help with one off my problems. I have a set of strings and I want to count how often each

[R] Making a table: collapsing across sub-strings

2007-10-03 Thread Dieter Vanderelst
this? I have been checking out the CRAN packages for handling DNA sequences, but this has not really brought me closer to a solution. Thanks, Dieter Vanderelst -- Dieter Vanderelst Eindhoven University of Technology Faculty of Industrial Design Designed