using the same a and b, why solve(a,b) get a 1 by n
matrix while solve(a)%*%b get a n by 1 matrix.
I thought they should be equal to each other...
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
w
[,1] [,2] [,3] [,4]
1:1 0.0 0.5 0.5 0.0
2:1 0.5 0.0 0.0 0.5
1:2 0.5 0.0 0.0 0.5
2:2 0.0 0.5 0.5 0.0
solve(w)
Error in solve.default(w) : Lapack routine dgesv:
system is exactly singular
what does the error mean?
__
if solve(a,b) means to calculate an inverse matrix of
a with b, and i wonder why solve(a)%%b will get
different result?
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
In a package, i type a function name and got the following message:
...
tmp - .Fortran(master, x = as.double(x), y = as.double(y),
sort = as.logical(sort), rw = as.double(rw), npd = as.integer(npd),
ntot = as.integer(ntot), nadj = integer(tadj), madj =
as.integer(madj),
In a package, i type a function name and got the following message:
...
tmp - .Fortran(master, x = as.double(x), y = as.double(y),
sort = as.logical(sort), rw = as.double(rw), npd = as.integer(npd),
ntot = as.integer(ntot), nadj = integer(tadj), madj =
as.integer(madj),
After I made a new plot, the old plot can not be found. How can I check all the
plots I have made?
-
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
There are four points with coordinates:
2,3;4,9;1,6;3,10.
How to use Python to draw one perpendicular bisector between (2,3) and (4,9);
the other perpendicular bisector between (1,6)ºÍ(3,10);
then, makes the output like:
l1 a b c
l2 a b c
(Note: l indicates the perpendicular bisector with equation
Sorry for the typo, ask for R code.
Sam R. Smith [EMAIL PROTECTED] wrote:There are four points with coordinates:
2,3;4,9;1,6;3,10.
How to use Python to draw one perpendicular bisector between (2,3) and (4,9);
the other perpendicular bisector between (1,6)ºÍ(3,10);
then, makes the output like:
l1
Hi,
I have the following code to
randomly generate the
points:
csr -function(n=60){
x=runif(n)
y=runif(n)
f=cbind(x,y)
}
plot(csr())
I wonder how to code to make the first twenty points to be BLUE; second twenty
points to be RED; the last twenty points to be GREEN?
Thanks,
Sam
Hi,
I have the following code to
randomly generate the
points:
csr -function(n=60){
x=runif(n)
y=runif(n)
f=cbind(x,y)
}
plot(csr())
I wonder how to code to draw a square centering on 0.5,0.5; with the length of
each side to be 0.3 on the same figure with these plotted points?
Thanks,
Sam
Hi,
I have the following code to
randomly generate the
points:
csr -function(n=60){
x=runif(n)
y=runif(n)
f=cbind(x,y)
}
plot(csr())
I wonder how to code to draw a square centering on 0.5,0.5; with the length of
each side to be 0.3 on the same figure with these plotted points?
Thanks,
Sam
after typing
symbols(x=0.5, y=0.5, squares=c(0.3), add=TRUE)
it works.
I want to add one more using different length such as
symbols(x=0.5, y=0.5, squares=c(0.15), add=TRUE)
but this square did not show.
Chuck Cleland [EMAIL PROTECTED] wrote:
Sam R. Smith wrote:
Hi,
I have the following code
12 matches
Mail list logo