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
library(ggvis) data(diamonds, package = "ggplot2") diamonds <- diamonds[sample(1:nrow(diamonds), 1000), ] shinyServer(function(input, output, session) { hist_gv <- reactive({ ggvis( diamonds, props(x = ~carat), branch_histogram(props(fill.brush := "red"), binwidth = 0.1), branch_brush()...
/demo/apps/brush-hist/server.r
no_license
imclab/ggvis
R
false
false
1,389
r
library(ggvis) data(diamonds, package = "ggplot2") diamonds <- diamonds[sample(1:nrow(diamonds), 1000), ] shinyServer(function(input, output, session) { hist_gv <- reactive({ ggvis( diamonds, props(x = ~carat), branch_histogram(props(fill.brush := "red"), binwidth = 0.1), branch_brush()...
# process VHI into rasters # MAC 02/26/19 library(raster) #library(stringr) library(lubridate) library(plyr) library(grid) library(cowplot) # CHANGE NDVI PRODUCT TYPE smNDVI<-stack('/scratch/crimmins/vhi/processed/smNDVI_1982-2018_WESTUS.grd') # counties #c("San Luis Obispo","Santa Barbara","Humboldt","Rich","Garfie...
/vhi/plotNDVI_Precip.R
no_license
mcrimmins/DroughtIndices
R
false
false
13,855
r
# process VHI into rasters # MAC 02/26/19 library(raster) #library(stringr) library(lubridate) library(plyr) library(grid) library(cowplot) # CHANGE NDVI PRODUCT TYPE smNDVI<-stack('/scratch/crimmins/vhi/processed/smNDVI_1982-2018_WESTUS.grd') # counties #c("San Luis Obispo","Santa Barbara","Humboldt","Rich","Garfie...
#' List the geoms used by a plot #' #' \code{get_geoms} returns a vector of geom names, written as character #' strings, that describes which geoms in which order are used by a plot. #' #' @param p A ggplot object #' #' @return A vector of character strings. Each element corresponds to the suffix #' of a ggplot2 \cod...
/R/geoms.R
no_license
annapfmatos/ggcheck
R
false
false
4,021
r
#' List the geoms used by a plot #' #' \code{get_geoms} returns a vector of geom names, written as character #' strings, that describes which geoms in which order are used by a plot. #' #' @param p A ggplot object #' #' @return A vector of character strings. Each element corresponds to the suffix #' of a ggplot2 \cod...
library("crayon", lib.loc = "/exports/csce/eddie/inf/groups/mamode_prendergast/R_packages/") library("rstudioapi", lib.loc = "/exports/csce/eddie/inf/groups/mamode_prendergast/R_packages/") library("cli", lib.loc = "/exports/csce/eddie/inf/groups/mamode_prendergast/R_packages/") library("withr", lib.loc = "/exports/csc...
/old/caret/caret_C5.0_Cost.R
permissive
HIM003/edinburgh-university-dissertation
R
false
false
5,059
r
library("crayon", lib.loc = "/exports/csce/eddie/inf/groups/mamode_prendergast/R_packages/") library("rstudioapi", lib.loc = "/exports/csce/eddie/inf/groups/mamode_prendergast/R_packages/") library("cli", lib.loc = "/exports/csce/eddie/inf/groups/mamode_prendergast/R_packages/") library("withr", lib.loc = "/exports/csc...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{knowles_minka_wand_n} \alias{knowles_minka_wand_n} \title{Perform Knowles-Minka-Wand update of variational parameters} \usage{ knowles_minka_wand_n(X, y, n, eta1, eta2, eta1_p, eta2_p, MS_p, MS_s) } \arguments{ \item{X}{Th...
/man/knowles_minka_wand_n.Rd
no_license
jatotterdell/varapproxr
R
false
true
751
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{knowles_minka_wand_n} \alias{knowles_minka_wand_n} \title{Perform Knowles-Minka-Wand update of variational parameters} \usage{ knowles_minka_wand_n(X, y, n, eta1, eta2, eta1_p, eta2_p, MS_p, MS_s) } \arguments{ \item{X}{Th...
setwd("/Users/mingchuxu/Documents/bioinformatics/RNA-edting") library(tibble) library(reshape2) db_raw <- read.table("db_table.Data", sep = "\t", stringsAsFactors = F, header = T) decoy_raw <- read.table("decoy_table.Data", sep = "\t", stringsAsFactors = F, header = T) db_edit <- dcast(db_raw, Region.Position ~ Sa...
/REDIportal_sites_query.R
no_license
xmc811/RNA_Editing
R
false
false
2,406
r
setwd("/Users/mingchuxu/Documents/bioinformatics/RNA-edting") library(tibble) library(reshape2) db_raw <- read.table("db_table.Data", sep = "\t", stringsAsFactors = F, header = T) decoy_raw <- read.table("decoy_table.Data", sep = "\t", stringsAsFactors = F, header = T) db_edit <- dcast(db_raw, Region.Position ~ Sa...
setwd("~/Technical/R/John Hopkins School of Public Health/ExploringData/Project1/Data_Plotting_Project") library(sqldf) library(lubridate) fileconnection<-file("../household_power_consumption.txt") import<-sqldf('select * from fileconnection where Date = "1/2/2007" or Date = "2/2/2007"', ...
/plot4.R
no_license
lduong43/Data_Plotting_Project
R
false
false
1,787
r
setwd("~/Technical/R/John Hopkins School of Public Health/ExploringData/Project1/Data_Plotting_Project") library(sqldf) library(lubridate) fileconnection<-file("../household_power_consumption.txt") import<-sqldf('select * from fileconnection where Date = "1/2/2007" or Date = "2/2/2007"', ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lcv_sims.R \name{lcv_sims} \alias{lcv_sims} \title{Run LCV with simulated data} \usage{ lcv_sims(dat, no_ld = FALSE, intercepts = !no_ld, sig.thresh = 30) } \arguments{ \item{dat}{Simulated data set} \item{no_ld}{Use no LD data} \item{sig.t...
/man/lcv_sims.Rd
no_license
sangyoonstat/causeSims
R
false
true
533
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lcv_sims.R \name{lcv_sims} \alias{lcv_sims} \title{Run LCV with simulated data} \usage{ lcv_sims(dat, no_ld = FALSE, intercepts = !no_ld, sig.thresh = 30) } \arguments{ \item{dat}{Simulated data set} \item{no_ld}{Use no LD data} \item{sig.t...
# program: spuRs/resources/scripts/ppoint.r phi <- function(x) return(exp(-x^2/2)/sqrt(2*pi)) ppoint <- function(p, pdf = phi, z.min = -10, tol = 1e-9) { # calculate a percentage point # # p is assumed to be between 0 and 1 # pdf is assumed to be a probability density function # # let F(x) be the integral...
/R Tutorials/Book spuRs/scripts/ppoint.r
no_license
chengjun/Research
R
false
false
895
r
# program: spuRs/resources/scripts/ppoint.r phi <- function(x) return(exp(-x^2/2)/sqrt(2*pi)) ppoint <- function(p, pdf = phi, z.min = -10, tol = 1e-9) { # calculate a percentage point # # p is assumed to be between 0 and 1 # pdf is assumed to be a probability density function # # let F(x) be the integral...
library(forecast) library(Rcpp) sourceCpp("balancer.cpp") saa_periodic_review <- function(x, model, h, p, n, iter=25, lower=0, upper=200) { costs <- matrix(NA, nrow = iter, ncol = (upper - lower + 1)) for (i in 1:iter) { samples <- simulate(model, nsim = n) costs[i, ] <- pr_cost(lower:upper, x, samples, h...
/archive/balancer.R
no_license
arbenton/balance
R
false
false
1,488
r
library(forecast) library(Rcpp) sourceCpp("balancer.cpp") saa_periodic_review <- function(x, model, h, p, n, iter=25, lower=0, upper=200) { costs <- matrix(NA, nrow = iter, ncol = (upper - lower + 1)) for (i in 1:iter) { samples <- simulate(model, nsim = n) costs[i, ] <- pr_cost(lower:upper, x, samples, h...
library(RSurveillance) ### Name: sep.rb.hypergeo ### Title: Hypergeometric risk-based population sensitivity ### Aliases: sep.rb.hypergeo ### Keywords: methods ### ** Examples # examples for sep.rb.bin sep.rb.hypergeo(0.1, c(5, 3, 1), c(10, 10, 80), c(5, 5, 5), 0.9) sep.rb.hypergeo(0.1, c(5, 1), c(15, 140), c(10, 5...
/data/genthat_extracted_code/RSurveillance/examples/sep.rb.hypergeo.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
473
r
library(RSurveillance) ### Name: sep.rb.hypergeo ### Title: Hypergeometric risk-based population sensitivity ### Aliases: sep.rb.hypergeo ### Keywords: methods ### ** Examples # examples for sep.rb.bin sep.rb.hypergeo(0.1, c(5, 3, 1), c(10, 10, 80), c(5, 5, 5), 0.9) sep.rb.hypergeo(0.1, c(5, 1), c(15, 140), c(10, 5...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compare_mappings.R \name{compare_mappings} \alias{compare_mappings} \title{compare_mappings} \usage{ compare_mappings(map1, map2) } \arguments{ \item{map1}{First mappings list} \item{map2}{Second mappings list} } \value{ a dataframe listing ...
/man/compare_mappings.Rd
no_license
qPharmetra/PMDatR
R
false
true
463
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compare_mappings.R \name{compare_mappings} \alias{compare_mappings} \title{compare_mappings} \usage{ compare_mappings(map1, map2) } \arguments{ \item{map1}{First mappings list} \item{map2}{Second mappings list} } \value{ a dataframe listing ...
grid.logbook = function(x, res) { logbook.gridded = grid_lonlat (x, res=res) logbook.gridded$gridid = paste(logbook.gridded$lat, logbook.gridded$lon, logbook.gridded$year, sep="~") v = "pro_rated_slip_wt_lbs" x = logbook.gridded[is.finite(logbook.gridded[,v]),] grid = as.data.frame(xtabs( a...
/R/grid.logbook.r
permissive
PEDsnowcrab/bio.snowcrab
R
false
false
1,068
r
grid.logbook = function(x, res) { logbook.gridded = grid_lonlat (x, res=res) logbook.gridded$gridid = paste(logbook.gridded$lat, logbook.gridded$lon, logbook.gridded$year, sep="~") v = "pro_rated_slip_wt_lbs" x = logbook.gridded[is.finite(logbook.gridded[,v]),] grid = as.data.frame(xtabs( a...
# Metadata ---------------------------------------------------------------- # Title: ext_prepare_election_data.R # Purpose: Prepare election data bf upload to SQL # Author(s): @pablocal # Date: 2020-06-04 18:10:48 # # Comments ---------------------------------------------------------------- # # # # # # Options and pack...
/R/ext_prepare_election_data.R
no_license
pablocal/pablo
R
false
false
36,087
r
# Metadata ---------------------------------------------------------------- # Title: ext_prepare_election_data.R # Purpose: Prepare election data bf upload to SQL # Author(s): @pablocal # Date: 2020-06-04 18:10:48 # # Comments ---------------------------------------------------------------- # # # # # # Options and pack...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{dom_resample} \alias{dom_resample} \title{Resample an aggression matrix} \usage{ dom_resample(aggression_matrix) } \arguments{ \item{aggression_matrix}{The aggression matrix to be resampled} } \value{ a new aggression matrix res...
/man/dom_resample.Rd
permissive
danm0nster/domstruc
R
false
true
456
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{dom_resample} \alias{dom_resample} \title{Resample an aggression matrix} \usage{ dom_resample(aggression_matrix) } \arguments{ \item{aggression_matrix}{The aggression matrix to be resampled} } \value{ a new aggression matrix res...
setwd("C:/Documents/road-traffic-collisions/data-archive/vehicles") # If you fork and clone the Github repo, set this to ## wherever you have downloaded the RTC vehicle files v_temp = list.files(pattern = "*.tab") for (i in 1:length(v_temp)) assign(v_temp[i], read.delim(v_temp[i], stringsAsFactors = FALSE)) setwd("C...
/clean_combine_vehicles.R
no_license
NICVA/road-traffic-collisions
R
false
false
7,084
r
setwd("C:/Documents/road-traffic-collisions/data-archive/vehicles") # If you fork and clone the Github repo, set this to ## wherever you have downloaded the RTC vehicle files v_temp = list.files(pattern = "*.tab") for (i in 1:length(v_temp)) assign(v_temp[i], read.delim(v_temp[i], stringsAsFactors = FALSE)) setwd("C...
# Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate context("Test TaggedSensorBase") model.instance <- TaggedSensorBase$new() test_that("id", { # tests for the property `id` (integer) # The ID of the Sensor being tagged. # uncomment below to t...
/openapi-generator/r/tests/testthat/test_tagged_sensor_base.R
no_license
silverspace/samsara-sdks
R
false
false
398
r
# Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate context("Test TaggedSensorBase") model.instance <- TaggedSensorBase$new() test_that("id", { # tests for the property `id` (integer) # The ID of the Sensor being tagged. # uncomment below to t...
#Given a set of XGB model params passed in as a grid (provided by the caret package), this script trains the model #using each combination of params and performs cross-validation. Then creates an output text file for the user #to compare the performance of each model # #Input: training set data with accuracy labels...
/Xgboost titrate model params.r
no_license
budsonjelmont/spectralQC
R
false
false
2,623
r
#Given a set of XGB model params passed in as a grid (provided by the caret package), this script trains the model #using each combination of params and performs cross-validation. Then creates an output text file for the user #to compare the performance of each model # #Input: training set data with accuracy labels...
#' @title Generate Stan code and Run the estimation for ORDM #' #' @description #' The StanLCDM.script Function to automate Stan code geneartion for LCDMs with binary resposnes #' #' @param Qmatrix the Q-matrix specified for the LCDM #' @param save.path save the .stan file to somewhere; the default path is getwd() #' @...
/R/StanDINA_mG.run.R
no_license
zjiang4/StanDCM
R
false
false
4,676
r
#' @title Generate Stan code and Run the estimation for ORDM #' #' @description #' The StanLCDM.script Function to automate Stan code geneartion for LCDMs with binary resposnes #' #' @param Qmatrix the Q-matrix specified for the LCDM #' @param save.path save the .stan file to somewhere; the default path is getwd() #' @...
# Read in file valid <- read.table("EUR.valid.sample", header=T) dat <- read.table("EUR.QC.sexcheck", header=T) valid <- subset(dat, STATUS=="OK" & FID %in% valid$FID) write.table(valid[,c("FID", "IID")], "EUR.QC.valid", row.names=F, col.names=F, sep="\t", quote=F) q() # exit R
/sexCheck.R
no_license
annchenknodt/PRS_tutorial_ARK
R
false
false
280
r
# Read in file valid <- read.table("EUR.valid.sample", header=T) dat <- read.table("EUR.QC.sexcheck", header=T) valid <- subset(dat, STATUS=="OK" & FID %in% valid$FID) write.table(valid[,c("FID", "IID")], "EUR.QC.valid", row.names=F, col.names=F, sep="\t", quote=F) q() # exit R
#' xaringan #' #' xaringan pull left and pull right #' #' @return a template for xaringan pull left and right #' @export #' xaringanr <- function(){ a <- rstudioapi::getSourceEditorContext() rstudioapi::insertText(location = a$selection[[1]]$range, text = ".pull-left[\n\n]\n\n.pull-right[\n\n]\n") }
/R/xaringan.R
no_license
arekbee/remedy
R
false
false
306
r
#' xaringan #' #' xaringan pull left and pull right #' #' @return a template for xaringan pull left and right #' @export #' xaringanr <- function(){ a <- rstudioapi::getSourceEditorContext() rstudioapi::insertText(location = a$selection[[1]]$range, text = ".pull-left[\n\n]\n\n.pull-right[\n\n]\n") }
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 3488 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 3488 c c Input Parameter (command line, file): c input filename QBFLIB/Pan/k_t4p_p/k_t4p_p-14.qdimacs c output filename /tmp/d...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Pan/k_t4p_p/k_t4p_p-14/k_t4p_p-14.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
605
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 3488 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 3488 c c Input Parameter (command line, file): c input filename QBFLIB/Pan/k_t4p_p/k_t4p_p-14.qdimacs c output filename /tmp/d...
#Análisis de datos en escala Likert #Como ya tenemos descargados el paquete likert y ggplot2 #sólo abrimos librería. library(likert) library(ggplot2) #Utilizaremos de nuevo la matriz de datos de los resultados #de PISA en 2009 precargada en el paquete likert #mediante el comando data, para trabajar otra va...
/Segundo examen practico.R
no_license
luzlipr98/Probabilidad-y-Estadistica
R
false
false
2,575
r
#Análisis de datos en escala Likert #Como ya tenemos descargados el paquete likert y ggplot2 #sólo abrimos librería. library(likert) library(ggplot2) #Utilizaremos de nuevo la matriz de datos de los resultados #de PISA en 2009 precargada en el paquete likert #mediante el comando data, para trabajar otra va...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/youtube_objects.R \name{ThumbnailDetails} \alias{ThumbnailDetails} \title{ThumbnailDetails Object} \usage{ ThumbnailDetails(default = NULL, high = NULL, maxres = NULL, medium = NULL, standard = NULL) } \arguments{ \item{default}{The default...
/googleyoutubev3.auto/man/ThumbnailDetails.Rd
permissive
GVersteeg/autoGoogleAPI
R
false
true
812
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/youtube_objects.R \name{ThumbnailDetails} \alias{ThumbnailDetails} \title{ThumbnailDetails Object} \usage{ ThumbnailDetails(default = NULL, high = NULL, maxres = NULL, medium = NULL, standard = NULL) } \arguments{ \item{default}{The default...
# Data Preprocessing # Importing the dataset dataset = read.csv('Data.csv') # Taking care of missing data dataset$Age = ifelse(is.na(dataset$Age), #ifelse(is.na(dataset$Age) will show value in dataset is missing or not...if true then accept next line otherwise third line ave(dataset$Age, FUN = f...
/Part 1 - Data Preprocessing/missing_data.R
no_license
celestialized/Machine-Learning
R
false
false
561
r
# Data Preprocessing # Importing the dataset dataset = read.csv('Data.csv') # Taking care of missing data dataset$Age = ifelse(is.na(dataset$Age), #ifelse(is.na(dataset$Age) will show value in dataset is missing or not...if true then accept next line otherwise third line ave(dataset$Age, FUN = f...
f1 <- "A1.csv" f2 <- "F2.csv" f3 <- "A1_pivot.csv" context("test-readfiles-nummatrix") test_that("Can read numeric matrix as LipidomicsExp", { d <- read_skyline(f1) # rownames are not molecules mat <- assay(d, "Area") expect_equal(.get_mol_dim(mat), "none") expect_equal(.get_mol_dim(t(mat)), "none") expec...
/tests/testthat/test-readfiles-num_matrix.R
permissive
ahmohamed/lipidr
R
false
false
5,507
r
f1 <- "A1.csv" f2 <- "F2.csv" f3 <- "A1_pivot.csv" context("test-readfiles-nummatrix") test_that("Can read numeric matrix as LipidomicsExp", { d <- read_skyline(f1) # rownames are not molecules mat <- assay(d, "Area") expect_equal(.get_mol_dim(mat), "none") expect_equal(.get_mol_dim(t(mat)), "none") expec...
library(logbin) ### Name: logbin.control ### Title: Auxiliary for Controlling logbin Fitting ### Aliases: logbin.control ### Keywords: optimize models ### ** Examples ## Variation on example(glm.control) : evts <- c(18,17,15,20,10,20,25,13,12) obs <- rep(30,9) outcome <- gl(3,1,9) treatment <- gl(3,3) oo <- option...
/data/genthat_extracted_code/logbin/examples/logbin.control.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
461
r
library(logbin) ### Name: logbin.control ### Title: Auxiliary for Controlling logbin Fitting ### Aliases: logbin.control ### Keywords: optimize models ### ** Examples ## Variation on example(glm.control) : evts <- c(18,17,15,20,10,20,25,13,12) obs <- rep(30,9) outcome <- gl(3,1,9) treatment <- gl(3,3) oo <- option...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ec2_operations.R \name{ec2_modify_id_format} \alias{ec2_modify_id_format} \title{Modifies the ID format for the specified resource on a per-Region basis} \usage{ ec2_modify_id_format(Resource, UseLongIds) } \arguments{ \item{Resource}{[requir...
/paws/man/ec2_modify_id_format.Rd
permissive
johnnytommy/paws
R
false
true
3,273
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ec2_operations.R \name{ec2_modify_id_format} \alias{ec2_modify_id_format} \title{Modifies the ID format for the specified resource on a per-Region basis} \usage{ ec2_modify_id_format(Resource, UseLongIds) } \arguments{ \item{Resource}{[requir...
setwd("E:/Data/exploratory analysis/exdata-data-household_power_consumption/ExData_Plotting1") data<- read.csv("twoday_data.csv",header=TRUE) data[,1]<-as.Date(as.character(data$Date),"%d/%m/%Y",tz="UTC") date_time<-as.character(paste(as.character(data$Date),as.character(data$Time))) datetime<-strptime(date_time,"%Y-%m...
/plot3.R
no_license
Zoeyihui/ExData_Plotting1
R
false
false
775
r
setwd("E:/Data/exploratory analysis/exdata-data-household_power_consumption/ExData_Plotting1") data<- read.csv("twoday_data.csv",header=TRUE) data[,1]<-as.Date(as.character(data$Date),"%d/%m/%Y",tz="UTC") date_time<-as.character(paste(as.character(data$Date),as.character(data$Time))) datetime<-strptime(date_time,"%Y-%m...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cairo--enum.R \docType{data} \name{cairo_subpixel_order_t} \alias{cairo_subpixel_order_t} \title{cairo_subpixel_order_t} \format{ An object of class \code{list} of length 5. } \usage{ cairo_subpixel_order_t } \description{ The subpixel order ...
/man/cairo_subpixel_order_t.Rd
permissive
coolbutuseless/cairocore
R
false
true
2,200
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cairo--enum.R \docType{data} \name{cairo_subpixel_order_t} \alias{cairo_subpixel_order_t} \title{cairo_subpixel_order_t} \format{ An object of class \code{list} of length 5. } \usage{ cairo_subpixel_order_t } \description{ The subpixel order ...
library(data.table) cons <- fread("./consumption.txt", na.strings="?") feb07con <- subset(cons, (Date == "2/2/2007") | (Date == '1/2/2007')) #Plot 4 png(filename = "Plot4.png", width = 480, height = 480, units = "px", pointsize = 12, bg = "white", res = NA, family = "", restoreConsole = TRUE) dateTime ...
/Plot4.R
no_license
Rgxpo/ExData_Plotting1
R
false
false
1,095
r
library(data.table) cons <- fread("./consumption.txt", na.strings="?") feb07con <- subset(cons, (Date == "2/2/2007") | (Date == '1/2/2007')) #Plot 4 png(filename = "Plot4.png", width = 480, height = 480, units = "px", pointsize = 12, bg = "white", res = NA, family = "", restoreConsole = TRUE) dateTime ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ARMET_parseTree.R \name{get_gene_distributons_recursive} \alias{get_gene_distributons_recursive} \title{Run ARMET core algorithm recursively on the tree} \usage{ get_gene_distributons_recursive(node, ref_tbl) } \arguments{ \item{node}{A node ...
/man/get_gene_distributons_recursive.Rd
no_license
DongqiangZeng0808/ARMET
R
false
true
551
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ARMET_parseTree.R \name{get_gene_distributons_recursive} \alias{get_gene_distributons_recursive} \title{Run ARMET core algorithm recursively on the tree} \usage{ get_gene_distributons_recursive(node, ref_tbl) } \arguments{ \item{node}{A node ...
#' Create a new metricsgraphics.js plot #' #' \code{mjs_plot()} initializes the metricsgraphics.js html widget #' and takes a data frame & (bare or quoted) x & y column names as minimum input. #' This must be piped to a "geom" (metricsgraphics.js only supports single #' "geom" layers) and can also be piped to other \c...
/R/metricsgraphics.R
no_license
birdplane-industries/metricsgraphics
R
false
false
28,527
r
#' Create a new metricsgraphics.js plot #' #' \code{mjs_plot()} initializes the metricsgraphics.js html widget #' and takes a data frame & (bare or quoted) x & y column names as minimum input. #' This must be piped to a "geom" (metricsgraphics.js only supports single #' "geom" layers) and can also be piped to other \c...
Salary Games MinutesPlayed #matrix ?matrix #prepare a matirx by my own my.data <- c(1,2,3,4,5,6,7,8,90,10,11,12,13,14,15,16,17,18,19,20) A <- matrix(my.data,4,5) A A[2,3] A[2,] B <- matrix(my.data,4,5,byrow=TRUE) B[2,5] #rbind and cbind r1 <- c(1,2,3,4,5) r2 <- c(10,11,12,13,14,15) r3 <- c(1,1,1,1,1,1) r4 <- rbi...
/Diamond price prediction/Matrices.R
no_license
deboshas/R-Handson
R
false
false
1,859
r
Salary Games MinutesPlayed #matrix ?matrix #prepare a matirx by my own my.data <- c(1,2,3,4,5,6,7,8,90,10,11,12,13,14,15,16,17,18,19,20) A <- matrix(my.data,4,5) A A[2,3] A[2,] B <- matrix(my.data,4,5,byrow=TRUE) B[2,5] #rbind and cbind r1 <- c(1,2,3,4,5) r2 <- c(10,11,12,13,14,15) r3 <- c(1,1,1,1,1,1) r4 <- rbi...
# fill out the connection details ----------------------------------------------------------------------- connectionDetails <- DatabaseConnector::createConnectionDetails(dbms = "", user = "", password = "", server = "", ...
/extras/codeToRun.R
permissive
dmitryilyn/DataQualityDashboard
R
false
false
3,942
r
# fill out the connection details ----------------------------------------------------------------------- connectionDetails <- DatabaseConnector::createConnectionDetails(dbms = "", user = "", password = "", server = "", ...
#' Creates a sequence of images showing predefined steps of warping two meshes #' or landmark configurations (2D and 3D) into each other #' #' given two landmark configurations or two meshes with the same amount of #' vertices and faces (e.g a mesh and its warped counterpart), the starting #' configuration/mesh will b...
/Morpho/R/warpmovie.matrix.r
no_license
ingted/R-Examples
R
false
false
7,048
r
#' Creates a sequence of images showing predefined steps of warping two meshes #' or landmark configurations (2D and 3D) into each other #' #' given two landmark configurations or two meshes with the same amount of #' vertices and faces (e.g a mesh and its warped counterpart), the starting #' configuration/mesh will b...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1200 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1200 c c Input Parameter (command line, file): c input filename QBFLIB/Miller-Marin/trafficlight-controller/tlc02-uniform-depth...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Miller-Marin/trafficlight-controller/tlc02-uniform-depth-1/tlc02-uniform-depth-1.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
673
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1200 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1200 c c Input Parameter (command line, file): c input filename QBFLIB/Miller-Marin/trafficlight-controller/tlc02-uniform-depth...
#' Function to load west coast VMS data and subset for bottom trawl only #' @param none No parameters #' @export #' @examples #' load_wc_itq() load_wc_itq <- function(){ #West Coast VMS Data load("/Users/peterkuriyama/School/Research/ch2vms/all_data/nw_vms.Rdata") #Change names and order of columns wc_v...
/ch2vms/R/load_wc_itq.R
no_license
peterkuriyama/ch2vms
R
false
false
1,205
r
#' Function to load west coast VMS data and subset for bottom trawl only #' @param none No parameters #' @export #' @examples #' load_wc_itq() load_wc_itq <- function(){ #West Coast VMS Data load("/Users/peterkuriyama/School/Research/ch2vms/all_data/nw_vms.Rdata") #Change names and order of columns wc_v...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filternarmed.R \name{filternarmed} \alias{filternarmed} \title{Create an API for trained ensemble model} \usage{ filternarmed(v0, x, lambda, nArms) } \arguments{ \item{v0}{v0 value} \item{x}{x value} \item{lambda}{labda value} \item{nArms}...
/man/filternarmed.Rd
no_license
nagdevAmruthnath/RDMTK2
R
false
true
477
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filternarmed.R \name{filternarmed} \alias{filternarmed} \title{Create an API for trained ensemble model} \usage{ filternarmed(v0, x, lambda, nArms) } \arguments{ \item{v0}{v0 value} \item{x}{x value} \item{lambda}{labda value} \item{nArms}...
library(mineCitrus) ### Name: posthoc ### Title: Runs ANOVA and t-tests comparing clusters and markers in ### clusters ### Aliases: posthoc ### ** Examples library(mineCitrus) data("citrus.combinedFCSSet") data("citrus.foldClustering") data("citrus.foldFeatureSet") meds<-allmeds(citrus.combinedFCSSet=citrus.combi...
/data/genthat_extracted_code/mineCitrus/examples/posthoc.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
677
r
library(mineCitrus) ### Name: posthoc ### Title: Runs ANOVA and t-tests comparing clusters and markers in ### clusters ### Aliases: posthoc ### ** Examples library(mineCitrus) data("citrus.combinedFCSSet") data("citrus.foldClustering") data("citrus.foldFeatureSet") meds<-allmeds(citrus.combinedFCSSet=citrus.combi...
x1 = rnorm(1000, 0, 3) y1 = 2.3789 + 1.78*x1 + rnorm(100, sd=0.7) plot(x1 , y1) x2 = rnorm(1000, 1, 2) y2 = 3.9789 + 1.78*x2 + rnorm(100, sd=0.7) plot(x2 , y2) df1 = data.frame(y=y1, x=x1, status='UAB') df2 = data.frame(y=y2, x=x2, status='II') df = rbind(df1, df2)[sample(2000),] plot(df$x, df$y, col=(df$status=='U...
/task19/gnr.R
no_license
1vbutkus/Econometrics1
R
false
false
727
r
x1 = rnorm(1000, 0, 3) y1 = 2.3789 + 1.78*x1 + rnorm(100, sd=0.7) plot(x1 , y1) x2 = rnorm(1000, 1, 2) y2 = 3.9789 + 1.78*x2 + rnorm(100, sd=0.7) plot(x2 , y2) df1 = data.frame(y=y1, x=x1, status='UAB') df2 = data.frame(y=y2, x=x2, status='II') df = rbind(df1, df2)[sample(2000),] plot(df$x, df$y, col=(df$status=='U...
#!/usr/bin/env Rscript library(LTN) argv=commandArgs(TRUE) WORK_DIR=argv[1] i=as.numeric(argv[2]) h=as.numeric(argv[3]) #source(paste0(WORK_DIR,"/src/utility/utility.R")) datadir=paste0(WORK_DIR,"/cache/cross_group_comparison/single_otu/") system(paste0('mkdir -p ',datadir)) filenam=paste0('sim',i,'H',h,'.RData') if (...
/src/simulation/cross_group_comparison/single_otu_sim.R
no_license
ZhuoqunWang0120/LTN_analysis-JASA_1st_submission
R
false
false
841
r
#!/usr/bin/env Rscript library(LTN) argv=commandArgs(TRUE) WORK_DIR=argv[1] i=as.numeric(argv[2]) h=as.numeric(argv[3]) #source(paste0(WORK_DIR,"/src/utility/utility.R")) datadir=paste0(WORK_DIR,"/cache/cross_group_comparison/single_otu/") system(paste0('mkdir -p ',datadir)) filenam=paste0('sim',i,'H',h,'.RData') if (...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_health_facilities.R \name{read_health_facilities} \alias{read_health_facilities} \title{Download geolocated data of health facilities} \usage{ read_health_facilities(showProgress = TRUE) } \arguments{ \item{showProgress}{Logical...
/man/read_health_facilities.Rd
no_license
cran/geobr
R
false
true
1,730
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_health_facilities.R \name{read_health_facilities} \alias{read_health_facilities} \title{Download geolocated data of health facilities} \usage{ read_health_facilities(showProgress = TRUE) } \arguments{ \item{showProgress}{Logical...
### RUN CHART ### # Import SixSigma package library(SixSigma) # Create run chart plot($, # type in the data frame column to be plotted type = "b", # specify the chart type ("b" or "c") ylim = c(, ), # set the y-axis limits axes = FALSE, # set axes = FALSE ...
/Miscellaneous/Run Chart.R
no_license
AnakinNN/R-for-Industrial-Engineering
R
false
false
1,258
r
### RUN CHART ### # Import SixSigma package library(SixSigma) # Create run chart plot($, # type in the data frame column to be plotted type = "b", # specify the chart type ("b" or "c") ylim = c(, ), # set the y-axis limits axes = FALSE, # set axes = FALSE ...
## This new fitting algorithm uses constraints and fits *dimensional* ## initial conditions, rather than nondimensional. That is because I ## can put reasonable constraints on L.0 and W.0 on the dimensional, ## but not nondimensional, scale. I will have to modify the algorithm ## to nondimensionalize these initial cond...
/Fitting_Daphnia_data/Fitting_Glen-AA_Daphnia_data_take2.R
no_license
claycressler/deb_fitting
R
false
false
10,595
r
## This new fitting algorithm uses constraints and fits *dimensional* ## initial conditions, rather than nondimensional. That is because I ## can put reasonable constraints on L.0 and W.0 on the dimensional, ## but not nondimensional, scale. I will have to modify the algorithm ## to nondimensionalize these initial cond...
#' LD_w function #' #' Computes w for some SNP position i, in a genome matrix. #' #' @param r : correlation matrix showing the correlations between each SNP #' position, squared. #' @param i :index for a column in r. i must be bigger than 1 and less than the number #' of columns in r-1. #' #' @return a numeric valu...
/R/LD_w.R
permissive
deponent-verb/popgen.tools
R
false
false
1,894
r
#' LD_w function #' #' Computes w for some SNP position i, in a genome matrix. #' #' @param r : correlation matrix showing the correlations between each SNP #' position, squared. #' @param i :index for a column in r. i must be bigger than 1 and less than the number #' of columns in r-1. #' #' @return a numeric valu...
library(castor) ### Name: get_independent_contrasts ### Title: Phylogenetic independent contrasts for continuous traits. ### Aliases: get_independent_contrasts ### Keywords: BM model ### ** Examples # generate random tree Ntips = 100 tree = generate_random_tree(list(birth_rate_intercept=1),Ntips)$tree # simulate a...
/data/genthat_extracted_code/castor/examples/get_independent_contrasts.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
728
r
library(castor) ### Name: get_independent_contrasts ### Title: Phylogenetic independent contrasts for continuous traits. ### Aliases: get_independent_contrasts ### Keywords: BM model ### ** Examples # generate random tree Ntips = 100 tree = generate_random_tree(list(birth_rate_intercept=1),Ntips)$tree # simulate a...
library(stringr) # # get basic data from the folder covid_data = read.csv("./www/COVID-19-master/csse_covid_19_data/csse_covid_19_daily_reports/04-06-2020.csv", colClasses = c("FIPS"="character")) # add leading 0's covid_data$FIPS_5 <- str_pad(covid_data$FIPS, width = 5, side = "left", pad = "0") # fil...
/covid19/covid_dataManager.R
permissive
karastuart/figuredServer
R
false
false
1,005
r
library(stringr) # # get basic data from the folder covid_data = read.csv("./www/COVID-19-master/csse_covid_19_data/csse_covid_19_daily_reports/04-06-2020.csv", colClasses = c("FIPS"="character")) # add leading 0's covid_data$FIPS_5 <- str_pad(covid_data$FIPS, width = 5, side = "left", pad = "0") # fil...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fill_strategy_prices.R \name{fill_prices} \alias{fill_prices} \title{Add additional data to option leg} \usage{ fill_prices(legs) } \arguments{ \item{legs}{List of option legs with common expiry} } \value{ Option legs with new price data adde...
/man/fill_prices.Rd
permissive
zumthor86/OptionsAnalytics
R
false
true
399
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fill_strategy_prices.R \name{fill_prices} \alias{fill_prices} \title{Add additional data to option leg} \usage{ fill_prices(legs) } \arguments{ \item{legs}{List of option legs with common expiry} } \value{ Option legs with new price data adde...
\docType{package} \name{pkgdownIssue819-package} \alias{pkgdownIssue819-package} \title{Demonstrates an issue} \description{ Demonstrates an issue. } \details{ This is for pkgdown test. The following two phrases should be in separate paragraphs: \Sexpr[stage=build,results=rd]{paste0(c("First phrase.", "Second phras...
/pkgdownIssue819/man/pkgdownIssue819 -package.Rd
no_license
GeoBosh/reprexes
R
false
false
349
rd
\docType{package} \name{pkgdownIssue819-package} \alias{pkgdownIssue819-package} \title{Demonstrates an issue} \description{ Demonstrates an issue. } \details{ This is for pkgdown test. The following two phrases should be in separate paragraphs: \Sexpr[stage=build,results=rd]{paste0(c("First phrase.", "Second phras...
countsData <- getSNPCounts(snpPositions) test_that("example subset works", { subset <- queryCounts(countsData, 10000, 150) expect_equal(dim(subset), c(15, 3)) }) test_that("sorting works", { byCounts <- queryCounts(countsData, 10000, 150, "counts") expect_equal(all(diff(byCounts$cou...
/tests/testthat/test-query-counts.R
permissive
LZhang98/nsSNPHotspotViewer
R
false
false
532
r
countsData <- getSNPCounts(snpPositions) test_that("example subset works", { subset <- queryCounts(countsData, 10000, 150) expect_equal(dim(subset), c(15, 3)) }) test_that("sorting works", { byCounts <- queryCounts(countsData, 10000, 150, "counts") expect_equal(all(diff(byCounts$cou...
#' Standard Error of Skewness #' @description Function to obtain the standard error of the skewness of a distribution of values. #' @param x numeric object containing the values for a variable. #' @details Standard error of skewness is computed on non-missing values using the following equation. \deqn{\sqrt( 6*N*(N-1) ...
/R/se.skew.R
no_license
cran/sur
R
false
false
689
r
#' Standard Error of Skewness #' @description Function to obtain the standard error of the skewness of a distribution of values. #' @param x numeric object containing the values for a variable. #' @details Standard error of skewness is computed on non-missing values using the following equation. \deqn{\sqrt( 6*N*(N-1) ...
dsim_analysis_motif_1<-read.table("dsim_analysis_motif_1.tsv",header = TRUE) dsim_analysis_motif_2<-read.table("dsim_analysis_motif_2.tsv",header = TRUE) dsim_analysis_motif_3<-read.table("dsim_analysis_motif_3.tsv",header = TRUE) dsim_analysis_motif_4<-read.table("dsim_analysis_motif_4.tsv",header = TRUE) dsim...
/Supplemental_figures/FigS26/dsim_overlap/moti_all_analysis.R
no_license
LarracuenteLab/simulans_clade_satDNA_evolution
R
false
false
2,825
r
dsim_analysis_motif_1<-read.table("dsim_analysis_motif_1.tsv",header = TRUE) dsim_analysis_motif_2<-read.table("dsim_analysis_motif_2.tsv",header = TRUE) dsim_analysis_motif_3<-read.table("dsim_analysis_motif_3.tsv",header = TRUE) dsim_analysis_motif_4<-read.table("dsim_analysis_motif_4.tsv",header = TRUE) dsim...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/522.Error-Failure_Limitbased_CC_All_Graph.R \name{PloterrCLT} \alias{PloterrCLT} \title{Plots the error, long term power and pass/fail criteria for continuity corrected Logit Wald method} \usage{ PloterrCLT(n, alp, phi, c, f) } \arguments{ \i...
/man/PloterrCLT.Rd
no_license
ElsevierSoftwareX/SOFTX-D-16-00020
R
false
true
1,251
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/522.Error-Failure_Limitbased_CC_All_Graph.R \name{PloterrCLT} \alias{PloterrCLT} \title{Plots the error, long term power and pass/fail criteria for continuity corrected Logit Wald method} \usage{ PloterrCLT(n, alp, phi, c, f) } \arguments{ \i...
#' Convert Data to Appropriate pmartR Class #' #' Converts a list object or several data.frames of protein-level data to an object of the class 'proData'. Objects of the class 'proData' are lists with two obligatory components \code{e_data} and \code{f_data}. An optional list component \code{e_meta} is used if analysis...
/R/as.proData.R
no_license
godi678/pmartR
R
false
false
10,357
r
#' Convert Data to Appropriate pmartR Class #' #' Converts a list object or several data.frames of protein-level data to an object of the class 'proData'. Objects of the class 'proData' are lists with two obligatory components \code{e_data} and \code{f_data}. An optional list component \code{e_meta} is used if analysis...
\name{electronicAppendix} \alias{electronicAppendix} \title{Make an FDA-style Electronic Appendix from a Subversioned Directory.} \description{Make an FDA-style Electronic Appendix from a Subversioned Directory.} \usage{electronicAppendix( x, as=NULL, pattern = NULL, recursive = TRUE, ignore.case = TRUE, zip...
/man/electronicAppendix.Rd
no_license
metrumresearchgroup/metrumrg
R
false
false
2,214
rd
\name{electronicAppendix} \alias{electronicAppendix} \title{Make an FDA-style Electronic Appendix from a Subversioned Directory.} \description{Make an FDA-style Electronic Appendix from a Subversioned Directory.} \usage{electronicAppendix( x, as=NULL, pattern = NULL, recursive = TRUE, ignore.case = TRUE, zip...
# Converts a string date "DD.MM.YYYY" into a Julian date (doy,year) date2jul1 <- function(d) { res <- .C("Cdate2jul1",date=as.character(d),doy=integer(1),year=integer(1)) return(list(doy=res$doy, year=res$year)) }
/R/date2jul1.R
no_license
cran/pheno
R
false
false
219
r
# Converts a string date "DD.MM.YYYY" into a Julian date (doy,year) date2jul1 <- function(d) { res <- .C("Cdate2jul1",date=as.character(d),doy=integer(1),year=integer(1)) return(list(doy=res$doy, year=res$year)) }
#!/usr/local/bin/Rscript # compare the lints obtained before/after a given PR/branch vs a base branch (default main). # # How to use: # See below (param_list <-) for documentation of the script's arguments. # Most importantly, you'll need to provide a `--pkg_dir` pointing to a # local directory containing R pa...
/.dev/compare_branches.R
permissive
russHyde/lintr
R
false
false
21,676
r
#!/usr/local/bin/Rscript # compare the lints obtained before/after a given PR/branch vs a base branch (default main). # # How to use: # See below (param_list <-) for documentation of the script's arguments. # Most importantly, you'll need to provide a `--pkg_dir` pointing to a # local directory containing R pa...
library(caret) require(party) library(e1071) library(adabag) library(RWeka) library(partykit) library(ggplot2) library(e1071) library(cat)#nose si la utilizo require("robCompositions", lib.loc="C:/Program Files/R/R-3.1.1/library") require(mice) library(rpart) library(FSelector) library(class) library(mlbench) library(k...
/Code/Funciones.R
no_license
cjferba/ML-Protein_Structure_Prediction
R
false
false
8,529
r
library(caret) require(party) library(e1071) library(adabag) library(RWeka) library(partykit) library(ggplot2) library(e1071) library(cat)#nose si la utilizo require("robCompositions", lib.loc="C:/Program Files/R/R-3.1.1/library") require(mice) library(rpart) library(FSelector) library(class) library(mlbench) library(k...
/xyz.R
no_license
Mischroegit/beispielarchiv
R
false
false
134
r
#' `cat()` helpers #' #' These helpers provide useful wrappers around [cat()]: most importantly #' they all set `sep = ""`, and `cat_line()` automatically adds a newline. #' #' @export #' @param ... For `cat_line()` and `cat_bullet()`, pasted together with #' `collapse = "\n"`. For `cat_rule()` and `cat_boxx()` passe...
/R/cat.R
permissive
r-lib/cli
R
false
false
1,828
r
#' `cat()` helpers #' #' These helpers provide useful wrappers around [cat()]: most importantly #' they all set `sep = ""`, and `cat_line()` automatically adds a newline. #' #' @export #' @param ... For `cat_line()` and `cat_bullet()`, pasted together with #' `collapse = "\n"`. For `cat_rule()` and `cat_boxx()` passe...
\docType{data} \name{mongo.update.basic} \alias{mongo.update.basic} \title{mongo.update() flag constant for performing a basic update} \format{\preformatted{ int 4 }} \usage{ mongo.update.basic } \value{ 4L } \description{ Flag to \code{\link{mongo.update}()} (4L): Perform a basic update. } \seealso{ \code{\link{mongo....
/man/mongo.update.basic.Rd
no_license
StefanoSpada/rmongodb
R
false
false
425
rd
\docType{data} \name{mongo.update.basic} \alias{mongo.update.basic} \title{mongo.update() flag constant for performing a basic update} \format{\preformatted{ int 4 }} \usage{ mongo.update.basic } \value{ 4L } \description{ Flag to \code{\link{mongo.update}()} (4L): Perform a basic update. } \seealso{ \code{\link{mongo....
\name{getAllEdges} \alias{getAllEdges} \alias{getAllEdges,CytoscapeWindowClass-method} \title{getAllEdges} \description{ Retrieve all edges in the current graph, expressed in the standard Cytoscape notation. } \usage{ getAllEdges(obj) } \arguments{ \item{obj}{a \code{CytoscapeWindowClass} object. } } \value{ A list ...
/man/getAllEdges.Rd
no_license
pshannon-bioc/RCy3
R
false
false
593
rd
\name{getAllEdges} \alias{getAllEdges} \alias{getAllEdges,CytoscapeWindowClass-method} \title{getAllEdges} \description{ Retrieve all edges in the current graph, expressed in the standard Cytoscape notation. } \usage{ getAllEdges(obj) } \arguments{ \item{obj}{a \code{CytoscapeWindowClass} object. } } \value{ A list ...
# +~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ # # # Title: Fit beta-binomial by coder model to crowd-sourced validation # dataset on populist instances among political statements on # Twitter and Facebook. # Author: Hauke Licht # File: fit_beta-binom_classificat...
/jobs/fit_beta-binom_classifiaction_populism.R
no_license
haukelicht/crowd-sourced-annotation-misc
R
false
false
4,442
r
# +~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ # # # Title: Fit beta-binomial by coder model to crowd-sourced validation # dataset on populist instances among political statements on # Twitter and Facebook. # Author: Hauke Licht # File: fit_beta-binom_classificat...
#' T-test Function #' #' This function run a one sample t-test. #' #' @param x A numeric vector of data. #' value. #' @param alternative a character string specifying the alternative hypothesis. #' This should only accept `"two.sided"`, `"less"`, or `"greater"`. Otherwise, #' the function should throw an informat...
/Code/my_t_test.R
no_license
RolinaC/STAT302Analysis
R
false
false
1,581
r
#' T-test Function #' #' This function run a one sample t-test. #' #' @param x A numeric vector of data. #' value. #' @param alternative a character string specifying the alternative hypothesis. #' This should only accept `"two.sided"`, `"less"`, or `"greater"`. Otherwise, #' the function should throw an informat...
yeast_go_mf <- read_csv('./raw_data/yeast_go_data.csv', col_names = F) %>% unique() nrow(yeast_go_stress) yeast_go_stress <- read_csv('./raw_data/yeast_go_stress.csv', col_names = F) dplyr::intersect(yeast_go_mf[,1], yeast_go_stress[,1]) %>% nrow() SELECT distinct dbxref.xref_key AS gp_acc FROM term INNER JOIN graph...
/GO.R
no_license
cangfengzhe/PARS-evolution
R
false
false
1,246
r
yeast_go_mf <- read_csv('./raw_data/yeast_go_data.csv', col_names = F) %>% unique() nrow(yeast_go_stress) yeast_go_stress <- read_csv('./raw_data/yeast_go_stress.csv', col_names = F) dplyr::intersect(yeast_go_mf[,1], yeast_go_stress[,1]) %>% nrow() SELECT distinct dbxref.xref_key AS gp_acc FROM term INNER JOIN graph...
rm(list=ls()) load("/Volumes/Thinh/Bader_Lab/heartdev/Data/d4_gsva_pseudotime.RData") load("/Volumes/Thinh/Bader_Lab/heartdev/GSVA_Temporal_tools/D4_GSVA_Monocle.RData") load("/Volumes/Thinh/Bader_Lab/heartdev/Data/Seurat_objects/Ventricular_D4.RData") d4_hallmark <- d4_gsva_pseudotime[which(grepl("^HALLMARK", rownames...
/d4_gsva_hclust.R
no_license
thinh-tran/temporal_pathway
R
false
false
1,885
r
rm(list=ls()) load("/Volumes/Thinh/Bader_Lab/heartdev/Data/d4_gsva_pseudotime.RData") load("/Volumes/Thinh/Bader_Lab/heartdev/GSVA_Temporal_tools/D4_GSVA_Monocle.RData") load("/Volumes/Thinh/Bader_Lab/heartdev/Data/Seurat_objects/Ventricular_D4.RData") d4_hallmark <- d4_gsva_pseudotime[which(grepl("^HALLMARK", rownames...
library(R.matlab) results <- readMat("MushraResults.mat") raws <- results$raw raws <- raws[,2:10,] lines <- character() lines <- c(lines, "\\begin{tabular}{|c|c|c|c|}") lines <- c(lines, "\t\\cline{2-4}") lines <- c(lines, "\t\\multicolumn{1}{c|}{} & \\multicolumn{3}{c|}{\\bf{Parameter Comparison}} \\tabularnewline")...
/RPlots/SMCPlots/SMCTTests.r
no_license
seanlikeskites/Thesis
R
false
false
1,222
r
library(R.matlab) results <- readMat("MushraResults.mat") raws <- results$raw raws <- raws[,2:10,] lines <- character() lines <- c(lines, "\\begin{tabular}{|c|c|c|c|}") lines <- c(lines, "\t\\cline{2-4}") lines <- c(lines, "\t\\multicolumn{1}{c|}{} & \\multicolumn{3}{c|}{\\bf{Parameter Comparison}} \\tabularnewline")...
# Importing libraries #install.packages("rlang") library(dplyr) library(lubridate) library(ggplot2) library(zoo) library(xts) library(moments) library(forecast) library(fpp) library(smooth) library(tseries) library(readxl) library(MLmetrics) library(TSstudio) library(TTR) library(rlang) library(shiny...
/UI_AirFare.R
no_license
tushars147/Projects
R
false
false
9,042
r
# Importing libraries #install.packages("rlang") library(dplyr) library(lubridate) library(ggplot2) library(zoo) library(xts) library(moments) library(forecast) library(fpp) library(smooth) library(tseries) library(readxl) library(MLmetrics) library(TSstudio) library(TTR) library(rlang) library(shiny...
## Create one R script called run_analysis.R that does the following: ## 1. Merges the training and the test sets to create one data set. ## 2. Extracts only the measurements on the mean and standard deviation for each measurement. ## 3. Uses descriptive activity names to name the activities in the data set ## 4. Appro...
/run_analysis.R
no_license
jean4875/datasciencecoursera
R
false
false
2,723
r
## Create one R script called run_analysis.R that does the following: ## 1. Merges the training and the test sets to create one data set. ## 2. Extracts only the measurements on the mean and standard deviation for each measurement. ## 3. Uses descriptive activity names to name the activities in the data set ## 4. Appro...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 8925 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 8912 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 8912 c c Input Parameter (command line, fil...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/MayerEichberger-Saffidine/PositionalGames_gttt/ttt_5x5-shape-4-GTTT-2-1-torus-0/ttt_5x5-shape-4-GTTT-2-1-torus-0.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
869
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 8925 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 8912 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 8912 c c Input Parameter (command line, fil...
testlist <- list(A = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.12396251261199e-221), .Dim = c(1L, 4L )), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_rows,testlist) str(result)
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613111202-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
248
r
testlist <- list(A = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.12396251261199e-221), .Dim = c(1L, 4L )), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_rows,testlist) str(result)
#!/usr/bin/Rscript ############################################################ # CSC591/791 P5: Capstone project - script to extract a # time series of data for either all users, or a particular # user from Journaling data. Much of the code is based on # our original P3 submission for time series analysis in R. # Nit...
/journaling_analytics/main.R
no_license
pj201/csc791-projects
R
false
false
3,624
r
#!/usr/bin/Rscript ############################################################ # CSC591/791 P5: Capstone project - script to extract a # time series of data for either all users, or a particular # user from Journaling data. Much of the code is based on # our original P3 submission for time series analysis in R. # Nit...
#' Site data #' #' Data table with information on sites that are being used for datascrapes. #' @format A data.table with 17 rows and 5 columns #' \describe{ #' \item{siteId}{Unique integer identifier for the site} #' \item{siteName}{The name of the site} #' \item{subscription}{Indicator whether the site requires su...
/R/data.R
no_license
isaactpetersen/ffanalytics
R
false
false
5,074
r
#' Site data #' #' Data table with information on sites that are being used for datascrapes. #' @format A data.table with 17 rows and 5 columns #' \describe{ #' \item{siteId}{Unique integer identifier for the site} #' \item{siteName}{The name of the site} #' \item{subscription}{Indicator whether the site requires su...
# test_GMLEnvelopeWithTimePeriod.R # Author: Emmanuel Blondel <emmanuel.blondel1@gmail.com> # # Description: Unit tests for classes inheriting GMLEnvelopeWithTimePeriod.R #======================= require(geometa, quietly = TRUE) require(sf) require(testthat) context("GMLEnvelopeWithTimePeriod") test_that("GMLEnvelop...
/tests/testthat/test_GMLEnvelopeWithTimePeriod.R
no_license
65MO/geometa
R
false
false
841
r
# test_GMLEnvelopeWithTimePeriod.R # Author: Emmanuel Blondel <emmanuel.blondel1@gmail.com> # # Description: Unit tests for classes inheriting GMLEnvelopeWithTimePeriod.R #======================= require(geometa, quietly = TRUE) require(sf) require(testthat) context("GMLEnvelopeWithTimePeriod") test_that("GMLEnvelop...
### This is the demo file of simulation ### we specify lagY as covariates here source("simulator.R") # functions for generating responses and network structure source("select_func.R") # functions for screening and post estimation ### simulation setup N = 100 # N (network size) Time = 100 K = 5 # number of blocks for...
/portal_main.R
no_license
shjwang/portal_node_code
R
false
false
2,714
r
### This is the demo file of simulation ### we specify lagY as covariates here source("simulator.R") # functions for generating responses and network structure source("select_func.R") # functions for screening and post estimation ### simulation setup N = 100 # N (network size) Time = 100 K = 5 # number of blocks for...
/04_Kvalitetselementer_søylediagram_oldstuff.R
no_license
DagHjermann/Elveovervakning
R
false
false
1,601
r
library(tidyverse) library(rvest) library(rdrop2) library(reshape2) # Setup your own databases # drop_auth() # # token <- drop_auth() # saveRDS(token, file = "token.rds") # read it back with readRDS token <- readRDS("droptoken.rds") # Updated the daily count database ---------------------------------------------...
/get_data.R
no_license
kcha193/covid19nz
R
false
false
6,643
r
library(tidyverse) library(rvest) library(rdrop2) library(reshape2) # Setup your own databases # drop_auth() # # token <- drop_auth() # saveRDS(token, file = "token.rds") # read it back with readRDS token <- readRDS("droptoken.rds") # Updated the daily count database ---------------------------------------------...
#' Cartesian coordinates with fixed relationship between x and y scales. #' #' A fixed scale coordinate system forces a specified ratio between the #' physical representation of data units on the axes. The ratio represents the #' number of units on the y-axis equivalent to one unit on the x-axis. The #' default, \code{...
/R/coord-fixed.r
no_license
bbolker/ggplot2
R
false
false
1,528
r
#' Cartesian coordinates with fixed relationship between x and y scales. #' #' A fixed scale coordinate system forces a specified ratio between the #' physical representation of data units on the axes. The ratio represents the #' number of units on the y-axis equivalent to one unit on the x-axis. The #' default, \code{...
N_rep_sann = 100 N_ant = 104 N_panel_max = 40 panel_seq <- 1:N_panel_max LL_panel <- matrix(NA, nrow=N_panel_max, ncol=N_rep_sann) N_ant_panel <- matrix(NA, nrow=N_panel_max, ncol=N_rep_sann) ant_prob <- matrix(0, nrow=N_ant, ncol=N_panel_max) ############################################ #####...
/Figure3_AlphaScreen_DownSelection.R
no_license
MWhite-InstitutPasteur/Pvivax_sero_dx
R
false
false
41,737
r
N_rep_sann = 100 N_ant = 104 N_panel_max = 40 panel_seq <- 1:N_panel_max LL_panel <- matrix(NA, nrow=N_panel_max, ncol=N_rep_sann) N_ant_panel <- matrix(NA, nrow=N_panel_max, ncol=N_rep_sann) ant_prob <- matrix(0, nrow=N_ant, ncol=N_panel_max) ############################################ #####...
#' List of all available animations #' #' A list containing all available animations. #' #' Source: \url{https://github.com/IanLunn/Hover} "animations"
/R/data.R
permissive
r4fun/hover
R
false
false
152
r
#' List of all available animations #' #' A list containing all available animations. #' #' Source: \url{https://github.com/IanLunn/Hover} "animations"
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/Conversion.R \name{Conversion} \alias{Conversion} \alias{as.data.frame.OriginPeriod} \title{Conversion} \usage{ \method{as.data.frame}{OriginPeriod}(x, ...) } \arguments{ \item{x}{OriginPeriod object} \item{...}{Additional arguments}...
/man/Conversion.Rd
no_license
PirateGrunt/OriginPeriod
R
false
false
388
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/Conversion.R \name{Conversion} \alias{Conversion} \alias{as.data.frame.OriginPeriod} \title{Conversion} \usage{ \method{as.data.frame}{OriginPeriod}(x, ...) } \arguments{ \item{x}{OriginPeriod object} \item{...}{Additional arguments}...
#find and remove features that only showed up in one cohort (for multi cohort phenotypes only) after meta-analysis suppressMessages(library(tidyverse)) args <- commandArgs(trailingOnly = TRUE) d=readRDS(args[[1]]) #get number of datasets dsetnum=max(unlist(unname(lapply(d,function(x) nrow(x[[1]]$data))))) if(is.fi...
/example_scripts/filter_single_cohort_sig_feats.R
permissive
jtnedoctor/microbiome_voe
R
false
false
725
r
#find and remove features that only showed up in one cohort (for multi cohort phenotypes only) after meta-analysis suppressMessages(library(tidyverse)) args <- commandArgs(trailingOnly = TRUE) d=readRDS(args[[1]]) #get number of datasets dsetnum=max(unlist(unname(lapply(d,function(x) nrow(x[[1]]$data))))) if(is.fi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/param_nzv.R \name{freq_cut} \alias{freq_cut} \alias{unique_cut} \title{Near-zero variance parameters} \usage{ freq_cut(range = c(5, 25), trans = NULL) unique_cut(range = c(0, 100), trans = NULL) } \arguments{ \item{range}{A two-element vecto...
/man/freq_cut.Rd
permissive
tidymodels/dials
R
false
true
1,042
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/param_nzv.R \name{freq_cut} \alias{freq_cut} \alias{unique_cut} \title{Near-zero variance parameters} \usage{ freq_cut(range = c(5, 25), trans = NULL) unique_cut(range = c(0, 100), trans = NULL) } \arguments{ \item{range}{A two-element vecto...
#' @title Ward clustering with soft contiguity contraints #' #' @description Implements a Ward-like hierarchical clustering #' algorithm including soft contiguity constraints. The algorithm takes as #' input two dissimilarity matrices \code{D0} and \code{D1} and a mixing #' parameter alpha between 0 an 1. The dissim...
/R/hclustgeo.R
no_license
chavent/ClustGeo
R
false
false
6,821
r
#' @title Ward clustering with soft contiguity contraints #' #' @description Implements a Ward-like hierarchical clustering #' algorithm including soft contiguity constraints. The algorithm takes as #' input two dissimilarity matrices \code{D0} and \code{D1} and a mixing #' parameter alpha between 0 an 1. The dissim...
path_zero <- function(overlap) nrow(overlap$positive) == 0 && nrow(overlap$negative) == 0 path_positive <- function(overlap) nrow(overlap$positive) > 0 && nrow(overlap$negative) == 0 path_negative <- function(overlap) nrow(overlap$positive) == 0 && nrow(overlap$negative) > 0 path_non_negative <- function(overlap...
/R/signs.R
no_license
guzhongru/admixture_graph
R
false
false
4,084
r
path_zero <- function(overlap) nrow(overlap$positive) == 0 && nrow(overlap$negative) == 0 path_positive <- function(overlap) nrow(overlap$positive) > 0 && nrow(overlap$negative) == 0 path_negative <- function(overlap) nrow(overlap$positive) == 0 && nrow(overlap$negative) > 0 path_non_negative <- function(overlap...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{H1_Example} \alias{H1_Example} \title{An example of H1 RDBES data using test data.} \format{ A list containing entries required for H1 RDBES data: \describe{ \item{DE}{the Design data frame} \item{SD}{the Sampl...
/WKRDB-EST2/subGroup6/icesRDBES/man/H1_Example.Rd
permissive
jlorenzog/WK_RDBES
R
false
true
920
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{H1_Example} \alias{H1_Example} \title{An example of H1 RDBES data using test data.} \format{ A list containing entries required for H1 RDBES data: \describe{ \item{DE}{the Design data frame} \item{SD}{the Sampl...
#' @title Graphical Calculator for Normal Curve Percentiles #' @description When you know a certain area under a normal denisity durve, this function returns #' the x-axis values of the boundary of that area. #' #' @rdname qnormGC #' @usage qnormGC(area,region="below",mean=0,sd=1,graph=FALSE) #' @param area The known...
/R/qnormGC.R
no_license
arturochian/tigerstats
R
false
false
4,752
r
#' @title Graphical Calculator for Normal Curve Percentiles #' @description When you know a certain area under a normal denisity durve, this function returns #' the x-axis values of the boundary of that area. #' #' @rdname qnormGC #' @usage qnormGC(area,region="below",mean=0,sd=1,graph=FALSE) #' @param area The known...
\name{LARkmeans-package} \alias{LARkmeans-package} \alias{LARkmeans} \docType{package} \title{ \packageTitle{LARkmeans} } \description{ \packageDescription{LARkmeans} } \details{ \packageDESCRIPTION{LARkmeans} \packageIndices{LARkmeans} } \author{ \packageAuthor{LARkmeans} Maintainer: \packageMaintainer{LARkmeans} } \...
/man/LARkmeans-package.Rd
no_license
rintakumpu/custom-kmeans
R
false
false
981
rd
\name{LARkmeans-package} \alias{LARkmeans-package} \alias{LARkmeans} \docType{package} \title{ \packageTitle{LARkmeans} } \description{ \packageDescription{LARkmeans} } \details{ \packageDESCRIPTION{LARkmeans} \packageIndices{LARkmeans} } \author{ \packageAuthor{LARkmeans} Maintainer: \packageMaintainer{LARkmeans} } \...
####Feature selection setwd("/R stuff/UCI HAR Dataset") ###libraries library(mlbench) library(caret) library(randomForest) #load datasets train <- read.table("train_set.csv", sep =",", header = TRUE) train$label <- factor(train$label) ####Feature selection by correlation #generate correlatio...
/feature_selection.R
no_license
OliDR24/Assignment_3
R
false
false
1,837
r
####Feature selection setwd("/R stuff/UCI HAR Dataset") ###libraries library(mlbench) library(caret) library(randomForest) #load datasets train <- read.table("train_set.csv", sep =",", header = TRUE) train$label <- factor(train$label) ####Feature selection by correlation #generate correlatio...
### Exercise 1 ### # libraries library(dplyr) # We'll be using the mtcars dataset -- adding rowname as a column vehicle <- add_rownames(mtcars, var='car') ######## buggy ######### ---------------------------------------------- # Function to debug: # Given a number of forward gears and a number of cylinders, what i...
/exercise-1/exercise.R
permissive
alisonpak/m10-apis
R
false
false
650
r
### Exercise 1 ### # libraries library(dplyr) # We'll be using the mtcars dataset -- adding rowname as a column vehicle <- add_rownames(mtcars, var='car') ######## buggy ######### ---------------------------------------------- # Function to debug: # Given a number of forward gears and a number of cylinders, what i...
#' Function to calculate an SDF from a set of points to a polygon #' #' @param points_sf #' @param range_sf #' @param geo_dist #' #' @return #' @export #' #' @examples calculate_sdf <- function(points_sf, range_sf, geo_dist = TRUE) { if(!geo_dist) { points_sf <- points_sf %>% sf::st_set_crs(NA) range_...
/R/sdf.R
permissive
rdinnager/rngnet
R
false
false
5,531
r
#' Function to calculate an SDF from a set of points to a polygon #' #' @param points_sf #' @param range_sf #' @param geo_dist #' #' @return #' @export #' #' @examples calculate_sdf <- function(points_sf, range_sf, geo_dist = TRUE) { if(!geo_dist) { points_sf <- points_sf %>% sf::st_set_crs(NA) range_...
#' #' https://bioconductor.org/packages/release/bioc/vignettes/BUSpaRse/inst/doc/sparse-matrix.html # # tr2g <- transcript2gene(species = c("Homo sapiens", "Mus musculus"), type = "vertebrate", # # kallisto_out_path = "./out_hgmm100", ensembl_version = 99, # # write_tr2g ...
/R/rna.R
no_license
Chebuu/foa
R
false
false
331
r
#' #' https://bioconductor.org/packages/release/bioc/vignettes/BUSpaRse/inst/doc/sparse-matrix.html # # tr2g <- transcript2gene(species = c("Homo sapiens", "Mus musculus"), type = "vertebrate", # # kallisto_out_path = "./out_hgmm100", ensembl_version = 99, # # write_tr2g ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Data.R \docType{data} \name{week13_network} \alias{week13_network} \title{Week 13's participant to participant network format file} \format{A network with multiple attributes, such as vertices, directed, bipartite, total edges, etc.} \source{...
/man/week13_network.Rd
no_license
fanouyang/networkanalyticspackage
R
false
true
598
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Data.R \docType{data} \name{week13_network} \alias{week13_network} \title{Week 13's participant to participant network format file} \format{A network with multiple attributes, such as vertices, directed, bipartite, total edges, etc.} \source{...
library(MatchIt) library(data.table) library(dplyr) library(tidyr) library(readxl) library(varhandle) library(stringr) library(writexl) Rocket<-read_excel('C:\\Users\\Tao\\Desktop\\jhu课程\\2021-spring\\Marketing Management X1\\Rock\\input\\dataset_Rocket_forR.xlsx') set.seed(345) match_results_v <- match...
/PSM/PSM-Rocket.R
no_license
toot2494/Other-algorithm
R
false
false
1,160
r
library(MatchIt) library(data.table) library(dplyr) library(tidyr) library(readxl) library(varhandle) library(stringr) library(writexl) Rocket<-read_excel('C:\\Users\\Tao\\Desktop\\jhu课程\\2021-spring\\Marketing Management X1\\Rock\\input\\dataset_Rocket_forR.xlsx') set.seed(345) match_results_v <- match...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{specificityTestResults} \alias{specificityTestResults} \title{Specificity test results dataset.} \format{data.frame \describe{ \item{points}{The number of points per group.} \item{rep}{The repitition.} \item{pValue...
/man/specificityTestResults.Rd
no_license
GranderLab/ClusterSignificanceExtras
R
false
true
558
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{specificityTestResults} \alias{specificityTestResults} \title{Specificity test results dataset.} \format{data.frame \describe{ \item{points}{The number of points per group.} \item{rep}{The repitition.} \item{pValue...
% Copyright (C) 2017 Google, Inc. % Generated by roxygen2: do not edit by hand % Please edit documentation in R/extractgeoassignment.R \name{ExtractGeoAssignment} \alias{ExtractGeoAssignment} \alias{ExtractGeoAssignment.GeoExperimentData} \alias{ExtractGeoAssignment.GeoTimeseries} \title{Extracts a GeoAssignment objec...
/man/ExtractGeoAssignment.Rd
permissive
ovative-group/GeoexperimentsResearch
R
false
false
1,038
rd
% Copyright (C) 2017 Google, Inc. % Generated by roxygen2: do not edit by hand % Please edit documentation in R/extractgeoassignment.R \name{ExtractGeoAssignment} \alias{ExtractGeoAssignment} \alias{ExtractGeoAssignment.GeoExperimentData} \alias{ExtractGeoAssignment.GeoTimeseries} \title{Extracts a GeoAssignment objec...
# LABELING AND SUMMARIZING USHMM DATA IN HMISC # 2014-09-06 # Clear the workspace rm(list=ls(all=TRUE)) # Load required packages library(Hmisc) library(DataCombine) # Get working directory wd <- getwd() # Load the transformed data dat <- read.csv(paste0(wd, "/data.out/ewp.statrisk.data.transformed.csv")) # NOTES O...
/R/data.dictionary.R
no_license
EarlyWarningProject/2015-Statistical-Risk-Assessment
R
false
false
22,121
r
# LABELING AND SUMMARIZING USHMM DATA IN HMISC # 2014-09-06 # Clear the workspace rm(list=ls(all=TRUE)) # Load required packages library(Hmisc) library(DataCombine) # Get working directory wd <- getwd() # Load the transformed data dat <- read.csv(paste0(wd, "/data.out/ewp.statrisk.data.transformed.csv")) # NOTES O...
#' Create a Data Management Object #' #' @param settings_file The YAML settings file to use #' @param settings A list of settings to use instead of a file #' #' @return A DataManagement object #' @importFrom yaml yaml.load_file #' @importFrom purrr map_chr #' @export #' DataManagement <- function(settings_file="", s...
/R/DataManagement.R
no_license
qPharmetra/PMDatR
R
false
false
16,035
r
#' Create a Data Management Object #' #' @param settings_file The YAML settings file to use #' @param settings A list of settings to use instead of a file #' #' @return A DataManagement object #' @importFrom yaml yaml.load_file #' @importFrom purrr map_chr #' @export #' DataManagement <- function(settings_file="", s...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dataset.R, R/ridlobject.R \name{ridl_resource_get_all.RIDLDataset} \alias{ridl_resource_get_all.RIDLDataset} \alias{ridl_resource_get_all} \alias{ridl_resource_get_all.default} \title{List all the resources in a dataset} \usage{ \method{ridl_...
/man/ridl_resource_get_all.Rd
permissive
UNHCRmdl/ridl-1
R
false
true
753
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dataset.R, R/ridlobject.R \name{ridl_resource_get_all.RIDLDataset} \alias{ridl_resource_get_all.RIDLDataset} \alias{ridl_resource_get_all} \alias{ridl_resource_get_all.default} \title{List all the resources in a dataset} \usage{ \method{ridl_...