Displaying 8 results from an estimated 8 matches for "dieter_vanderelst".
2007 Nov 27
2
rearrange data: one line per subject, one column per condition
Dear R-list,
Is there a way to convert the typical long R data-format to a 1-line per subject format?
I have data formatted as:
Group subj condition variable
1 1 1 746.36625
2 2 1 1076.152857
1 3 1 1076.152857
2 4 1 657.4263636
1 5 1 854.1266667
2 6 1 1191.676154
1 7 1 1028.175385
1 1 2 46.36625
2 2 2 76.152857
1 3 2 76.152857
2 4 2 57.4263636
1 5 2 54.1266667
2 6 2 191.676154
1 7 2 028.175385
2007 Oct 15
2
cumulative frequency plots for factors
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 line for each factor.
Regards,
Dieter
2007 Oct 03
1
Making a table: collapsing across sub-strings
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 of this
strings appears in this set.
This is not very difficult and can be done as:
TB<-table(my_set)
plot(TB)
However, I also want to collapse across sub-strings. This is, I want a
sub-string ss of string S to be
2007 Oct 31
2
ylim in barplot2 function?
Hi list,
I'm using barplot2 form the gplots package to plot a few numbers (I want to add SD bars later).
However, I would like the y-axis not to start from 0 but 500. When I add the parameters YLIM, something goes wrong. The graph is not 'cut off' at 500. Instead the bars seems to sink trough the bottom of the graph.
Because its a little hard to explain, here is a self-containing
2008 Feb 15
3
lineplot.CI problem
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 is that the data collection in the second case started later than for the first case. This is to say: the first n data points for the second case are missing.
So far so good. However,
2008 Jun 16
0
re-arranging unsorted data for surface/contour plot
Hi list,
I'm struggling with plotting a 3d data set.
I have a data frame with x,y and z values. They occur in no particular order (ie x and y are not ordered).
However, I want to visualize the data using a contour plot.
Now, the x,y and z data going into contour() are supposed to be ordered.
My question is: Is their a quick way to re-arrange my data such that it can be fed to contour()?
2008 Jun 17
1
interp() function output not continue
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 that can be fed to contour().
This is the command:
2010 Aug 04
2
ggplot2 barplot: extra markers in graph
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 the graph that should not be there. This behaviour is not seen when calling the same