similar to: Error (?) in documentation of 'swiss' data in R base package (PR#886)

Displaying 20 results from an estimated 300 matches similar to: "Error (?) in documentation of 'swiss' data in R base package (PR#886)"

2001 Apr 21
1
Re: PR#886: Error (?) in documentation of 'swiss'
No, you're quite right, I was wrong. I must have been very confused when I put up the first 'bug' report, #886. I noticed my error a couple of days after and put up a comment to that effect on R-bugs, but it seems to have vanished (or alternatively I did that wrong as well). I agree with you on the criterion for the choice of districts as well. There remains a minuscule discrepancy
2001 Apr 21
0
Re: PR#886: Error (?) in documentation of 'swiss'
>From k.j.mcconway@open.ac.uk Wed Mar 28 16:46:49 2001 Hardly crucial, but I've come upon a potential error in the documentation of the 'swiss' datafram in the R base package. The description accurately matches what is said in the Mosteller and Tukey source quoted, but according to the data archived at Princeton (links from http://opr.princeton.edu/archive/eufert/switz.html), the
2005 Dec 23
1
maps package will not load
I recently installed the maps package, version 2.0-30, into an installation of R 2.2.1 on a rather ancient Pentium 3 PC under Windows NT4. When I try to load the library I get an error dialog with title 'Rgui.exe - Unable To Locate DLL', which says The dynamic link library R could not be found in the specified path (and then it lists the path, which does include the place that the DLL
2008 Mar 28
2
Wrong story step running
Hi I have three steps like this: Given ''a user called "$name" of type $user_type and status $user_state in organisation "$organisation_name"'' do |name, user_type, user_state, organisation_name| $runs ||= 1 puts "MOO #{$runs}" $runs += 1 # ... end Given ''a user called "$name" with username
2013 May 29
0
"Unable to optimize" error returned in factanal using R-3.0.1, Windows 64 bit, and OpenBLAS
Hello, I have been trying for weeks to compile a 64-bit Rblas. I started with ATLAS where I have had success in the past, but 64 bit was not behaving, and as each compilation takes between 9 and 12 hours, "test, check, and revise" was not going to be really viable. I therefore switched to OpenBLas (OPBL). I was successful in compiling R-3.0.1 and an OPBL-based BLAS for Windows 64bit
1997 Dec 02
1
R-alpha: two-sided to one-sided formula
At times we want to convert a two-sided formula to a one-sided formula. In S we can do this by dropping the second entry in the formula. In R that object no longer has a formula class. R> ttt <- score ~ age | Infant R> class(ttt) [1] "formula" R> length(ttt) [1] 3 R> ttt[-2] [[1]] ~ [[2]] age | Infant R> class(ttt[-2]) NULL R> do.call("~",
2010 Feb 05
0
Censored outcomes - repeated measures and mediators
Hello, In a study exploring transgenerational transmission of anxiety disorder we investigate whether infants react to experimentally induced mood changes of their mothers. We measured the time that an infant needed to cross a cliff (=crossing time) depending on whether his mother had previously undergone a mood induction (treatment) or not (control). The treatment is thus a
2006 Jul 06
0
read.xport issues
We are trying to read a sas export file into R. (Works fine on Mac by ftping the export file from solaris box and then importing to R with read.xport, this gives rational numbers etc.) Trying to do this on an IBM Power p655 running linux, reading the same sas export file as used on MAC, in this case the results are not rational. Many of the numbers are interpreted as INF etc. Is it possible
2007 May 09
1
step() in sink() and Sweave()
Dear developers, I just noticed that step() function currently prints the current model using message(), but the resulting model using print(). The relevant commands within the step() body are: if (trace) message("Start: AIC=", format(round(bAIC, 2)), "\n", cut.string(deparse(as.vector(formula(fit)))), "\n") (with example() output:) Start: AIC=190.69
2010 Nov 02
5
Question about ggplot2
Dear All, I am trying to graph a simple scatter plot where the x axis is year and the y axis is a percentage (percentage of infant death). Instead of plotting the raw data, I want to plot summary statistics such as mean and median. Here is the problem: the value range of y is between 0 and 1, but since infant death is a rare event, the mean and median is very low (something like 5%), which shows
2003 May 13
1
range checking
I'm tidying up the gld package at the moment, and the following is my best effort at checking if values are outside the range of the function (which is [0,1] in this case). It seems incredibly messy - is there something better? outside.range <- !as.logical(((p<1)*(p>0))|(sapply(p, all.equal,1)=="TRUE")|(sapply(p, all.equal, 0)=="TRUE")) ---- Robert King,
2004 Dec 07
1
how to test the existence of a name in a dataframe
I wanted to test if there exists already a name (which is incidentally a substring of another name) in a dataframe. I did e.g.: > data(swiss) > names(swiss) [1] "Fertility" "Agriculture" "Examination" "Education" [5] "Catholic" "Infant.Mortality" > ! is.null(swiss$EduX) [1] FALSE > !
2004 Jun 03
3
Problem with mgcv PACKAGES file format?
Hello All, I'm getting this error (Version: 1.9.0-1 on a debian system) > update.packages("mgcv") trying URL `ftp://mirror.aarnet.edu.au/pub/cran/src/contrib/PACKAGES' ftp data connection made, file length 169516 bytes opened URL .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... ..........
2011 Jun 28
1
plotting survival curves with model parameters
Hello. I am trying to write an R function to plot the survival function (and associated hazard and density) for a Siler competing hazards model. This model is similar to the Gompertz-Makeham, with the addition of a juvenile component that includes two parameters---one that describes the initial infant mortality rate, and a negative exponential that describes typical mortality decline over the
2006 Jul 24
2
Correlations by group
I'm aware that S N Krishna asked the same question. However, I have failed to implement the posted solution for running rank order correlations on multiple subsets of data using the by() function. Here is my problem: Take a set of data from two subjects, who provided numerical infant mortality (IM) estimates for five countries: sub <- c(1, 1, 1, 1, 1, 2, 2, 2, 2, 2)
2002 Nov 13
4
[Newbie] Is there any support for work with grouped frequencies?
Hi, I have this table (BTW, published by FBI and representing age distribution of the WTC tragedy victims): "LABEL" "FREQ" "MIDPOINT" "1" "Infant (under 1)" 0 "2" "1 to 4" 5 "3" "5 to 8" 1 "4" "9 to 12" 3 "5" "13 to 16" 0 "6" "17 to
2007 Aug 14
0
Java Vorbis Encoder - vorbis-java-1.0.0-beta release
Beta release of a limited* native Java Vorbis encoder is now available on the Xiph website. This limited version of the encoder has been ported to Java based on libogg-1.1.3, libvorbis-1.1.2 and a very infant port of libshout-2.2.2 for streaming. *The encoder itself is currently limited to 44100 hz, 2 channel input, and can only encode at Variable Bit Rate.* The release package with binary and
2002 Feb 12
1
Best Subsets regression
Hi, I have found a minor problem with leaps(). In 1.3.1 under Windows 2000 I seem to only be able to obtain values for one statistic at a time. That is choosing method=c("Cp","adjr2","r2") just gives Cp values. To mimic the output of Minitab's MTB > BReg 'Fertility' 'Agriculture'-'Infant.Mortality' ; SUBC> NVars 1 5; SUBC>
2007 Apr 20
2
sorting data in R
hello, I'd like know how to sort a data frame in R for example how I should do to sort by Catholic with swiss data frame like below thanks Fertility Agriculture Examination Education Catholic Infant.Mortality Courtelary 80.2 17.0 15 12 9.96 22.2 Delemont 83.1 45.1 6 9 84.84 22.2
2002 Oct 31
1
New home for S Poetry
Many readers on this list probably don't know that S Poetry had an old home. S Poetry is a book in pdf about programming in the S language. It was written mainly with S-PLUS 3.x in mind when R was still an infant relative to what it is now. Some parts of the book are still quite accurate for R. In other places R is rather different from what is in the book. The FAQ on the differences