search for: tabler

Displaying 2 results from an estimated 2 matches for "tabler".

Did you mean: table
2010 Jan 28
0
using function boot
...ot function. Here is my function, which basically creates the table from the two variables, divides each cell by the sum of the column to obtain percentage, does the median polish, and computes the median of some of the cells: >juste.polish<-function(data,w=rep(1,nrow(data))/nrow(data)) >{tableR<-table(data[,1],data[,2]) > tableP<-tableR > marg2<-apply(tableR,2,sum) > for (i in 1:nrow(tableP)) > {tableP[i,]<-100*(tableR[i,]/marg2)} >juste.medp<-medpolish(tableP) >median(c(juste.medp$residuals[dimnames(juste.medp$residuals)[[1]]=="e<60",1],...
2012 Feb 06
2
histogram
With R and the hist function, is there a way to make a histogram in which the y axis denotes propotion with respect to a separate sample dataset of the same range instead of frequency? [[alternative HTML version deleted]]