search for: rdat

Displaying 11 results from an estimated 11 matches for "rdat".

Did you mean: dat
2010 Jul 29
2
Fry Plots
Does anyone know how to do a fry plot in R? I have 600-800 points per image, and I really don't want to attempt that manually. Thank you! Cassie [[alternative HTML version deleted]]
2008 Mar 25
1
bandwidth estimation using bw.SJ
Hello All, When I use bw.SJ (based on Sheather & Jones, 1991) in R to estimate the bandwidth for a highly skewed data, I get the following message: "sample is too sparse to find TD". I played around with the parameters such as no. of bins (nb), lower, upper (range over which to minimize) to no avail. My sample size is 50,000. Can anyone tell me what this means and of some
2009 Nov 16
1
lmomco package and confidence limits?
Hello, I am using the lmomco package (lmom.ub and pargev) to compute the GEV parameters (location, scale, and shape), which are used to estimate return values. I was wondering how/if I can calculate upper and lower confidence (CI_u, CI_l) intervals for each return frequency using the GEV parameters to fill-in the table below? Xi (location) = 35.396 Alpha (scale) = 1.726 Kappa (shape) =
2011 Sep 22
1
escribir modelo libreria e1071 en un archivo
Hola a todos, Estoy utilizando la libreria e1071 para clasificar unos datos. Me gustaría poder guardar los modelos en el disco duro y no en memoria de R. He visto que hay una función: save : que guarda el modelo en memoria y load: que carga ese modelo Ejemplo: #saving the best model save(calibrate.rf.model1, file=''bestmodel.rda'') #loading the best model
2003 Mar 31
3
monte carlo method for circle area
Hello everyone I hope Im not bothering you all again. I have just begun to use R and so Im not yet familiarized with it.. I ve got an assignment which consists in calculating the area of a circle given a certain radius and center using the monte carlo method, which means that I have to plot a circle given its parameters. Limit the area inside it...with as many sample points as possible...and
2011 Feb 26
0
Help: Error en model.frame.defaul
...ot; "Abril" ... I'm writing a function where appears the next error message: Error en model.frame.default(formula = x ~ c("1950:2009"), drop.unused.levels = TRUE) : variable lengths differ (found for 'c (1950:2009)') Script: library(robustbase) load("PMpa.Rdat") R2 <- function(x) var(predict(x))/var(predict(x)+resid(x)) TPMEN<-t(apply(PMpa,c(1,3),function(x){ kk<-lmrob(x~c("1950:2009")); c(kk$coefficients[2],R2(kk), (1-summary(kk)$coefficients[2,4])*100, (confint(kk,level=.95)*10)[2,])})) dimnames(TPMEN)[[3]][1:3]<-c("...
2003 Jan 24
1
RMySQL performance over RODBC
...perts on the list please throw some light as how to improve the speed with which RMySQL queries can be processed ? RMySQL database access is done as follows: ------------------------------------------- library(RMySQL) # 1 con <- dbConnect( ... ) # 2 ... rs <- dbSendQuery(con,qry) # 3 rdat <- fetch(rs,n=10000) # 4 ... dbDisconnect(con) # 5 ------------------------------------------- lines #3 and #4 are repeated about 10000 times in the script. Thanks in advance for any help. Sukhaswami Malladi *************************************************************************** Th...
2012 Jul 28
1
using save() to work with objects that exceed memory capacity
Context: I'm relatively new to R and am working with very large datasets. General problem: If working on a dataset requires that I produce more than two objects of roughly the size of the dataset, R quickly uses up its available memory and slows to a virtual halt. My tentative solution: To save and remove objects as they're created, and load them when I need them. To do this I'm
2007 Dec 05
4
Java parser for R data file?
Hi everyone, Has anyone written a parser in Java for either the ASCII or binary format produced by save()? I need to parse a single large 2D array that is structured like this: list( "32609_1" = c(-9549.39231289146, -9574.07159324482, ... ), "32610_2" = c(-6369.12526971635, -6403.99620977124, ... ), "32618_2" = c(-2138.29095689061, -2057.9229403233, ... ),
2007 Nov 01
0
nlme installation/ loading problem
...lable for loading under RGui. This happens after a fresh install, and deletion of all R directories. Furthermore after this unsuccessful attempt to install nlme, RGui can not be used any more. When I try to restart it, it gives an error message about some problem with restoring things, mentions an .Rdat file, and quits. I next tried to use Rterm.exe (out of desperation), and it came up successfully. Also, in this terminal session I was able to install nlme by using the install.packages() command. And after going through these steps, RGui starts up again normally! I have tried this twice, start...
2008 Apr 23
3
Writing list object to a file
Hi all, I am wondering how to write a 'list' object to a file. I already gone through some threads like http://mail.python.org/pipermail/python-list/2001-April/080639.html, however could not trace out any reliable solution. I tried following : > write.table(calc, file="c:/data.csv") Error in data.frame("200501" = c(-0.000387071806652095, -0.000387221689252648, :