search for: lineplot

Displaying 20 results from an estimated 24 matches for "lineplot".

2010 Apr 02
1
lineplot.CI in "sciplot": option "ci.fun" can't be changed?
hi List and Manuel, I have encounter the following problem with the function "lineplot.CI".? I'm running R 2.10.1, sciplot 1.0-7 on Win XP.? It seems like it's a scoping issue, but I couldn't figure it out. Thanks! ...Tao > lineplot.CI(x.factor = dose, response = len, data = ToothGrowth)??? ## fine > lineplot.CI(x.factor = dose, response = len, data = Toot...
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 ca...
2009 Feb 18
1
lineplot in ggplot2 with different colour and linetype
Hi list, I would like to use ggplot2 in creating a line plot with 4 lines (groups), 2 of which I want in colour and the remaining two as dotted lines. ### R code ### library(ggplot2) ### create data #### vals <- rnorm(400) div<- c(rep("A",100),rep("B",100),rep("C",100),rep("D",100)) n<- rep(1:100,4) df<- data.frame(div=
2011 Mar 27
0
Help labeling Panels
...ng linux and I'm not even entirely sure if I've done this in a best practices sort of way but here is the code that I've entered so far to make my figure: library(sciplot) postscript('PreferenceGraph2x2.eps') par(mfrow = c(2,2), pin=c(6.45669292,6.45669292), pty="m") lineplot.CI(Week, Pref, group = Drug, data=SM.long, xlab = "Week", ylab ="Proportion Sucrose of Total Fluids", x.leg =1, y.leg=.91, leg.lab= c("Salvia","Control"),col =c("red","darkgreen"),ylim=c(0.48,.95), main = "Preference of Stressed Males...
2010 May 09
1
Plotting log-axis with the exponential base to a plot wi
...y). Do you still think that the base of log does not matter in this case (wheather it is e or 10 as a base)? Elisabeth > On 09-May-10 18:10:27, Elisabeth Bjerke Rastad wrote: >> Hello! >> I have a problem which I have tried to solve for several days now.. >> I have plottet a lineplot.CI in the library "sciplot", and I am >> trying to plot it with a logaritmic y-axis (with exponential base). >> >> The problem is that; when I type "log "y"", the axis transforms >> into the logaritmic of base 10. >> >> I wonder if s...
2010 May 09
3
Plotting log-axis with the exponential base to a plot with the default logarithm base 10
Hello! I have a problem which I have tried to solve for several days now.. I have plottet a lineplot.CI in the library "sciplot", and I am trying to plot it with a logaritmic y-axis (with exponential base). The problem is that; when I type "log "y"", the axis transforms into the logaritmic of base 10. I wonder if someeone could tell me how to specify that I would li...
2009 May 22
2
sciplot question
Hi, I would like to have lineplot.CI and barplot.CI to actually plot confidence intervals , instead of standard error. I understand I have to use the ci.fun option, but I'm not quite sure how. Like this : > qt(0.975,df=n-1)*s/sqrt(n) but how can I apply it to visualize the length of the student's T confidence...
2010 Aug 28
4
expression() and plot title
What I want to do is put the arguments I supply to a function into the title of a plot Say I'm calling func.1 func.1(a=4,b=4) plot(....,..., title("a=4, b=4")) If I'm calling func.1 with different arguments, I want the plot title to reflect that. A small detail is that func.1 might have an argument with a default like c=a+b. I tried using expression but couldn't get it to
2013 Feb 19
2
introducing jitter in overlapping graphs using ggplots (plotmeans). Also sciplot.
...g all stations witin year). However, as the graphs are exctly overlaid, it is not possible to distinguish the confidence intervals. How do I introduce jitter? Data2007, Data2008 and Data2009 are the dataframes with the data from that particular year including all the stations. I have also tried lineplot.CI from the package sciplot and also there I am not able to introduce jitter. I have looked at the helpfiles. PACKAGE GGPLOT: library(gplots) par(family="serif",font=1) plotmeans(TN ~ STATION, data =Data2007, bars=TRUE, p=0.95, pch=1, cex=0.8,...
2008 Sep 26
2
bar and line plot
Hello All: Using the below dataset how can I make a barplot with Date(X) and NumEggs(Y) by Site. Then plot Temp(lineplot) It seems really simple, but I am having a hard time trying to do it by Site. Thanks Date NumEggs Site Temp 1 2008-04-22 0 Massacre Flat (RK424.5) 51.20 2 2008-04-23 0 Massacre Flat (RK424.5) 50.80 3 2008-04-24 0 Massacre Flat (RK42...
2006 Nov 17
2
s.e. on interaction plots
Is it possible to add standard error bars to the means on interaction plots? Thanks Murray -- Murray Pung Statistician, Datapharm Australia Pty Ltd 0404 273 283 [[alternative HTML version deleted]]
2007 Aug 19
1
Error bars using data from bugs()
I'm trying to compare the results of several models using output from bugs(). I want to summarize the models via boxplots or lineplots of the parameters. I know how to use errorbars from a regression, but how do I implement the credible intervals as error bars into these plots Any help is much appreciated Matthew Krachey [[alternative HTML version deleted]]
2010 Nov 23
1
Barplot and plot means with confidence intervals in the same plot
I want to obtain a barplot with error bars and a mean plot with error bars with other scale on the left in the same plot. I need help to get the same x axis (centered) when overlay two plots (barplot2 and plotCI (or lineplot.CI) with errorbars), with diferent y axis. I use par (new=T) but the X axis names are not centered with the figures. An example of my data: mean1<-cbind(55.5,56.42,56.38,55.28) SD1<-cbind(10,9 ,7 ,3) x<-rbind(mean1,SD1) colnames(x)<-c("Autumn","Spring","...
2006 Jun 06
2
error bars in lattice xyplot *with groups*
Hi all, I'm trying to plot error bars in a lattice plot generated with xyplot. Deepayan Sarkar has provided a very useful solution for simple circumstances (https://stat.ethz.ch/pipermail/r-help/2005-October/081571.html), yet I am having trouble getting it to work when the "groups" setting is enabled in xyplot (i.e. multiple lines). To illustrate this, consider the singer data
2007 Oct 14
1
ggplot2: ordering categorial data
...ear in different colours I first tried to do a bar plot with the following command: qplot(tld, spam, data=data_rb, geom="bar", position="dodge") + geom_bar(aes(y=data_rb$stockspam), position="dodge") But this seems to stack spam1 and spam2 values. When I try to do a lineplot, I get the following error message: > qplot(tld, spam, data=data_rb, geom="line") Error in unit(x0, default.units) : 'x' and 'units' must have length > 0 Can anyone help me with this? Thanks and regards, Christoph
2004 Oct 20
1
Drawing multiple line plots
...crete ordinal variables (factors, each variable has following levels: lowest, ..., highest). Significance indicates significance levels. >From this dataframe, I want to plot INAS, MMA, and DMA (x-axis : levels "lowest" through "highest", y-axis: values of INMET) as separate lineplots in the same graphic window. I can individually plot lines for INAS,MMA, and DMA; however, I want the three lines to appear in the same graph (say in different colors). Searching the archives and the documentation, I got to interaction.plot(), but this is not what I want. I can export the dataf...
2010 May 10
2
[Fwd: Re: Plotting log-axis with the exponential base to a plot with the default logarithm base 10]
...Xianwen > > On Sun, May 9, 2010 at 8:05 PM, Elisabeth Bjerke Rastad > <ebr024 at post.uit.no> wrote: >> Hello! >> >> I have a problem which I have tried to solve for several days now.. >> >> I have plottet a lineplot.CI in the library "sciplot", and I am trying >> to >> plot it with a logaritmic y-axis (with exponential base). >> >> The problem is that; when I type "log "y"", the axis transforms into the >> logaritmic of base 10. >> >> I wo...
2005 Dec 02
1
Visualizing echo
Hi, I've added visualization of the speex noise cancellation to my program. I did this by taking st->noise[] and st->ps[], scale both by 1.0/(st->ps_size * 32768.0) (to get a value between 0.0 and 1.0), and then draw them as a realtime lineplot. This works well, and my users like being able to see roughly what frequency bands they have noise in and compare it to their input signal. It also settled the long argument I had with a user of whether or not 44.1 khz sampling was needed for human speech... And most of all, it's cool ;) N...
2006 Nov 27
1
x axis on sciplot
...t;24", "25", "26", "27", "28", "29", "30"), class = " data.frame") try$visit <- ordered(try$visit,levels=c("Screening","0","5","50","100")) library(sciplot) attach(try) lineplot.CI(visit,variable,group,type = "b", bty = "n", pch = 16, fixed=TRUE, ylab = "Mean of Variable", xtick = TRUE, xlab = "Da...
2012 Apr 06
1
how to control exact positions of axis
Hi, I have to plot a heat map and next to it a lineplot. Unfortunately the scale is not the same between the two plots (as the heatmap data is binned). My problem is, that despite the fact the plotted areas (marked by the heatmap and box of the the default line plot) are essentially very similar, the coordinate system is slightly shifted. Below code d...