; >>>
> >>> Duncan Murdoch
> >>>
> >>>
> >>> Thanks a again,
> >>>>
> >>>>
> >>>> Gian
> >>>>
> >>>> On 13 September 2012 12:26, anna freni sterrantino <
> annafr.
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
>>> Duncan Murdoch
>>>>
>>>>
>>>> Thanks a again,
>>>>>
>>>>> Gian
>>>>>
>>>>> On 13 September 2012 12:26, anna freni sterrantino >>>>
>>>>>> wrote:
>&
>>> Gian
>>>>
>>>> On 13 September 2012 12:26, anna freni sterrantino >>>
>>>>> wrote:
>>>>>
>>>>
>>>> Hello Gian,
>>>>
>>>>> sure sample function
>>>>> will do it for y
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
>
> 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
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
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
8 matches
Mail list logo