[R] linearHypothesis

2020-09-17 Thread Johan Lassen
; # y=beta0+beta1*t1+beta2*t2+beta3*t3-(beta1+beta2+beta3)*t4 # y = beta0'+beta1'*(t1-t4)+beta2'*(t2-t4)+beta3'*(t3-t4) data$t1 <- data$t1-data$t4 data$t2 <- data$t2-data$t4 data$t3 <- data$t3-data$t4 model_reduced <- lm(y~t0+t1+t2+t3+0,data=data) anova(model_reduced,model) --

[R] Isolation forest using "solitude" package: help to predict

2019-08-14 Thread Johan Lassen
predict(mo, iris_test[, 1:4],type="anomaly_score") Anyone knows how to predict "normalised (with respect to sample size)" anomaly scores using the solitude package for R? Thanks in advance! Johan -- Johan Lassen "In the cities people live in time - in the mountains people liv

[R] Introductory courses in R in Denmark?

2015-03-12 Thread Johan Lassen
and so on). Thanks in advance! -- Johan Lassen In the cities people live in time - in the mountains people live in space (Budistisk munk). [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

[R] R and libre office base

2013-05-17 Thread Johan Lassen
Dear community . I would like to connect r to libre office base. Does anyone know if and how this can be done? I think of the pendant to rodbc for libre office. I am using windows 7. Thanks in advance and best regards johan [[alternative HTML version deleted]]

[R] RODBC-Error-sqlSave

2010-05-16 Thread Johan Lassen
)* ** *sqlSave(channel,eksport_transp_acc_2, transp_acc_scenarier,append = T,fast = F,rownames = F) * -- Johan Lassen In the cities people live in time - in the mountains people live in space [[alternative HTML version deleted]] __ R-help@r

Re: [R] RODBC-Error-sqlSave

2010-05-16 Thread Johan Lassen
succeed we will check R then. Caveman On Sun, May 16, 2010 at 11:48 AM, Johan Lassen johanlas...@gmail.com wrote: Dear R-community, After repeating the sqlSave-command 3 times on a dataframe (of size 13149 rows * 5 columns) to my MS-Access database I get the following error: *Error

Re: [R] Problem using the source-function within R-functions

2009-10-21 Thread Johan Lassen
in the source-ing part: look at getwd() setwd() HTH, Giovanni Date: Tue, 20 Oct 2009 13:00:02 +0200 From: Johan Lassen jle...@gmail.com Sender: r-help-boun...@r-project.org Precedence: list DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; DomainKey

[R] Problem using the source-function within R-functions

2009-10-20 Thread Johan Lassen
('local_ret.r', local = T) source('Ax=b.r', local = T) source('opsamling_x_0_acc.r', local = T) } source('opsamling_b_1.r', local = T) opsaml_b_2 } -- Johan Lassen Environment Center Nykøbing F Denmark [[alternative HTML version deleted]] __ R-help@r