search for: kt2

Displaying 5 results from an estimated 5 matches for "kt2".

Did you mean: kt
2018 May 26
3
Grouping by 3 variable and renaming groups
...results in . > priceStore_Grps # A tibble: 15 x 4 # Groups: StorePC, StoreX [?] StorePC StoreX StoreY meanPrice <fct> <int> <int> <dbl> 1 CR7 8LE 532714 168302 472. 2 E2 0RY 535652 182961 520. 3 E7 8NW 541428 184515 467. 4 KT2 5AU 517917 170243 522. 5 N17 6QA 533788 189994 523. Which is fine, but I then want to give each group (e.g. CR7 8LE 532714 168302) a unique identifier (say) Store 1, 2, 3 or some other unique identifier. StorePC StoreX StoreY meanPrice <fct> <int> <...
2018 May 26
0
Grouping by 3 variable and renaming groups
...roups: StorePC, StoreX [?] > > StorePC StoreX StoreY meanPrice > > <fct> <int> <int> <dbl> > > 1 CR7 8LE 532714 168302 472. > > 2 E2 0RY 535652 182961 520. > > 3 E7 8NW 541428 184515 467. > > 4 KT2 5AU 517917 170243 522. > > 5 N17 6QA 533788 189994 523. > > > > Which is fine, but I then want to give each group (e.g. CR7 8LE 532714 > 168302) a unique identifier (say) Store 1, 2, 3 or some other unique > identifier. > > > > StorePC...
2011 Dec 14
1
Hi
..."x" > 1,1.06329287351545 > > > I have three questions: > > First > > When I created this input files I used write.csv and it authomaticaly > creates the structure of the file as you can see. > > Second. If I try to read csv it appears: > > read.csv(KT2.csv,header=T, sep='.') > Error en read.table(file = file, header = header, sep = sep, quote = > quote, : > objeto 'KT2.csv' no encontrado > > But the file is in the right directy.... > > Third (supossing I can solve the format files) > > My main questio...
2018 May 26
1
Grouping by 3 variable and renaming groups
...> ??? StorePC? StoreX StoreY meanPrice >> >> ??? <fct>???? <int>? <int>???? <dbl> >> >> 1 CR7 8LE? 532714 168302????? 472. >> >> 2 E2 0RY?? 535652 182961????? 520. >> >> 3 E7 8NW?? 541428 184515????? 467. >> >> 4 KT2 5AU? 517917 170243????? 522. >> >> 5 N17 6QA? 533788 189994????? 523. >> >> >> Which is fine, but I then want to give each group (e.g. CR7 8LE? 532714 >> 168302) a unique identifier (say) Store 1, 2, 3 or some other unique >> identifier. >> >> &...
2011 Mar 22
1
help need on working in subset within a dataframe
...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 <-abs(sum(yQni, na....