Draw 7- dimentional space [closed] - vector

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need to represent vectors in 7- dimensional space.
How can I draw them and plot points on them?

I don't think there is a reasonable way to draw something 7-dimensional. Best thing to do is to draw several projections in fewer dimensions for instance 2 or 3. Even 4 dimensions is hard to comprehend for men.

Related

Solving linear equation in one variable in R [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
How do we find the solution of x
say in
2*x=6
using R?
It must be very trivial but I cant find out the appropriate answer.
You can use the solve() function, which can actually handle multiple equations:
solve(2, 6)
The first argument is the left side of the equation, the second is the right side.

Limitation on number of items in c() function in R [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
There seems to be a limit to number of items that can be included in c() function in R (100 items).
Is there any way to evade this limitation?
Thanks in advance.
There is a limit, but it is a limit of vector length, not a limitation of c:
length(eval(call('c', 1:(2^31-1))))
## [1] 2147483647
length(eval(call('c', 1:(2^31))))
## Error in 1:(2^31) : result would be too long a vector

Adding Legends to a radarchart [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
By following this thread
I have created a radar chart. Can anyone suggest me how to add a legend to this graph?
Here's a generic legend to get you started. You can alter it to suit your particular needs:
legend(-2,0,
legend=c("V1","V2"),
pch=c(15,16),
col=c("blue","red"),
lty=c(1,2))
The first two arguments are the location of the legend, in terms of the plot's (x,y) coordinates. Check the help for more details on the various arguments to the legend function.
I think you're getting negative votes because you essentially asked others to do your work for you. In the future, try out a few things first to see if you can get at least a partial answer. Then, in your question, explain what you've tried and what, specifically, you're trying to accomplish.

What's the idea of doing x mod 1000000007? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In many programming problems (e.g. some Project Euler problems) we are asked to report the answer as the remainder left after dividing the answer by 1,000,000,007.
Why not any other number?
Edit:
2 years later, here's what I know: the number is a big prime, and any answer to such a question is so large that it makes sense to report a remainder instead (as the number may be too large for a native datatype to handle).
Let me play a telepathist. 1000...7 are prime numbers and 1000000007 is the biggest one that fits in 32-bit integer. Since prime numbers are used to calculate hash (by finding the remainder of the division by prime), 1000000007 is good for calculating 32-bit hash.

How can I change the point color in densityplot (lattice)? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
By points, I mean the points on the bottom of the densityplot. Furthermore, I would like to set some value of "jitter", such that all the points are not just on a straight line and more "scattered" around.
With lattice, it is often helpful to look at the panel version of help functions ?panel.densityplot, which mentions jitter.amount; I admit to peeking at the source for panel.density to see that points are plotted using panel.xyplot, which has argument col.symbol. So
library(lattice)
x = rnorm(1000)
densityplot(x, jitter.amount=.02, col.symbol="red")

Resources