Displaying 20 results from an estimated 6000 matches similar to: "If() values in one dataframe then return values from another"
2009 Jul 10
3
strange strsplit gsub problem 0 is this a bug or a string length limitation?
I was working with the rmetrics portfolioBacktesting function and dug into
the code to try to find why my formula with 113 items, i.e. A1 thru A113,
was being truncated and I only get 85 items, not 113.
Is it due to a string length limitation in R or is it a bug in the strsplit
or gsub functions, or in my string?
I'd very much appreciate any suggestions
============Input script:
2019 Oct 25
3
register spilling and printing live variables
Hello,
I have studied register allocation in theoretical aspects and exploring the
same in the implementation level.
I need a minimal testcase for register spilling to analyze spilling
procedure in llvm. I tried with a testcase taking 20 variables but all the
20 variables are getting stored in the stack using %rbp. Maybe my live
variable analysis is wrong. Please help me with a minimal testcase
2007 Mar 10
3
long character string problem
Hi All
I am having 2 very long character strings (550chars) and I want to put them as
expressions together with c(). The problem is that I also get these
double-quotes, as seen below in 'fct'. How can I remove these double-quotes? I
tried as.name() but it did not work (because of size?). These are creating
trouble with subsequent programs, which I tested with strings that for some
2005 Sep 20
2
script.aculo.us: pause before effect.appear
I''ve created a simple script (below) which calls the effect.appear script in
order to make a group of items appear at the page load. I would like to have
the images randomly appear at different times; e.g. the 3rd image might
start appearing 2 seconds after load, the 6th image immediately after load,
the first image 1 second after load, etc...
How can I achieve this affect?
---
2006 Dec 31
7
zero random effect sizes with binomial lmer
I am fitting models to the responses to a questionnaire that has
seven yes/no questions (Item). For each combination of Subject and
Item, the variable Response is coded as 0 or 1.
I want to include random effects for both Subject and Item. While I
understand that the datasets are fairly small, and there are a lot of
invariant subjects, I do not understand something that is happening
2012 Feb 17
5
How to change the order of columns in a data frame?
Dear all,
I have a data frame in which the columns need to be ordered. The first column X is at the right position, but the remaining columns X1-Xn should be ordered like this: X1, X2, X3 etc instead of like below.
> colnames(pos1)
[1] "X" "X1" "X10" "X11" "X12" "X13" "X14" "X15" "X16"
2011 Dec 31
4
PXELINUX 4.10-pre17 and newer Dell OptiPlex/Latitude/Precision
Shantanu, let's continue here.
You first noticed this on a Dell OptiPlex 755. I think it covers all Dell
OptiPlex/Latitude/Precision models that are PCIe based with Intel LoM (LAN
on motherboard) utilizing the BIOS PXE OROM, based on the similarity of
these systems. The symptoms are that PXELINUX requests pxelinux.cfg/<UUID>
by TFTP (but it might not strictly be a TFTP issue) when not
2010 Apr 05
3
bootstrap confidence intervals, non iid
hello,
i need to calculate ci's for each of 4 groups within a dataset, to be able
to infere about differences in the variable "similarity". the problem is
that data within groups is dependent, as assigned by the blocking-factor
"site". my guess was to use a block bootstrap but samples within in these
blocks / sites are not of same length. i was not able to find a method to
2010 Apr 12
3
glmer with non integer weights
hello,
i'd appreciate help with my glmer.
i have a dependent which is an index (MH.index) ranging from 0-1. this index
can also be considered as a propability. as i have a fixed factor (stage)
and a nested random factor (site) i tried to model with glmer. i read that
it's possible to use a quasibinomial distribution, for this kind of data,
which i than actually did - but firstly
(1)
2005 Jul 07
3
What method I should to use for these data?
Dear R user:
I am studying the allele data of two populations.
the following is the data:
a1 a2 a3 a4 a5 a6 a7 a8 a9
a10 a11 a12 a13 a14 a15 a16 a17
pop1 0.0217 0.0000 0.0109 0.0435 0.0435 0.0000 0.0109 0.0543
0.1739 0.0761 0.1413 0.1522 0.1087 0.0870 0.0435 0.0217 0.0109
pop2 0.0213 0.0213 0.0000 0.0000 0.0000 0.0426 0.1702 0.2128
0.1596 0.1809 0.0957 0.0745 0.0106
2010 May 27
1
stripplot, lattice
hello,
i can't figure out how to set position of panels of my stripplot -
i`d like the panels of one level of the factor stage (nr. of panels within
each stage, A: 12, B: 12, C: 12, D: 4, each panel representing a site) to be
in one column, with A to D from left to right and with descending site.nr at
each row.
like:
A1 B1 C1 D1
A2 B2 .. ..
A3 .. ..
..
how is this achieved?
any help
2006 Dec 31
0
(no subject)
> > If one compares the random effect estimates, in fact, one sees that
> > they are in the correct proportion, with the expected signs. They are
> > just approximately eight orders of magnitude too small. Is this a bug?
>
> BLUPs are essentially shrinkage estimates, where shrinkage is
> determined with magnitude of variance. Lower variance more
> shrinkage towards
2010 Jul 15
1
Error using the mi package
I'm trying to impute data using the mi package, but after running
through almost the entire first round of imputations (which takes
quite a while), it throws this error (I'll include the whole output
prior to the error for context). Does anyone know what is causing it,
or how I can fix it?
More specifically, how can I tell what is throwing the error so I know
what to fix? Is
2006 Dec 31
2
zero random effect sizes with binomial lmer [sorry, ignore previous]
I am fitting models to the responses to a questionnaire that has
seven yes/no questions (Item). For each combination of Subject and
Item, the variable Response is coded as 0 or 1.
I want to include random effects for both Subject and Item. While I
understand that the datasets are fairly small, and there are a lot of
invariant subjects, I do not understand something that is happening
here, and in
2013 Apr 22
7
Multiple lon lat points in the map with ggplot2
Hello R users,
For the last few days I am struggling with the following task:
my data.frame:
A1 A2 A3 B1 B2
B3
58.81 53.292 54.501 13.013 17.39 19.407 56.02 56.251 54.033 20.099 13.15
10.411 55.376 53.099 57.625 13.396 21.031 13.22 58.584 53.194 54.218
13.038 16.854 19.289 55.7 55.921 53.847 19.942 13.153 9.828 55.093 52.934
2006 May 22
1
win2k memory problem with merge()'ing repeatedly (long email)
Good afternoon,
I have a 63 small .csv files which I process daily, and until two
weeks ago they processed just fine and only took a matter of moments
and had non noticeable memory problem. Two weeks ago they have
reached 318 lines and my script "broke". There are some
missing-values in some of the files. I have tried hard many times
over the last two weeks to create a
2016 Jun 14
2
Getting HTTP path-prefix to work with syslinux.efi
>> Doesn't work. Apparently the Dell UEFI PXE firmware doesn't know HTTP.
>
> There's a lot of variation. Do you have a shell option
> in your boot selections?
None of Dell OptiPlex 990 (firmware A19), 9010 (firmware A22), nor 9020
(firmware A16) seem have a built-in EFI shell option, but in all three
cases I had success running the external EFI shell from
2014 Jul 10
2
lpxelinux hangs under Intel Boot Agent 1.3.81 (2.1 build 089) on Dell Optiplex 990 BIOS A16
Trying to PXE boot a Dell Optiplex 990 with BIOS A16, which has Intel
Boot Agent 1.3.81 (2.1 build 089). It gets network and launches
lpxelinux.0, I see the PXELINUX banner line, but there it hangs.
I tried both 6.03-pre18 and 5.10, same hanging behavior. If I instead
use pxelinux.0 or gpxelinux.0, either 6.03-pre18 or 5.10 or 4.07, there
are no problems. The problem seems isolated to
2012 Mar 28
6
How to get all possible combinations?
Dear all, suppose I have a vector with elements as:
Vec <- c(2,3,4,5,6)
Now I want to have all possible combination of length 3 using those
elements and without any repetition. Like, I want to have 1
possibility like 2-3-4 but not 3-2-4.
Can somebody guide me how to achieve that in R?
Thanks for your help.
2014 Jul 12
1
lpxelinux hangs under Intel Boot Agent 1.3.81 (2.1 build 089) on Dell Optiplex 990 BIOS A16
On Sat, Jul 12, 2014 at 3:38 PM, Alexander Perlis <aperlis at math.lsu.edu> wrote:
> On 07/12/2014 02:24 PM, Gene Cumm wrote:
>>
>> On Sat, Jul 12, 2014 at 3:15 PM, Alexander Perlis <aperlis at math.lsu.edu>
>> wrote:
>>>
>>> On 07/11/2014 09:39 PM, Gene Cumm wrote:
>>>>
>>>>
>>>> With everything else from