Description Usage Arguments Details Value

Get the most informative subjects for the highly stratified response data by the D-optimility.

1 |

`X` |
A data frame contains all the random samples which we will choose subject from. |

`id` |
The id for each subject in the X |

`beta` |
The paramters that we estimate under the current samples |

`nonZeroSet` |
The set of the index of the non zero coefficient |

`M` |
A numeric matrix calculated by the |

`rho` |
A numeric number indicating the estimate of correlation coefficient |

`linkv` |
A specification for the model link function. |

`corstrv` |
A character string specifying the correlation structure. The following are permitted: "independence", "exchangeable" and "ar1". |

D_optimal uses the D-optimality criterion from the experimental design to choose the most informative subjects for the highly stratified response data.

a index of the most informative subject

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.