search for: sarahgoslee

Displaying 20 results from an estimated 64 matches for "sarahgoslee".

2023 Dec 06
1
Volume of polygon
...oject.org mailing list -- To UNSUBSCRIBE 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 (she/her) http://www.sarahgoslee.com
2016 Apr 15
1
Decision Tree and Random Forrest
...;> >> >> Cheers, >> >> >> 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]]
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]]
2018 May 30
0
par(mfrow=c(3,4)) problem
...-- To UNSUBSCRIBE 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.stringpage.com http://www.sarahgoslee.com http://www.functionaldiversity.org [[alternative HTML version deleted]]
2013 Jan 29
3
Can I define a object array in R?
Here is my problem, 100 decision trees were built(similar to random forest) and I want to replace some of them by new trees. How can I define a tree array including 100 trees, i.e. t[100], and every t[n] is an "C5.0" object, such that when a new tree comes, i can do n<-10 t[n]<-C5.0(...) -- View this message in context:
2016 Apr 15
0
Decision Tree and Random Forrest
...gt; 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 del...
2013 May 16
1
connect to local mySQL database
Hi, I would like to access a local mysql database. In python using the sqlite3 library it is quite straightforward. I just have to pass the path to the sqlite-file; sqlite3.connect('.../xy.sqlite') Is there something similar in R (or specifically in the RMySQL package)? It seems like I have to use the MySQL function in the RMySQL package in order to ... "initializes a MySQL
2016 Apr 14
3
Decision Tree and Random Forrest
...gt;> >> lots of good web resources, too. > >> >> > >> >> Cheers, > >> >> Bert > >> >> > >> >> > >> >> Bert Gunter > >> >> > > -- Sarah Goslee http://www.stringpage.com http://www.sarahgoslee.com http://www.functionaldiversity.org [[alternative HTML version deleted]]
2012 Jul 10
2
how can I show the xlab and ylab information while using layout
hi R-users: I want to draw three plot into one figure by layout and the script has been shown below. But I find R does not show the xlab and ylab information completely as shown the figure attached. How can I midify the script.? thank you . xxlab<-paste(cpmd," (",ro,"%)",sep=" ") yylab<-paste(rfmd," (",co,"%)",sep=" ")
2018 Mar 17
0
length of 'dimnames' [2] not equal to array extent- For Correlation Plot
...t; 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]]
2011 Dec 03
4
Data alignment
Hello! I have a data.frame which looks like: Name - Value A - 400 A - 300 B - 200 B - 350 C - 500 C - 350 D - 450 D - 600 E - 700 E - 750 F - 630 F - 650 I want to add another column where all A,B should get an index 1, all C,D an index of 2 and all E,F an index of 3 so that the data.frame looks like: ID - Name - Value 1 - A - 400 1 - A - 300 1 - B - 200 1 - B - 350 2 - C - 500 2 - C - 350 2
2012 Nov 22
4
Data Extraction
Hello, I would appreciate if someone could help me resolve the following: 1. df1[!is.na( X1 | X2 | X3 | X4 | X5),][,1:5] # This does not work 2. Is these message harmful? The following object(s) are masked from 'df1 (position 3)': X1, X2, X3, X4, X5 Thanks, Pradip Muhuri #Reproducible Example set.seed(5) df1<-data.frame(matrix(sample(c(1:10,NA),100,replace=TRUE),ncol=5))
2018 May 30
4
par(mfrow=c(3,4)) problem
Hi all; I need to put 12 different plot2 into the same matrix. So my array for the matrix will be par(mfrow=c(3,4)). I am running ggplot2 to produce my 12 plots. For some reason, par(mfrow=c(3,4)) did not turn out 3*4 matrix. my basic R codes for each plot is par(mfrow=c(3,4)) library(ggplot2) p <- ggplot(a, aes(x=Genotypes, y=Plant_hight, size=Plant_hight, color=Showing_rate)) + . . Best
2012 May 15
9
help
1. Emma is performing an experiment that requires individual handling of some animals. The sizes of the animals are lognormally distributed: The natural logarithms of their sizes has a normal distribution with mean 3 and standard deviation 0.4. The time (in minutes) it takes to handle each animal is given by 10 + s · 1.5 + eε for animals with s ≤ 20 20 + s · 0.8 + eε for animals with s > 20
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
2012 Jul 10
1
image.plot transparent?
Hi R users, I have a maybe strange problem. Normaly I do image.plot() with x,y coordinates and add=T and if I have some NA values in my data matrix z, the color will be transparent of these pixels. But now I have a disorted coordinate system and x,y are a matrix. It works also fine, but now NA values are white colored and not transparent anymore. It is problematic if I have a secondary
2012 Jul 11
1
browser() question
All, How come i=1 in the first case, but i=2 in the second case. The second case seems to work, but the first case does not. David. > findruns <- function(x,k) { + n <- length(x) + runs <- NULL + for (i in 1:(n-k+1)) { + if (all(x[i:(i+k-1)]==1)) runs <- c(runs,i) + browser(i>1) + } + return(runs) + } > x=c(1,1,0,0,1,1,1) > findruns(x,2) Called from:
2012 Jul 12
2
How to get all list item to one string variable
Hi, How to get all list item to one string variable. example a[1]="abc" b[1]="def" output="abc def" Thanks B.Purushothaman -- View this message in context: http://r.789695.n4.nabble.com/How-to-get-all-list-item-to-one-string-variable-tp4636283.html Sent from the R help mailing list archive at Nabble.com.
2012 Jun 27
1
Make a reference?
How can I make a reference i this case? I want to make a reference to 'Artikel XXX' For example In The Artikel 'XXXX' there is two tables. .. Litterature Artikel XXX -- View this message in context: http://r.789695.n4.nabble.com/Make-a-reference-tp4634611.html Sent from the R help mailing list archive at Nabble.com.
2012 Jun 28
2
Size of subsample in ecodist mantel()
What is the size of the boostrapped subsample in ecodist mantel() thanks [[alternative HTML version deleted]]