Displaying 20 results from an estimated 8000 matches similar to: "Value lables, variable lables"
2006 Jun 06
2
SPSS variable lables import
Hi,
I try to get the variable labels of a SPSS data file into R but don't
find this mentioned in the help file for foreign. Is there another way
to get them ?
BTW: An SPSS variable name is like: VAR001, whereas the variable label
might be 'Identification no.'
Thanks in advance,
F. Thomas
--
..........................................
Dr. Frank Thomas
FTR Internet Research
93110
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,
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List,
I am trying unsucessfully to modify the fontsize of lables in mosaic:
require(vcd)
mosaic(Titanic, pop=FALSE,
labeling_args=list(rot_labels=c(bottom=90,top=90),
set_varnames = c(Sex = "Gender"),
gp_text=gpar(fontsize=20))) #can't get it to resize text
tab <- ifelse(Titanic < 6, NA, Titanic)
# it works for labeling_cells
labeling_cells(text = tab,
2009 Sep 26
1
Mixed font in lattice xyplot lables
Hi all, can anyone suggest a reason as mto why my xlab is plotting this text
at oposite ends of axis. I would like to represent my lable like this:
Moran's I ...but with the I in italics. For some reason they seperate and
position at oposite ends of the axis??
Thank you
library(lattice)
dat <- data.frame(x = rnorm(10),y = rnorm(10))
xyplot(y ~ x, dat,xlab=expression("Moran's
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
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 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
2001 Aug 08
2
box doesn't surround words in legend in printed output
I have made a plot with a legend and on the screen it looks fine, but
when I save as jpg or pdf, or print, the legend box is too small, it
cuts through the words on the right side.
I put an example here:
http://lark.cc.ukans.edu/~pauljohn/R/apdftest.pdf
Is there a work around?
--
Paul E. Johnson email: pauljohn at ukans.edu
Dept. of Political Science
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 Sep 21
2
Ever see a stata import problem like this?
Greetings Everybody:
I generated a 1.2MB dta file based on the general social survey with
Stata8 for linux. The file can be re-opened with Stata, but when I bring
it into R, it says all the values are missing for most of the variables.
This dataset is called "morgen.dta" and I dropped a copy online in case
you are interested
http://www.ku.edu/~pauljohn/R/morgen.dta
looks like this
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 Sep 28
1
Nothing can be pasted...
> X-Authentication-Warning: pc16.stat.umu.se: gb owned process doing -bs
> Date: Thu, 28 Sep 2000 14:28:31 +0200 (CEST)
> From: gb <gb at stat.umu.se>
> To: r-help at stat.math.ethz.ch
> Subject: [R] Nothing can be pasted...
> X-MIME-Autoconverted: from 8bit to quoted-printable by pc16.stat.umu.se id
e8SCSVp01926
> X-MIME-Autoconverted: from quoted-printable to 8bit by
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)
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 Jul 20
4
plotting dendrograms
Hello,
Can anyone offer any insight on graphing classification dendrograms with
the nodes marked?
plot(tree()) produces a nice tree structure but there's no acccompanying
text.
Thanks,
D
S. David White
sdavidwhite at bigfoot.com
Columbus, Ohio
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
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)
2000 Aug 31
3
help with data import/export
how can I import/export data from ms excel?
also is there a way to import/export data of the hdf format?
is there a way to import/export hdf format for ms excel as well?
thank you very much in advance.
/js
######################################################################
This e-mail message has been scanned and cleared by MailMarshal
http://www.marshalsoftware.com
2001 Sep 12
2
nonlinear fitting when both x and y having measurement error?
Dear r-help,
I want to conduct nonlinear fitting to a data frame having x and y
variables. Because both x and y have measurement error, I want to
include error term of x variable in the model. I'm not sure but I
think ordinary nls model only consider error term of y variable.
How can I do this kind of nonlinear fitting in R. Is there any
examples in nls package?
Thanks in advance,
--
2003 Dec 19
2
weighted regression
To all
I have some simple questions pertaining to weights used in regression.
If the variability of the dependent variable (y) is a function of the magnitude of predictor
variable (x), can the use of weights give an appropriate answer to the regression parameters
and the std errors?
Assume that y at x=1 and 6 has a standard deviation of 0.1 and at x=11 it is 0.4
Then according to a web page on