similar to: A beginner's problems with plotting

Displaying 20 results from an estimated 700 matches similar to: "A beginner's problems with plotting"

2002 Sep 23
3
Newbie: Subsets of data frame
I feel a bit embarassed by this, but I have not managed to find out how: I have a data frame containing measurements over time for a number of different locations: > str(milk) `data.frame': 845 obs. of 3 variables: $ date : num 1987 1987 1987 1987 1987 ... $ value : num 5 1 2 5 1 1 2 3 2 4 ... $ location: Factor w/ 36 levels "Alta","And?y",..: 1 1 1 1 1 1
2003 Feb 03
4
Overlaying a moving average curve on top of a barplot
I''m using standard barplot (Windows version 1.6.2 of R) to represent a certain weekly metric "v" and I would like to properly overlay on top of it its moving average "mean.8" (window of 8 weeks). I must be doing something wrong since the moving average (using "lines") doesn''t overlay properly, i.e., both x-scales do not match! ...
2005 Jun 22
2
Subsetting across a frame for plotting
I have a huge frame holding holding model results for a number of locations and time series: > str(tonedata) `data.frame': 434 obs. of 339 variables: $ VALUE : int 101 104 105 106 111 118 119 121 122 123 ... $ COUNT : int 2443 184 1539 1016 132 1208 1580 654 864 560 ... $ AREA : num 6.11e+08 4.60e+07 3.85e+08 2.54e+08 3.30e+07 ... $ D1_1958 : num 470 446 452 457 407 ...
2003 Mar 14
2
plot
Can anyone tell me how to plot on the same graph two different functions (of x) using two differnt y scales (axes 2 and 4)? Thanks Nelson
2003 Jan 21
2
Plot using different symbols depending on value.
I am making a plot from R indicating an average, min and max value for a number of sample types. as horizontal lines with the sample types on the y-axis. (see http://home.newmedia.no/sickel/R.html for the plot and code) In some cases, the min value is the detection limit, and I would like to indicate that bu using a <, rather than the usual | I use for indicating the value. I am plotting each
2002 Sep 17
2
grid.legend - lines
I am testing out the grid-plots, but get into a problem making a legend. I have a line plot and some points, following the model in grid.plot.and.legend() i manage to get the points correctly in the legend, but what do I do with the line? (Of cource, I can just draw a line at the right location on the plot, but I would prefer to use legend) Morten -- Morten Sickel Norwegian Radiation
2002 Feb 26
1
Cross-tabulation of data from database
I am quite new to R, so please bear over with me if I have problems with the R terminology. I want to (try to) use R for some analyses within vegetation ecology, using the vegan package. I have my data in a postgresql database, and I manage to get them into R as a dataframe with columns for respectively: Name of the analysed m2, Name of the species, coverage of species in the square in %. I
2009 Nov 06
1
Survival Plot in R 2.10.0
I would like to produce a complimentary log-log survival plot with only the points appearing on the graph. I am using the code below, taken from the plot.survfit page of help for the the survival package (version 2.35-7). I am running in R 2.10.0 on Windows XP, and the list of packages following the error is loaded. Is there some specific 'type= ' syntax, or an additional parameter that
2017 Oct 02
3
Help with PXE "Out of Memory" error?
Hello all! I have a server at work that we're using for PXE OS installation and LiveCD loading. It's based on CentOS 7.3, and CentOS comes with Syslinux version 4.05. We've been having this issue, very rarely, with some systems that refuse to load a LiveCD from the menu, claiming they're "out of memory" when we know that is absolutely not the case; there's plenty
2002 Dec 12
1
splitting columns into groups
Hi, I'm trying to split 96 columns into 8 groups and then obtain row totals for each of those groups. But: c.factor <- as.factor(c(rep(1:8,c(18,12,12,12,6,12,12,12))) data.groups <- split(data,c.factor) splits my rows into those groups. Is there anyway I can tell R to apply the split function to columns or am I doing something wrong when creating "c.factor" Cheers, Jeremy
2020 Aug 12
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Manuel, You are absolutely right.  I think this is all the Synology just being very dumb.  I guess those are my only two options at this point. I have no idea on how to set up the NUT server though on one of my NUCs or my Pi.  Do you know any good guides out there?  I’m guessing it’s easy enough to edit upsmon.conf on the Synology in order to get that to become a slave; I think would be all
2020 Aug 08
4
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
On Fri, 7 Aug 2020, Todd Benivegna wrote: > APC Back-UPS NS 650M1 UPS ---USB---> Synology NAS (DS416 - Master?) > ---Ethernet---> Netgear Managed Switch w/ uplink to router <---Ethernet--- > Servers (Ubuntu 20.04 - Plex, Pulsar, Proton - All three set as slaves) I'm guessing that the UPS supplies only the NAS, not the 3 Ubuntu machines. Do they have their own UPS's?
2002 May 02
2
plot survival points
Hi all, I have a little problem. I make an weibull survival analysis using the survival package. It,s OK, them I have the functions. I plot this funcions with curve(). I want to make a plot with the real survival points (proportion of alive x time) and them add the curves to points. I have the time to dead, the censor data and my trataments. To analysis the model is: model1 <-
2003 Jan 31
2
Varying texts in expression(paste())
Hi, I am using R a lot to make plots relating to radioactivity, I am often using expression() to label the plots with nuclide names written with superscripts, e.g. expression(paste("Releases of ", { }^{99},Tc," (TBq/year)"))->ywtext But, is there any simple way to change the number and name of the nuclide through a variable? I tried nuccode=expression({ }^{99},Tc)
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
2015 Jan 08
5
Intel NUC? Any experience
Folks The price point of Intel's NUC unit makes it attractive to use as a server that doesn't have significant computational load. In my environment, a USB connected hard-drive could provide all the storage needed. I wonder if anyone has had experience with it, and can answer: 1) Does Centos6 and/or Centos7 install from a USB connected optical drive? or a USB flash drive? I'd
2005 Sep 12
2
barplot with multiple columns
I have a large dataset looking like this (as an example): doy<-c(178,179,180,181,182,183,184,185,186,187,188) s1<-c(0 , 0, 2.4 , 0 , 3.34 , 0 , 5.34 , 0 , 0 , 0 , 6.9) s2<-c(0 , 9.72, 0, 10.56 , 2.67 , 0 , 6.45 ,0 , 0 , 9, 3.6) dat<-cbind(doy,s1,s2) dat I need to make a barplot where the two time series s1 and s2 are plottet beside each other for each doy. How can I do that?
2013 Feb 09
3
help on plotting series with different x-axis values on a graph with one x-axis
Hi, I have run into this problem a couple of times now and hope you can help! If I want to plot mulitiple series with differing x-axis values (however, all in the same range) in 1 plot with one common axis R obstruses the plots. E.g. if I plot water content against time and I start with the sampler at 5 cm depth, it plots that one right. But the next depth, 15 cm, is measured at slightly
2012 Jun 08
3
Rose plot (like a windrose)
Dear R Gurus, I spent some time in looking for help but didn't find a way to do what I want. I do have a vector (in Degrees) containing of 360 elements, one element per degree on a circle. The data is dimensionless and in the range of -0.2 to 0.5. An Example: Wind Dir [degrees], Value 1, 0.1 2 , 0.3 3 , 0.01 .,. .,. 180,-0.01 181,-0.2 .,. .,. .,. 359,.0.3 360,.0.5 Now I want to have
2001 Sep 27
2
ugly in plotmath: frac(1, sqrt(...)) (PR#1101)
Sometimes (dependent on device and settings of 'cex' and 'lwd') the line of a square root symbol plottet in the denominator of a fraction appears to be in or above the line of the fraction. Examples: ### Choose one of these: # pdf("test.pdf", height=6, width=8) # bmp("test.bmp", width=1100, height=800, pointsize=12) # bitmap("test.tif",