Displaying 20 results from an estimated 700 matches similar to: "How to block data across multiple columns?"
2009 Sep 18
0
Error: length(f1) == length(f2) is not TRUE (fwd)
---------- Forwarded Message ----------
Date: 18 September 2009 19:24 +0100
From: A Singh <bzwas at bristol.ac.uk>
To: William Dunlap <wdunlap at tibco.com>
Subject: RE: [R] Error: length(f1) == length(f2) is not TRUE
Yup, they are all factors- and its still doesn't work.
Getting to the stage where I can use 'summary()' is the problem- the error
stalls the process before a
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 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 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 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 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 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
2006 May 09
1
transposing a big data file
I HAVE A VERY BIG DATA OF 67 COLMS AND 25000 ROWS
AND WOULD LIKE TO TRANSPOSE IT THE R HELP WAS NOT ENOUGH INFORMATION
BECOUSE I AM NOT A PROGRAMMER AND FIRST TIME R USER.
SO CAN YOU GIVE SOME HINTS OF CODING,
AA TT GG GG CC AA TT GG GG CC AA TT GG GG CC AA TT GG GG CC AA TT GG GG
CC
TO
AA AA AA AA AA TT TT TT TT TT GG GG GG GG GG GG GG GG GG GG CC CC CC CC
CC
[[alternative HTML
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
2008 Aug 09
0
peg-markdown (C) and rpeg-markdown (ruby gem)
Markdowners:
I've released version 0.4.1 of peg-markdown, a C implementation of
markdown. peg-markdown uses Ian Piumarta's peg/leg parser generator to
generate a parser from a parsing expression grammar (PEG). You can
inspect the grammar for markdown at
http://github.com/jgm/peg-markdown/tree/HEAD/markdown_parser.leg
peg-markdown now provides both a C library and a standalone
2008 May 03
1
markdown implementation in C using PEG grammar
I've just uploaded an implementation of markdown in C. It defines
the syntax using a PEG grammar, so it should be easy to extend and
modify. Right now it can produce output in either HTML or LaTeX, but it
would be simple to add other output formats.
It's very fast: on my machine, it converts a 178K markdown file in
0.14 seconds (vs. 9.6 seconds for the latest Markdown.pl and 0.57
seconds
2017 Oct 13
1
/var/run/... being deleted :((
On 10/13/2017 10:19 AM, Anand Buddhdev wrote:
> ..
> Stop trying to force a square peg into a round hole.
Whee, I just _know_ I'm going to be positively skewered (and maybe even
plonked!) for this.... but, hey, it's Friday, and this post is meant to
be a bit funny.? So lighten up, and enjoy a short read.
obHumor: I actually have a piece of furniture (a small table) with
square
2009 Dec 18
1
?OT: Probabilistic Simulation
Sorry this may well be defined as Off Topic. I apologize in advance.
I am interested in performing what I think would be a probabilistic sensitivity simulation. I've done some crude ones before in excel but I'm wondering if R can help me do it more effectively?
I have a set of theoretical variables for simplicity lets use (what I think) is an easier example: I have a peg and a hole
2008 Apr 06
1
markdown PEG (parsing expression grammar)
There's been a lot of discussion on this list about creating a formal
grammar for markdown. I had a go at writing a [parsing expression
grammar] for markdown. I used Haskell and John Meacham's Frisby PEG
parsing library, but it should not be too hard to port the grammar
to PEG libraries in other languages.
[parsing expression grammar]:
2009 Jun 11
1
[LLVMdev] PEG parsers? (was Re: Regular Expressions)
Hello everybody,
I don't quite understand how the proposed regex library works but I know that PEG parser generators use a super-set of regex functionality to define their parsers. There's also a nice one on Google code called YARDparser that uses templates based on PEGs to generate efficient recursive-decent parsers.
Furthermore, my partner and I am working on an interpreter for PEG
2009 Sep 01
1
[LLVMdev] accessing a bitcode library exported from C++ using the JIT
Hello OvermindDL1,
We are implementing an extensible language. That's one where you can add commands and constructs to the language without having to recompile the parser. We want compilation of the parser in order to "freeze" it but only as an option. One goal is to eventually get the macro functions of our language to the point where they are equivalent to the template
2011 May 12
2
Row names and matrixs
Hi all -
I am NEW to R and NEW to any type of programming. I am making heatmaps
using the heatmap.2 function within gplots package. At present, when the
heatmap is plotted it uses the row identifiers as 1,2,3,4...etc. However, I
much rather use my own labels. I was told my another well-versed R
programmer to use the follow script:
x<-as.matrix(test1[,-1]) ## skip column 1
rownames(x)<-
2009 Sep 12
1
lunamark - markdown in lua using a PEG grammar
Markersdown:
I was fooling around with lua and decided to write a markdown parser
using the terrific lpeg library. Here's the result:
http://github.com/jgm/lunamark/tree/master
There are already two markdown libraries for lua, one a native lua
implementation based on global substitutions, the other a binding
to discount. What makes lunamark different is that it is based
on a PEG grammar