Displaying 20 results from an estimated 2000 matches similar to: "data sets"
2000 Apr 25
1
morley.dat
Hi,
I am sorry to say, I do not know where the
'morley.dat' is that is mentioned as the sample data
for the sample session on page 80 of Appendix A in the
Introduction to R book.
If you could get back to me soon about that would be
great!
Then I can prepare my next question,
steve
__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo!
2012 Apr 11
1
Michaelson-Morley Speed of Light Data
<URL: http://finzi.psych.upenn.edu/R/library/datasets/html/morley.html >
"The classical data of Michaelson and Morley on the speed of light"
Can you provide more information about the data? How were they obtained,
etc.? I do not have the book "Genstat Primer" and the nearest location where
it is available is University of York which is rather far from my location.
2002 Jun 08
3
contour plot for non-linear models
Hello all,
I've tried to reproduce the contour plot that appears in the book of
Venables and Ripley, at page 255. Is a F-statistic surface and a
confidence region for the regression parameters of a non-linear model.
It uses the stormer data that are in the MASS package.
I haven't been able to reproduce the plot either in R ( version 1.5 )
and S. It makes the axes and it puts the
2004 Sep 14
3
Signs of loadings from princomp on Windows
I start a clean session of R 1.9.1 on Windows and I run the following code:
> library(MASS)
> data(painters)
> pca.painters <- princomp(painters[ ,1:4])
> loadings(pca.painters)
Loadings:
Comp.1 Comp.2 Comp.3 Comp.4
Composition 0.484 -0.376 0.784 -0.101
Drawing 0.424 0.187 -0.280 -0.841
Colour -0.381 -0.845 -0.211 -0.310
Expression 0.664 -0.330 -0.513
2004 Dec 31
4
R-intro
Hello!
I was reading R-intro and I have some suggestions:
R-intro.html#A-sample-session
rm(fm, fm1, lrf, x, dummy)
suggestion
rm(fm, fm1, lrf, x, y, w, dummy)
The next section will look at data from the classical experiment of Michaelson and Morley to measure the speed of light.
file.show("morley.tab")
mm <- read.table("morley.tab")
suggestion
mm <- data(morley)
2004 Oct 16
7
sapply and loop
Dear all,
I am doing 200 times simulation. For each time, I generate a matrix and
define some function on this matrix to get a 6 dimension vector as my
results.
As the loop should be slow, I generate 200 matrice first, and save them into
a list named ma,
then I define zz<-sapply(ma, myfunction)
To my surprise, It almost costs me the same time to get my results if I
directly use a loop
2004 Oct 16
7
sapply and loop
Dear all,
I am doing 200 times simulation. For each time, I generate a matrix and
define some function on this matrix to get a 6 dimension vector as my
results.
As the loop should be slow, I generate 200 matrice first, and save them into
a list named ma,
then I define zz<-sapply(ma, myfunction)
To my surprise, It almost costs me the same time to get my results if I
directly use a loop
2003 Mar 28
2
file.show("morley.tab") responds "NO FILE"
"An Introduction to R", Venables and Smith, Version 1.6.2 (2003-01-10)
http://cran.r-project.org/doc/manuals/R-intro.pdf
has in its "Appendix A: A sample session", page 81,
file.show("morley.tab")
I get the response
NO FILE morley.tab
The following "Introduction to the R Project for Statistical Computing"
www.itc.nl/~rossiter/teach/sstat14/
2011 Jul 21
1
Error: bad index in plotmo functions for MARS model (package earth)
Hello all useRs,
I am tring make a simple surface plot ( 2 by 2 terms of a MARS model
(with earth package)
but I get the follow error message:
> plotmo( mars )
Error: bad index (missing column in x?)
I don't no how to workround this... :-(
I thanks in advanced by some help!
Thanks.
Cleber
###############
>
> ### example code:
> library( earth )
> data( gasoline,
2007 Jan 10
2
select subsets in data frame
Dear WizaRds!
A trivial question indeed on selecting subsets in data frames. I am
sorry. Unfortunately, I did not find any helpful information on the
introduction, searched the help archive and read in introductory books.
Please help:
I want to select column "KB" which is read via read.csv2 as a data.frame
into d. I checked that it is indeed a data.frame object and included the
2010 May 11
1
Gasoline Data in pls package
Hi -
I am using pls package for some pcr computations. There is a data set called
gasoline.
Would someone be able to tell me what command(s) could be used to produce
this graph in R? I am not sure where the log(1/R) - Y-axis - are coming
from
Thanks much
Ravi
1999 Sep 18
1
janka data
There is a documentation of janka hardness data in MASS, but no data.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2003 Jan 22
2
Macintosh rm162 fails read.table() from sample (PR#2485)
Full_Name: Chris Yager
Version: rm162
OS: Mac OS 9.2.2
Submission from: (NULL) (67.117.145.197)
As a new user I was running A sample session from Appendix A of An
Introduction to R. 'mm<-read.table("morley.tab")' failed. Note that the
prior command, 'file.show("morley.tab")', succeeded. Problem does NOT occur in
version rm161.
NO other bug
2009 Dec 08
1
Serial Correlation in panel data regression
Dear R users,
I have a question here
library(AER)
library(plm)
library(sandwich)
## take the following data
data("Gasoline", package="plm")
Gasoline$f.year=as.factor(Gasoline$year)
Now I run the following regression
rhs <- "-1 + f.year + lincomep+lrpmg+lcarpcap"
m1<- lm(as.formula(paste("lgaspcar ~", rhs)), data=Gasoline)
###Now I want to find the
2004 Jun 03
2
SAMBA 3.0.4 authorisation issues
I have configured samba 3.0.4 as follows:
./configure --with-krb5=/usr/local --with-automount --with-pam --with-utmp
--with-winbind --with-libsmbclient --with-netlib='-lresolv'
ran make and make install. When I run
./smbclient \\<hostname>\<useraccount>
I get the following:
session setup failed: NT_STATUS_LOGON_FAILURE
Logfile looks like this:
[2004/06/03 15:41:56, 1]
1999 Jul 07
1
Linear Models with positive coefficients?
Hi,
is it possible in one of the libraries on linear methods to constrain
the coefficients to
be positive?
Thanks
Chris
--
Christoph M. Friedrich | mailto:friedrich at computer.org
Gesellschaft f?r Modulfermenterbau mbH (GfM mbH) |
http://www.tussy.uni-wh.de/~chris
Alfred-Herrhausen Str. 44 ; D-58455 Witten, Germany
2002 Jul 18
2
R sample session
Hi:
I'm trying to do the sample session listed in Appendix A
of the "Introduction to R" manual from:
http://cran.R-project.org/manuals.html
I've already downloaded R-1.5.1.tgz from:
http://cran.r-project.org/
The problem is I can't find the file "morley.tab"
which I need to start the sample session (as stated
in the manual).
Do you know where I can find it?
2009 Oct 22
1
data frame is killing me! help
Usage
data(gasoline)
Format
A data frame with 60 observations on the following 2 variables.
octane
a numeric vector. The octane number.
NIR
a matrix with 401 columns. The NIR spectrum
and I see the gasoline data to see below
NIR.1686 nm NIR.1688 nm NIR.1690 nm NIR.1692 nm NIR.1694 nm NIR.1696 nm
NIR.1698 nm NIR.1700 nm
1 1.242645 1.250789 1.246626 1.250985 1.264189 1.244678 1.245913
2017 Jul 13
4
Quadratic function with interaction terms for the PLS fitting model?
poly(NIR, degree = 2) will work if NIR is a matrix, not a data.frame.
The degree argument apparently *must* be explicitly named if NIR is
not a numeric vector. AFAICS, this is unclear or unstated in ?poly.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom
2011 Jan 10
3
Lattice, combine histogram and line graph
Hello everyone,
I have a simple histogram of gasoline prices going back a few years that
I want to insert a line graph of consumer price index (cpi) over the
histogram. I have looked through the "Lattice" book by Deepayan Sarkar
but don't see anything there. How might this be done? An example would
be wonderful.
Current code snippet follows. For example additional field to add