-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Has anyone connected the R package to QuickBooks? I know there is an ODBC driver than can be bought. Just wondering if anyone has already gone down this road.
Any insight will be much appreciated!
~ Brock
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a problem where I have to add thirty-three integer vectors of equal length from a dataset in R. I know the simple solution would be
Vector1 + Vector2 + Vector3 +VectorN
But I am sure there is a way to code this. Also some vectors have NA in place of integers so I need a way to skip those…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to ask regular ESS/R users what key bindings do they use frequently and tips on using ESS/R.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Assume that I have sources of data X and Y that are indexable, say matrices. And I want to run a set of independent regressions and store the result. My initial approach would be
results = matrix(nrow=nrow(X), ncol=(2))
for(i in 1:ncol(X)) {
matrix[i,] = coefficients(lm(Y[i,] ~ X[i,])
}
But…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have some data that I am trying to plot faceted by its Type with a smooth (Loess, LM, whatever) superimposed. Generation code is below:
testFrame <- data.frame(Time=sample(20:60,50,replace=T),Dollars=round(runif(50,0,6)),Type=sample(c("First","Second","Third","Fourth"),50,replace=T,prob=c(…
>>> More