Dear sir, I would ask if there are in R some code to generate a random sample from a mvariate student distribution like that one wich generate the multivariate normal one i mean( rmvnorm(n, mu, sigma) Second question : if R can plot density 3Dcurve I don't mean de histogram but de hole density function(normal for example). I use a windows version of The R software Thank you in advance wiyh kind regard -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
T-Distribution
2 messages · H. Zmarrou, Michal Bojanowski
Hello Hicham,
Wednesday, October 2, 2002, 11:28:03 AM, you wrote:
HZ> Dear sir, HZ> I would ask if there are in R some code to generate a random sample HZ> from a mvariate student distribution like that one wich generate the HZ> multivariate normal one i mean( rmvnorm(n, mu, sigma) Try rt() function, type ?rt for help. HZ> Second question : if R can plot density 3Dcurve I don't mean de HZ> histogram but de hole density function(normal for example). I think sm.density function in sm package (available on CRAN) will do what you want. hope this helps Michal ~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~ Michal Bojanowski - mbojanowski at samba.iss.uw.edu.pl Polish General Social Survey Institute for Social Studies University of Warsaw http://www.iss.uw.edu.pl/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._