| catable {GenABEL} | R Documentation |
This function makes a table with number of observations which fall between user-defined categories
catable(data, categories = c(quantile(data,c(0.01,0.1,0.5,0.9,0.99),na.rm=TRUE)), cumulative = FALSE, na.rm = TRUE, digits = 3)
data |
A vector of numerics |
categories |
vector containing desired cut-off levels |
cumulative |
whether cumulative distribution should be shown |
na.rm |
how to treat NAs |
digits |
number of digits to be saved in rounding |
table with number and proportion of observations falling between categories
Yurii Aulchenko
summary.snp.data,
perid.summary
data(srdta)
callr <- summary(srdta@gtdata)[,"CallRate"]
catable(callr,c(0.93,0.95,0.99))
catable(callr)
catable(callr,cum=TRUE)