Cody Hamilton wrote: > I am running R version 2.4.1 on Windows XP. I have a question regarding the > datadist() function from the Design library. I have a data.frame (call it > my.data) with 4 columns. When I submit the code > > datadist(data=my.data)
You can just use dd <- datadist(my.data); options(datadist='dd') If that doesn't fix it, generate a test dataset that fails or do save(..., compress=TRUE) and send me your dataset so I can debug. Frank > > I get the following error message: > > Error in X[[1]] : subscript out of bounds > > I suspect there may be something wrong with my data.frame (I'm certain there > is nothing wrong with datadist()), but I don't know what. Has anyone > experienced the mistake I seem to be making? > > Regards, > Cody Hamilton > Edwards Lifesciences > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
