View source: R/qa_get_eta_transf_table.R
get_eta_transf_table | R Documentation |
Calculate ETAT values for each eta in normal distribution. Calculations done based on the formula: If boxcox model: (exp(eta)^lambda -1)/lambda If tdist model: eta(1+((eta^2 + 1)/(4deg_of_freedom))+((5eta^4 + 16eta^2 + 3)/(96deg_of_freedom^2))+((3eta^6 + 19eta^4 + 17eta^2 - 15)/(384deg_of_freedom^3)))
get_eta_transf_table(input_table, seq_length.out = 1000)
input_table |
A data frame of ETA name in the column ETA, lambda/degrees of freedom values in the column Lambda/Degrees of freedom and standard deviation (from parameter model) of the ETA in the third column. |
seq_length.out |
Desired length of the sequence for the seq function. So many eta values for each ETA and each ETAT will be in the output dataframe. By default seq_length.out=1000. |
A list of 3 elements: eta_transf_table - a data frame of the transformed ETA values fig_height - hight of the figure which is based on how many ETAs are in the table make_eta_transf_plot - a logical identifier if eta transformation plot should be created
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.