search for: initial2

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

Did you mean: initial
2018 May 30
2
Evaluation failure of IAPWS95 functions in a rowwise manner (tidyverse style)
...unction is not outputting the correct rho. A minimal example with results is below. I've also included the definition of the DTp function from the IAPWS95 library. ==================================== library(IAPWS95) library(tidyverse) initial <- data.frame(T=c(279,294),p=c(0.46,0.46)) initial2 <- initial %>% mutate(rho=DTp(T,p)) > DTp function (T, p) { y <- 0 icode <- 0 res <- .Fortran("DTp", as.double(T), as.double(p), as.double(y), as.integer(icode)) options(digits = 9) if (res[[4]] != 0) { error <- as.character(...
2018 May 30
0
Evaluation failure of IAPWS95 functions in a rowwise manner (tidyverse style)
...t rho. > > A minimal example with results is below. I've also included the definition of the DTp function from the IAPWS95 library. > ==================================== > library(IAPWS95) > library(tidyverse) > > initial <- data.frame(T=c(279,294),p=c(0.46,0.46)) > initial2 <- initial %>% > mutate(rho=DTp(T,p)) > >> DTp > function (T, p) > { > y <- 0 > icode <- 0 > res <- .Fortran("DTp", as.double(T), as.double(p), as.double(y), > as.integer(icode)) > options(digits = 9) > if...
2011 Jul 13
1
Hardy Weinberg Case Control Test in gap R package
Hi, I am using the gap R package to do the Hardy Weinberg Case Control test for many SNP. I am not sure what the values initial1 and initial2 should be for the test. I tried values but they failed. I emailed the author but to no avail. There seems to be some documentation that is deleted at the top, if anyone can direct me how to get this I will be grateful. -- Thanks, Jim. [[alternative HTML version deleted]]