Displaying 20 results from an estimated 200 matches similar to: ""tree-ID" in any segmentation package available?"
2005 Nov 22
2
Output of row and column names
Dear all,
I am looking for a way to identify the row and column names of all elements
within a matrix which fulfill some specified condition.
Example: I have a correlation matrix of the following form:
Y1 Y2
X1 0.4 0.3
X2 0.6 0.1
Suppose, I want to know which elements are smaller than 0.2, so the desired
output should be something like:
"X2 Y2"
Thank you,
2010 Jul 09
2
Ctree Question
Hello,
I've been using ctree and have developed a 55 node - 28 terminal solution.
As can be imagined, the plot is difficult to travel down each of the major
branches.
I've read the help files for ctree I saw where terminal nodes can be color
coded.
plot(airct, type = "simple")
> plot(airct, terminal_panel = node_boxplot(airct, col = "blue", + fill =
hsv(2/3,
2011 Jul 31
1
R: print and ctree
I have run the ctree function, and my dependent variable is broken into 3
categories: low cost, moderate cost and high cost.
When i plot the results (eg. using plot(test.ct)), the plot shows, at the
very bottom of each node, the probability of falling into each cost
category.
When i print the actual results (eg. using print(test.ct)), i get all of the
backup
2012 Jan 06
1
Please help!! How do I set graphical parameters for ploting ctree()
I'm trying to understand how to set graphical parameters for trees created with the party package. For example take the following code:
library(party)
data(airquality)
airq <- subset(airquality, !is.na(Ozone))
airct <- ctree(Ozone ~ ., data = airq,
controls = ctree_control(maxsurrogate = 3))
plot(airct)
My problem is, I've got a ctree that has
2006 Jul 14
1
party - ctree() - terminal nodes reference for every obs
Dear R.Users,
using ctree() (from "party" library) on a data.frame, I want to append a
column with the references for the groups/segments detected. While these
nodes are easy readable in output, I need a vector for my obs.
Hints?
Cheers
--
Daniele Medri
2009 Apr 16
0
Problems with adabag
Hello,
I'm trying to use adabag to make bagging and boosting with bagging() and
adabost.M1(), respectively, but in both cases it produces an abnormal
termination of R.
My code is:
bagging(I.NOSOCO~EDAD+SEXO+ESTANCIA+ADMISI?N+T.CIRUG?+DURACI?N+CONTAMIN
+PROFILAX+E.PREOPE+V.PERIFE+V.CENTRA+S.VESICA+S.NASOGA+DREN.ABI+DREN.CER
2018 Jan 01
1
Error in adabag
Hi all;
Happy new year. I have got the following error
rror in if (nrow(object$splits) > 0) { : argument is of length zero
when I am running the following codes.
train <- c(sample(1:27,18), sample(28:54, 18), sample(55:81, 8))
a2011.adaboost <- boosting(median_kod ~ ., data = b[train, ], boos=TRUE,
mfinal = 10, control = rpart.control(minsplit = 0))
Regards,
Greg
[[alternative
2006 Mar 01
0
Problems to get a ctree plot in a file via jpeg/png
Hello All,
I am using library "party" and I have found a curious/strange behaviour when
trying to save the output of a ctree in a file via jpeg/png command.
If you use:
################
library(party)
airq <- subset(airquality, !is.na(Ozone))
airct <- ctree(Ozone ~ ., data = airq)
plot(airct, terminal_panel = node_boxplot, drop_terminal = FALSE)
###############
you get a
2006 Mar 01
1
Problems to get a ctree plot (library party) in a file via jpeg/png
Hello All,
I am using library "party" and I have found a curious/strange behaviour when
trying to save the output of a ctree in a file via jpeg/png command.
If you use:
################
library(party)
airq <- subset(airquality, !is.na(Ozone))
airct <- ctree(Ozone ~ ., data = airq)
plot(airct, terminal_panel = node_boxplot, drop_terminal = FALSE)
###############
you get a
2003 Apr 04
2
biplot
Dear list,
I want to perform a biplot, using customized titels for the x and y axis.
Setting xlab="" and ylab="" resulted in an error, e.g.:
> data(USArrests)
> biplot(princomp(USArrests),xlab="",ylab="")
Error in biplot.default(t(t(scores[, choices])/lam), t(t(x$loadings[, :
length of dimnames[1] not equal to array extent
>
How do I
1999 Nov 23
3
problems with postscript device
Hi!
The postscript device in 0.90 does not produce symbols (pch=) as it
should. E.g.:
postscript(file="test.ps",width=8,height=6.4,horizontal=FALSE)
plot(1:10,1:10,pch=1:5)
legend(1,9,letters[1:5],pch=1:5)
dev.off()
The result looks quite different compared to the X-windows version.
The symbol 1 (pch=1) is much to small, while the other symbols
seem to big.
Is it a bug? How can I
2017 Jun 21
2
Missing dependencies in pkg installs
I have a Ubuntu server with an R installation that has 384 packages installed. We are trying to replicate the system on a Red Hat Enterprise server. I downloaded the list of packages from the Ubuntu machine and read it into an R session on the new machine. Then I ran install.packages(listofpackages). Now I have 352 packages on the new machine but several very common packages (like much of the
2017 Jun 22
0
Missing dependencies in pkg installs
> On Jun 21, 2017, at 1:39 PM, Conklin, Mike (GfK) <Mike.Conklin at gfk.com> wrote:
>
> I have a Ubuntu server with an R installation that has 384 packages installed. We are trying to replicate the system on a Red Hat Enterprise server. I downloaded the list of packages from the Ubuntu machine and read it into an R session on the new machine. Then I ran
2017 Jun 22
2
Missing dependencies in pkg installs
I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable.
[1] "/tmp/RtmpMM6iC1/R.INSTALLc5ca415e4310/stringi"
Browse[2]> dir(new)
[1] "DESCRIPTION" "INSTALL" "LICENSE"
2017 Jun 22
2
Missing dependencies in pkg installs
Not much progress..... I step through debug and it gets to the do.install() function which immediately errors with the same "configuration not executable" error.
So, made a tempfunc that was a copy of tools:::.install_packages and edited the file_test("-x","configure") line to return a TRUE
now I get a Permission Denied error (even if I run as root)
>
2017 Jun 22
2
Missing dependencies in pkg installs
Duncan Murdoch writes:
> On 22/06/2017 5:02 PM, Conklin, Mike (GfK) wrote:
> > I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable.
>
> I don't know what is causing this bug. Perhaps a Linux user can
2000 Jun 15
2
dataframes and factors
Dear R-List,
I have a dataframe X containing factor f and numeric variable x1, x2, ... I
want to create a new dataframe (or possibly a matrix) that gives statistics
(e.g. sum) for the variables x1, x2, ... in each group defined by factor f.
What is the simplest way to do this?
I tried:
attach(X)
Z <- data.frame(f=levels(f),x1=as.vector(lapply(split(x1,f),sum)))
and stumbled on:
Error
2017 Jun 22
0
Missing dependencies in pkg installs
On 22/06/2017 3:42 PM, Conklin, Mike (GfK) wrote:
> Not much progress..... I step through debug and it gets to the do.install() function which immediately errors with the same "configuration not executable" error.
I believe that is a locally defined function, which means you can set a
breakpoint within it but only if R is compiled with source info, or you
can manually call
2017 Jun 23
0
Missing dependencies in pkg installs
I had the same thought in the shower this morning but I was disappointed to find that SElinux was disabled on the system. My next step will be to install a previous version of R on the system. My problem is that I am planning a shiny server installation and at least half of the apps on the current system depend on these libraries that will not install.
--
W. Michael Conklin
EVP Marketing &
2017 Jun 22
3
Missing dependencies in pkg installs
Following Duncan's instructions I find that the system and R find that configure IS executable but if trying to install via install.packages I get the same error.
I also tried using R CMD INSTALL from the terminal and install.packages with a local file pointing to the very same tar.gz file that shows the executable bit set. All result in the same "configure is not executable" result.