search for: ctch

Displaying 3 results from an estimated 3 matches for "ctch".

Did you mean: catch
2011 Jul 11
1
Named numeric vectors with the same value but different names return different results when used as thresholds for calculating true positives
...following illustrates the problem: # Start of code with comments # Load vectors x and y con <- url("http://sites.google.com/site/ldemisc/r_general/tpfpdat.Rdata") load(con) close(con) # Data frame to collect TP and FP values based on different thresholds of vector x bins <- 0.005 ctch <- data.frame(matrix(nrow = 100 / (bins * 100) + 1, ncol = 4)) colnames(ctch) <- c("threshold", "val", "tp", "fp") # Extract different TP and FP values in loop, where thresholds are based on 1/2 percent increments # in quantiles of x for(i in 1:(100 /...
2012 Feb 13
1
comment lines sometimes removed from a function on exit from internal R editor
...f R. Any suggestions on how to preserve the comment lines would be greatly appreciated. Many apologies if this is a stupid question. Cleridy ## this function has comments at the top: > mapsp.sqrtcpd.f function (input.frm, cpd.numerator, cpd.denominator, basis.dim, npts, nyrs.unq, prop.ctch) { # here are some comments # and more # year.min<- 1975 ...... ## copy function to a dummy function: > tmp.f<-mapsp.sqrtcpd.f ## now edit it with fix and remove a ) so that it complains: > fix(tmp.f) Error in edit(name, file, title, editor) : unexpected symbo...
2005 Mar 29
26
Restart centos from Commandline
Hello, I am connecting to my server through SecureCRT. Server is running Centos 4.0 I need to restart my server What is command line?> anyone knows vaneet Vaneet Sharma executive manager iDeasTank Limited an iwg business dolphins'' court po 388 valletta, m-malta/europe mobile: +356 9943 8263 skype: CALLVANEET fax: +356 9952 8888 phone: +356 9942 8888 vaneet@iwg.info call me