Hi all,
When I try to compile R 3.6 in windows 10 in Rtools35, it raised the error
message:
--8<---cut here---start->8---
make rsync-extsoft
(mkdir -p ../../extsoft; \
cd ../../extsoft; \
rsync --timeout=60 -rcvp --delete
cran.r-project.org::CRAN/bin/windows/e
Thank you very much, David and Jim for your work and solutions.
I have been working through both of them to better learn R. They both
proceed through a similar logic except David's starts with a character
matrix and Jim's with a dataframe, and both end with equivalent
dataframes ( identical(tm
Hi all,
I am working with a google analytics api, and need to pull out data on multiple
views (n = 11, basically different databases with the same data types and
formats). However, in addition to this I need to specify the beginning and end
date separately, in to get each months data, and I n
Or, following up on the hint by Duncan, this works too
> sapply(unique(data[[st]]), function(s){
+ environment(FO) <- environment()
+ summary(lm(FO, data, data[[st]] == s, data[[ws]]))$coef[1, ]
+ }) # !!!
[,1] [,2] [,3]
Estimate 1.6269038 -0.1404174 -0.01033
Thanks a lot for your hint, David. It finally worked doing:
> sapply(unique(data[[st]]), function(s)
+ summary(do.call("lm", list(FO, data, data[[st]] == s,
+ data[[ws]])))$coef[1, ])
[,1] [,2] [,3]
Estimate 1.6269038 -0.1404174 -0.01
5 matches
Mail list logo