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(agridat) ### Name: fan.stability ### Title: Multi-environment trial of maize hybrids in China ### Aliases: fan.stability ### Keywords: datasets ### ** Examples data(fan.stability) dat <- fan.stability dat$env <- factor(paste(dat$loc, dat$year, sep="")) require(lattice) dotplot(gen~yield|env, dat, main="fa...
/data/genthat_extracted_code/agridat/examples/fan.stability.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
573
r
library(agridat) ### Name: fan.stability ### Title: Multi-environment trial of maize hybrids in China ### Aliases: fan.stability ### Keywords: datasets ### ** Examples data(fan.stability) dat <- fan.stability dat$env <- factor(paste(dat$loc, dat$year, sep="")) require(lattice) dotplot(gen~yield|env, dat, main="fa...
library(ape) testtree <- read.tree("61_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="61_0_unrooted.txt")
/codeml_files/newick_trees_processed/61_0/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
131
r
library(ape) testtree <- read.tree("61_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="61_0_unrooted.txt")
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/helper_RGCCA.R \name{cors_rgcca} \alias{cors_rgcca} \title{Check the efficacy of RGCCA} \usage{ cors_rgcca(a, rgcca) } \arguments{ \item{a}{The value} \item{rgcca}{The output of \code{\link[RGCCA:sgcca]{RGCCA::sgcca()}} or \code{\link[RGCCA:...
/man/cors_rgcca.Rd
permissive
llrs/integration-helper
R
false
true
575
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/helper_RGCCA.R \name{cors_rgcca} \alias{cors_rgcca} \title{Check the efficacy of RGCCA} \usage{ cors_rgcca(a, rgcca) } \arguments{ \item{a}{The value} \item{rgcca}{The output of \code{\link[RGCCA:sgcca]{RGCCA::sgcca()}} or \code{\link[RGCCA:...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/storage_objects.R \name{Object.owner} \alias{Object.owner} \title{Object.owner Object} \usage{ Object.owner(entity = NULL, entityId = NULL) } \arguments{ \item{entity}{The entity, in the form user-userId} \item{entityId}{The ID for the entit...
/googlestoragev1.auto/man/Object.owner.Rd
permissive
GVersteeg/autoGoogleAPI
R
false
true
831
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/storage_objects.R \name{Object.owner} \alias{Object.owner} \title{Object.owner Object} \usage{ Object.owner(entity = NULL, entityId = NULL) } \arguments{ \item{entity}{The entity, in the form user-userId} \item{entityId}{The ID for the entit...
## This piece of code is part of PRoject 1 of Exploratory Data Analysis course on Coursera ## This file reads Data from household_power_consumption.txt file ## Then Creates three Sub_Metering line graphs in one plot as per the instructions # Set the working directory setwd("E:\\Coursera\\Exploratory Data Analysis\\Pr...
/plot3.R
no_license
arvindagrawal/ExData_Plotting1
R
false
false
1,393
r
## This piece of code is part of PRoject 1 of Exploratory Data Analysis course on Coursera ## This file reads Data from household_power_consumption.txt file ## Then Creates three Sub_Metering line graphs in one plot as per the instructions # Set the working directory setwd("E:\\Coursera\\Exploratory Data Analysis\\Pr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dmixn.R \name{dmixn} \alias{dmixn} \title{Fast density computation for mixture of multivariate normal distributions.} \usage{ dmixn(X, mu, sigma, w, log = FALSE, ncores = 1, isChol = FALSE, A = NULL) } \arguments{ \item{X}{matrix n by d whe...
/fuzzedpackages/mvnfast/man/dmixn.Rd
no_license
akhikolla/testpackages
R
false
true
3,049
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dmixn.R \name{dmixn} \alias{dmixn} \title{Fast density computation for mixture of multivariate normal distributions.} \usage{ dmixn(X, mu, sigma, w, log = FALSE, ncores = 1, isChol = FALSE, A = NULL) } \arguments{ \item{X}{matrix n by d whe...
#' @export as_int64 <- function(x) { UseMethod("as_int64") } #' @export as_int64.default <- function(x) { stop_input_type(x, "coercible to int64") } #' @export as_int64.integer <- function(x) { .Call(ffi_coerce_int_to_int64, x) } # ------------------------------------------------------------------------------...
/R/coerce.R
permissive
DavisVaughan/int64
R
false
false
699
r
#' @export as_int64 <- function(x) { UseMethod("as_int64") } #' @export as_int64.default <- function(x) { stop_input_type(x, "coercible to int64") } #' @export as_int64.integer <- function(x) { .Call(ffi_coerce_int_to_int64, x) } # ------------------------------------------------------------------------------...
cat("\014") # Clear your console rm(list = ls()) #clear your environment ########################## Load in header file ######################## # setwd("~/git/of_dollars_and_data") source(file.path(paste0(getwd(),"/header.R"))) ########################## Load in Libraries ########################## # library(ggplot...
/analysis/0040_joyplots_all_assets.R
no_license
nmaggiulli/of-dollars-and-data
R
false
false
4,278
r
cat("\014") # Clear your console rm(list = ls()) #clear your environment ########################## Load in header file ######################## # setwd("~/git/of_dollars_and_data") source(file.path(paste0(getwd(),"/header.R"))) ########################## Load in Libraries ########################## # library(ggplot...
#!/usr/bin/env Rscript inputargs = commandArgs(trailingOnly=TRUE) workingData <- inputargs[2] #Across cell-type WGCNA, PITT tetrad cohort library(WGCNA) options(stringsAsFactors = FALSE) allowWGCNAThreads() load("PITT tetrad differential WGCNA input (normalized counts, no trans, no quantile norm).rData") #C...
/Observed modules.R
permissive
DwightNewton/WGCNA_metaNET
R
false
false
4,165
r
#!/usr/bin/env Rscript inputargs = commandArgs(trailingOnly=TRUE) workingData <- inputargs[2] #Across cell-type WGCNA, PITT tetrad cohort library(WGCNA) options(stringsAsFactors = FALSE) allowWGCNAThreads() load("PITT tetrad differential WGCNA input (normalized counts, no trans, no quantile norm).rData") #C...
rm(list=ls()) data_cust2 <- read.csv("Working/data_cust_1-3.csv", header=TRUE) #소득이 0인 사람의 데이터를 직업별 평균 값으로 수정, (cust_incm_avg_by_occp <- tapply(data_cust2$CUST_INCM, data_cust2$OCCP_GRP_1, mean)) (cust_incm_avg_by_occp <- round(cust_incm_avg_by_occp)) zero_to_mean <- function(occp, incm) { if(incm == 0) return...
/R_DataAnalysis/R_Hanwha/Lab_2-1.R
no_license
Jerrykim91/Bigdata_Analytics
R
false
false
2,051
r
rm(list=ls()) data_cust2 <- read.csv("Working/data_cust_1-3.csv", header=TRUE) #소득이 0인 사람의 데이터를 직업별 평균 값으로 수정, (cust_incm_avg_by_occp <- tapply(data_cust2$CUST_INCM, data_cust2$OCCP_GRP_1, mean)) (cust_incm_avg_by_occp <- round(cust_incm_avg_by_occp)) zero_to_mean <- function(occp, incm) { if(incm == 0) return...
#Required Libraries library('maptools') library('rgdal') library('classInt') library('RColorBrewer') library('spdep') library('pracma') # A function that plots the TDA graph over a map of colombia #' @param df the corresponding data frame that was used for the TDAmapper analysis #' @param tda the TDAmapper element #' @...
/Other Scripts/plot_over_colombia.R
no_license
minigonche/tda_mapper
R
false
false
11,130
r
#Required Libraries library('maptools') library('rgdal') library('classInt') library('RColorBrewer') library('spdep') library('pracma') # A function that plots the TDA graph over a map of colombia #' @param df the corresponding data frame that was used for the TDAmapper analysis #' @param tda the TDAmapper element #' @...
testlist <- list(type = 655360L, z = 1.11253699556726e-308) result <- do.call(esreg::G1_fun,testlist) str(result)
/esreg/inst/testfiles/G1_fun/libFuzzer_G1_fun/G1_fun_valgrind_files/1609891207-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
113
r
testlist <- list(type = 655360L, z = 1.11253699556726e-308) result <- do.call(esreg::G1_fun,testlist) str(result)
% Generated by roxygen2 (4.0.2): do not edit by hand \name{logfile} \alias{logfile} \alias{logfile.logger} \alias{logfile<-} \alias{logfile<-.logger} \title{Get or set the logfile for a logger object.} \usage{ logfile(x) logfile(x) <- value \method{logfile}{logger}(x) \method{logfile}{logger}(x) <- value } \argument...
/man/logfile.Rd
no_license
ktaranov/log4r
R
false
false
688
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{logfile} \alias{logfile} \alias{logfile.logger} \alias{logfile<-} \alias{logfile<-.logger} \title{Get or set the logfile for a logger object.} \usage{ logfile(x) logfile(x) <- value \method{logfile}{logger}(x) \method{logfile}{logger}(x) <- value } \argument...
# Get x,y data joined up # Class Summary - sorted by average ec_dat_sum <- ec_dat %>% group_by(observer) %>% summarise(n = n(), min = fivenum(recLevel)[1], Q1 = fivenum(recLevel)[2], median = fivenum(recLevel)[3], Q3 = fivenum(recLevel)[4], max = fivenum...
/05_distance-to-dominos.R
no_license
robschick/East-Campus-Sound
R
false
false
1,708
r
# Get x,y data joined up # Class Summary - sorted by average ec_dat_sum <- ec_dat %>% group_by(observer) %>% summarise(n = n(), min = fivenum(recLevel)[1], Q1 = fivenum(recLevel)[2], median = fivenum(recLevel)[3], Q3 = fivenum(recLevel)[4], max = fivenum...
library(EvaluationMeasures) ### Name: EvaluationMeasures.Precision ### Title: EvaluationMeasures.Precision ### Aliases: EvaluationMeasures.Precision ### ** Examples EvaluationMeasures.Precision(c(1,0,1,0,1,0,1,0),c(1,1,1,1,1,1,0,0))
/data/genthat_extracted_code/EvaluationMeasures/examples/EvaluationMeasures.Precision.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
240
r
library(EvaluationMeasures) ### Name: EvaluationMeasures.Precision ### Title: EvaluationMeasures.Precision ### Aliases: EvaluationMeasures.Precision ### ** Examples EvaluationMeasures.Precision(c(1,0,1,0,1,0,1,0),c(1,1,1,1,1,1,0,0))
\name{get_independent_sister_tips} \alias{get_independent_sister_tips} \title{ Extract disjoint tip pairs with independent relationships. } \description{ Given a rooted tree, extract disjoint pairs of sister tips with disjoint connecting paths. These tip pairs can be used to compute independent contrasts of numerical t...
/man/get_independent_sister_tips.Rd
no_license
cran/castor
R
false
false
1,845
rd
\name{get_independent_sister_tips} \alias{get_independent_sister_tips} \title{ Extract disjoint tip pairs with independent relationships. } \description{ Given a rooted tree, extract disjoint pairs of sister tips with disjoint connecting paths. These tip pairs can be used to compute independent contrasts of numerical t...
fortify.nestspec <- function(nestobj){ df <- data_frame(spec = nestobj$spec, freq = nestobj$freq, background = nestobj$background, periodogram_p = nestobj$periodogram$p, # periodogram_f = nestobj$periodogram$f, powq = nestobj$powq ) df %>%...
/autoplot.nestpec.r
no_license
richardjtelford/solarRings
R
false
false
2,107
r
fortify.nestspec <- function(nestobj){ df <- data_frame(spec = nestobj$spec, freq = nestobj$freq, background = nestobj$background, periodogram_p = nestobj$periodogram$p, # periodogram_f = nestobj$periodogram$f, powq = nestobj$powq ) df %>%...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getAllCounties.R \name{getAllCounties} \alias{getAllCounties} \title{Get basic data on all counties} \usage{ getAllCounties() } \value{ A data frame with a row for each county and columns with the following variables describing the county:\cr...
/man/getAllCounties.Rd
no_license
decktools/pvsR
R
false
true
1,063
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getAllCounties.R \name{getAllCounties} \alias{getAllCounties} \title{Get basic data on all counties} \usage{ getAllCounties() } \value{ A data frame with a row for each county and columns with the following variables describing the county:\cr...
\name{observed.log.likelihood0_Sj_q0} \alias{observed.log.likelihood0_Sj_q0} \title{ Log-likelihood of the mixture model for \eqn{q=0} } \description{ Log-likelihood of the mixture model evaluated only at the alive components. } \usage{ observed.log.likelihood0_Sj_q0(x_data, w, mu, Sigma, z) } \arguments{ \item{x_dat...
/fuzzedpackages/fabMix/man/observed.log.likelihood0_Sj_q0.Rd
no_license
akhikolla/testpackages
R
false
false
1,161
rd
\name{observed.log.likelihood0_Sj_q0} \alias{observed.log.likelihood0_Sj_q0} \title{ Log-likelihood of the mixture model for \eqn{q=0} } \description{ Log-likelihood of the mixture model evaluated only at the alive components. } \usage{ observed.log.likelihood0_Sj_q0(x_data, w, mu, Sigma, z) } \arguments{ \item{x_dat...
context("Fossil cleaning tc_*") set.seed(1) #cf_range minages <- runif(n = 100, min = 0.1, max = 25) set.seed(1) maxages <- minages + c(runif(n = 99, min = 0, max = 5), 25) test <- data.frame(species = c(letters[1:9], "z"), lng = c(runif(n = 98, min = 4, max = 16), 75, 7), lat = c(runi...
/tests/testthat/test_fossillevel_functions.R
no_license
ropensci/CoordinateCleaner
R
false
false
4,509
r
context("Fossil cleaning tc_*") set.seed(1) #cf_range minages <- runif(n = 100, min = 0.1, max = 25) set.seed(1) maxages <- minages + c(runif(n = 99, min = 0, max = 5), 25) test <- data.frame(species = c(letters[1:9], "z"), lng = c(runif(n = 98, min = 4, max = 16), 75, 7), lat = c(runi...
#' Save data for TODO #' #' @param analysis Analysis object, initialized by TODO.init. #' @param output_file An Rds file in which analysis results will be saved. #' @param prune If TRUE (default) then diagnostic data is not saved. If FALSE, diagnostic data is saved (making the output file much larger). #' #' @export e...
/R/save_results.R
permissive
maj-biostat/InterventionEvaluatR
R
false
false
2,731
r
#' Save data for TODO #' #' @param analysis Analysis object, initialized by TODO.init. #' @param output_file An Rds file in which analysis results will be saved. #' @param prune If TRUE (default) then diagnostic data is not saved. If FALSE, diagnostic data is saved (making the output file much larger). #' #' @export e...
# Exercise 2: Subsetting and Manipulating Vectors # Create a vector `x` that contains the numbers 5,2,6,2,1,7 x <- c(5, 2, 5, 2, 1, 7) # Create a vector `y` that contains the numbers 2,3 y <- c(2, 3) # Create a vector `z` by adding (not combining, but adding) `x` and `y` (note the recycling!) z <- x + y # Create a ...
/exercise-2/exercise.R
permissive
mtruong121/module7-vectors
R
false
false
783
r
# Exercise 2: Subsetting and Manipulating Vectors # Create a vector `x` that contains the numbers 5,2,6,2,1,7 x <- c(5, 2, 5, 2, 1, 7) # Create a vector `y` that contains the numbers 2,3 y <- c(2, 3) # Create a vector `z` by adding (not combining, but adding) `x` and `y` (note the recycling!) z <- x + y # Create a ...
setClassUnion(name = "characterOrFactor", members = c("character", "factor")) #' @title Plot serial data #' #' @description amPlot computes a plot of the given data values (can be a vector, dataframe or formula). #' #' @param x the coordinates of points in the plot : \code{numeric}, #' \code{data.frame}, or \code{...
/R/chart_amPlot.R
no_license
digital-analytix/rAmCharts
R
false
false
27,655
r
setClassUnion(name = "characterOrFactor", members = c("character", "factor")) #' @title Plot serial data #' #' @description amPlot computes a plot of the given data values (can be a vector, dataframe or formula). #' #' @param x the coordinates of points in the plot : \code{numeric}, #' \code{data.frame}, or \code{...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{is_datetype1} \alias{is_datetype1} \title{A function} \usage{ is_datetype1(v) } \description{ A function } \examples{ is_datetype1() }
/man/is_datetype1.Rd
no_license
srhoads/srhoads
R
false
true
231
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{is_datetype1} \alias{is_datetype1} \title{A function} \usage{ is_datetype1(v) } \description{ A function } \examples{ is_datetype1() }
library(shiny) fig.width = 400 fig.height = 400 shinyUI( fluidPage( fluidRow(column(3, br(), br(), aligh = "left", div( checkboxGroupInput("predcheckbox", label = "Predictors", ...
/apps/mediation-multipleregression/original/ui.R
no_license
WdeNooy/Statistical-Inference
R
false
false
991
r
library(shiny) fig.width = 400 fig.height = 400 shinyUI( fluidPage( fluidRow(column(3, br(), br(), aligh = "left", div( checkboxGroupInput("predcheckbox", label = "Predictors", ...
#rm(list = ls()) if (Sys.info()['nodename']=='PORTDONNET'){ direc <- "D:/WORK_ALL/RECHERCHE/TRAVAUX_RECHERCHE/Avner-Pierre/Ecologie/Code/MultipartiteCodes" }else{ direc <- "~/WORK_ALL/RECHERCHE/TRAVAUX_RECHERCHE/Avner-Pierre/MULTIPARTITE/CODES/SIMU_PAPIER_AOS/Simu_AOS_git/" } setwd(direc) library(GREMLIN) librar...
/simu_MIRES_AoAS.R
no_license
Sophiedonnet/Simu_AOS_git
R
false
false
11,191
r
#rm(list = ls()) if (Sys.info()['nodename']=='PORTDONNET'){ direc <- "D:/WORK_ALL/RECHERCHE/TRAVAUX_RECHERCHE/Avner-Pierre/Ecologie/Code/MultipartiteCodes" }else{ direc <- "~/WORK_ALL/RECHERCHE/TRAVAUX_RECHERCHE/Avner-Pierre/MULTIPARTITE/CODES/SIMU_PAPIER_AOS/Simu_AOS_git/" } setwd(direc) library(GREMLIN) librar...
library(mlbench) library(caret) library(e1071) library(lime) library(dplyr) library(ggplot2) library(lubridate) library(quantmod) library(PerformanceAnalytics) #library(rugarch) library(olsrr) library(psych) library(crayon) # This part of code reading Test and Train file train <- read.csv(file.choo...
/Housing_Boosting_Regress.R
no_license
Puru-Gupta/House-Prices---Advanced-Regression-Techniques
R
false
false
8,279
r
library(mlbench) library(caret) library(e1071) library(lime) library(dplyr) library(ggplot2) library(lubridate) library(quantmod) library(PerformanceAnalytics) #library(rugarch) library(olsrr) library(psych) library(crayon) # This part of code reading Test and Train file train <- read.csv(file.choo...
#' datahut: A data package for statistical analysis #' @description Provides datasets for Statistical Analysis #' @author Priyanga Dilini Talagala, Rob J. Hyndman #' @docType package #' @name datahut NULL
/R/datahut.R
no_license
pridiltal/datahut
R
false
false
206
r
#' datahut: A data package for statistical analysis #' @description Provides datasets for Statistical Analysis #' @author Priyanga Dilini Talagala, Rob J. Hyndman #' @docType package #' @name datahut NULL
# REMEMBER to restart R after you modify and save this file! # First, execute the global .Rprofile if it exists. You may configure blogdown # options there, too, so they apply to any blogdown projects. Feel free to # ignore this part if it sounds too complicated to you. if (file.exists("~/.Rprofile")) { base::sys.so...
/.Rprofile
no_license
mpjashby/lesscrime.info
R
false
false
963
rprofile
# REMEMBER to restart R after you modify and save this file! # First, execute the global .Rprofile if it exists. You may configure blogdown # options there, too, so they apply to any blogdown projects. Feel free to # ignore this part if it sounds too complicated to you. if (file.exists("~/.Rprofile")) { base::sys.so...
#### Lab 8: 1-way ANOVA, continued #### # For this lab you will use the datasets described in Chapter 15 of your book # but you will answer the slightly modified questions that I provide below # Clean up the working environment rm(list = ls()) # Verify working directory, should be ~/Documents/Analyses/lastname_first...
/assignments/2020-04-20_Lab8.R
no_license
BIO375/foley-anna
R
false
false
7,575
r
#### Lab 8: 1-way ANOVA, continued #### # For this lab you will use the datasets described in Chapter 15 of your book # but you will answer the slightly modified questions that I provide below # Clean up the working environment rm(list = ls()) # Verify working directory, should be ~/Documents/Analyses/lastname_first...
#' Get the TSN code for a search term. #' #' Retrieve the taxonomic serial numbers (TSN) of a taxon from ITIS. #' #' @export #' @param searchterm character; A vector of common or scientific names. #' @param searchtype character; One of 'scientific' or 'common', or any #' unique abbreviation #' @param accepted logical; ...
/R/get_tsn.R
permissive
fuyanli-UHM/taxize
R
false
false
9,280
r
#' Get the TSN code for a search term. #' #' Retrieve the taxonomic serial numbers (TSN) of a taxon from ITIS. #' #' @export #' @param searchterm character; A vector of common or scientific names. #' @param searchtype character; One of 'scientific' or 'common', or any #' unique abbreviation #' @param accepted logical; ...
# TEST FOR LEFT-TRUNCATED RIGHT-CENSORED DATA # THE NELSON-AALEN ESTIMATOR IS USED FOR THE CENSORING SURVIVAL FUNCTION # THIS PREVENTS 0 AT THEE RIGHT TAIL setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) library(mvtnorm) library(ggplot2) library(survival) source("TIBS.R") source("simulate_biased_sample.R"...
/code/Censoring_new.R
no_license
YanivTenzer/TIBS
R
false
false
7,637
r
# TEST FOR LEFT-TRUNCATED RIGHT-CENSORED DATA # THE NELSON-AALEN ESTIMATOR IS USED FOR THE CENSORING SURVIVAL FUNCTION # THIS PREVENTS 0 AT THEE RIGHT TAIL setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) library(mvtnorm) library(ggplot2) library(survival) source("TIBS.R") source("simulate_biased_sample.R"...
nimbleFinalize <- function(extptr) { eval(call('.Call',nimbleUserNamespace$sessionSpecificDll$RNimble_Ptr_ManualFinalizer, extptr)) } cGetNRow <- function(cMV, compIndex = 1) { nRow = eval(call('.Call', nimbleUserNamespace$sessionSpecificDll$getNRow, cMV$componentExtptrs[[compIndex]])) return(nRow) } newObjEl...
/packages/nimble/R/cppInterfaces_utils.R
no_license
nemochina2008/nimble
R
false
false
5,134
r
nimbleFinalize <- function(extptr) { eval(call('.Call',nimbleUserNamespace$sessionSpecificDll$RNimble_Ptr_ManualFinalizer, extptr)) } cGetNRow <- function(cMV, compIndex = 1) { nRow = eval(call('.Call', nimbleUserNamespace$sessionSpecificDll$getNRow, cMV$componentExtptrs[[compIndex]])) return(nRow) } newObjEl...
require(tdm) Ritss_test()
/tests/Ritonavir_test.R
no_license
cran/tdm
R
false
false
26
r
require(tdm) Ritss_test()
# class MultiCompanion # 2014-11-23 "representation" is deprecated from R-3.0.0, now using 'slots' instead setClass("MultiCompanion", slots = c(xtop = "matrix", # variable part mo = "numeric", # numbe...
/R/class_MC.R
no_license
cran/mcompanion
R
false
false
19,480
r
# class MultiCompanion # 2014-11-23 "representation" is deprecated from R-3.0.0, now using 'slots' instead setClass("MultiCompanion", slots = c(xtop = "matrix", # variable part mo = "numeric", # numbe...
## Copyright (C) 2011 John Verzani ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 of the License, or ## (at your option) any later version. ##...
/R/gbutton.R
no_license
jverzani/gWidgetsWWW2
R
false
false
5,187
r
## Copyright (C) 2011 John Verzani ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 of the License, or ## (at your option) any later version. ##...
function (x, l) { e <- get("data.env", .GlobalEnv) e[["C_relist_Int"]][[length(e[["C_relist_Int"]]) + 1]] <- list(x = x, l = l) .Call("_cna_C_relist_Int", x, l) }
/valgrind_test_dir/C_relist_Int-test.R
no_license
akhikolla/RcppDeepStateTest
R
false
false
185
r
function (x, l) { e <- get("data.env", .GlobalEnv) e[["C_relist_Int"]][[length(e[["C_relist_Int"]]) + 1]] <- list(x = x, l = l) .Call("_cna_C_relist_Int", x, l) }
##10 Sales_Forecast_3 ------------------- SCRIPT_REAL("library(forecast); time <-ts(.arg1, start=c(2013,1), frequency=12); fcast <- forecast(time, h=.arg2[1]); n<-length(.arg1); append(.arg1[(.arg2[1]+1):n],fcast$mean, after = n-.arg2[1])", SUM( [Sales Eur]),[Sales Months to Forecast])
/Tableau+R_Scripts/Tableau_Scripts_with_R_11.r
no_license
jeremyjwsc/Tableau-Work
R
false
false
294
r
##10 Sales_Forecast_3 ------------------- SCRIPT_REAL("library(forecast); time <-ts(.arg1, start=c(2013,1), frequency=12); fcast <- forecast(time, h=.arg2[1]); n<-length(.arg1); append(.arg1[(.arg2[1]+1):n],fcast$mean, after = n-.arg2[1])", SUM( [Sales Eur]),[Sales Months to Forecast])
library(mapplots) ### Name: ices.rect ### Title: Convert ICES rectangles from or to geographical coordinates ### Aliases: ices.rect ices.rect2 ### ** Examples # rectangle names to coordinates: ices.rect(c("36E2","3600","40D8")) # coordinates to rectangle names: lon <- rnorm(10,-10,2) lat <- rnorm(10,53,1) rect <- ...
/data/genthat_extracted_code/mapplots/examples/ices.rect.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
447
r
library(mapplots) ### Name: ices.rect ### Title: Convert ICES rectangles from or to geographical coordinates ### Aliases: ices.rect ices.rect2 ### ** Examples # rectangle names to coordinates: ices.rect(c("36E2","3600","40D8")) # coordinates to rectangle names: lon <- rnorm(10,-10,2) lat <- rnorm(10,53,1) rect <- ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trainTest.R \name{trainTest} \alias{trainTest} \title{Create training/testing sets} \usage{ trainTest(dat, p.train = 0.7, sort = FALSE) } \arguments{ \item{dat}{A data.frame or matrix that you want to split into training/testing sets. It is ...
/man/trainTest.Rd
no_license
kashenfelter/Dmisc
R
false
true
746
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trainTest.R \name{trainTest} \alias{trainTest} \title{Create training/testing sets} \usage{ trainTest(dat, p.train = 0.7, sort = FALSE) } \arguments{ \item{dat}{A data.frame or matrix that you want to split into training/testing sets. It is ...
## These functions together will create a square invertible matrix ## and cache its inverse ## creates and returns a list of functions used by cacheSove to get or set the ## inverse of the matrix in the cache makeCacheMatrix <- function(x = matrix()) { # stores the cached value # initialize to NULL ...
/cachematrix.R
no_license
aceretcon/ProgrammingAssignment2
R
false
false
2,333
r
## These functions together will create a square invertible matrix ## and cache its inverse ## creates and returns a list of functions used by cacheSove to get or set the ## inverse of the matrix in the cache makeCacheMatrix <- function(x = matrix()) { # stores the cached value # initialize to NULL ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compatibility.R \name{rforcecom.upsert} \alias{rforcecom.upsert} \title{salesforcer's backwards compatible version of rforcecom.upsert} \usage{ rforcecom.upsert(session, objectName, externalIdField, externalId, fields) } \arguments{ \item{ses...
/man/rforcecom.upsert.Rd
permissive
TonyWhiteSMS/salesforcer
R
false
true
1,231
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compatibility.R \name{rforcecom.upsert} \alias{rforcecom.upsert} \title{salesforcer's backwards compatible version of rforcecom.upsert} \usage{ rforcecom.upsert(session, objectName, externalIdField, externalId, fields) } \arguments{ \item{ses...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chk-single.R, R/err-single.R \name{chk_has_non_na} \alias{chk_has_non_na} \alias{err_has_non_na} \title{Check that a vector has at least one non-NA element} \usage{ chk_has_non_na(x, name) err_has_non_na(x, name) } \arguments{ \item{x}{A sca...
/man/chk_has_non_na.Rd
permissive
bayesiandemography/demcheck
R
false
true
589
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chk-single.R, R/err-single.R \name{chk_has_non_na} \alias{chk_has_non_na} \alias{err_has_non_na} \title{Check that a vector has at least one non-NA element} \usage{ chk_has_non_na(x, name) err_has_non_na(x, name) } \arguments{ \item{x}{A sca...
curve(exp(-x^2), from=-3, to=3) library(rethinking) data(Howell1) d <- Howell1 str(d) precis(d) d2 <- d[d$age >= 18, ] dens(d2$height) curve(dnorm(x,178,20), from=100, to=250) sample_mu <- rnorm(1e4, 178, 100) sample_sigma <- runif(1e4, 0, 50) prior_h <- rnorm(1e4, sample_mu, sample_sigma) dens(prior_h) # using...
/Follow_through/Chapter4_follow_through.R
no_license
nichi97/Statistical_rethinking-
R
false
false
6,648
r
curve(exp(-x^2), from=-3, to=3) library(rethinking) data(Howell1) d <- Howell1 str(d) precis(d) d2 <- d[d$age >= 18, ] dens(d2$height) curve(dnorm(x,178,20), from=100, to=250) sample_mu <- rnorm(1e4, 178, 100) sample_sigma <- runif(1e4, 0, 50) prior_h <- rnorm(1e4, sample_mu, sample_sigma) dens(prior_h) # using...
#Mosaic the regions created in reclassification to world raster ##check year, inpath and filename writeRAster carefullyl! ### #packages and definitions ### type <- "Change_" LandCover <- c("forest", "urb", "crop") scenario <- "ESA" year <- 2015 urb_thold <- "02_urb" for(e in 1:length(LandCover)){ LC <- LandCove...
/R/Mosaic world raster from folder.R
no_license
BepSchrammeijer/CLUvalid
R
false
false
1,010
r
#Mosaic the regions created in reclassification to world raster ##check year, inpath and filename writeRAster carefullyl! ### #packages and definitions ### type <- "Change_" LandCover <- c("forest", "urb", "crop") scenario <- "ESA" year <- 2015 urb_thold <- "02_urb" for(e in 1:length(LandCover)){ LC <- LandCove...
# clean environment rm(list=ls()) gc(reset=TRUE) cat('\014') library(data.table) library(dplyr) train_transaction = fread("data/train_transaction.csv") train_identity = fread("data/train_identity.csv") combined = left_join(train_transaction, train_identity) set.seed(1234) train <- sample_n(combined, round(nrow(combin...
/create_holdout_data.R
no_license
Mik3000/kaggle
R
false
false
466
r
# clean environment rm(list=ls()) gc(reset=TRUE) cat('\014') library(data.table) library(dplyr) train_transaction = fread("data/train_transaction.csv") train_identity = fread("data/train_identity.csv") combined = left_join(train_transaction, train_identity) set.seed(1234) train <- sample_n(combined, round(nrow(combin...
################################## ########INSTALLMENT 1 CODE######## ################################## summary(data) #Mean of Variables mean(unemp.ts) mean(goods.ts) mean(edu.ts) #Standard Deviation of Variables sd(unemp.ts) sd(goods.ts) sd(edu.ts) #Turning Variables into Time Series unemp.ts <- t...
/CA_UnempRate.R
no_license
sabapaya/time_series
R
false
false
15,871
r
################################## ########INSTALLMENT 1 CODE######## ################################## summary(data) #Mean of Variables mean(unemp.ts) mean(goods.ts) mean(edu.ts) #Standard Deviation of Variables sd(unemp.ts) sd(goods.ts) sd(edu.ts) #Turning Variables into Time Series unemp.ts <- t...
# word cloud practice in R by sangmin # set environments and packages Sys.setenv(JAVA_HOME="C:\\Program Files\\Java\\jre1.8.0_241") library(RColorBrewer) library(wordcloud) library(KoNLP) setwd("C:\\Users\\sangmin\\Desktop\\code\\RStudio\\R_practice\\7. word_cloud") # show kindergardens on the map with markers lib...
/study_data-analysis/7. word_cloud/practice03.R
no_license
sangm1n/BITLab
R
false
false
1,171
r
# word cloud practice in R by sangmin # set environments and packages Sys.setenv(JAVA_HOME="C:\\Program Files\\Java\\jre1.8.0_241") library(RColorBrewer) library(wordcloud) library(KoNLP) setwd("C:\\Users\\sangmin\\Desktop\\code\\RStudio\\R_practice\\7. word_cloud") # show kindergardens on the map with markers lib...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_creation_and_documentation.R \docType{data} \name{pigeon_S_moveStack} \alias{pigeon_S_moveStack} \title{\code{pigeon_S_moveStack} - example data from movebank} \format{An object of class \code{MoveStack}} \source{ Santos CD, Neupert S, L...
/man/pigeon_S_moveStack.Rd
no_license
roland-h/trajaggr
R
false
true
2,132
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_creation_and_documentation.R \docType{data} \name{pigeon_S_moveStack} \alias{pigeon_S_moveStack} \title{\code{pigeon_S_moveStack} - example data from movebank} \format{An object of class \code{MoveStack}} \source{ Santos CD, Neupert S, L...
# Logit regression with AGNs require(arm) require(plyr) library(caret) library(pROC) AGN_data<-read.table("../data/outputdata.txt",header=TRUE,sep="") AGN_data$WHAN_Class<-as.factor(AGN_data$WHAN_Class) AGN_data$WHAN_Class<-revalue(AGN_data$WHAN_Class,c("2"="1","3"="1","1"="0","4"="0")) fit<-bayesglm(WHAN_Class~...
/general/logit_AGN.R
no_license
RafaelSdeSouza/Logit_Mar
R
false
false
1,992
r
# Logit regression with AGNs require(arm) require(plyr) library(caret) library(pROC) AGN_data<-read.table("../data/outputdata.txt",header=TRUE,sep="") AGN_data$WHAN_Class<-as.factor(AGN_data$WHAN_Class) AGN_data$WHAN_Class<-revalue(AGN_data$WHAN_Class,c("2"="1","3"="1","1"="0","4"="0")) fit<-bayesglm(WHAN_Class~...
# Custom function definitions summarize_frame <- function(frameframe) { #returns table of summary statistics for each numeric column in dataframe summarytools::descr(frameframe, transpose = TRUE) } standardize_names <- function(frameframe) { # reformats column names to a regularized format wiuth: # ...
/src/functions.R
no_license
la-mar/Applied-Stats-Project-1
R
false
false
1,536
r
# Custom function definitions summarize_frame <- function(frameframe) { #returns table of summary statistics for each numeric column in dataframe summarytools::descr(frameframe, transpose = TRUE) } standardize_names <- function(frameframe) { # reformats column names to a regularized format wiuth: # ...
#' --- #' title: "Class 5 Introduction to R Graph Design" #' author: "Tingyi Yang" #' date: "Jan 22nd, 2019" #' output: github_document #' --- #' #' # Class 05 R graphics intro #' This is some **bold** and *italic* text and `code` # My first boxplot x <- rnorm(1000,0) boxplot(x) #rnorm is executed first then boxplo...
/lecture05/class05.R
no_license
tiy046/bimm143
R
false
false
2,063
r
#' --- #' title: "Class 5 Introduction to R Graph Design" #' author: "Tingyi Yang" #' date: "Jan 22nd, 2019" #' output: github_document #' --- #' #' # Class 05 R graphics intro #' This is some **bold** and *italic* text and `code` # My first boxplot x <- rnorm(1000,0) boxplot(x) #rnorm is executed first then boxplo...
NEI <- readRDS("./summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") NEI_SCC <- merge(NEI, SCC, by="SCC") library(ggplot2) coalMatches <- grepl("coal", NEI_SCC$Short.Name, ignore.case=TRUE) subset_NEISCC <- NEISCC[coalMatches, ] TotalEmissions_ByYear <- aggregate(Emissions ~ year, subse...
/Plot4.R
no_license
eurekanitish/Coursera-Exploratory-Course-Assignment-2
R
false
false
642
r
NEI <- readRDS("./summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") NEI_SCC <- merge(NEI, SCC, by="SCC") library(ggplot2) coalMatches <- grepl("coal", NEI_SCC$Short.Name, ignore.case=TRUE) subset_NEISCC <- NEISCC[coalMatches, ] TotalEmissions_ByYear <- aggregate(Emissions ~ year, subse...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/bootstrap.platt.scores.parallel.R \name{bootstrap.platt.scores.parallel} \alias{bootstrap.platt.scores.parallel} \title{bootstrap.platt.scores.parallel} \usage{ bootstrap.platt.scores.parallel(num.processes = 1, dat.mat, lbls, nbs = 1...
/man/bootstrap.platt.scores.parallel.Rd
no_license
npetraco/svmSCORES
R
false
false
2,345
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/bootstrap.platt.scores.parallel.R \name{bootstrap.platt.scores.parallel} \alias{bootstrap.platt.scores.parallel} \title{bootstrap.platt.scores.parallel} \usage{ bootstrap.platt.scores.parallel(num.processes = 1, dat.mat, lbls, nbs = 1...
library(Traitspace) ### Name: spdata ### Title: Simulated species data ### Aliases: spdata ### Keywords: datasets ### ** Examples data(spdata) ## maybe str(spdata) ; plot(spdata) ...
/data/genthat_extracted_code/Traitspace/examples/spdata.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
190
r
library(Traitspace) ### Name: spdata ### Title: Simulated species data ### Aliases: spdata ### Keywords: datasets ### ** Examples data(spdata) ## maybe str(spdata) ; plot(spdata) ...
#' Dichotomous Scoring #' #' Dichotomous Scoring for TEIs. Produces a value of 1 the all correct choices were marked #' and zero incorrect choices were marked. #' #' @param keyNum The number of correct response options in the key. #' @param correctCheckNum The number of correct response options marked by the examinee ...
/R/ScoringAlgorithms.R
no_license
alexbrodersen/teis
R
false
false
7,145
r
#' Dichotomous Scoring #' #' Dichotomous Scoring for TEIs. Produces a value of 1 the all correct choices were marked #' and zero incorrect choices were marked. #' #' @param keyNum The number of correct response options in the key. #' @param correctCheckNum The number of correct response options marked by the examinee ...
##' @title OSM discrete Inhibitory sampling. ##' @description Draw a spatially discrete sample from a specified set of OSM ##' spatial locations within a polygonal sampling region according to an ##' \bold{'inhibitory plus close pairs'} specification. ##' @param delta The minimum permissible distance between any two ...
/R/osm_disc_inhibit.R
no_license
spatialscientist/osmgeosample
R
false
false
56,117
r
##' @title OSM discrete Inhibitory sampling. ##' @description Draw a spatially discrete sample from a specified set of OSM ##' spatial locations within a polygonal sampling region according to an ##' \bold{'inhibitory plus close pairs'} specification. ##' @param delta The minimum permissible distance between any two ...
\alias{gtkScaleButtonGetAdjustment} \name{gtkScaleButtonGetAdjustment} \title{gtkScaleButtonGetAdjustment} \description{Gets the \code{\link{GtkAdjustment}} associated with the \code{\link{GtkScaleButton}}'s scale. See \code{\link{gtkRangeGetAdjustment}} for details.} \usage{gtkScaleButtonGetAdjustment(object)} \argume...
/RGtk2/man/gtkScaleButtonGetAdjustment.Rd
no_license
lawremi/RGtk2
R
false
false
549
rd
\alias{gtkScaleButtonGetAdjustment} \name{gtkScaleButtonGetAdjustment} \title{gtkScaleButtonGetAdjustment} \description{Gets the \code{\link{GtkAdjustment}} associated with the \code{\link{GtkScaleButton}}'s scale. See \code{\link{gtkRangeGetAdjustment}} for details.} \usage{gtkScaleButtonGetAdjustment(object)} \argume...
library(testthat) test_check("BatchJobs")
/BatchJobs/tests/run-all.R
no_license
ingted/R-Examples
R
false
false
42
r
library(testthat) test_check("BatchJobs")
# Software Carpentry Workshop # University of Chicago # 2016-09-16 # Calculate the mean of in input vector x. my_mean <- function(x) { }
/code/my_mean_v01.R
permissive
jdblischak/2016-09-15-chicago
R
false
false
139
r
# Software Carpentry Workshop # University of Chicago # 2016-09-16 # Calculate the mean of in input vector x. my_mean <- function(x) { }
# Author: Leo Lahti # This script installs default BioConductor packages to R. Then it # installs additional packages ########################################################### # GOOD PRACTICES # - When installing new packages, always try to install BioConductor #and R packages with getBioC("myBioCpackage") and ...
/R/installR.R
no_license
poojabhuwan/scripts
R
false
false
10,886
r
# Author: Leo Lahti # This script installs default BioConductor packages to R. Then it # installs additional packages ########################################################### # GOOD PRACTICES # - When installing new packages, always try to install BioConductor #and R packages with getBioC("myBioCpackage") and ...
context("test_model.R") test_that("model: catboost.train", { target <- sample(c(1, -1), size = 1000, replace = TRUE) features <- data.frame(f1 = rnorm(length(target), mean = 0, sd = 1), f2 = rnorm(length(target), mean = 0, sd = 1)) split <- sample(nrow(features), size = floor(0.75 * nro...
/catboost/R-package/tests/testthat/test_model.R
permissive
col14m/catboost
R
false
false
10,333
r
context("test_model.R") test_that("model: catboost.train", { target <- sample(c(1, -1), size = 1000, replace = TRUE) features <- data.frame(f1 = rnorm(length(target), mean = 0, sd = 1), f2 = rnorm(length(target), mean = 0, sd = 1)) split <- sample(nrow(features), size = floor(0.75 * nro...
# Homework 9 # Stat 133, Lec 2, Spring 2015 # Due : May 1st, Friday # In this homework you will make a "bubble chart". They were # used in excellent TED talks by Hans Rosling, which are worth a look: # https://www.ted.com/speakers/hans_rosling # Rosling and collegues founded gapminder and later Google incorporated ...
/hw9/hw9.R
no_license
cramosv/stat133
R
false
false
3,716
r
# Homework 9 # Stat 133, Lec 2, Spring 2015 # Due : May 1st, Friday # In this homework you will make a "bubble chart". They were # used in excellent TED talks by Hans Rosling, which are worth a look: # https://www.ted.com/speakers/hans_rosling # Rosling and collegues founded gapminder and later Google incorporated ...
######### Farm-specific functions for Wim farm ########### farmName <- "Wim" addBarnFeatures <- function(barn, textSize = 0.7) { sel <- which(substring(barn$Unit, 1, 4) == "feed") rect(barn$x1[sel], barn$y1[sel], barn$x3[sel], barn$y3[sel], col = adjustcolor("yellowgreen", alpha.f = 0.5), border = "black...
/farmWim.R
no_license
mc30/RCowView
R
false
false
8,714
r
######### Farm-specific functions for Wim farm ########### farmName <- "Wim" addBarnFeatures <- function(barn, textSize = 0.7) { sel <- which(substring(barn$Unit, 1, 4) == "feed") rect(barn$x1[sel], barn$y1[sel], barn$x3[sel], barn$y3[sel], col = adjustcolor("yellowgreen", alpha.f = 0.5), border = "black...
dataFile <- "./Downloads/John_hopkins/Course4_graphs/household_power_consumption.txt" data <- read.table(dataFile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") subSetData <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] #str(subSetData) globalActivePower <- as.numeric(subSetData$Global_active_power) png("p...
/Plot1.R
no_license
sachans-dummy/Data-Analysis-Project1
R
false
false
466
r
dataFile <- "./Downloads/John_hopkins/Course4_graphs/household_power_consumption.txt" data <- read.table(dataFile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") subSetData <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] #str(subSetData) globalActivePower <- as.numeric(subSetData$Global_active_power) png("p...
testlist <- list(Beta = 0, CVLinf = -1.37672738706089e-268, FM = 3.81959242373749e-313, L50 = 0, L95 = 0, LenBins = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), SL50 = 9.9794...
/DLMtool/inst/testfiles/LBSPRgen/AFL_LBSPRgen/LBSPRgen_valgrind_files/1615827838-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
487
r
testlist <- list(Beta = 0, CVLinf = -1.37672738706089e-268, FM = 3.81959242373749e-313, L50 = 0, L95 = 0, LenBins = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), SL50 = 9.9794...
#set working directory setwd("~/Lectures/Data_Science/Exploratory_Data_Science") #unzip and import data data<-read.table(unz("exdata_data_household_power_consumption.zip","household_power_consumption.txt"),sep=";",header=TRUE,na.strings='?') #extract the subset 1/2/2007 to 2/2/2007 consumptionData<-data[(data[,'Date']=...
/plot4.R
no_license
Knutsrepos/ExData_Plotting1
R
false
false
1,496
r
#set working directory setwd("~/Lectures/Data_Science/Exploratory_Data_Science") #unzip and import data data<-read.table(unz("exdata_data_household_power_consumption.zip","household_power_consumption.txt"),sep=";",header=TRUE,na.strings='?') #extract the subset 1/2/2007 to 2/2/2007 consumptionData<-data[(data[,'Date']=...
# Load libraries so they are available library("shiny") # We'll begin by defining some of the UI elements as variables # This helps keep the code organized and easier to debug # Define a variable `intro_panel` for your first page. It should be a # `tabPanel()` with a title "Introduction" to represent the first...
/chapter-19-exercises/exercise-4/app_ui.R
permissive
JacksonFrank/book-exercises
R
false
false
3,613
r
# Load libraries so they are available library("shiny") # We'll begin by defining some of the UI elements as variables # This helps keep the code organized and easier to debug # Define a variable `intro_panel` for your first page. It should be a # `tabPanel()` with a title "Introduction" to represent the first...
library(ggplot2) library(dplyr) data_confirmed <- read.csv("time_series_covid19_confirmed_global.csv", head=TRUE) data_recovered <- read.csv("time_series_covid19_recovered_global.csv", head=TRUE) data_deaths <- read.csv("time_series_covid19_deaths_global.csv", head=TRUE) diffs <- function(x) { diffs <- vector(lengt...
/stacked-charts.R
permissive
lipido/covid19-report
R
false
false
2,652
r
library(ggplot2) library(dplyr) data_confirmed <- read.csv("time_series_covid19_confirmed_global.csv", head=TRUE) data_recovered <- read.csv("time_series_covid19_recovered_global.csv", head=TRUE) data_deaths <- read.csv("time_series_covid19_deaths_global.csv", head=TRUE) diffs <- function(x) { diffs <- vector(lengt...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{engine_K3d_sph} \alias{engine_K3d_sph} \title{Engine for computing K-function} \usage{ engine_K3d_sph(r, s, x_vec, y_vec, z_vec, dists_sph, Dmat) } \arguments{ \item{r}{Vector of values for the argument r at which K(r, s) ...
/man/engine_K3d_sph.Rd
no_license
adchSTATS/spatstatspacesphereadd
R
false
true
905
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{engine_K3d_sph} \alias{engine_K3d_sph} \title{Engine for computing K-function} \usage{ engine_K3d_sph(r, s, x_vec, y_vec, z_vec, dists_sph, Dmat) } \arguments{ \item{r}{Vector of values for the argument r at which K(r, s) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/setMvs.R \docType{methods} \name{setMvs} \alias{setMvs} \alias{setMvs,mvs-method} \title{setMvs} \usage{ setMvs(x, id = x@id, freq = x@freq, gFst = x@gFst, gLK = x@gLK, pwFst = x@pwFst, name = x@name, eps = x@eps, pts = x@pts, var = x@var...
/man/setMvs-methods.Rd
no_license
madoui/metaVaR
R
false
true
1,622
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/setMvs.R \docType{methods} \name{setMvs} \alias{setMvs} \alias{setMvs,mvs-method} \title{setMvs} \usage{ setMvs(x, id = x@id, freq = x@freq, gFst = x@gFst, gLK = x@gLK, pwFst = x@pwFst, name = x@name, eps = x@eps, pts = x@pts, var = x@var...
library(titeIR) ### Name: isotitedose ### Title: Dose assignment for TITE-IR designs ### Aliases: isotitedose ### ** Examples isotitedose(followup = c(6, 5, 4, 3, 2, 1), DLT = c(0, 0, 0, 0, 0, 0), assignment = c(1, 1, 1, 2, 2, 2), obswin = 6, doses = 6)
/data/genthat_extracted_code/titeIR/examples/isotitedose.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
262
r
library(titeIR) ### Name: isotitedose ### Title: Dose assignment for TITE-IR designs ### Aliases: isotitedose ### ** Examples isotitedose(followup = c(6, 5, 4, 3, 2, 1), DLT = c(0, 0, 0, 0, 0, 0), assignment = c(1, 1, 1, 2, 2, 2), obswin = 6, doses = 6)
#' Search species: Ported from https://github.com/James-Thorson-NOAA/FishLife/blob/main/R/Search_species.R #' #' Match taxonomic inputs to a given row of \code{ParentChild_gz} or its closest ancestor #' #' This function attempts to do a smart match to elements of \code{ParentChild_gz}. It sweeps from Order to Species ...
/R/search_species.R
permissive
DanOvando/sraplus
R
false
false
5,005
r
#' Search species: Ported from https://github.com/James-Thorson-NOAA/FishLife/blob/main/R/Search_species.R #' #' Match taxonomic inputs to a given row of \code{ParentChild_gz} or its closest ancestor #' #' This function attempts to do a smart match to elements of \code{ParentChild_gz}. It sweeps from Order to Species ...
countingFeatures <- function(the.file,Bam.FolderNew,Paired,unstr,pstr,rstr,Project,threads2,threads4,threads6,threads8,threads16){ require(GenomicRanges) require(GenomicFeatures) require(Rsubread) require(Rsamtools) require(BiocParallel) print("Start calling countingFeatures function") #Project = 'pippo' #the.fil...
/R/featureCounts.R
no_license
drighelli/RNASeqGUI
R
false
false
19,878
r
countingFeatures <- function(the.file,Bam.FolderNew,Paired,unstr,pstr,rstr,Project,threads2,threads4,threads6,threads8,threads16){ require(GenomicRanges) require(GenomicFeatures) require(Rsubread) require(Rsamtools) require(BiocParallel) print("Start calling countingFeatures function") #Project = 'pippo' #the.fil...
3943f9938dc0458e4ff87986560c4671 fpu-10Xe-correct02-uniform-depth-8.qdimacs 232066 618253
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Miller-Marin/fpu/fpu-10Xe-correct02-uniform-depth-8/fpu-10Xe-correct02-uniform-depth-8.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
89
r
3943f9938dc0458e4ff87986560c4671 fpu-10Xe-correct02-uniform-depth-8.qdimacs 232066 618253
library(Rtesseract) vars = list(chop_enable = 0L, wordrec_enable_assoc = 0L, tessedit_create_boxfile = 1L) # , tessedit_resegment_from_boxes = 1L, tessedit_make_boxes_from_boxes = 1L) ts = tesseract(system.file("trainingSample", "eng.tables.exp0.png", package = "Rtesseract"), "psm_auto") # , .vars = vars) ReadConfi...
/tests/lines.R
no_license
duncantl/Rtesseract
R
false
false
649
r
library(Rtesseract) vars = list(chop_enable = 0L, wordrec_enable_assoc = 0L, tessedit_create_boxfile = 1L) # , tessedit_resegment_from_boxes = 1L, tessedit_make_boxes_from_boxes = 1L) ts = tesseract(system.file("trainingSample", "eng.tables.exp0.png", package = "Rtesseract"), "psm_auto") # , .vars = vars) ReadConfi...
testlist <- list(x = -2686977L, y = c(-702912170L, 19561L, 1853106218L, 2054386788L, 1600352109L, 1886584677L, 1935434351L, -35543L, 677605230L, 64385818L, 803556705L, 1884711269L, 1999186003L, 1163415552L, -1L, -1L, -702926849L, -1L, -1L, -42L, 439353343L, 620756992L, -268435483L, -2820097L, -6316129L, -1616928865...
/diffrprojects/inst/testfiles/dist_mat_absolute/libFuzzer_dist_mat_absolute/dist_mat_absolute_valgrind_files/1609962516-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
527
r
testlist <- list(x = -2686977L, y = c(-702912170L, 19561L, 1853106218L, 2054386788L, 1600352109L, 1886584677L, 1935434351L, -35543L, 677605230L, 64385818L, 803556705L, 1884711269L, 1999186003L, 1163415552L, -1L, -1L, -702926849L, -1L, -1L, -42L, 439353343L, 620756992L, -268435483L, -2820097L, -6316129L, -1616928865...
#shinyServer #setwd("U:/Scripts/R/Shiny") library(gtools);library(ggplot2);library(GGally) library(magrittr);library(stringr);library(lubridate) library(plyr);library(dplyr);library(tidyr) library(readr);library(readxl);library(shiny) library(shinyBS);library(lazyeval) #source(file.path("U:","Scripts","R","commo...
/server.R
no_license
mct941/shaokui
R
false
false
48,702
r
#shinyServer #setwd("U:/Scripts/R/Shiny") library(gtools);library(ggplot2);library(GGally) library(magrittr);library(stringr);library(lubridate) library(plyr);library(dplyr);library(tidyr) library(readr);library(readxl);library(shiny) library(shinyBS);library(lazyeval) #source(file.path("U:","Scripts","R","commo...
####Match EVs to master stats file ####e.g. all_stats_all_pops type files ####Used for non-parallelism based analysis ####POWERED UP VERSION: IRanges instead of lapply -- about 100x faster! #washy washy rm(list=ls()) library("IRanges") library("dplyr") #home dir setup #home.dir<-"E:/Genome Meta Analysis/genome_meta_...
/old_scripts/2.1_match_evs_to_outlier_file.R
no_license
ksamuk/genome_meta_scripts
R
false
false
4,799
r
####Match EVs to master stats file ####e.g. all_stats_all_pops type files ####Used for non-parallelism based analysis ####POWERED UP VERSION: IRanges instead of lapply -- about 100x faster! #washy washy rm(list=ls()) library("IRanges") library("dplyr") #home dir setup #home.dir<-"E:/Genome Meta Analysis/genome_meta_...
#' Find nearest ASOS weather station by geographic location (USA only) #' #' The returned station abbreviations (FAA station identifiers) can then be passed to #' \code{\link{get_wx}}, \code{\link{get_wx_ACIS}}, or \code{\link{get_ACIS_meta}} #' #' @param lon numeric scalar of position longitude (decimal degrees; WGS84...
/R/find_wx_stns.R
no_license
adamdsmith/nrsmisc
R
false
false
3,944
r
#' Find nearest ASOS weather station by geographic location (USA only) #' #' The returned station abbreviations (FAA station identifiers) can then be passed to #' \code{\link{get_wx}}, \code{\link{get_wx_ACIS}}, or \code{\link{get_ACIS_meta}} #' #' @param lon numeric scalar of position longitude (decimal degrees; WGS84...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/logarithm.R \name{log3} \alias{log3} \alias{log4} \alias{log5} \title{Apply a useful logarithm} \usage{ log3(x) log4(x) log5(x) } \arguments{ \item{x}{The vector to be log3, log4 or log5} } \value{ A vector that is the: \itemize{ \item...
/powers/man/logarithm.Rd
no_license
STAT545-UBC-hw-2018-19/hw07-alvin-q
R
false
true
598
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/logarithm.R \name{log3} \alias{log3} \alias{log4} \alias{log5} \title{Apply a useful logarithm} \usage{ log3(x) log4(x) log5(x) } \arguments{ \item{x}{The vector to be log3, log4 or log5} } \value{ A vector that is the: \itemize{ \item...
#*********************************************** # Randall R. Rojas # Email: rrojas@econ.ucla.edu # Date: 05/10/2015 # Comment(s): R code for forecasting Trend+Seasonal+Cycle models. # Data File(s): liquor.dat #*********************************************** # Variable Definitions # Monthly U.S.liquor sales from 1968.0...
/Week 5/ts_full_tsc.R
no_license
XiangYang95/Econ-144
R
false
false
5,503
r
#*********************************************** # Randall R. Rojas # Email: rrojas@econ.ucla.edu # Date: 05/10/2015 # Comment(s): R code for forecasting Trend+Seasonal+Cycle models. # Data File(s): liquor.dat #*********************************************** # Variable Definitions # Monthly U.S.liquor sales from 1968.0...
## Reminders when releasing for CRAN release_questions <- function() { c( "Have you cleared GitHub issues for this release milestone?", "Have you checked the Vignettes for sanity?" ) } #rhub::check_on_windows() #check_with_rdevel() # redundifies check_on_debian() #check_on_ubuntu() #check_on_fedora() #chec...
/R/zzz.R
no_license
nanoquanta/TreeTools
R
false
false
627
r
## Reminders when releasing for CRAN release_questions <- function() { c( "Have you cleared GitHub issues for this release milestone?", "Have you checked the Vignettes for sanity?" ) } #rhub::check_on_windows() #check_with_rdevel() # redundifies check_on_debian() #check_on_ubuntu() #check_on_fedora() #chec...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/encoding.R \name{html_encoding_guess} \alias{html_encoding_guess} \alias{guess_encoding} \title{Guess faulty character encoding} \usage{ html_encoding_guess(x) } \arguments{ \item{x}{A character vector.} } \description{ \code{html_encoding_gu...
/man/html_encoding_guess.Rd
permissive
tidyverse/rvest
R
false
true
1,065
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/encoding.R \name{html_encoding_guess} \alias{html_encoding_guess} \alias{guess_encoding} \title{Guess faulty character encoding} \usage{ html_encoding_guess(x) } \arguments{ \item{x}{A character vector.} } \description{ \code{html_encoding_gu...
library(ioutil) library(miscutil) library(stats) library(R0) state_cases_fn = "data/processed/us_state_time_series_cases_2020-04-11.txt" min_count = 1 min_day = 5 covid19_generation_time_mean = 7.4 covid19_generation_time_sd = 5.2 covid19_generation_time_dist = "weibull" R0_fit_fn = "data/processed/us_state_R0_TD_fit....
/compute_us_state_R0_TD.R
no_license
alorchhota/covid19
R
false
false
2,146
r
library(ioutil) library(miscutil) library(stats) library(R0) state_cases_fn = "data/processed/us_state_time_series_cases_2020-04-11.txt" min_count = 1 min_day = 5 covid19_generation_time_mean = 7.4 covid19_generation_time_sd = 5.2 covid19_generation_time_dist = "weibull" R0_fit_fn = "data/processed/us_state_R0_TD_fit....
library(ape) testtree <- read.tree("1842_7.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="1842_7_unrooted.txt")
/codeml_files/newick_trees_processed/1842_7/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("1842_7.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="1842_7_unrooted.txt")
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 8350 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 8350 c c Input Parameter (command line, file): c input filename QBFLIB/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3....
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3.E#116.A#48.c#.w#3.s#8.asp/ctrl.e#1.a#3.E#116.A#48.c#.w#3.s#8.asp.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
724
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 8350 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 8350 c c Input Parameter (command line, file): c input filename QBFLIB/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3....
############################################################################ #### R Code associate with the Manuscript: #### #### Correspondence of aCGH and long-read genome assembly for detection #### #### of copy number variation: a proof-of-concept with cichlid genomes #### #### ...
/Renn_Lab/CNV_project/PLOS_ONE_files/cnv_project_code/CNV_project.R
no_license
gpreising/cnv_project_code
R
false
false
55,816
r
############################################################################ #### R Code associate with the Manuscript: #### #### Correspondence of aCGH and long-read genome assembly for detection #### #### of copy number variation: a proof-of-concept with cichlid genomes #### #### ...
library(mvtnorm) library(MCMCpack) dyn.load("/homes/xlu/Dropbox/OxWaSP/Project7/GPUmix/src/GPUmix.so") MCMC = function(x,K,N,burnin){ nr = nrow(x) ; nl = ncol(x); gamma=10; nu=1; Phi = diag(nl);mu0=rep(0,nl) ;alpha=1 kappa0 = 1/gamma; nu0 = nu + 2; Lambda0 = solve(nu*Phi) #initialization Sigma = list();mu=lis...
/R/GPUmix.R
no_license
xiaoyulu2014/Mixpack
R
false
false
3,169
r
library(mvtnorm) library(MCMCpack) dyn.load("/homes/xlu/Dropbox/OxWaSP/Project7/GPUmix/src/GPUmix.so") MCMC = function(x,K,N,burnin){ nr = nrow(x) ; nl = ncol(x); gamma=10; nu=1; Phi = diag(nl);mu0=rep(0,nl) ;alpha=1 kappa0 = 1/gamma; nu0 = nu + 2; Lambda0 = solve(nu*Phi) #initialization Sigma = list();mu=lis...
library(methods) library(devtools) library(testthat) library(BBmisc) library(parallelMap) library(ParamHelpers) library(e1071) library(adabag) library(MASS) library(ROCR) library(pROC) library(pls) # otherwise pls shadows crossval library(party) library(LiblineaR) library(stepPlr) library(FNN) library(randomForestSRC)...
/test_all.R
no_license
Daron-Wan/mlr
R
false
false
733
r
library(methods) library(devtools) library(testthat) library(BBmisc) library(parallelMap) library(ParamHelpers) library(e1071) library(adabag) library(MASS) library(ROCR) library(pROC) library(pls) # otherwise pls shadows crossval library(party) library(LiblineaR) library(stepPlr) library(FNN) library(randomForestSRC)...
filename <- "./exdata-data-household_power_consumption/household_power_consumption.txt" dataTmp <- read.csv(file = filename, header=T, sep=";", stringsAsFactors=FALSE, dec=".") data <- dataTmp[dataTmp$Date %in% c("1/2/2007","2/2/2007") ,] remove(dataTmp) # plot 4 time <- strptime(paste(data$Date, data$Time, sep=" "), ...
/plot4.R
no_license
MariyaYurchenko/ExData_Plotting1
R
false
false
1,233
r
filename <- "./exdata-data-household_power_consumption/household_power_consumption.txt" dataTmp <- read.csv(file = filename, header=T, sep=";", stringsAsFactors=FALSE, dec=".") data <- dataTmp[dataTmp$Date %in% c("1/2/2007","2/2/2007") ,] remove(dataTmp) # plot 4 time <- strptime(paste(data$Date, data$Time, sep=" "), ...
library(R2OpenBUGS) library(coda) ## Set of functions for processing posterior samples in R ## including functions for calculating deviance summaries source("./fns.R") ############################################# ## QUESTION 1 - HIV model ## ## - explore evidence synthesis ## ##...
/Bayesian Analysis/practical_material/evsyn-R2OpenBUGS-solutions.r
no_license
MichaelBelias/My-Complete-Book-In-R
R
false
false
47,289
r
library(R2OpenBUGS) library(coda) ## Set of functions for processing posterior samples in R ## including functions for calculating deviance summaries source("./fns.R") ############################################# ## QUESTION 1 - HIV model ## ## - explore evidence synthesis ## ##...
library(ggplot2) plotScatter <- function(d) { d$Significant <- d$ci95Lb > d$targetEffectSize | d$ci95Ub < d$targetEffectSize temp1 <- aggregate(Significant ~ Group, data = d, length) temp2 <- aggregate(Significant ~ Group, data = d, mean) temp1$nLabel <- paste0(formatC(temp1$Significant, big.mark = ","),...
/MethodEvalViewer/plots.R
no_license
thehyve/ShinyDeploy
R
false
false
8,017
r
library(ggplot2) plotScatter <- function(d) { d$Significant <- d$ci95Lb > d$targetEffectSize | d$ci95Ub < d$targetEffectSize temp1 <- aggregate(Significant ~ Group, data = d, length) temp2 <- aggregate(Significant ~ Group, data = d, mean) temp1$nLabel <- paste0(formatC(temp1$Significant, big.mark = ","),...
## ----options, echo=FALSE------------------------------------------------- knitr::opts_chunk$set(cache = FALSE, warning = FALSE, error = FALSE, fig.path = "", eval=FALSE) ## ----install------------------------------------------------------------- # # From CRAN # install.packages("pdftab...
/inst/doc/convert_pdf_tables.R
no_license
cran/pdftables
R
false
false
829
r
## ----options, echo=FALSE------------------------------------------------- knitr::opts_chunk$set(cache = FALSE, warning = FALSE, error = FALSE, fig.path = "", eval=FALSE) ## ----install------------------------------------------------------------- # # From CRAN # install.packages("pdftab...
% Generated by roxygen2 (4.0.1): do not edit by hand \name{dygraph} \alias{dygraph} \title{Plot an interactive dygraph chart} \usage{ dygraph(data, x, y, y2, sync = FALSE, defaults = TRUE, rebase = c(NULL, 100, "percent"), ribbon = list(colors = NULL, height = 1, pos = 0), candlestick = is.OHLC(data), trades = NULL...
/man/dygraph.Rd
no_license
TonyDIRL/rChartsDygraphs
R
false
false
3,045
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{dygraph} \alias{dygraph} \title{Plot an interactive dygraph chart} \usage{ dygraph(data, x, y, y2, sync = FALSE, defaults = TRUE, rebase = c(NULL, 100, "percent"), ribbon = list(colors = NULL, height = 1, pos = 0), candlestick = is.OHLC(data), trades = NULL...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1605 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1603 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1603 c c Input Parameter (command line, fil...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Wintersteiger/RankingFunctions/rankfunc38_unsigned_64/rankfunc38_unsigned_64.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
758
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1605 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1603 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1603 c c Input Parameter (command line, fil...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BSDA-package.R \docType{data} \name{Blackedu} \alias{Blackedu} \title{Education level of blacks by gender} \format{A data frame/tibble with 3800 observations on two variables \describe{ \item{gender}{a factor with levels \code{Female} and \c...
/man/Blackedu.Rd
no_license
nebsnave/BSDA
R
false
true
794
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BSDA-package.R \docType{data} \name{Blackedu} \alias{Blackedu} \title{Education level of blacks by gender} \format{A data frame/tibble with 3800 observations on two variables \describe{ \item{gender}{a factor with levels \code{Female} and \c...
suppressPackageStartupMessages(library("sleuth")) suppressPackageStartupMessages(library("tidyverse")) suppressPackageStartupMessages(library("optparse")) # command-line arguments to provide option_list = list( make_option(c("-i", "--input_dir"), type = "character", default = "results/kallisto", ...
/scripts/get_scaled_counts.R
permissive
BleekerLab/rnaseq-analysis-kallisto-sleuth
R
false
false
2,820
r
suppressPackageStartupMessages(library("sleuth")) suppressPackageStartupMessages(library("tidyverse")) suppressPackageStartupMessages(library("optparse")) # command-line arguments to provide option_list = list( make_option(c("-i", "--input_dir"), type = "character", default = "results/kallisto", ...
rm(list = ls()) require(lme4) require(raster) require(ncdf4) require(RColorBrewer) require(tidyr) require(rgdal) setwd("../") setwd("./PREDICTS") load("C:/Users/patri/OneDrive - Imperial College London/Work/Biology/(2018-2019) Imperial College London/Summer Project/R/Combine/RData_North_Africa_Mask.RData") ...
/Code_Base/PREDICTS/4_PREDICTS Rasters.R
no_license
PWalkden95/Walkden_Patrick_Masters_SDM_PREDICTS
R
false
false
4,856
r
rm(list = ls()) require(lme4) require(raster) require(ncdf4) require(RColorBrewer) require(tidyr) require(rgdal) setwd("../") setwd("./PREDICTS") load("C:/Users/patri/OneDrive - Imperial College London/Work/Biology/(2018-2019) Imperial College London/Summer Project/R/Combine/RData_North_Africa_Mask.RData") ...
### Credentials and Initializations # # Make sure you don't put this file on GitHub or # allow it to be visible on your web site. ### Put your data here admin_email_address <- "" # Email address and password for the admin_password <- "" # initial administrator superuser account site_name <- ...
/app/credentials.R
permissive
Kagereki/om_skeleton
R
false
false
904
r
### Credentials and Initializations # # Make sure you don't put this file on GitHub or # allow it to be visible on your web site. ### Put your data here admin_email_address <- "" # Email address and password for the admin_password <- "" # initial administrator superuser account site_name <- ...