search for: joe1985

Displaying 11 results from an estimated 11 matches for "joe1985".

2009 Feb 19
2
Use of ifelse for indicating specific rownumber
Hello I have a dataset named "b2" with 1521 rows, in that dataset i have 64 rows containing specific information. the rownumbers with specific info are: + i [1] 22 53 104 127 151 196 235 238 249 250 263 335 344 353 362 370 389 422 458 459 473 492 502 530 561 624 647 651 666 671 [31] 715 784 791 807 813 823 830 841 862 865 1036 1051 1062 1068
2009 Jan 26
2
Getting data from a PDF-file into R
Hello I have around 200 PDF-documents, containing data i want organized in R as a dataframe. The PDF-documents look like this; http://www.nabble.com/file/p21667074/PRRS-billede%2Bmed%2Bfarver.jpeg or like this; http://www.nabble.com/file/p21667074/PRRS-billede%2Bmed%2Bfarver%2B2.jpeg So i want to pull out the data in coloured boxes it become organized like this (just in R instead of
2009 Apr 22
3
Merging data frames, or one column/vector with a data frame filling out empty rows with NA's
Hello I have two data frames, SNP4 and SNP1: > head(SNP4) Animal Marker Y 3213 194073197 P1001 0.021088 1295 194073197 P1002 0.021088 915 194073197 P1004 0.021088 2833 194073197 P1005 0.021088 1487 194073197 P1006 0.021088 1885 194073197 P1007 0.021088 > head(SNP1) Animal Marker x 3213 194073197 P1001 2 1295 194073197 P1002 1 915 194073197
2009 Jan 13
1
Bar plot between two different liniar models
Hello I have a problem that i ant make a Bar plot like the one i have tried to illustrate below (made in paint); http://www.nabble.com/file/p21437080/LG5%2Bgraf%2Bredigeret.jpg http://www.nabble.com/file/p21437080/LG5%2Bgraf%2Bredigeret.JPG LG5+graf+redigeret.JPG Where each line represents a model; model1 = 0.58*x+12.65 model2 = 1.16*x+12.65 But i only want the bars and with y-values above
2009 Feb 20
1
Using "rep", but don't know what to put after each =
Hello I have one DF (detheleny1periode), with some variables that mathes, in some way, variables in another DF (y2). The DF named detheleny1periode look like this (i have not included alle variables): CHR_NR diffdatoperiode 11377 29 11377 59 11377 78 with many different CHR_NR's. And the other DF named y2 look like this (i have not
2009 Feb 26
1
Incorporating cumsum in for loop
Hello Hello i have this DF: > c CHR_NR diffdato1 x 1022 10395 1994-05-30 11.0 39 0 1994 1 1 0 0 24 1 1 24 29100 11377 2003-05-22 17.0 24 0 2003 1 1 0 0 15 1
2009 Feb 13
2
extracting parts of words or extraxting letter to use in ifelse-func.
Hello I want to make some variables with the ifelse-function, but i don't know how to do it. I want to make these five variables; b2$PRRSvac <- ifelse(b2$status=='A' | b2$status=='Aa',1,0) b2$PRRSdk <- ifelse(b2$status=='B' | b2$status=='Bb',1,0) b2$sanVac <- ifelse(b2$status=='C' | b2$status=='sanAa',1,0) b2$sanDk <-
2009 Apr 22
2
Exporting objects plotted with plot3d() - rgl package
...ephen J. Barr) > 141. Re: My surprising experience in trying out REvolution's R > (Dieter Menne) > 142. integrate lgamma from 0 to Inf (Andreas Wittmann) > 143. Merging data frames, or one column/vector with a data frame > filling out empty rows with NA's (joe1985) > 144. Copula package (Roslina Zakaria) > 145. Re: automatic exploration of all possible loglinear models? > (bartjoosen) > 146. Re: Copula package (Pfaff, Bernhard Dr.) > 147. Re: Generate bivariate binomial data (ONKELINX, Thierry) > 148. Intervention Time Ser...
2009 Jan 28
2
t.test in a loop
Hi All, I've been having a little trouble with creating a loop that will run a a series of t.tests for inspection, Below is the code i've tried, and some checks i've looked at. I've used the get(paste()) idea as i was told previously that the use of the eval should try and be avoided. I've run a single syntax to check that my systax is correct and works without any problems
2009 Feb 13
0
Making plot with "sub"-X values
Hello I have a big dataset where i have pulled out some periods of time acording to a herd-number (see below): CHR_NR DATO_TEST SALMO_INDEX didiffdatoperiode 11377 2003-06-20 7.9 29 11377 2003-09-01 4.3 59 11377 2004-02-24 5.1 78 where the variable 'diffdatoperiode' is the period in days and
2009 Jan 29
4
Text in a character vector to indicate "ifelse" argument
Hello I have a data set that looks like this; > b2 dato chr status PRRSvac PRRSsanVac PRRSsanDk PRRSdk 33 2007-12-03 090432 R?d SPF 34 2007-02-09 090432 R?d SPF+sanDK 35 2002-12-17 090432 R?d SPF+DK 36 2002-11-27 090432 R?d SPF+sanDK 37 2002-07-23