Displaying 20 results from an estimated 300 matches similar to: "score counts in an aggregate function"
2006 Nov 25
3
Multiple Conditional Tranformations
Greetings,
I'm learning R and I'm stuck on a basic concept: how to specify a
logical condition once and then perform multiple transformations under
that condition. The program below is simplified to demonstrate the goal.
Its results are exactly what I want, but I would like to check the
logical state of gender only once and create both (or any number of)
scores at once.
2010 Jul 28
1
specifying an unbalanced mixed-effects model for anova
hi all - i'm having trouble using lme to specify a mixed effects
model.
i'm pretty sure this is quite easy for the experienced anova-er, which
i unfortunately am not.
i have a data frame with the following columns:
col 1 : "Score1" (this is a continuous numeric measure between 0 and
1)
col 2 : "Score2" (another continuous numeric measure, this time
bounded between 0
2010 Oct 20
1
Adding Legend about two quantile lines at ggplot
Hi, all.
I'd like to add legend on my graph but I can't. My code is follows.
library(ggplot2)
score1<-rnorm(100,0,5)
score2<-rnorm(400,10,15)
mydata<-data.frame(score1,score2)
ggplot(mydata,aes(y=score2,x=score1))+geom_point()+stat_quantile(quantiles=c(0.50),col="red")+stat_quantile(quantiles=c(0.90),col="blue",size=2)
I like to add legend indicating the
2010 Aug 04
4
Passing the name of a variable to a function
Dear colleagues,
I have a problem which has bitten me occasionally. I often need to
prepare graphs for many variables in a data set, but seldom for all.
or for any large number of sequential or sequentially named variables.
Often I need several graphs for different subsets of the dataset
for a given variable. I run into similar problems with other needs
besides graphing.
What I would like to
2010 Feb 25
2
Restructure some data
Suppose I have a data frame like "dat" below. For some context, this is the format that represents student's taking a computer adaptive test. first.item is the first item that student was administered and then score.1 is the student's response to that item and so forth.
item.pool <- paste("item", 1:10, sep = "")
set.seed(54321)
dat <- data.frame(id =
2010 Jan 20
3
Mutliple sets of data in one dataset....Need a loop?
Hi
I'm hoping someone can help me I am a relative newbie to R.
I have data that is in a similar format to this...
Experiment Score1 Score2
X -0.85 -0.02
X -1.21 -0.02
X 1.05 0.09
Y -1.12 -0.07
Y -0.27 -0.07
Y -0.93 -0.08
Z 1.1 -0.03
Z 2.4 0.09
Z -1.0 0.09
Now I can easily have a look at the overall correlation of score 1 and 2 by
doing this
plot(data[,2], data[,3]) or
fit <-
2010 Apr 26
1
Help with replacement of certain values in dataset with SAS code equivalent
I am new to R and have tried for a good while to figure out how to code this
in R. The dataset below:
FTIStandKey
State
County
FTITract
CoverType
Ver_CT
V_Origin
V_SpGrp
NAH6005-001
Texas
Jasper
NAH6005
PPLB-2000-U
PPLB-2000-U
P
P
NAH6005-002
Texas
Jasper
NAH6005
NHHX-1950-O
NHHX-1950-I
N
H
NAH6253-001
Texas
Tyler
NAH6253
PPLB-2001-U
PPLB-2001-U
P
P
2012 Jun 01
2
how to add a 'label' column
Hello R users,
I'd like to ask a question about how to add a new column. So, below is my
situation.
In order to perform the repeated ANOVA, I first imported the following
table.
score=read.csv("patients_tests.csv");
subject test1 test2 test3 test4 test5 test6
test7
1 ab 0.17687 0.16715 0.17009 0.16480 0.16116 0.24502 0.17975
2 cl
2010 Apr 26
1
help with code
I am new to R and have tried for a good while to figure out how to code this
in R. The dataset below:
FTIStandKey
State
County
FTITract
CoverType
Ver_CT
V_Origin
V_SpGrp
NAH6005-001
Texas
Jasper
NAH6005
PPLB-2000-U
PPLB-2000-U
P
P
NAH6005-002
Texas
Jasper
NAH6005
NHHX-1950-O
NHHX-1950-I
N
H
NAH6253-001
Texas
Tyler
NAH6253
PPLB-2001-U
PPLB-2001-U
P
P
2007 Sep 17
2
What's the corresponding function in R for lo() function in S-PLUS?
Dear friends,
In S-PLUS, we can use the following argument, but not in R.
mode12 <- gam(score1 ~ lo(latitude) + lo(longitude))
I searched the help in S-PLUS, it says lo() Allows the user to specify a
Loess fit in a GAM formula, but i didn't find the correponding function in
R.
Anybody knows how to do the similar task in R?
Thanks very much.
--
With Kind Regards,
oooO:::::::::
2007 Dec 19
2
Question about which kind of plot to use
Hi Everyone,
I've got a question about data representation. I have some psychometric
data with 5 scores for 15 different groups. I've been asked to show
some kind of mean plots. The data below is the mean and SD for a given
group, unfortunately my employer doesn't want me posting full datasets.
:(
The groups V,W,X,Y,Z are divided into Bottom, (B), Middle (M) and Top
(T). An
2008 Jan 05
4
a sort question
dear I have this list
@@spelers = Speler.new(''Jan Janssens'', ''M'', 5, ''SR''),Speler.new(''Leen
Leniksen'', ''V'', 7),
Speler.new(''Piet Pieters'', ''M'', 3), Speler.new(''Els Elsenbocht'',
''V'', 1, ''J''),
2012 Jun 02
2
How can I export a paired t-test output table to an excel file?
Hi R users,
Could anyone let me know how to export a paired t-test output table (see
below) to an excel file?
Jason,
with(score2,pairwise.t.test(values,ind,
+ p.adjust.method="holm", paired=T))
Pairwise comparisons using paired t tests
data: values and ind
test1 test2 test3 test4 test5 test6
test1 1.0000 - - -
2009 Sep 08
1
Derivative of nonparametric curve
Dear All,
I'm looking for?a way on computing the derivative of first and second order?of a smoothing curve produced by a nonprametric regression. For instance, if we run the R script below, a smooth nonparametric regression curve is produced.
provide.data(trawl)
Zone92?? <- (Year == 0 & Zone == 1)
Position <- cbind(Longitude - 143, Latitude)
dimnames(Position)[[2]][1] <-
2010 Jun 18
2
Extract estimates from each dataset: MI package
Dear All,
I am currently using the MI package (Su, Gelman, Hill and Yajima) to make
multiple Imputations of my dataset with missing values. After fitting a
model, I can use display(model) to visualize the pooled estimates as well as
estimates of each imputed dataset. I can visualize these also by typing
print(model).
However I would like to know how I can extract estimates of single imputed
2009 Sep 08
1
[OT] "_" inserted in postings
Sorry if this is too "OT", but there is a particular relevance to
postings to R-help.
Of recent times, I have received several postings via R-help (and some
other mailing-lists) in which the "_" character is inserted where,
presumably, a space, " ", was intended. An example (received this
morning) is below, which (from the headers) was originally sent
through Yahoo
2009 Jan 15
0
Up To 20% OFF At Our Signature Style Event + Holiday Weekend Clearance
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RalphLauren.com</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width=646 border=0>
2007 Aug 06
1
(Censboot, Z-score, Cox) How to use Z-score as the statistic within censboot?
Dear R Help list,
My question is regarding extracting the standard error or Z-score from a
cph or coxph call. My Cox model is: -
modz=cph(Surv(TSURV,STATUS)~RAGE+DAGE+REG_WTIME_M+CLD_ISCH+POLY_VS,
data=kidneyT,method="breslow", x=T, y=T)
I've used names(modz) but can't see anything that will let me extract
the Z scores for each coefficient or the standard errors in the same
2007 Jul 10
0
Article score calculations for Boolean and MultiTerm Queries, and customization options
Hi,
I have some questions about the way that documents are scored by the Boolean
and MultiTerm Queries, and about possible options for custom scoring
articles. I am working on a project experimenting with different methods of
automatically generating queries and the scoring mechanisms behind Lucene
and Ferret have been perplexing us.
>From looking at the Lucene explanation at (
2007 May 22
1
Bug in Ferret::Search::SortField::SCORE ??
i have been trying to get this to work for a while now. my controller
is
sort = [ Ferret::Search::SortField::SCORE_REV ]
@results = Record.multi_search(params[:search_terms], [ Link, Post,
Event ], {:limit => :all, :sort => sort })
and in my view i just render a conglomeration of the appropriate
partials for each model. it seems that no matter what i do, i can''t get
the