[R] vector of constant values

Sarah Goslee sarah.goslee at gmail.com
Thu Oct 29 18:18:05 CET 2015


If you mean you need a matrix of that size,

matrix(1, nrow=200, ncol=2)

On Thu, Oct 29, 2015 at 1:07 PM, thanoon younis
<thanoon.younis80 at gmail.com> wrote:
> Dear Members,
>
> I want to simulate a vector of constants values with dimention = 200x2 and
> all values of this vector are 1.
>
> Any help please.
>
>
> Regards
>



More information about the R-help mailing list