Re: [R] Error in Design package: dataset not found for options(datadist)

2008-04-17 Thread Frank E Harrell Jr
Gad Abraham wrote: > Hi, > > Design isn't strictly an R base package, but maybe someone can explain > the following. > > When lrm is called within a function, it can't find the dataset dd: > > > library(Design) > > age <- rnorm(30, 50, 10) > > cholesterol <- rnorm(30, 200, 25) > > ch <- cut

[R] Error in Design package: dataset not found for options(datadist)

2008-04-16 Thread Gad Abraham
Hi, Design isn't strictly an R base package, but maybe someone can explain the following. When lrm is called within a function, it can't find the dataset dd: > library(Design) > age <- rnorm(30, 50, 10) > cholesterol <- rnorm(30, 200, 25) > ch <- cut2(cholesterol, g=5, levels.mean=TRUE) >