Re: [R] ROC curve

2012-01-30 Thread Corey Dow-Hygelund
Hi Josiane, Concerning ROC curves, the package ROCR should do what you want to do. Use install.packages to add it to you library. Getting you data into a text file format, use read.delim to read into an data frame. Once you have a data frame, you can use the methods in ROCR to analyze the data.

Re: [R] Can R handle a matrix with 8 billion entries?

2011-08-10 Thread Corey Dow-Hygelund
You might want to look into the packages bigmemory and biganalytics. Corey On Tue, Aug 9, 2011 at 8:38 PM, Chris Howden wrote: > Hi, > > I’m trying to do a hierarchical cluster analysis in R with a Big Data set. > I’m running into problems using the dist() function. > > I’ve been looking at a fe

Re: [R] Memory leak using Rgraphviz

2010-06-03 Thread Corey Dow-Hygelund
It appears you are facing a garbage collection issue. ?gc Corey On Thu, Jun 3, 2010 at 3:13 PM, Andreas Yankopolus wrote: > I'm running an Ubuntu 10.04 system and installed R 2.10.1 through the > package manger. I then installed Rgraphviz 1.24 and graph 1.26 through R. > > I'm trying to unders

Re: [R] text mining

2009-10-02 Thread Corey Dow-Hygelund
Your problem lies in the use of system.file. This command looks in the folder location of tm for specific folders. See ?system.files. Basically, for the document example, it assigning txt to the directory string like "C:/Program Files (x86)/R/R-2.9.0/library/tm/texts/txt" Then the DirSource(txt)

[R] MCO: Timing using model.matrix method

2009-05-01 Thread Corey Dow-Hygelund
Hi fellow users of R, My research requires the simultaneous optimization of several response functions.  Therefore, I am using the nsga2 method in the mco package, which works beautifully. However, I am running into a significant timing difference that is causing me grief.  The details: Say I ha

[R] MCO: Timing using model.matrix method

2009-04-27 Thread Corey Dow-Hygelund
Hi fellow users of R, My research requires the simultaneous optimization of several response functions. Therefore, I am using the nsga2 method in the mco package, which works beautifully. However, I am running into a significant timing difference that is causing me grief. The details: Say I ha

[R] Build function from model formula

2009-03-13 Thread Corey Dow-Hygelund
Hi fellow R-users, I am (attempting) to take a formula object, and convert it into a function which I can feed into optim. Basically, I have several functions that fit the formula object to data, and analyze the results. The next step would be to combine the fitting function coefficient results

[R] Zelig method setx()

2009-02-18 Thread Corey Dow-Hygelund
Hello, I am attempting to "automate" a Bayesian normal linear regression using Zelig. Basically, I have a list containing several zelig() objects, each having a different formula, same data set, and same model (normal.bayes). My problem lies in the setx() method, where I am setting a numeric par