search for: reuslt

Displaying 9 results from an estimated 9 matches for "reuslt".

Did you mean: result
2006 Jun 13
5
strange RJS behavior
I used RJS extensively in my last web app with no problem. I''m just beginning a new one and having a very odd problem. The called method, get_names, retrieves some values from the database, then ends: render :layout => false the get_names.rjs file is rendered into Javascript, but then is just dumped as Javascript (text) into the browser: e.g: try {
2010 Oct 14
4
help
Dear all, I have a function f(x) which return a list as result. $T1 [1] 0.03376190 $T2 [1] 0.04725 $T3 [1] 0.3796071 $T4 [1] 0.3713452 $T5 [1] 0.4523651 $T6 [1] 0.4575873 I now find the result for a vector of x values at one time. I want to store the reuslt for each xi value in a column of a matrix x <- seq(0,1, by=0.1) result <- matrix(0, nrow=6, ncol=length(x)) for (i in 1:length(x)){result[,i] <- f(x[i])} It is not working. Can some help me. [[alternative HTML version deleted]]
2010 Oct 14
6
for loop
Dear all, I have a function f(x) which return a list as result. $T1 [1] 0.03376190 $T2 [1] 0.04725 $T3 [1] 0.3796071 $T4 [1] 0.3713452 $T5 [1] 0.4523651 $T6 [1] 0.4575873 I now find the result for a vector of x values at one time. I want to store the reuslt for each xi value in a column of a matrix x <- seq(0,1, by=0.1) result <- matrix(0, nrow=6, ncol=length(x)) for (i in 1:length(x)){result[,i] <- f(x[i])} It is not working. Can some help me. Thank you very much! Hannah [[alternative HTML version deleted]]
2006 Jan 04
3
samba 3.0.21a rpc joined domain question
...PDC failed: Cannot resolve network address for KDC in requested realm -- wbinfo -m => disply trust domain? R2K-PDC (is it corrent result?) the same steps and configurations, this error is not happen with smaba version 3.0.20b and I found that " wbinfo -m" after join domain, the reuslt of 3.0.20b is empty, wbinfo -u has no problem. Rocky
2017 Jun 06
2
integrating 2 lists and a data frame in R
...0 0 0 0 Option 2: Sparase matrix > (X <- xtabs(I ~ m+n , C, sparse=TRUE)) 5 x 4 sparse Matrix of class "dgCMatrix" n m n1 n2 n3 n4 m1 100 300 . . m2 . . . . m3 . . 400 . m4 . . . . m5 . . . . I wasn't sure if the sparse reuslts of xtabs would make a distinction between 0 and NA, but happily it does: > C <- data.frame(n=c("n1","n2","n3", "n3", "n4"), m=c("m1","m1","m3", "m4", "m5"), I=c(100,300,400, NA, 0)) > C...
2017 Jun 06
0
integrating 2 lists and a data frame in R
...X <- xtabs(I ~ m+n , C, sparse=TRUE)) > 5 x 4 sparse Matrix of class "dgCMatrix" > n > m n1 n2 n3 n4 > m1 100 300 . . > m2 . . . . > m3 . . 400 . > m4 . . . . > m5 . . . . > > I wasn't sure if the sparse reuslts of xtabs would make a distinction > between 0 and NA, but happily it does: > > > C <- data.frame(n=c("n1","n2","n3", "n3", "n4"), m=c("m1","m1","m3", > "m4", "m5"), I=c(100,300,400...
2017 Jun 06
1
integrating 2 lists and a data frame in R
...>> 5 x 4 sparse Matrix of class "dgCMatrix" >> n >> m n1 n2 n3 n4 >> m1 100 300 . . >> m2 . . . . >> m3 . . 400 . >> m4 . . . . >> m5 . . . . >> >> I wasn't sure if the sparse reuslts of xtabs would make a distinction >> between 0 and NA, but happily it does: >> >> > C <- data.frame(n=c("n1","n2","n3", "n3", "n4"), m=c("m1","m1","m3", >> "m4", "m5"),...
2017 Jun 06
0
integrating 2 lists and a data frame in R
Hi Bogdan, Kinda messy, but: N <- data.frame(N=c("n1","n2","n3","n4")) M <- data.frame(M=c("m1","m2","m3","m4","m5")) C <- data.frame(n=c("n1","n2","n3"), m=c("m1","m1","m3"), I=c(100,300,400))
2017 Jun 06
4
integrating 2 lists and a data frame in R
Dear Bert, thank you for your response. here it is the piece of R code : given 3 data frames below --- N <- data.frame(N=c("n1","n2","n3","n4")) M <- data.frame(M=c("m1","m2","m3","m4","m5")) C <- data.frame(n=c("n1","n2","n3"),