Description Usage Arguments Value
View source: R/defaultGuess_function.R
This function, used in blcest, picks a reasonable starting guess for optim, which is the mean, sd, and corr of the data ignoring censoring.
1 | defaultGuess(cenData)
|
cenData |
nx4 matrix of data, in which first two columns hold data values for x and y variables and the second two columns hold flags for censoring such that 1 implies censored and 0 implies not censored. |
Returns a vector of length 5, which is a guess for each xmu, ymu, xsd, ysd, correlation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.