search for: intermountain

Displaying 20 results from an estimated 1288 matches for "intermountain".

2011 May 04
6
tkrplot not working in R 2.13.0
...ed base packages: [1] tcltk stats graphics grDevices utils datasets methods [8] base other attached packages: [1] TeachingDemos_2.7 tkrplot_0.0-19 loaded via a namespace (and not attached): [1] tools_2.13.0 Thanks, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111
2005 Jul 19
4
Is it possible to create highly customized report in *.xls format by using R/S+?
I remember in one slide of Prof. Ripley's presentation overhead, he said the most popular data analysis software is excel. So is there any resource or tutorial on this topic? Thank you so much!
2010 Jun 10
2
points marking
Hi, How to mark points on x axis of a graph keeping x axis as constant and changing y from y1 to y2 respectively. I want to highlight the area from y1 to y2. Any suggestions Thank you Jeet [[alternative HTML version deleted]]
2010 Sep 01
2
general question on binomial test / sign test
hello, i did several binomial tests and noticed for one sparse dataset that binom.test(1,1,0.5) gives a p-value of 1 for the null, what i can't quite grasp. that would say that the a prob of 1/2 has p-value of 0 ?? - i must be wrong but can't figure out the right interpretation.. best, kay ----- ------------------------ Kay Cichini Postgraduate student Institute of Botany Univ. of
2010 Aug 13
2
Dealing with data
# how would I code in R to look at the letter of the alphabet # in the second column and create a indicator column for the # corresponding letter? data(InsectSprays) InsectSprays$spray
2010 Dec 09
2
RES: Barplot with "Independent" Lines Y axis
...lylim arguments specifically, then it should not run into the problem you are seeing (I hope). If that does not work, then send a small reproducible example (the dput command is great for the data part) which will help us find the problem. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111 > -----Original Message----- > From: Rodrigo Aluizio [mailto:r.aluizio at gmail.com] > Sent: Thursday, December 09, 2010 12:27 PM > To: Greg Snow; 'R Help' > Subject: RES: [R] Barplot with "Independent" Lines Y axis &...
2010 Nov 08
5
How to eliminate this for loop ?
Hi, I would like to create a list recursively and eliminate my for loop : a<-c() a[1] <- 1; # initial value for(i in 2:N) { a[i]<-a[i-1]*b - c[i-1] # b is a value, c is another vector } Is it possible ? Thanks -- View this message in context: http://r.789695.n4.nabble.com/How-to-eliminate-this-for-loop-tp3031667p3031667.html Sent from the R help mailing list archive at Nabble.com.
2010 Feb 10
3
Sampling from Bivariate Uniform Distribution
Hello all!!! 1) I am wondering is there a way to generate random numbers in R for Bivariate Uniform distribution? 2) Does R haveĀ  built-in function for generating random numbers for any given bivariate distribution. Any help would be greatly appreciated !! Good day! Haneef Anver [[alternative HTML version deleted]]
2006 Dec 20
3
Rotating a distribution plot by 90 degrees
Hi, Can I rotate a plot (e.g. a distribution plot) by 90 degrees? The barplot function provides the "horiz" command but that's not availeable for the base package functions. I found an old advice from Paul Murrell on a similar problem suggesting to use viewports (grid package). Yet I couldn't reproduce his examples successfully. And going through the examples in the current grid
2008 Dec 04
2
Simulating underdispersed counts
Hello, Anyone who knows a fast and accurate algorithm for generating draws from an underdispersed Poisson distribution. Or even better, if there is a package containing such an implementation. Thanks Rene
2009 Aug 12
3
Obtaining the value of x at a given value of y in a smooth.spline object
I have some data fit to a smooth.spline object as follows: (x=vector of data for the predictor variable, y=vector of data for the response variable) fit <- smooth.spline(x,y) Now, given a spline fit point y_new, I want to be able to find out what value of x_new yielded this fit value. How to do so? (This problem is the inverse of the predict.smooth.spline function, which takes x_new as input
2006 Jun 07
4
Density Estimation
Dear R-list, I have made a simple kernel density estimation by x <- c(2,1,3,2,3,0,4,5,10,11,12,11,10) kde <- density(x,n=100) Now I would like to know the estimated probability that a new observation falls into the interval 0<x<3. How can I integrate over the corresponding interval? In several R-packages for kernel density estimation I did not found a corresponding function. I
2008 Oct 22
4
A matrix automation problem
[I am really sorry if it is double posted, I doubt me previous post could not reach forum due to some problem with net] Suppose I have a matrix : a = matrix(1:9, 3) >From this matrix, I construct 9 additional matrices : i = 1:9 bi = a * i Now combining all those 9 new matrices, I construct a final metrix as : c = b1 b4 b7 b2 b5 b8 b3 b6 b8 I want to automate this procedure for any
2011 Apr 04
1
Use keep.source for function in package with lazy loading
..., I have set the options to keep the source to TRUE before calling install.package, but that does not seem to work. Is there a way to "strongly encourage" the source to be kept for this function (or the entire package)? Thanks, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111
2008 May 19
2
labels in multiple plot
My code is the following: point_type<-c("black","gray20","red"....) ... for (i in 1:dim(m)[1]) { par(pch=(18+i)) par(fg=point_type[i]) plot(m[i,], type='b', ylim = c(lower, upper), type = "l", ...) par(new=T) } Now I need to add an 'explanation' to each pch. I would have a box in the upperright
2010 Jun 16
4
questions on some operators in R
Hi all, I have two questions. Can some one give some help? The first question is regarding the pair of operators "&" and "&&". What is the difference between the two? The second question is regarding "<-" and "=". Usually we use "<-" as the assignment operator. I saw some people use "=". Is there any
2007 Feb 12
3
processing a large matrix
I would like to compare every column in my matrix with every other column and get the r-squared. I tried using the following formula and looping through every column: > summary(lm(matrix[,x]~matrix[,y]))$r.squared If I have 10,000 columns, the loops (10,000 * 10,000) take forever even if there is no formula inside. Then, I attempted to vectorize my code: > cor(matrix)^2 With 10,000
2009 Jan 17
2
Concave Hull
Dear Friends, Here is an algorithm for finding concave hulls: http://get.dsi.uminho.pt/local/ Has anyone implemented such an algorithm in R? RSiteSearch('concave hull') didn't reveal one (I think). _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology Postal Address: P.O.Box 400400, Charlottesville, VA 22904-4400 Express Parcels
2008 Oct 28
2
writting null (\000 or ^@) to an external text file without the new warning
...is some other warning generated, then I will miss the other warning(s). Is there a better way to write the null to the text file? Or is there a way to suppress just this warning without suppressing any other warnings that may occur? Thanks, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111
2011 Jan 14
3
Problems with TeachingDemos package
Hi, somebody can help me. Idon't understand very well the manual of the this package, I suppose I must enter "wdtxtStart", before I start working, but is supposed that this command should open Word, but nothing happens. I use Rgui, not Rcmdr. Thanks ----- Mario Garrido Escudero PhD student Dpto. de Biolog?a Animal, Ecolog?a, Parasitolog?a, Edafolog?a y Qca. Agr?cola Universidad de