search for: steinfest

Displaying 20 results from an estimated 32 matches for "steinfest".

Did you mean: steinfeld
2011 Sep 27
2
inset one map on top of another map
...s() function that I'm tripping over. Any suggestions? I am using R for Windows 2.13.0 and the maps package version 2.1-5. Jean `·.,, ><(((º> `·.,, ><(((º> `·.,, ><(((º> Jean V. Adams Statistician U.S. Geological Survey Great Lakes Science Center 223 East Steinfest Road Antigo, WI 54409 USA [[alternative HTML version deleted]]
2012 Oct 11
2
struggling with R2wd or SWord? Try rtf!
...ode based on examples in http://cran.r-project.org/web/packages/rtf/vignettes/rtf.pdf Give it a try. You may like it! Jean `·.,, ><(((º> `·.,, ><(((º> `·.,, ><(((º> Jean V. Adams Statistician U.S. Geological Survey Great Lakes Science Center 223 East Steinfest Road Antigo, WI 54409 USA http://www.glsc.usgs.gov library(rtf) rtf <- RTF("rtf_vignette.doc", width=8.5, height=11, font.size=10, omi=c(1, 1, 1, 1)) addHeader(rtf, title="This text was added with the addHeader() function.", subtitle="So was this.") addParagr...
2009 Jul 28
3
selecting vector elements using matrices and combining the results
...uot;, "E"), c("D", "e")) result I'm using R for Windows version 2.9.0. Thanks for your help. Jean `·.,, ><(((º> `·.,, ><(((º> `·.,, ><(((º> Jean V. Adams Statistician U.S. Geological Survey Great Lakes Science Center 223 East Steinfest Road Antigo, WI 54409 USA phone: 715-623-4190, ext. 3125 FAX: 715-623-6773 GLSC web site: http://www.glsc.usgs.gov e-mail: jvadams@usgs.gov [[alternative HTML version deleted]]
2011 Aug 10
1
column names issue with read.csv
Dear List, I wonder why when using read.csv(), if the column name contains a numeric i.e. a stock symbols-"0001.HK", it will automatically insert an "X" character to the column names - "X0001.HK". Now I have to manually do a loop and use substring() to remove the "X" character. Any advice? Thanks Anthony
2011 Jun 15
0
specifying interactions in a gam model with "by"
...y(fit1) summary(fit2) I'm using R version 2.13.0 (2011-04-13) and mgcv version 1.7-6 on Windows XP. Thanks for your help. Jean `·.,, ><(((º> `·.,, ><(((º> `·.,, ><(((º> Jean V. Adams Statistician U.S. Geological Survey Great Lakes Science Center 223 East Steinfest Road Antigo, WI 54409 USA http://www.glsc.usgs.gov (GLSC web site) jvadams@usgs.gov (E-mail) [[alternative HTML version deleted]]
2017 Jun 16
0
ASA Conference on Statistical Practice - deadline Thursday
...ps://www.amstat.org/meetings/csp/2018/submitanabstract.cfm Thank you. Jean V. Adams on behalf of the ASA-CSP 2018 Steering Committee `?.,, ><(((?> `?.,, ><(((?> `?.,, ><(((?> Jean V. Adams Statistician U.S. Geological Survey Great Lakes Science Center 223 East Steinfest Road Antigo, WI 54409 USA 715-627-4317, ext. 3125 (Office) 715-216-8014 (Cell) http://www.glsc.usgs.gov https://www.usgs.gov/staff-profiles/jean-v-adams [[alternative HTML version deleted]]
2011 Aug 19
1
how to merge distance data based on location
Hi all, I have two data frames, two columns each, 1000s of rows. Each row represents a segment of the genome where a deletion has occurred. First column is start position of the deletion in genomic distance, second is end position. So, e.g., first 3 rows of data frame A is: 1003 1023 5932 6120 12348 12689 first 3 rows of data frame B is: 852 5305 1010 1015 8500 9500 10000 13000 I want to merge
2011 Aug 19
2
display only the top-right half of a correlation matrix?
Dear all Is there an easy way to display only one half (top-right or bottom-left) of a correlation matrix? > require(Hmisc) > rcorr(as.matrix(mtcars[ , 1:4])) mpg cyl disp hp mpg 1.00 -0.85 -0.85 -0.78 cyl -0.85 1.00 0.90 0.83 disp -0.85 0.90 1.00 0.79 hp -0.78 0.83 0.79 1.00 n= 32 P mpg cyl disp hp mpg 0 0 0 cyl 0 0 0 disp 0 0
2011 Aug 05
1
Displaying a summary in graphics
I'm writing a script which puts together a bunch of graphs and outputs them to a graphics device. One of the things I want to add is ANOVA summaries but I'm having trouble with formatting them for graphics. I do this: anova_summary <- summary(aov(concentration~inhibition*genotype, data =drug_data)) print(anova_summary) The printout to the R console is in the format I want but if I
2011 Jun 15
2
Count occurances in integers (or strings)
Hi, I have a dataframe column from which I want to calculate the number of 1's in each entry. Some column values could, for example, be "0001001000" and "11110000111". To get the number of occurrences from a string I use this: sum(unlist(strsplit(mydata[,"my_column"], "")) == "1") However, as my data is not in string form.. How do I convert
2011 Aug 03
2
syntax with do.call and `[`
Dear List, i would like to mimic the behaviour or the following indexing with a do.call construct to be able to supply the arguments to `[` as a list: test = matrix[1:4,2] result = test[2,] My try, however, did not work: result = do.call(`[`,list(test,2,NULL)) result = do.call(`[`,list(test,2,)) result = do.call(`[`,list(test,2,'')) How can I use the do.call in that way with
2011 Aug 02
3
how to get the percentile of a number in a vector
I'm familiar with the quantile() command, but what if I have a specific number that I want to know its location in a vector? I know that in known distributions, (for example the normal distribution), there is pnorm and qnorm, but how can I do it with unknown vector? thanks in advance _________________________________________________________________ Walla! Mail - [1]Get
2011 Aug 10
2
function runif in for loop
Hello, I'd like to perform a regression using MCMCregress (MCMCpack). One variable therefore should be a function rather than a variable: I want to use X as an input and X should be defined as a random number between to values. Therefore I want to use the function runif like: X <-(1, Xa, Xb) but it seems that runif doesn't allow to use vectors. So I think I've to calculate the new
2011 Jul 28
1
sorting data from dataframe with oter dataframe
Hi, the subject isn't define well the problem, so i'll explain it in detail: i've got a csv.file with data on number of factors (every column got the name of the factor as header and the data below). on another csv file, i've got the factors sorted by their type. for example- c1=read.csv('C:/R/c1.csv', header= TRUE) urrDate A_XS b_XS c_XS
2011 Jul 27
2
plotting the ending point in a for loop
Hello, I would appreciate if someone could help me with this query. I would like to plot a line chart of all of the points in a "for" loop. I would also like to plot the final point with a symbol (to show where the random walk ends). Here is the code I am using: Brownian.fn <- function(mu, sigma, T, N){ dt <- T/N t <- c(rep(NA, N)) B1 <- c(rep(NA, N)) B2 <- c(rep(NA,
2011 Aug 10
2
round() a data frame containing 'character' variables?
Dear all It is difficult to use round(..., digits=2) on a data frame since one has to first take care to remove non-numeric variables such as 'character' or 'factor': > head(round(iris, 2)) Error in Math.data.frame(list(Sepal.Length = c(5.1, 4.9, 4.7, 4.6, 5, : non-numeric variable in data frame: Species > head(round(iris[1:4], 2)) Sepal.Length Sepal.Width Petal.Length
2011 Aug 05
2
R compare cells in one matrix
Good morning! Please, could you help me with the problem? I have a matrix *144x73.* An example of a matrix: [,1] [,2] [,3] [,4] [,5] [1,] 277.4 276.24 275.62 276.55 278.05 [2,] 277.4 276.24 275.55 276.42 277.72 [3,] 277.4 276.24 275.50 276.22 277.39 [4,] 277.4 276.24 275.42 276.02 277.02 [5,] 277.4 276.22 275.37 275.82 276.64 And I want to *compare*its cells
2011 Jul 28
3
Data frame to list
I'm hoping this is an easy problem that I'm missing something obvious. Given: x=c(1,1,1,2,2,3,3,3) y=c(1:length(x)) dataframe=data.frame(x,y) I would like to convert this to a list for use with certain functions, where each entry of the list is a subsetted dataframe based on dataframe$x I can do this "brute force" by a for-next loop: unique_x=unique(dataframe$x)
2011 Aug 01
3
possible reason for merge not working
Hi Guys, working on a "merge" for 2 data frames. Using the command: x <- merge(annotatedData, UCSCgenes, by.x="names", by.y="Ensembl.Gene.ID", all.x=TRUE) names and Ensembl.Gene.ID are columns with similar elements from the x and y data frames. annotatedData has 8909 entries, so has x(as expected). x has columns for UCSCgenes, but there is no data in them, all
2011 Aug 02
2
Data frame to matrix - revisited
Hi, I've tried to look through all the previous related Threads/posts but can't find a solution to what's probably a simple question. ? I have a data frame comprised of three columns e.g.: ? ID1?ID2?Value a?b?1 b?d?1 c?a?2 c?e?1 d?a?1 e?d?2 ? I'd like to convert the data to a matrix i.e.: ? ?a b c d e a n/a 1 2 1 n/a b 1 n/a n/a 1 n/a? c 2 n/a n/a n/a 1 d 1 1 n/a n/a 2 e n/a n/a 1