Displaying 20 results from an estimated 500 matches similar to: "subset and lme"
2008 Mar 26
2
ggplot2 argument handling odd
Hello there,
I'm trying to do lots of plots in one for-loop. But somehow ggplot does
not evaluate arguments as expected. Here is an example:
library(lattice)
library(ggplot2)
pl <- list()
pl2 <- list()
cDat <- as.data.frame(cbind(x1=0:100,x2=0:10,x3=1:20))
for(obs in c("x1", "x2")) {
pl[[obs]] <- xyplot(cDat[,obs] ~ cDat[,"x3"], main=obs)
2010 Feb 23
5
deleting column from data frame
Hi to all,
test <- data.frame("X"=c(1:4),"Y"=c(5:8),"Z"=c(8:11))
test <- test[,-2]
Is there a way to specify the col name "Y" to delete instead the number?
Kind regards Knut
2002 Sep 30
0
using step function in functions
Help!
I am a new R user. It has been slow getting up to speed, but definitely
rewarding. I have come up against a problem I can't handle. I would
very much appreciate any help.
I am writing a vector auto regression (VAR) function that utilizes existing
R statistical functions. I would like to use the step function to do
step-wise elimination on each univariate time series model. No
2004 Nov 08
3
location of key in panels of trellis plot
Hi,
I want to insert a key into each panel of a trellis plot, which I can do
with a custom panel function that calles draw.key. The problem arises
because I want the top right hand corner of the key to start in the top
right hand corner of the panel. If you run my code below, you can see that
the key appears in the center of each panel. This is because the default
viewport in draw.key is the
2010 Jul 21
1
Get distribution of positive/negative examples for each cluster
Dear R experts,
I have a labeled data set. Each data is assigned a binary label 0 or 1.
Assume that I use some clustering algorithm to group the data by clusters
(using some features of the data). Now I want to know how many data are
labeled as 0/1 in each cluster.
For example, assume that I have 9 labeled data grouped into three clusters.
The ids of the clusters are 1, 2, and 3. The dataset is
2004 Oct 07
5
Question restricting ssh access for some users only
I've used ssh as a secure telnet up to now but done little else with
it. The FreeBSD machines I look after on our internet-facing network
all have one account which I connect to for administration. I've set
up /etc/hosts.allow on all the machines to only allow ssh from a
limited internal network range.
Now I want to create a new account on one machine which will be
accessible from the
2011 Sep 09
1
Question about plot.mona {cluster}
Hello all, I what to print the banner plot that is output from the mona
method in the cluster package but the problem is I dont want to print all
that red ink. Here is an example:
data(animals)
ma <- mona(animals)
ma
## Plot similar to Figure 10 in Struyf et al (1996)
plot(ma)
I can change the bar color by using the argument col=c(0,0) -
plot(ma,col=c(0,0)) - but then the variable labels also
2014 Jan 08
7
[LLVMdev] [cfe-dev] AArch64 Clang CLI interface proposal
I knew I'd regret leaving that option in for the MIPS port back in 99.
Basically this is the only acceptable way for mcpu to exist, but should
never have been added to the GCC aarch64 port at all since there's no
compatibility with existing build systems to worry about.
I would still like you to show this mythical piece of software that needs
this compatibility.
-eric
On Jan 8, 2014 3:06
2011 Apr 12
1
2-parameter MLE problems
Hi all,
Sorry for the re-post, I sent my previous e-mail before it was complete. I
am trying to model seroprevalence using the differential equation: dP/dt =
beta*seronegative*.001*(seropositive)-0.35*(0.999)*(seropositive)-r*seropositive.
I would like to estimate my two parameters, beta and r, using maximum
likelihood methods. I have included my code below:
2008 Oct 03
2
Writing to shares directly
Within a Samba configuration, is it not advisable to create files on the
directory on the local machines themselves? Out setup is like so:
Server 1 (where the files reside):
/data/shares/app01
Server 2 (mounts the above drive):
/data/mounts/app01
If, on Server 1, I create a file:
# echo test > /data/shares/app01/test
The file is created, but on Server 2, I cannot seem to edit the file as
2011 Feb 16
1
Timeseries Data Plotted as Monthly Boxplots
Hello, I'm trying to develop a box plot of time series data to look at the
range in the data values over the entire period of record.
My data initially starts out as a list of hourly data, and then I've been
using this code to make this data into the final ts array.
# Read in the station list
stn.list <- read.csv("/home/kbennett/fews/stnlist3", as.is=T, header=F)
# Read in
2013 Apr 09
0
Simple GLS regression with CAPER
Dear R experts,
I hope this is the right list for my question.
As a newcomer in R, I am testing the R CAPER package, applying a simple
regression on a phylogeny tree with three binary traits: (t1, t2, t3).
My goal is to test the sensitivity to a correlation between t1 and t3. But
if a correlation of 100% is considered (i.e. t3 = t1). The pgls method of
CAPER seems to crash:
You can find there
2014 Jan 08
4
[LLVMdev] [cfe-dev] AArch64 Clang CLI interface proposal
On 8 January 2014 12:32, Bernard Ogden <Bernard.Ogden at arm.com> wrote:
> I don't think there's software that *needs* the compatibility, but it is
> easier for GCC projects to switch to clang if that compatibility is there -
> which I think is why we go for GCC compatibility in the first place?
>
Hi Bernie,
GCC compatibility is always considered to be an important
2008 Dec 06
2
How to calculate words in column?
Hi,
I have a table for an 1 week exam result for many classes in school, like
this:
Day Class_ID Test Result
1 Monday 1 Paper Passed
2 Tuesday 1 Oral Passed
3 Friday 1 Paper Passed
4 Monday 3 Paper Passed
5 Sunday 3 Oral Passed
6 Monday 3
2004 Feb 03
1
Re: Possible compromise ?
that only works when you are presuming that the host was not hacked already
because i would clear those logs when i hacked a system :)
but indeed it's a try,
If you remain unsure, it is best to reinstall the system to be sure that a
fresh
and newly updated (yeah update it when installed :)) system is not
compromised at that
time..
loads of work, but it gives you some relief to know that
2016 Jul 29
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
Hi Sean,
This is great, but it couples LogicalDylib too tightly to
CompileOnDemandLayer. Does this alternative implementation of
getLogicalModuleResourcesForSymbol work for you (unfortunately I don't have
a local test case for this yet):
LogicalModuleResources*
getLogicalModuleResourcesForSymbol(const std::string &Name,
bool
2016 Jul 30
1
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
Hi Sean,
As for the part that couples them too tightly, would you recommend I just
> keep my own specialized version of CompileOnDemandLayer.h that includes
> this functionality, or do you have any ideas for a cleaner way to do this?
My apologies - I wasn't very clear in my description of the issue. The only
sense in which your original patch was tightly coupled was that it had
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
It does work. I just tested it on my JIT. Thanks!
As for the part that couples them too tightly, would you recommend I just
keep my own specialized version of CompileOnDemandLayer.h that includes
this functionality, or do you have any ideas for a cleaner way to do this?
I've noticed a couple of people asking for support for updating stub
pointers for functions that are optimized at runtime,
2013 Oct 14
1
[LLVMdev] Generate code for ARM Cortex m0, m3, and m4.
Thanks Bernie,
Feel free to assign yourself to the bug report, just so we know someone is
working on it.
cheers,
-renato
On 14 October 2013 17:38, Bernard Ogden <bogden.dev at gmail.com> wrote:
> I've got a trivial fix for this problem, and another one which manifests
> when thumb is given without an explicit CPU. I'll start pushing it through
> our submissions process.
2014 Jan 09
2
[LLVMdev] [cfe-dev] AArch64 Clang CLI interface proposal
I think that this works (and adds no appreciable driver complexity) provided
that we're not expecting to support -mtune. If clang is (one day) going to
be able to isel based on one target and optimize based on another then we
might find ourselves wanting to change the meaning of -march from 'isel and
optimize' to 'isel only'. So Amara's question about -mtune (or more