[R] ggplot: Stacked bar/pie chart - Objects above the bar/pie

2014-10-17 Thread Gunnar Oehmichen
Hello, I would like to draw a circle on top of a pie chart (The plot does not need to fullfill scientific standards). The circle represents the relation of a reference-value in comparison to the summed values of the pie-pieces. To be able to do this I partly followed: http://rpubs.com/RobinLovelac

[R] ggplot: Stacked bar/pie chart - Objects above the bar/pie

2014-10-16 Thread Gunnar Oehmichen
Hello, I would like to draw a circle on top of a pie chart (The plot does not need to fullfill scientific standards). The circle represents the relation of a reference-value in comparison to the summed values of the pie-pieces. To be able to do this I partly followed: http://rpubs.com/RobinLovelac

Re: [R] New PLYR issue

2012-01-19 Thread Gunnar Oehmichen
rather bad netiquette. Thank you for at least providing a reproducible example. Now if you can figure out how to read the documentation we will really make some progress. Further responses below. On Tue, 17 Jan 2012, Gunnar Oehmichen wrote: Hello everyone, I have got the same problem, with

Re: [R] New PLYR issue

2012-01-17 Thread Gunnar Oehmichen
Hello everyone, I have got the same problem, with the same error message. Using R 2.14.1, plyr 1.7.1, R.Studio 0.94.110, Windows XP The plyr mailing list does not provide any help until now. >require(plyr) >c(sample(c(1:100), 50, replace=TRUE))->V1 >c(rep( 1:5, 10))->f1 #variable to group

Re: [R] Using perm.t.test() upon Matrix/Dataframe columns parted by factor instead of t.test()

2011-07-30 Thread Gunnar Oehmichen
Just checked. To get lapply to work for the both functions, I have to convert the matrix M into a dataframe. Trying it with apply for the matrix works perfectly fine. The missing x was the problem So here my improved code. require(Deducer)#Package for perm.t.test c(rep("A", 5), rep("B", 5

[R] Using perm.t.test() upon Matrix/Dataframe columns parted by factor instead of t.test()

2011-07-29 Thread Gunnar Oehmichen
Hello dear subscribed Users, this is my first post, so please forgive me for any inconveniences. The following problem: I have a dataframe containing a factor column. For each column i would like to compare means as parted by the factor. Using the normal t.test function I have already achieved