[R] ncol(hitdat)

Cleland clelancm at UMDNJ.EDU
Sat Jun 24 22:15:43 CEST 2000

On Sat, 24 Jun 2000, Gilles Gignac wrote: 
> I am a beginner to R, so you have a right to dislike me. I have loaded
> up a data matrix (664 * 28) into the R environment and wish to have a
> pre-written program (MAXCOV-HITMAX) analyse the data. When I run the
> program, I get: "Error in ncol(hitdat). Argument "hitdat" is missing
> with no default"; I can't seem to find much info in the manuals, etc. to
> help me out, so any suggestions will be appreciated greatly. I am using
> R.1.0.

  I will hazard a guess that you are using MAXCOV code provided by Neils
Waller and Paul Meehl.  I think you want to pass your matrix to the
function "MAXCOV.prg".  I think you may have used another function that is
not meant to be called directly by the user in most cases.     .  Also, be
careful with your 28 column data matrix since MAXCOV.prg will produce many
pages of plots for a matrix tthathsize.at size.

hope this helps,



Assistant Professor
Dept. of Pediatrics
UMDNJ--Rober Wood Johnson Medical School
97 Patterson St.
New Brunswick, NJ 08903
(732)2 2 235-7699


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list