Displaying 1 result from an estimated 1 matches for "rownan".
Did you mean:
rowman
2011 Mar 01
2
Entering table with multiple columns & rows
...,23,72,12,15),ncol=4,byrow=TRUE)
> rownames(diet)=c("none", "healthy", "unhealthy", "dangerous")
Error in dimnames(x) <- dn :
length of 'dimnames' [1] not equal to array extent
> diet=matrix(c(24,134,9,52,23,72,12,15), ncol=4, byrow=4)
> rownanes(diet)=c("none", "healthy", "unhealthy", "dangerous")
Error in rownanes(diet) = c("none", "healthy", "unhealthy", "dangerous") :
could not find function "rownanes<-"
> rownames(diet)=c("none"...