similar to: No subject

Displaying 20 results from an estimated 10000 matches similar to: "No subject"

2004 May 19
7
Help with hclust() and plot()
Hi When I use plot(hclust(dist..)...)...) etc to create a dendrogram of a hierarchial cluster analysis, I end up with a vertical tree. What do I need to do to get a horizontal tree? Also, my users are used to seeing trees who's leaves all "end" at the same place (eg. Like in minitab). Is this possible in R? Thanks Mick Michael Watson Head of Informatics Institute for Animal
2003 Nov 07
1
barplot(names.arg) versus axis(labels)
Should I be able to use axis() on a barplot? i have a data.frame, the first 3 values of which are: > c[1:3,] median mean A1 56.5 58.50000 A61 73.0 73.00000 A62 63.0 63.00000 > str(c) `data.frame': 19 obs. of 2 variables: $ median: num 56.5 73 63 161 51 55 44.5 22 54 49 ... $ mean : num 58.5 73.0 63.0 161.0 47.5 ... if I do barplot(median) and then try
2003 May 21
1
axis() default values for "lty", "lwd", and "col"
Hi, I would like to recommend a minor modification in axis() which I believe can simplify the making of plots for publications. I am trying to define default values for par() in order to make labels bigger and lines thicker, so that the resulting plots look good when resized for publication purposes. I ran into the following problem... axis() does not use par() values as default for
2005 Oct 06
1
Simple question.....
Hi all user R, My simple question is...I have a vector of names of predictors, text<-c("datem","cola","eslom")...I try to plot the model with this predictor in sequence loop...., for(i in 1:3){ png(paste("fig_",i,sep="")) plot(preplot.gam(mod9)[[i]],se=T,rug=F,main="",xaxt="n",ylab="",xlab="")
2005 Jul 26
1
problem with Hershey fonts
This was reported to me by a colleague in China, so I may not be reproducing exactly what they are seeing (which I suspect is rw2011), but this is what I see: > version _ platform i386--netbsdelf arch i386 os netbsdelf system i386, netbsdelf status major 2 minor 1.1 year 2005 month 06 day 20 language R > help(Hershey) : : If the 'vfont' argument
2005 Oct 17
1
x axis
Hello, I write to know how can I modify the x axis : when I plot a survival object, R plots a graph with x values = 0, 10, 20, 30 while I want a graph with values 0, 6, 12, 18, 24 in the x axis. How can I do this? In R 2.1.1 version there was "time.inc" in survplot, but in version R 2.2.0 there isn't it! I am sorry for my english and I hope that you understand my problem. Thank you
2006 Oct 16
2
help with plot()
Hi, I am new to R and I have been trying it out. I ran into a problem with the plot() function. Below is my code: > d <- read.table("c:/test/sp.txt",header=0) > spval <- d[,2] > plot(spval,type="l") Warning messages: 1: graphical parameter "type" is obsolete in: plot.window(xlim, ylim, log, asp, ...) 2: graphical parameter "type" is
2008 Mar 21
1
hist function+label second y-axis
Dear Forum, hist(x$LAN_3,col="green",xaxt='n',yaxt='n',xlab="",ylab="",main="",type="l") I?d like to craete a line not a bar in the hist function, but regrettably I get only warning messages: 1: Grafikparameter "type" ist veraltet in: title(main, sub, xlab, ylab, line, outer, ...) 2: Grafikparameter "type" ist
2004 Oct 06
1
plotOHLC unequally spaced time.
Hi I have som financial tick data that i have converted in to 45 min bars. These are unequally spaced in time. I wonder if it is possible to plot these like bars as the plotOHLC does. As I have understood plotOHLC uses class(mts) that must be equally spaced? Regards Paer [[alternative HTML version deleted]]
2005 Jun 15
3
how to plot density distribution with a arrow pointer?
Hi all, for example: > X<- rnorm(1000) > X0 <- 0.899 I want to draw a density distribution plot with a arrow pointer indicating the position of X0, meanwhile, giving out the p-value. any functions? Thanks very much.
2006 Oct 21
1
plot.POSIXct plot.POSIXlt
Hi, Just to signal that when I want to plot POSIXct variable on x using format within plot(), I get what I want on the plot but with a number of warnings: > plot(y~x,format="%y-%m") Warning messages: 1: "format" is not a graphical parameter in: plot.window(xlim, ylim, log, asp, ...) 2: "format" is not a graphical parameter in: plot.xy(xy, type, pch, lty,
2006 Jun 23
2
problem with hist() for 'times' objects from 'chron' package
Hello dear useRs and wizaRds, I encountered the following problem using the hist() method for the 'times' classes from package 'chron'. You should be able to recreate it using the code: library(chron) # pasted from chron help file (?chron) dts <- dates(c("02/27/92", "02/27/92", "01/14/92", "02/28/92", "02/01/92")) class(dts)
2006 May 12
1
X11 and vfonts modules on AIX 5.2
I am trying to get R-2.2.1 to pass make check on an AIX 5.2 at work (I know R-2.2.1 is not the latest release, but I encountered make errors in my attempts to install either R-2.3.0 or the R-patched_2006-05-10 on the version of AIX I am on. I will post those errors in a separate posting from this.) So far, configure and make finish without error for R-2.2.1 using gnu make, gcc-4.1.0, and
2013 Feb 14
1
Alternate tick labels in xyplot
Dear Rhelp, I would like to get alternate tick labels for the xyplot: library(lattice) library(grid) xy <-xyplot(decrease ~ treatment, OrchardSprays, ??? main= "Some plot", ??????? groups = rowpos, type = "a", ??? ??????????? page???? = function(n){ ???????????????????????? grid.text(LETTERS[j], ???????????????????????? y = 0.95, ???????????????????????? x = 0.15,
2012 Jan 30
1
about changing line type and line width in Taylor Diagram
Dear all, I am new to plotting Taylor Diagram using plotrix package within R, hence this post. I have written a script which plots Taylor Diagram with one reference and 7 model values. However the font size, line width and line type are not clear when saving the diagram as a jpeg file. I tried the functions lty, lwd and font but no apparent change. I am attaching the script here. Any help would
2002 Mar 12
2
How to get special (Hershey) font symbols into plot axis labels?
Dear R experts- I'm running R 1.2.3 (2001-04-26) on Linux. I need to get special symbols, such as a circle with a dot in it as used to indicate Solar units in astronomy, into my plot axis labels. How can I do this? Using the R documentation on the Hershey font sets, one can plot a Solar symbol within the world coordinates of a plot like this: >plot(1:10,1:10)
2003 Sep 09
1
Changing Tick Marks for Date Plots
I have been experimenting with various approaches to plotting (irregular) time-series with reasonable success. One thing I have been able to do is change the number of tick marks on the axis. Consider the following simple example: > x <- as.data.frame(matrix(ncol=2,nrow=500)) > names(x) <- c("dates","values") > x$dates <- as.POSIXct(Sys.time()+1:500*86400)
2006 Jun 17
1
Axis line not appearing with axis(tick=FALSE) (PR#8998)
Full_Name: Sean Pieper Version: 2.3.1 OS: Windows Submission from: (NULL) (67.188.92.37) Hi, I am trying to create a qualitative figure for which I don't want tick marks or numbers, but having some axes would be nice. If I do: plot.new() axis(2,labels=FALSE,tick=FALSE,lty="solid",lwd=1) I expect this should give me a vertical line on the left edge of the plot, but nothing
2003 Aug 06
2
Plot ticks and tick labels: thickness, colour?
I am displaying several series in one plot, and would like to make them distinct without having to employ a legend. I managed to color tickmarks, but have been unsuccessful with either one of a) making tickmarks thicker (without increasing the axis at the same time). From reading ?axis: lty, lwd: line type, width for the axis line and the tick marks. in would appear that I cannot
2007 Mar 08
2
Using logarithmic y-axis (density) in a histogram
Hi, I am searching for a possibility to display a logarithimic y-axis in a histogram. With plot that's easy (e.g. plot(1:10, log="y") but for histograms this does not work the same way: I tried hist(rnorm(1000), freq=FALSE, seq(-4, 4, .5), ylim=c(0.001, 0.5), log="y") Which gives the expected histogram but also warnings for my log="y" command