View source: R/mnntsplotmarginal.R
mnntsplotmarginal | R Documentation |
Plots the MNNTS marginal density function
mnntsplotmarginal(cestimates, M, component, ...)
cestimates |
Matrix of prod(M+1)*(R+1). The first R columns are the parameter number, and the last column the c parameter's estimators. The matrix could be the output of mnntsmanifoldnewtonestimation $cestimates |
M |
Vector with number of components in the MNNTS for each dimension |
component |
Number of the dimension for computing the marginal density |
... |
Arguments passed to the function plot |
Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez
Fernandez-Duran, J.J. and Gregorio-Dominguez, M.M. (2009) Multivariate Angular Distributions Based on Multiple Nonnegative Trigonometric Sums, Working Paper, Statistics Department, ITAM, DE-C09.1
Fernandez-Duran, J.J., Gregorio-Dominguez, M.M. (2014). Modeling Angles in Proteins and Circular Genomes Using Multivariate Angular Distributions Based on Nonnegative Trigonometric Sums. Statistical Applications in Genetics and Molecular Biology, 13(1), 1-18. doi:10.1515/sagmb-2012-0012
set.seed(200)
M<-c(2,3)
R<-length(M)
data(Nest)
data<-Nest
est<-mnntsmanifoldnewtonestimation(data,M,R,100)
est
cest<-est$cestimates
mnntsplotmarginal(cest, M, 1)
mnntsplotmarginal(cest, M, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.