t; >
> > *AbouEl-Makarim Aboueissa, PhD*
> >
> > *Professor, Statistics and Data Science*
> > *Graduate Coordinator*
> >
> > *Department of Mathematics and Statistics*
> > *University of Southern Maine*
> > _
Hi Team,
Can you please suggest me some good cases where we can use
R programming to tackle predictive maintenance problems
Many thanks
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,
ooking for, you
> can do something like:
>
> NA9<-X==9
>
> and then "remove" them by replacing those values with NA:
>
> X[NA9]<-NA
>
> Be aware that all these hackles (diminutive of hacks) are pretty
> specific to this example. Also rememb
wrote:
>
> > On Mar 30, 2016, at 3:56 PM, Norman Pat wrote:
> >
> > Hi team
> >
> > I am new to R so please help me to do this task.
> >
> > Please find the attached data sample.
>
> No. Nothing attached. Please read the Rhelp Info page an
Hi team
I am new to R so please help me to do this task.
Please find the attached data sample. But in the original data frame I
have 350 features and 40 observations.
I need to carryout these tasks.
1. How to Identify features (names) that have all zeros?
2. How to remove features that ha
Thank you for a referral to apps or a suggested strategy to deal with this.
Pat J.
Header:
Groupname number rate1 rate2 males females white nonwhite
Data:
Blue 1 3 1 1 0 0 1
Blue 2 2 3 1 0 1 0
Orange 1 4 4 0 1 1 0
Yellow 1 3 2 1 0 1 0
Yellow 2 5 2 0 1 0 1
Yellow 3 4 3 1 0 0 1
Yellow 4 4 2 1 0
04:26 -0700
> From: smartpink...@yahoo.com
> Subject: Re: [R] Average value in a particular range of a matrix
> To: leonardsqual...@hotmail.com
>
> Hi Pat,
> Is it 1-100, 101-200, 201-300,.. or just the way you described?
> A.K.
>
>
>
>
> On Wednesday, June 11,
Hi
I have a matrix with values of size 1*500 i have to find the avg
value of first 1 to 100 ,avg value of 100 - 200 and so on up to 400-500.
is there any function to find the average of 1 -100 and 100 - 200, 200 -
300,300 - 400,400 - 500 ??
Thanks
Even you used perm="Exact", the maximum observations allowed is only 10. If
data exceeds this, perm="Prob" is used instead of "Exact". So, the p-values
are always changed. The Porb method will approximate the permutation
distribution by randomly exchanging pairs of Y elements.
--
View this mes
been using an
analysis of deviance table to check a model against the null model with the
intercept as the only predictor.
Any advice on other methods to obtain the proper p-value would be
appreciated.
Thanks,
Pat
[[alternative HTML version deleted
Hello R people,
I have a data file with 101 numeric variables: one variable called IDN (the
individual's unique id number, which I need to retain, and which ranges
from 1000 to 1320; some numbers are obviously skipped), and V1 to V100
(each has a value of 0 or 1; these 100 variables represent sequ
For those not familiar Ruby Koans is a fantastic platform for teaching many
of the basics of programming in the Ruby language. It uses unit tests
written for methods each of which describe a component of the Ruby
programming language.
http://rubykoans.com/
The koans platform has become popular e
t.
I obviously am not so clear on variable scoping, and ?get really doesn't
clear up my confusion.
I am sure that there are better, more appropriate ways to write a
function...
Please enlighten me,
Pat
# Example code
dat <- expand.grid(a = factor(c("a", "b")), b=1:10)
A"] <- 1 #Why does this fails to work,
dat$Value[dat$Value %in% NA] <- 1 #While this does work?
#Particularly when str() results in an equivalent class
dat <- data.frame(index = 1:10, Value = c(1:4, NA, 6, NA, 8:10))
str(dat$Value[dat$Value %in% NA])
str(dat$Value[dat$Value == "
I want to use a strip.custom as with useOuterStrips for three conditioning
variables.
useOuterStrips restricts this to only two conditioning variables, and I
cannot figure out
how to write strip.custom properly to do this.
library(lattice)
mtcars$HP <- equal.count(mtcars$hp)
#with two factors
x2
elt(dat2, id.vars = c('x', 'grp'))
> Dat3 <- rbind(Dat, Dat2) # concatenate the two data frames
> Dat3$gv <- with(Dat3, paste(variable, grp, sep = "")) # combine factors
>
> xyplot(value ~ x, data = Dat3, groups = gv, type = "l")
>
> Ther
All
I want to overlay two variables on the same plot following their appropriate
grouping. I have attempted to use subscripting in panel with panel.xyplot,
but I can't get the grouping to follow into the panel...here is an
example...
dat<-data.frame(
y= log(1:10),
y2=10:19,
x=1:10,
grp = as.fa
subscripts])
})
Pat
On Mon, Dec 7, 2009 at 3:18 AM, Felix Andrews wrote:
> If you want to plot each point as the text of its ID, use a panel function:
> panel = function(x, y, groups, subscripts, ...) panel.text(x, y,
> groups[subscripts])
>
> If you want to add labels interac
t;a","b")
f2<-c("x","y")
dat<-expand.grid(x=x, y=y, f1=f1, f2=f2)
dat$ID <- 1:dim(dat)[1]
xyplot(y~x | f1 + f2, groups=ID,dat)
xyplot(y~x | f1 + f2, groups=ID,auto.key=TRUE,dat) # more accurate rep of
problem with key
Thanks
Pat
On Sun, Dec 6, 2009 at
t;x","y")
dat<-expand.grid(x=x, y=y, id=ID, f1=f1, f2=f2)
xyplot(y~x | f1 + f2, dat)
Thanks
Pat
--
Patrick Schmitz
Graduate Student
Plant Biology
1206 West Gregory Drive
RM 1500
[[alternative HTML version deleted]]
__
R-hel
not discovered,
that might be more effective?
Thanks
Pat
--
Patrick Schmitz
Graduate Student
Plant Biology
1206 West Gregory Drive
RM 1500
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/li
response very much.
Pat
On Tue, Aug 18, 2009 at 5:18 AM, Gabor Grothendieck wrote:
> Try this:
>
>
> Lines <- '"1","30 Jun 2009 18:14:59"
> "2","02 Jul 2009 07:33:37"
> "3","06 Jul 2009 08:22:35"
> "
5"
"4","06 Jul 2009 19:25:50"
"5","08 Jul 2009 08:41:48"
"6","10 Jul 2009 07:31:39"
"7","10 Jul 2009 19:59:25"
"8","13 Jul 2009 07:49:18"
"9","13 Jul 2009 18:52:52"
"10&qu
I am attempting to replicate some of my experience from SAS in R and assume
there are best methods for using a combination of summary(), subset, and
which() to produce a subset of mean values by categorical or ordinal
factors.
within sas I would write
proc means mean data=dataset;
class factor1 f
On closer inspection of your specs, you might want to try upgrading your
Twisted install. I just checked and am pretty sure that the twistd
version is sync'd with the Twisted version. NWS requires Twisted >= 2.1.
Pat
Peter Tait wrote:
Hi Pat,
thank you for the response.
Yes I am r
a length mismatch error.
Can anyone help diagnose this, or work around it?
Many thanks,
~Pat Carroll.
> Dataset$DateFilled
[1] "10/20/2005" "11/4/2005" "11/18/2005" "12/2/2005" "4/3/2006"
"6/5/2006" "7/14/2006"
ty. There is a long pause between entering
the command and the error message printing, so some processing is happening. I
couldn't find anything using "sqlSave","RODBC",and "Access" recently in the
archives search.
Anybody understand this error message, or why
27 matches
Mail list logo