Posts

The Walking Dead 3

The Walking Dead 3 (Originaltitel: The Walking Dead – The Fall Of The Governor: Part One ) ist der dritte Teil einer fünfteiligen Romanreihe der Schriftsteller Robert Kirkman und Jay Bonansinga aus dem Jahr 2013. Die deutsche Übersetzung von Wally Anker wurde durch den Heyne Verlag am 10. Februar 2013 veröffentlicht. Die Romanreihe ist ein Spin-off der Comicserie The Walking Dead und dieser Band ist der dritte von vier Teilen, die die Hintergrundgeschichte des Charakters des „Gouverneurs“ Philip erzählen. Inhaltsverzeichnis 1 Aufbau des Buches 2 Handlung 2.1 Teil 1: Die Zusammenkunft 2.2 Teil 2: Showtime 3 Fortsetzung 4 Literatur 5 Weblinks Aufbau des Buches | Der Roman ist in Deutschland direkt als Taschenbuch im Heyne Verlag erschienen. Ähnlich wie schon in Band 1 und Band 2 dieser Romanreihe ist auch dieses Buch in diesmal zwei Teile aufgeteilt, denen eine nahezu komplett schwarze Seite mit mehreren weißen Farbklecksen vorang...

Getting estimate and p-value into dataframe

Image
0 I am fairly new to R. My data looks something like this (only with 9000 columns and 66 rows) Time <- c(0, 6.4, 8.6, 15.2, 19.4, 28.1, 42.6, 73, 73, 85, 88, 88, 88, 88, 88) ID1 <- c(55030, 54539, 54937, 48897, 58160, 54686, 55393, 47191, 39805, 37601, 51328, 28882, 45587, 60061, 31892, 28670) ID2 <- c(20485, 11907, 10571, 20974, 10462, 11149, 20970, NA, NA, 9295, NA, 8714, 24446, 10748, 9037, 11859) ID3 <- c(93914, 44482, 43705, 51144, 49485, 43908, 44324, 37342, 18872, 39660,61673, 43837, 36528, 44738, 41648, 11100) DF <- data.frame (Time, ID1, ID2, ID3) I want to get a data frame that looks like this : ID1, rho, p-value ID2, rho, p-value ... The rho and the p-value would be the results from a cor.test (spearman) with Time and each ID Among other things I've tried this: results <- data.frame(ID="", Estimate="", P.value="") estimates = numeric(16) pvalues = numeric(16) for (i in 2:4) test <- cor.test(DF[,1], DF[,i])...