search for: stubben

Displaying 20 results from an estimated 22 matches for "stubben".

Did you mean: stubbed
2007 Sep 25
2
3d barplot in rgl
...1,0.03, 0.55, 0.58, 0.09, 1.30, 1.35, 0.22), nrow=3, byrow=TRUE, dimnames=list(stages,stages) ) ## I can get a surface plot, but that's about it. persp3d(A, col="red", alpha=0.7, xlab="fate", ylab="stage", zlab="Sensitivity", box=FALSE) Thanks, Chris Stubben -- ------------------- Los Alamos National Lab BioScience Division MS M888 Los Alamos, NM 87545
2005 Dec 06
2
Constructing a transition matrix
...construct the square matrix with rows and columns in the same developmental sequence like dev<- c("seed","veg", "rep"). seed veg rep seed 0 0 0 veg 0.67 0 0.5 rep 0 1 0.5 Any help or suggestions would be appreciated. Thanks, Chris Stubben -- Los Alamos National Lab BioScience Division MS M888 Los Alamos, NM 87545
2007 Feb 06
2
abbreviate dataframe for Sweave output
...tail(z,1)) id x 1 a 18 2 b 8 3 c 14 4 <NA> . 26 z 10 Warning message: invalid factor level, NAs generated in... I would like something like this if possible. Any ideas? id x 1 a 18 2 b 8 3 c 14 . . . . . . 26 z 10 Thanks, Chris Stubben -- ----------------- Los Alamos National Lab BioScience Division MS M888 Los Alamos, NM 87545
2008 Jun 11
1
how to save an updated dataset
...mes/data/lproks.rda") but I may one day put the package on CRAN (or BioConductor), so now I need to know where the package/data directory is located, if the user has permission to save to that directory, and probably some other complications I'm missing. Any suggestions? Thanks, Chris Stubben -- View this message in context: http://www.nabble.com/how-to-save-an-updated-dataset-tp17782584p17782584.html Sent from the R help mailing list archive at Nabble.com.
2006 Jan 23
1
Sample rows in data frame by subsets
...x y fac 2 1 2 A 3 1 3 A 3.1 1 3 A 1 1 1 A 10 1 10 A 1.1 1 1 A 7 1 7 B 5 1 5 C 6 1 6 C 5.1 1 5 C Is there an easy way to do this in one step or with a short function? I have lots of dataframes to resample. Thanks, Chris -- ----------------- Chris Stubben Los Alamos National Lab BioScience Division MS M888 Los Alamos, NM 87545
2007 Jun 04
2
RMySQL question, sql with R vector or list
Hi, I am trying to write a RMySQL sql script inside R such that part of the SQL would be R list or vector. For example, I want to select * from Atable where ID would equal to a members of R list or vector of "1, 2, 3". Here the ID list was generated inside R and then try to feed to mysql to call to get additional data sets. Can someone on the list help? Thanks. -- Waverley @ Palo
2007 Nov 14
1
reading tables from url
...- 13702 Methane-Oxidizing Archaea from Deep- Sea Sediments 5 - 13729 Pacific Beach Sand Metagenome Thanks for your help. Hopefully this is something simple that I missed in the documentation/help. Chris -- ------------------- Chris Stubben Los Alamos National Lab BioScience Division MS M888 Los Alamos, NM 87545
2013 May 07
4
create unique ID for each group
Hey All, I have a dataset(dat1) like this: ObsNumber ID Weight 1 0001 12 2 0001 13 3 0001 14 4 0002 16 5 0002 17 And another dataset(dat2) like this: ID Height 0001 3.2 0001 2.6 0001
2011 Jan 26
0
using popbio, reduce number of digits in image2 plot
...essage below) Here are the elasticity values that I'm working with. Matrix 2 "2005-2006" is the one that is creating the problem. I tried fiddling with cut, breaks, digit, rounding...to no avail. Further, is there an easy way to turn the top side labels 90 degrees? Thank you Chris Stubbens for this wonderful code! TV, PhD Candidate Center for Marine Biodiversity and Conservation Scripps Institution of Oceanography elast: , , 2004-2005 1 2 3 4 1 0.017558594 0.003972943 0.002701352 0.006443492 2 0.011770698 0.106806350 0.020465566 0.022990...
2012 Apr 12
3
Remove superscripts from HTML objects
...pathSApply(doc, "//p", xmlValue) [1] "Cata" "Dog" I could probably remove the <sup> tags from the "h" object above, but I'd rather just work with the results from htmlParse if possible (and not use readLines to load raw HTML first). Thanks, Chris Stubben -- View this message in context: http://r.789695.n4.nabble.com/Remove-superscripts-from-HTML-objects-tp4550738p4550738.html Sent from the R help mailing list archive at Nabble.com.
2010 May 25
4
R eat my data
HI, Dear R community, My original file has 1932 lines, but when I read into R, it changed to 1068 lines, how comes? cdu@nuuk:~/operon$ wc -l id_name_gh5.txt 1932 id_name_gh5.txt > gene_name<-read.table("/home/cdu/operon/id_name_gh5.txt", sep="\t", skip=0, header=F, fill=T) > dim(gene_name) [1] 1068 3 -- Sincerely, Changbin -- Changbin Du DOE Joint Genome
2009 Aug 30
1
Stochastic (transition) matrices: how to determine distributions and variance?
(apologies for the cross-posting, and for this being a more general stats question rather than a specific-to-R one. I assure you I will be doing the actual analysis in R :) I am trying to determine the distribution and variance for a classic stochastic (transition) matrix problem such that: let x(t) be an initial state vector consisting of counts of classes A, B and C: x(t) =
2010 Nov 15
2
rotate column names in large matrix
Dear List, I have a large (1600*1600) matrix generated with symnum, that I am using to eyeball the structure of a dataset. I have abbreviated the column names with the abbr.colnames option. One way to get an even more compact view of the matrix would be to display the column names rotated by 90 degrees. Any pointers on how to do this would be most useful. Any other tips for displaying the
2006 Jun 18
2
analyze amino acid sequence (composition)of proteins
Dear R-helpers: thank your for your attention. i am a newer to R and i am doing some protein category classification based on the amino acid sequence.while i have some questions urgently. 1. any packages for analysis amino acid sequence 2. given two sequences "AAA" and "BBB",how can i combine them into "AAABBB" 3. based on "AAABBB",how can i get some
2006 Aug 29
1
Bootstraping for groups and subgroups and joing with other table
Dear R-experts, I have a table with following collumns: State, SamplePlot, Species and BodySize. I sampled bird species at 34 SamplePlots and 5 States (regions) monthly during two years. On each bird record I measured bodysize and identified the species. So I have many records of each species (about 150 species) at each SamplePlot and each Region (State). Now I would like bootstrap
2007 Nov 14
2
Generating these matrices going backwards
I have generated the following: x= E1 E2 E3 D1 0 0 1 D2 1 0 3 D3 0 2 0 y= E1 E2 E3 D1 0 0 1.75 D2 1.75 0 1.3125 D3 0 3.5 0 Where x and y are linked by: y =sum(x) * x / (rowSums(x)%o%colSums(x)) N=x[x[1:3,]>0] R=y[y[1:3,]>0] Now suppose I ONLY
2009 Sep 09
2
Matrix multiplication and random numbers
Dear All I new to using R and am struggling with some matrix multiplication. I have two matrices, one containing random numbers, these are multiplied together to get another matrix which is different each time. When I put in another for loop to repeat this process a multiple times the matrices are all the same. I?m sure there is a way to keep the randomness of the different matrices but I think
2009 May 19
3
how to calculate means of matrix elements
useR's, I have several matrices of size 4x4 that I want to calculate means of their respective positions with. For example, consider I have 3 matrices given by the code: mat1 <- matrix(sample(1:20,16,replace=T),4,4) mat2 <- matrix(sample(-5:15,16,replace=T),4,4) mat3 <- matrix(sample(5:25,16,replace=T),4,4) The result I want is one matrix of size 4x4 in which position [1,1] is the
2007 Sep 17
4
graphs with gradients of colors
Hi All, I would like to fill the area under a curve with a gradient of colors. Are there any packages or trick I could use Thanks Stefan Stefan Van Dongen Antwerp [[alternative HTML version deleted]]
2009 Feb 26
5
Download daily weather data
I'm writing a program that will tell me whether I should wear a coat, so I'd like to be able to download daily weather forecasts and daily reports of recent past weather conditions. The NOAA has very promising tabular forecasts (http://forecast.weather.gov/MapClick.php?CityName=Ithaca&state=NY&site=BGM&textField1=42.4422&textField2=-76.5002&e=0&FcstType=digital),