Displaying 20 results from an estimated 4000 matches similar to: "box doesn't surround words in legend in printed output"
2002 Feb 17
3
Little graph questions!
I'm working up a set of small working examples in R to show what various
distributions are and the beauty of the central limit theorem. Those
example programs are in this directory:
http://lark.cc.ukans.edu/~pauljohn/R/ExampleCode/
You can feel free to use those if you want, or you can send me other
small working example code for R. The key here is small, self contained
things that
2000 Aug 09
1
Trying to make plot of several time series in same graph
Dear Friends in R:
On RedHat linux, R-1.1, I've gotten far enough to create the graph that
shows on the screen with 3 lines, but I have some trouble. Here is the
way I created the three "overlaid" graphs:
data<-read.table("DataCulture0",header=T,as.is = TRUE)
attach(data)
tmp1<-plot(acquaint~T,type='l', ylim=c(0,1),ylab="average
2001 Apr 10
2
clear R-objects inside a function?
Using RedHat Linux 7.0, R-1.2.2, R-hdf5-1.2 library,
I want to load a dataset, do some stuff with it, then erase its objects,
get an other, repeat. My friend wrote a function which tried to clear
away all the objects. At the end, it uses rm() to remove objects. This
is the same way we do it interactively, from the R prompt:
testLoadSeveralHDF <- function(numFiles) {
for (i in
2000 Aug 06
1
Trying to "pretty up" output from R job
Running R 1.1 on RedHat Linux 6.2.
I need to write a shell script that goes through a bunch of directories
of simulation output, creating summary files that have the mean and
standard deviation of the variables found in the data files in each
directory. I've got the R code doing almost the right thing. It reads
in data, then gets the mean and standard deviation for the numeric
variables,
2001 May 07
2
semi-parametric (partial linear?) regression
I just heard a talk about a semi-parametric model. I was quite excited
by the idea. This model is fitted
y= xB + g(z) + e
where x is a data matrix, B a column vector, z is another data matrix,
and g is a smooth model fitted by a Kernel Smoothing regression (I got
the idea any smoother would do as well).
The speaker said that when z is considered as a "control" variable, and
there is
2002 Apr 13
2
trouble getting output from graphs, again
It seems like every time I try to do something a little different, I
cannot get output saved just right.
This is on RedHat 7.2 with R 1.4.1.
The png output looks fine, but the eps output has the problem that the
bounding box on the legend cuts the legend in half. I put a copy of a
bad one here:
http://lark.cc.ukans.edu/~pauljohn/ResearchPapers/meanProtest-box.eps
When I asked about these
2001 Nov 28
2
Value lables, variable lables
I'm looking for an analogy to SPSS and "variable lable" and "value
lable" in R. I have a copy of S+4.0 and can't find any info in their
docs, and don't find it in R-intro either.
In SPSS, for each variable, there is a name like
VAR001
and a variable lable (a longer descriptive string) like
Respondent ID
and for many of the values of other variables there are
2001 Aug 13
3
process all files ending in *.dat
On Linux (RH7.1) with R installed from CRAN rpms:
I have many files with miscellaneous names *.dat. I would like to
successively open each one, run some functions on them, and then write
some output numbers to *.summary. I have succeeded in doing this when I
type in each file name individually for the data input, but have not
found a way to search files in a directory and grab the *.dat. If
2000 Mar 09
1
What is XGobi and what is it for?
I've seen XGobi come up in here from time to time, and I wonder what is
it, what is it for, do I need it? How about throwing me a bone here!
--
Paul E. Johnson email: pauljohn at ukans.edu
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785)
2002 Feb 12
6
A couple of little R things I can't figure out (column percents, regression with lagged variables)
Simple usage questions that I ought to be able to figure on my own, but
can't.
1.I'm able to produce a cross tabulation table showing counts with
either table or xtabs. But I want column percentages for
interpretation, and it seems stupid to sit there with a calculator
figuring marginals and column percentages. How to make R do it after this:
> x <- c(1,3,1,3,1,3,1,3,4,4)
2001 Aug 13
1
Processing all *.dat worked. Thanks
I got great, quick advice here earlier today. One little hitch was that
the pattern in list.files wants a regular expression, and *.dat was
grabbing all files with .dat in them, not ones ending in .dat. This
code creates a *.dat.summary file with the mean and std. deviation. of
the numeric variables for every *.dat file in the current directory.
myDat<-list.files(pattern="*.dat$")
2002 May 30
2
Systems of equations in glm?
I have a student that I'm encouraging to use R rather than SAS or Stata
and within just 2 weeks he has come up with a question that stumps me.
What does a person do about endogeneity in generalized linear models?
Suppose Y1 and Y2 are 5 category ordinal dependent variables. I see
that MASS has polr for estimation of models like that, as long as they
are independent. But what if the
2002 Jan 06
0
New RH7.2 rpms for R-hdf5 support available
HDF5 is a high quality data storage format from NCSA
(http://hdf.ncsa.uiuc.edu/index.html) Marcus Daniels of the Swarm
Development Group has made available an R library called hdf5 which
allows loading and saving of data in hdf5 format. The source for his
library is here:
ftp://ftp.swarm.org/pub/swarm/src/testing/hdf5_1.4.7.tar.gz
I prefer to use RPMs to maintain software across many linux
2003 May 28
2
? building a database with a the great examples
Dear R help reader,
I'm not an expert in R and are lerning a lot by reading the help
digest, which is sometimes difficult because the huge amount of data
posted. I have posted some questions before, and are impressed how
quick I got a solution for my problem. Sometimes with quite different
suggestions. I was always wondering if my questions didn't come up
before. On the other site,
2004 Oct 22
3
dotplot & lattice problems: y axis values and bg color output in jpg
I have a linux system with Fedora Core 2 and R-2.0.
I was comparing plots made with plot() and dotplot() and discovered a
problem. Although the dots are positioned correctly, the numerical
labels in the dotplot y axis are not correct.
I put copies here:
http://lark.cc.ku.edu/~pauljohn/R/plotTrouble1.jpg
That is the "correct" one from plot, with the higest value on y showing
at 18.
2000 Aug 31
2
What happenes with R-gnome?
When I saw "SciGraphica":
http://magnet.fsu.edu/~feiguin/scigraphica/screenshots.html
I wished it could be a GUI frontend for R on Unix.
--
Paul E. Johnson email: pauljohn at ukans.edu
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX:
1999 Apr 21
0
R RPMS and HDF5
Greetings
I'm new to R. I became interested in it because my friends at the Swarm
Development Team at the Santa Fe Institute have been using/developing R
to work as a front end for HDF5 datasets.
>From looking at the RPMS for R, I got the idea they were compiled
without support for HDF5. Correct?
If you are interested in the HDF5 data format and R, on my page I have
RPMS for HDF5 and
1999 Oct 06
1
uploaded hdf5 and R 0.65.1 RPMs
Dear everybody:
HDF5, a dataset formatting library, and R that is built with it, have
been uploaded to ftp://ftp-fis.iarc.fr/pub/incoming. The R RPM uses the
spec file created by Martyn Plummer as a starting point, and makes only
a few trivial changes.
-rw-rw-r-- 1 ftp 100 3416612 Oct 6 17:45
R-base-with-hdf5-0.65.1-1.i386.rpm
-rw-rw-r-- 1 ftp 100 2300453 Oct 6 17:48
2000 Aug 31
0
Re: R-Gnome. I don't want abuse!
I'm getting some abuse for asking about R-Gnome and I don't think it is
fair. I did not create that project, I was just asking how it was going
and whether that other project would help out.
Now I'm getting some email that says some of you don't want a GUI
interface because you think interfaces like that are inconvenient. OK.
I agree, in most cases. I think GUIs for model
2003 Dec 18
3
diagnostic information in glm. How about N of missing observations?
I handed out some results from glm() and the students ask "how many
observations were dropped due to missing values"?
How would I know?
In other stat programs, the results will typically include N and the
number dropped because of missings. Without going back to R and
fiddling about to find the total number of rows in the dataframe, there
is no way to tell. Somewhat