search for: arrange

Displaying 20 results from an estimated 3481 matches for "arrange".

2018 Mar 30
3
getting all circular arrangements without accounting for order
Dear friends, I would like to get all possible arrangements of n objects listed 1:n on a circle. Now this is easy to do in R. Keep the last spot fixed at n and fill in the rest using permuations(n-1, n-1) from the gtools package. However, what if clockwise or counterclockwise arrangements are the same? I know that half of the above (n - 1)! arrangeme...
2018 May 18
3
drc, ggplot2, and gridExtra
I have dose response data I have analyzed with the 'drc' package. Using plot() works great. I want to arrange my plots and source data on a single page. I think 'gridExtra' is the usual package for this. I could use plot() and par(mfrow=...), but then I can't put the source data table on the page. gridExtra provides grid.table() which makes nice graphical tables. It doesn't work with par...
2007 Jul 16
4
[LLVMdev] fields in structure re-arranged for alignment?
Hi Folks, Bear with me, I'm a newbie to LLVM. I've read the language reference and the mailing list archive. One area of the semantics of the Structure type that hasn't been discussed is whether fields in the structure get re-arranged to better suit the target machine's natural alignment, ala what happens in C. For example would this structure on a 32-bit machine: { i16, i32, i16 } get re-arranged to { i16, i16, i32 } or { i32, i16, i16 } Does LLVM guarantee a consistent code generation in this case for all platforms,...
2018 Aug 14
1
R CMD check warnings on Windows
...package 'bujar' successfully unpacked and MD5 sums checked ** R ** data ** inst ** byte-compile and prepare package for lazy loading Warning: S3 methods '[.fun_list', '[.grouped_df', 'all.equal.tbl_df', 'anti_join.data.frame', 'anti_join.tbl_df', 'arrange.data.frame', 'arrange.default', 'arrange.grouped_df', 'arrange.tbl_df', 'arrange_.data.frame', 'arrange_.tbl_df', 'as.data.frame.grouped_df', 'as.data.frame.rowwise_df', 'as.data.frame.tbl_cube', 'as.data.frame.tbl_df', ...
2018 May 18
0
drc, ggplot2, and gridExtra
On Fri, 18 May 2018, Ed Siefker wrote: > I have dose response data I have analyzed with the 'drc' package. > Using plot() works great. I want to arrange my plots and source > data on a single page. I think 'gridExtra' is the usual package for > this. > > I could use plot() and par(mfrow=...), but then I can't put the source > data table on the page. > > gridExtra provides grid.table() which makes nice graphical tab...
2017 Jun 27
4
ggplot2 geom_bar arrangement
Hi, I was trying to draw a geom_bar plot. However, by default, the bars are arranged according to the label, which I don't want. I want the bars to appear exactly as they appear in the data frame. For example in the code: Lab=c(letters[4:6],letters[1:3]) valuex = c(3.1,2.3,0.4,-0.4,-1.2,-4.4) df <- data.frame(Lab,valuex) px <- ggplot(df,aes(Lab,valuex,label=Lab)) +...
2012 Aug 25
2
How to arrange the GUI's in window in tcltk package???
Hi, I am new to R, I need your help. I have been said to create a GUI in R, I started using Tcltk package which was very easy to learn and code, but i am unable to arrange the GUI's in proper order in the window they are always arranged one below the other, please can anyone help me in solving this problem, Is there any links which will help me solve this problem with example. Thanks in advance. with regards, Punitha -- View this message in context:...
2004 Aug 25
5
How to Arrange character vector in alphabetic order
Hi, Is there any function that can arrange a character in alphabetic order? Thanks for answer -MY [[alternative HTML version deleted]]
2006 Feb 14
3
Arranging Models
I know we could arrange controllers as modules. Can we also arrange models in modules? -- Rgds, --Siva Jagadeesan http://www.varcasa.com/ My First Rails Project. Education Through Collabration -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/atta...
2018 Mar 30
0
getting all circular arrangements without accounting for order
If one is equal to the reverse of another, keep only one of the pair. B. > On Mar 29, 2018, at 9:48 PM, Ranjan Maitra <maitra at email.com> wrote: > > Dear friends, > > I would like to get all possible arrangements of n objects listed 1:n on a circle. > > Now this is easy to do in R. Keep the last spot fixed at n and fill in the rest using permuations(n-1, n-1) from the gtools package. > > However, what if clockwise or counterclockwise arrangements are the same? I know that half of the abov...
2013 Apr 18
1
Arranging two different types of ggplot2 plots with axes lined up
Hi all, I want to arrange two ggplot2 plots on the same page with their x-axes lined up - even though one is a boxplot and the other is a line plot. Is there a simple way to do this? I know I could do this using facetting if they were both the same type of plot (for example, if they were both boxplots), but I haven't...
2012 Mar 21
1
Multinomial Logit data arrangement
...on 1 Situation 2 Situation 3 Parameter 1 28 18 8 Parameter 2 30 20 0 Parameter 3 32 17 3 Parameter 4 31 12 2 Further more, I would like to attempt to analyses if there are any relationships with age, education etc.. How can i arrange it in a .csv format for R to perform the function? I know it?s seems a trivial problem but I just cant seem to get my had around it and its the first step to start the analysis. Any guidance would be really helpful! Thanks. oh yes - I am an MSc student in aquaculture investigating land use values...
2017 Jun 27
0
ggplot2 geom_bar arrangement
...t;- ggplot(df,aes(Lab,valuex,label=Lab)) + geom_text(aes(y=0)) + geom_bar(stat = "identity") px Jean On Tue, Jun 27, 2017 at 1:43 PM, Brian Smith <bsmith030465 at gmail.com> wrote: > Hi, > > I was trying to draw a geom_bar plot. However, by default, the bars are > arranged according to the label, which I don't want. I want the bars to > appear exactly as they appear in the data frame. For example in the code: > > Lab=c(letters[4:6],letters[1:3]) > valuex = c(3.1,2.3,0.4,-0.4,-1.2,-4.4) > df <- data.frame(Lab,valuex) > px <- ggplot(df,...
2009 Feb 25
1
problems with arrangement of figures by layout function
...want to have histograms behind the regression tree figure. Since 7 leafs resulted from the tree model (rpart), it would be nice to have correspondent histograms below the tree figure. After a little study, I could generate the correspondent histogram for each leaf, but can't figure out how to arrange them in the right place. I tried something like >layout(rbind(c(1,1,1,1,1,1,1),c(2,3,4,5,6,7,8)))# the first row for tree >plot(tree,uniform=T,branch=0.5,margin=0,compress=T) >histogram(IncU|where) But the last command ignores the layout arrangement. How can I get around the problem? T...
2011 Nov 15
1
grid.arrange, grid.layout - legend, global y axis title
...left side. How can that be done using my approach? I also would like to add a global vertical legend for my plots below all plots. The legend should show the to different symbols (same as for the single plots (ggplot2)). I also don't know how to do that. I know that there is the function grid.arrange which can do both things but this isn't working because I am in the dev mode of ggplot. Then I get the error: Error: could not find function "ggplotGrob. I load my libraries the following way: 1) import data 2) load library(gridExtra) 3) load library(devtools) dev_mode(TRUE) librar...
2003 Nov 04
1
AW: R function help arranged in categorical order ?
There is a very nice Search Engine, with Keywords arranged by topic, that comes with R. If you are under Windows (and have Html help installed), you can find this in the Help menu, under "Html help". (The relevant file can also be found as ...\doc\html\search\SearchEngine.html.) Maybe this helps, Heinrich. > -----Urspr?ngliche Nachricht----...
2012 Apr 16
1
arrangement
Dear All I want to arrange our output in 3 columns in R. Example: N 04320 03010 00514 00604 00563 03430 03022 V 22.000000 0.000000e+00 15.0000000 15.0000 13.0000 1.300000e+01 51.0000000 p 0.640625 2.910383e-11 0.4257812 0.4375 0.6875 3.356934e-04 0.2434998 N 03060 04140...
2018 Mar 30
3
getting all circular arrangements without accounting for order
....ca> wrote: > If one is equal to the reverse of another, keep only one of the pair. > > B. > > > > > On Mar 29, 2018, at 9:48 PM, Ranjan Maitra <maitra at email.com> wrote: > > > > Dear friends, > > > > I would like to get all possible arrangements of n objects listed 1:n on a circle. > > > > Now this is easy to do in R. Keep the last spot fixed at n and fill in the rest using permuations(n-1, n-1) from the gtools package. > > > > However, what if clockwise or counterclockwise arrangements are the same? I know t...
2006 Dec 13
1
combinations of m objects into r groups
Hi! Suppose I have m objects. I need to find out what are all possible ways I can group those m objects into r groups. Moreover, I need to create a matrix that contains what those arrangements are. I've created code for when r=2 but I've come to a halt when trying to generalize it into r groups. For example, if I have m=6 objects and I want to arrange them into groups of r=2, there are a total of 41 possible arrangements. I would like a matrix of the form (showing only 9...
2012 Oct 19
0
Lattice bwplot: Adding mean with panel.points fails in vertical arrangement
...(100) a <- rnorm(60,10,3) s <- c(rep("A",20),rep("B",20),rep("C",20)) p <- c(rep("d",6),rep("e",6),rep("f",6),rep("g",6),rep("h",6)) df <- data.frame(a,s,p) i would like to draw a lattice bwplot in vertical arrangement, with mean values added. I tried: ###### Plot 1 ######################## library(lattice) bwplot(a~p|s,data=df, panel=function(x,y,...) {         panel.bwplot(x,y, pch="|",...)         panel.points(mean(x),y, col="red", ...) }) However, the mean values are not plotted and...