similar to: Plot qualitative y axis

Displaying 20 results from an estimated 1000 matches similar to: "Plot qualitative y axis"

2018 May 23
0
Plot qualitative y axis
Hi Pedro, melt() is probably working. The problem is I did not finish the copy and paste.? It would have been better if I had included the ggplot() command. Try ============================================================== library(reshape2) library(ggplot2) dat1? <- structure(list(N = c("I", "II", "III", "IV", "V", "VI",
2018 May 21
2
Plot qualitative y axis
Hi all, I?m trying to plot this data N M W I 10 106 II 124 484 III 321 874 IV 777 1140 V 896 996 VI 1706 1250 VII 635 433 VIII 1437 654 IX 693 333 X 1343 624 XI 1221 611 XII 25 15 XIII 3 XIV 7 8 So that in de Y axis will be the level (qualitative data) and in the X axis will be M and W variables. So x axis will be wwith a lenght between 0 and 2000. I would like to plot a line with M and other
2018 May 21
0
Plot qualitative y axis
See ?barplot and set the horiz argument to TRUE. (This is in the base R plotting version. The ggplot2 and lattice systems have other ways of doing this) Note: if you search on e.g. "barplots in R" or similar, you should find numerous examples with code. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into
2018 May 23
0
Plot qualitative y axis
Hi Pedro, Not too hard. Just have to watch the order of the variables: ppdf<-read.table(text="N M W I 10 106 II 124 484 III 321 874 IV 777 1140 V 896 996 VI 1706 1250 VII 635 433 VIII 1437 654 IX 693 333 X 1343 624 XI 1221 611 XII 25 15 XIII 3 NA XIV 7 8", header=TRUE) plot(rev(ppdf[,2]),1:14,col="blue",lty=1,type="l",
2008 Feb 12
3
sort a data frame according to roman characters
R-help, I have a data frame with one column containing roman numbers The data are not sorted as : I II III IV V VI VII VIII IX X XI XII XIII XIV XV Using data[order(data$Roman),] does not do the job. How can this be done? Thanks in advance.
2004 Sep 27
1
Peer Review - Linuxfest Presentation Outline
Hello all, I've been invited to do a presentation on Asterisk for the Ohio Linuxfest in Columbus this weekend (http://www.ohiolinux.org). Rough estimates are that nearly 500 people will be attending. I've been working on an outline for a couple of weeks and I would like to have some peer review of the information presented. I am going to have to cut down the content to make it fit in
2018 Feb 05
0
help with the plot overlay
Hi Ace, You can do it with plotrix: library(plotrix) barpos<-barp(c(1,5,38),width=0.5,col=c("white","lightgray","darkgray"),ylim=c(0,70)) ehplot(c(1,0.8,0.9,0.8,1.1,1,4,3,5,14,3,2,32,27,33,30,50,61), c(1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3),median=FALSE,add=TRUE,cex=2, pch=21,bg="white") dispersion(barpos$x,barpos$y,c(0.1,1,5),lwd=2,arrow.cap=0.03)
2017 Jun 14
2
Plot MArginal distribution in the correct place
Please can you send me some orientation? Many thanks in advance. Only if posible one book o similar example to understand why it is not what I try. El 8 jun. 2017 7:50 PM, "Pedro p?ramo" <percentil101 at gmail.com> escribi?: > Many thanks Jim. > > What I,m trying to show with the fhist plot is the empirical distribution > of the values of the left plot simulation.
2017 Jun 08
0
Plot MArginal distribution in the correct place
Many thanks Jim. What I,m trying to show with the fhist plot is the empirical distribution of the values of the left plot simulation. You say: However, I don't think that this plot illustrates quite what you think it does. Can you give me a clue to try to illustrate better if it is not showing what I believe it shows a better way to show it? Many thanks in advance. El 7 jun. 2017
2017 Jun 07
2
Plot MArginal distribution in the correct place
Hi Pedro, As a one-off, you just shove the coordinates around a bit: par(mar=c(11,0,6,6)) barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray", ylim=c(0,24)) However, I don't think that this plot illustrates quite what you think it does. Jim On Wed, Jun 7, 2017 at 4:01 PM, Pedro p?ramo <percentil101 at gmail.com> wrote: > Please, I'm trying to put
2017 Jun 14
0
Plot MArginal distribution in the correct place
Hi Pedro, If you keep that same margins for the second plot: par(mar=c(10,0,6,6)) barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray") it looks reasonably well aligned to me. Because you are plotting the counts of the values in Simulation, the ordinate (vertical axis) of the bar plot is in quite different units from that of the plot on the left side. Jim On Wed, Jun
2017 Jun 01
4
Upper bands and lower bands
Hi all I want to add a band of fluctuaci?n (exponential decreading) to a linear deacrecing values Imagine: I have a matrix like c(10,9,8,7,6,5,4,3,2,1) The thing is I want two new lines so that the m?ximum value of the new colum on the m?ximum is from 10% to 5% higher and the same lower for the m?nimum the final two matix will be something like c(10+0.10*10,9+0.089*9,8+0.075*8.....,1+0.05*1)
2017 Jun 06
2
Plot MArginal distribution in the correct place
Hi all, I have this code, but the marginal distribution plot doesn?t appear aligned with the left plot. I think could be something about layout or par() mar. The code was programmed by me time ago. Can anyone help me to get the marginal distribution on the center (more higher centered) id.txt Could have this code: 05/01/2016;9335,200195 06/01/2016;9197,400391 07/01/2016;9059,299805
2017 Jun 01
0
Upper bands and lower bands
I explain better: I have this percentage z<-1/(n*365) where n=20 so z is 0,000136986 Imagine: a matrix with length(n*365) so that matrix result is resultc( 1, 1-z result previous row-z result previous row-z .... 0) If I plot this is a linear decreasing line I want to plot an upper line wich is 10% higher tan resultc on the first values and then decreasing so that last value will be 0.05.
2017 Jun 07
0
Plot MArginal distribution in the correct place
Please, I'm trying to put the right plot higher and centered on the left values but I don't achive. I would appreciate so much your help El 6 jun. 2017 22:37, "Pedro p?ramo" <percentil101 at gmail.com> escribi?: > Hi all, > > I have this code, but the marginal distribution plot doesn?t appear > aligned with the left plot. > > > I think could be
2009 Dec 08
1
Sort a data frame according to romans
R-help, I have a data frame: > mydata strata nh Nh Wh fh 1 I 10 26 0.048 0.385 2 II 32 84 0.154 0.381 3 III 16 42 0.077 0.381 4 IV 4 11 0.020 0.364 5 V 10 26 0.048 0.385 7 VII 64 168 0.309 0.381 8 VIII 49 129 0.237 0.380 9 IX 22 58 0.107 0.379 91 VI 0 0 0.000 0.000 and I wish to rearrange the data are sorted according to the roman
2017 Jun 17
1
Plot MArginal distribution in the correct place
Can you suggest a plot on the right side so that the right plot has the same units of left plot and reflect the counts of the number of time the values repeat, something like the empirical distribution? 2017-06-14 12:30 GMT+02:00 Jim Lemon <drjimlemon at gmail.com>: > Hi Pedro, > If you keep that same margins for the second plot: > > par(mar=c(10,0,6,6)) >
2007 May 07
1
different hights & centering in one device region
Hello, I have a question. I creat a PDF file with four rows and two cols. Is it possible to: -create a plot regions with different hights (example: rows 1 & 2-4) -ro center an image in the whole width (example: rows 4) Thank's a lot. Felix example: -------- Title -------------------------------- |Text |Text | |Text |Text | --------------------------------- | | | | | |
2018 Feb 04
2
help with the plot overlay
Dear R Community, I recently read an article and found a plot as attached. It has scatterplot, barplot, and error bar. Could anyone help me to figure out what package I can use in R to generate such plot? Thank you very much for any inputs! Kind regards, Ace -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2018-02-04 at 6.38.14 AM.png Type: image/png
2017 Jun 02
0
Upper bands and lower bands
Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Jun 1, 2017 at 11:20 AM, Pedro p?ramo <percentil101 at gmail.com> wrote: > Hi all > > I want to add a band of fluctuaci?n (exponential decreading) to a linear > deacrecing