[R] dimension values of an array

jim holtman jholtman at gmail.com
Sat Aug 23 03:21:08 CEST 2008


rownames(yourMatrix) <- sprintf("%.1f", seq(.1, 7, .1))

On Fri, Aug 22, 2008 at 6:48 PM, Jan Akko Eleveld
<eleveldjai at hotmail.com> wrote:
>
> Question:
>
> I created an array with 164 columns and 70 rows.
>
> I would like every column to have unit value 1
> and the rows 0.1, 0.2, 0.3 up to 7. How can I define that?
>
> Thanks for your help!
>
> Good weekend!
>
> Akko
> _________________________________________________________________
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?



More information about the R-help mailing list