View source: R/mcpqFunctions.R
| mcpqest | R Documentation | 
Computes the pth quantile and variances for groups of given samples in one-way anova layout. It has option for right censored data.
mcpqest(y, f, event = NULL, 
Right.Censored = FALSE, p = 0.5, ...)
| y | a numeric vector, the response variable. If Right.Censored = True, y is non-negative follow up time for right censored in survival data. | 
| f | a factor variable of the same length as y, assigning the observations in y into k groups. | 
| event | a binary variable indicating status for right censored data. Usually, 1 if event of interest has occurred (death = 1) and 0 otherwise (alive = 0). | 
| Right.Censored | a logical expression indicating right-censored data is being used for constructing simultaneous confidence interval. | 
| p | a single numeric value between 0 and 1 indicating the level of quantile for the contrasts. The default is p = 0.5 (the median). | 
| ... | further arguments to be passed to the internal methods, in particular:  | 
Mainly for internal use.
a list with elements:
| quantileEST | a numeric vector, the point estimates of quantiles for each factor level. | 
| varEST | a numeric vector, the variance estimates for each factor level. | 
| n | a numeric vector, the sample size of each factor level | 
Lawrence S. Segbehoe, Gemechis Dilba Djira, Frank Schaarschmidt (package inclusion)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.