Displaying 20 results from an estimated 2000 matches similar to: "Request for introductory document"
2003 Dec 19
1
read.spss warning message with 12.0 sav files
useRs,
Don't know if this requires a bug report, but
using the read.spss function on files written by the
new SPSS 12.0 produces the following warning message:
Warning message:
C:\data\spss.sav: Unrecognized record type 7, subtype 13 encountered in
system file.
The data files appear to be read correctly. The warning likely results
from changes to the file format due to SPSS increasing
2007 Nov 13
2
Query an Access database based on a date attribute (Tudor Bodea)
Tudor Bodea asked:
>In this context, I try to get all the records for which market is atl-bos,
>competitor is delta and dd is 2007-11-20 (first record above). To do this I used
>># channel <- odbcConnectAccess("test.mdb")
>>res <- sqlQuery(channel, "select * from test_table where market = 'atl-bos'
>>and competitor = 'delta' and dd =
2004 Jun 10
1
Informal discussion group about R
I've started a "tribe" for discussing R and
sharing scripts. Tribe.net is one of the popular
on-line social communities, like "Friendster".
Visit and see if it is a forum that you find useful.
To join the "tribe" you will need to register with
Tribe.net.
I hope it will be of help to newbies, although I'm
new to R myself.
Here is the url:
2004 May 07
1
x-axis tick mark labels running vertically
I'm plotting obesity rates (y-axis) vs Public Health Unit (x-axis) for the
province of Ontario and would like to have the Public Health Unit names appear
vertically rather than the default, horizontally.
I'm actually using the 'barplot2' function in the {gregmisc} library ... I
haven't been able to find a solution in either the barplot2 options or the
general plotting
2003 Apr 16
2
barplot2
Hello,
I get a nice looking barplot using the barplot2 function in the gregmisc
package:
body2 <- barplot2(hh3, beside = TRUE,
col = c("mistyrose", "lightcyan"),
....
cex.names = 1.0, plot.ci = TRUE, ci.l = cil, ci.u = ciu,
plot.grid = TRUE)
box()
However, obviously I lose the collors when converting from ps to a pdf
(outside of R)
2003 Aug 07
5
gregmisc
Hi
How do I install "gregmisc" packages?
I did-
% sudo R
> install.packages("gregmisc")
.
.
> barplot2()
but,
Error: couldn't find function "barplot2"
--
atuya
Mac OSX 10.2.6
R 1.7.1
2003 Nov 24
0
Enhanced heatmap, barplot functions
I've just uploaded gregmisc 0.8.6 to CRAN, it should show up in the package
tree shortly. It contains both an enhanced barplot() [named barplot2 in my
code] and an enhanced heatmap() function that I would like to see propagate
to the base and mva packages respectively. I've checked the code for both
functions against the code in R 1.8.1, and these functions have all of the
latest
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2005 Apr 12
1
Cumulative Points and Confidence Interval Manipulation in barplot2
R-Users,
I am working with gplots (in gregmisc bundle) plotting some posterior
probabilities (using barplot2) of harvest bag limits for discrete data
(x-axis from 0 to 12, data is counts) and I ran into a couple of
questions whose solutions have evaded me.
1) When I create and include the confidence intervals, the lower bound
of the confidence intervals for several of the posterior probabilities
2004 Apr 23
0
Barplot and R 1.9.0
I would like to preface this by saying that I have not been using R for long, and consider myself a beginner. But the more I use and learn R, the more impressed I am with both the 'product' itself, and the efforts of those developing it.
It has been noted (eg Duncan Murdoch, 15 April), that the barplot function in R 1.9.0, when used on a tabulated single factor, produces a plot only one
2005 Apr 14
3
Wrapping long labels in barplot(2)
I am using barplot, and barplot2 in the gregmisc bundle, in the
following way:
barplot2(sort(xtabs(expend / 1000 ~ theme)),
col = c(mdg7, mdg8, mdg3, mdg1), horiz = T, las = 1,
xlab = "$ '000", plot.grid = T)
The problem is that the values of 'theme', which is a factor, are in
some cases rather long, so that I would like to wrap/split them at a
space once they
2005 Jun 04
1
barplot and missing values?
I want to include missing values in my barplot to get the correct x-axis,
for example,
x <- c(1,2,3,4, 9)
y <- c(2,4,6,8,18)
barplot(y)
The above looks wrong because the last height in y should be a long way
over.
So I want to do something like...
x <- c(1,2,3,4,5,6,7,8, 9)
y <- c(2,4,6,8,0,0,0,0,18)
barplot(y)
However...
I am actually using barplot2 to use the
2005 May 04
1
Plotting means and confidence intervals by group factor using lattice graphics?
Dear R graphics gurus,
Another question about lattice graphics. This time I would like to plot
means and confidence intervals by group factor in a lattice graph. I can
not find any working lattice examples. Maybe a custom panel function is
the answer, but that is a bit beyond me for now.
The individual plots within the lattice graph could look like this:
# Example with confidence intervals
2009 Sep 15
2
Viewing Function Code
Hi All,
I'd like to see the function code behind the barplots2() function in the
gplots package, however i come across a bit of a stumbling block of a hidden
function, can anyone help?
> library(gplots)
> methods(barplot2)
[1] barplot2.default*
Non-visible functions are asterisked
> barplot2
function (height, ...)
UseMethod("barplot2")
<environment:
2006 Dec 28
2
Plot window - save as Postscript question
R 2.4.0 for Windows
The following plot appears as a squared window (as all r-plots)
Not all subtitles are visible, but all subtitle will appear, when
changing the aspect ratio of the plot window with the mouse to a wide
format.
But does not work when using the save as postscript menu item from the
plot window.
is there any solution for that?
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1,
2004 Nov 26
2
barplot(2?) with CI from a zero reference line
Dear R Users, (and dear Marc)
First of all many thanks for the answers to my previous questions.
I would like to barplot the mean percent change of a variate with it's
CI. Bars should start from the zero reference line to height (in
barplot2).
Is there a way to tweak barplot2, for example, to do that ?
I have tried to see what the function was but unlike other functions was
not able to
2009 Mar 03
1
SPSS data import: problems & work arounds for GSS surveys
I'm using R 2.8.1 on Ubuntu 8.10. I'm writing partly to ask what's
wrong, partly to tell other users who search that there is a work
around.
The General Social Survey is a long standing series of surveys
provided by NORC (National Opinion Research Center). I have
downloaded some years of the survey data in SPSS format (here's the
site:
2003 Jan 31
0
Version 0.8.0 of the gregmisc package is now available
Version 0.8.0 of the gregmisc package is now (or will shortly be) available
on CRAN.
New in this release:
- Enhanced and bug-fixed 'CrossTable' function (contributed by
Marc Schwartz)
- Augmented the 'barplot2' function with an 'add' argument to allow for
the addition of a barplot to an existing graphic. (contributed by
Marc Schwartz)
- Added the
2008 Dec 14
1
re ad.spss (foreign) conflict with SPSS 17 files.
SPSS seems to have changed its default datafile format, resulting in issues
for read.spss(). In Windows this results in a warning, in Debian the import
completely fails:
Debian (R version 2.8.0 (2008-10-20) i486-pc-linux-gnu, foreign_0.8-29)
> read.spss("/home/jeroen/samples/Tomato.sav")
Error in iconv(names(rval), cp, "") :
unsupported conversion from 'CP65001'