search for: hsaur

Displaying 20 results from an estimated 23 matches for "hsaur".

2012 Feb 14
1
txtStart creates a NULL file
...seemed to have a similar problem with a mac GUI (https://stat.ethz.ch/pipermail/r-help/2010-September/253177.html) but the result seemed to be ambiguous. Is there a work-around? Reproducible code and sessioninfo are below. The OS is Mac OS 10.6.8. Yours truly, Simon Kiss install.packages("HSAUR") library(HSAUR) library(TeachingDemos) data("Forbes2000", package="HSAUR") #This is a test of R output for the blind txtStart('test.txt', commands=TRUE, results=TRUE) txtComment('This command provides the mean profit in the data set') mean(Forbes2000$profit...
2007 Jul 22
1
summary of linear fixed effects model is different than the HSAUR book
Running R 2.5.1 and a newly downloaded lme4 package on WinXP I'm trying to work my way through Everitt and Hothorn's "Handbook of Statistical Analyses Using R," c 2006. (No, it's not homework.) Chapter 10 discusses linear mixed effects models for longitudinal data. I've called my long data frame BtheB.long Here's the model from the book, which I run. lmer1 <-
2007 May 27
1
How to reference or sort rownames in a data frame
As I was working through elementary examples, I was using dataset "plasma" of package "HSAUR". In performing a logistic regression of the data, and making the diagnostic plots (R-2.5.0) data(plasma,package='HSAUR') plasma_1<- glm(ESR ~ fibrinogen * globulin, data=plasma, family=binomial()) layout(matrix(1:4,nrow=2)) plot(plasma_1) I find that data points corresponding t...
2008 Nov 16
1
confint.glm(...) fails for binomial count data format
##Q1. confint.glm(...) fails for an example of HSAUR data("womensrole", package = "HSAUR"); ## summary(womensrole); womensrole_glm_2 <- glm(fm2, data = womensrole,family = binomial()) ## summary(womensrole_glm_2); confint(womensrole_glm_2); ## -------Fail--------- # Waiting for profiling to be done... # Error in if (any(y <...
2008 Jun 26
2
stuck on making a line graph across time, with 4 categories
I can't seem to find just what I'm looking for in R help, Everitt and Hothorn HSAUR, Murrell's book, or the R graphics gallery at http://addictedtor.free.fr/graphiques/. Probably not looking efficiently, but anyway, If my data look like this: > head(data) cat startyear studentid 1 other 2001 12 2 UHS 2001 17 3 Lourdes 2001...
2007 Jun 21
3
meta-analysis in R
I would like to combine time-series data to test for correlations and interactions using random and fixed effects meta-analysis. So, I am looking for the right packages and documentation. I know about meta and rmeta packages of R. Are there any more? What are the diffrences in brief? Can you please suggest some references that could be used as a guide for meta-analysis in R (or S-plus)?
2006 Jun 08
2
Plotting female and male signs
Dear R-users, Just like other users (as seen from previous posts on the list), I would like to use female and male signs in plots. I found B. Ripley's post about using Unicode characters. However, it doesn't works for me. > text(locator(1),"\u2640") produces the following error: Error: invalid \uxxxx sequence But I can specify other Unicode characters as long I
2007 Apr 16
1
My First Function: cryptic error message
Dear List, My first R function is a rip-off bagging algorithm from pg. 138 of Everitt and Hothorn's "Handbook of Statistical Analyses using R" (HSAUR). I'm using recursive partitioning to develop a set of useful variables in diagnosing ADHD. I'm running this in ESS in XEmacs 21.4.19, R 2.4.1 on Slackware Linux 11.0 with a 2.6 kernel. This is almost an entire script, although I've removed or disguised parts that would reveal my p...
2013 Sep 12
6
declaring package dependencies
...ind function "loglm" In DESCRIPTION I have Depends: R (>= 2.10), vcd, gnm (>= 1.0.3) Suggests: ca,gmodels,Fahrmeir,effects,VGAM,plyr,rgl,lmtest,MASS,nnet,ggplot2,Sleuth2,car and the vcd DESCRIPTION has Depends: R (>= 2.4.0), grid, stats Suggests: KernSmooth, mvtnorm, kernlab, HSAUR, coin Imports: utils, MASS, grDevices, colorspace so, in an R 3.0.0 console, library(vcdExtra) loads vcd and its dependencies: > library(vcdExtra) Loading required package: vcd Loading required package: MASS Loading required package: grid Loading required package: colorspace Loading required...
2010 Oct 24
1
140 packages in R Commander!!
...timeDate' 'timeSeries' 'tis' 'tseries' 'xts' 'foreach' 'TSA' 'RSQLite' 'tkrplot' 'sgeostat' 'mapproj' 'tcltk2' 'R2wd' 'png' 'tree' 'VIM' 'mitools' 'Zelig' 'HSAUR' 'mvtnorm' 'lme4' 'robustbase' 'mboost' 'coin' 'xtable' 'sandwich' 'coxme' 'zoo' 'strucchange' 'dynlm' 'biglm' 'chron' 'acepack' 'TeachingDemos' 'Design' 'mice'...
2007 May 28
0
Curve crosses back to origin in plot
Another sample problem: In the Windows version of R-2.5.0, data(GHQ,package='HSAUR') layout(1) GHQ_glm_1<- glm(cbind(cases,non.cases) ~ GHQ, data=GHQ, family=binomial()) summary(GHQ_glm_1) yfit_glm_1<- predict(GHQ_glm_1, type='response') layout(1) plot(probs ~ GHQ,pch=1,col=1,ylab='Probability(Case)', data=GHQ) lines(yfit_glm_1 ~ GHQ, pch=3,col=3, data=G...
2009 Sep 11
0
ipred bagging segfault on 64 bit linux build
...(nil), cause 'unknown' I'm working on a 64bit build of R 2.8.1 on a linux machine. If you want more details, I can surely get them. It happens on the last line for the following for all different valies of ns: library(rpart) library(ipred) data("Forbes2000", package="HSAUR") Forbes2000 <- subset(Forbes2000, !is.na(profits)) datasize=length(Forbes2000$profits) f <- rpart(profits ~ assets + marketvalue + sales, data=Forbes2000) fb <- bagging(profits ~ assets + marketvalue + sales, data=Forbes2000) fb <- bagging(profits ~ assets + marketvalue + sales,...
2009 Nov 24
1
Scatter plot with margin distributions
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091124/39eccb61/attachment-0001.pl>
2009 Oct 24
2
R 64 and R: using 64-bit versions of packages in R (32)
I'm running R 2.9.2 build 5464 on OS X 10.5.8. Having encountered memory allocation problems, I ran the problematic code in R64, the 64- bit version of the same build. When I attempt to load openNLP I receive the error message that the 32-bit version that I had been using does not run in R64. Assuming there is a 64-bit version, can I install and load it in R64 and, when I
2013 Apr 03
3
R en Medicina
Hola, saludos desde México. Me estoy iniciando en el uso de R, que me parece un muy buen programa. Yo doy la clase de bioestadística en la facultad de Medicina de Mérida, Yucatán en México. Me gustaría hacer contacto con personas que estén usando R en el área biomédica, especialmente en docencia, para compartir experiencias, dudas, ejemplos, etc. Saludos José Arturo [[alternative HTML version
2009 Jun 09
3
rpart - the xval argument in rpart.control and in xpred.rpart
Dear R users, I'm working with the rpart package and want to evaluate the performance of user defined split functions. I have some problems in understanding the meaning of the xval argument in the two functions rpart.control and xpred.rpart. In the former it is defined as the number of cross-validations while in the latter it is defined as the number of cross-validation groups. If I am
2010 Apr 17
2
interpreting acf plot
Hello, I am attending a course in Computational Statistics at ETH and in one of the assignments I am asked to prove that a time series is not autocorrelated using the R function "acf". I tried out the acf function with the given data, according to what I found here: http://landshape.org/enm/options-for-acf-in-r/ this test data does not look IID but rather shows some trends so how can I
2007 Jun 27
2
Meta-Analysis of proportions
Dear colleagues, I'm conducting a meta-analysis of studies evaluating adherence of HIV-positive drug users into AIDS treatment, therefore I'm looking for some advice and syntax suggestion for running the meta-regression using proportions, not the usual OR/RR frequently used on RCT studies. Have already searched already several handbooks, R-manuals, mailing lists, professors, but... not
2010 Jul 26
4
Fwd: Questions about templates for R
Hi I am looking for R templates to introduce the R to my students at Seton hall university. The templates are predefined scripts in R that will retain its primary intent when individually customized with their own variable data or text. In this case, my students at Seton Hall University. For example, PSPad editor provides new users predefined templates before writing their own scripts. Please let
2008 May 09
2
How can one make stepAIC and lme
Dear R-help I'm working on a large dataset which I have divided into 20 subsets based on similar features. Each subset consists of observations from different locations and I wish to use the location as a random effect. For each group I want to select regressors by a stepwise procedure and include a random effect on the intercept. I use stepAIC() and lme(). (The lmer()-function doesn't