I am using gam from the mgcv package to analyze a dataset with 24 entries :
ran f1 f2 y
1 30005 545
1 300010 1045
1 1 5 536
1 1 10 770
2 30005 842
2 300010 2042
2 1 5 615
2 1 10 1361
3 30005 328
3 300010 1028
For some reason, the mailing list got dropped from my reply below.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevi
Hi,
'foreign' will only read SAS XPT files, not the proprietary BDAT files, which I
presume is the case here.
I don't use 'haven', but it looks like the key functions are written in C/C++,
which should be relatively efficient.
If you are having specific issues with particular files, because t
Have you looked at the "foreign" package?
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Oct 19, 2018 at 6:48 AM Jomy Jose wrote:
> Hi
>
> Is t
Hi
Is there an efficient way to import SAS datasets into R,presently while
using haven package it takes long time...Is there a smart work around this ?
Thanks in advance
Jose
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing
Here is another approach, just for fun:
library(tidyverse)
library(tokenizers)
anyall <- function(x, # a character vector
terms # a list of character vectors
){
any(map_lgl(terms, function(term) {
all(term %in% x)
}))
}
mutate(th,
flag
Hello Katharina,
Indeed, I forgot this solution to have your own server, probably because in my
organisation this is not an option, yet.
I'm pushing for that in our organisation for months now but there is quite some
resistance and heavy processes around that, and ultimately I'm not deciding
Not exactly sure what you are looking for but here is my workflow which may
give you another perspective
1. my OS is linux
2. I edit my files in emacs (with ESS pulled in)
3. I use make (and Makefile) to compile .o's and .so's from .cpp where
necessary (i.e. I use Rcpp etc)
(and also to build s
Hello Olivier,
You can definitely use Shiny Server to share data and apps on a server you (or
the people who asked you to share the data) own and which is only accessible
from specified networks. I’ve personally contributed R code to exactly such a
project that involved confidential data.
Kind r
9 matches
Mail list logo