Re: [R] Replacing cretin value in a file

2012-05-13 Thread Ken Hutchison
Perhaps you are in the first circle of the R Inferno? Ken Hutchison On May 13, 2012, at 9:31 AM, Berend Hasselman wrote: > > On 13-05-2012, at 15:08, Jonsson wrote: > >> Dear All, >> >> I am trying to replace a value of 528.8933 to - in my file >&

Re: [R] howto test a package without installation

2012-01-15 Thread Ken Hutchison
Did not fully read the without installing it part. Mea Culpa, Ken On Jan 15, 2012, at 8:56 PM, Jeff Newmiller wrote: > I don't believe you can. However, you need not install it into a system-wide > library directory... your personal library (e.g. > /home/jonas/R/x86_64-pc-linux-gnu-li

[R] Fwd: Trouble installing packages on R2.14.1

2012-01-15 Thread Ken Hutchison
Begin forwarded message: > From: Ken Hutchison > Date: January 15, 2012 8:54:49 PM EST > To: Ben Bolker > Subject: Re: [R] Trouble installing packages on R2.14.1 > > Check browser proxy settings and run R.exe with the proper flags to use them > from cmd. > Ho

Re: [R] howto test a package without installation

2012-01-15 Thread Ken Hutchison
install.packages('pathtotargz', repos=FALSE) I believe that will get you going. Hope that's helpful, Ken On Jan 15, 2012, at 8:33 PM, Joshua Wiley wrote: > Hi Jonas, > > Look at Hadley Wickham's devtools package. It is designed with this > sort of thing. That said, it really is not too

Re: [R] Problem Installing R to SuSE 10 via RPM

2012-01-13 Thread Ken Hutchison
apt-get wont run on Suse unless you have aptitude, also your distribution won't compile a deb without some intervention. You won't be able to query the package regardless of key if your local proxy settings won't let you because of admin. Perhaps see if there is a tool to convert the deb package

Re: [R] quadratic programming-maximization instead of minization

2012-01-02 Thread Ken Hutchison
I don't have experience with this in R and I'm not sure I understand the question that well but maybe something like nearPD()? Ken Hutchison On Jan 2, 2012, at 6:36 AM, riccardo24 wrote: > Hi, I need to maximize a quadratic function under constraints in R. > For minimization

Re: [R] R on Android

2012-01-01 Thread Ken Hutchison
you, I'd advise looking for food; else be prepared to name your phone Wilson. Ken Hutchison On Jan 1, 2012, at 11:28 AM, David Winsemius wrote: > > On Jan 1, 2012, at 11:07 AM, David Winsemius wrote: > >> >> On Jan 1, 2012, at 10:05 AM, Federico J. Villatoro w

Re: [R] boot.ci: [Error: cannot allocate vector of size 1.5 Gb]

2011-12-20 Thread Ken Hutchison
the maxreps that are right for your machine. Ken Hutchison 2011/12/20 Uwe Ligges > > > On 20.12.2011 06:47, Vikram Bahure wrote: > >> Dear R users, >> >> I am getting following error while using boot.ci. I have int.inc function >> with 2000

[R] NA handling in tree package

2011-11-19 Thread Ken Hutchison
Dear R-List, Is there any way to handle NA's within tree objects themselves in terms of the predict.tree( )? I understand that if there is an NA at a split in a certain variable, the prediction is classified at that node and not dropped further down the tree. Are there any other and possibly

Re: [R] installing java on ubuntu 11.10 installation

2011-11-09 Thread Ken Hutchison
Which is better is a matter of opinion: Try: sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts if it doesnt work, update/add repos. Also, miss google knows this; lastly: not really a geRmaine topic for the R-list. HTH Ken Hutchison On Wed, Nov 9, 2011 at 4:40 PM, ravi

Re: [R] ar() - AIC and BIC

2011-10-19 Thread Ken Hutchison
gaRds, Ken Hutchison On Wed, Oct 19, 2011 at 7:22 PM, J Toll wrote: > Hi, > > I'm slowly working through Tsay's "Analysis of Financial Time Series" > 3rd ed. I'm trying to replicate Table 2.1 on p.47, which gives PACF, > AIC, and BIC for the mont

Re: [R] p value in R - beginners question

2011-10-18 Thread Ken Hutchison
data as you saw it: than that's not so exciting after all. Hope that was helpful, Ken Hutchison On Tue, Oct 18, 2011 at 2:35 PM, B77S wrote: > This is just scientific notation, so > 8.15e-01 is the same as: > > 8.15*10^-1 > [1] 0.815 > > > > > > niki wrote:

