Description Usage Format Examples
These data are column normalized and used as an example.
1 |
This is a 3226 by 15 matrix. The first seven columns are from class I and last eight columns are from class II.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
data(hedenlc)
###
set.seed(123456)
obj<-emmixwire(hedenlc,g=5,ncov=3,nvcov=1,n1=7,n2=8,
debug=1,itmax=1000,epsilon=1e-4)
### to save the estimation results for later use
#save(obj,file="ret3.rbin")
###reload the results
#load("ret3.rbin")
### calculate the weighted contrasts W_j
Wj <- scores.wire(obj)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.