Displaying 2 results from an estimated 2 matches for "kt1".
Did you mean:
kt
2011 Mar 22
1
help need on working in subset within a dataframe
...(ped, fd, iid, mid, fid, y, x1, x2, x3, x4)
myfun <- function(dataframe) {
namemat <- matrix(c(1:4), nrow = 1)
smyfun <- function(x) {
x <- as.vector(x)
K1 <- dataframe$x1 * 0.23
K2 <- dataframe$x2 * 0.98
# just example there is long vector calculations in read dataset
kt1 <- K1 * K2
kt2 <- K1 / K2
Qni <- (K1*(kt1-0.25)+ K2 *(kt2-0.25))
y <- dataframe$y
yg <- mean(y, na.rm= TRUE) # mean of trait Y # mean of trait Y
dvm <- (y-yg ) # deviation of phenotypic value from mean
sumdvm <-abs(sum(dvm, na.rm= TRUE))
yQni <- y* Qni
sumyQni <...
2005 Jun 09
1
krig.image help
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Mike J Smith
> Sent: 09 June 2005 09:58
> To: r-help at stat.math.ethz.ch
> Subject: [R] krig.image help
>
>
> Hi
>
> I have recently been experimenting with the use of kriging, primarily
> through Goldensoftware's Surfer.