1
0
Fork 0
mirror of https://github.com/prise6/aVirtualTwins.git synced 2024-05-02 19:53:09 +02:00

update md files

This commit is contained in:
François Vieille 2016-10-09 02:43:51 +02:00
parent e5e2f1b442
commit 5942b328e7
15 changed files with 110 additions and 102 deletions

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/difft.R
\docType{class}
\name{VT.difft}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/forest.double.R
\docType{class}
\name{VT.forest.double}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/forest.fold.R
\docType{class}
\name{VT.forest.fold}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/forest.one.R
\docType{class}
\name{VT.forest.one}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/object.R
\docType{class}
\name{VT.object}
@ -31,7 +31,7 @@ computation.}
treatments.}
\item{\code{type}}{Character : binary or continous. Only binary is currently
available.}
available.}
}}
\section{Methods}{
@ -73,6 +73,7 @@ vt.o$getY(0)
# Print incidences
vt.o$getIncidences()
}
}
\seealso{
\code{\link{VT.difft}}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.R
\docType{methods}
\name{VT.predict}
@ -35,7 +35,7 @@ class.}
predictions are returned.}
\item{type}{Must be binary or continous, depending on the outcome. Only
binary is really available.}
binary is really available.}
}
\value{
vector \eqn{E(Y=1)}
@ -45,16 +45,16 @@ VT.predict generic function
}
\section{Methods (by class)}{
\itemize{
\item \code{rfor = RandomForest,newdata = missing,type = character}:
\item \code{rfor = RandomForest,newdata = missing,type = character}: rfor(RandomForest) newdata (missing) type (character)
\item \code{rfor = RandomForest,newdata = data.frame,type = character}:
\item \code{rfor = RandomForest,newdata = data.frame,type = character}: rfor(RandomForest) newdata (data.frame) type (character)
\item \code{rfor = randomForest,newdata = missing,type = character}:
\item \code{rfor = randomForest,newdata = missing,type = character}: rfor(randomForest) newdata (missing) type (character)
\item \code{rfor = randomForest,newdata = data.frame,type = character}:
\item \code{rfor = randomForest,newdata = data.frame,type = character}: rfor(randomForest) newdata (data.frame) type (character)
\item \code{rfor = train,newdata = ANY,type = character}:
\item \code{rfor = train,newdata = ANY,type = character}: rfor(train) newdata (ANY) type (character)
\item \code{rfor = train,newdata = missing,type = character}:
\item \code{rfor = train,newdata = missing,type = character}: rfor(train) newdata (missing) type (character)
}}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tree.class.R
\docType{class}
\name{VT.tree.class}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tree.reg.R
\docType{class}
\name{VT.tree.reg}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aVirtualTwins.R
\docType{package}
\name{aVirtualTwins}
@ -10,9 +10,9 @@ aVirtualTwins is written mainly with reference classes. Briefly, there is three
\itemize{
\item \code{\link{VT.object}} class to represent RCT dataset used by aVirtualTwins. To format correctly RCT dataset, use \code{\link{formatRCTDataset}}.
\item \code{\link{VT.difft}} class to compute difference between twins. Family \code{\link{VT.forest}} extends it to compute twins by random forest.
\code{\link{vt.forest()}} is users function.
\code{\link{vt.forest}} is users function.
\item \code{\link{VT.tree}} class to find subgroups from \code{difft} by CART trees. \code{\link{VT.tree.class}} and \code{\link{VT.tree.reg}} extend it.
\code{\link{vt.tree()}} is users function.
\code{\link{vt.tree}} is users function.
}
}
\section{TODO LIST}{

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/formatRCTDataset.R
\name{formatRCTDataset}
\alias{formatRCTDataset}
@ -14,7 +14,7 @@ formatRCTDataset(dataset, outcome.field, treatment.field, interactions = TRUE)
\item{treatment.field}{name of the treatment's field in \code{dataset}}
\item{interactions}{logical. If running VirtualTwins with treatment's
interactions, set to TRUE (default value)}
interactions, set to TRUE (default value)}
}
\value{
return data.frame with good format (explained in details section) to run VirtualTwins
@ -39,5 +39,8 @@ running VirtualTwins with interaction, it creates dummy variables.
\dontrun{
data.format <- formatRCTDataset(data, "outcome", "treatment", TRUE)
}
}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{sepsis}
@ -16,7 +16,7 @@
\item{BLADL}{Baseline activity of daily living score}
\item{BLLBILI}{Baseline local bilirubin} }}
\source{
\url{http://biopharmnet.com/wiki/Software_for_subgroup_identification_and_analysis}
\url{http://biopharmnet.com/subgroup-analysis-software/}
}
\usage{
data(sepsis)
@ -27,7 +27,7 @@ details.
}
\details{
This dataset is taken from
\href{http://biopharmnet.com/wiki/Software_for_subgroup_identification_and_analysis}{SIDES
\href{http://biopharmnet.com/subgroup-analysis-software/}{SIDES
method}.
\code{Sepsis} contains simulated data on 470 subjects with a binary outcome

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/object.wrapper.R
\name{vt.data}
\alias{vt.data}
@ -31,5 +31,6 @@ a VT.object object.
data(sepsis)
formatRCTdataset(sepsis, "survival", "THERAPY", T)
}
}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/forest.wrapper.R
\name{vt.forest}
\alias{vt.forest}
@ -26,7 +26,7 @@ randomForest, train or cforest. Is only used with forest.type = "one". If
NULL, a randomForest model is grown inside the function. NULL is default.}
\item{model_trt1}{see model_trt0 explanation and
\code{\link{VT.double.forest}} details.}
\code{\link{VT.forest.double}} details.}
\item{model_trt0}{works the same as model parameter. Is only used with
forest.type = "double". If NULL, a randomForest model is grown inside the
@ -67,5 +67,6 @@ parameter forest.type, any of these class can be used with its own parameter.
vt.f <- vt.forest("one", vt.o, mtry = 3, nodesize = 15)
# ...
}
}

View file

@ -1,11 +1,11 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tools.R
\name{vt.subgroups}
\alias{vt.subgroups}
\title{Visualize subgroups}
\usage{
vt.subgroups(vt.trees, only.leaf = T, only.fav = T, tables = F,
verbose = F)
verbose = F, compete = F)
}
\arguments{
\item{vt.trees}{\code{\link{VT.tree}} object. Or return of
@ -22,7 +22,7 @@ default.}
\item{verbose}{print infos during computation. FALSE is default.}
\item{compete}{print competitors rules thanks to competitors computation of
the tree}
the tree}
}
\value{
data.frame of rules
@ -44,5 +44,6 @@ rpart.plot must be loaded. See \code{\link{VT.tree}} for details.
# change options you'll be surprised !
vt.subgroups(vt.tr, verbose = T, tables = T)
}
}

View file

@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tree.wrapper.R
\name{vt.tree}
\alias{vt.tree}
@ -54,5 +54,6 @@ See \code{\link{VT.tree}}, \code{\link{VT.tree.class}} and
vt.tr$tree1$getInfos()
# ...
}
}