Description Usage Arguments Details Value Author(s) References See Also Examples
This function generates a sample hyperplane data set.
1 | shpd(n,m=2,Rsq=0.7,Ri=0)
|
n |
number of sample points to generate |
m |
a hyperplane of dimension m-1 will be generated in m space |
Rsq |
the desired coefficient of determination for the hyperplane, indicates how far data points will vary from the plane. |
Ri |
correlation coefficient for "independent"" variables within the hyperplane |
Scatters data around the hyperplane: Vm = sum(V1...Vm-1) + noise where noise is adjusted so that the final dataset has coefficient of determination equal to Rsq. Variables V1..Vm-1 are assumed to be independent but the user can make them dependent on each other by setting the Vi parameter away from zero.
Returns a n x m data set
Ben Murrell, Dan Murrell & Hugh Murrell.
Discovering general multidimensional associations, http://arxiv.org/abs/1303.1828
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.