[Asrr-commits] r6 - in pkg: . man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jan 13 15:50:54 CET 2009
Author: wincent
Date: 2009-01-13 15:50:54 +0100 (Tue, 13 Jan 2009)
New Revision: 6
Modified:
pkg/NAMESPACE
pkg/man/Lipsets.rd
pkg/man/coefchange.Rd
pkg/man/coincid.Rd
pkg/man/cs_truthTable.rd
pkg/man/endog_test.Rd
pkg/man/fs_truthTable.rd
pkg/man/fs_tt.rd
pkg/man/reduce.rd
pkg/man/suffnec.Rd
Log:
Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/NAMESPACE 2009-01-13 14:50:54 UTC (rev 6)
@@ -15,9 +15,8 @@
S3method(print, suffnec)
S3method(print, summary.QCA)
S3method(summary, QCA)
-#importFrom(car, lht)
+S3method('[',QCA)
#importFrom(lpSolve, lp)
-#importFrom(MASS, ginv)
#import(sem)
Modified: pkg/man/Lipsets.rd
===================================================================
--- pkg/man/Lipsets.rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/Lipsets.rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -1,9 +1,9 @@
\name{Lipsets}
%\alias{Lipsets}
\alias{Lipset}
-%\alias{Lipset_fs}
-%\alias{Lipset_cs}
-%\alias{Lipset_mv}
+\alias{Lipset_fs}
+\alias{Lipset_cs}
+\alias{Lipset_mv}
\docType{data}
\title{Breakdown/survival of democracy in inter-war Europe}
\description{
Modified: pkg/man/coefchange.Rd
===================================================================
--- pkg/man/coefchange.Rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/coefchange.Rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -4,7 +4,7 @@
\alias{coefchange.lm}
\alias{coefchange.glm}
%\alias{coefchange_boot}
-%\alias{print.coefchange}
+\alias{print.coefchange}
\title{Test of coef change}
\description{
Test if the coef will change significantly when additional variables are
Modified: pkg/man/coincid.Rd
===================================================================
--- pkg/man/coincid.Rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/coincid.Rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -1,6 +1,6 @@
\name{coincid}
\alias{coincid}
-%\alias{print.coincid}
+\alias{print.coincid}
\title{Produces a coincidence matrix}
\description{
Produce a coincidence matrix from a crip set or fuzzy set data.
Modified: pkg/man/cs_truthTable.rd
===================================================================
--- pkg/man/cs_truthTable.rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/cs_truthTable.rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -10,10 +10,10 @@
}
\usage{
cs_truthTable(mydata, outcome, conditions,
-method = c("deterministic","probabilistic"),
-complete = FALSE, weight = NULL, show.cases = TRUE,
-cases = NULL, nlevels = rep(2, length(conditions)),
-cutoff1 = 1, cutoff0 = 1, benchmark = 0.65, conf.level = 0.95)
+ method = c("deterministic","probabilistic"),
+ complete = FALSE, weight = NULL, show.cases = TRUE,
+ cases = NULL, nlevels = rep(2, length(conditions)),
+ cutoff1 = 1, cutoff0 = 1, benchmark = 0.65, conf.level = 0.95)
}
\arguments{
\item{mydata}{data frame of the raw data.}
Modified: pkg/man/endog_test.Rd
===================================================================
--- pkg/man/endog_test.Rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/endog_test.Rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -2,8 +2,7 @@
\alias{endog_test}
\alias{endog_test.tsls2}
\alias{endog_test.ivreg}
-%\alias{print.endog_test}
-%- Also NEED an '\alias' for EACH other topic documented here.
+\alias{print.endog_test}
\title{Test of endogeneity.}
\description{
Test of endogeneity for single equation instrumental variable regression
@@ -11,13 +10,10 @@
}
\usage{
endog_test(object, ...)
-%# method for tsls2
\method{endog_test}{tsls2}(object, robust = FALSE, type = c("hc2", "hc0", "hc1",
"hc3", "hc4"),...)
-%# method for ivreg
\method{endog_test}{ivreg}(object, robust = FALSE, type = c("hc2", "hc0", "hc1",
"hc3", "hc4"),...)
-%# print method for endog_test
\method{print}{endog_test}(x, ...)
}
@@ -26,7 +22,7 @@
regression (two-stage regression) model.}
\item{robust}{ Logic, use robust method when TRUE.}
\item{type}{type of robust method. The details can be found in hccm in car package.}
- \item{x}{The result from endog_test.}
+ \item{x}{The result from \code{endog_test}.}
\item{\dots}{Not used for the time being. }
}
\details{
@@ -67,8 +63,4 @@
endog_test(fm6.2,T)
}
}
-
-% Add one or more standard keywords, see file 'KEYWORDS' in the
-% R documentation directory.
-%\keyword{ ~kwd1 }
%\keyword{ ~kwd2 }% __ONLY ONE__ keyword per line
Modified: pkg/man/fs_truthTable.rd
===================================================================
--- pkg/man/fs_truthTable.rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/fs_truthTable.rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -6,8 +6,8 @@
}
\usage{
fs_truthTable(mydata, outcome, conditions, ncases_cutoff = 1,
-consistency_cutoff = 0.8, complete = FALSE, show.cases = TRUE, quiet =
-FALSE, cases = NULL, ...)
+ consistency_cutoff = 0.8, complete = FALSE,
+ show.cases =TRUE,quiet =FALSE, cases = NULL, ...)
}
\arguments{
\item{mydata}{ A fuzzy set score dataset. All the scores must range
Modified: pkg/man/fs_tt.rd
===================================================================
--- pkg/man/fs_tt.rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/fs_tt.rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -8,8 +8,8 @@
}
\usage{
fs_tt(mydata, outcome = "", conditions = c(""),ncases_cutoff = 1,
-consistency_cutoff = 0.8, complete= FALSE, show.cases = TRUE, quiet =
-FALSE, cases =NULL)
+ consistency_cutoff = 0.8, complete= FALSE, show.cases = TRUE,
+ quiet =FALSE, cases =NULL)
}
\arguments{
Modified: pkg/man/reduce.rd
===================================================================
--- pkg/man/reduce.rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/reduce.rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -1,6 +1,7 @@
\name{reduce}
\alias{reduce}
-%- Also NEED an '\alias' for EACH other topic documented here.
+\alias{print.QCA}
+\alias{summary.QCA}
\title{ Boolean miniziation for csQCA, mvQCA and fsQCA }
\description{
This is the core funtion for QCA (Qualitative Comparative
@@ -17,8 +18,11 @@
dontcare = c("remainders", "positive", "negative"),
preprocess = c("cs_truthTable","fs_truthTable", "pass"),
nlevels = rep(2, length(conditions)), keepTruthTable = TRUE, ...)
+
+\method{print}{QCA}(x, traditional = TRUE, show.truthTable = TRUE, ...)
+
+\method{summary}{QCA}(object, traditional = TRUE, show.case = TRUE, ...)
}
-%- maybe also 'usage' for other objects documented here.
\arguments{
\item{mydata}{a data frame}
\item{outcome}{a character string to specify the outcome}
@@ -34,13 +38,25 @@
dontcare cases. Must one of "remainders", "positive", "negative"}
\item{preprocess}{a character string specifying the function for
preprocessing data, which turns raw data to a truthTable. Must one
- of "cs_truthTable", "fs_truthTable" or "pass"}
+ of \code{cs_truthTable}, \code{fs_truthTable} or \code{pass}}
\item{nlevels}{a integer vector, specifying number of levels for the
corresponding conditions. For csQCA and fsQCA, it is always
\code{rep(2,length(conditions))}}
\item{keepTruthTable}{logical, when TRUE the returned object keeps
the truthTable}
- \item{\dots}{ Arguements passed to preprocess function}
+ \item{\dots}{ For \code{reduce}, arguements passed to preprocess
+ function; for \code{print.QCA} and \code{summary.QCA}, currently not
+ used.}
+ \item{x}{an object of class 'QCA', which is usually returned from
+ \code{reduce}.}
+ \item{traditional}{logical, use traditional symbol when it is
+ TRUE. Otherwise, use Tosmana-style symbol.}
+ \item{show.truthTable}{logical, show truthTable when it is TRUE. Of
+ course, it has effect only when the 'keepTruthTable' argument of
+ \code{reduce} is set to TRUE.}
+ \item{object}{an object of class 'QCA', which is usually returned from
+ \code{reduce}.}
+ \item{show.case}{logical, show case names when it is TRUE.}
}
\details{
Outcome is the variable to be explained by the conditions. Conditions
@@ -58,6 +74,10 @@
necessary condition is a trivial necessary condition(Caramani,
2009:62). It is not necessary to include trivial necessary condition
in the final solutions.
+
+ The traditional way uses upper-case letters representing 1 and and
+ lower-case letters reprensenting 0. The Tosmana-style use
+ \code{condition{value}} to represent the prime implicants.
}
\value{
An object of class "QCA". It is essentailly a list of 10 components.
@@ -83,7 +103,7 @@
Dusa, Adrian 2007 Enhancing Quine-McCluskey,
- \url{http://www.compasss.org/Dusa2007a.pdf}
+ \url{http://www.compasss.org/files/wpfiles/Dusa2007a.pdf}
Ragin, Charles. 2000. Fuzzy-Set Social Science. University Of Chicago Press.
Modified: pkg/man/suffnec.Rd
===================================================================
--- pkg/man/suffnec.Rd 2009-01-13 04:08:36 UTC (rev 5)
+++ pkg/man/suffnec.Rd 2009-01-13 14:50:54 UTC (rev 6)
@@ -1,6 +1,6 @@
\name{suffnec}
\alias{suffnec}
-%\alias{print.suffnec}
+\alias{print.suffnec}
\title{Produces a sufficiency and necessity matrix}
\description{
creates a matrix of the sufficiency and necessity scores for a crisp set
More information about the Asrr-commits
mailing list