Re: [R] Party package: varimp(..., conditional=TRUE) error: term 1 would require 9e+12 columns

2011-10-14 Thread Ken Hutchison
rtance for each variable when the others are held out (inferential only) Weak I know, but I hope it helps! Ken Hutchison On Fri, Oct 14, 2011 at 12:06 PM, Jason Roberts wrote: > I would like to build a forest of regression trees to see how well some > covariat

Re: [R] aov(variable~group*(speed*person)) but How to get 95% confidence intervals ?

2011-10-14 Thread Ken Hutchison
Hey, If I understand correctly, library(gplots) plotmeans(). You might also try TukeyHSD() to see if that gets you where you are trying to go. Good luck! Ken Hutchison On Fri, Oct 14, 2011 at 12:11 PM, Jebb Remelius wrote: > Greetings and gratitude, > > I have 19 person

Re: [R] Permutation or Bootstrap to obtain p-value for one sample

2011-10-08 Thread Ken Hutchison
will let you know) you should be able to make inference from that using parametric methods (once) which will fit the truth a bit better than a t.test. Hope that's helpful, Ken Hutchison On Sat, Oct 8, 2011 at 10:04 AM, francy wrote: > Hi, > > I am having troubl

Re: [R] open source editor for r for beginners

2011-09-20 Thread Ken Hutchison
Rstudio and Rcmdr are very popular and for good reason, find a good book while the latter is installing though. IF you are using linux, rkward is fantastic to woRk with. Ken Hutchison On Tue, Sep 20, 2011 at 11:21 AM, Steve Lianoglou < mailinglist.honey...@gmail.com> wrote: &g

Re: [R] Weibull point process

2011-09-14 Thread Ken Hutchison
ogLambda) Point.Process.Counts=rpois(T,Lambda) return(Point.Process.Counts) } I haven't actually tried this code (may contain clerical errors) but I hope it gets you on the right track. Good luck, Ken Hutchison 2011/9/14 Torbjørn Ergon > Dear list, > > I'm looking for a fun

[R] Fwd: Importing data from MS EXCEL (.xls) to R XXXX

2011-08-24 Thread Ken Hutchison
-- Forwarded message -- From: Ken Hutchison Date: Wed, Aug 24, 2011 at 6:27 PM Subject: Re: [R] Importing data from MS EXCEL (.xls) to R To: Dan Abner save as csv. ?read.csv Ken On Wed, Aug 24, 2011 at 6:20 PM, Dan Abner wrote: > Hello everyone, > > Wh

[R] Fwd: help with "by" command

2011-08-24 Thread Ken Hutchison
-- Forwarded message -- From: Ken Hutchison Date: Wed, Aug 24, 2011 at 6:06 PM Subject: Re: [R] help with "by" command To: amalka ?tapply or more specifically ?ave Hope this helps, Ken On Wed, Aug 24, 2011 at 2:51 PM, amalka wrote: > Hello, > > I

[R] require(dataset) for example.

2011-08-19 Thread Ken Hutchison
Dear R Users Any idea if there exists any one dimensional Cox Process datasets in R? 'Spatstat' is very comprehensive but doesn't seem to have any examples of 1D (time series) Doubly Stochastic Poisson Process data. (I am aware it can be simulated) Thank you,

Re: [R] Automating an R function call

2011-08-12 Thread Ken Hutchison
Hey, Also, if your function varies in time (less than 5 minutes) then you could use total.time.difference=system.time(some.function)[1)] # (for user time) and you could plug this into your Sys.sleep() (which accepts decimal seconds) if you can #accept an error on the order of hundredths of second

Re: [R] Getting bootstrap statistic to work

2011-08-12 Thread Ken Hutchison
Hi, It's kind of weird for me to not see a return() statement in the function. Maybe try rolling your own, nonparametric bootstraps aren't all that bad. i.e. reps=1000 stat.holder=rep(NA,reps) ###Rep of NA's so you can pick up errors easily for(count in 1:reps) { bootsample=sample(data, n.data

[R] Clustering Large Applications..sort of

2011-08-10 Thread Ken Hutchison
Hello all, I am using the clustering functions in R in order to work with large masses of binary time series data, however the clustering functions do not seem able to fit this size of practical problem. Library 'hclust' is good (though it may be sub par for this size of problem, thus doubly poo