Displaying 2 results from an estimated 2 matches for "cross3".
Did you mean:
cross
2003 Jun 26
2
Change default parameters of panel.smooth
Hello,
can anyome tell me how to access the full script of the panel.smooth function so that I can change the thickness of the smoothing line or its colour ?
All I could access is :
> panel.smooth
function (x, y, col = par("col"), bg = NA, pch = par("pch"),
cex = 1, col.smooth = "red", span = 2/3, iter = 3, ...)
{
points(x, y, pch = pch, col = col, bg =
2004 May 28
5
vector normal to a plane
Hi All,
(I have a degree in math, but I am too embarassed to ask my colleagues,
so here goes:)
I would like to get a vector normal (orthogonal) to a plane formed by
two other vectors. In matlab I do this:
v1 = [.4, .6, .8]; v2 = [.9, .7, .2]; nn = cross(v1,v2) (gives ~[-.48,
.65, -.24]
if I do R> cross(v1, v2), I get .94. Huh?
Thanks for all your help, again.
W