Displaying 19 results from an estimated 19 matches for "geyser".
Did you mean:
gebser
2004 May 11
2
How to import file from excle?
...e question.
First I have data in Excle ,then I would like to fit distribution
from this data, how to import this data from excle? What's command?
Thaks for first answer
Second
I learn R program from The Basics of S and S-plus book because it's basic,
and then when I use command is attact(geyser) [follow from book] but I can't
.
Because it's command only S (i think some command can't use in R???)
Thanks
Best regards
Mathinee
2006 Mar 13
1
Density Estimation
Hallo
I am trying to use the package LocFit to follow the example given in an
Introductory note of C Loader concerning density estimation. It involves
the "geyser" dataset (107 observations on durations, inlc in the
package).
I have tried the following (using the latest version of R):
fit.of <- locfit(~geyser,flim=c(1,6),alpha=c(0.15,0.9))
plot(fit.of,get.data=T,mpv=200)
This produces a plot (after several warnings).
My question is: how can I get t...
2017 Apr 27
2
R-3.4.0 and recommended packages
...0!
|
| or rather before 14 April 2017, which is when R from revision r72510 was
| uploaded to sid as pre-release candidate.
Another example with KernSmooth:
> library(KernSmooth)
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
>
> example(bkde)
bkde> data(geyser, package="MASS")
bkde> x <- geyser$duration
bkde> est <- bkde(x, bandwidth=0.25)
Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found
>
Maybe this part of NEWS is what matters:
* Packages which register native routines for ....
2004 Jul 28
3
where is "average shifted histogram"?
Hello!
In the book Modern Applied Statistics with S (4th ed),
section 5.6 the concept of the "average shifted
histogram" or ASH is mentionend. Also it is mentioned
in the same section "The code used is in the scripts
for this chapter" (from figure caption 5.8, analysis
of the geyser duration data).
*However*, I have trouble finding the code for that
function! Admittedly, I am a newby to R. Where exactly
do I find the scripts to that chapter? Commands like
library(MASS), or help.search("average shifted
histogram") did not help.
Secondly: Is the fact that I have troub...
2004 Aug 03
1
Using MASSv3's example from 8.7 in R?
...() using
optim()--is there an explanation how to do this somewhere? Thanks.
Best wishes,
Sven C. Koehler
=========================================================================
Example from MASSv3 8.7
=========================================================================
library(MASS)
data(geyser)
attach(geyser)
truehist(waiting, xlim=c(35,110), ymax=0.04, h=5)
width.SJ(waiting)
wait.dns <- density(waiting, 200, width=10.24)
lines(wait.dns, lty=2)
lmix2 <- deriv3(
~ -log(p*dnorm((x-u1)/s1)/s1 + (1-p)*dnorm((x-u2)/s2)/s2),
c("p", "u1", "s1", &quo...
1998 Jun 03
0
R-beta: locfit package.
...Unix 3.2D on an alphastation, with R 0.61.1
I downloaded the CRAN distribution of locfit. I had no problems installing it
with R INSTALL (I installed it into my library rather than the default base
library; the output is attached at the end of this email message).
I then tried to test it with the Geyser example in
http://cm.bell-labs.com/cm/ms/departments/sia/project/locfit/dens.html
and I get
> library(locfit)
> data(geyser,package=locfit)
> fit <- locfit(~geyser,alpha=c(0.1,0.80),flim=c(1,6))
Segmentation fault (core dumped)
Does anyone have any ideas?
Best wishes,
Mark
------...
2007 Nov 26
2
2d Joint Density Plot
Hi all,
I'm fairly new to R, so I'm still trying to feel out what is available to
me. I would like to be able to plot joint density in a two dimensional plot
where density is indicated by color or darkness gradients, like a 2d color
coded topographic map. Ideally, the output would be something I could then
plot other points or lines on.
Currently, I'm calculating joint density with
2002 May 19
3
How to shade part of a density plot
I'm trying to shade part of a density plot. The code I'm trying (using
the Old Faithful data as an example) is something like this:
# The Old Faithful geyser data
data(faithful)
d <- density(faithful$eruptions, bw = "sj")
plot(d)
polygon(d[d$x>4], col = "wheat")
I expected that the part of the curve to the right of 4 on the x axis
should be shaded, but nothing gets shaded at all. In fact, when I just
try to print d[d$x>4] I...
2017 Apr 27
0
R-3.4.0 and recommended packages
...h is when R from revision r72510 was
> | uploaded to sid as pre-release candidate.
>
> Another example with KernSmooth:
> > library(KernSmooth)
>
> KernSmooth 2.23 loaded
> Copyright M. P. Wand 1997-2009
>
> > example(bkde)
>
> bkde> data(geyser, package="MASS")
>
> bkde> x <- geyser$duration
>
> bkde> est <- bkde(x, bandwidth=0.25)
> Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found
>
>
> Maybe this part of NEWS is what matters:
>
> * Packages...
2009 Dec 02
2
Joint density kde2d works improperly?
Dear all,
Please, look at the following code:
attach(geyser)
f1 <- kde2d(duration, waiting, n = 5)
a <- 0
for (i in 1:5){
for (j in 1:5){
a <- a + f1$z[i,j]
}
}
As far as I understood from Help kde2d returns matrix elements of which are
values of joint probability mass function Pr(X=x,Y=y) therefore, sum of its
elements should sum to 1.
Which...
2017 Apr 27
2
R-3.4.0 and recommended packages
Am Dienstag, 25. April 2017, 11:21:31 schrieb Dirk Eddelbuettel:
> On 25 April 2017 at 16:11, Johannes Ranke wrote:
> | This looks similar to what I got this morning when I tested my
> | (unreleased)
> | backport of R 3.4.0 to Debian jessie. My test was
> |
> | library(MASS)
> | example(rlm)
> |
> | and there was an object that was not found. I am on a train on the way
1999 Oct 08
1
floor(NaN) problem fixed in massdist.c (PR#291)
...5.0+R-release.diff (Oct 6, 1999)
OS: Linux/Alpha
Submission from: (NULL) (129.79.224.171)
This will fix the "problem 2 (crash in fft)" in Bug ID #277
On Linux/Alpha, make check failed because R could not handle the following
example in base-Ex.R
##___ Examples ___:
# The Old Faithful geyser data
data(faithful)
:
:
## Missing values:
x <- xx <- faithful$eruptions
x[i.out <- sample(length(x), 10)] <- NA
doR <- density(x, bw=0.15, na.rm = TRUE)
doN <- density(x, bw=0.15, na.rm = FALSE)
### it fails at this statement ###
lines(doR, col="blue")
lines(doN, col...
2018 Mar 04
2
problema con shiny
...# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
#setwd("C:/curso 2017-18/curso R/shiny/prueba1")
library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Old Faithful Geyser Data"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
sliderInput("bins",
"Number of bins:",
min = 1,
max = 50,
value = 30)
),...
2017 Apr 27
3
R-3.4.0 and recommended packages
...ion r72510 was
| > | uploaded to sid as pre-release candidate.
| >
| > Another example with KernSmooth:
| > > library(KernSmooth)
| >
| > KernSmooth 2.23 loaded
| > Copyright M. P. Wand 1997-2009
| >
| > > example(bkde)
| >
| > bkde> data(geyser, package="MASS")
| >
| > bkde> x <- geyser$duration
| >
| > bkde> est <- bkde(x, bandwidth=0.25)
| > Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found
| >
| >
| > Maybe this part of NEWS is what matters:
| >
|...
2007 Apr 20
1
Estimating a Normal Mixture Distribution
...lied Statistics with S (4th edition),
chapter 16 ("Optimization"), the dataset is available under MASS in
R. Unfortunately, when I tried out the code from the book it didn?t
work out, although I tried to copy the code as accurately as possible:
CODE START
# loading dataset.
attach(geyser)
# defining start values for the five parameters.
p0<-c(p=mean(waiting<70),u1=50,s1=5,u2=80,s2=5)
# defining the objective function (=log-likelihood function).
mix.obj<-function(p,x)
{
e<-p[1]*dnorm((x-p[2])/p[3])/p[3] + (1-p[1])*dnorm((x-p[4])/p[5])/p[5]
if (any(e<=0)) Inf
else...
2005 Feb 02
4
(no subject)
...ortant Discoveries
esoph Smoking, Alcohol and (O)esophageal Cancer
euro Conversion Rates of Euro Currencies
euro.cross (euro) Conversion Rates of Euro Currencies
eurodist Distances Between European Cities
faithful Old Faithful Geyser Data
fdeaths (UKLungDeaths)
Monthly Deaths from Lung Diseases in the UK
freeny Freeny's Revenue Data
freeny.x (freeny) Freeny's Revenue Data
freeny.y (freeny) Freeny's Revenue Data
infert Infertility after Spontaneous...
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
...: undefined exports: abbey,
accdeaths, Aids2, Animals, anorexia, austres, bacteria, beav1, beav2,
biopsy, birthwt, Boston, cabbages, caith, Cars93, cats, cement, chem,
coop, cpus, crabs, Cushings, DDT, deaths, drivers, eagles, epil, farms,
fdeaths, fgl,
forbes, GAGurine, galaxies, gehan, genotype, geyser, gilgais, hills,
housing, immer, Insurance, leuk, lh, mammals, MASS.data.load, mcycle,
mdeaths, Melanoma, menarche, michelson, minn38, motors, muscle, newcomb,
nlschools, nottem, npk, npr1, oats, OME, painters, petrol, phones,
Pima.te, Pima.tr, Pima.tr2, quine, Rabbit, road, rock, rotifer, Rubber,...
2018 Mar 05
2
problema con shiny
...# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
#setwd("C:/curso 2017-18/curso R/shiny/prueba1")
library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Old Faithful Geyser Data"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
sliderInput("bins",
"Number of bins:",
min = 1,
max = 50,
value = 30)
),...
2018 Mar 04
4
problema con shiny
Estimados compañeros tengo un problema con shiny. Es un problema local de mi ordenador, porque en otro va si problemas pero no consigo saber ¿cómo arreglarlo?. He instalado incluso la nueva versión de Rstudio. Os explico:
1) lanzo el programa app.R, el ejemplo de shiny e intenta mostrar los resultados pero si hago: print(environment(show)) da como resultado
Error in func(fname, ...) : app.R did