search for: gethdata

Displaying 10 results from an estimated 10 matches for "gethdata".

Did you mean: get_data
2005 Aug 09
2
connexion problem getHdata (HMisc)
...ed. If you have received this email in error please notify the system manager. ********************************************************************** Hi Just installing R and some packages in my new job; trying to download dataset directly from biostatistics dptm of Vanderbilt University using getHdata from Hmisc I get the following: Error in file (file, "r") : connexion openinig not possible Furthermore : connexion to 'biostat.mc.vanderbilt.edu' impossible on port 80 Can one get around this problem? NOTE: I am not an administrator on the system.... Anne Piotet té...
2011 Jun 26
2
Issue with dataset inclusion in CRAN packages
...e is as large as packages containing hundreds of functions. This is due to the inclusion of the dataset. I would prefer that authors provide the URL so that users can easily install the binary R binary dataframe directly from our web site (we even have an automated way to do this: require(Hmisc); getHdata(titanic3)). This will allow users to profit from possible future data corrections as well as making the package much more compact. Thanks for listening. I'm writing to r-help because this may applied to other R packages as well. Frank ----- Frank Harrell Department of Biostatistics, Vande...
2007 Sep 27
1
R: anova.Design
Dear All: I tried to replicate a case study described by Prof. Harrell in Chapter 7 of his Regression Modeling Strategies book, but failed on using anova.Design to reproduce his table 7.1, Following is the code: rm(list=ls()) library(Hmisc) library(Design) getHdata(counties) counties$older <- counties$age6574 + counties$age75 label(counties$older) <- '% age >= 65, 1990' counties$pdensity <- log10(counties$pop.density+1) label(counties$pdensity) <- 'log 10 of 1992 pop per 1990 miles^2' dd <- datadist(counties) options(datadis...
2007 Nov 24
1
Hmisc: can not reproduce figure 4 of Statistical Tables and Plots using S and LATEX
Dear R-users: I can not reproduce figure 4 of *Statistical Tables and Plots using S and LATEX* by Prof. Frank Harrell with the following code: rm(list=ls()) library(Hmisc) getHdata(pbc) attach(pbc) age.groups <- cut2(age, c(45,60)) g <- function(y) apply(y, 2, quantile, c(.25,.5,.75)) y <- with(pbc, cbind(Chol=chol,Bili=bili)) # You can give new column names that are not legal S names # by enclosing them in quotes, e.g. 'Chol (mg/dl)'=chol vars <- with(pbc...
2007 Oct 19
1
plot.Design
Dear R-users: I am trying to use the following code to reproduce the figures on page 140 of Prof. Frank Harrell's book 'Regression Modeling Strategies': rm(list=ls()) options(width=128) library(Hmisc) library(Design) getHdata(counties) counties$older <- counties$age6574 + counties$age75 label(counties$older) <- '% age >= 65, 1990' counties$pdensity <- log10(counties$pop.density+1) label(counties$pdensity) <- 'log 10 of 1992 pop per 1990 miles^2' dd <- datadist(counties) options(datadis...
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
...ariables.\\Numbers after percents are frequencies.\\\indent Tests used:\\\textsuperscript{\normalfont 1}Wilcoxon test; \textsuperscript{\normalfont 2}Pearson test \end{table} ###Then I did another example from Harrell?s "statistical tables and plots...." rm(list=ls()) library(Hmisc) getHdata(prostate) # Variables in prostate had units in ( ) inside variable labels. Move # these units of measurements to separate units attributes # wt is an exception. It has ( ) in its label but this does not denote units # Also make hg have a legal R plotmath expression prostate<-upData(prostate, mov...
2008 Mar 02
0
new to latex to pdf
...irection. ( I have no trouble writing my own simple latex code and converting it to pdf using pdftex in miktex). Thanks, Mike Babyak Department of Psychiatry and Behavioral Science Duke University Medical Center ************************** Here's the code: library(Hmisc) library(survival) getHdata(pbc) pbc<-upData(pbc, moveUnits=TRUE, labels=c(stage='Histologic Stage\nLudwig Criteria')) kmsurv <- function(S, times) { f <- survfit.km(factor(rep(1,nrow(S))), S) tt <- c(0, f$time) ss <- c(1, f$surv) # add first point to survival curve approx(tt, ss, xout=times, method=...
2003 Jan 01
0
Updates to Hmisc and Design Libraries
...d by summary.formula. For plots, plotmath is used, especially for annotating plots with test statistics produced by summary(..., test=TRUE). A "matrix tapply" function (mApply) has been added. A new LaTeX table formatting option, ctable, has been added to latex.default. A new function getHdata makes it easy to download and import datasets and their descriptions from our web site. latex functions were changed to allow file="" to be specified, for inline inclusion of LaTeX code in Sweave. Problems with sas.get and [.factor have been fixed. fit.mult.impute was enhanced to compu...
2003 Jan 01
0
Updates to Hmisc and Design Libraries
...d by summary.formula. For plots, plotmath is used, especially for annotating plots with test statistics produced by summary(..., test=TRUE). A "matrix tapply" function (mApply) has been added. A new LaTeX table formatting option, ctable, has been added to latex.default. A new function getHdata makes it easy to download and import datasets and their descriptions from our web site. latex functions were changed to allow file="" to be specified, for inline inclusion of LaTeX code in Sweave. Problems with sas.get and [.factor have been fixed. fit.mult.impute was enhanced to compu...
2008 Feb 15
12
Transfer Crosstable to Word-Document
# Dear list, # I am an R-beginner and # spent the last days looking for a method to insert tables produced # with R into a word document. I thought about SPPS: copy a table from # an SPO-file and paste it into a word document # (if needed do some formatting with that table). # Annother idea was, to produce a TEX-file, # insert it and make it a word-table. # I found the following libraries, which