Skip to content

Commit ee8ba5a

Browse files
committed
update docs
1 parent a4066f6 commit ee8ba5a

13 files changed

+68
-4
lines changed

R/GetFrineGrayWeights.R

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#'
2323
#' @param ftime Numeric: Observed event (failure) times
2424
#' @param fstatus Numeric: Observed event (failure) types
25+
#' @param cvweights Numeric: Vector of 0/1 (cross-validation) weights for each data row
2526
#' @param cencode Numeric: Code to denote censored observations (Default is 0)
2627
#' @param failcode Numeric: Code to denote event of interest (Default is 1)
2728
#'

R/Gpu.R

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
#
2-
#
3-
1+
#' @title Set GPU device
2+
#'
3+
#' @description
4+
#' \code{setOpenCLDevice} set GPU device
5+
#'
6+
#' @param name String: Name of GPU device
7+
#'
48
#' @export
59
setOpenCLDevice <- function(name) {
610
devices <- listOpenCLDevices()

R/ModelFit.R

+2
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,8 @@ print.cyclopsFit <- function(x, show.call=TRUE ,...) {
532532
#' @param initialBound Numeric: Starting trust-region size
533533
#' @param maxBoundCount Numeric: Maximum number of tries to decrease initial trust-region size
534534
#' @param algorithm String: name of fitting algorithm to employ; default is `ccd`
535+
#' @param doItAll Currently unused
536+
#' @param syncCV Currently unused
535537
#'
536538
#' Todo: Describe convegence types
537539
#'

R/NewDataConversion.R

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ isSorted <- function(data, columnNames, ascending = rep(TRUE, length(columnNames
3434
#' @param normalize String: Name of normalization for all non-indicator covariates (possible values: stdev, max, median)
3535
#' @param quiet If true, (warning) messages are suppressed.
3636
#' @param floatingPoint Specified floating-point representation size (32 or 64)
37+
#' @param timeEffectMap A data frame or ffdf object containing the convariates that have time-varying effects on the outcome
3738
#'
3839
#' @details
3940
#' These columns are expected in the outcome object:
@@ -55,6 +56,11 @@ isSorted <- function(data, columnNames, ascending = rep(TRUE, length(columnNames
5556
#' \verb{covariateValue} \tab(real) \tab The value of the specified covariate \cr
5657
#' }
5758
#'
59+
#' These columns are expected in the timeEffectMap object:
60+
#' \tabular{lll}{
61+
#' \verb{covariateId} \tab(integer) \tab A numeric identifier of the covariates that have time-varying effects on the outcome \cr
62+
#' }
63+
#'
5864
#' @return
5965
#' An object of type cyclopsData
6066
#'

R/RcppExports.R

+5
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@
117117
.Call(`_Cyclops_cyclopsInitializeModel`, inModelData, modelType, computeDevice, computeMLE)
118118
}
119119

120+
#' @title List available GPU devices
121+
#'
122+
#' @description
123+
#' \code{listOpenCLDevices} list available GPU devices
124+
#'
120125
#' @export
121126
listOpenCLDevices <- function() {
122127
.Call(`_Cyclops_listOpenCLDevices`)

R/Simulation.R

+1
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ simulateCyclopsData <- function(nstrata = 200,
250250
#' @param model String: Fitted regression model type
251251
#' @param coverage Logical: report coverage statistics
252252
#' @param includePenalty Logical: include regularized regression penalty in computing profile likelihood based confidence intervals
253+
#' @param computeDevice String: Name of compute device to employ; defaults to \code{"native"} C++ on CPU
253254
#'
254255
#' @export
255256
fitCyclopsSimulation <- function(sim,

man/convertToCyclopsData.Rd

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/createControl.Rd

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/fitCyclopsSimulation.Rd

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/getFineGrayWeights.Rd

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/listOpenCLDevices.Rd

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/setOpenCLDevice.Rd

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/RcppGpuInterface.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
#include <cuda.h>
1616
#endif // HAVE_CUDA
1717

18+
//' @title List available GPU devices
19+
//'
20+
//' @description
21+
//' \code{listOpenCLDevices} list available GPU devices
22+
//'
1823
//' @export
1924
// [[Rcpp::export("listOpenCLDevices")]]
2025
Rcpp::CharacterVector listOpenCLDevices() {

0 commit comments

Comments
 (0)