search for: geobotan

Displaying 16 results from an estimated 16 matches for "geobotan".

Did you mean: geobotany
2001 Mar 22
2
newbie questions: accessing functions globally
How can I access a function created in one data directory in another? I have been sourcing the text file that contains the function each time I go to another data dir. This is cumbersome, and I suspect there is a way to make functions global. Thanks in advance, S. David White Dept of Speech and Hearing Science Ohio State University Columbus, Ohio
2001 Mar 21
5
generate random number
Hi, I want to pick 3 "integer" random numbers from 1 to 10. How to do this? Thanks, Yu-Ling Wu __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2001 Feb 22
4
Setting elements in data frame
Hi all, I have a problem which I am biting my teeth into unsuccessfully: (x <- data.frame(S1=c("a","b","d","F"),N1=c(2,4,6,9),N2=c(6,NA,0,6))) S1 N1 N2 1 a 2 6 2 b 4 NA 3 d 6 0 4 F 9 6 > is.na(x) S1 N1 N2 1 FALSE FALSE FALSE 2 FALSE FALSE TRUE 3 FALSE FALSE FALSE 4 FALSE FALSE FALSE No I want to be able to do: 1) Setting
2001 Apr 10
5
Similarity matrix
I frequently use hclust on a similarity matrix. In R only a distance matrix is allowed. Is there a simple reliable transformation of a similarity matrix that will result in a distance matrix making hclust work the same as S-Plus with a similarity matrix? Venables & Ripley 3rd edition implies that a simple reversal of values will suffice. Thanks -Frank -- Frank E Harrell Jr
2001 Feb 12
2
CensorReg
Hi Group, I wonder if R has the function CensorReg which takes care of left truncation. I know it's in S. Thank you so much! Kel __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2001 Feb 20
1
interrupted plots
Hello, I'm trying to plot simple data containing numbers/year. I use plot(numbers~year, type="l"), but the problem is that there is no data for several years. S I would like the line to be interrupted for the period without data, and then continue afterwards. How can I do this ? Also, I've been using par(new=TRUE) to put two curves (same years, different numbers) on the same
2001 Apr 04
1
anova table
I am taking a stats class and need to do a single factor anova table with four treatments for an assignment. The instructor showed the class how to do it with minitab, and I am unsure how to proceede in R. Here is the data: I. .8 .2 1.4 .9 .9 1.0 1.0 1.1 1.4 1.2 1.0 II. 1.6 1.1 .2 1.3 1.5 .7 .5 1.3 1.3 .4 III 1.8 .3 1.1 2.0 2.8 1.5 1.3 2.9 1.7 .8 IV. 2.4 2.6 2.82.9 1.7 2.6 2.7 2.1
2001 Aug 28
2
Estimating Weibull Distribution Parameters - very basic question
...parameters for some data points that are assumed to be Weibull-distributed? I guess I'm just too lazy to set up a Maximum-Likelihood estimation... ...but maybe there is a simpler way? Thanks for any hint (and yes, I've read help(Weibull) ;) Kaspar Pflugshaupt -- Kaspar Pflugshaupt Geobotanical Institute ETH Zurich, Switzerland -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the s...
2001 Mar 16
2
apply()
Hi, I input this command on a data matrix: > apply( traffic, 2, function(z){z-mean(z)}) and got the following error messages: Error in sum(..., na.rm = na.rm) : invalid "mode" of argument Can anyone tell me what is wrong here? Running R1.2.2 on Windows ME. Cheers, Kevin ------------------------------------------------- Ko-Kang Kevin Wang Statistical Analysis Division
2001 Mar 16
2
python bindings for R
Hello, my group is investigating the development of a statistical program in support of some other work we are doing. Stats is not really our area of expertise and we would like to leverage existing code where possible. From your site, I have gathered that R is pretty capable and well used. We are currently developing in python and targetting a primarily windows environment. We would like to
2001 Mar 16
2
Clip contour or image
Hi, I am almost new to R. Would any one show me (please include an example) how to clip a contour or image figure so that I only see the image or lines inside a selected area? Thank you very much Han -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2001 Mar 15
3
outer
Dear r-plus users, i would like to use outer in the following case outer(x,y,FUN="fun") i suppose that my function fun is of the following form: fun<-function(x,y) { if(y>x) return(x+y) if(y<=x) return(0) } My problem is that the command outer(x,y,FUN="fun") return me a null matrix instead of an upper triangular matrix. Is somebody have a solution ? Thanks for your
2001 Mar 20
3
finding dedicated indexes?
Hi, I've got a matrix of two columns, say: > d <- t(array(1:20,dim=c(2,10))) > d [,1] [,2] [1,] 1 2 [2,] 3 4 [3,] 5 6 [4,] 7 8 [5,] 9 10 [6,] 11 12 [7,] 13 14 [8,] 15 16 [9,] 17 18 [10,] 19 20 now I need those values from column #2 where column #1 is equal to certain values. eg.: > i <- c(13,5,19) The
2001 Feb 08
2
Test for multiple contrasts?
...already done that, or are there good reasons not to use it? BTW, I tried to extract the SEs of the contrasts by se.contrast(), but it would not work for survival models. Would they be the same that appear in the summary above? Thanks for any hints Kaspar Pflugshaupt -- Kaspar Pflugshaupt Geobotanical Institute ETH Zurich, Switzerland http://www.geobot.umnw.ethz.ch mailto:pflugshaupt at geobot.umnw.ethz.ch -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "he...
2001 Jul 26
6
replacing values in a vector
Hi all, there is a vector v with several NAs. I want to create a new vector n of the same length as v and the same NAs as in v and tried this: n <- vector(length=length(v), mode="numeric") replace(n, which(is.na(v)), NA) but this does't work, all values in n are 0. What went wrong? Thanks, Sven -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2001 Apr 20
5
Interacting with R
Dear R folks, (Running Windows 98, Pentium II, 128 Mb RAM) I have been using Splus 2000 for about 1.5 years, and have recently begun using R. I love the Open Source philosophy! I may be switching to to Linux soon. My question: How do people most often interact with R? In Splus 2000, I used "Script" windows to write functions. "Script" windows were great because: 1..