Grokbase Groups R r-help March 2002
FAQ
Hi
can anyone help me in combining GA and hazard regression in R

do you thing I can use Gafit packages and survival package or I
have to build my own package

thanks
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

Search Discussions

  • Hongyu Sun at Mar 4, 2002 at 6:02 pm
    Dear List:

    Is there LOESS or LOWESS in R? Thanks a lot!

    Hongyu Sun

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Thomas Lumley at Mar 4, 2002 at 6:21 pm

    On Mon, 4 Mar 2002, Hongyu Sun wrote:

    Dear List:

    Is there LOESS or LOWESS in R? Thanks a lot!
    The easiest way to answer questions like this is to use help.search()
    first. In some cases the functions are in a package that you haven't
    installed or are not well indexed, so you have to ask, but in this case:

    R> help.search("loess")
    Help files with alias or title matching `loess',
    type `help(FOO, package = PKG)' to inspect entry `FOO(PKG) TITLE':

    panel.functions(lattice)
    Useful Panel Functions
    prepanel.functions(lattice)
    Useful Prepanel Function for Lattice
    loess(modreg) Local Polynomial Regression Fitting
    loess.control(modreg) Set Parameters for Loess
    modreg-internal(modreg)
    Internal modreg functions
    predict.loess(modreg) Predict Loess Curve or Surface
    scatter.smooth(modreg)
    Scatter Plot with Smooth Curve Fitted by Loess
    stl(ts) Seasonal Decomposition of Time Series by Loess

    R> help.search("lowess")
    Help files with alias or title matching `lowess',
    type `help(FOO, package = PKG)' to inspect entry `FOO(PKG) TITLE':

    lowess(base) Scatter Plot Smoothing


    -thomas


    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Ko-Kang Wang at Mar 4, 2002 at 7:00 pm
    Yes.

    See:
    ?lowess
    And
    library(modreg)
    ?loess
    For details

    K Wang

    ------------------------------------------------------------------------
    --------
    Ko-Kang Kevin Wang
    Postgraduate PGDipSci Student
    Department of Statistics
    University of Auckland
    Auckland
    New Zealand


    -----Original Message-----
    From: owner-r-help at stat.math.ethz.ch
    [mailto:owner-r-help at stat.math.ethz.ch] On Behalf Of Hongyu Sun
    Sent: Tuesday, March 05, 2002 7:02 AM
    To: R-help at stat.math.ethz.ch
    Subject: [R] LOESS?


    Dear List:

    Is there LOESS or LOWESS in R? Thanks a lot!

    Hongyu Sun

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
    -.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
    _._._._



    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Francisco J Molina at Mar 5, 2002 at 1:59 am
    I get this error in one of my R programs and I have no idea what it is.
    Any hint?

    Error in "[<-"(*tmp*, , 1, value = Stat[1:numberSamples]) :
    object is not subsetable
    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Agustin Lobo at Mar 5, 2002 at 8:48 am
    Francisco,

    It would be a lot easier helping you if:

    1. You provide an appropriate subject field in your
    message.
    2. You tell the list the exact R expression that
    is causing the problem.

    Without (1) many people will just delete your message.
    Without (2) the only answer that comes to my mind is
    that you are trying to subset on a dimension that does
    not exist in your object, but it's difficult to tell
    without trying it.

    Agus


    Dr. Agustin Lobo
    Instituto de Ciencias de la Tierra (CSIC)
    Lluis Sole Sabaris s/n
    08028 Barcelona SPAIN
    tel 34 93409 5410
    fax 34 93411 0012
    alobo at ija.csic.es

    On Mon, 4 Mar 2002, Francisco J Molina wrote:

    I get this error in one of my R programs and I have no idea what it is.
    Any hint?

    Error in "[<-"(*tmp*, , 1, value = Stat[1:numberSamples]) :
    object is not subsetable
    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • John Fox at Mar 5, 2002 at 1:46 pm

    At 05:59 PM 3/4/2002 -0800, Francisco J Molina wrote:
    I get this error in one of my R programs and I have no idea what it is.
    Any hint?

    Error in "[<-"(*tmp*, , 1, value = Stat[1:numberSamples]) :
    object is not subsetable
    Dear Francisco,

    It's hard to know what specifically caused the error without more
    information, but in general you see this kind of error message when you try
    to replace an element in an object, such as a function, that can't be
    subscripted. For example,
    myfn <- function(x) x
    myfn[1] <- 1
    Error in "[<-"(*tmp*, 1, value = 1) : object is not subsetable

    If it's not obvious where the problem is occurring, I suggest that you use
    the debugging tools in R, such as debug, to pinpoint the location of the
    error. It should then be clear what's causing the problem.

    I hope that this helps,
    John
    -----------------------------------------------------
    John Fox
    Department of Sociology
    McMaster University
    Hamilton, Ontario, Canada L8S 4M4
    email: jfox at mcmaster.ca
    phone: 905-525-9140x23604
    web: www.socsci.mcmaster.ca/jfox
    -----------------------------------------------------

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Francisco J Molina at Mar 15, 2002 at 1:12 am
    I would like to know if a book on S-plus could help me to learn R.
    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Ott Toomet at Mar 15, 2002 at 7:52 am

    On Thu, 14 Mar 2002, Francisco J Molina wrote:
    I would like to know if a book on S-plus could help me to learn R.
    As mentioned, MASS (modern applied statistics with S-plus) is a classical
    book for R. You should only be aware that

    - the book do not mention R at all
    - you need slight modifications for the example code (e.g. you should often
    load a specific library)
    - you should install packages VR and MASS (the last one is presumably
    installed by default), these packages include all (?) the necessary code for
    the examples.
    - you should also take a look at the book's home page (it can be found from
    http://www.r-project.org/doc/bib/R-publications.html), there is some
    information for R usage.

    I really recommend that book, do not be afraid that it only speaks about
    S-plus.

    If you are more interested in programming yourself, and less in
    pre-programmed packages, you may consider ,,S programming'' by Venables &
    Ripley. This book speaks about R explicitly (because it is newer?).

    On the URL above, you may find more recommendations, but I think the others
    are more specific.


    Cheers,

    Ott Toomet

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Ko-Kang Kevin Wang at Mar 15, 2002 at 8:44 am
    ----- Original Message -----
    From: "Ott Toomet" <siim@obs.ee>
    To: "Francisco J Molina" <fjmolina@lbl.gov>
    Cc: "r-help" <r-help@stat.math.ethz.ch>
    Sent: Friday, March 15, 2002 8:52 PM
    Subject: [R] Re: S-plus book

    On Thu, 14 Mar 2002, Francisco J Molina wrote:

    I would like to know if a book on S-plus could help me to learn R.
    As mentioned, MASS (modern applied statistics with S-plus) is a classical
    book for R. You should only be aware that

    - the book do not mention R at all
    - you need slight modifications for the example code (e.g. you should often
    load a specific library)
    Actually, within the MASS library (after you've installed it) - normally in
    $R_LIB/MASS/scripts, there are copies of modified R version of the codes for
    all chapters in that book. They should work in R directly without any
    modifications at all.
    - you should install packages VR and MASS (the last one is presumably
    installed by default), these packages include all (?) the necessary code for
    the examples.
    Aren't they the same? I have a feeling that VR is the name of the
    compressed source files of the library, once it is installed it will be
    called MASS. In other words you cannot find MASS.zip or MASS.tar.gz from
    CRAN, because it is called VR.zip or VR.tar.gz

    I really recommend that book, do not be afraid that it only speaks about
    S-plus.
    I agree. It has the basic fundamental principles about statistics too.
    If you are more interested in programming yourself, and less in
    pre-programmed packages, you may consider ,,S programming'' by Venables &
    Ripley. This book speaks about R explicitly (because it is newer?).
    Yes I have this book too but in my opinion it is more related to
    programming, if one is looking for applied statistics book (so one can apply
    statistics using R), then MASS book is the choice.

    Cheers,

    Kevin

    ------------------------------------------------
    Ko-Kang Kevin Wang
    Postgraduate PGDipSci Student
    Department of Statistics
    University of Auckland
    Auckland
    New Zealand



    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Stuart Luppescu at Mar 15, 2002 at 3:03 pm

    On ?, 2002-03-15 at 01:52, Ott Toomet wrote:
    On Thu, 14 Mar 2002, Francisco J Molina wrote:

    I would like to know if a book on S-plus could help me to learn R.
    As mentioned, MASS (modern applied statistics with S-plus) is a classical
    book for R. You should only be aware that

    - the book do not mention R at all
    [snip]
    Didn't I hear a rumor that the 4th edition will mention R- and
    S-specific differences (I assume in the same way as _S Programming_,
    also by V & R)? Now, what am I going to do with my copies of the 1st and
    3rd editions?
    --
    Stuart Luppescu -=- s-luppescu at uchicago.edu
    University of Chicago -=- CCSR
    ???????? -=- Kernel 2.4.14-xfs
    Ah, but a man's grasp should exceed his reach, Or
    what's a heaven for ? -- Robert Browning,
    "Andrea del Sarto"

    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: not available
    Type: application/pgp-signature
    Size: 240 bytes
    Desc: This is a digitally signed message part
    Url : https://stat.ethz.ch/pipermail/r-help/attachments/20020315/89eeec80/attachment.bin
  • Ripley at Mar 15, 2002 at 3:35 pm

    On 15 Mar 2002, Stuart Luppescu wrote:
    On $B6b(B, 2002-03-15 at 01:52, Ott Toomet wrote:
    On Thu, 14 Mar 2002, Francisco J Molina wrote:

    I would like to know if a book on S-plus could help me to learn R.
    As mentioned, MASS (modern applied statistics with S-plus) is a classical
    book for R. You should only be aware that

    - the book do not mention R at all
    R was a lot less usable in 1998 when that edition was written. Even then
    there were `R Complements', but we judged R to be moving too fast to write
    in. (That's still a worry, but it's no longer a beta product.)
    [snip]
    Didn't I hear a rumor that the 4th edition will mention R- and
    S-specific differences.
    The fourth edition is to be called `Modern Applied Statistics with S' and
    does try to mention R differences where they exist (and many fewer exist
    than used to) and we know/remember about them.
    http://www.stats.ox.ac.uk/pub/MASS4/ has some details.
    (I assume in the same way as _S Programming_,
    also by V & R)? Now, what am I going to do with my copies of the 1st and
    3rd editions?
    You mean to say they are not falling apart from overuse ....

    --
    Brian D. Ripley, ripley at stats.ox.ac.uk
    Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
    University of Oxford, Tel: +44 1865 272861 (self)
    1 South Parks Road, +44 1865 272860 (secr)
    Oxford OX1 3TG, UK Fax: +44 1865 272595

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Scott_Summerill_Summerill/ACT/CNTR/FAA FAA at Mar 21, 2002 at 8:22 pm
    I am sorry to bother you with an applications question. I work for the FAA
    and have need to smooth radar track data. Seems that all the smoothing
    techniques assume functional data. Any help would be greatly appreciated.

    Best Regards, Scott Summerill


    ~~~~~~~~~~~~~~~~~~~
    WJH FAA Technical Center
    Mail Stop ACT250
    Atlantic City Int'l Airport
    Atlantic City, NJ 08405
    Phone 609-485-6377
    Fax 609-485-5457

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Themba Nyirenda at Mar 27, 2002 at 8:35 pm
    hi,

    I would like to how to count the number of ties in a vector or matrix picking a column at a time,(ie any type of array)

    themba





    ---------------------------------

    Yahoo! Movies - coverage of the 74th Academy Awards®
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: https://stat.ethz.ch/pipermail/r-help/attachments/20020327/ac1131ca/attachment.html
  • Torsten Hothorn at Mar 28, 2002 at 7:56 am

    hi,

    I would like to how to count the number of ties in a vector or matrix picking a column at a time,(ie any type of array)
    R> x <- c(1,1,1:10)
    R> duplicated(x)
    [1] FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
    FALSE
    R> sum(duplicated(x))
    [1] 2
    R>

    and apply and friends for matrices. A subject would be helpful ...

    Torsten
    themba





    ---------------------------------

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Chris Wen at Mar 29, 2002 at 5:54 am
    Hi,

    I am a newbie of R...

    What does the following message mean when I tried running a summary() on a
    dataset?

    Warning message:
    Integer overflow in sum(.); use sum(as.numeric(.))

    _________________________________________________________________


    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Prof Brian D Ripley at Mar 29, 2002 at 6:57 am

    On Fri, 29 Mar 2002, Chris Wen wrote:

    Hi,

    I am a newbie of R...

    What does the following message mean when I tried running a summary() on a
    dataset?

    Warning message:
    Integer overflow in sum(.); use sum(as.numeric(.))
    It means that you are taking the mean of some very large integers, and
    the calculation is overflowing. It is just a warning.

    This will not happen in the next release of R.

    Please use a subject when posting to a list.

    --
    Brian D. Ripley, ripley at stats.ox.ac.uk
    Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
    University of Oxford, Tel: +44 1865 272861 (self)
    1 South Parks Road, +44 1865 272860 (secr)
    Oxford OX1 3TG, UK Fax: +44 1865 272595

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Thomas Lumley at Mar 29, 2002 at 3:59 pm

    On Fri, 29 Mar 2002, Chris Wen wrote:

    Hi,

    I am a newbie of R...

    What does the following message mean when I tried running a summary() on a
    dataset?

    Warning message:
    Integer overflow in sum(.); use sum(as.numeric(.))
    It means that when calculating the sum of a set of integer values (as part
    of calculating the mean) there was a numeric overflow -- the answer was
    larger than 2^30 or about 1 billion. For large numbers you need to use
    floating point rather than integer representation. You may want to convert
    the offending column of your dataset to floating point with eg

    dataset$variable<-as.numeric(dataset$variable)

    -thomas


    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

Related Discussions

People

Translate

site design / logo © 2017 Grokbase