content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
# layout for section "Status" # last update: 2016-10-10 source('uiStatusDateSelect.R') # source('uiStatusItemConfig.R') appStatus <- function(){ fluidRow( column(12, # uiOutput('desktopUiStatusItemsRender') uiStatusDateSelect(), ...
/appStatus.R
permissive
OwnYourData/app-goal
R
false
false
2,147
r
# layout for section "Status" # last update: 2016-10-10 source('uiStatusDateSelect.R') # source('uiStatusItemConfig.R') appStatus <- function(){ fluidRow( column(12, # uiOutput('desktopUiStatusItemsRender') uiStatusDateSelect(), ...
#This is a wrapper script that can be run in training or test mode. In the test mode, it reads a pre-built model and generates predictions on a given pre-processed test dataset. #In the training mode, it creates and saves a model on a given pre-processed training dataset. run_everything <- function() { source("...
/wrapper.R
no_license
bibudhlahiri/cleartrail_analytics
R
false
false
2,222
r
#This is a wrapper script that can be run in training or test mode. In the test mode, it reads a pre-built model and generates predictions on a given pre-processed test dataset. #In the training mode, it creates and saves a model on a given pre-processed training dataset. run_everything <- function() { source("...
#---------------------------------------------------------------------- # Purpose: This test exercises HDFS operations from R. #---------------------------------------------------------------------- setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source('../h2o-runit.R') #---------------------...
/h2o-r/tests/testdir_hdfs/runit_HDFS_kmeans.R
permissive
StephaneFeniar/h2o-dev
R
false
false
2,069
r
#---------------------------------------------------------------------- # Purpose: This test exercises HDFS operations from R. #---------------------------------------------------------------------- setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source('../h2o-runit.R') #---------------------...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mapa_chr.R \name{mapa_chr} \alias{mapa_chr} \title{mapa_chr} \usage{ mapa_chr(cr = c(30.4, 19.7, 23.5, 18.6, 27), col_cr = "red", unidad = "bp") } \arguments{ \item{cr}{vector Tiene que recibir una vector con valores numericos.} \item{col_...
/man/mapa_chr.Rd
no_license
Mabelvac/mapagenetica
R
false
true
433
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mapa_chr.R \name{mapa_chr} \alias{mapa_chr} \title{mapa_chr} \usage{ mapa_chr(cr = c(30.4, 19.7, 23.5, 18.6, 27), col_cr = "red", unidad = "bp") } \arguments{ \item{cr}{vector Tiene que recibir una vector con valores numericos.} \item{col_...
% Generated by roxygen2 (4.0.1): do not edit by hand \name{is_frequency} \alias{is_frequency} \title{Is-A function for Allele Frequences} \usage{ is_frequency(x) } \arguments{ \item{x}{A \code{data.frame} potentially from \code{frequencies} function.} } \value{ A flag indicating it has the qualities of a \code{data.fra...
/man/is_frequency.Rd
no_license
hbwxf/gstudio
R
false
false
585
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{is_frequency} \alias{is_frequency} \title{Is-A function for Allele Frequences} \usage{ is_frequency(x) } \arguments{ \item{x}{A \code{data.frame} potentially from \code{frequencies} function.} } \value{ A flag indicating it has the qualities of a \code{data.fra...
library(shinydashboard) library(shiny) library(DT) library(plotly) addInfo <- function(item, infoId) { infoTag <- tags$small( class = "badge pull-right action-button", style = "padding: 1px 6px 2px 6px; background-color: steelblue;", type = "button", id = infoId, "i" ) item$children[[1]]$chil...
/inst/shiny/DiagnosticsExplorer/ui.R
permissive
Kuroshiwo/PatientLevelPrediction
R
false
false
5,870
r
library(shinydashboard) library(shiny) library(DT) library(plotly) addInfo <- function(item, infoId) { infoTag <- tags$small( class = "badge pull-right action-button", style = "padding: 1px 6px 2px 6px; background-color: steelblue;", type = "button", id = infoId, "i" ) item$children[[1]]$chil...
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Define UI for application that draws a histogram ui <- fluidPage( # Application title ...
/exercises/exercise1/answer1c.R
no_license
nuitrcs/rshiny
R
false
false
1,357
r
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Define UI for application that draws a histogram ui <- fluidPage( # Application title ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/style.R \name{m_style_ballnstick} \alias{m_style_ballnstick} \title{Specifying Style for Ball and Stick} \usage{ m_style_ballnstick( sphereScale = 0.3, colorScheme = NULL, color = NULL, sphereRadius = NULL, stickRadius = 0.25, hid...
/man/m_style_ballnstick.Rd
no_license
Jun-Lizst/r3dmol
R
false
true
1,334
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/style.R \name{m_style_ballnstick} \alias{m_style_ballnstick} \title{Specifying Style for Ball and Stick} \usage{ m_style_ballnstick( sphereScale = 0.3, colorScheme = NULL, color = NULL, sphereRadius = NULL, stickRadius = 0.25, hid...
x <- seq(.1, .5, by=.1) x lx <- sapply(x, log) lx2 <- numeric(5) for(i in 1:5) { lx2[i] <- log(x[i]) } lx2 log(x) ### sapply - example 1 sumn <- function(n) sum(1:n) sumn(100) sumn(200) sumn(c(100,200,400,800)) sapply(c(100,200,400,800), sumn) ### sapply - example 2 y <- rnorm(40) mean(y, ...
/st366/Lecture Code/ST366_Lecture9_rcode.R
no_license
cohaolain/CollegeYear3
R
false
false
2,524
r
x <- seq(.1, .5, by=.1) x lx <- sapply(x, log) lx2 <- numeric(5) for(i in 1:5) { lx2[i] <- log(x[i]) } lx2 log(x) ### sapply - example 1 sumn <- function(n) sum(1:n) sumn(100) sumn(200) sumn(c(100,200,400,800)) sapply(c(100,200,400,800), sumn) ### sapply - example 2 y <- rnorm(40) mean(y, ...
############################################################################################ # EMPLOYEE ATTRITION CASE STUDY # ############################################################################################ ####################################...
/HR Analytics Case Study.R
no_license
asasingh365/HR_Analytics_Attrition
R
false
false
65,254
r
############################################################################################ # EMPLOYEE ATTRITION CASE STUDY # ############################################################################################ ####################################...
# Install and load packages package_names <- c("survey","dplyr","foreign","devtools") lapply(package_names, function(x) if(!x %in% installed.packages()) install.packages(x)) lapply(package_names, require, character.only=T) install_github("e-mitchell/meps_r_pkg/MEPS") library(MEPS) options(survey.lonely.ps...
/mepstrends/hc_use/json/code/r/totEXP__agegrps__married__.r
permissive
HHS-AHRQ/MEPS-summary-tables
R
false
false
2,300
r
# Install and load packages package_names <- c("survey","dplyr","foreign","devtools") lapply(package_names, function(x) if(!x %in% installed.packages()) install.packages(x)) lapply(package_names, require, character.only=T) install_github("e-mitchell/meps_r_pkg/MEPS") library(MEPS) options(survey.lonely.ps...
r=0.72 https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7ts3m/media/images/d7ts3m-015/svc:tesseract/full/full/0.72/default.jpg Accept:application/hocr+xml
/ark_87287/d7ts3m/d7ts3m-015/rotated.r
permissive
ucd-library/wine-price-extraction
R
false
false
195
r
r=0.72 https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7ts3m/media/images/d7ts3m-015/svc:tesseract/full/full/0.72/default.jpg Accept:application/hocr+xml
## Put comments here that give an overall description of what your ## functions do ## These functions facilates to cache the inverse of matrix if computed ## early instead of computing repeatedly ## Write a short comment describing this function ## This function creates a special matrix object makeCacheMatrix <-...
/cachematrix.R
no_license
tvijay333/ProgrammingAssignment2
R
false
false
1,060
r
## Put comments here that give an overall description of what your ## functions do ## These functions facilates to cache the inverse of matrix if computed ## early instead of computing repeatedly ## Write a short comment describing this function ## This function creates a special matrix object makeCacheMatrix <-...
num = as.double(readline(prompt="Enter a number: ")) if(num > 0) { print("Positive number") } else { if(num == 0) { print("Zero") } else { print("Negative number") } }
/Question 4.R
no_license
mehnaaz10/ExcelR
R
false
false
197
r
num = as.double(readline(prompt="Enter a number: ")) if(num > 0) { print("Positive number") } else { if(num == 0) { print("Zero") } else { print("Negative number") } }
#makeCacheMatrix will calculate the inverse of a matrix and cache it. makeCacheMatrix <- function(x = numeric()) { # start by shameless copying of the provided code for caching a mean value m <- NULL # clean up m in case there is an old value there. set <- function(y) { x <<- y m <<- NULL } ...
/cachematrix.R
no_license
DabblinginR/ProgrammingAssignment2
R
false
false
1,237
r
#makeCacheMatrix will calculate the inverse of a matrix and cache it. makeCacheMatrix <- function(x = numeric()) { # start by shameless copying of the provided code for caching a mean value m <- NULL # clean up m in case there is an old value there. set <- function(y) { x <<- y m <<- NULL } ...
#' Return an axis-aligned bounding box delimiting a circle at distance \code{d} #' #' @description #' \lifecycle{experimental} #' #' \code{bbox_at_distance} returns an \code{\link[sf:st_bbox]{st_bbox}} object representing #' the extent of an axis-aligned bounding box containing the (polygonal approximation of a) #' a ...
/R/utils-spatial.R
no_license
euctrl-pru/trrrj
R
false
false
7,587
r
#' Return an axis-aligned bounding box delimiting a circle at distance \code{d} #' #' @description #' \lifecycle{experimental} #' #' \code{bbox_at_distance} returns an \code{\link[sf:st_bbox]{st_bbox}} object representing #' the extent of an axis-aligned bounding box containing the (polygonal approximation of a) #' a ...
require("xts") require("zoo") require("quantmod") require("TTR") # Za risk-free ob. mero vzamemo donose enomesecnih zakladnih menic getSymbols("DGS1MO", src = "FRED") ff.factors <- function(cene, st_delnic, knjig_vred, zacD, konD){ # Funkcija sprejme xts matrike z dnevnimi podatki o cenah delnic, stevilu delnic v ...
/ff.factors.r
permissive
MathBB/Ekipa-da-te-skipa
R
false
false
3,510
r
require("xts") require("zoo") require("quantmod") require("TTR") # Za risk-free ob. mero vzamemo donose enomesecnih zakladnih menic getSymbols("DGS1MO", src = "FRED") ff.factors <- function(cene, st_delnic, knjig_vred, zacD, konD){ # Funkcija sprejme xts matrike z dnevnimi podatki o cenah delnic, stevilu delnic v ...
################################## # Information criteria .mml.3pl.TAM.ic <- function( nstud , deviance , xsi , xsi.fixed , beta , beta.fixed , ndim , variance.fixed , G , irtmodel , B_orig=NULL , B.fixed , E , est.variance , resp , est.slopegroups=NULL , skillspace , delta , delta.fixed , est.guess , fulld...
/R/mml.3pl.TAM.ic.R
no_license
mr-majkel/TAM
R
false
false
3,122
r
################################## # Information criteria .mml.3pl.TAM.ic <- function( nstud , deviance , xsi , xsi.fixed , beta , beta.fixed , ndim , variance.fixed , G , irtmodel , B_orig=NULL , B.fixed , E , est.variance , resp , est.slopegroups=NULL , skillspace , delta , delta.fixed , est.guess , fulld...
#Confidence Interval for a Ratio of Population Variances n1 =10 var1 =2.31 n2 =16 var2= 3.68 x = var2/var1 #given , confidence interval=90% alpha=1-0.90 cat(" we are 90% confident that the ratio is between ",x/qf(alpha/2,n2 -1,n1 -1,lower.tail = F)," - ", x*qf(alpha/2,n1 -1,n2-1,lower.tail = F))
/Probability_And_Statistics_For_Engineers_by_Richard_L._Scheaffer,_Madhuri_S._Mulekar,_James_T._Mcclave/CH9/EX9.22/ex_9_22.R
permissive
FOSSEE/R_TBC_Uploads
R
false
false
310
r
#Confidence Interval for a Ratio of Population Variances n1 =10 var1 =2.31 n2 =16 var2= 3.68 x = var2/var1 #given , confidence interval=90% alpha=1-0.90 cat(" we are 90% confident that the ratio is between ",x/qf(alpha/2,n2 -1,n1 -1,lower.tail = F)," - ", x*qf(alpha/2,n1 -1,n2-1,lower.tail = F))
##10/19/18 ##Implement Manski-Horowitz rm(list=ls()) val <- as.numeric(Sys.getenv("SGE_TASK_ID")) nsim <- 5000 set.seed(5422521) seed <- sample(10^7,nsim) ############################################################################# ##Libraries## ###################################################################...
/simulations/binary_noHarm_5050/manski_horowitz/N200/N200.R
no_license
emhuang1/CI-for-fraction-who-benefit
R
false
false
7,396
r
##10/19/18 ##Implement Manski-Horowitz rm(list=ls()) val <- as.numeric(Sys.getenv("SGE_TASK_ID")) nsim <- 5000 set.seed(5422521) seed <- sample(10^7,nsim) ############################################################################# ##Libraries## ###################################################################...
require("dplyr") require("ggplot2") original <- read.csv("activity.csv", stringsAsFactors=FALSE, na.string="NA") original$date <- as.Date(original$date) #Task 1: Calculate mean and median number of steps by day. totalsPerDay <- as.data.frame(as.Date(unique(original$date))) colnames(totalsPerDay) <- c("date") for(x in...
/assignment1.R
no_license
AMB1701/RepData_PeerAssessment1
R
false
false
5,086
r
require("dplyr") require("ggplot2") original <- read.csv("activity.csv", stringsAsFactors=FALSE, na.string="NA") original$date <- as.Date(original$date) #Task 1: Calculate mean and median number of steps by day. totalsPerDay <- as.data.frame(as.Date(unique(original$date))) colnames(totalsPerDay) <- c("date") for(x in...
data <- read.table("household_power_consumption.txt",sep = ";",header=TRUE,stringsAsFactors = TRUE,na.strings = '?') data <- subset(data,Date=="1/2/2007" | Date == "2/2/2007") data$Date <- strptime(paste(data$Date,data$Time,sep=" "), "%d/%m/%Y %H:%M:%S") with(data,plot(Date,Sub_metering_1,type="l",xlab="", ...
/plot3.R
no_license
prudhv16/ExData_Plotting1
R
false
false
647
r
data <- read.table("household_power_consumption.txt",sep = ";",header=TRUE,stringsAsFactors = TRUE,na.strings = '?') data <- subset(data,Date=="1/2/2007" | Date == "2/2/2007") data$Date <- strptime(paste(data$Date,data$Time,sep=" "), "%d/%m/%Y %H:%M:%S") with(data,plot(Date,Sub_metering_1,type="l",xlab="", ...
library(rredis) ### Name: redisSetContext ### Title: redisSetContext ### Aliases: redisSetContext redisGetContext ### ** Examples ## Not run: ##D # Open a connection to a Redis server on HOST1 and store its context: ##D HOST1 <- redisConnect(host='HOST1', returnRef=TRUE) ##D print(redisInfo()) ##D ##D # Initiate ...
/data/genthat_extracted_code/rredis/examples/redisSetContext.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
725
r
library(rredis) ### Name: redisSetContext ### Title: redisSetContext ### Aliases: redisSetContext redisGetContext ### ** Examples ## Not run: ##D # Open a connection to a Redis server on HOST1 and store its context: ##D HOST1 <- redisConnect(host='HOST1', returnRef=TRUE) ##D print(redisInfo()) ##D ##D # Initiate ...
weighted.endemism <- function(species_records, records="single", site.coords, species="SPECIES", longitude="LONGITUDE", latitude="LATITUDE", frame.raster, deg.resolution=c(0.25,0.25), extent.vector, type="weighted", plot.raster=TRUE, own.weights, weight.type="cell", geo.type="cell", geo.calc="max.dist", outlier_pct=95...
/FixedPhyloDiversityCode.R
no_license
acastellanos39/CABiodiversity
R
false
false
50,628
r
weighted.endemism <- function(species_records, records="single", site.coords, species="SPECIES", longitude="LONGITUDE", latitude="LATITUDE", frame.raster, deg.resolution=c(0.25,0.25), extent.vector, type="weighted", plot.raster=TRUE, own.weights, weight.type="cell", geo.type="cell", geo.calc="max.dist", outlier_pct=95...
# create a function that returns the best hospital in a given state # for a given condition/outcome # make sure the csv files are saved in the same directory as best.R # get data all_outcomes <- read.csv("outcome-of-care-measures.csv", colClasses = "character") # get states require(datasets) data(state) # function t...
/Wk1/Ranking Hospitals/best.R
no_license
bswiswa/ds-a100
R
false
false
1,986
r
# create a function that returns the best hospital in a given state # for a given condition/outcome # make sure the csv files are saved in the same directory as best.R # get data all_outcomes <- read.csv("outcome-of-care-measures.csv", colClasses = "character") # get states require(datasets) data(state) # function t...
# DOM - simple circle (Figure 3.7) # requires DOM, grid, gridSVG, XML #draw circle in grid pdf(NULL) grid::grid.circle(x = 0.5, y = 0.5, r = 0.25, name = "circle.A", gp = grid::gpar(fill = "yellow")) #export SVG svg <- gridSVG::grid.export(NULL)$svg dev.off() #set up new page and add circle: library(...
/code/report-code/3/DOM/circle.R
no_license
ysoh286/honours-project-2017
R
false
false
1,284
r
# DOM - simple circle (Figure 3.7) # requires DOM, grid, gridSVG, XML #draw circle in grid pdf(NULL) grid::grid.circle(x = 0.5, y = 0.5, r = 0.25, name = "circle.A", gp = grid::gpar(fill = "yellow")) #export SVG svg <- gridSVG::grid.export(NULL)$svg dev.off() #set up new page and add circle: library(...
# funciones auxiliares: read<-function(X,Y=NULL) { filas<-dim(X)[1] columnas<-dim(X)[2] if((length(dim(X)))==3){repeticiones<-dim(X)[3]}else{repeticiones<-NULL} if(!is.null(dimnames(X)[[1]])){namesf<-dimnames(X)[[1]]}else{namesf<-paste(1:filas,sep="")} if(!is.null(dimnames(X)[[2]])){namesc<-dimnames(...
/R/KTensorGraphs.R
no_license
cran/KTensorGraphs
R
false
false
125,133
r
# funciones auxiliares: read<-function(X,Y=NULL) { filas<-dim(X)[1] columnas<-dim(X)[2] if((length(dim(X)))==3){repeticiones<-dim(X)[3]}else{repeticiones<-NULL} if(!is.null(dimnames(X)[[1]])){namesf<-dimnames(X)[[1]]}else{namesf<-paste(1:filas,sep="")} if(!is.null(dimnames(X)[[2]])){namesc<-dimnames(...
library(MASS) library(parallel) # Analytic solution of logistic model of population dynamics logistic = function(K,r,x0,t) (K*x0*exp(r*t))/(K+x0*(exp(r*t)-1)) # Alternative version of analytic solution of logistic model using Rcpp (~20% faster) if(require(Rcpp)){ cppFunction('NumericVector logistic(float K, float r,...
/code/likelihoodFree.R
permissive
CnrLwlss/likelihood_free_demo
R
false
false
6,410
r
library(MASS) library(parallel) # Analytic solution of logistic model of population dynamics logistic = function(K,r,x0,t) (K*x0*exp(r*t))/(K+x0*(exp(r*t)-1)) # Alternative version of analytic solution of logistic model using Rcpp (~20% faster) if(require(Rcpp)){ cppFunction('NumericVector logistic(float K, float r,...
\name{enviPickbatch} \alias{enviPickbatch} \title{ Batch peak picking for several .mzXML input files } \description{ Given a folder of .mzXML input files and subsequent processing, .csv peak tables with picked peaks are written to an output folder } \usage{ enviPickbatch(folderin, folderout, MSlevel=c(1)...
/man/enviPickbatch.Rd
no_license
cran/enviPick
R
false
false
3,611
rd
\name{enviPickbatch} \alias{enviPickbatch} \title{ Batch peak picking for several .mzXML input files } \description{ Given a folder of .mzXML input files and subsequent processing, .csv peak tables with picked peaks are written to an output folder } \usage{ enviPickbatch(folderin, folderout, MSlevel=c(1)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_elements.R \docType{data} \name{elements} \alias{elements} \title{Data from the periodic table of elements} \format{A data frame with 118 rows and 3 variables: \describe{ \item{Z}{Atomic number} \item{Symbol}{Chemical symbol} \item...
/man/elements.Rd
no_license
domjarkey/relatable
R
false
true
549
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_elements.R \docType{data} \name{elements} \alias{elements} \title{Data from the periodic table of elements} \format{A data frame with 118 rows and 3 variables: \describe{ \item{Z}{Atomic number} \item{Symbol}{Chemical symbol} \item...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.R \name{plot.decomp} \alias{plot.decomp} \title{plot-decomp} \usage{ \method{plot}{decomp}(x, ..., base_size = 12) } \arguments{ \item{x}{a decomp data.frame} \item{...}{additional unused arguments} \item{base_size}{ggplot theme size} ...
/man/plot.decomp.Rd
permissive
wkostelecki/tidyecon
R
false
true
350
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.R \name{plot.decomp} \alias{plot.decomp} \title{plot-decomp} \usage{ \method{plot}{decomp}(x, ..., base_size = 12) } \arguments{ \item{x}{a decomp data.frame} \item{...}{additional unused arguments} \item{base_size}{ggplot theme size} ...
#names(Hans.Gerritsen.13.57.53) # interest names in R script interests <- c('pop', 'life', 'management', 'env', 'gis', 'design') # full names of interestest interests.full <- c('Population dynamics', 'Life history trait, Evolution, genetics', 'Management advice', 'Environmental change, modelling', ...
/2.jim.time.series/registration.forms.analysis/people.main.interests.r
no_license
GuillaumeBal/shiny.registration.form
R
false
false
899
r
#names(Hans.Gerritsen.13.57.53) # interest names in R script interests <- c('pop', 'life', 'management', 'env', 'gis', 'design') # full names of interestest interests.full <- c('Population dynamics', 'Life history trait, Evolution, genetics', 'Management advice', 'Environmental change, modelling', ...
#' Check IDs #' @description Test keys for uniqueness or try to find unique keys #' @param df A data frame #' @param ... Columns within df. These can be quoted or NSE #' @param max_depth The maximum number of columns to look for a unique key among. #' @details The intent of this function is twofold. First, it will test...
/R/check_id.R
no_license
svenhalvorson/SvenR
R
false
false
5,063
r
#' Check IDs #' @description Test keys for uniqueness or try to find unique keys #' @param df A data frame #' @param ... Columns within df. These can be quoted or NSE #' @param max_depth The maximum number of columns to look for a unique key among. #' @details The intent of this function is twofold. First, it will test...
# Detect proper script_path (you cannot use args yet as they are build with tools in set_env.r) script_path <- (function() { args <- commandArgs(trailingOnly = FALSE) script_path <- dirname(sub("--file=", "", args[grep("--file=", args)])) if (!length(script_path)) { return("R") } if (grepl("darwin", R.ver...
/R/wezel_0.R
permissive
WitJakuczun/SMP2019_Optymalizacja_Praktyczna
R
false
false
1,345
r
# Detect proper script_path (you cannot use args yet as they are build with tools in set_env.r) script_path <- (function() { args <- commandArgs(trailingOnly = FALSE) script_path <- dirname(sub("--file=", "", args[grep("--file=", args)])) if (!length(script_path)) { return("R") } if (grepl("darwin", R.ver...
source('image_functions.R') library(tweenr) botero_files <- list.files('botero/', full.names = TRUE) botero_df <- botero_files %>% map(~ process_image(img_file = ., new_size = 100, clust_num = 100)) %>% bind_rows() png('botero_example.png', width = 1800, height = 1800) set.seed(13) b...
/botero_example/botero_example.R
no_license
roguedatascience/art_film_color_decomposition
R
false
false
800
r
source('image_functions.R') library(tweenr) botero_files <- list.files('botero/', full.names = TRUE) botero_df <- botero_files %>% map(~ process_image(img_file = ., new_size = 100, clust_num = 100)) %>% bind_rows() png('botero_example.png', width = 1800, height = 1800) set.seed(13) b...
\name{comparisons} \alias{comparisons} \title{ Create a table of comparisons amongst groups } \description{ Create a table of comparisons based on group estimates and variance-covariance matrix. Pairwise or custom specified contrasts are estimated and tested. } \usage{ comparisons(estimates, varcovmatrix, er...
/man/comparisons.Rd
no_license
cran/cg
R
false
false
11,919
rd
\name{comparisons} \alias{comparisons} \title{ Create a table of comparisons amongst groups } \description{ Create a table of comparisons based on group estimates and variance-covariance matrix. Pairwise or custom specified contrasts are estimated and tested. } \usage{ comparisons(estimates, varcovmatrix, er...
############################################ ## ## ## Investing by numbers ## ## a quantitative trading strategy by ## ## Mathieu Bouville, PhD ## ## <mathieu.bouville@gmail.com> ## ## ## ## ...
/CAPE.r
no_license
m-bouville/investing-by-numbers
R
false
false
31,307
r
############################################ ## ## ## Investing by numbers ## ## a quantitative trading strategy by ## ## Mathieu Bouville, PhD ## ## <mathieu.bouville@gmail.com> ## ## ## ## ...
library(datasets) # Function to read the data from file # Filters out 1/2/2007 and 2/2/2007 # Convert Date field to Date format # Convert Time field to DateTime in POSIXct format # Return a data frame object read_data <- function() { tbl <- read.table("household_power_consumption.txt", sep=";", header=TRUE, stringsA...
/plot4.R
no_license
jonkhoo/ExData_Plotting1
R
false
false
1,462
r
library(datasets) # Function to read the data from file # Filters out 1/2/2007 and 2/2/2007 # Convert Date field to Date format # Convert Time field to DateTime in POSIXct format # Return a data frame object read_data <- function() { tbl <- read.table("household_power_consumption.txt", sep=";", header=TRUE, stringsA...
######### Helpers with Date ########## monnb <- function(d){ lt <- as.POSIXlt(as.Date(d, origin = "1900-01-01")) lt$year*12 + lt$mon } mondf <- function(d1, d2){ monnb(d2) - monnb(d1) } add.months <- function(date, n){ if(day(date) > 28){ day(date) <- day(date) - 7 } format(seq(date, by = paste(1, "mo...
/es_vs_generation.R
no_license
estellad/Network-Analysis-Animation
R
false
false
4,358
r
######### Helpers with Date ########## monnb <- function(d){ lt <- as.POSIXlt(as.Date(d, origin = "1900-01-01")) lt$year*12 + lt$mon } mondf <- function(d1, d2){ monnb(d2) - monnb(d1) } add.months <- function(date, n){ if(day(date) > 28){ day(date) <- day(date) - 7 } format(seq(date, by = paste(1, "mo...
date_time <- function(date, time) { return (strptime(paste(date, time), "%d/%m/%Y %H:%M:%S")) } load_data <- function() { filename <- "./household_power_consumption.txt" df <- read.table(filename, header=TRUE, sep=";", colClasses=c("character",...
/DataPrep.R
no_license
rspandey/ExData_Plotting1
R
false
false
742
r
date_time <- function(date, time) { return (strptime(paste(date, time), "%d/%m/%Y %H:%M:%S")) } load_data <- function() { filename <- "./household_power_consumption.txt" df <- read.table(filename, header=TRUE, sep=";", colClasses=c("character",...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/EM.R \name{ForwardLinear} \alias{ForwardLinear} \title{Adapted Forward Algorithm} \usage{ ForwardLinear(data, time, init, tran, class, max2, max3) } \arguments{ \item{data}{two dimensional matrix for individual. 1st dimension is time 2nd is ...
/man/ForwardLinear.Rd
no_license
liccheung/PartiallyObservedHMM
R
false
true
937
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/EM.R \name{ForwardLinear} \alias{ForwardLinear} \title{Adapted Forward Algorithm} \usage{ ForwardLinear(data, time, init, tran, class, max2, max3) } \arguments{ \item{data}{two dimensional matrix for individual. 1st dimension is time 2nd is ...
#' Remove the dontrun Pieces of Documentation #' #' Allows the creation of documentation with \code{dontrun} for upload but #' removal for staticdocs to a second file without fear of overwritting repo. #' #' @param repo Repo name. #' @param base.git Base path to where repos are store (the repo is stored). #' @param o...
/R/removeDR.R
no_license
dpastoor/acc.roxygen2
R
false
false
1,964
r
#' Remove the dontrun Pieces of Documentation #' #' Allows the creation of documentation with \code{dontrun} for upload but #' removal for staticdocs to a second file without fear of overwritting repo. #' #' @param repo Repo name. #' @param base.git Base path to where repos are store (the repo is stored). #' @param o...
context("test_PBD") test_that("PBD works", { pbd_sim(c(0.2,1,0.2,0.1,0.1),15) expect_equal(2 * 2, 4) res1 <- pbd_ML( brts = 1:10, initparsopt = c(4.62,4.34,0.03), exteq = 1, cond = 1) res2 <- pbd_ML( brts = 1:10, initparsopt = c(4.62,4.34,0.03), exteq = 1, cond = 2...
/data/genthat_extracted_code/PBD/tests/test-test_PBD.R
no_license
surayaaramli/typeRrh
R
false
false
552
r
context("test_PBD") test_that("PBD works", { pbd_sim(c(0.2,1,0.2,0.1,0.1),15) expect_equal(2 * 2, 4) res1 <- pbd_ML( brts = 1:10, initparsopt = c(4.62,4.34,0.03), exteq = 1, cond = 1) res2 <- pbd_ML( brts = 1:10, initparsopt = c(4.62,4.34,0.03), exteq = 1, cond = 2...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/NER_processing.R \name{tag_dates} \alias{tag_dates} \title{Finds dates between 1200-1900} \usage{ tag_dates(vec, mindate = 1100, maxdate = 1900) } \arguments{ \item{vec}{text} \item{mindate}{temp} \item{maxdate}{temp} } \value{ vect...
/code/SDFBFunctions/man/tag_dates.Rd
no_license
wallingTACC/sdfb_network
R
false
false
396
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/NER_processing.R \name{tag_dates} \alias{tag_dates} \title{Finds dates between 1200-1900} \usage{ tag_dates(vec, mindate = 1100, maxdate = 1900) } \arguments{ \item{vec}{text} \item{mindate}{temp} \item{maxdate}{temp} } \value{ vect...
rm(list=ls()) gc() # build population --------------------------------------------------------------------- library(tidyverse) library(DeclareDesign) # have population probabilities for each subgroup school_achievement_levels = paste0("school", 1:3) # used to be 1:4 minority_com...
/dg_process/generate_population_v1.R
permissive
alexgao09/causal_mrp_public
R
false
false
14,764
r
rm(list=ls()) gc() # build population --------------------------------------------------------------------- library(tidyverse) library(DeclareDesign) # have population probabilities for each subgroup school_achievement_levels = paste0("school", 1:3) # used to be 1:4 minority_com...
load('rda/merged_sstRma_results.rda',verbose=T) library(dplyr) library(ggplot2) library('ggrepel') theme_set(theme_bw(base_size=24) + theme(panel.grid.major = element_blank(), panel.grid.minor = element_blank(), plot.title = element_text(hjust = 0.5), l...
/checking_for_trt_rescued_genes.R
no_license
SteveSemick/GWI_rat_microarray
R
false
false
4,723
r
load('rda/merged_sstRma_results.rda',verbose=T) library(dplyr) library(ggplot2) library('ggrepel') theme_set(theme_bw(base_size=24) + theme(panel.grid.major = element_blank(), panel.grid.minor = element_blank(), plot.title = element_text(hjust = 0.5), l...
# Reading the csv file data <- read.csv('mushrooms.csv') str(data) library(caTools) set.seed(88) # spliting the data as train and test split <- sample.split(train$class, SplitRatio = 0.8) dresstrain <- subset(train, split == TRUE) dresstest <- subset(train, split == FALSE) # Logistic Model model <- glm (class ~capsurfa...
/Mushrooms/Code/mushrooms_logistic regression.R
no_license
PIYUSHOJHA/Mushrooms
R
false
false
1,084
r
# Reading the csv file data <- read.csv('mushrooms.csv') str(data) library(caTools) set.seed(88) # spliting the data as train and test split <- sample.split(train$class, SplitRatio = 0.8) dresstrain <- subset(train, split == TRUE) dresstest <- subset(train, split == FALSE) # Logistic Model model <- glm (class ~capsurfa...
#download file from web fileurl <- ("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip") download.file(fileurl, destfile = "power_consumption.zip") # memory required = no. of column * no. of rows * 8 bytes # rows= 2,075,259 and columns = 9 -> ca. 149 MB of RAM memory required to re...
/Documenti/Exploratory Data Analysis/project_1/plot4.R
no_license
semola2006/RepData_PeerAssessment1
R
false
false
2,276
r
#download file from web fileurl <- ("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip") download.file(fileurl, destfile = "power_consumption.zip") # memory required = no. of column * no. of rows * 8 bytes # rows= 2,075,259 and columns = 9 -> ca. 149 MB of RAM memory required to re...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/scale_viridis_interactive.R \name{scale_viridis_interactive} \alias{scale_viridis_interactive} \alias{scale_colour_viridis_d_interactive} \alias{scale_color_viridis_d_interactive} \alias{scale_fill_viridis_d_interactive} \alias{scale_colour_v...
/man/scale_viridis_interactive.Rd
no_license
sigmapi/ggiraph
R
false
true
6,185
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/scale_viridis_interactive.R \name{scale_viridis_interactive} \alias{scale_viridis_interactive} \alias{scale_colour_viridis_d_interactive} \alias{scale_color_viridis_d_interactive} \alias{scale_fill_viridis_d_interactive} \alias{scale_colour_v...
####__________HW_2___BAYESIAN_ANALYSIS_SPRING_2019_______EVAN_WALKER____### #install.packages("R2OpenBUGS") library(R2OpenBUGS) setwd("D:\\Mathemagic\\Spring2019\\Bayesian_Analysis") ###########_____PROBLEM_1_____############ #####_______LINEAR_REG_________##### d1=read.table("lowbwt.dat",header=TRUE) d1=d1[...
/HW_2_Bayesian.R
no_license
Ewalk21/Bayesian_Analysis
R
false
false
2,744
r
####__________HW_2___BAYESIAN_ANALYSIS_SPRING_2019_______EVAN_WALKER____### #install.packages("R2OpenBUGS") library(R2OpenBUGS) setwd("D:\\Mathemagic\\Spring2019\\Bayesian_Analysis") ###########_____PROBLEM_1_____############ #####_______LINEAR_REG_________##### d1=read.table("lowbwt.dat",header=TRUE) d1=d1[...
library(data.table) library(rpart) library(randomForest) install.packages("MLmetrics") library(MLmetrics) library(tree) train <-fread("C:/Users/akabo/OneDrive/Desktop/title.csv",stringsAsFactors=TRUE) TrainData1 <-fread("C:/Users/akabo/OneDrive/Desktop/GaryTrain/Train-006.csv") TrainData2 <-fread("C:/Users/akabo/OneD...
/rpart and datatable.R
no_license
akaboshi900306/click-through-machine-learning-final-project
R
false
false
5,825
r
library(data.table) library(rpart) library(randomForest) install.packages("MLmetrics") library(MLmetrics) library(tree) train <-fread("C:/Users/akabo/OneDrive/Desktop/title.csv",stringsAsFactors=TRUE) TrainData1 <-fread("C:/Users/akabo/OneDrive/Desktop/GaryTrain/Train-006.csv") TrainData2 <-fread("C:/Users/akabo/OneD...
png(filename="I:/Moje dokumenty/ExploDataAs1/plot4.png") par(mfrow = c(2, 2)) plot(MyData$Datetime, MyData$Global_active_power, type = "l", ylab = "Global Active Power", xlab = "") plot(MyData$Datetime, MyData$Voltage, type = "l", ylab = "Voltage", xlab = "datetime") plot(MyData$Datetime, MyData$Sub_metering_1...
/plot4.R
no_license
HanaKut/ExData_Plotting1
R
false
false
993
r
png(filename="I:/Moje dokumenty/ExploDataAs1/plot4.png") par(mfrow = c(2, 2)) plot(MyData$Datetime, MyData$Global_active_power, type = "l", ylab = "Global Active Power", xlab = "") plot(MyData$Datetime, MyData$Voltage, type = "l", ylab = "Voltage", xlab = "datetime") plot(MyData$Datetime, MyData$Sub_metering_1...
# ------------------------------------------------------------------------------ # Program Name: # Author(s): Leyang Feng # Date Last Updated: Nov 22, 2016 # Program Purpose: # Input Files: # Output Files: # Notes: # TODO: # ------------------------------------------------------------------------------ # ------...
/code/module-A/A3.1.GCAM_sector_removal.R
no_license
fengly20/gcam_emissions_harmonization
R
false
false
3,880
r
# ------------------------------------------------------------------------------ # Program Name: # Author(s): Leyang Feng # Date Last Updated: Nov 22, 2016 # Program Purpose: # Input Files: # Output Files: # Notes: # TODO: # ------------------------------------------------------------------------------ # ------...
## pi pi ## greated common divisor gcd <- function(x, y) { ifelse(r <- x %% y, Recall(y, r), y) } gcd(5040, 1024) ## common factors factors <- function(...) { factors_ <- function(x) { y <- seq_len(abs(x)) y[x %% y == 0L] } Reduce(intersect, lapply(as.integer(c(...)), factors_)) } rawr::factors(2...
/inst/scripts/pi.R
no_license
raredd/fun
R
false
false
982
r
## pi pi ## greated common divisor gcd <- function(x, y) { ifelse(r <- x %% y, Recall(y, r), y) } gcd(5040, 1024) ## common factors factors <- function(...) { factors_ <- function(x) { y <- seq_len(abs(x)) y[x %% y == 0L] } Reduce(intersect, lapply(as.integer(c(...)), factors_)) } rawr::factors(2...
## Eigenanalysis # 创建邻接矩阵A的转置矩阵AT AT <- matrix(c(0,1,0,1,1,0,0,1,1,1,1,0,0,1,0,0,0,0,0,1,0,0,1,0,0),5,5) AT alpha <- 1 eigen(AT) # 求得AT的特征矩阵 r <- eigen(AT) $ vector[,1] r <- as.numeric(r/sum(r)) r # 求出特征向量 # [1] 0.1355298 0.0816788 0.2248849 0.2664334 0.2914731 6-rank(r) # [1] 4 5 3 2 1 # 可见,第5个页面应该排在第一...
/SC2019Lab-8-祝宇和-16081122.R
no_license
anhnguyendepocen/SC2019-assignments
R
false
false
397
r
## Eigenanalysis # 创建邻接矩阵A的转置矩阵AT AT <- matrix(c(0,1,0,1,1,0,0,1,1,1,1,0,0,1,0,0,0,0,0,1,0,0,1,0,0),5,5) AT alpha <- 1 eigen(AT) # 求得AT的特征矩阵 r <- eigen(AT) $ vector[,1] r <- as.numeric(r/sum(r)) r # 求出特征向量 # [1] 0.1355298 0.0816788 0.2248849 0.2664334 0.2914731 6-rank(r) # [1] 4 5 3 2 1 # 可见,第5个页面应该排在第一...
# ---- STANDARD ARIMA ---- context("TEST arima_boost: arima_xgboost") library(testthat) library(xgboost) library(randomForest) library(kernlab) library(earth) library(stats) library(tidymodels) library(parsnip) library(workflows) library(rsample) library(recipes) library(tune) library(dials) library(yardstick) library...
/tests/testthat/test-algo-arima_boost-Arima.R
permissive
ntag1618/modeltime
R
false
false
7,405
r
# ---- STANDARD ARIMA ---- context("TEST arima_boost: arima_xgboost") library(testthat) library(xgboost) library(randomForest) library(kernlab) library(earth) library(stats) library(tidymodels) library(parsnip) library(workflows) library(rsample) library(recipes) library(tune) library(dials) library(yardstick) library...
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(DT) # Run the application shinyApp(ui = ui, server = server)
/app.R
no_license
annasza995/regression
R
false
false
290
r
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(DT) # Run the application shinyApp(ui = ui, server = server)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/importannotation.R \name{importannotation} \alias{importannotation} \title{Import annotations from Excel (xlsx or xsl) or text (txt) files} \usage{ importannotation() } \value{ A data frame ,pRoannot class object, containing the description o...
/man/importannotation.Rd
permissive
Valledor/pRocessomics
R
false
true
1,666
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/importannotation.R \name{importannotation} \alias{importannotation} \title{Import annotations from Excel (xlsx or xsl) or text (txt) files} \usage{ importannotation() } \value{ A data frame ,pRoannot class object, containing the description o...
require(RTextTools) require(sqldf) fetch_sim<-function(tag) { tag<-toString(tag) titles<-paste0("SELECT title FROM training_data_set where tag1='",tag,"' FETCH FIRST 5 ROWS ONLY") result<-sqldf(titles,dbname='training_data',user="CASH",password="1992") return(result) } prediction <- function(Title, Body){ ...
/Prediction.R
no_license
KashmiraDolas/tagPredictor
R
false
false
958
r
require(RTextTools) require(sqldf) fetch_sim<-function(tag) { tag<-toString(tag) titles<-paste0("SELECT title FROM training_data_set where tag1='",tag,"' FETCH FIRST 5 ROWS ONLY") result<-sqldf(titles,dbname='training_data',user="CASH",password="1992") return(result) } prediction <- function(Title, Body){ ...
\name{rubber} \alias{rubber} \docType{data} \title{ Split-split plot design of Curerate index } \description{ A study of the cure rate index on some samples of rubber. Three laboratories, three temperatures and three types of mix were involved. Once a temperature was set, all three mixes were subjected to that t...
/man/rubber.Rd
no_license
hyemin15/EMSaov
R
false
false
1,046
rd
\name{rubber} \alias{rubber} \docType{data} \title{ Split-split plot design of Curerate index } \description{ A study of the cure rate index on some samples of rubber. Three laboratories, three temperatures and three types of mix were involved. Once a temperature was set, all three mixes were subjected to that t...
ComputeFIP = function(df){ HR = sum(df$HR, na.rm = TRUE) BB = sum(df$BB, na.rm = TRUE) SO = sum(df$SO, na.rm = TRUE) IP = sum(df$IP, na.rm = TRUE) HBP = sum(df$HBP, na.rm = TRUE) FIP = (13*HR + 3*(BB + HBP) - 2*SO)/(IP) + df$FIPC[1] FIP }
/11-14-16 Predicting Wins/ComputeFIP.R
no_license
nkk36/Learning-Machine-Learning
R
false
false
271
r
ComputeFIP = function(df){ HR = sum(df$HR, na.rm = TRUE) BB = sum(df$BB, na.rm = TRUE) SO = sum(df$SO, na.rm = TRUE) IP = sum(df$IP, na.rm = TRUE) HBP = sum(df$HBP, na.rm = TRUE) FIP = (13*HR + 3*(BB + HBP) - 2*SO)/(IP) + df$FIPC[1] FIP }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/setse.R \name{setse} \alias{setse} \title{Basic SETSe embedding} \usage{ setse( g, force = "force", distance = "distance", edge_name = "edge_name", k = "k", tstep = 0.02, mass = 1, max_iter = 20000, coef_drag = 1, tol = 1e...
/man/setse.Rd
no_license
cran/rsetse
R
false
true
3,826
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/setse.R \name{setse} \alias{setse} \title{Basic SETSe embedding} \usage{ setse( g, force = "force", distance = "distance", edge_name = "edge_name", k = "k", tstep = 0.02, mass = 1, max_iter = 20000, coef_drag = 1, tol = 1e...
context("fetchSDA() -- requires internet connection") ## sample data: these should run in < 3 seconds test_that("fetchSDA() works", { skip_if_offline() skip_on_cran() # single component x <<- suppressMessages(fetchSDA(WHERE="nationalmusym = 'kzc4'")) # basic test expect_true(inherits(x, 'SoilProfileC...
/tests/testthat/test-fetchSDA_component.R
no_license
sow-ibrahima/soilDB
R
false
false
1,039
r
context("fetchSDA() -- requires internet connection") ## sample data: these should run in < 3 seconds test_that("fetchSDA() works", { skip_if_offline() skip_on_cran() # single component x <<- suppressMessages(fetchSDA(WHERE="nationalmusym = 'kzc4'")) # basic test expect_true(inherits(x, 'SoilProfileC...
#TCGA-ZU-A8S4-11A-60e3b4d8-081a-4247-8144-3cce35345dbf.ele.cntTable countTEs <- function(rawfile, discountfile, by, TEnamecols) { rawcnts <- read.table(paste("../data/TET/",as.character(rawfile), sep="/"), header=FALSE) m <- matrix(unlist(strsplit(as.character(rawcnts[, 1]), ":")), ncol = TEnamecols, byrow = TRU...
/src/discount.r
no_license
HanLabUNLV/TEcoex
R
false
false
3,358
r
#TCGA-ZU-A8S4-11A-60e3b4d8-081a-4247-8144-3cce35345dbf.ele.cntTable countTEs <- function(rawfile, discountfile, by, TEnamecols) { rawcnts <- read.table(paste("../data/TET/",as.character(rawfile), sep="/"), header=FALSE) m <- matrix(unlist(strsplit(as.character(rawcnts[, 1]), ":")), ncol = TEnamecols, byrow = TRU...
#' Creating monthly table #' #' This function takes monthly table data and used the gt package to create a #' table. The adjusted disease, monthly counts, and summary statistics are #' shown. #' #' @param create_monthly_data A tbl_df of monthly data. #' @param group A character indicating the disease group. #' #' @retu...
/R/creating_monthly_table.R
no_license
timchisamore/dophs_surveillance
R
false
false
1,530
r
#' Creating monthly table #' #' This function takes monthly table data and used the gt package to create a #' table. The adjusted disease, monthly counts, and summary statistics are #' shown. #' #' @param create_monthly_data A tbl_df of monthly data. #' @param group A character indicating the disease group. #' #' @retu...
############################# # Post-process model output # ############################# #rm(list = ls()) repo <- "H:/message_trade/" wd <- "H:/data/" library('shiny') library('tidyr') library('plyr') library('magrittr') library('ggplot2') library('readxl') #library('gdxrrw') # install from github (lolow/gdxtools) li...
/analysis/5_post_process/shiny/SA_emissionfactor/config_post_process.R
no_license
junukitashepard/message_trade
R
false
false
6,333
r
############################# # Post-process model output # ############################# #rm(list = ls()) repo <- "H:/message_trade/" wd <- "H:/data/" library('shiny') library('tidyr') library('plyr') library('magrittr') library('ggplot2') library('readxl') #library('gdxrrw') # install from github (lolow/gdxtools) li...
library(doParallel) ### Studpid Backoff model predfinal <- function(input) { ### Give n-gram used for predicition predgram <- grep(guess, fourgram[,1], value = TRUE)[1] ## Gives prediction pred <<- unlist(strsplit(predgram, split = "_"))[length(unlist(st...
/BackoffModel.R
no_license
cdolan04/DataScienceCapstone
R
false
false
2,626
r
library(doParallel) ### Studpid Backoff model predfinal <- function(input) { ### Give n-gram used for predicition predgram <- grep(guess, fourgram[,1], value = TRUE)[1] ## Gives prediction pred <<- unlist(strsplit(predgram, split = "_"))[length(unlist(st...
# Compare the two runs of the models #' Compare two different estimations of biomass movement #' #' This function compares - graphically and analytically - two estimations of #' biomass movement over the same domain, which will usually be the results of #' two different algorithms. #' #' The objects \code{N1} and ...
/R/biomass.compare.R
no_license
AustralianAntarcticDivision/BioMassTracking
R
false
false
3,264
r
# Compare the two runs of the models #' Compare two different estimations of biomass movement #' #' This function compares - graphically and analytically - two estimations of #' biomass movement over the same domain, which will usually be the results of #' two different algorithms. #' #' The objects \code{N1} and ...
nlmLSODAcp <- function (model, data, LogParms = TRUE, JAC = FALSE, SEQ = FALSE, rtol = 1e-4, atol = 1e-4, tcrit = NULL, hmin = 0, hmax = Inf) { nameData <- attr(data, "formula") nameTime <- as.character(nameData[[3]][[2]]) nameSubject <- as.character(nameData[[3]][[3]]) if (length(nameSubje...
/insideRODE/R/nlmLSODAcp.R
no_license
ingted/R-Examples
R
false
false
41,790
r
nlmLSODAcp <- function (model, data, LogParms = TRUE, JAC = FALSE, SEQ = FALSE, rtol = 1e-4, atol = 1e-4, tcrit = NULL, hmin = 0, hmax = Inf) { nameData <- attr(data, "formula") nameTime <- as.character(nameData[[3]][[2]]) nameSubject <- as.character(nameData[[3]][[3]]) if (length(nameSubje...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/result.R \name{importModule} \alias{importModule} \title{Import from a module archive} \usage{ importModule(tarfile, name) } \arguments{ \item{tarfile}{File path to module archive} \item{name}{Module name} } \value{ \code{module} object } \d...
/man/importModule.Rd
no_license
anhinton/conduit
R
false
true
837
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/result.R \name{importModule} \alias{importModule} \title{Import from a module archive} \usage{ importModule(tarfile, name) } \arguments{ \item{tarfile}{File path to module archive} \item{name}{Module name} } \value{ \code{module} object } \d...
# Define normalization function normalize <- function(x){ normalized_x <- (x - min(x))/(max(x) - min(x)) return (normalized_x) } College <- read.csv(file = "College.csv", header = T) dim(College) # Remove the bad data point(s) College <- College[which(College$Grad.Rate <= 100), ] dim(College) # Extract som...
/dsa-6000/20191112.R
no_license
borodark/wsu
R
false
false
2,276
r
# Define normalization function normalize <- function(x){ normalized_x <- (x - min(x))/(max(x) - min(x)) return (normalized_x) } College <- read.csv(file = "College.csv", header = T) dim(College) # Remove the bad data point(s) College <- College[which(College$Grad.Rate <= 100), ] dim(College) # Extract som...
#'@title Local Fréchet regression of conditional covariance matrices with Log-Cholesky and Cholesky metric #'@noRd #'@description Local Fréchet regression of covariance matrices with Euclidean predictors. #' #'@param x an n by p matrix of predictors. #'@param M an q by q by n array (resp. a list of q by q matrices) whe...
/R/LFRCovCholesky.R
no_license
Satarupa3671/tFrechet
R
false
false
7,871
r
#'@title Local Fréchet regression of conditional covariance matrices with Log-Cholesky and Cholesky metric #'@noRd #'@description Local Fréchet regression of covariance matrices with Euclidean predictors. #' #'@param x an n by p matrix of predictors. #'@param M an q by q by n array (resp. a list of q by q matrices) whe...
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.31584307392677e+77, 9.51423243798898e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L))) result <- do.call(CNull:::communities_individual_...
/CNull/inst/testfiles/communities_individual_based_sampling_alpha/AFL_communities_individual_based_sampling_alpha/communities_individual_based_sampling_alpha_valgrind_files/1615769730-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
362
r
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.31584307392677e+77, 9.51423243798898e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L))) result <- do.call(CNull:::communities_individual_...
# All functions related to loading the data # # loading xlsx file # f_loading_xlsx <- function(path, sheetname = "statistiek"){ # # raw_import_data <- read.xlsx(xlsxFile = path,sheet = sheetname) # return(raw_import_data) # } f_loading_xlsx <- function(path, sheetname = "statistiek") { out <- tryCatch( ...
/statisticalapp/server/loadingdata.R
permissive
dbaets/PCH_StatisticalApplication
R
false
false
1,521
r
# All functions related to loading the data # # loading xlsx file # f_loading_xlsx <- function(path, sheetname = "statistiek"){ # # raw_import_data <- read.xlsx(xlsxFile = path,sheet = sheetname) # return(raw_import_data) # } f_loading_xlsx <- function(path, sheetname = "statistiek") { out <- tryCatch( ...
# ================================================================================================= # Script Name: Read PDF tables # ================================================================================================= # # Create Date: 2018-12-19 # Author: Jay Bekt...
/read_PDF_tables.R
no_license
Jay-Bektasevic/R_Scripts
R
false
false
6,659
r
# ================================================================================================= # Script Name: Read PDF tables # ================================================================================================= # # Create Date: 2018-12-19 # Author: Jay Bekt...
importData <- function() { ## Set working directory setwd("~/Documents/Coursera/CourseraDataScience/02_R-Programming") ## Download and unzip file # Store URL fileUrl <- "https://d396qusza40orc.cloudfront.net/rprog%2Fdata%2FProgAssignment3-data.zip" # Create (virtual) temporary file to store zip archive temp <- ...
/02_R-Programming/rankall.R
no_license
NSteinhoff/datasciencecoursera
R
false
false
1,917
r
importData <- function() { ## Set working directory setwd("~/Documents/Coursera/CourseraDataScience/02_R-Programming") ## Download and unzip file # Store URL fileUrl <- "https://d396qusza40orc.cloudfront.net/rprog%2Fdata%2FProgAssignment3-data.zip" # Create (virtual) temporary file to store zip archive temp <- ...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/dcf.R \name{equiv.rate} \alias{equiv.rate} \title{Equivalent Rates under different Compounding Conventions} \usage{ equiv.rate(rate, from.freq = 1, to.freq = 1) } \arguments{ \item{rate}{The interest rate in decimal (0.10 or 10e-2 for...
/man/equiv.rate.Rd
no_license
ashokkumar2016/jrvFinance
R
false
false
847
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/dcf.R \name{equiv.rate} \alias{equiv.rate} \title{Equivalent Rates under different Compounding Conventions} \usage{ equiv.rate(rate, from.freq = 1, to.freq = 1) } \arguments{ \item{rate}{The interest rate in decimal (0.10 or 10e-2 for...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot-topology.R \name{plotTopology} \alias{plotTopology} \alias{plotData} \alias{plotCorrelation} \alias{plotNetwork} \alias{plotContribution} \alias{plotDegree} \alias{plotSummary} \title{Plot a topological feature of network module} \usage{...
/man/plotTopology.Rd
no_license
rintukutum/NetRep
R
false
true
27,967
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot-topology.R \name{plotTopology} \alias{plotTopology} \alias{plotData} \alias{plotCorrelation} \alias{plotNetwork} \alias{plotContribution} \alias{plotDegree} \alias{plotSummary} \title{Plot a topological feature of network module} \usage{...
print.EM <- function(x){ cat("#### EM for Gaussian Mixture Model ####\n") cat("# of cluster:",length(x$alpha),"\n") cat("n_iter:",x$iter,"\n\n") #cluster mean: meandf = t(data.frame(x$mean)) rownames(meandf) = 1:length(x$alpha) cat("$cluster means:\n") print(meandf) cat("\n$cluster vector:\n") print...
/Ruby2/R/print.EM.R
no_license
hyades910739/cluster_NIPS
R
false
false
388
r
print.EM <- function(x){ cat("#### EM for Gaussian Mixture Model ####\n") cat("# of cluster:",length(x$alpha),"\n") cat("n_iter:",x$iter,"\n\n") #cluster mean: meandf = t(data.frame(x$mean)) rownames(meandf) = 1:length(x$alpha) cat("$cluster means:\n") print(meandf) cat("\n$cluster vector:\n") print...
#Reading data from the file data_full <- read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?") #Subseting data_full by specified dates data1 <- subset(data_full, Date %in% c("1/2/2007","2/2/2007")) data1$Date <- as.Date(data1$Date, format="%d/%m/%Y") #Saving Plot as PNG files of 480x480 pix...
/plot1.R
no_license
Arindita210/ExData_Plotting1
R
false
false
543
r
#Reading data from the file data_full <- read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?") #Subseting data_full by specified dates data1 <- subset(data_full, Date %in% c("1/2/2007","2/2/2007")) data1$Date <- as.Date(data1$Date, format="%d/%m/%Y") #Saving Plot as PNG files of 480x480 pix...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/misc.R \name{uniqueFeatures} \alias{uniqueFeatures} \title{Table of features unique to a group} \usage{ uniqueFeatures(obj, cl, nsamples = 0, nreads = 0) } \arguments{ \item{obj}{Either a MRexperiment object or matrix.} \item{cl}{A vector re...
/man/uniqueFeatures.Rd
no_license
alenzhao/metagenomeSeq
R
false
true
813
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/misc.R \name{uniqueFeatures} \alias{uniqueFeatures} \title{Table of features unique to a group} \usage{ uniqueFeatures(obj, cl, nsamples = 0, nreads = 0) } \arguments{ \item{obj}{Either a MRexperiment object or matrix.} \item{cl}{A vector re...
CleanFixations <- function(out, dur.thresh, dist.thresh){ # select events fix <- ComputeDurDist(out[out$msg == "FIX", ]) fix$num <- 1:nrow(fix) # FIX: number of fixations sac <- out[out$msg == "SAC" | out$msg == "BLINK", ] i <- 1 while (i <= nrow(fix)) { merge.before = F merge.after...
/R/CleanFixations.R
no_license
Fanxi11/popEye
R
false
false
2,377
r
CleanFixations <- function(out, dur.thresh, dist.thresh){ # select events fix <- ComputeDurDist(out[out$msg == "FIX", ]) fix$num <- 1:nrow(fix) # FIX: number of fixations sac <- out[out$msg == "SAC" | out$msg == "BLINK", ] i <- 1 while (i <= nrow(fix)) { merge.before = F merge.after...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nh4Criteria.R \name{nh4Criteria} \alias{nh4Criteria} \title{Calculate Oregon DEQ water quality criteria for ammonia} \usage{ nh4Criteria(pH, Cel, toxicity = c("chronic", "acute"), salmonids = FALSE) } \arguments{ \item{pH}{a water pH for the ...
/man/nh4Criteria.Rd
no_license
jasonelaw/ORDEQWaterQualityCriteria
R
false
true
1,183
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nh4Criteria.R \name{nh4Criteria} \alias{nh4Criteria} \title{Calculate Oregon DEQ water quality criteria for ammonia} \usage{ nh4Criteria(pH, Cel, toxicity = c("chronic", "acute"), salmonids = FALSE) } \arguments{ \item{pH}{a water pH for the ...
require(ggplot2) require(ggmap) require(markdown) require(rmarkdown) require(shiny) # Define UI for miles per gallon application shinyUI(pageWithSidebar( ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ## Application title ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
/ShinyApp/ui.R
no_license
benjamin-berhault/developing-data-products
R
false
false
3,706
r
require(ggplot2) require(ggmap) require(markdown) require(rmarkdown) require(shiny) # Define UI for miles per gallon application shinyUI(pageWithSidebar( ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ## Application title ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pexfix.R \name{print.metaan.era} \alias{print.metaan.era} \title{Pooled excess risk estimate using the fixed effect model meta-analysis} \usage{ \method{print}{metaan.era}(x, ...) } \arguments{ \item{x}{Object of class metaan.era} \item{...}...
/Metaan/man/metaan.era.Rd
no_license
Package-Metaan-Rep/Package_Metaan
R
false
true
481
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pexfix.R \name{print.metaan.era} \alias{print.metaan.era} \title{Pooled excess risk estimate using the fixed effect model meta-analysis} \usage{ \method{print}{metaan.era}(x, ...) } \arguments{ \item{x}{Object of class metaan.era} \item{...}...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trophic_ecology.R \name{popqb} \alias{popqb} \title{popqb} \usage{ popqb(species_list = NULL, fields = NULL, query = NULL, limit = 200, server = getOption("FISHBASE_API", FISHBASE_API), ...) } \arguments{ \item{species_list}{A vector of sci...
/man/popqb.Rd
no_license
annakrystalli/rfishbase
R
false
true
1,430
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trophic_ecology.R \name{popqb} \alias{popqb} \title{popqb} \usage{ popqb(species_list = NULL, fields = NULL, query = NULL, limit = 200, server = getOption("FISHBASE_API", FISHBASE_API), ...) } \arguments{ \item{species_list}{A vector of sci...
vec1 = c(rownames(mtcars[1:15,])) vec2 = c(rownames(mtcars[10:32,])) # Problem 1 union_v12 <- union(vec1, vec2) # Problem 2 intersect_v12 <- intersect(vec1, vec2) # Problem 3 diff_v12 <- setdiff(vec1,vec2) diff_v21 <- setdiff(vec2,vec1) # Problem 4 vec3 = c(rownames(mtcars[1:15,])) vec4 = c(rownames(mtcar...
/ACD_BART1_Session_5_Assignment_2_Solution.R
no_license
vimalprnr/Data_Management_Using_R_Assignment_2
R
false
false
2,193
r
vec1 = c(rownames(mtcars[1:15,])) vec2 = c(rownames(mtcars[10:32,])) # Problem 1 union_v12 <- union(vec1, vec2) # Problem 2 intersect_v12 <- intersect(vec1, vec2) # Problem 3 diff_v12 <- setdiff(vec1,vec2) diff_v21 <- setdiff(vec2,vec1) # Problem 4 vec3 = c(rownames(mtcars[1:15,])) vec4 = c(rownames(mtcar...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{simVBIA} \alias{simVBIA} \title{Simulate estimation after blinded interim analyses} \usage{ simVBIA(delta, sigma, d, n1, alpha = 0.025, beta = 0.2, v = 1/2, s = zsd(n1, d, v, alpha, beta), runs, n2 = n1, n2min = 0, n2max =...
/man/simVBIA.Rd
permissive
floatofmath/blindConfidence
R
false
true
3,132
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{simVBIA} \alias{simVBIA} \title{Simulate estimation after blinded interim analyses} \usage{ simVBIA(delta, sigma, d, n1, alpha = 0.025, beta = 0.2, v = 1/2, s = zsd(n1, d, v, alpha, beta), runs, n2 = n1, n2min = 0, n2max =...
#' Tabulate survey design objects by a categorical and another stratifying variable #' #' @param x a survey design object #' #' @param var the bare name of a categorical variable #' #' @param strata a variable to stratify the results by #' #' @param pretty if `TRUE`, default, the proportion and CI are merged #' #' @par...
/R/tabulate_survey.R
permissive
kdoyle514/sitrep
R
false
false
21,041
r
#' Tabulate survey design objects by a categorical and another stratifying variable #' #' @param x a survey design object #' #' @param var the bare name of a categorical variable #' #' @param strata a variable to stratify the results by #' #' @param pretty if `TRUE`, default, the proportion and CI are merged #' #' @par...
############################# # Choose simulation parameter # values # fix prevalence ~ 15-20% # fix alphas = 0.5, -0.5 # record total case + control ############################# library(plyr) library(mvtnorm) library(R.utils) sourceDirectory('Documents/research/dataInt/R/') #### Prism Principal Components caPr <-...
/studies/simParams_size.R
no_license
brianconroy/dataInt
R
false
false
1,890
r
############################# # Choose simulation parameter # values # fix prevalence ~ 15-20% # fix alphas = 0.5, -0.5 # record total case + control ############################# library(plyr) library(mvtnorm) library(R.utils) sourceDirectory('Documents/research/dataInt/R/') #### Prism Principal Components caPr <-...
ui = fluidPage(shinyUI( dashboardPage( dashboardHeader(title = "Economist Intelligence Unit Democracy Indices", titleWidth = 500), dashboardSidebar( sidebarMenu( menuItem('Map', tabName = 'map'), menuItem('Chart', tabName = 'chart') ) ), dashboa...
/ui.R
no_license
gvfortunato/EIU_shinyapp
R
false
false
933
r
ui = fluidPage(shinyUI( dashboardPage( dashboardHeader(title = "Economist Intelligence Unit Democracy Indices", titleWidth = 500), dashboardSidebar( sidebarMenu( menuItem('Map', tabName = 'map'), menuItem('Chart', tabName = 'chart') ) ), dashboa...
#' Rbinds raw list data into tables #' #' @param x a list with raw data #' @param id A vector or list with id columns. Use only together with \code{intrCallWrap}. #' @noRd #' @return returns data in specified format, determined with \code{\link{intrOptions}} intrRbind <- function(x, id = NULL, outFormat = intrOptions()...
/R/postProcessing.R
no_license
ksavin/intrinio
R
false
false
827
r
#' Rbinds raw list data into tables #' #' @param x a list with raw data #' @param id A vector or list with id columns. Use only together with \code{intrCallWrap}. #' @noRd #' @return returns data in specified format, determined with \code{\link{intrOptions}} intrRbind <- function(x, id = NULL, outFormat = intrOptions()...
# Until testthat gets this feature verify_errors <- function(x) { x }
/tests/testthat/helper-output.R
permissive
DavisVaughan/rray2
R
false
false
72
r
# Until testthat gets this feature verify_errors <- function(x) { x }
\name{createar} \alias{createar} \title{AR process time series} \usage{ createar(N, a, sig, dt) } \arguments{ \item{N}{Number of data points} \item{a}{vector of AR coefficients} \item{sig}{sqrt of variance of the process} \item{dt}{sampling time} } \value{ Returns time series object of AR process } \desc...
/man/createar.Rd
no_license
Ketua76/SOWAS
R
false
false
513
rd
\name{createar} \alias{createar} \title{AR process time series} \usage{ createar(N, a, sig, dt) } \arguments{ \item{N}{Number of data points} \item{a}{vector of AR coefficients} \item{sig}{sqrt of variance of the process} \item{dt}{sampling time} } \value{ Returns time series object of AR process } \desc...
#' Summarise and mutate multiple columns. #' #' @description #' These verbs are [scoped] variants of [summarise()], [mutate()] and #' [transmute()]. They apply operations on a selection of variables. #' #' * `summarise_all()`, `mutate_all()` and `transmute_all()` apply the #' functions to all (non-grouping) columns. ...
/R/colwise-mutate.R
permissive
matiocre/dplyr
R
false
false
8,240
r
#' Summarise and mutate multiple columns. #' #' @description #' These verbs are [scoped] variants of [summarise()], [mutate()] and #' [transmute()]. They apply operations on a selection of variables. #' #' * `summarise_all()`, `mutate_all()` and `transmute_all()` apply the #' functions to all (non-grouping) columns. ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gspam.R \name{plot.gspam.cv} \alias{plot.gspam.cv} \title{Plot the mean loss vs log lambda} \usage{ \method{plot}{gspam.cv}(x) } \arguments{ \item{x}{fitted gspam.cv object} } \description{ Plots the mean of specified loss vs log(lambda1) for...
/man/plot.gspam.cv.Rd
no_license
CaptainTsao/gspam
R
false
true
348
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gspam.R \name{plot.gspam.cv} \alias{plot.gspam.cv} \title{Plot the mean loss vs log lambda} \usage{ \method{plot}{gspam.cv}(x) } \arguments{ \item{x}{fitted gspam.cv object} } \description{ Plots the mean of specified loss vs log(lambda1) for...
/Rcode_Naive Bayes.R
no_license
sawantmayur47/1-Alert
R
false
false
1,673
r
library(roxygen2) # check_prob tests if an input prob is a valid probability value (i.e. 0 ≤ p ≤ 1) check_prob <- function(prob) { if(prob >= 0 & prob<=1) { return(TRUE) } else { stop('p has to be a number betwen 0 and 1') } } # check_trials() tests if an input trials is a valid value for number of tria...
/binomial/R/functions.R
no_license
stat133-sp19/hw-stat133-jacquiwood1
R
false
false
8,381
r
library(roxygen2) # check_prob tests if an input prob is a valid probability value (i.e. 0 ≤ p ≤ 1) check_prob <- function(prob) { if(prob >= 0 & prob<=1) { return(TRUE) } else { stop('p has to be a number betwen 0 and 1') } } # check_trials() tests if an input trials is a valid value for number of tria...
\alias{GtkDrawingArea} \alias{gtkDrawingArea} \name{GtkDrawingArea} \title{GtkDrawingArea} \description{A widget for custom user interface elements} \section{Methods and Functions}{ \code{\link{gtkDrawingAreaNew}(show = TRUE)}\cr \code{\link{gtkDrawingAreaSize}(object, width, height)}\cr \code{gtkDrawingArea(show = TRU...
/RGtk2/man/GtkDrawingArea.Rd
no_license
lawremi/RGtk2
R
false
false
3,932
rd
\alias{GtkDrawingArea} \alias{gtkDrawingArea} \name{GtkDrawingArea} \title{GtkDrawingArea} \description{A widget for custom user interface elements} \section{Methods and Functions}{ \code{\link{gtkDrawingAreaNew}(show = TRUE)}\cr \code{\link{gtkDrawingAreaSize}(object, width, height)}\cr \code{gtkDrawingArea(show = TRU...
\name{SequenceTrack-class} \Rdversion{1.1} \docType{class} \alias{SequenceTrack-class} \alias{SequenceTrack} \alias{chromosome,SequenceTrack-method} \alias{chromosome<-,SequenceTrack-method} \alias{end,SequenceTrack-method} \alias{genome,SequenceTrack-method} \alias{initialize,SequenceTrack-method} \alias{initialize,Se...
/inst/Rpkgs/Gviz/man/SequenceTrack-class.Rd
no_license
lianos/GvizX
R
false
false
22,940
rd
\name{SequenceTrack-class} \Rdversion{1.1} \docType{class} \alias{SequenceTrack-class} \alias{SequenceTrack} \alias{chromosome,SequenceTrack-method} \alias{chromosome<-,SequenceTrack-method} \alias{end,SequenceTrack-method} \alias{genome,SequenceTrack-method} \alias{initialize,SequenceTrack-method} \alias{initialize,Se...