[R] vector of constant values

Bert Gunter bgunter.4567 at gmail.com
Thu Oct 29 18:22:07 CET 2015


Have you read any R tutorials?? This is about as basic as it gets.

?rep

-- Bert

P.S. Due to vectorized operations, there is probably no need to do this anyway!
Bert Gunter

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
   -- Clifford Stoll


On Thu, Oct 29, 2015 at 10:07 AM, 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
>
> --
> Thanoon Y. Thanoon
> PhD Candidate
> Department of Mathematical Sciences
> Faculty of Science
> University Technology Malaysia, UTM
> E.Mail: Thanoon.younis80 at gmail.com
> E.Mail: dawn_prayer80 at yahoo.com
> Facebook:Thanoon Younis AL-Shakerchy
> Twitter: Thanoon Alshakerchy
> H.P:00601127550205
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list