Displaying 20 results from an estimated 500 matches similar to: "read.spss"
2006 Nov 27
1
Help with response CIs for lme
Hi,
Can someone please offer a procedure for going from CIs produced by
intervals.lme() to fixed-effects response CIs.
Here's a simple example:
library(mlmRev)
library(nlme)
hsb.lme <- lme(mAch ~ minrty * sector, random = ~ 1 | cses, Hsb82)
(intervals(hsb.lme))
(hsb.new <- data.frame
minrty = rep(c('No', 'Yes'), 2),
sector = rep(c('Public',
2006 Nov 28
1
Slight discrepancy between predict.lm() and all.effects()
In the course of exploring response prediction, I stumbled upon a
small discrepancy between the CIs produced by predict.lm() and
all.effects()
require(mlmRev)
require(effects)
hsb.lm <- lm(mAch ~ minrty * sector, Hsb82)
hsb.new <- data.frame(
minrty = rep(c('No', 'Yes'), 2),
sector = rep(c('Public', 'Catholic'), each = 2))
hsb.eff <-
2011 Apr 22
3
Reading a TIFF file
Dear all, I have been trying to speed up a process we have been done in ArcGIS. We have to read a single layer TIFF (monochrome image) in . For this, I have used the "rtiff" package. After reading the TIFF file, I compared the raw values for each pixel that I have in ArcGIS to the ones obtained in R. In ArcGIS I have discrete values in the range 0..255, while in R I have continuous
1999 Nov 23
1
postscript colors
Is color specification like this available in R for setting
postscript colors?
> hue <- c(0, seq(from = 0, by = 1/(nclass), length = nclass))
> sat <- c(0, rep(1.0, nclass))
> bri <- c(0, rep(1.0, nclass))
> zcolors <- cbind(hue, sat, bri)
> ps.options (setcolor=ps.setcolor.hsb,colors=zcolors)
2004 Feb 14
1
Digital Image Processing
I have seen several posts (but few answers) in "R-help search" as to whether there are any packages that use R to process digital images. There are several categories related to the general type of problem that are useful to know about:
-- Any existing packages for taking a digital image format {any flavor like TIFF, jpg, png, or GIF (or even TWAIN input)} and representing it internally
2008 Dec 10
1
trouble loading candisc
Hello,
I am having trouble loading the package candisc onto my R distribution. I am
using 2.7.1-2. I do a "> install.packages("candisc"
and get the following output.
Warning in install.packages("candisc") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk
2004 Jan 29
6
please help me!
hello there,
I'm a new user to R and I am having difficulty reading a file into the
program. Here's the error I keep getting, I bet there's a simple solution,
but I cant find any...
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `c:MikeWeather2.txt'
I have made sure that my working directory is the same as
2007 Aug 12
2
Convert factor to numeric vector of labels
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20070812/6da70dc8/attachment.pl
2004 Sep 22
3
My testimonial about skuper viakgra
[This email is either empty or too large to be displayed at this time]
2008 Jul 07
2
Drawing a colour wheel - bug in hcl?
Hi All,
I'm trying trying to draw a colour wheel (a slice of hcl space) in R.
Running the code below doesn't give me what I expect - there's some
oddly bright colours of the wrong hue around c(0, 0) and I see three
coloured circles (a small magenta, a medium sized yellow and a large
cyan). Am I doing something wrong or is there a bug in the hcl code?
(Also any suggestions for
2000 Jul 20
1
Installing R-1.1.0 (PR#612)
Dear R-developers,
I finally got around to install R 1.1.0 but had problems at the `make
check' stage.
After compiling the released R 1.1.0 version the `make check' stage
stopped while checking the examples in base. There was some problem
with the quantile function and the check stopped complaining that NA's
are not allowed.
But I assume that this problem is already known because
2008 Apr 09
4
Skipping specified rows in scan or read.table
Hi,
I have a data file, certain lines of which are character fields. I would
like to skip these rows, and read the data file as a numeric data frame. I
know that I can skip lines at the beginning with read.table and scan, but is
there a way to skip a specified sequence of lines (e.g., 1, 2, 10, 11, 19,
20, 28, 29, etc.) ?
If I read the entire data file, and then delete the character
2003 May 30
1
Sparse Matrix
I am learning about sparse matrices and wonder if R can create them from a full matrix. Can anyone tell me how I might be able to accomplish this.
------
Harold C. Doran
Director of Research and Evaluation
New American Schools
675 N. Washington Street, Suite 220
Alexandria, Virginia 22314
703.647.1628
<http://www.edperform.net/>
[[alternate HTML version deleted]]
2003 Jun 23
1
R Commander
I am trying to import a file using R Commander. It was working a few days ago, but now I get the following message when I try to import from SPSS. Any thoughts?
Error in parse(file, n, text, prompt) : parse error
------
Harold C. Doran
Director of Research and Evaluation
New American Schools
675 N. Washington Street, Suite 220
Alexandria, Virginia 22314
703.647.1628
2003 Jul 22
1
Conditional Statements for Graphing
Dear List
I have math test scores for male and female students where gender is a dummy code (female =1). I also have a variety of other demographic variables.
However to begin, I want to create a very simple stripchart where female math scores are a blue circle and male scores are a red triangle.
I am having difficulty using conditional statements to accomplish this.
Thank you.
------
2003 Oct 02
0
Doubly Multivariate LME
Dear R:
I am trying to fit a doubly multivariate LME (DM) where I have two response variables measured on two occasions per person. Specifically, reading and math scores measured at the beginning and ending of a school year. The response variables have a correlation of r = .85.
The response variables in the data matrix are stacked in a vector with a dummy code flagging each outcome and with
2003 Dec 16
0
error constraints in lme
Dear List:
I am trying to figure out how to incorporate measurement error in an longitudinal educational data set using lme to create a "true score" model. As a by-product of the procedures used to scale educational tests, one can obtain a person-specific measurement error associated with each score, or a conditional standard error. For example, a score of 200 would have measurement
2003 Apr 08
3
Multilevel Analyses in R
I am new to R and would like to get some practice analyzing multilevel data. I wonder if anyone can point me to a sample data set and command lines that I might replicate for a sample session. I would then compare my output with HLM output.
Any help is appreciated.
------
Harold C. Doran
Director of Research and Evaluation
New American Schools
675 N. Washington Street, Suite 220
Alexandria,
2008 Aug 21
4
Very confused with class
Hi all,
I am very confused with class.
I am looking at some weather data which I want to use as explanatory
variables in an lm. R has treated these variables as factors (i.e. with
different levels), whereas I want them treated as discretely measured
continuous variables. So I need to reassign the class of these
variables, right?
Indeed, doing
class(southwest$pressure)
(pressure being air
2003 Oct 06
2
Selecting a random sample for lmList()
Dear List:
I have a data set with over 7000 students with about 4 observations over time per student. I want to examine the within-group fits of a random sample of this group as it takes forever to compute and draw all 7000 regressions.
Here is the code I have used so far.
>group<-groupedData(math~year|childid, data=scores)
>group.list<-lmList(group)