[R-sig-Geo] How to add random numbers to an existing data frame for Validation

Timothy H. Keitt tkeitt at mail.utexas.edu
Thu Aug 19 20:43:01 CEST 2004


Try ?sample at the command prompt. (Note the "replace" option.)

THK

On Thu, 2004-08-19 at 01:12, Susanne Osterkamp wrote:
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> Received-SPF: none (hypatia: domain of sokamp at web.de does not designate permitted sender hosts)
> X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hypatia.math.ethz.ch
> X-Spam-Level: **
> X-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_50 autolearn=no version=2.63
> 
> Hello everybody,
> 
> I would like to validate my data for working with CART
> I need to now how to randomize eithter the ID column in my already existing data frame or how to create a randomized column of some 6800 intgers to fit it to my data frame. I did not understand the manual concerning the possibilities to random data, sorry.
> Thanks a lot for your help!
> 
> Susanne Osterkamp
> _______________________________________________________
> WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
-- 
Timothy H. Keitt
Section of Integrative Biology
University of Texas at Austin
http://www.keittlab.org/




More information about the R-sig-Geo mailing list