Displaying 20 results from an estimated 5000 matches similar to: "debugging non-visible functions"
2003 Oct 02
3
EMACS/ESS problems
Hello all,
since we're on the topic of R-editors. I am using emacs/ess on a unix
workstation (to interact with R and have been having a little problem. I
usually write the R commands I need to run in a separate buffer then
copy and paste them into the *R* buffer for evaluation. The problem is,
if any command is spread over multiple lines emacs/R hangs when I paste
it in the R buffer for
2004 Jan 21
1
silhoutte.default bugs
Hello all,
This might have been fixed in later versions (I am using R1.7.0), r-help
archive contains messages reporting similar problems but no reports of
codes fixes. I have encountered a couple of problems using the
silhouette function. one occurs when the clustering contains clusters
composed of 1 element (Martin Maechler posted code few months ago that
fixes a similar problem that occurs
2003 Jul 17
6
Formal definitions of R-language.
Hello!
Some CS-guys (the type who knows what Church formalism is) keep asking
me questions about formal definitions of R-language that I can not
answer (or even understand). Is there some freely available papers which
I can throw at them where it would be explained is R
functional/OOP/procedural language, does it use weak/strong,
dynamic/static typization, does it use lazy or ...(do not know
2004 Jan 14
1
model-based clustering
Hello,
I was wondering whether a Poisson mixture modeler/cluster analysis
package is available for R. I scanned CRAN packages and couldn't find
anything but I thought I'd ask. If not could anyone recommend a non-R
open source package. I have found 'snob' but this program seems a bit
hard to use in an automated, non interactive fashion.
regards,
Murad
--
Murad Nayal M.D. Ph.D.
2003 Jul 21
1
help on barplot
Hello,
I am trying to compare two histograms using barplot. the idea is to plot
the histograms as pairs of columns side by side for each x value. I was
able to do it using barplot before but I can't remember now for the life
of me now how I did it in the past:
> d
[,1] [,2]
-37.5 0.0000000000 2.789396e-05
-32.5 0.0001394700 5.578801e-05
-27.5 0.0019804742
2003 Nov 10
1
kmeans error (bug?)
Hello,
I have been getting the following intermittent error from kmeans:
>str(cavint.p.r)
num [1:1967, 1:13] 0.691 0.123 0.388 0.268 0.485 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:1967] "6" "49" "87" "102" ...
..$ : chr [1:13] "HYD" "NEG" "POS" "OXY" ...
> set.seed(34)
>
2003 Aug 25
2
lattice question
Hi,
I want to use (similar to) las options in lattice
(bwplot) plot. Actually I want to have x-axis labels
as vertical instead of default horizontal.
Thanks in advance for your help.
Mahbub
2003 Jun 24
0
help on R programming.
> -----Original Message-----
> From: Murad Nayal [mailto:mn216 at columbia.edu]
> Sent: Tuesday, 24 June 2003 12:02 PM
> Cc: r-help at stat.math.ethz.ch
> Subject: [R] help on R programming.
>
>
>
>
> Hello all,
>
> I am looking for books to help me gain a firmer grasp on the S/R
> programming language , programing / data structures etc. it
> seems
2003 Jun 18
3
Multiple graph sheets
In Splus the code
test.lm <- lm(y ~ x, data = test.data)
plot(test.lm)
generates a graphics window that contains
multiple graph sheets that one may choose
from via the "page" tabs at the bottom of
the window.
Is there a way to do this sort of thing in
R? As another example, I have some repeated
measures data with continuous outcomes and
have been working with the nlme library in
2002 Oct 03
0
[Fwd: curiousity with hist]
just realized that the bin value is actually the relative frequency
divided by the bin width. sorry for consuming band width.
Alas, is there anyway to make hist() calculate relative frequencies
irrespective of bin width?
thanks
Murad Nayal wrote:
>
> Hello,
>
> I am rather new to R. in trying to use the hist() command I get behavior
> that is somewhat puzzling me, in short,
2003 Oct 23
0
anova model refinement/clustering question
Hi,
I am trying to refine models of a continuous response variable and a
number of categorical predictor variables. I know of some model
refinement tools available in R that help in the selection of model
terms like dropterm and addterm from MASS etc. However, I would also
like to try to refine the model by 'coalescing' some levels of some of
the predictor factors. Is there a standard
2018 Aug 14
2
Xenial rpart package on CRAN built with wrong R version?
Hello,
I just upgraded my Ubuntu Xenial system to R 3.5.1 (from 3.4.?) by changing the sources.list entry and doing an "apt-get dist-upgrade". Everything works except loading the rpart package in R:
> library(rpart)
Error: package or namespace load failed for ?rpart?:
package ?rpart? was installed by an R version with different internals; it needs to be reinstalled for use with
2009 Jul 26
3
Question about rpart decision trees (being used to predict customer churn)
Hi,
I am using rpart decision trees to analyze customer churn. I am finding that
the decision trees created are not effective because they are not able to
recognize factors that influence churn. I have created an example situation
below. What do I need to do to for rpart to build a tree with the variable
experience? My guess is that this would happen if rpart used the loss matrix
while creating
2001 Aug 12
2
rpart 3.1.0 bug?
I just updated rpart to the latest version (3.1.0). There are a number of
changes between this and previous versions, and some of the code I've been
using with earlier versions (e.g. 3.0.2) no longer work.
Here is a simple illustration of a problem I'm having with xpred.rpart.
iris.test.rpart<-rpart(iris$Species~., data=iris[,1:4],
parms=list(prior=c(0.5,0.25, 0.25)))
+ )
>
2014 Aug 13
1
Request to review a patch for rpart
Dear list
For my work, it would be helpful if rpart worked seamlessly with an
empty model:
library(rpart); rpart(formula=y~0, data=data.frame(y=factor(1:10)))
Currently, an unrelated error (originating from na.rpart) is thrown.
At some point in the near future, I'd like to release a package to CRAN
which uses rpart and relies on that functionality. I have prepared a
patch (minor
2011 Jul 29
1
help with predict.rpart
? data=read.table("http://statcourse.com/research/boston.csv", ,
sep=",", header = TRUE)
? library(rpart)
? fit=rpart (MV~ CRIM+ZN+INDUS+CHAS+NOX+RM+AGE+DIS+RAD+TAX+
PT+B+LSTAT)
predict(fit,data[4,])
plot only reveals part of the tree in contrast to the results on obtains
with CART or C5
-------- Original Message --------
Subject: Re: [R] help with rpart
From: Sarah
2018 Aug 14
2
Xenial rpart package on CRAN built with wrong R version?
I?m not using the PPA, but the CRAN mirror from https://cran.r-project.org/bin/linux/ubuntu/#installation:
deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/
On 14 Aug 2018, at 12:25, George N. White III <gnwiii at gmail.com<mailto:gnwiii at gmail.com>> wrote:
qOn Tue, 14 Aug 2018 at 05:04, Ulrich KELLER <ulrich.keller at uni.lu<mailto:ulrich.keller at
2003 Jun 02
1
Ploting rpart objects / namespace problems
I've written a small adaptation of the text.rpart function of the rpart
package to better suite my tree presentation needs (I basically left the code
untouched, only changing some numbers relating to label positioning).
When I changed to version 1.7.0 this function stopped working printing the
error :
couldn't find function "rpartco"
As far as I understand this has to do
2005 Mar 18
1
How to show which variables include in plot of classification tree
Dear all
For my research, I am learning classification now.
I was trying some example about classification tree pakages, such as
tree and rpart, for instance,
in Pima.te dataset have 8 variables (include class=type):
library(rpart)
library(datasets)
pima.rpart <- rpart(type ~ npreg+glu+bp+skin+bmi+ped+age,data=Pima.te,
method='class')
plot(pima.rpart, uniform=TRUE)
text(pima.rpart)
2006 Aug 09
2
How to draw the decision boundaries for LDA and Rpart object
Hello useR,
Could you please tell me how to draw the decision boundaries in a scatterplot of the original data for a LDA or Rpart object.
For example:
> library(rpart)
>fit.rpart <- rpart(as.factor(group.id)~., data=data.frame(Data) )
How can I draw the cutting lines on the orignial Data?
Or is there any built in functions that can read the rpart object 'fit.rpart' to do