search for: lcol

Displaying 8 results from an estimated 8 matches for "lcol".

Did you mean: col
2006 Aug 11
2
Colour-coding intervals on a line
Hi, This is a simple version of something that I am trying to do. If I can sort the problem basically, I figure I should be able to sort it for the program I'm writing (which would take longer to explain). I need to know if there is any way of using different colours for different intervals of a line on a graph. Eg. If I plot the line y=x for x=1:10, and split this line into 106 intervals
2013 Jun 15
2
Plotting two y-axis vs non-numeric x-axis
Hi dear all, the following code is correct. but I want to use non-numeric x-axis, for example if I replace time <- seq(0,72,6) by month <- c("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","Pag") Ofcourse I use factor(month) instead of
2009 Sep 10
1
Issue displaying DATES on a plot with two ordinates
...-08-12', '2009-08-16', '2009-08-19'), format="%Y-%m-%d") y.Left <- c(70.13, 75.1, 74.35, 78.9, 80.92) y.Right <- c(35, 45, 50, 47, 53) twoord.plot(x.Left, y.Left, x.Right, y.Right, xlab="Date", ylab="Trend 1", rylab="Trend 2", lwd=2, lcol='blue') Thanks in advance for any help, C.C. P.S. I am aware of the criticisms of these sort of graphs, but they are pretty. Also, they seem to be used a lot in meetings i've attended recently. Windows Vista > sessionInfo() R version 2.9.2 (2009-08-24) i386-pc-mingw32 locale: L...
2011 Apr 24
2
How to erase (replace) certain elements in the data.frame?
Hello R-world, Please, help me to get round my little mess I have a data.frame in which I'd rather like some values to be NA for the future imputation process. I've come up with the following piece of code: random.del <- function (x, n.keeprows, del.percent){ n.items <- ncol(x) k <- n.items*(del.percent/100) x.del <- x for (i in (n.keeprows+1):nrow(x)){ j <-
2013 Jun 06
2
generating a bar chart with two axis for co-linear variable
Hello Dimitris, I was goggling for some help on Sensitivity vs 1-specificity and saw your link. I hope you can be of help to me in one of the issue that I am facing in generating combo chart(bar chart and plot). I am a novice and have some difficulty in getting this logic correct. I am give a dataset (I am attaching a sample dataset). I am using a barplot() and passing values for
2004 Feb 10
2
Dotplot: y-labels from rownames
How can I use row.names() as y-labels in Dotplot? How to set horizontal orientation for y-lables in lattice()? Dotplot(stcod1 ~ Cbind(statgh2,statgh2-1.96*segh2,statgh2+1.96*segh2)[og], subset=statgh2[og]>0.1, data=h2inqerrg02st, xlab="G", ylab=row.names(h2inqerrg02st)[og], main="") I have tried doing it with mtext() as well, but there is not enough space besides
2010 Dec 09
2
RES: Barplot with "Independent" Lines Y axis
Oh sorry. An example say lots more than words. The data below, when submitted to twoord.plot return the mentioned error. Rain are bars and Salt lines, the bars appear and the error occurs with the salt data. Point Rain Salt Fev/03 365.6 13 Mar/03 235 18 Abr/03 115.1 18 Mai/03 47.4 18.75 Jun/03 112 15 Jul/03 156.8 17 Ago/03 66.1 15 Set/03 149.8 14 Out/03 167,1 11.5 Nov/03 269.3 17.5 Dez/03 283.7
2009 Sep 11
3
For sending my R package as part of R-project
...-08-12', '2009-08-16', '2009-08-19'), format="%Y-%m-%d") y.Left <- c(70.13, 75.1, 74.35, 78.9, 80.92) y.Right <- c(35, 45, 50, 47, 53) twoord.plot(x.Left, y.Left, x.Right, y.Right, xlab="Date", ylab="Trend 1", rylab="Trend 2", lwd=2, lcol='blue') Thanks in advance for any help, C.C. P.S. I am aware of the criticisms of these sort of graphs, but they are pretty. Also, they seem to be used a lot in meetings i've attended recently. Windows Vista > sessionInfo() R version 2.9.2 (2009-08-24) i386-pc-mingw32 locale: L...