Displaying 20 results from an estimated 800 matches similar to: "Error: length(f1) == length(f2) is not TRUE (fwd)"
2009 Sep 18
3
Error: length(f1) == length(f2) is not TRUE
Dear R users,
I am trying to fit an lmer model with only random effects which is giving
me the following error:
Error : length(f1) == length(f2) is not TRUE
In addition: Warning messages:
1: In P1L55:family :
numerical expression has 390 elements: only the first used
2: In P1L55:family :
numerical expression has 390 elements: only the first used
I am trying to extract variance components
2009 Jul 15
2
Differing Variable Length Inconsistencies in Random Effects/Regression Models
Dear All,
I am quite new to R and am having a problem trying to run a linear model
with random effects/ a regression- with particular regard to my variable
lengths being different and the models refusing to compute any further.
The codes I have been using are as follows:
vc<-read.table("P:\\R\\Testvcomp10.txt",header=T)
>> attach(vc)
>
> family<-factor(family)
>
2009 Sep 11
0
How to block data across multiple columns?
Dear all,
Does anyone have any suggestions on how to block multiple columns of data
one at a time in the midst of an analysis, having specified the blocking
variable?
I am running a random effects model using lmer, and my data set has
multiple columns.
Individuals in the study are grouped into 60 families- which is the
blocking factor.
The random effects are markers (labeled Pxlyy below)
2009 Jul 28
1
Multiple lmer runs using 2 'for' loops
Dear Mark and the R list,
I apologise greatly for not having thanked you earlier for your help with
my last mail, which involved trying to sort out variance components using
two methods: a direct looped lmer, and a two-step analysis involving
regressions of AFLP markers on lmer residuals for the same result (or so I
hoped).
I was in India for ten days and no CRAN mirror in the vicinity made
2009 Nov 19
0
Printing labeled summary to text file ?
Dear List,
I am trying to run a mixed model which, on the R console, prints output as
follows:
[1] "Marker"
[1] "perm no."
[1] NA
Linear mixed model fit by REML
Formula: peg.no.prm ~ 1 + (1 | family/f)
Data: modeldf
AIC BIC logLik deviance REMLdev
3119 3134 -1555 3112 3111
Random effects:
Groups Name Variance Std.Dev.
f:family (Intercept) 0.0
2009 Nov 19
1
Splitting massive output into multiple text files
Dear List,
I thought it would be much easier to put a second query into a second mail.
I need to print 426*10000 blocks of variance components data, where 426 is
the number of columns of data that have 10000 permutations of variance
generated for each of them.
I have tried printing out a smaller number of permutations for a smaller
number of markers and that has worked.
However, since a
2009 Nov 16
3
lapply() not converting columns to factors (no error message)
Dear List,
I'm having a curious problem with lapply(). I've used it before to convert
a subset of columns in my dataframe, to factors, and its worked. But now,
on re-running the identical code as before it just doesn't convert the
columns into factors at all.
As far as I can see I've done nothing different, and its strange that it
shouldn't do the action.
Has anybody
2009 Dec 08
1
Printing 'k' levels of factors 'n' times each, but 'n' is unequal for all levels ?
Dear List,
I need to print out each of 'k' levels of a factor 'n' times each, where
'n' is the number of elements belonging to each factor.
I know that this can normally be done using the gl() command,
but in my case, each level 'k' has an unequal number of elements.
Example with code is as below:
vc<-read.table("P:\\Transit\\CORRECT
2009 Sep 21
4
Working around 256 byte variable names? + trouble opening large file
Dear R users,
I am trying to read in a file with 105 columns, and when trying to attach
it, get an error as follows:
> vc1<-read.table("P:\\R\\Everything-I.txt", header=T, sep=" ", dec=".",
na.strings=NA, strip.white=T)
> attach(vc1)
Error in attach(vc1) : variable names are limited to 256 bytes
Is there a way to get around this, and make R accept the
2005 Mar 29
3
From FAQ 7.21 to a command like apply(sapply(list(f1,f2,f3),is.na),2,sum)
Dear all,
Last December there was a thread regarding the famous FAQ 7.21 "How can I
turn a string into a variable?" and asking what people want to do with
these strings.
My, certainly trivial application would be as follows:
Assume I have a data.frame containing besides others also the columns f1,
f2, ..., fn and I want to create a command like:
apply(sapply(list(f1,f2,f3),is.na),2,sum)
2009 Sep 04
3
Using anova(f1, f2) to compare lmer models yields seemingly erroneous Chisq = 0, p = 1
Hello,
I am using R to analyze a large multilevel data set, using
lmer() to model my data, and using anova() to compare the fit of various
models. When I run two models, the output of each model is generated
correctly as far as I can tell (e.g. summary(f1) and summary(f2) for the
multilevel model output look perfectly reasonable), and in this case (see
below) predictor.1 explains vastly more
2011 Jul 29
4
scripting/littler: How to call function named iteratively (`f1`, `f2`, …)?
Dear R folks,
wanting to compare different implementations of a solution I want to
script it to iterate over the different implementations. Is there a way
to do this in the R shell/command line?
$ more /tmp/iterf.r
f1 <- function(n = 100000,
l = 100000)
{
z = n + l
}
f2 <- function(n = 100000,
2012 Jan 04
1
rmpi vs snow - which one is better from communication overhead point of view
Hi,
I need to understand when is it best to use /rmpi/ and when is it best to
use /snow/ for parallel programming in R? I understand snow can be used for
a group of non-clustered work stations also. But I wish to understand from
the point of view of using both on clusters for a problem which has few
chunks of straightforward data-parallelism interleaved with some
communication. Since both are
2007 Feb 28
0
How to press F1 over a serial console? F1 scan code is 2 bytes - 00h 3Bh
"Richard L. James" <richard_l_james at yahoo.co.uk> writes:
> Greetings to .HU - to do this you need a way to be able to send the
> following 2 bytes which represent the keyboard scan code for F1:
>
> 1st byte = 0d / 0h / NUL (null character)
> 2nd byte = 59d / 3Bh / semi column (;)
Hi Richard,
so you mean I should send the scan code over the serial line, not some
2012 Jan 06
1
intercept Alt-F2 in winconsole
I need to use Alt-F2 shortcut in Far Manager running with wineconsole. But Alt-F2 invokes standard Linux "run command" dialog. How can I intercept the Alt-F2 so that it is processed by Wine application?
2017 Sep 20
0
i keep getting a check data: there are more than 3 classes for f2 error and I am not sure how to fix it i am using onemap
SNP <- read.mapmaker(dir = "~/desktop", "1674_SNP.raw?)
--please do not edit the information below--
R Version:
platform = x86_64-apple-darwin15.6.0
arch = x86_64
os = darwin15.6.0
system = x86_64, darwin15.6.0
status =
major = 3
minor = 4.1
year = 2017
month = 06
day = 30
svn rev = 72865
language = R
version.string = R version 3.4.1 (2017-06-30)
nickname = Single Candle
GUI:
2016 Apr 16
0
CentOS 6 kickstart missing 'shell command prompt' screen at ALT+F2
Hi,
?I've recently setup a centos 6 kickstart environment. Interesting fact is that the helpful 'shell command prompt' screen is missing when I press ALT+F2 key combination even on locally connected keyboard and monitor. ( my kickstart runs in text mode).
All other screens can be found without issues with ALT+Fn key combination.
I googled internet, and found someone reported similar
2014 Nov 18
0
Продукция гоночной команды Williams F1
?????? ? ???? ????????????? ???????? ???????? - CERAMIC COAT F1 WILLIAMS. ???????? ?????? ?? ?????????? 5* ???! ????? ???????, ? ?????? ???????? ???????? ??? ?????????? ??????? F1 Williams, ?? ?????? ?????? ??? ???????? ????. ??????????? CERAMIC COAT F1 WILLIAMS ?????? ? ???????????????? ????????? ??????, ????????? ???????, ?
2008 Jan 28
1
ATI 8.452 driver, Compiz: Frozen Alt+F2 Run Command Dialog
Listmates,
I am experiencing some quirks with the new ATI 8.1 (8.452) driver and
compiz-fusion on 10.3. Of note are:
(1) Invoking the run command with Alt+F2 correctly opens the run
dialog, but the cursor is frozen and will not take any input _until_ the
"Options" button is clicked or activated with Alt+o. Then the cursor
begins blinking normally and input is possible. If the
2007 Feb 27
2
How to press F1 over a serial console?
Hi,
Over a serial emulation provided by the BIOS, I get the PXELINUX boot
prompt all right. Now, how do I send F1 to get a help screen? It's
not PXELINUX specific, of course, F1 would also come helpful for
entering the BIOS Setup program. Its accross telnet running in an SSH
session from an UTF-8 xterm, as it probably matters. I would be
grateful for any insight.
--
Regards,
Feri.