[R] T-Distribution
bojaniss
bojaniss at poczta.onet.pl
Wed Oct 2 14:02:32 CEST 2002
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list