search for: functionaldiversity

Displaying 20 results from an estimated 864 matches for "functionaldiversity".

2011 Jul 29
3
help with plot.rpart
...w can I plot the entire tree produced by rpart? What is plot() not doing that you need? > 2. How can I submit a vector of values to a tree produced by rpart and > have > it make an assignment? What is predict() not doing that you need? -- Sarah Goslee [10]http://www.functionaldiversity.org References 1. mailto:milbo at sonic.net 2. mailto:mark at statcourse.com 3. mailto:sarah.goslee at gmail.com 4. http://www.milbo.users.sonic.net/ 5. mailto:sarah.goslee at gmail.com 6. mailto:mark at statcourse.com 7. mailto:r-help at r-project.org 8. mailto:CAM_vjukbU...
2010 Dec 13
3
curve
Hi All, I generated 5000 samples using the following script test<- rnorm(5000,1000,100) test1 <- subset(test, subset=(test > 1100)) d <- density(test) plot(d, main="Density of production") abline(v=mean(test1) I wanted to do the following but faced difficulties 1. to shade or color (blue) the curve using the criterion that any
2012 Feb 02
4
an unusual use for R
...lving creating many detailed weaving patterns, so I wrote R code to automate it. Details here: http://stringpage.com/blog/?p=822 If the overlap between R users and avid tablet weavers turns out to be >> 1, I'll polish it up and turn it into a package. Sarah -- Sarah Goslee http://www.functionaldiversity.org
2011 Dec 01
3
vector
Hi. Can you please answer to my questions about R ? 1.how can I write command for vector ? for exaple in this sample : I have this : a1 <- c (1:10) now how can I put in the vector ? bye for now, Thanks a lot. Majid. [[alternative HTML version deleted]]
2018 Mar 17
3
length of 'dimnames' [2] not equal to array extent- For Correlation Plot
...IBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > -- > Sarah Goslee > http://www.functionaldiversity.org > [[alternative HTML version deleted]]
2018 Mar 17
0
length of 'dimnames' [2] not equal to array extent- For Correlation Plot
.../stat.ethz.ch/mailman/listinfo/r-help >> > PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> > and provide commented, minimal, self-contained, reproducible code. >> >> >> >> -- >> Sarah Goslee >> http://www.functionaldiversity.org >> > -- Sarah Goslee http://www.stringpage.com http://www.sarahgoslee.com http://www.functionaldiversity.org [[alternative HTML version deleted]]
2012 Mar 12
3
Finding the median
Hi just a quick question in which I must use the "function and return" part of R. If I was asked to define a function called "median" where the function has a single argument x and returns the median value of a vector. How would I go about saying the median = element x in terms of n (say (n + 1)/2 or whatever it would be) if there is an even amount of elements, or x in terms
2013 Jun 24
2
packages for input messages
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130624/2836bcf8/attachment.pl>
2008 Dec 11
5
Row order in plot
I'm new to R so forgive me if this seems like a simple question: So I have table where the row titles are string variables. When I plot the data with rows along the x-axis, the data is ordered alphabetically as opposed to the order of the table. How can I preserve the row order of the table in the plot? Thanks in advance. -- View this message in context:
2013 Apr 03
5
Can package plyr also calculate the mode?
I am trying to replicate the SAS proc univariate in R. I got most of the stats I needed for a by grouping in a data frame using: all1 <- ddply(all,"ACT_NAME", summarise, mean=mean(COUNTS), sd=sd(COUNTS), q25=quantile(COUNTS,.25),median=quantile(COUNTS,.50), q75=quantile(COUNTS,.75), q90=quantile(COUNTS,.90), q95=quantile(COUNTS,.95), q99=quantile(COUNTS,.99) )
2010 Aug 25
4
Merging two data set in R,
Dear R Gurus, I am currently working on the two dataset ( A and B), they both have the same fields: ID , REGION, OFFICE, CSTART, CEND, NCYCLE, STATUS and CB. I want to merge the two data set by ID. The problem I have is that the in data A, the ID's are unique. However in the data set B, the ID's are not unique, thus some repeat themselves. How do I the merge or retrieve the
2016 Apr 15
1
Decision Tree and Random Forrest
...> >> >> Bert >> >> >> >> >> >> >> >> >> Bert Gunter >> >> >> >> >> >> >> -- >> Sarah Goslee >> http://www.stringpage.com >> http://www.sarahgoslee.com >> http://www.functionaldiversity.org >> > > > -- > Sarah Goslee > http://www.stringpage.com > http://www.sarahgoslee.com > http://www.functionaldiversity.org > [[alternative HTML version deleted]]
2011 Jul 29
1
help with predict.rpart
...entire tree produced by rpart? > > What is plot() not doing that you need? > >> 2. How can I submit a vector of values to a tree produced by rpart and >> have >> it make an assignment? > > What is predict() not doing that you need? > -- Sarah Goslee http://www.functionaldiversity.org
2011 Sep 01
2
two question about plot
1) how to modify the the tickment of x-axis or y-axis. boxplot(data[,1:5]) the tickment in x-axis in V1 V2 V3 V4 V5 ,I want to be some name for example name<-c("1day","2day","3day","4day","5day") 2) how to overlap two plot into one figure? plot(data[1:5]) boxplot(newdata[,1:5]) ? -- TANG Jie [[alternative HTML version deleted]]
2007 Jun 15
1
text display using expression or not
...t(1:10, 1:10, main="Figure A") plot(1:10, 1:10, main=expression("Figure B")) Is there some straightforward way to make them match, other than putting expression() around all strings? I'm currently using R 2.5.0 on Fedora core 5. Thanks, Sarah -- Sarah Goslee http://www.functionaldiversity.org
2011 Nov 10
2
library(qpcR) cbind.na
I want to use function cbind.na at library(qpcR) I install package qpcR and I can use functions such m1 <- pcrfit(reps, 1, 2, l5) > AICc(m1) [1] -102.5843 but when i try cbind.na(1, 1:7) i take message Error: could not find function "cbind.na" Thanks -- View this message in context: http://r.789695.n4.nabble.com/library-qpcR-cbind-na-tp4023339p4023339.html Sent from the
2012 Mar 07
1
a somewhat related cartoon
...lable at: http://www.phdcomics.com/comics.php?f=1476 What the methodology section says: "Analysis was performed using a commercially available software package." What it really means: "I put the numbers into this magic box and out came my thesis!" -- Sarah Goslee http://www.functionaldiversity.org
2012 Jun 03
1
fine control of plots after use of layout(matrix ...
Sir, I would like to create a combined line-bar plot, with the line up top and bar plot below, but with the x-axes suppressed on the topmost plot, the line and bar plot areas joined by a common line, and the x-axes (of dates) joined to the bottom part of the bar plot. i have been able to format the area using the layout(matrix( ... commands, but cannot figure out the final step. here's the
2013 Mar 28
2
Can R read in .xyz files
Hi, Can R read in .xyz files? If so, what is the package, thanks -- Shane [[alternative HTML version deleted]]
2008 Jul 18
1
par("din") vs dev.size()
...ize device > dev.size() [1] 6.995263 2.772976 > par("din") [1] 6.995263 2.772976 > dev.off() I found some discussion of this from 2000 and 2001, but no explanation or resolution, and I'm curious. Is there a reason for this behavior? Thanks, Sarah -- Sarah Goslee http://www.functionaldiversity.org