Displaying 20 results from an estimated 1000 matches similar to: "Variable selection based on both training and testing data"
2012 Jan 24
1
Error from Brugs "'r for windows gui front-end has stopped working''
Dear all,
I just try to run the example in R brugs packages, but not only once. Loop is added in this example. After several times (7, 11, or other random number), there is an error message "r for windows gui front-end has stopped working". This happened in two laptops with windows 7 and vista. I have tried different versions of R (2.14.1 and 2.13) and Brugs packages (0.7.1 and 0.7-5).
2011 Sep 13
1
Problems of metafile plots when converting word to pdf file
Hi all,
I copy metafile boxplot from R to Word. Then save as Pdf file. But I found there are some unexpected black lines in some plots within this PDF file.
Please give me some advice how to get rid of these black lines in PDF files.
Thanks a lot,
Jim
[[alternative HTML version deleted]]
2004 Nov 22
7
timeDate
what package should I include to use timeDate? I want to convert a
double (num of millis) into date object.
2011 Mar 10
1
3 dimensional MDS plots
Hi,
I am trying to create 3 mds plots: one with axis 1 vs axis 2, one with axis 2 vs axis 3, and one with axis 1 vs axis 3. When inputting my code, I only end up with one diagram and when inputting
mdsg.mds$dims, the program returns 2 for 2 dimensions. How can I create the other two plots?
Any help would be greatly appreciated,
Calla Carbone
The table I use is number of each taxa on each
2012 Mar 05
2
632 estimator using boot package
Dear All,
Anyone has some idea how to implement 632 estimator and leave-one out bootstraping method by using boot package. I know the bootstrap package has this function, but it sounds not very flexible for my project.
Thanks,
Jim
2010 Jan 31
3
combining data frames in a list - how do I add breaks?
I'm a week-old R user, and have become stuck trying to create usable CSV
outputs for post-processing. I am using the package Rioja, which provides
small datasets of results. I am running several analyses in a loop and
iteratively adding the results to a *list* ("combined"). Within each
iteration I use the following:
> combined[[i]] <- performance(fit)
With two iterations I
2011 Oct 06
2
Titles changing when a plot is redrawn
I ran into a problem with titles on graphs. I wanted a graph with
multiple subplots, with each having a title that involved both
a Greek letter and an identifier for each graph. Below is a
simplified version of code to do this. The graph appears fine,
with the first graph having "i=1" in the title, and the second
graph having "i=2" in the title. However, when I resize the
2007 Aug 04
2
multiple nls - next fit even after convergence problem
Hello R-gurus,
I'm trying to adjust different growth curves to a rather extensive dataset.
I wrote up a function to go through all of them, but am encountering a problem :
among the more than 1000 curves I have, obviously for some of them I encounter conversion problems.
I'd like for my function to keep going to the next curve and store the fact that for curve number X I had a convergence
2016 Feb 08
3
tamaño de rolling window (series temporales)
Hola!!
Estoy intentando evaluar mi modelo de series temporales (uso auto.arima).
Para ello he implemetado el método "rolling window" que se basa en ir
añadiendo progresivamente datos al conjunto de train para testar el
modelo. Por ejemplo:
- Train: 1 año, test: día 1 (24 observaciones, una por hora) --> evalúo
ese día (RMSE por ejemplo)
- Train: 1 año + 1 día, test: día 2 -->
2004 Mar 20
9
Operating on windows of data
I have a data set that is comprised of, for simplicity, a vector of numbers that I want to march across in overlapping windows of say 10 values each, computing a couple of values for each window. Is there a vectorized way to do this, or do I truly need to resort to looping--I think so? Any other clever thoughts?
Thanks,
Sean
[[alternative HTML version deleted]]
2010 Mar 22
1
help needed with boxplot
I am new to R, can anyone help with boxplot for a dataset like:
file1 col1 col2 col3 col4 col5
050350005 101 56.625 48.318 RED
051010002 106 50.625 46.990 GREEN
051190007 25 65.875 74.545 BLUE
051191002 246 52.875 57.070 RED
220050004 55 70 80.274 BLUE
220150008 75 67.750 62.749 RED
220170001 77 65.750 54.307 GREEN
file2
col1 col2 col3 col4 col5
050350005 101 56.625 57 RED
051010002 106 50.625 77
2011 Nov 17
1
tuning random forest. An unexpected result
Dear Researches,
I am using RF (in regression way) for analize several metrics extract from
image. I am tuning RF setting a loop using different range of mtry, tree
and nodesize using the lower value of MSE-OOB
mtry from 1 to 5
nodesize from1 to 10
tree from 1 to 500
using this paper as refery
Palmer, D. S., O'Boyle, N. M., Glen, R. C., & Mitchell, J. B. O. (2007).
Random Forest Models
2006 Nov 07
2
Comparing models in multiple regression and hierarchical linear regression
I don?t know if this question properly belongs on this list, but I?ll ask it here because I?ve been using R to run linear regression models, and it is only in using R (after switching from using SPSS) that I have discovered the process of fitting a linear model. However, after reading Crowley (2002), Fox (2002), Verzani (2004), Dalgaard (2002) and of course searching the R-help archives I cannot
2007 Oct 08
2
Applying function to data.frame
Hi,
If I have the following data.frame
>y
time val
1 08:00:05.834 1
2 08:03:13.345 2
3 08:10:12.443 3
>
and the following function which converts the time string to the number
of milliseconds since midnight
> str_to_millis
function( s )
{
a <- as.numeric( unlist( strsplit(s,":",fixed="TRUE") ) )
m <- a[1]*3600000 + a[2]*60000 + a[3]*1000
}
2010 Jan 01
1
Questions bout SVM
Hi everyone,
Can someone please help me in these questions?:
1)if I use crossvalidation with svm, do I have to use this equation to calculate RMSE?:
mymodel <- svm(myformula,data=mydata,cross=10)
sqrt(mean(mymodel$MSE))
But if I don’t use crossvalidation, I have to use the following to calculate RMSE:
mymodel <- svm(myformula,data=mydata)
mytest
2011 Nov 15
1
Plot alignment with mtext
I would like the text plotted with 'mtext' to be alighned like it is for
printing on the console. Here is what I have:
> print(emt)
ME RMSE MAE
MPE MAPE MASE
original -1.034568e+07 1.097695e+08 2.433160e+07 -31.30554 37.47713
1.5100050
xreg 1.561235e+01 2.008599e+03 9.089473e+02 267.05490 280.66734
2017 Sep 27
1
need held in r coding.
Need Help in Debugging below script:--------------------------------
dat <- get_majorlandmarks(dat,Dmin,Per)
fit_xts <- xts(dat$fit,order.by = dat$Date,frequency = 365)
close_xts <- xts(dat$Close, order.by = dat$Date, frequency = 365 )
majorlandmarks_xts <-xts(dat$Close[dat$majorlandmarks==TRUE], order.by =
dat$Date[dat$majorlandmarks==TRUE], frequency = 365 )
minorlandmarks_xts
2017 Jul 07
1
Scoring and Ranking Methods
Hi,
I am doing predictive modelling of Multivariate Time series Data of a Motor
in R using various models such as Arima, H2O.Randomforest, glmnet, lm and
few other models.
I created a function to select a model of our choice and do prediction.
Model1 <- function(){
..
return()
}
Model2 <- function(){
...
return()
}
Model3 <- function(){
...
return()
}
main <-
2003 Feb 25
11
Exchange Server in DMZ
I would like to place an exchange 5.5 server in my DMZ.
Can anyone tell me how I can set this up to allow LAN clients to be able to
connect to Exchange and also so I can admin the box from the LAN with
Terminal Services?
Thank you.
2009 Dec 29
3
error logging
Yet another question...
I'm wondering if there is a built in facility to log errors. I've got this
statement that gives me verbose DBI errors as they come up (to standard
output), but I'd like to trap and log them to a file as I running about
3000000 sql statements through this particular piece of code and I'd like to
keep the loop going and deal with all the errors once the