Re: [R] random sampling inside a dataset

2012-10-04 Thread Marianna Chimienti
; >>> > >>> Duncan Murdoch > >>> > >>> > >>> Thanks a again, > >>>> > >>>> > >>>> Gian > >>>> > >>>> On 13 September 2012 12:26, anna freni sterrantino < > annafr.

Re: [R] random sampling inside a dataset

2012-10-04 Thread Duncan Murdoch
no Department of Statistics University of Bologna, Italy via Belle Arti 41, 40124 BO. -- *Da:* Gian Maria Niccolň Benucci *A:* r-help@r-project.org *Inviato:* Giovedě 13 Settembre 2012 10:42 *Oggetto:* [R] random sampling inside a dataset Hi all, I am wondering if do

Re: [R] random sampling inside a dataset

2012-10-04 Thread Rui Barradas
>>> Duncan Murdoch >>>> >>>> >>>> Thanks a again, >>>>> >>>>> Gian >>>>> >>>>> On 13 September 2012 12:26, anna freni sterrantino >>>> >>>>>> wrote: >&

Re: [R] random sampling inside a dataset

2012-10-04 Thread Gian Maria Niccolò Benucci
>>> Gian >>>> >>>> On 13 September 2012 12:26, anna freni sterrantino >>> >>>>> wrote: >>>>> >>>> >>>> Hello Gian, >>>> >>>>> sure sample function >>>>> will do it for y

Re: [R] random sampling inside a dataset

2012-09-13 Thread Duncan Murdoch
p@r-project.org *Inviato:* Giovedì 13 Settembre 2012 10:42 *Oggetto:* [R] random sampling inside a dataset Hi all, I am wondering if do exist a function in R that allow me to sample or choose randomly the rows (i.e., samples) inside a given matrix. Thank you very much in advance. Cheers, -- G

Re: [R] random sampling inside a dataset

2012-09-13 Thread Gian Maria Niccolò Benucci
> > Anna Freni Sterrantino > Department of Statistics > University of Bologna, Italy > via Belle Arti 41, 40124 BO. > -- > *Da:* Gian Maria Niccolò Benucci > *A:* r-help@r-project.org > *Inviato:* Giovedì 13 Settembre 2012 10:42 > *Oggetto:* [R] ran

Re: [R] random sampling inside a dataset

2012-09-13 Thread Berend Hasselman
On 13-09-2012, at 10:42, Gian Maria Niccolò Benucci wrote: > Hi all, > > I am wondering if do exist a function in R that allow me to sample or > choose randomly the rows (i.e., samples) inside a given matrix. Use sample. Like this for example A <- matrix(runif(8*4), nrow=8) A select.row <- sa

[R] random sampling inside a dataset

2012-09-13 Thread Gian Maria Niccolò Benucci
Hi all, I am wondering if do exist a function in R that allow me to sample or choose randomly the rows (i.e., samples) inside a given matrix. Thank you very much in advance. Cheers, -- Gian [[alternative HTML version deleted]] __ R-help@r-pro