s-news
[Top] [All Lists]

[S] All-subset regression analysis

To: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
Subject: [S] All-subset regression analysis
From: Abd Rahman Kassim <rahmank@frim.gov.my>
Date: Fri, 28 Jan 2000 16:36:15 +0800
Sender: owner-s-news@wubios.wustl.edu
Dear S-plus user,

I'm trying to run all-subset regression analysis for the following matrix. 
But S-plus detected an error (see below). How can I overcome this problem? 
Thanks

Program code written:

        x<-matrix(c(bat,lbat,dbh,oba,osdi,ld,loba,losdi,da,dq,ba,
                    tph,sdi,sditree,dmax,dtop,
               lda,ldq,ltph,lsdi,lsditr,ldmax)
               ,ncol=22)

        y<-matrix(c(lbag),ncol=1)

   leaps(x,y)


Error messages:

> x <- matrix(c(bat, lbat, dbh, oba, osdi, ld, loba, losdi, da, dq, ba, tph, 
> sdi,
        sditree, dmax, dtop, lda, ldq, ltph, lsdi, lsditr, ldmax), ncol = 22)
Error in c(bat, lbat, dbh, oba, osdi, ld, loba, l..: Cannot allocate 9089696 
bytes: options("object.size") is 5000000: see options help file

Abd Rahman Kassim
Hill Forest Silviculture
Forest Research Institute Malaysia (FRIM)
Kepong 52109 
Kuala Lumpur



-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] All-subset regression analysis, Abd Rahman Kassim <=