search for: shweights

Displaying 3 results from an estimated 3 matches for "shweights".

Did you mean: heights
2010 Nov 17
2
How to catch warnings
...happens. I searched on internet and I tried withCallingHandlers( which seems to work but as I used Rkward the result is awful. I get a prompt to copy paste a value only while at the same time my background window with my code is not anymore accessible. Actually I get the warning that In f[cbind(shweights[, 1], shweights[, 2])] * shweights[,  ... :   longer object length is not a multiple of shorter object length and what I want is when the warning appear to be able to print the value shweights[,1] shweights[,2] to see what is going on. Any easier way to do that? Best REgards Alex [[al...
2010 Nov 18
1
why help ignores some values
...32.000000000000000 32.000000000000000 [34,] 33.000000000000000 33.000000000000000 [35,] 34.000000000000000 34.000000000000000 [36,] 35.000000000000000 35.000000000000000 [37,] 35.999999999999872 35.999999999999872 These are entries in an array. These values are used as indexes inside a matrix. f[shweights[37,1],shweights[37,2]] works fine for me and returns correctly the value. but when I try f[shweights[,1],shweights[,2]] I only get 36 out of 37 results (seems that in that case ignores the last values, 37th) ..... [35,]  2.7245297165175781 [36,]  2.7245297165175781 Why this might be happening? R...
2010 Nov 18
1
Why some times R-halts?
Hello everyone. I have written a small function that returns a 3*n array where n is typicall between 5-55. I issued in R shweights<-shadowing_weights(x,xr) and I got the result in less that one sec. then I tried to see what is inside the shweights array and thus I issued the edit(shweights) which 10 mins right now is busy and got no reply yet back. As I am using rkward I tried from gui the same (workspace-> double clic...