Displaying 20 results from an estimated 2059 matches for "criteria".
2005 May 18
2
R -SQL
Hello,
I've got a problem in a sql query!
for(j in 1:length(criteria$Title))
{
graphe_par<-sqlQuery(channel,"select q.type,crit.Title, r.Value from criteria crit, reply r,question_reply qr, question q, question_criteria qc, form_question fq where qr.reply=r.ID and qr.question=q.ID and qc.question=q.ID and crit.ID=qc.criteria and fq.question=q.ID and fq....
2012 Mar 01
2
'break' function in loop
Dear R helpers,
I have some difficulties in using ''break'' function with loop, and the followings are my script. What I try to do is (1) permute ''or'' first; (2) doing t-test if this ''or'' pass criteria 1 (k=1); (3) end the loop when I get 10 permutations; (4) redo everything again but this time use criteria 2 (k=2) (I have more criteria 1:n).
Somehow using my script, the final dataset (results1) only contains the result from criteria 1 (twice!) but not the result from criteria 2. I guess probabl...
2006 May 03
6
Versioning the contents of a table as a set
...a way to use acts_as_versioned to accomplish
this? Is there a different approach that anyone can recommend?
The second part of this question stems from a bit of self-doubt as to
whether I took a sensible approach with these tables. Essentially what I
have is the following table (c1..c3 represent criteria, r represents result)
for each set of criteria:
r c1 c2 c3
------------------
1 1 1 1
1 1 1 0
0 1 0 1
1 1 0 0
0 0 1 1
0 0 1 0
0 0 0 1
0 0 0 0
This allows me to select a result as follows myresult =
mylookup.find(:conditi...
2017 Jun 08
1
stepAIC() that can use new extractAIC() function implementing AICc
I would like test AICc as a criteria for model selection for a glm using
stepAIC() from MASS package.
Based on various information available in WEB, stepAIC() use
extractAIC() to get the criteria used for model selection.
I have created a new extractAIC() function (and extractAIC.glm() and
extractAIC.lm() ones) that use a new par...
2011 Feb 13
2
Removing elements from a vector matching a criteria, BUG in which() function
Dear all,
I found a bug in the which() function.
When trying to remove elements with the which function,
if the criteria is not matched, numeric(0) is returned instead of the
array itself.
This is very weird.
> a = c(1,2,3,4,5)
> a[!a==6]
[1] 1 2 3 4 5
> a[-which(a==6)]
numeric(0)
> a[-which(a==5)]
[1] 1 2 3 4
> a[!a==5]
[1] 1 2 3 4
Is this correct? I believe this is a bug.
I have to rewrite a lot...
2010 Dec 01
3
How to pass selection criteria in a function
...ata.
I want to write a function that will create a table which is a subset of myData containing those have a score > 75.
I know I can do this with the following command:
subset(myData, score > 75)
But I would like to do this via a function, something like:
newTable <- function( data, criteria){
subset( data, criteria) }
and then calling: newTable(myData, score > 75)
But this doesn't work. I am sure there is a simple way to do this,
but I am stuck! Please help. Thanks!
Chris McCarthy, PhD
Department of Mathematics BMCC
Office: N522 Extension: 5235
cm...
2013 Jan 24
2
Question on matrix calculation
Hello again,
Ley say I have 1 matrix and 1 data frame:
> mat <- matrix(1:15, 5)
> match_df <- data.frame(Seq = 1:5, criteria = sample(letters[1:5], 5, replace = T))
> mat
[,1] [,2] [,3]
[1,] 1 6 11
[2,] 2 7 12
[3,] 3 8 13
[4,] 4 9 14
[5,] 5 10 15
> match_df
Seq criteria
1 1 c
2 2 e
3 3 c
4 4 c
5 5 d
Now I want to get the col...
2006 Aug 08
3
params object nil in controller action
Hi All
I am trying to implement a Back to Search Results functionality, by storing
the user''s search criteria (params) in session and then reusing those
params instead of request params when user clicks on "Back to Search Results
link". here is my code
________________________________________________________________________
def search
if session[:incidentSearch].nil? or session[:incidentSea...
2005 Jul 04
1
compare two lists with differents levels
Hi,
I would like to compare 2 lists resulted from a sql query! bu there are different levels, so when I want to do:
release1<-sqlQuery(channel,paste("select distinct c.ID,c.Title TitleCrit from category cat, category_criteria cc, criteria c, question_criteria qc, question q, form_question fq, form f, release_form rf, release r, product_release pr, product p where cat.ID=cc.category and cc.criteria=c.ID and c.ID=qc.criteria and qc.question=q.ID and fq.question=q.ID and fq.form=f.ID and f.ID=rf.form and rf.release=r.ID an...
2020 May 21
3
RFC: Release qualification criteria
Hi,
I'm splitting this discussion off of my RFC for release process
changes.
We currently have no official release qualification criteria. In
other words, we don't have any blocking tests that need to pass in
order to make a new release.
We do time-based releases, which is not always compatible with having
quality-based criteria for tagging a final release. So, I think another
way to look at this issue is to talk about what ki...
2024 Dec 08
0
[Bug 3763] New: Clarify Match criteria in sshd_config(5)
https://bugzilla.mindrot.org/show_bug.cgi?id=3763
Bug ID: 3763
Summary: Clarify Match criteria in sshd_config(5)
Product: Portable OpenSSH
Version: 9.9p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Documentation
Assignee: unassigned-bugs at mindrot.org...
2006 Sep 28
0
Wine 1.0 criterias
Hi all
Is there a list of criterias for a 1.0 release of Wine? I couldn't find
one. I was looking in the developers mailing list. But there's only a
collection of bugs that must be fixed.
An important question for me is: How many native DLLs will be accepted
for a 1.0 version? I don't get the point that installing _m...
2008 Nov 20
2
[LLVMdev] Validation Criteria
As we begin designing the proposed validation process, we should think about
what the criteria for a successful validation should be.
In the initial proposal I suggested the "make check" on llvm should pass as
should the tests in llvm-test.
According to Tanya, not all of llvm-test passes. Do we have a sense of how
far away from a full passing llvm-test we are?
I also know tha...
2010 Feb 22
1
matching on two criteria
Howdy y'all,
I am looking to use the match function to match a data attribute to another
data frame but i need it to do so on two criteria to ensure an appropriate
match. The following matches incorrectly. I know the example looks
pointless but its just an example. Perhaps there is another way of doing
this? Thanks
#Sample Data
Props<-c("p754921","p754921" ,"p754921","p75506" ,"p755...
2009 May 21
3
index to select rows of a large matrix
...ta frame - DataSeq. Each of the 1500
rows represents a data sequence.
I have another data frame iData that stores the information of these
1500 data sequences in the same order, for example, condition, gender,
etc.
If I use "subset" to select certain groups within iData according to
some criteria that I have set, e.g. condition, gender
Then how can I used the retrieved subset of iData to point to and
retrieve corresponding rows in the DataSeq data.frame for
manipulations and analysis?
I hope some of you can give me some idea!
Thank you very much!!!
- John
2009 Feb 09
0
[LLVMdev] LLVM Release Criteria
Hello,
I'd like to clarify a few points on how the release process works.
Each release must satisfy the following criteria for each supported
target:
* LLVM-GCC & LLVM must build in both release and debug mode. They must
also build srcDir != objDir. LLVM-GCC must build with support for c, c++,
fortran, and obj-c/obj-c++ (Mac only).
* LLVM-GCC must bootstrap.
* "make check" (dejagnu test suite) must pa...
2007 Sep 17
1
Stepwise logistic model selection using Cp and BIC criteria
Hi,
Is there any package for logistic model selection using BIC and Mallow's Cp
statistic? If not, then kindly suggest me some ways to deal with these
problems.
Thanks.
--
View this message in context: http://www.nabble.com/Stepwise-logistic-model-selection-using-Cp-and-BIC-criteria-tf4464430.html#a12729613
Sent from the R help mailing list archive at Nabble.com.
2013 May 01
1
selecting rows based on multiple criteria
Dear List,
I am struggling with the following problem.
Suppose I have the following data.frame:
coord<-expand.grid(x=1:10,y=1:10)
and I want to extract the row numbers of those matching the criteria defined by the following data.frame:
choice<-data.frame(x=c(2,1,2),y=c(1,2,2))
the result should return in this case:
2,11,12
All I managed to do is the following:
which(data coord$x%in%choice$x & coord$y%in%choice$y);
which returns c(1,2,11,12)... which includes also the first row......
2011 Feb 27
10
How to store the same key multi times in a Hash ?
given an Arra tags[]
I need to produce a resulting Hash as following ..
{ "$in" => [tags[0]], "$in" =>[tags[1], ...}
in which the key should be always the same and the value being an
Array
I tried this :
myHash = {}
tags.each do |tag|
h = {"$in" => [tag]}
myHash.merge!(h)
end
but the merge! is only
2012 Sep 27
2
Is there a function that runs AR model with Schwarz Bayesian Information Criteria (BIC)?
Hello,
Is there a function in R by which one can run AR model with Bayesian
Information Criteria (BIC)? To my knowledge, functions ar and ar.ols could
select the order only by AIC.
Thanks,
Miao
[[alternative HTML version deleted]]