> -Original Message-
|> > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
|> > project.org] On Behalf Of Patrick Connolly
|> > Sent: Tuesday, September 04, 2012 5:25 AM
|> > To: David Arnold
|> > Cc: r-help@r-project.org
|> > Subject: Re: [R] Adding
Hello,
Ty the following.
names(dimnames(x)) <- c("Academic Performance", "Nutritional Status")
x
Awkward names, by the way.
Hope this helps,
Rui Barradas
Em 03-09-2012 23:25, David Arnold escreveu:
All,
I have:
x <- matrix(c(22,3,6,69,9,4,7,81,23,4,22,50),nrow=3,byrow=TRUE)
rownames(x) <-
lto:r-help-bounces@r-
> project.org] On Behalf Of Patrick Connolly
> Sent: Tuesday, September 04, 2012 5:25 AM
> To: David Arnold
> Cc: r-help@r-project.org
> Subject: Re: [R] Adding summary title to table
>
> On Mon, 03-Sep-2012 at 03:25PM -0700, David Arnold w
On Mon, 03-Sep-2012 at 03:25PM -0700, David Arnold wrote:
|> All,
|>
|> I have:
|>
|> x <- matrix(c(22,3,6,69,9,4,7,81,23,4,22,50),nrow=3,byrow=TRUE)
|> rownames(x) <- c("Cold or flu","Headache","Backache");
|> colnames(x) <- c("Went to doctor","No response","Did
|> nothing","Self-medicated")
|>
4 matches
Mail list logo