search for: sorenh

Displaying 20 results from an estimated 36 matches for "sorenh".

Did you mean: soren
2001 Aug 23
3
Reading SAS version 8 data into R
...S transport files created with the xport engine in SAS can be read using read.xport. However, the xport engine only works with SAS version 6, and consequently long variable names are not allowed... Can anyone tell me how to get SAS data (ver 8) into R (easily)? Thanks in advance S?ren H?jsgaard sorenh at agrsci.dk http://www.jbs.agrsci.dk/~sorenh ------------------------------------------------------------------------- Time flies like an arrow, fruit flies like a banana. ------------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2004 May 04
2
Seeing the definition of a function
...ren ============================================================================================= S??ren H??jsgaard, PhD, Head of Research Unit Phone: +45 8999 1703 Biometry Research Unit, Fax: +45 8999 1300 Danish Institute of Agricultural Sciences E-mail: sorenh at agrsci.dk Research Centre Foulum, DK-8830 Tjele, Denmark Homepage : http://www.jbs.agrsci.dk/~sorenh/
2014 Jan 02
2
Installing RCurl -
...5 sums checked checking for curl-config... /usr/bin/curl-config checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. ERROR: configuration failed for package ‘RCurl’ * removing ‘/home/sorenh/R/x86_64-pc-linux-gnu-library/3.0/RCurl’ Any help would be most welcome. Best regards Søre > sessionInfo() R version 3.0.2 (2013-09-25) Platform: x86_64-pc-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8...
2002 Dec 09
2
R as a COM client - is it possible?
...died the 'connections' facilities, but they do not seem to work). ========================================== S?ren H?jsgaard, PhD, Senior Scientist Biometry Research Unit Danish Institute of Agricultural Sciences Research Centre Foulum, DK-8830 Tjele, Denmark Phone: +45 8999 1703 E-mail : sorenh at agrsci.dk Homepage : http://www.jbs.agrsci.dk/~sorenh/
2005 Jun 13
1
Error in load(zfile, envir = envir) : input has been corrupted, with LF replaced by CR
...====================================================================================== S?ren H?jsgaard, MSc, PhD (Statistics), Phone: +45 8999 1703 Head of Statistics and Decision Theory Research Group, Fax: +45 8999 1300 Danish Institute of Agricultural Sciences sorenh at agrsci.dk Research Centre Foulum, DK-8830 Tjele, Denmark http://genetics.agrsci.dk/~sorenh .... Time flies like an arrow, fruit flies like a banana ....
2001 Oct 09
1
PROC MIXED user trying to use (n)lme...
...le. Can anyone help with that? 3) With proc mixed it is easy to specify that some covariance parameters are known (fixed) in advance. How can I do the same with lme? (To be specific, I would like to specify that the elements of R in the example above are known). Thanks in advance S?ren H?jsgaard sorenh at agrsci.dk http://www.jbs.agrsci.dk/~sorenh ------------------------------------------------------------------------- Time flies like an arrow, fruit flies like a banana. ------------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2005 Nov 08
5
Using split and sapply to return entire lines
Hello, I have a data manipulation problem that I can easily resolve by using perl or python to pre-process the data, but I would prefer to do it directly in R. Given, for example: month length ratio monthly1 monthly2 1 Jan 23 0.1 9 6 2 Jan 45 0.2 9 6 3 Jan 16 0.3 9 6 4 Feb 14 0.2 1 9 5 Mar 98 0.4 2 2 6 Mar 02 0.6
2020 Oct 11
3
Installing bioconduction packages in connection with loading an R package
Dear all, My gRbase package imports functionality from the bioconductor packages graph, Rgraphviz and RBGL. To make installation of gRbase easy, I would like to have these bioconductor packages installed in connection with installation of gRbase, but to do so the user must use setRepositories() to make sure that R also installs packages from bioconductor. Having to call setRepositories causes
2018 Jul 08
2
[R] consider running tools::compactPDF(gs_quality = "ebook")
Dear all, I run R CMD build --compact-vignettes="both" gRbase and/or R CMD build --compact-vignettes="gs+qpdf" gRbase and in the log from r-devel (on winbuilder) I get * checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf' made some significant size reductions: compacted 'gRbase-arrays.pdf' from 421Kb to 115Kb consider
2018 Jul 08
0
[R] consider running tools::compactPDF(gs_quality = "ebook")
?did this inside R; not ideal but worked. ________________________________ From: R-devel <r-devel-bounces at r-project.org> on behalf of S?ren H?jsgaard <sorenh at math.aau.dk> Sent: 08 July 2018 15:46 To: r-devel at r-project.org Subject: Re: [Rd] [R] consider running tools::compactPDF(gs_quality = "ebook") Dear all, I run R CMD build --compact-vignettes="both" gRbase and/or R CMD build --compact-vignettes="gs+qpdf"...
2004 Apr 12
0
new version of gregmisc package
...es shorter than the requested width to be present at the front, the back, or on both sides of the full lenth sequences. This allows one to align the data so that the window is before, after, or around the indexed point. - Add enhancements to estimable() provided by S??ren H??jsgaard <sorenh at agrsci.dk>: The estimable function now 1) also works on geese and gee objects and 2) can test hypotheses af the forb L * beta = beta0 both as a single Wald test and row-wise for each row in L. - Add colorpanel function, which generates a smoothly varying band of colors over a t...
2004 Apr 12
0
new version of gregmisc package
...es shorter than the requested width to be present at the front, the back, or on both sides of the full lenth sequences. This allows one to align the data so that the window is before, after, or around the indexed point. - Add enhancements to estimable() provided by S??ren H??jsgaard <sorenh at agrsci.dk>: The estimable function now 1) also works on geese and gee objects and 2) can test hypotheses af the forb L * beta = beta0 both as a single Wald test and row-wise for each row in L. - Add colorpanel function, which generates a smoothly varying band of colors over a t...
2004 May 27
1
Crossed random effects in lme
Dear all, In the SASmixed package there is an example of an analysis of a split-plot experiment. The model is fm1Semi <- lme( resistance ~ ET * position, data = Semiconductor, random = ~ 1 | Grp) where Grp in the Semiconductor dataset is defined as ET*Wafer. Is it possible to specify the grouping directly some way, e.g. like fm1Semi <- lme( resistance ~ ET * position, data =
2006 Oct 08
1
Windows/MAC difference (console)
Hello, a colleague of mine uses R on his Mac and he has quite a nice feature: When he starts writing a part of the function like "plot(" the programming is showing him at the bottom the kind of arguments you can input to the function. He told me that he has not installed any further stuff than the base R program. Is this a feature you only have in the MAC version? I really like it. I
2012 Jul 28
1
Creating sparse matrix of type "dgCMatrix" directly
I want to create a sparse matrix of type "dgCMatrix" using the Matrix package (and the matrix must be of this type even if other more compact representations may exist). I do > library(Matrix) > m1<-Matrix(rep(1,4),nrow=2,ncol=2,sparse=T) > m1 2 x 2 sparse Matrix of class "dsCMatrix" [1,] 1 1 [2,] 1 1 To convert m1, I do > as(m1, "dgCMatrix")
2012 Jun 24
1
rgraphviz problem
Hello I desperately need help with installing the Rgraphviz package under windows 7. Please forget my ignorance of basic topics, I’m a psychiatrist trying to use text mining to analyse psychiatric reports for criminal courts, statistics and machine learning are within my reach but R environnement subtleties not really... I have read existing posts on rgraphviz installation problems that I have
2013 Feb 04
2
Modifying a function programmatically
Dear list # I have a function ff <- function(a,b=2,c=4){a+b+c} # which I programmatically want to modify to a more specialized function in which a is replaced by 1 ff1 <- function(b=2,c=4){1+b+c} # I do as follows: vals <- list(a=1) (expr1 <- as.expression(body(ff))) expression({ a + b + c }) (expr2 <- do.call("substitute", list(expr1[[1]], vals))) { 1 +
2005 Jul 12
10
Computer algebra in R - would that be an idea??
...====================================================================================== S?ren H?jsgaard, MSc, PhD (Statistics), Phone: +45 8999 1703 Head of Statistics and Decision Theory Research Group, Fax: +45 8999 1300 Danish Institute of Agricultural Sciences sorenh at agrsci.dk Research Centre Foulum, DK-8830 Tjele, Denmark http://genetics.agrsci.dk/~sorenh .... Time flies like an arrow, fruit flies like a banana ....
2006 Feb 14
2
How to handle large dataframes?
Dear all I imported a Stata .dta file with the read.dta-function from the foreign-package. The dataframe's dimensions are > dim(d.apc) [1] 15806 1300 Importing needs up to 15 min and calculations with these data are rather slow (although I subset the data before starting analyses). My questions are: 1. Has someone experiences importing Stata files (alternatives to read.dta) ? 2.
2018 Jul 08
2
consider running tools::compactPDF(gs_quality = "ebook")
Dear all, I run R CMD build --compact-vignettes="both" gRbase and/or R CMD build --compact-vignettes="gs+qpdf" gRbase and in the log from r-devel (on winbuilder) I get * checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf' made some significant size reductions: compacted 'gRbase-arrays.pdf' from 421Kb to 115Kb consider