similar to: Barplot difficulties

Displaying 20 results from an estimated 5000 matches similar to: "Barplot difficulties"

2004 Dec 03
1
How to wrap or split labels on plot
Dear R gurus, I want to wrap labels that are too long for a plot. I have looked at strsplit(), substr(), nchar(), and strwrap(). I think it's some combination but I'm having difficulty trying to figure out the right combo. I think I need to create some new matrix containing the labels already split, though I'm not sure if maybe there is a quick and dirty way to address this
2004 Nov 24
6
Searching for antilog function
Dear R-users, I have a basic question about how to determine the antilog of a variable. Say I have some number, x, which is a factor of 2 such that x = 2^y. I want to figure out what y is, i.e. I am looking for the antilog base 2 of x. I have found log2 in the Reference Manual. But I am struggling how to get the antilog of that. Any help will be appreciated! > version platform
2004 Aug 13
3
Question from Newbie on PostScript and Multiple Plots
Hi, As I'm pretty new to R I hope this question isn't too basic. I am currently looping through my dataset and for each iteration am producing three separate plots. When I output these plots to the screen they are nicely grouped as three plots per page, however, when I try to send it to a PostScript file I get one page for each plot. I have adjusted my postscript options so that my
2008 Nov 07
0
barplot can put legend in wrong place, request option to override that (PR#13265)
This in an enhancement requestion, to add the capability to pass arguments through barplot() to legend(). I've created a version that does this. # Run this code; notice that the legend # is superposed over one bar: barplot(height = cbind(x = c(465,91) / 465 * 100, y = c(840,200) / 840 * 100, z = c(37,17) / 37 * 100), beside = FALSE, width =
2005 Apr 28
6
shading in line plots
Hello, I cannot figure out how to shade between two lines in a plot. For example, if I am trying to plot a confidence envelope and I would like to shade the interior of the envelope grey. Is this possible in R? Thanks in advance. Heather Lynch
1997 Aug 04
0
R-alpha: `axes' argument for barplot()
Clearly, barplot should have an `axes' argument. The following trivial patch does that ... pls apply. -k *** src/library/base/funs/barplot.orig Sat Aug 2 15:58:44 1997 --- src/library/base/funs/barplot Sat Aug 2 16:00:22 1997 *************** *** 1,7 **** "barplot" <- function (height, names.arg, col=NULL, border=par("fg"), beside=FALSE, space=0.2,
2009 Sep 11
3
Barplot+Table
I am trying to automate a report that my company does every couple of years for the state of Maine. In the past we have used SPSS to run the data and then used complicated Excel template to make the tables/graphics which we then imported into Word. Since there are 256 tables/graphics for this report, this work flow is a little painful. I would like to automate the process and I think I can do
1998 Mar 26
0
S programming style & "missing(.)" [was "regarding bugs in barplot" on R-core]
[The part about S (S-plus and R being dialects of S) programming (at the end) makes me cc'ing this to R-devel. MM] On R-core, >>>>> "Paul" == Paul Murrell <paul@stat.auckland.ac.nz> writes: Paul> hi (i) the problem with the positioning of the legend in your Paul> barplot example: Paul>
2007 Dec 02
1
speeding up likelihood computation
R Users: I am trying to estimate a model of fertility behaviour using birth history data with maximum likelihood. My code works but is extremely slow (because of several for loops and my programming inefficiencies); when I use the genetic algorithm to optimize the likelihood function, it takes several days to complete (on a machine with Intel Core 2 processor [2.66GHz] and 2.99 GB RAM). Computing
2014 Jul 29
0
150 100%но белых алгоритмов уменьшения налогов к уплате в РФ
bgColor="oldlace"<BR><DIV>&nbsp;</DIV> <BR><BR>width="92%" bgColor="lemonchiffon" <BR><DIV><FONT style="FONT-SIZE: 2px" size=1>&#173;</FONT></DIV> <BR><DIV><FONT style="FONT-SIZE: 1px" size=1>&#xAD;&#xAD;</FONT></DIV>
1997 Aug 25
0
R-alpha: barplot()
I've created a hacked version of barplot() which is more compatible with the S version, but currently ONLY FOR VECTORS. Differences && new features: * The `space' argument is interpreted as the fraction of the average bar width. (The current version has the width of the bar plus the space in between constrained to sum to 1.) * There is a new argument `width'. * There is a
2007 Oct 18
1
R-graphics printing greeks
I have tried to print a table of greek alphabet names and symbols without success. I can print one character at a time but can't seem to find a way to automate an entire list of the symbols. Some of the code I have tried is below. I have searched on help, worked the examples in the December 2002 R Help Desk article and plotmath but have not been able to find a way to accomplish the
2013 May 02
0
How does dsgh do the standardization?
Hi, I try to understand how the generalized hyperbolic distribution is standardized. One reference is the rugarch vignette, page 16-18: http://cran.r-project.org/web/packages/rugarch/vignettes/Introduction_to_the_rugarch_package.pdf I looked at the code of the dsgh function in the fBasics package: > dsgh function (x, zeta = 1, rho = 0, lambda = 1, log = FALSE) { if (length(zeta) == 3) {
2002 Nov 01
1
init.data function error
We had been using R1.2.3 "print tip lowess function" as described by Terry Speed's group to normalize microarray data and up until this week the commands we were using were working fine. First, we load our data using arrayname<-read.table("filename", header=T) and then check that the table is OK. We format the data list using setup1<-init.data() and usually get a
2010 Nov 16
2
Integrating functions / vector arithmetic
Hello, I was trying to build some functions which I would like to integrate over an interval using the function 'integrate' from the 'stats' package. As an example, please consider the function h(u)=sin(pi*u) + sqrt(2)*sin(pi*2*u) + sqrt(3)*sin(pi*3*u) + 2*sin(pi*4*u) Two alternative ways to 'build' this function are as in f and g below: coeff<-sqrt(1:4)
2006 Jan 10
2
standardized residuals (rstandard & plot.lm) (PR#8468)
This bug is not quite fixed - the example from my original report now = works using R-2.2.1, but plot(Uniform, 6) does not. The bug is due to if (show[6]) { ymx <- max(cook, na.rm =3D TRUE) * 1.025 g <- hatval/(1 - hatval) # Potential division by zero here # plot(g, cook, xlim =3D c(0, max(g)), ylim =3D c(0, ymx),=20 main =3D main, xlab =3D
2008 Jun 05
0
bug in barplot.default (graphics) (PR#11585)
There seems to be a minor bug in barplot.default when used with log scale w= here one or more values is NA: dat <- matrix(1:25, 5) dat[2,3] <- NA barplot(dat, beside =3D T) #Plots and appropriate barplot with gaps for m= issing data barplot(dat, beside =3D T, log =3D "y") #Error in if (min(height + offset) <=3D 0) stop("log scale error: at least = one 'height +
2014 Jul 17
0
Руководству Надо знать/хранить на фирме
bgColor="ghostwhite" width="98%" bgColor="honeydew" bgColor="ghostwhite" - &Beta;a??&#x61;<FONT style="FONT-SIZE: 3px" size=1>&#xAD;</FONT>?<FONT style="FONT-SIZE: 1px" color=#fefcfc size=1>&#28;</FONT>&#x20;&#1080;&#x43D;<FONT style="FONT-SIZE: 1px"
2019 Jan 19
4
sieve issue after upgrad
On 19/01/2019 08:01, Aki Tuomi wrote: > >> On 19 January 2019 at 02:07 Tim Dickson via dovecot < >> dovecot at dovecot.org <mailto:dovecot at dovecot.org>> wrote: >> >> >> i recently upgraded a server from dovecot 2.1 to 2.3 >> unfortunately sieve does not appear to be working. The user scripts have >> not changed, and neither has the
2004 Dec 31
3
Citation
Does anyone know R is to be cited in a publication? I've looked everywhere on the website and cannot find this. Thanks, Heather -- Heather Maughan Department of Ecology and Evolutionary Biology Biosciences West 310 University of Arizona Tucson, AZ 85701 Phone: 520-626-5108 Fax: 520-621-9190 hmaughan at u.arizona.edu