Displaying 4 results from an estimated 4 matches for "erdal".
Did you mean:
serdal
2012 Jun 04
2
get index of current element in vector
(Just learning R)
I have this vector:
v <- c(1:10)
Now, I want to multiply each element of that vector with a scalar value
multiplied with its index:
vm <- v * scalar * indexOfCurrentElementOf_v
Is that possible without using a loop?
In a loop I would do this:
for (i in 1:length(a)) a[i] <- scalar * a[i]
[[alternative HTML version deleted]]
2012 Jul 19
1
[tripack] error in trmesh
I am trying to triangulate a point set as follows:
> head(cbind(x,y))
x y
[1,] -78.1444 -60.4424
[2,] -78.1444 -58.4424
[3,] -78.1444 -56.4424
[4,] -78.1444 -54.4424
[5,] -76.1444 -60.4424
[6,] -76.1444 -58.4424
> length(x)
[1] 5000
> tri <- tri.mesh(x, y)
Fehler in tri.mesh(x, y) : error in trmesh
> tri <- tri.mesh(x, y, "remove")
Fehler in tri.mesh(x, y,
2012 Jul 23
1
[RCurl] HTTP 404 Status
I am trying to get contents of a REST response:
getURL("http://localhost/myweb-app/rest-ws")
This is a web application (myweb-app) which is providing a REST web service
(rest-ws)...
Unfortunately, the HTTP status sent back is 404.
If I request the url using Chrome/IE, I get a HTTP status 200 OK.
In Opera the request does not succeed either.
I am using 2.15.1 (Win7, 64Bit) and just
2012 Jul 18
1
convert deldir$delsgs to a X3D IndexedTriangleSet
Anyone knows how to convert a deldir$delsgs to a X3D IndexedTriangleSet?
Are there already any functions/packages?
[[alternative HTML version deleted]]