similar to: 2 questions

Displaying 20 results from an estimated 1000 matches similar to: "2 questions"

2010 Feb 26
2
Error in mvpart example
Dear all, I'm getting an error in one of the stock examples in the 'mvpart' package. I tried: require(mvpart) data(spider) fit3 <- rpart(gdist(spider[,1:12],meth="bray",full=TRUE,sq=TRUE)~water+twigs+reft+herbs+moss+sand,spider,method="dist") #directly from ?rpart summary(fit3) ...which returned the following: Error in apply(formatg(yval, digits - 3), 1,
2002 Aug 06
1
timing predict.tree()
Hi all, I am running R1.5.0 under Unix. I am repeating my earlier question with a few details added. I have the following tree fitted as the tree object 'my.tree': node), split, n, deviance, yval * denotes terminal node 1) root 5807 0.9998 0.0001722 2) V604 < 0.5 5798 0.0000 0.0000000 * 3) V604 > 0.5 9 0.8889 0.1111000 * And I have a data.frame called
2002 Aug 31
1
bug in garbage collector function gc() documentation (PR#1970)
Full_Name: Saket Joshi Version: 1.5.0 OS: Solaris 5.8 Submission from: (NULL) (128.193.38.91) According to the documentation obtained by entering: help.search("gc"), the command gc() forces garbage collection and gives the memory usage statistics along with the trigger values in bytes also interpretted in megabytes. However when I ran gc(), the result was a list giving the memory usage
2016 Mar 01
4
GSOC 2016 Aspirant for Kepler Accelerated Video Encoding;
Hi, First of all, congratulations to the X.org team for selection into Google Summer of Code 2016. I would like to participate to Google Summer of Code 2016 by contributing to Kepler Accelerated Video Encoding for Nouveau. I request you to kindly guide me as to how to get started with this project. Regards, Saket Sinha
2013 Aug 02
4
Internalization of help pages
Is it possible to translate help files? I see there are some localization options for GUI, but not for help. I think this would be really helpful for users who don't have English as their primary language. Because all the online help is created from text files, it should be not that difficult to maintain different language versions (e.g. to mark them as not valid when primary documentation in
2013 Aug 02
4
Internalization of help pages
Is it possible to translate help files? I see there are some localization options for GUI, but not for help. I think this would be really helpful for users who don't have English as their primary language. Because all the online help is created from text files, it should be not that difficult to maintain different language versions (e.g. to mark them as not valid when primary documentation in
2002 Oct 25
4
R v/s S-plus
Hi all, I have Splus and R both on my unix machine. I intend to keep only one of them. R looks to be a better choice. But I want to confirm. Is there any function or group of functions in Splus that are absent in R? Thanks, Saket. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
2011 Jul 25
1
Problem with random number simulation
Hi this is my first post. I am trying to run a simulation for a computer playing Von Neumann poker and adjusting it's expectation of an opponent's behavior according to how the opponent plays. This program involves random generation of "hands" and shifting of parameters. However, when I run the code, no errors come up, but the program doesn't do anything. Could someone
2012 Jan 08
2
rpart question
We are trying to make a decision tree using rpart and we are continually running into the following error: > fit_rpart=rpart(ENROLL_YN~MINORITY,method="class") > summary(fit_rpart) Call: rpart(formula = ENROLL_YN ~ MINORITY, method = "class") n= 5725 CP nsplit rel error 1 0 0 1 Error in yval[, 1] : incorrect number of dimensions ENROLL_YN is a
2010 Dec 16
1
predict.lm with new regressor names
Hi all, Suppose: y<-rnorm(100) x1<-rnorm(100) lm.yx<-lm(y~x1) To predict from a new data source, one can use: # works as expected dum<-data.frame(x1=rnorm(200)) predict(lm.yx, newdata=dum) Suppose lm.yx has been run and we have the lm object. And we have a dataframe that has columns that don't correspond by name to the original regressors. I very! naively assumed that doing
2014 Mar 28
2
Recompiling the Kernel for CentOS 6.5
Hi, I am working on CentOS 6.5 which has 2.6.32-431 kernel. I have a problem with my driver and I need to enable Kernel-Memory leak in the kernel for which I will have to recompile the kernel. I get the kernel source tree from the the source rpm for my running kernel from below link- http://vault.centos.org/6.5/updates/Source/SPackages/kernel-2.6.32-431.11.2.el6.src.rpm and I try to build
2008 Dec 16
1
renaming factor-labels / add factors etc.
Hi, how can I change a defined factor-variable? Like adding levels, renaming existing levels or merge several levels of a factor to one level? For example; following factor-variable is given: x <- factor(c("xyz1", "abc1", "xyz2", "abc2")) How can I add the level fgh? And how can I merge "xyz1" and "xyz2" to one level? And
2009 Nov 24
2
Re moving white space help
Hi there I am trying to remove the white space and replace it with nothing but didnt have any luck with that x <- and fgh- i can replace the comma using gsub gsub("\\-","",x) but i cant replace the white space with nothing. Ramya -- View this message in context: http://old.nabble.com/Removing-white-space-help-tp26503431p26503431.html Sent from the R help mailing list
2008 May 27
5
Rotated text on a regression line
Dear all, I stumbled over a problem recently when trying to use srt with text() on a windows device. What I intended to do was to plot a simple regression line, and to rotate a piece of text such that the text has the same angle as the regression line. However, the text is always plotted in a slightly wrong angle: #### x=1:10 #create arbitrary x and y values y=x*2-rnorm(1:10)
2008 Mar 17
1
how to get accumulate contingency table
Hi, all. I got a lot of help from the this mailing list, it save me a lot of time. Here is my question. x<-rep(c(2,3,4),20) y<-sample(rep(c(0,1),30)) tr<-rep(c(1:5),6) data1<-data.frame(x,y,tr) data1<-data1[order(data1$tr),] > data1 x y tr1 2 0 16 4 1 111 3 0 116 2 0 121 4 0 126 3 1 131 2 0 136 4 1 141 3 0 146 2 0 151 4 0 156 3 0 12 3 0 27 2 0
2000 Feb 07
1
demo(nlm) error under R 0.99.0
I can't seem to get the demo(nlm) to run under R version 0.99.0 Anyone know a solution? > fgh <- function(x) { gr <- function(x1, x2) { c(-400 * x1 * (x2 - x1 * x1) - 2 * (1 - x1), 200 * (x2 - x1 * x1)) } h <- function(x1, x2) { a11 <- 2 - 400 * (x2 - x1 * x1) + 800 * x1 * x1 a21 <- -400 * .... [TRUNCATED] > nlm(fgh,
2002 Aug 28
0
user defined function in rpart
Hi, I am trying to use the rpart library with my own set of functions on a survival object. I get an immeadiate segmentation fault when i try calling rpart with my list of functions. I get the same problem with the logrank example from Therneau,s S-rpart library though their anova example works. Should I report this as a bug, as even if my functions are structured improperly, that should lead to
2007 Feb 20
1
text.rpart for the "class" method doesn't act on label="yprob"
Hello All, Am I misreading the documentation? The text.rpart documentation says: "label a column name of x$frame; values of this will label the nodes. For the "class" method, label="yval" results in the factor levels being used, "yprob" results in the probability of the winning factor level being used, and ?specific yval level? results in the probability of
2005 Sep 24
1
rpart Error in yval[, 1] : incorrect number of dimensions
I tried using rpart, as below, and got this error message "rpart Error in yval[, 1] : incorrect number of dimensions". Thinking it might somehow be related to the large number of missing values, I tried using complete data, but with the same result. Does anyone know what may be going on, and how to fix it? I have traced two similar error messages in the Archive, but following the
2007 Mar 01
1
Generating R plots through Perl
Hello, I am in the process of writing a Perl program to carry out and analyze large numbers of regressions using R as the regression engine, and I am using Statistics::R to create the communication bridge between the two programs. Statistics::R creates a pipe between R and Perl and uses Rterm.exe (hidden during run-time) to carry out the R commands. This communication bridge works well for