Displaying 20 results from an estimated 500 matches similar to: "Problem comparing lme objects with anova using do.call"
2009 Apr 22
1
Multiple imputations : wicked dataset ? Wicked computers ? Am I cursed ? (or stupid ?)
Dear list,
I'd like to use multiple imputations to try and save a somewhat badly
mangled dataset (lousy data collection, worse than lousy monitoring, you
know that drill... especially when I am consulted for the first time
about one year *after* data collection).
My dataset has 231 observations of 53 variables, of which only a very
few has no missing data. Most variables have 5-10% of
2010 Jun 25
2
Assigning variable value as name to cbind column
Hi all,
I have this (non-working) script:
dataTest <- data.frame(col1=c(1,2,3))
new.data <- c(1,2)
name <- "test"
n.row <- dim(dataTest)[1]
length(new.data) <- n.row
names(new.data) <- name
cbind(dataTest, name=new.data)
print(dataTest)
and would like to bind the new column 'new.data' to 'dataTest' by
using the value of the variable 'name' as
2011 Feb 23
0
svm(e1071) and scaling of weights
I expected, that I will get the same prediction, if I multiply the
weights for all classes with a constant factor, but I got different
results. Please look for the following code.
> library(e1071)
> data(Glass, package = "mlbench")
> index <- 1:nrow(Glass)
> testindex <- sample(index, trunc(length(index)/5))
> testset <- Glass[testindex, ]
> trainset <-
2010 Feb 18
3
svm regression
Hi,
I am trying to use svm for regression data.
this is how my data looks like:
>dataTrain
x y z
1 4 6
2 5 4
3 7 5
>classTrain
a
2
3
4
>dataTest
x y z
1 7 2
2 8 3
>classTest
a
3
4
5
building the model
model<-svm(dataTrain,classTrain,type="nu-regression")
pred <- predict(model, dataTest)
> pred
1 2
3.008842 3.120078
I
2007 Mar 27
1
gam parameter predictions --Sorry for double posting
R-help,
Sorry for posting again the same question (dated 26-03-2007) but
all my mails have been sent to the recycle bin without possibility
of recovering and thus I don't know if anyone has answer my query.
Here is the original message:
I'm applying a gam model (package mgcv) to predict
relative abundances of a fish species.
The covariates are year, month, vessel and statistical
2011 Feb 04
4
aggregate function - na.action
Can someone please tell me what is up with na.action in aggregate?
My (somewhat) reproducible example:
(I say somewhat because some lines wouldn't run in a separate session, more
below)
set.seed(100)
dat=data.frame(
x1=sample(c(NA,'m','f'), 100, replace=TRUE),
x2=sample(c(NA, 1:10), 100, replace=TRUE),
x3=sample(c(NA,letters[1:5]), 100, replace=TRUE),
2017 Nov 20
0
samba 4 ad member - idmap = ad for machine accounts
On Mon, 20 Nov 2017 07:59:14 -0700 (MST)
tomict via samba <samba at lists.samba.org> wrote:
> Below is relevant info (I think) for my case
>
> What I did/tried:
> -With ADUC (WS 2012) I added NIS domain 'samdom' to the Unix
> attributes of users, groups, and also to computers (is the latter
> nesecary?) -I test the connection to the shares as system user on the
2017 Nov 20
2
samba 4 ad member - idmap = ad for machine accounts
Hi all,
I have exactly the same problem as the OP and tried the solution below, but
I still get the error:
'Username IUCNNL\PC050$ is invalid on this system'. Should I map
useraccount, enable Guest account, chang eunix directory permissions or
things like that?
Problem:
My Windows 10 computers' machine accounts cannot acces shares on a domain
member (samba 4.6 , id map = ad, centos
2006 Dec 11
3
Problem with sas.get function in Hmisc
Thomas,
As F Harrel in a preceding message told me that you are the maintainer
of Hmisc package,
I write directly to you, with copy to the Rhelp list in case someone
encountered the same problem and find some benefit in the response.
I used quite often the function sas.get in Hmisc library which I is
very, very useful.
But, as trying to reuse it today it seems not to function anymore.
I tried
2009 Nov 25
1
Sampling dataframe
Hi,
I have a table like that:
> datatest
var1 var2 var3
1 1 1 1
2 3 1 2
3 8 1 3
4 6 1 4
5 10 1 5
6 2 2 1
7 4 2 2
8 6 2 3
9 8 2 4
10 10 2 5
I need to create another table based on that with the rules:
take a random sample by var2==1 (2 sample rows for example):
var1 var2 var3
1 1
2018 Jan 30
1
Samba 4.6.2 does not inherit setgid bit (anymore)
Hi Vincent,
have you found a solution that makes "force directory mode = 2770" able
to apply to new created folders ?
I have a similar problem:
if I set by hand (eg. chmod 2770) the folder A and then I try to create
an X element into that folder through samba I get the result needed (
group of X become overriden from parent folder A ) but the problem is
that the new element X not
2011 Apr 21
0
Problem loading rJava (win 7)
Hello all,
I'm using R 2.13.0 on windows 7.
It seems rJava is failing to load for me, here is the error received:
> library("rJava")
Error in utils::readRegistry(key, "HLM", 2) :
Registry key 'Software\JavaSoft\Java Runtime Environment' not found
Error in utils::readRegistry(key, "HLM", 2) :
Registry key 'Software\JavaSoft\Java Development
2007 Aug 16
3
Urgent Help needed
Dear All:
Urgent help is needed.
I have a data set in matrix format of three columns: X, Y and index of four groups (1,2,3,4). What I need to do is the following;
1- How I can subtract the sample mean of each group indexed 1,2,3,4 from the
corresponding data values of this group and create new columns say X-sample mean
and Y-sample mean? I tried to use the "tapply" but
2005 Jun 28
1
How to extract the within group correlation structure matrix in "lme"
Dear R users,
I fitted a repeated measure model without random effects by using lme. I will use the estimates from that model as an initial estimates to do multiple imputation for missing values of the response variable in the model. I am trying to extract the within group correlation matrix or covariance matrix.
here is my code:
f = lme(y ~x0+x1+trt+tim+x1:tim +tim:trt,random=~-1|subj,
2010 Apr 28
1
rJava (installation?) problem: unable to find the basic String class
Hello,
I have experienced the following problem after installing rJava (it
being a prerequisite for another package in which I am relly
interested). Any helpful thoughts would be appreciated:
OS: Windows XP Professional 2002 SP3, have Java 6 Update 20 from Sun,
also installed the JDK from
http://java.sun.com/javase/downloads/index.jsp (or at least I suspect
I installed it as it asked to re-boot
2011 Aug 10
1
instal tar.gz package on windows
Hi Duncan,
I have tried to install a tar.gz package following your instructions (https://stat.ethz.ch/pipermail/r-help/2008-August/169599.html) but without success. Here are the steps I followed:
I installed the last version of Rtools and ran Rcmd INSTALL rJava_0.8-8.tar.gz and got the error message attach in errorLog.txt. It seems that there is a problem with JRI but I?m really stuck. Do you
2010 Nov 19
1
problems with rJava
Hello, using r-2.12.0 on a Toshiba laptop with Win7
I am trying to install JGR, iut installs OK but when loading, complains about rJava
so I did:
> install.packages("rJava")
Installing package(s) into ?I:\R\cran?
(as ?lib? is unspecified)
trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12/rJava_0.8-8.zip'
Content type 'application/zip' length
2006 Feb 17
0
trouble with extraction/interpretation of variance struct ure para meters from a model built using gnls and varConstPower
Works perfectly. Thank you.
-Hugh Rand
-----Original Message-----
From: Spencer Graves [mailto:spencer.graves at pdf.com]
Sent: Sunday, January 15, 2006 6:41 PM
To: Rand, Hugh
Cc: 'r-help at lists.R-project.org'
Subject: Re: [R] trouble with extraction/interpretation of variance
structure para meters from a model built using gnls and varConstPower
How about this:
>
2010 Apr 02
1
What should I do regarding "DLL attempted to change..." warning ?
Hi all,
The call to:
library(rJava)
Results in the following warning massage:
Warning message:
In inDL(x, as.logical(local), as.logical(now), ...) :
DLL attempted to change FPU control word from 8001f to 9001f
After some searching I found the following explanation:
> R expects all calls to DLLs (including the initializing call) to leave the
> FPU control word unchanged. Many run-time
2011 Feb 09
3
Problem with xlsx package
I am trying to read an xlsx spreadsheet (1506 rows, 501columns) all
populated but getting the following error:
Please advise as to how to get around this issue.
> res <- read.xlsx("c:\\BSE_v2.xlsx",1)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.OutOfMemoryError: Java heap space
Here is the session info: