search for: expr8

Displaying 19 results from an estimated 19 matches for "expr8".

Did you mean: expr
2023 Jan 09
5
return value of {....}
...t expression evaluated. This has the visibility of the last evaluation. But both x AND y are created, but the "return value" is y. How can this be advantageous for solving practical problems? Specifically, consider the following code: F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} Both expr5 and expr7 are created, and are accessible by the code outside of the nested braces right? But the "return value" of the nested braces is expr7. So doesn't this mean that only expr7 should be accessible? Please help me entangle this (of course the return value of F...
2001 May 30
2
environments
I would like to be able, inside a function, to create a new function, and use it as part of a formula as an argument to, say, gnls or nlme. for example: MyTop <- function(data=dta) { Cexp <- function(dose,A,B,m){...} Model <- as.formula(paste("y","~ Cexp(",paste(formals(Cexp),collapse =", "),")")) MyCall <-
2023 Jan 09
2
return value of {....}
...has the visibility of the last evaluation. > > But both x AND y are created, but the "return value" is y. How can this be > advantageous for solving practical problems? Specifically, consider the > following code: > > F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > > Both expr5 and expr7 are created, and are accessible by the code outside > of the nested braces right? But the "return value" of the nested braces is > expr7. So doesn't this mean that only expr7 should be accessible? Please > help me entangle this (of cours...
2001 May 01
0
SSfpl self-start sometimes fails... workaround proposed
...As a workaround, I propose a modified self-start function for SSfpl that remedy to this: --------------------------------------- fpl <- function (input, A, B, xmid, scal) { .expr1 <- B - A .expr2 <- xmid - input .expr4 <- exp((.expr2/scal)) .expr5 <- 1 + .expr4 .expr8 <- 1/.expr5 .expr13 <- .expr5^2 .value <- A + (.expr1/.expr5) .actualArgs <- as.list(match.call()[c("A", "B", "xmid", "scal")]) if (all(unlist(lapply(.actualArgs, is.name)))) { .grad <- array(0, c(length(.value), 4), lis...
2023 Jan 11
1
return value of {....}
...has the visibility of the last evaluation. > > But both x AND y are created, but the "return value" is y. How can this be > advantageous for solving practical problems? Specifically, consider the > following code: > > F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > > Both expr5 and expr7 are created, and are accessible by the code outside > of the nested braces right? But the "return value" of the nested braces is > expr7. So doesn't this mean that only expr7 should be accessible? Please > help me entangle this (of cours...
2023 Jan 09
3
return value of {....}
...ated. This has the visibility of the last evaluation. > > But both x AND y are created, but the "return value" is y. How can this be advantageous for solving practical problems? Specifically, consider the following code: > > F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > > Both expr5 and expr7 are created, and are accessible by the code outside of the nested braces right? But the "return value" of the nested braces is expr7. So doesn't this mean that only expr7 should be accessible? Please help me entangle this (of course the return va...
2023 Jan 09
1
return value of {....}
...ed. This has the visibility of the last evaluation. > > But both x AND y are created, but the "return value" is y. How can this be advantageous for solving practical problems? Specifically, consider the following code: > > F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > > Both expr5 and expr7 are created, and are accessible by the code outside of the nested braces right? But the "return value" of the nested braces is expr7. So doesn't this mean that only expr7 should be accessible? Please help me entangle this (of course the return v...
2023 Jan 09
1
return value of {....}
...he last evaluation. >> >> But both x AND y are created, but the "return value" is y. How can this >> be advantageous for solving practical problems? Specifically, consider the >> following code: >> >> F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} >> >> Both expr5 and expr7 are created, and are accessible by the code outside >> of the nested braces right? But the "return value" of the nested braces is >> expr7. So doesn't this mean that only expr7 should be accessible? Please >> help me ent...
2023 Jan 12
4
return value of {....}
...he visibility of the last evaluation. >> >> But both x AND y are created, but the "return value" is y. How can this be advantageous for solving practical problems? Specifically, consider the following code: >> >> F <- function(X) {? expr; expr2; { expr5; expr7}; expr8;expr10} >> >> Both expr5 and expr7 are created, and are accessible by the code outside of the nested braces right? But the "return value" of the nested braces is expr7. So doesn't this mean that only expr7 should be accessible? Please help me entangle this (of course the r...
2023 Jan 09
1
return value of {....}
...>> >>> But both x AND y are created, but the "return value" is y. How can this >>> be advantageous for solving practical problems? Specifically, consider the >>> following code: >>> >>> F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} >>> >>> Both expr5 and expr7 are created, and are accessible by the code outside >>> of the nested braces right? But the "return value" of the nested braces is >>> expr7. So doesn't this mean that only expr7 should be accessible? Please >...
2023 Jan 09
1
return value of {....}
...of the last evaluation. > > > > But both x AND y are created, but the "return value" is y. How can this > be advantageous for solving practical problems? Specifically, consider the > following code: > > > > F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > > > > Both expr5 and expr7 are created, and are accessible by the code outside > of the nested braces right? But the "return value" of the nested braces is > expr7. So doesn't this mean that only expr7 should be accessible? Please > help me entangle this...
2023 Jan 13
1
return value of {....}
...uation. > >> > >> But both x AND y are created, but the "return value" is y. How can this > be advantageous for solving practical problems? Specifically, consider the > following code: > >> > >> F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > >> > >> Both expr5 and expr7 are created, and are accessible by the code > outside of the nested braces right? But the "return value" of the nested > braces is expr7. So doesn't this mean that only expr7 should be accessible? > Please help me entan...
2023 Jan 09
1
return value of {....}
...ated. This has the visibility of the last evaluation. > > But both x AND y are created, but the "return value" is y. How can this be advantageous for solving practical problems? Specifically, consider the following code: > > F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > > Both expr5 and expr7 are created, and are accessible by the code > outside of the nested braces right? But the "return value" of the > nested braces is expr7. So doesn't this mean that only expr7 should be > accessible? Please help me entangle this (of co...
2023 Jan 15
3
return value of {....}
...uation. > >> > >> But both x AND y are created, but the "return value" is y. How can this > be advantageous for solving practical problems? Specifically, consider the > following code: > >> > >> F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > >> > >> Both expr5 and expr7 are created, and are accessible by the code > outside of the nested braces right? But the "return value" of the nested > braces is expr7. So doesn't this mean that only expr7 should be accessible? > Please help me entan...
2023 Jan 10
1
return value of {....}
...ated. This has the visibility of the last evaluation. > > But both x AND y are created, but the "return value" is y. How can this be advantageous for solving practical problems? Specifically, consider the following code: > > F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > > Both expr5 and expr7 are created, and are accessible by the code > outside of the nested braces right? But the "return value" of the > nested braces is expr7. So doesn't this mean that only expr7 should be > accessible? Please help me entangle this (of cours...
2023 Jan 10
1
return value of {....}
...ated. This has the visibility of the last evaluation. > > But both x AND y are created, but the "return value" is y. How can this be advantageous for solving practical problems? Specifically, consider the following code: > > F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > > Both expr5 and expr7 are created, and are accessible by the code > outside of the nested braces right? But the "return value" of the > nested braces is expr7. So doesn't this mean that only expr7 should be > accessible? Please help me entangle this (of co...
2023 Jan 16
1
return value of {....}
...uation. > >> > >> But both x AND y are created, but the "return value" is y. How can this > be advantageous for solving practical problems? Specifically, consider the > following code: > >> > >> F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > >> > >> Both expr5 and expr7 are created, and are accessible by the code > outside of the nested braces right? But the "return value" of the nested > braces is expr7. So doesn't this mean that only expr7 should be accessible? > Please help me entan...
2023 Jan 16
2
return value of {....}
...uation. > >> > >> But both x AND y are created, but the "return value" is y. How can this > be advantageous for solving practical problems? Specifically, consider the > following code: > >> > >> F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > >> > >> Both expr5 and expr7 are created, and are accessible by the code > outside of the nested braces right? But the "return value" of the nested > braces is expr7. So doesn't this mean that only expr7 should be accessible? > Please help me entan...
2023 Jan 16
1
return value of {....}
...;> > >> But both x AND y are created, but the "return value" is y. How can > >> this > be advantageous for solving practical problems? Specifically, consider > the following code: > >> > >> F <- function(X) { expr; expr2; { expr5; expr7}; expr8;expr10} > >> > >> Both expr5 and expr7 are created, and are accessible by the code > outside of the nested braces right? But the "return value" of the > nested braces is expr7. So doesn't this mean that only expr7 should be accessible? > Please help me enta...