Displaying 1 result from an estimated 1 matches for "justfified".
2004 Oct 19
2
Matrix/Table col headings R 2.0.0
I have been looking at some 'table' examples in Peter Dalgaard's ISwR book, and I am confused by how to get right justification of my table headings when I use the tables() command. Compare the following:
# Produces right justfified column names
caff.marital=matrix(c(652,1537,598,242,36,46,38,21,218,327,106,67),nrow=3,byrow=T)
colnames(caff.marital)=c("0","1-150","151-300",">300")
rownames(caff.marital)=c("Married","Prev.married","Single")
caff.marital
cl...