Displaying 20 results from an estimated 500 matches similar to: "Problems with aggregate() function in stats package"
2008 Nov 25
1
Strange seq() behavior
Hi,
This is really strange. Can anyone help explain what's going on here
(on 3 and 7)?
> targets <- seq(from=.1, to=.9, by=.1)
> targets[1]==.1
[1] TRUE
> targets[2]==.2
[1] TRUE
> targets[3]==.3
[1] FALSE
> targets[4]==.4
[1] TRUE
> targets[5]==.5
[1] TRUE
> targets[6]==.6
[1] TRUE
> targets[7]==.7
[1] FALSE
> targets[8]==.8
[1] TRUE
>
2012 Apr 24
1
Remove top/right border from lattice plots
Hi,
I've done my best to search for a solution to this, but had no luck.
How can I create a lattice plot (I'm using xyplot() ) that does not have
a border on the top and right side, but keeps the bottom/left axes?
So far all I've found is this, which inserted into the xyplot call
removes all 4 borders:
/ par.settings = list(axis.line = list(col = 0))/
xyplot( Sepal.Length ~
2009 Aug 11
1
Prevent sequential repeated values in data frame column
Hi,
I'm trying to randomize a sequence of trials for an experimental
design. The trials consist of values for each of two factors. As is
there are 30 combinations of the two factors, and I want them to be
ordered randomly but with the requirement that for one of the factors,
the value can never be the same as the previous value.
I'm currently randomizing my dataframe by using:
2009 Mar 10
1
Nesting order for mixed models
Hello,
I am confused about the order of nesting in mixed models using functions
like aov(), lme(), lmer().
I have the following data:
n subjects in either condition A or B
each subject tested at each of 3 numerical values ("distance" =
40,50,60), repeated 4 times for each of the 3 numerical values ("trial"
= 1,2,3,4)
Variable summary:
Condition: 2 level factor
Distance:
2019 Jul 02
4
Need the ability to edit Samba SIDs.
I have a Samba problem with eGroupware. Samba 4 is screwing with my
eGroupware UIDs causing Havoc. Samba 4 uses the last four Digits of the
SID rather than the UID Number. I need to know how to alter my user
entry SID so that the last four digits of the SID is congruent with the
UID Numbers of my users.
To fix this; I need the ability to edit the last digits of the SID. I've
tried shutting
2011 Nov 09
2
plot separate groups with plotmeans()
Hi,
I often use plotmeans() from the gplots package to quickly visualize a
pattern of change. I would like to be able to plot separate lines for
different groups, but the function gives an error when a grouping
variable is included in the formula argument.
For instance,
> require(gplots)
> x <- data.frame(Score=rnorm(100), Time=rep(1:10, 10),
2014 Apr 01
2
[LLVMdev] Proposal: Add a guaranteed tail call marker
Some frontends for LLVM require that LLVM perform tail call optimization
(TCO) for correctness. Internally, LLVM refers to TCO of a non-recursive
tail call as sibling call optimization, but I'm going to refer to that
generically as TCO. Often, functional languages like Scheme have a
language-level requirement that TCO occurs for any call in the tail
position, and this is usually why users of
2009 Mar 01
1
SPSS repeated interaction contrast in R
dear all,
i'm trying to reproduce an spss-anova in R.
It is an 2x3x3 repeated measures desingn with repeated contrasts.
In R i've coded a contrast matrix for all factors and made a
split in the aov summary - but I can't get the repeated interaction contrasts.
The output from SPSS looks like this:
TaskSw * CongNow * CongBefore: SS df Mean Square F Sig.
1 vs. 2 1 vs. 2 1 vs. 2
2015 Nov 17
4
firewalld being stupid
On Mon, November 16, 2015 16:39, Nick Bright wrote:
> On 11/6/2015 3:58 PM, James Hogarth wrote:
>> I have a couple of relevant articles you may be interested in ...
>>
>> On assigning the zone via NM:
>> https://www.hogarthuk.com/?q=node/8
>>
>> Look down to the "Specifying a particular firewall zone" bit ...
>> remember that if you edit the
2019 Jan 05
2
Interaction with Windows bootloader
> syslinux[64].exe -i -f c: bootsecfile.bss
>
> This should have been the form for your desire as specifying the
> filename should have told it to create the BSS instead of writing it
> to the VBR. Being the "fixed" HDD instead of a removable drive like a
> USB stick, "-f" is necessary.
Hmm, instead? Could this syntax be some kind of unintended oversight?
2017 Sep 22
0
[RFC] PT.2 Add IR level interprocedural outliner for code size.
In general I would love to see an outliner at the IR level also. But rather than a comparison vs. the machine outliner I would like to learn more about how the core data structures between the outliners will be shared. In particular for matching/pruning it seems to be a reasonable approach. A few more remarks/questions are below also.
Thanks
Gerolf
> On Sep 5, 2017, at 4:16 PM, River Riddle
2008 Jul 07
2
A shorter version of ".Last.value"?
Hi,
There is an object, ".Last.value" to which the result of the most recent
evaluation is assigned. This is similar to "ans" in Matlab. In Matlab
"ans" can be very useful and time-saving, but typing the larger R
version is somewhat clunky and takes away from the usefulness.
Is it possible to reassign '.Last.value' to something simpler, like
2010 Apr 21
1
Adding error bars to xyplot()
Hi,
I want to add error bars to a plot generated with xyplot. I've tried
both errbar() and plotCI(), but in both cases the points are not in the
same place. It's as if the two functions are using a different frame of
reference for the plotting area.
for example:
means <- c(92.5, 92.25, 90.9, 91.0, 94.15, 90.05) #means
time <- c(1,1,2,2,3,3) #occasion variable
group <-
2015 Nov 17
3
firewalld being stupid
Nick Bright wrote:
> On 11/17/2015 8:18 AM, James B. Byrne wrote:
>> This behaviour is congruent with SELinux. One utility adjusts the
>> permanent configuration, the one that will be applied at startup.
>> Another changes the current running environment without altering the
>> startup config. From a sysadmin point of view this is desirable since
>> changes to a
2024 Jul 11
1
[PATCH] drm/nouveau: Improve variable names in nouveau_sched_init()
nouveau_sched_init() uses the function drm_sched_init(). The latter
function has parameters called "hang_limit" and "timeout" in its API
documentation.
nouveau_sched_init(), however, defines a variable called
"job_hang_limit" which is passed to drm_sched_init()'s "timeout"
parameter. The actual "hang_limit" parameter is directly set to 0.
2017 Sep 05
5
[RFC] PT.2 Add IR level interprocedural outliner for code size.
Hey Everybody,
A little while ago I posted an RFC(
http://lists.llvm.org/pipermail/llvm-dev/2017-July/115666.html) with the
proposition of adding a new outliner at the IR level. There was some
confusion and many questions regarding the proposal which I’d like to
address here:
Note about nomenclature:
Candidate: A repeated sequence of instructions within a module.
Occurrence: One instance
2003 Nov 13
1
corrupt client keys question
summary: I have a situation in which a private RSA key has been
corrupted, but it's still possible to log into a SSH server using that
file. This is with OpenSSH 3.6.1p2 Debian.
I have a SSH public/private key pair generated with "ssh-keygen -t
rsa". I can use the private key to successfully log into a SSH server
which has the public key in it's the authorized_keys file.
I
2008 Jul 18
1
Functions similar to step() and all.effects() that work for lme() objects?
Hello,
I make frequent use of the *step()* and, for plotting, *all.effects()
*functions for *lm()* objects. I am now doing more with *lme()* random
effects models, and haven't been able to find functions similar to
*step()* or *all.effects()* which will accept *lme()* objects. Do
similar functions for either exist? If someone could point me in the
right direction it would be much
2017 Sep 22
2
[RFC] PT.2 Add IR level interprocedural outliner for code size.
Hey Gerolf,
On Thu, Sep 21, 2017 at 7:10 PM, Gerolf Hoflehner <ghoflehner at apple.com>
wrote:
> In general I would love to see an outliner at the IR level also. But
> rather than a comparison vs. the machine outliner I would like to learn
> more about how the core data structures between the outliners will be
> shared.
>
The only structure that needs to be shared is a
2003 Mar 11
1
Goodman / Kruskal gamma
The Goodman/Kruskal gamma is a nice descriptive rank-order
correlation statistic, often used in psychology. It is nice
because it is easy to understand. It takes all pairs of values
of each variable and asks whether they are congruent (S+ is the
number in the same order for both variables) or discordant (S-,
opposite ranking). The statistic is (S+ - S-)/(S+ + S-). It is
like tau except for the