content
stringlengths
0
14.9M
filename
stringlengths
44
136
library(shiny) require(ztable) vector2string=function(v){ temp=paste0(v,collapse="",sep=",") temp1=substr(temp,start=1,stop=nchar(temp)-1) return(temp1) } shinyServer(function(input, output,session) { observe({ myncol=mynrow=c() spanRow=spanCol=c() data1=c() # Generate a ztable i <- as.numer...
/scratch/gouwar.j/cran-all/cranData/ztable/inst/ztableDemo/server.R
library(shiny) string="This is string" excolors=c("platinum","pink","yellow","orange","lightcyan","white") # Define UI for random distribution application shinyUI(fluidPage( # Application title titlePanel("Demonstration of ztable"), # Sidebar with controls to select the independent variable # and options of ...
/scratch/gouwar.j/cran-all/cranData/ztable/inst/ztableDemo/ui.R
--- title: "Make a Heatmap Table using `ztable`" author: "Keon-Woong Moon" date: "`r Sys.Date()`" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{heatmapTable} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r setup, include = FALSE} knitr::opts_chunk$set( collapse = TRUE...
/scratch/gouwar.j/cran-all/cranData/ztable/vignettes/heatmapTable.Rmd
--- title: "Package ztable" author: "Keon-Woong Moon" date: "`r Sys.Date()`" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{ztable} %\VignetteEngine{knitr::rmarkdown} \usepackage[utf8]{inputenc} --- # Introduction ## Table Show Package "ztable" make everything possible about table. Basically...
/scratch/gouwar.j/cran-all/cranData/ztable/vignettes/ztable.Rmd
--- title: "ztable Update" author: "Keon-Woong Moon" date: "`r Sys.Date()`" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{ztable_update} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r setup, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = NA ) ``...
/scratch/gouwar.j/cran-all/cranData/ztable/vignettes/ztable_update.Rmd
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 do_dztpln <- function(x, mu, sig) { .Call(`_ztpln_do_dztpln`, x, mu, sig) } do_dztpln2 <- function(x, mu, sig) { .Call(`_ztpln_do_dztpln2`, x, mu, sig) } do_dztplnm <- function(x, mu,...
/scratch/gouwar.j/cran-all/cranData/ztpln/R/RcppExports.R
#' The zero-truncated compund poisson-lognormal distributions #' #' Density function and random generation for Zero-Trauncated Poisson Lognormal #' distribution with parameters `mu` and sd `sig`. #' #' A compound Poisson-lognormal distribution is a Poisson probability #' distribution where its parameter \eqn{\lambda} ...
/scratch/gouwar.j/cran-all/cranData/ztpln/R/dztpln.r
#' The zero-truncated compund poisson-lognormal distributions mixture #' #' Density function and random generation for Zero-Truncated #' Poisson Lognormal distribution with parameters `mu`, `sig`, and `theta`. #' #' Type 1 ZTPLN truncates zero based on Poisson-lognormal distribution and #' type 2 ZTPLN truncates zero...
/scratch/gouwar.j/cran-all/cranData/ztpln/R/dztplnm.r
#' The zero-truncated compund poisson-lognormal distributions and their #' mixtures #' #' Functions for obtaining the density, random deviates and maximum likelihood #' estimates of the zero-truncated Poisson lognormal distributions and their #' mixtures. #' #' @author Masatoshi Katabuchi <mattocci27@gmail.com> #' #' ...
/scratch/gouwar.j/cran-all/cranData/ztpln/R/ztpln.r
#' MLE for the Zero-truncated Poisson Lognormal distribution #' #' `ztplnMLE` fits the Zero-truncated Poisson lognormal distribution to data and #' estimates parameters mean `mu` and standard deviation `sig` in the lognormal #' distribution #' #' The function searches the maximum likelihood estimates of mean `mu` an...
/scratch/gouwar.j/cran-all/cranData/ztpln/R/ztplnMLE.r
#' MLE for the Zero-truncated Poisson Lognormal mixture distribtuion #' #' `ztplnmMLE` fits the Zero-truncated Poisson lognormal mixture distribution #' to data and estimates parameters mean `mu`, standard deviation `sig` and #' mixture weight `theta` in the lognormal distribution. #' #' The function searches the maxi...
/scratch/gouwar.j/cran-all/cranData/ztpln/R/ztplnmMLE.r
## ---- echo = FALSE, message = FALSE------------------------------------------- knitr::opts_chunk$set(collapse = TRUE, comment = "#>", fig.width = 7, fig.height = 7, fig.align = "center") #options(tibble.print_min = 4L, tibble.print_max = 4L) library(ztpln) set.seed(123) ## ---- eval = T------------------------------...
/scratch/gouwar.j/cran-all/cranData/ztpln/inst/doc/ztpln.R
--- title: "Zero Truncated Poisson Lognormal Distribution" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Zero Truncated Poisson Lognormal Distribution} %\VignetteEngine{knitr::rmarkdown} #%\usepackage[utf8]{inputenc} --- ```{r, echo = FALSE, message = FALSE} knitr::opts_chunk$set(collapse = ...
/scratch/gouwar.j/cran-all/cranData/ztpln/inst/doc/ztpln.rmd
--- title: "Zero Truncated Poisson Lognormal Distribution" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Zero Truncated Poisson Lognormal Distribution} %\VignetteEngine{knitr::rmarkdown} #%\usepackage[utf8]{inputenc} --- ```{r, echo = FALSE, message = FALSE} knitr::opts_chunk$set(collapse = ...
/scratch/gouwar.j/cran-all/cranData/ztpln/vignettes/ztpln.rmd
# -*- coding: utf-8 -*- #' @encoding UTF-8 #' #' @title ztype #' @description How fast can you type R functions on your keyboard? Find out by running a 'zty.pe' game: export R functions as instructions to type to destroy opponents vessels. #' @docType package #' @name ztype #' @examples #' #'\dontrun{ #' require(ztype...
/scratch/gouwar.j/cran-all/cranData/ztype/R/doc_package.R
is_installed <- function(package) { suppressWarnings(suppressMessages(isTRUE(require( package, character.only = TRUE )))) } assertthat::on_failure(is_installed) <- function(call, env) { paste0(deparse(call$package), " is not installed") } #' @title gen_set_of_words #' @description extracts all functio...
/scratch/gouwar.j/cran-all/cranData/ztype/R/fonction.R
#' @importFrom utils packageDescription .onAttach <- function(libname, pkgname) { # Runs when attached to search() path such as by library() or require() if (interactive()) { pdesc <- packageDescription(pkgname) packageStartupMessage('') packageStartupMessage(pdesc$Package, " ", pdesc$...
/scratch/gouwar.j/cran-all/cranData/ztype/R/onAttach.R
require(Kendall) zyp.sen <- function(formula, dataframe) { zyp.slopediff <- function(i, xx, yy, n) (yy[1:(n-i)] - yy[(i+1):n]) / (xx[1:(n-i)] - xx[(i+1):n]) if (missing(dataframe)) dataframe <- environment(formula) term <- as.character(attr(terms(formula), "variables")[-1]) x <- dataframe[[term[2]]] ...
/scratch/gouwar.j/cran-all/cranData/zyp/R/zyp.R
# .zz_endpoint_content #' #' Auxiliary function #' #' Decorate an endpoint with a content path #' #' @keywords internal .zz_endpoint_content <- function(endpoint, id) { url <- paste0(endpoint, id, "/content") } # .zz_get_key #' #' Auxiliary function #' #' Get Zamzar key from .Renviron #' #' @keywords internal ...
/scratch/gouwar.j/cran-all/cranData/zzlite/R/utils.R
#' Delete file from Zamzar account #' #' Delete file from Zamzar account provided a file id. #' #' Please note that a Zamzar key passed as argument to `usr` takes precedence over a #' Zamzar key extracted from an `.Renviron`. #' #' #' @param id The target id for a file you wish to delete. Most likely returned from...
/scratch/gouwar.j/cran-all/cranData/zzlite/R/zz_delete.R
#' Accepted formats from Zamzar #' #' Get dataframe of all the formats accepted by Zamzar. Alternatively, a dataframe of formats #' you can convert an origin to. #' #' Please note that a Zamzar key passed as argument to `usr` takes precedence over a #' Zamzar key extracted from an `.Renviron`. #' #' @param origin ...
/scratch/gouwar.j/cran-all/cranData/zzlite/R/zz_format.R
#' Get file from Zamzar account #' #' Get file from Zamzar account provided a file id. #' Per default `zz_get()` assumes that you're doing development, thus using a #' development endpoint. Set prod boolean to `TRUE` to change this behavior. #' #' On differences between endpoints, see: \url{https://developers.zamza...
/scratch/gouwar.j/cran-all/cranData/zzlite/R/zz_get.R
#' Get info from Zamzar #' #' Get info on files submitted to Zamzar by account. #' #' Per default `zz_get_info()` assumes you want information for the last #' submitted file. To get information on all the files that have been submitted #' within a reasonable time frame, set parameter `latest` to `FALSE`. #' #' Pleas...
/scratch/gouwar.j/cran-all/cranData/zzlite/R/zz_get_info.R
#' Post file to Zamzar endpoint #' #' Per default `zz_post()` assumes that you're doing development, thus using a #' development endpoint. Set parameter `prod` to `TRUE` to change this behavior. #' #' On differences between endpoints, see: \url{https://developers.zamzar.com/docs#section-Next_steps} and \url{https...
/scratch/gouwar.j/cran-all/cranData/zzlite/R/zz_post.R
zz_config <- new.env(parent = emptyenv()) .onLoad <- function(...) { prod <- list( post <- c("https://api.zamzar.com/v1/jobs"), get <- c("https://api.zamzar.com/v1/files/") ) dev <- list( post <- c("https://sandbox.zamzar.com/v1/jobs"), get <- c("https://sandbox.zamzar.com/v1/files/") )...
/scratch/gouwar.j/cran-all/cranData/zzlite/R/zzz.R
## ---- include = FALSE--------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
/scratch/gouwar.j/cran-all/cranData/zzlite/inst/doc/A-primer-on-zzlite.R
--- title: "A primer on zzlite" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{A-primer-on-zzlite} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ``` The `zzlite` package is a collection of ...
/scratch/gouwar.j/cran-all/cranData/zzlite/inst/doc/A-primer-on-zzlite.Rmd
--- title: "A primer on zzlite" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{A-primer-on-zzlite} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ``` The `zzlite` package is a collection of ...
/scratch/gouwar.j/cran-all/cranData/zzlite/vignettes/A-primer-on-zzlite.Rmd