Displaying 20 results from an estimated 1000 matches similar to: "Advice on using barplot"
2002 Feb 19
1
Smoothed lines over barplots
Greetings.
I'd like to generate a graph that displays two distributions as
side-by-side bar graphs, then plots a smoothed line of the distribution on
top. The idea is to be able to visually compare the distributions.
I've done the following, but the axes don't line up. Any suggestions?
barplot(table(hcd.df$datecat, hcd.df$auth.sum), beside=TRUE,
2002 Jan 10
2
Simple summary question
I'd like to get summary statistics (really just a mean would be fine) for
a vector in a data frame, but split based on the value of another
vector. That is, I have a data frame (hcd.df) with variables datecat
(which is always 1 or 2) and auth.sum (-8..+8). I've used xtabs to get
chi-square comparisons, but what I need now is a simple mean of auth.sum
where datecat is 1 and another where
2002 Jan 15
3
Getting started with R
I've got a background in computer science & have been using Linux for
nearly a decade. I'm working on a Ph.D. in education and technology
and I essentially live in emacs and do all of my writing in LaTeX.
To me R seems like the perfect stats package. Unfortunately, the
learning curve is killing me. I feel like that if I'd waded through
pulling down menus in SPSS or SAS I could
2002 Jan 27
5
EPS->LaTeX problem
Greetings-
I have a strange problem displaying a graph from R (1.3.1, linux) in a
LaTeX document of documentclass seminar.
I'm using graphicx to include the file:
\usepackage{graphicx}
...
\resizebox{\textwidth}{\textheight}{\includegraphics{crime.eps}}
When I do this, the entire slide (including the page number) is rotated
180 degrees. Any ideas why this happens?
The graph was created
2007 Mar 08
2
Memory error
Greetings-
Running R 2.4.0 under Debian Linux, I am getting a memory error trying to
read a very large file:
> library(foreign)
> oldgrades.df <- read.spss('Individual grades with AI (Nov 7 2006).sav',to.data.frame=TRUE)
Error: cannot allocate vector of size 10826 Kb
This file is, granted, quite large:
aperrin at perrin:/data0/grading$ ls -l
total 630304
-r-xr-xr-x 1 aperrin
2002 Jan 27
1
DBM databases for R?
Hello!
Can I use DBM databases (as they are used in Perl) for the import of
large datasets in R?
Thanks in advance for your help,
Petra Steiner
-
---------------------------------------------------
Petra Steiner
Arbeitsbereich Linguistik
Universitaet Muenster
Huefferstrasse 27
48149 Muenster
2002 Feb 08
3
Plotting multiple columns on same graph
I'd like to produce a series of simple line graphs for my methods class
that show the three questions used on a repeated survey to make up a
particular index. The data frame is:
> efficacy.df
year complicated havesay dontcare
1 1952 71 68 63
2 1954 NA NA NA
3 1956 64 71 71
4 1958 NA NA NA
5 1960
2001 Jun 06
3
HLM-like analysis in R
Greetings-
I have some data on which I need to do something like a Hierarchical
Linear Model (please bear with me, I'm only learning the technique so I
don't know yet if my language is correct). Essentially I'm analyzing data
at two levels simultaneously; data are about individuals an organizations
of which they are members.
Can someone point me toward an appropriate package in R?
2002 Feb 05
2
Measures of agreement
Greetings.
I've been experimenting with some algorithms for document classification
(specifically, a Naive Bayes classifier and a kNN classifier) and I would
now like to calculate some inter-rater reliability scores. I have the data
in a PostgreSQL database, such that for each document, each measure (there
are 9) has three variables: ap_(measure), nb_(measure), and
knn_(measure). ap is me
2012 Sep 18
4
[PATCH] EHCI/Xen: propagate controller reset information to hypervisor
Just like for the in-tree early console debug port driver, the
hypervisor - when using a debug port based console - also needs to be
told about controller resets, so it can suppress using and then
re-initialize the debug port accordingly.
Other than the in-tree driver, the hypervisor driver actually cares
about doing this only for the device where the debug is port actually
in use, i.e. it needs
2012 Nov 02
5
[PATCH, v3] fix build with XEN and EARLY_PRINTK_DBGP enabled but USB_SUPPORT disabled
Since there''s no possible caller of dbgp_external_startup() and
dbgp_reset_prep() when !USB, there''s no point in building and exporting
these functions in that case. This eliminates a build error under the
conditions listed in the subject, introduced with the merge
f1c6872e4980bc4078cfaead05f892b3d78dea64.
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jan
2008 Apr 16
1
Centos 5.1 - Xen/ domU related booting questions
Hello,
I successfuly run Centos 5.1 domU in Centos 5.1 dom0.
But I still have some minor issues/errors/warnings while
booting I'd like to fix and here are my questions:
1. How to disable loading usb host controler module:
[...from dmesg... ]
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
insmod: error inserting '/lib/uhci-hcd.ko': -1 No such
2001 Aug 06
1
running R from Perl
Hi everyone,
I'm interested in running R remotely from a Perl program--specifically I
want to plot some data in Perl and return the graph as an object to Perl.
Does anyone know if this is possible?
Thanks,
Evan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2005 May 28
1
Forcing ticks in plot for hclust object outside the limits
Hello!
I have the following problem.
I would like to plot the hclust object "hcd" (bellow, at the end of the
mail) with ticks at seq(0.05,0.25,by=0.05). I tried using the code
plot(hcd)
and
plot(hcd,axes=FALSE)
axis(2,seq(0.05,0.25,by=0.05))
In both cases, the resoult is the same, ticks at 0.05 and 0.25 are not
printed. I tried changing the ylim argumet in plot, however I got a
2007 Nov 13
0
[LLVMdev] BasicAliasAnalysis and out-of-bound GEP indices
It's an optimization opportunity!
When behavior is undefined, we're free to interpret it to be "whatever
makes optimization easiest." If the two do actually happen to alias,
well, it's the programmer's fault anyways, because they were doing
something undefined!
--Owen
On Nov 13, 2007, at 4:13 PM, Wojciech Matyjewicz wrote:
> Hi!
>
> While investigating
2008 Jun 14
1
getting device to boot from thumb drive
I have created a custom kernel as I needed to add floating point
emulation to the kernel.
I used the command below to create my initrd:
mkinitrd --preload=ohci-hcd --preload=uhci-hcd --preload=ehci-hcd
--preload=ext3 --preload=jbd --preload=scsi_mod --preload=sd_mod
--preload=ata_piix --preload=libata /boot/initrd-2.6.9-67.ELmsgnet.img
2.6.9-67.ELmsgnet
When I copy my vmlinuz and initrd to
2002 Feb 01
1
Sampling from a database
I use RODBC and RpgSQL quite a lot to access files stored in another
machine under PostgreSQL. Since I am now using files which do not fit
into R's memory, I would like to take random samples. What I would
like is to issue a query such as
SELECT * FROM file WHERE runif > 0.9
with "runif" being a uniformly distributed random number, generated on
the fly; but I cannot
2002 Apr 23
3
stacking vectors of unequal length
R-users --
I would like to make a single vector out of something like the following:
y0 <- rep(0,100)
y1 <- rep(1,20)
and stack them one on top of the other to a vector y with length 120.
Thanks,
Dan
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dan Powers
Associate Professor, Sociology
University of Texas at Austin
2005 Dec 12
1
dendrogram: how to obtain leaf height
Dear All,
How can the height of a leaf be extracted from a dendrogram?
Sure, I can print it, but I am not able to, say, store it in an object. I think I understand that the height is a property of the split, not the leaf itself, but the printing functions display a "height" or "h" (which changes with "hang") and that is what I want. Obviously, the info is there
2002 Mar 01
3
calculating std err (SEM)?
Is there a "canned" function in R for finding the standard error of the
mean? I have tried
> sem <- function(x) c(mean =mean(x),
+ SEM = stdev(x)/sqrt(length(x)))
> sem(pnet.lai)
Error in sem(pnet.lai) : couldn't find function "stdev"
It looks like there is no stdev function in R
Thanks,
Kirk
Kirk R. Wythers email: kwythers at umn.edu
University of