Displaying 20 results from an estimated 500 matches similar to: "extract data features from subsets"
2012 Nov 09
3
Looking for a test of standard normality
Dear list members,
I am looking for a goodness of test that will tell me if a sample is
likely to have come from a standard normal distribution. I can find
plenty of omnibus tests for normality in the nor.test package, but none
of them appear to allow me to test against the specific alternative that
the data are not standard normal. My back up option is to use a
Kolmogorov-Smirnov test, but my
2007 Feb 26
2
how to fill between 2 stair plots
Hi all,
I want to create a simple plot with 2 type='s' lines on it:
plot(a, b, type='s')
lines(x, y, type='s')
I wish to then fill the area between the curves with a colour to
accentuate the differences eg col=gray(0.95). I cant seem to come up
with a simple method for this. Any pointers in the right direction much
appreciated.
Cheers
Scott
2007 Apr 23
1
data recoding problem
Hi R experts,
I have a data recoding problem I cant get my head around - I am not that
great at the subsetting syntax. I have a dataset of longitudinal
toxicity data (for multistate modelling) for which I want to also want
to do a simple Kaplan-Meier curve of the time to first toxic event.
The data for 2 cases presently looks like this (one with an event, the
other without), with id representing
2007 Feb 15
1
bootcov and cph error
Hi all,
I am trying to get bootstrap resampled estimates of covariates in a Cox
model using cph (Design library).
Using the following I get the error:
> ddist2.abr <- datadist(data2.abr)
> options(datadist='ddist2.abr')
> cph1.abr <- cph(Surv(strt3.abr,loc3.abr)~cov.a.abr+cov.b.abr,
data=data2.abr, x=T, y=T)
> boot.cph1 <- bootcov(cph1.abr, B=100, coef.reps=TRUE,
2008 Jul 24
1
ggplot question
I am trying to do something simple with ggplot. I wish to draw a density
plot split by group, and fill each group with a different colour (and
each with an alpha =0.25). I have tried a number of variations of the
following, but cannot find a way to define the colour of the fill, its
transparency and the line around it individually - something in the
syntax continues to defy me.
2011 Feb 08
3
intervals {nlme} lower CI greater than upper CI !!!????
Hi folks...
check this out..
> GLU<-lme(gluc~rt*cd4+sex+age+rf+nadir+pharmac+factor(hcv)+factor(hbs)+
+ haartd+hivdur+factor(arv),
+ random= ~rt|id, na.action=na.omit)
> intervals(GLU)$fixed
lower est. upper
(Intercept) 67.3467070345 7.362307e+01 7.989944e+01
rt *0.0148050160* 6.249304e-02 1.101811e-01
cd4
2004 May 02
1
[LLVMdev] hoisting problem.
Hi,
First, sorry in advance for pasting code like this :)
I'm doing a simple optimization pass for a cs326 class
project. The pass in question is LICM, and I'm getting an
assertion when I try to hoist an instruction.
My hoist function is below. I dont think I need that
copying in there, that was just something people on the
newsgroup suggested. I get the same assertion
2000 Feb 25
2
problem with read.table
> Hi,
> I recently downloaded R on window and running Rgui on NT. I have never use
> R before and trying to learn R by following An introduction to R.
> I generated a table of 900x5 in excel and saved as tab delimited txt file.
> I then do read.table but I keeping getting the following message
> > data <- read.table("ML4mm25.txt", header=T, sep=" ")
2012 Aug 11
1
using eval to handle column names in function calling scatterplot graph function
I am running R version 2.15.1 in Windows XP
I am having problems with a function I'm trying to create to:
1. subset a data.frame based on function arguments (colname & parmname)
2. rename the PARMVALUE column in the data.frame based on function
argument (xvar)
3. generate charts
plotvar <- function(parentdf,colname, parmname,xvar,yvar ){
subdf <-
2006 Feb 22
1
unused factor levels in reshape
When reshaping a dataframe in which there are unused factor levels in the id variable, I get the following error:
Error in if (!all(really.constant)) warning(gettextf("some constant variables (%s) are really varying", :
missing value where TRUE/FALSE needed
For example,
> df <- data.frame(i = factor(rep(1:5, each = 2)), t = factor(rep(1:2, 5)), x = rep(rbinom(5, 1,
2008 Jan 11
3
filtering data frame based on two columns
Hi,
I have a data frame df with column names a,b and c.
Now I want to get a subset of df that satified the condition a == 1 and b
== 2, how do I specify this.
For one condition like a == 1 I can use subdf = df[,df$a==1] to get the
right answer, but
subdf = df[,df$a==1 && df$b ==2] does not return the right answer.
Some quick tips please.
2011 Mar 18
1
PREDICTIONS from a PIECEWISE LINEAR (mixed) MODEL: THEY AIN'T LINEAR BETWEEN BREAK POINTS!!
I Dears,
if that wouldn't take u too much effort I'd like to ask for a swift opinion:
I have a alinear (mixed effect) model that I wish to run as a piecewise one.
When I predict the values Iget quite some odds and disturbing results:
The predicted stright line after the break point is not straight at all,
instead behaves like if it was a hig order polynomial or something
similar!!!!
I
2000 May 10
8
Paper Size
Dear R Users:
Here is a nice simple question: On Version 1.0.0, where is the file
that has the paper size for plots?
UNIX Dec Alpha please?
(Really dumb. I know.)
Sincerely,
Erin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2005 Jul 11
1
validation, calibration and Design
Hi R experts,
I am trying to do a prognostic model validation study, using cancer
survival data. There are 2 data sets - 1500 cases used to develop a
nomogram, and another of 800 cases used as an independent validation
cohort. I have validated the nomogram in the original data (easy with
the Design tools), and then want to show that it also has good results
with the independent data using 60
2004 Apr 24
0
[LLVMdev] cs326 mp help
Hi,
First, please send any replies to me separately, as I am not
on the list.
I'm trying to run a very simple LLVM pass as a start on a
class project. It compiles fine, but I get a runtime
assertion when running the pass. I'll paste the error and cpp
file below, but basically I'm being told that I haven't
specified a required pass. However, I've looked at some
example
2012 Sep 28
3
Better way of Grouping?
Hello R users,
This is more of a convenience question that I hope others might find useful
if there is a better answer. I work with large datasets that requires
multiple parsing stages for different analysis. For example, compare group
3 vs. group 4. A more complicated comparison would be time B in group 3 of
group L with B in group 4 of group L. I normally subset each group with
the
2015 Apr 16
4
ClamAV reports a trojan
On Thu, April 16, 2015 10:09 am, Les Mikesell wrote:
> On Thu, Apr 16, 2015 at 10:01 AM, James B. Byrne <byrnejb at harte-lyne.ca>
wrote:
>> This morning I discovered this in my clamav report from one of our imap
servers:
>> /usr/share/nmap/scripts/irc-unrealircd-backdoor.nse:
>> Unix.Trojan.MSShellcode-21 FOUND
>> I have looked at this script and it appears to be
2000 Jun 22
1
help
Dear All,
Further to answers to sorting, can someone tell me how can I sort a list
that contains duplicates (name) but keeping the duplicates together when
sorting the values.
e.g., a data frame with name (in duplicates), Mvalues(may be different for
the duplicates)
name M
1234 8
1234 8.3
4321 9
4321 8.1
If I sort by M, it will be 1234, 4321, 1234, 4321 but I want to keep the
duplicates together,
2000 Feb 25
1
r-excel interface code
some of you might be interested.
i just uploaded the first release of my
r-excel interface package to CRAN.
it is in
contributed extensions
nonstandard extensions
erich neuwirth
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2000 Feb 25
1
r-excel interface code
some of you might be interested.
i just uploaded the first release of my
r-excel interface package to CRAN.
it is in
contributed extensions
nonstandard extensions
erich neuwirth
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386