search for: datout

Displaying 6 results from an estimated 6 matches for "datout".

Did you mean: dataout
2010 May 05
2
readLines with space-delimiter?
...9;chunk', meaning the row has all values between two quotes ("41 numbers"). I need to split these based upon the spaces between them. What is the simplest means of doing this? Code so far. datin<-file("C:\\rforest\\data\\aoidry_predictors_85.txt", open="rt") datout<-file("C:\\rforest\\prob85.txt",open="wt") x<-readLines(datin,n=1) writeLines(x,con=datout) Thanks, Seth -- View this message in context: http://r.789695.n4.nabble.com/readLines-with-space-delimiter-tp2130255p2130255.html Sent from the R help mailing list archive at Nabb...
2011 May 08
1
new to loops
I have never made a loop on my own to do anything in R. But I am hoping someone can help me build one for the following issue: I need to make a univariate logistic regression for each of my variables (about 62 of them), then I need to gather up each of their coefficients (not the intercepts), each of their 95% confidence intervals, and each of thier odds ratios and place them in a matrix to
2011 Sep 08
1
3D plot RGL
...is "h" then it's ok but when I want to link the points and type is 'l' lines it's a mess Is there a way to link the points only in one direction? For example a unique line from each country through each year? The code example is below library(rgl) data=read.csv("c:/datout.csv", header=T) Colors=as.vector(data[,1]) dat=as.vector(data[,2]) Year=as.vector(data[,3]) Country=as.vector(data[,4]) Sales=as.vector(data[,5]) Sales=as.matrix(Sales) plot3d(Year, dat, Sales, type="h", axes=F, lwd=5, xlab="Year", ylab="Country", zlab="Sal...
2017 Jun 13
0
binequality - Problems with fitFunc()
...the binequality manual, page 6 (or, "?fitFunc"). However, it exhibits the same problems as does my code and another example found elsewhere on the Internet, namely NA results for all fields of interest, as follows: Time difference of 0.776551 secs for LNO fit across 2 distributions $datOut State obsMean distribution estMean var cv cv_sqr gini theil MLD 1 California NA LNO NA NA NA NA NA NA NA 2 Texas NA LNO NA NA NA NA NA NA NA SDL aic bic didConverge logLikelihood nparams median sd 1 NA NA NA FALSE...
2017 Aug 14
2
Promedio elementos vector
Buenas noches estimados colegas: Adjunto la matriz,de la que quiero obtener, los promedios de cada elemento de los vectores que la componen. Me explico, el primer vector, tiene como primer elemento 23 y la suma de todos los elementos es 134; por lo tanto el promedio será 0.1716, el segundo elemento de dicho vector es 20, entonces el promedio sería 0.1492, del tercero el promedio es 0.1343 y así
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...9;chunk', meaning the row has all values between two quotes ("41 numbers"). I need to split these based upon the spaces between them. What is the simplest means of doing this? Code so far. datin<-file("C:\\rforest\\data\\aoidry_predictors_85.txt", open="rt") datout<-file("C:\\rforest\\prob85.txt",open="wt") x<-readLines(datin,n=1) writeLines(x,con=datout) Thanks, Seth -- View this message in context: http://r.789695.n4.nabble.com/readLines-with-space-delimiter-tp2130255p2130255.html Sent from the R help mailing list archive at Nabb...