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 |
|---|---|---|---|---|---|---|---|---|---|
## This code calculates the business as usual emsisions scenario and
## intervention scenarios to create country level plots of
## intermediary steps if desired
rm(list=ls())
source(here::here("r.scripts", "01-set-up.R"))
source(here::here("r.scripts", "02-read-clean-data.R"))
names(scen.data)[1] <- "Scenario"
str(sc... | /r.scripts/04-emissions-model.R | no_license | s2031256/Borrelle-et-al-Science-Plastic-Emissions | R | false | false | 7,468 | r | ## This code calculates the business as usual emsisions scenario and
## intervention scenarios to create country level plots of
## intermediary steps if desired
rm(list=ls())
source(here::here("r.scripts", "01-set-up.R"))
source(here::here("r.scripts", "02-read-clean-data.R"))
names(scen.data)[1] <- "Scenario"
str(sc... |
library(dplyr)
library(tidyr)
abs_signals <- function(){
abs_signals <- data.table::fread(file.path("raw","Optical summary definitions","abs_wavs.csv"))
abs_signals_glpf <- data.table::fread(file.path("raw","Optical summary definitions","abs_wavsCA.csv"))
abs_signals_all <- bind_rows(mutate(abs_signals, study = ... | /explore/src/explore_summaries.R | no_license | ldecicco-USGS/GLPF_manuscript | R | false | false | 7,196 | r | library(dplyr)
library(tidyr)
abs_signals <- function(){
abs_signals <- data.table::fread(file.path("raw","Optical summary definitions","abs_wavs.csv"))
abs_signals_glpf <- data.table::fread(file.path("raw","Optical summary definitions","abs_wavsCA.csv"))
abs_signals_all <- bind_rows(mutate(abs_signals, study = ... |
testlist <- list(id = NULL, id = NULL, booklet_id = c(8168473L, 2127314835L, 169539370L, -1942759639L, -1815221204L, 601253144L, -804651186L, 2094281728L, 860713787L, -971707632L, -1475044502L, 870040598L, -1182814578L, -1415711445L, 1901326755L, -1882837573L, 1340545259L, 1156041943L, 823641812L, -1106109928L, -10... | /dexterMST/inst/testfiles/is_person_booklet_sorted/AFL_is_person_booklet_sorted/is_person_booklet_sorted_valgrind_files/1615938974-test.R | no_license | akhikolla/updatedatatype-list1 | R | false | false | 826 | r | testlist <- list(id = NULL, id = NULL, booklet_id = c(8168473L, 2127314835L, 169539370L, -1942759639L, -1815221204L, 601253144L, -804651186L, 2094281728L, 860713787L, -971707632L, -1475044502L, 870040598L, -1182814578L, -1415711445L, 1901326755L, -1882837573L, 1340545259L, 1156041943L, 823641812L, -1106109928L, -10... |
#-------------------------------------------------------------#
#-------------------------------------------------------------#
###
###Walk-through example for network functions
###
#-------------------------------------------------------------#
#-------------------------------------------------------------#
###... | /Walkthrough Script.R | no_license | pbzonek/Network-Analysis-Function | R | false | false | 10,207 | r | #-------------------------------------------------------------#
#-------------------------------------------------------------#
###
###Walk-through example for network functions
###
#-------------------------------------------------------------#
#-------------------------------------------------------------#
###... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/XGR.R
\name{XGR.import_annotations}
\alias{XGR.import_annotations}
\title{Download XGR annotations}
\usage{
XGR.import_annotations(
gr.snp,
anno_data_path = file.path("annotations", paste0("XGR_", lib.name, ".rds")),
lib.name,
save_xg... | /man/XGR.import_annotations.Rd | permissive | UKDRI/echolocatoR | R | false | true | 985 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/XGR.R
\name{XGR.import_annotations}
\alias{XGR.import_annotations}
\title{Download XGR annotations}
\usage{
XGR.import_annotations(
gr.snp,
anno_data_path = file.path("annotations", paste0("XGR_", lib.name, ".rds")),
lib.name,
save_xg... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quantile_ff.R
\name{quantile.ff}
\alias{quantile.ff}
\title{quantiles}
\usage{
\method{quantile}{ff}(x, probs = seq(0, 1, 0.25), na.rm = FALSE,
names = TRUE, ...)
}
\arguments{
\item{x}{\code{ff} vector}
\item{probs}{numeric vector of prob... | /pkg/man/quantile.ff.Rd | no_license | slowkow/ffbase | R | false | true | 1,056 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quantile_ff.R
\name{quantile.ff}
\alias{quantile.ff}
\title{quantiles}
\usage{
\method{quantile}{ff}(x, probs = seq(0, 1, 0.25), na.rm = FALSE,
names = TRUE, ...)
}
\arguments{
\item{x}{\code{ff} vector}
\item{probs}{numeric vector of prob... |
#' Generate Margins table using either Industry Margins (BEA Margins) or Final Consumer Margins (BEA PCE and PEQ Bridge data).
#' @param model A complete EEIO model: a list with USEEIO model components and attributes.
#' @return A dataframe containing CommodityCode, and margins for ProducersValue, Transportation, Whole... | /R/Margins.R | permissive | MoLi7/useeior | R | false | false | 2,823 | r | #' Generate Margins table using either Industry Margins (BEA Margins) or Final Consumer Margins (BEA PCE and PEQ Bridge data).
#' @param model A complete EEIO model: a list with USEEIO model components and attributes.
#' @return A dataframe containing CommodityCode, and margins for ProducersValue, Transportation, Whole... |
rm(list = ls())
library(Daniel)
library(dplyr)
library(nnet)
CalcCImultinom <- function(fit)
{
s <- summary(fit)
coef <- s$coefficients
ses <- s$standard.errors
ci.1 <- coef[1,2] + c(-1, 1)*1.96*ses[1, 2]
ci.2 <- coef[2,2] + c(-1, 1)*1.96*ses[2, 2]
return(rbind(ci.1,ci.2))
}
#key
# A, B,C,D,E,F - betaE[2] =... | /Simulations/Scripts/R/Rare/Scenario 7/CMPEn50KrareScen7AE.R | no_license | yadevi/CausalMPE | R | false | false | 4,218 | r | rm(list = ls())
library(Daniel)
library(dplyr)
library(nnet)
CalcCImultinom <- function(fit)
{
s <- summary(fit)
coef <- s$coefficients
ses <- s$standard.errors
ci.1 <- coef[1,2] + c(-1, 1)*1.96*ses[1, 2]
ci.2 <- coef[2,2] + c(-1, 1)*1.96*ses[2, 2]
return(rbind(ci.1,ci.2))
}
#key
# A, B,C,D,E,F - betaE[2] =... |
options(repos="https://CRAN.R-project.org")
library(shiny)
library(tidyverse)
library(rio)
library(DT)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Supplier Benchmarking with standardized scores"),
# Sidebar with a slider input for number of bins
... | /app.R | no_license | nelson-io/supplier_benchmarking | R | false | false | 5,285 | r | options(repos="https://CRAN.R-project.org")
library(shiny)
library(tidyverse)
library(rio)
library(DT)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Supplier Benchmarking with standardized scores"),
# Sidebar with a slider input for number of bins
... |
#!/usr/bin/env Rscript
# Add two numbers using "mouth" of the + function
'+'(1,1) # Should equal 2
# Write a function called add5 that adds five to a single number.
add5 <-
function(x) {
x + 5
}
# Write a function that takes two arguments a vector and a single number and returns the element of the vector corres... | /advanced-data-mgmt/3_functions.R | no_license | asshah4/mscr | R | false | false | 1,347 | r | #!/usr/bin/env Rscript
# Add two numbers using "mouth" of the + function
'+'(1,1) # Should equal 2
# Write a function called add5 that adds five to a single number.
add5 <-
function(x) {
x + 5
}
# Write a function that takes two arguments a vector and a single number and returns the element of the vector corres... |
###0)Auxiliary functions
##Function to extract information from STAR Log output
Extraction_Log_final = function(path_to_Log_file) {
#Loading the final log file from STAR
Log_file =read.delim(path_to_Log_file,header = F,sep="\t")
Name_variable = as.character(Log_file$V1)
Value_variable = as.character(Log_file$... | /Viral_Track_scanning.R | no_license | piquelab/Viral-Track | R | false | false | 26,032 | r | ###0)Auxiliary functions
##Function to extract information from STAR Log output
Extraction_Log_final = function(path_to_Log_file) {
#Loading the final log file from STAR
Log_file =read.delim(path_to_Log_file,header = F,sep="\t")
Name_variable = as.character(Log_file$V1)
Value_variable = as.character(Log_file$... |
library(readxl)
women_stem <- read_excel("R/4211/women-stem.xlsx")
women_stem$Category <- factor(women_stem$Category, labels=c("Biology & Life Science",
"Computers & Mathematics","Engineering", "Health", "Physical Science"))
plot(women_stem$Year,women_stem$Proportion, pch=21, bg=c("red","g... | /Project1.R | no_license | natskala/women_stem | R | false | false | 1,522 | r | library(readxl)
women_stem <- read_excel("R/4211/women-stem.xlsx")
women_stem$Category <- factor(women_stem$Category, labels=c("Biology & Life Science",
"Computers & Mathematics","Engineering", "Health", "Physical Science"))
plot(women_stem$Year,women_stem$Proportion, pch=21, bg=c("red","g... |
\name{GetStatistic}
\alias{GetStatistic}
\alias{statistic}
\alias{RequesterReport}
\alias{GetWorkerStatistic}
\alias{workerstatistic}
\alias{WorkerReport}
\title{MTurk Worker and Requester Statistics}
\description{Get a requester statistic or a statistic for a particular worker. \code{RequesterReport} and \code... | /man/GetStatistic.Rd | no_license | SolomonMg/MTurkR | R | false | false | 3,993 | rd | \name{GetStatistic}
\alias{GetStatistic}
\alias{statistic}
\alias{RequesterReport}
\alias{GetWorkerStatistic}
\alias{workerstatistic}
\alias{WorkerReport}
\title{MTurk Worker and Requester Statistics}
\description{Get a requester statistic or a statistic for a particular worker. \code{RequesterReport} and \code... |
rm(list=ls())
assert('type_any_type_1', {
fib(n) %::% . : a
fib(0) %as% 1
fib(1) %as% 1
fib(n) %as% { fib(n-1) + fib(n-2) }
seal(fib)
act <- fib(4)
(act == 5)
})
rm(list=ls())
assert('type_any_type_2', {
hypotenuse(a,b) %::% . : . : numeric
hypotenuse(a,b) %as% { (a^2 + b^2)^.5 }
seal(hypotenuse)... | /tests/testit/test-type_any_type.R | no_license | cran/lambda.r | R | false | false | 729 | r |
rm(list=ls())
assert('type_any_type_1', {
fib(n) %::% . : a
fib(0) %as% 1
fib(1) %as% 1
fib(n) %as% { fib(n-1) + fib(n-2) }
seal(fib)
act <- fib(4)
(act == 5)
})
rm(list=ls())
assert('type_any_type_2', {
hypotenuse(a,b) %::% . : . : numeric
hypotenuse(a,b) %as% { (a^2 + b^2)^.5 }
seal(hypotenuse)... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/file.backup.R
\name{file.backup}
\alias{file.backup}
\title{Create a backup version of a file by renaming it.}
\usage{
file.backup(name, fullpath = FALSE, keep.old = FALSE, verbose = FALSE)
}
\arguments{
\item{name}{A character string for the... | /man/file.backup.Rd | no_license | cran/kutils | R | false | true | 1,741 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/file.backup.R
\name{file.backup}
\alias{file.backup}
\title{Create a backup version of a file by renaming it.}
\usage{
file.backup(name, fullpath = FALSE, keep.old = FALSE, verbose = FALSE)
}
\arguments{
\item{name}{A character string for the... |
var1 <- 1:5
plot(var1)
segments(2,2,3,3)
arrows(5,5,4,4)
text(2,4,"lable")
text(3,2,"테스트",srt=45) # 3,2에 해당되는 테스트라는 문자를 45도 각도로 기울여 출력
plot(1:15)
abline(h=8)
rect(1,6,3,8)
arrows(1,1,5,5)
text(8,9,"뚜껑열리는시점")
title("더 이상 나를 화나게 하지마!","까불지마 정도")
| /part4/section3_misc_2.R | no_license | duamkr/R-program | R | false | false | 347 | r | var1 <- 1:5
plot(var1)
segments(2,2,3,3)
arrows(5,5,4,4)
text(2,4,"lable")
text(3,2,"테스트",srt=45) # 3,2에 해당되는 테스트라는 문자를 45도 각도로 기울여 출력
plot(1:15)
abline(h=8)
rect(1,6,3,8)
arrows(1,1,5,5)
text(8,9,"뚜껑열리는시점")
title("더 이상 나를 화나게 하지마!","까불지마 정도")
|
### R: ARMA modeling - estimation, diagnostics, forecasting.
#
#
#### 0. SETUP DATA
rawdata <- c(-0.21,-2.28,-2.71,2.26,-1.11,1.71,2.63,-0.45,-0.11,4.79,5.07,-2.24,6.46,3.82,4.29,-1.47,2.69,
7.95,4.46,7.28,3.43,-3.19,-3.14,-1.25,-0.50,2.25,2.77,6.72,9.17,3.73,6.72,6.04,10.62,9.89,8.23,
5.37,-... | /test/arma.R | no_license | ssayre/docco-husky | R | false | false | 3,251 | r | ### R: ARMA modeling - estimation, diagnostics, forecasting.
#
#
#### 0. SETUP DATA
rawdata <- c(-0.21,-2.28,-2.71,2.26,-1.11,1.71,2.63,-0.45,-0.11,4.79,5.07,-2.24,6.46,3.82,4.29,-1.47,2.69,
7.95,4.46,7.28,3.43,-3.19,-3.14,-1.25,-0.50,2.25,2.77,6.72,9.17,3.73,6.72,6.04,10.62,9.89,8.23,
5.37,-... |
## set data file location
dataFile = "X:/WD/Documents/Projects/Education/DataScience/DataScience/4_Exploratory_Data_Analysis/exdata-data-household_power_consumption/household_power_consumption.txt"
#set wd to be where you will save you files.Specific to your local enviroment
setwd ("X:/WD/Documents/Projects/Education/... | /submission_data/code/plot1.R | no_license | sinebe/ExData_Plotting1 | R | false | false | 1,309 | r | ## set data file location
dataFile = "X:/WD/Documents/Projects/Education/DataScience/DataScience/4_Exploratory_Data_Analysis/exdata-data-household_power_consumption/household_power_consumption.txt"
#set wd to be where you will save you files.Specific to your local enviroment
setwd ("X:/WD/Documents/Projects/Education/... |
# Download dataset from UCI Machine Learning Repository if haven't already
if (!file.exists('../datasets')) {
dir.create('../datasets')
}
if (!file.exists('../datasets/household-power-consumption.zip')) {
fileURL <- "https://archive.ics.uci.edu/ml/machine-learning-databases/00235/household_power_consumption.zip"
dow... | /plot1.R | no_license | DougMHu/ExData_Plotting1 | R | false | false | 1,484 | r | # Download dataset from UCI Machine Learning Repository if haven't already
if (!file.exists('../datasets')) {
dir.create('../datasets')
}
if (!file.exists('../datasets/household-power-consumption.zip')) {
fileURL <- "https://archive.ics.uci.edu/ml/machine-learning-databases/00235/household_power_consumption.zip"
dow... |
aftbino.mbe <- function(count,estimated.richness=NULL,conf.level=0.95) {
size <- length(count)
if (is.null(estimated.richness)) {
estimated.richness <- ifelse(all(count[1:2]>0),
count[1]^2/count[2]/2/size*(size - 1)+sum(count),
Inf)
}
p... | /R/aftbino.mbe.R | no_license | leandroroser/Ares_1.2-4 | R | false | false | 676 | r |
aftbino.mbe <- function(count,estimated.richness=NULL,conf.level=0.95) {
size <- length(count)
if (is.null(estimated.richness)) {
estimated.richness <- ifelse(all(count[1:2]>0),
count[1]^2/count[2]/2/size*(size - 1)+sum(count),
Inf)
}
p... |
# Question 1, 2
data <- read.csv("seaflow_21min.csv")
str(data)
summary(data)
head(data,20)
summary(data$pop)
# Question 3
library(caret)
# createDataPartition, Y means the vector you want to evaluate/i.e. the outcomes.
x = createDataPartition(data$pop, p=0.5, list=FALSE)
head(x)
training <- data[x,]
testing <- data... | /assignment5/script.R | no_license | JulysRain/UWDataScience | R | false | false | 3,339 | r | # Question 1, 2
data <- read.csv("seaflow_21min.csv")
str(data)
summary(data)
head(data,20)
summary(data$pop)
# Question 3
library(caret)
# createDataPartition, Y means the vector you want to evaluate/i.e. the outcomes.
x = createDataPartition(data$pop, p=0.5, list=FALSE)
head(x)
training <- data[x,]
testing <- data... |
###########################################################################/**
# @RdocDefault cufflinks
#
# @title "Calls cufflinks on input bam file(s)"
#
# \description{
# @get "title".
# }
#
# @synopsis
#
# \arguments{
# \item{bams}{Vector of pathnames (.sam or .bam)}
# \item{optionsVec}{Vector of named options... | /R/cufflinks.R | no_license | shaimagidi1/aroma.seq | R | false | false | 1,776 | r | ###########################################################################/**
# @RdocDefault cufflinks
#
# @title "Calls cufflinks on input bam file(s)"
#
# \description{
# @get "title".
# }
#
# @synopsis
#
# \arguments{
# \item{bams}{Vector of pathnames (.sam or .bam)}
# \item{optionsVec}{Vector of named options... |
context("binds")
# columns -----------------------------------------------------------------
test_that("cbind uses shallow copies", {
df1 <- data.frame(
int = 1:10,
num = rnorm(10),
cha = letters[1:10],
stringsAsFactors = FALSE
)
df2 <- data.frame(
log = sample(c(T, F), 10, replace = TRUE),
... | /tests/testthat/test-bind.R | permissive | nmy2103/dplyr | R | false | false | 15,683 | r | context("binds")
# columns -----------------------------------------------------------------
test_that("cbind uses shallow copies", {
df1 <- data.frame(
int = 1:10,
num = rnorm(10),
cha = letters[1:10],
stringsAsFactors = FALSE
)
df2 <- data.frame(
log = sample(c(T, F), 10, replace = TRUE),
... |
############ PLOT 1 ################
## STEP 1: READ & PREPARE DATA ##
# Import column names and convert to character vector
# The the header names from first row
powNames <- read.table("household_power_consumption.txt",sep=";",nrows=1)
# Now convert the returned data.frame to a character vector
powNames <- sapply(po... | /plot1.R | no_license | AEKEYS/ExData_Plotting1 | R | false | false | 1,605 | r | ############ PLOT 1 ################
## STEP 1: READ & PREPARE DATA ##
# Import column names and convert to character vector
# The the header names from first row
powNames <- read.table("household_power_consumption.txt",sep=";",nrows=1)
# Now convert the returned data.frame to a character vector
powNames <- sapply(po... |
###############################################################################
# AUTHOR(DATE): Agurtzane Urtizberea, Dorleta Garcia and Sonia Sanchez
# RESEARCH INSTITUTE: AZTI-TECNALIA
# TITLE: create.indices.data
# NOTE #1: Return a list with FLIndex objects
##################... | /R/Conditioning_create.indices.data.R | no_license | ElsevierSoftwareX/SOFTX-D-15-00067 | R | false | false | 11,032 | r | ###############################################################################
# AUTHOR(DATE): Agurtzane Urtizberea, Dorleta Garcia and Sonia Sanchez
# RESEARCH INSTITUTE: AZTI-TECNALIA
# TITLE: create.indices.data
# NOTE #1: Return a list with FLIndex objects
##################... |
str(mtcars)
print("Sleeping for 15 seconds")
Sys.sleep(15)
print("Saving RData file")
dir.create("/var/www/html/RServer/reports/mtcars")
save(mtcars, file = "/var/www/html/RServer/reports/mtcars/mtcars.RData")
fit <- lm(mpg~am + wt + hp, data = mtcars)
summary(fit)
print("Saving Model")
Sys.sleep(10)
save(fit, ... | /tasks/userDemo/mtcars.r | no_license | XMUR/RServer | R | false | false | 379 | r | str(mtcars)
print("Sleeping for 15 seconds")
Sys.sleep(15)
print("Saving RData file")
dir.create("/var/www/html/RServer/reports/mtcars")
save(mtcars, file = "/var/www/html/RServer/reports/mtcars/mtcars.RData")
fit <- lm(mpg~am + wt + hp, data = mtcars)
summary(fit)
print("Saving Model")
Sys.sleep(10)
save(fit, ... |
data <- read.table("household_power_consumption.txt",sep=";",header=TRUE,stringsAsFactors=FALSE,dec=".")
subData <- data[data$Date %in% c("1/2/2007","2/2/2007"),]
timeData <- strptime(paste(subData$Date,subData$Time,sep=" "), "%d/%m/%Y %H:%M:%S")
energy1 <- as.numeric(subData$Sub_metering_1)
energy2 <- as.numeric(subDa... | /ExploratoryDataAnalysis/Assignment1/plot3.R | no_license | SlightlyUnorthodox/CouseraClasses | R | false | false | 707 | r | data <- read.table("household_power_consumption.txt",sep=";",header=TRUE,stringsAsFactors=FALSE,dec=".")
subData <- data[data$Date %in% c("1/2/2007","2/2/2007"),]
timeData <- strptime(paste(subData$Date,subData$Time,sep=" "), "%d/%m/%Y %H:%M:%S")
energy1 <- as.numeric(subData$Sub_metering_1)
energy2 <- as.numeric(subDa... |
plot1<- function(filedest){
householdPowerConsumption <- read.csv("household_power_consumption.txt", header = TRUE, sep = ";")
householdPowerConsumption$Date <- as.Date(householdPowerConsumption$Date, "%d/%m/%Y")
householdPowerConsumptionFeb <- subset(householdPowerConsumption, householdPowerCo... | /plot1.R | no_license | harshjetly/ExData_Plotting1 | R | false | false | 645 | r | plot1<- function(filedest){
householdPowerConsumption <- read.csv("household_power_consumption.txt", header = TRUE, sep = ";")
householdPowerConsumption$Date <- as.Date(householdPowerConsumption$Date, "%d/%m/%Y")
householdPowerConsumptionFeb <- subset(householdPowerConsumption, householdPowerCo... |
library(tidyverse) # data manipulations + plots
library(mfx) # marginal effects
# let's use old data frame with diamond prices
# let's create binary variable :) :)
df2 <- mutate(diamonds,
ideal = ifelse(cut == "Ideal", 1, 0))
glimpse(df2)
effects <- logitmfx(data = df2,
ideal ~ carat + price)
effects ... | /2017/seminar_2018_03_14.R | no_license | bdemeshev/em601 | R | false | false | 830 | r | library(tidyverse) # data manipulations + plots
library(mfx) # marginal effects
# let's use old data frame with diamond prices
# let's create binary variable :) :)
df2 <- mutate(diamonds,
ideal = ifelse(cut == "Ideal", 1, 0))
glimpse(df2)
effects <- logitmfx(data = df2,
ideal ~ carat + price)
effects ... |
#' Pollinate a fitted ranger random forest model
#'
#' @param object a fitted \code{ranger} object
#' @param x matrix of covariates
#' @param y vector of response values
#'
#' @return an object of class \code{pollinated.ranger} which is a \code{ranger}
#' object that has been pollinated with the data in (x, y)
polli... | /causalLearning.Rcheck/00_pkg_src/causalLearning/R/pollinated.ranger.R | no_license | junyangq/causalLearning | R | false | false | 1,378 | r | #' Pollinate a fitted ranger random forest model
#'
#' @param object a fitted \code{ranger} object
#' @param x matrix of covariates
#' @param y vector of response values
#'
#' @return an object of class \code{pollinated.ranger} which is a \code{ranger}
#' object that has been pollinated with the data in (x, y)
polli... |
# Copyright(c) Microsoft Corporation.
# Licensed under the MIT license.
#' Upload files to the Azure storage a datastore points to
#'
#' @description
#' Upload the data from the local file system to the Azure storage that the
#' datastore points to.
#' @param datastore The `AzureBlobDatastore` or `AzureFileDatastore` ... | /R/datastore.R | permissive | tommy-stats/azureml-sdk-for-r | R | false | false | 13,267 | r | # Copyright(c) Microsoft Corporation.
# Licensed under the MIT license.
#' Upload files to the Azure storage a datastore points to
#'
#' @description
#' Upload the data from the local file system to the Azure storage that the
#' datastore points to.
#' @param datastore The `AzureBlobDatastore` or `AzureFileDatastore` ... |
#' Formula specials for defining time-dependent covariates
#'
#' So far, two specials are implemented. \code{concurrent} is used when
#' the goal is to estimate a concurrent effect of the TDC. \code{cumulative}
#' is used when the goal is to estimate a cumulative effect of the TDC. These
#' should usually not be calle... | /R/formula-specials.R | permissive | romainfrancois/pammtools | R | false | false | 12,202 | r | #' Formula specials for defining time-dependent covariates
#'
#' So far, two specials are implemented. \code{concurrent} is used when
#' the goal is to estimate a concurrent effect of the TDC. \code{cumulative}
#' is used when the goal is to estimate a cumulative effect of the TDC. These
#' should usually not be calle... |
#' peak list Identification
#' @param adductSpectra AdductSpec object
#' param peakList numeric vector of peak masses
#' param exPeakMass numeric internal standard peak mass
#' @param frag.delta integer delta mass accuracy difference.
#' @param minSpecEx numeric the minimum percentage of the total ion
#' current explai... | /R/peakListId.R | permissive | JosieLHayes/adductomicsR | R | false | false | 12,081 | r | #' peak list Identification
#' @param adductSpectra AdductSpec object
#' param peakList numeric vector of peak masses
#' param exPeakMass numeric internal standard peak mass
#' @param frag.delta integer delta mass accuracy difference.
#' @param minSpecEx numeric the minimum percentage of the total ion
#' current explai... |
wfldmean <-
function(var,infile,outfile){
start.time <- Sys.time()
# check filename
filecheck <- checkfile(infile,outfile)
if (filecheck[[1]]){
infile <- filecheck[[2]]
outfile <- filecheck[[3]]
# define standard names of variables and dimensions
t_name <- "time"
t_standard_name = "time"
... | /R/wfldmean.R | no_license | solhailu/cmsaf | R | false | false | 6,150 | r | wfldmean <-
function(var,infile,outfile){
start.time <- Sys.time()
# check filename
filecheck <- checkfile(infile,outfile)
if (filecheck[[1]]){
infile <- filecheck[[2]]
outfile <- filecheck[[3]]
# define standard names of variables and dimensions
t_name <- "time"
t_standard_name = "time"
... |
library(ADAMgui)
library(testthat)
test_check("ADAMgui")
| /tests/testthat.R | no_license | rybarczykfilho/ADAMgui | R | false | false | 57 | r | library(ADAMgui)
library(testthat)
test_check("ADAMgui")
|
# difference = bed_variant_densities_compare_subtract(mydata)
#
# #Lets put it in the context of the distribution
# region_file
# output_directory = bed_randomly_shuffle_intervals(outdir = )
#
# #Get vector of variant density comparisons,
#
# dir(output_directory, full.names = TRUE) %>%
# bed_variant_densities()
#
# ... | /R/analysis_workflow.R | permissive | selkamand/bedutilsr | R | false | false | 695 | r | # difference = bed_variant_densities_compare_subtract(mydata)
#
# #Lets put it in the context of the distribution
# region_file
# output_directory = bed_randomly_shuffle_intervals(outdir = )
#
# #Get vector of variant density comparisons,
#
# dir(output_directory, full.names = TRUE) %>%
# bed_variant_densities()
#
# ... |
library(cowplot)
library(dplyr)
library(purrr)
source(file.path("figure", "funs.R"))
## Fisher information dd term vs time for d = 1, mu = 1
FIMvsTime <- function() {
dat <- lapply(c(I_pulse, I_chase, I_slam), function(f) {
t <- exp(seq(log(.01), log(10), length.out = 1000))
data.frame(time = t,
... | /figure/2/plot.R | no_license | alexey0308/DesignMetabolicRNAlabeling | R | false | false | 5,183 | r | library(cowplot)
library(dplyr)
library(purrr)
source(file.path("figure", "funs.R"))
## Fisher information dd term vs time for d = 1, mu = 1
FIMvsTime <- function() {
dat <- lapply(c(I_pulse, I_chase, I_slam), function(f) {
t <- exp(seq(log(.01), log(10), length.out = 1000))
data.frame(time = t,
... |
\name{sGPCA}
\alias{sGPCA}
\docType{package}
\title{
Sparse Generalized Principal Component Analysis
}
\description{
Functions for computing Sparse Generalized Principal Components, including functions for modeling structured correlation
}
\details{
\tabular{ll}{
Package: \tab sgpca\cr
Type: \tab Package\cr
Version: \t... | /man/sGPCA-package.Rd | no_license | cran/sGPCA | R | false | false | 1,165 | rd | \name{sGPCA}
\alias{sGPCA}
\docType{package}
\title{
Sparse Generalized Principal Component Analysis
}
\description{
Functions for computing Sparse Generalized Principal Components, including functions for modeling structured correlation
}
\details{
\tabular{ll}{
Package: \tab sgpca\cr
Type: \tab Package\cr
Version: \t... |
## PROJECT: Pump up the jam
## AUTHOR: tessam | USAID
## LICENSE: MIT
## PURPOSE: Create correctness metrics and visuals
## DATE: 2020-03-12
# DEPENDENCIES ------------------------------------------------------------
library(tidyverse)
library(lubridate)
library(vroom)
library(tidytext)
# GLOBALS --------... | /Scripts/04_assess_correctness.R | no_license | USAID-OHA-SI/pump_up_the_jam | R | false | false | 2,744 | r | ## PROJECT: Pump up the jam
## AUTHOR: tessam | USAID
## LICENSE: MIT
## PURPOSE: Create correctness metrics and visuals
## DATE: 2020-03-12
# DEPENDENCIES ------------------------------------------------------------
library(tidyverse)
library(lubridate)
library(vroom)
library(tidytext)
# GLOBALS --------... |
library("RMySQL");
mydb = dbConnect(MySQL(), user='root', password='root', dbname='football', host='localhost')
dbListTables(mydb)
d <- dbReadTable(mydb, "events")
str(d)
unique(d$match_id)
| /R_Scripts/in_play/ProcessEventsData.R | no_license | adityas16/FirstRepository | R | false | false | 190 | r | library("RMySQL");
mydb = dbConnect(MySQL(), user='root', password='root', dbname='football', host='localhost')
dbListTables(mydb)
d <- dbReadTable(mydb, "events")
str(d)
unique(d$match_id)
|
#!/usr/bin/Rscript
bookdown::render_book('index.Rmd')
| /_build.R | permissive | jimewu/bookdown-chinese | R | false | false | 55 | r | #!/usr/bin/Rscript
bookdown::render_book('index.Rmd')
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getFixedLevelComparisons.R
\name{getFixedLevelComparisons}
\alias{getFixedLevelComparisons}
\title{Finds rows of post-hoc tests summary table in which pairs of treatment groups differ in the
levels of only one factor}
\usage{
getFixedLevelCom... | /man/getFixedLevelComparisons.Rd | no_license | blasee/meantable | R | false | true | 2,145 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getFixedLevelComparisons.R
\name{getFixedLevelComparisons}
\alias{getFixedLevelComparisons}
\title{Finds rows of post-hoc tests summary table in which pairs of treatment groups differ in the
levels of only one factor}
\usage{
getFixedLevelCom... |
#sys.frame(1)$ofile
#' @param xfrac The fraction over from the left side.
#' @param yfrac The fraction down from the top.
#' @param label The text to label with.
#' @param pos Position to pass to text()
#' @param ... Anything extra to pass to text(), e.g. cex, col.
add_label <- function(xfrac, yfrac, label, pos = 4, .... | /Plot Functions.R | permissive | rodlammers/LAC_Analysis | R | false | false | 6,917 | r | #sys.frame(1)$ofile
#' @param xfrac The fraction over from the left side.
#' @param yfrac The fraction down from the top.
#' @param label The text to label with.
#' @param pos Position to pass to text()
#' @param ... Anything extra to pass to text(), e.g. cex, col.
add_label <- function(xfrac, yfrac, label, pos = 4, .... |
## Script to cycle through leave-one-year-out fits
## of growth regressions via MCMC. These fits are then
## used in IPMs to forecast the year missing from the
## fitting procedure.
## Author: Andrew Tredennick
## Email: atredenn@gmail.com
## Last update: 4-22-2015
#clear everything, just t... | /analysis/ipm/vitalRateRegs/cache/growth_cache/growthAllSpp_MCMC_LOYO.R | no_license | atredennick/MicroMesoForecast | R | false | false | 6,903 | r | ## Script to cycle through leave-one-year-out fits
## of growth regressions via MCMC. These fits are then
## used in IPMs to forecast the year missing from the
## fitting procedure.
## Author: Andrew Tredennick
## Email: atredenn@gmail.com
## Last update: 4-22-2015
#clear everything, just t... |
library(usethis)
use_vignette(name = 'testshiny', title = 'test embedded Shiny app')
use_package('shiny')
use_github()
use_pkgdown_github_pages()
webshot::install_phantomjs()
pkgdown::build_site()
devtools::install_github('qdread/testShinyVignette', build_vignettes = TRUE)
| /pkgsetup.R | no_license | qdread/testShinyVignette | R | false | false | 278 | r | library(usethis)
use_vignette(name = 'testshiny', title = 'test embedded Shiny app')
use_package('shiny')
use_github()
use_pkgdown_github_pages()
webshot::install_phantomjs()
pkgdown::build_site()
devtools::install_github('qdread/testShinyVignette', build_vignettes = TRUE)
|
#######################################################
### Gamma distribution with Lambda = 8, Alpha = 0.5 ###
#######################################################
mu <- exp(2.769201)
lambdaEstMLE <- exp(2.060237)
alphaEstMLE <- lambdaEstMLE/mu
print(paste0('Estimated alpha (MLE): ', alphaEstMLE))
print(paste0('... | /TASK1/lab1/parEst/calcMLE.r | permissive | denisuzhva/StatisticalModelling | R | false | false | 362 | r | #######################################################
### Gamma distribution with Lambda = 8, Alpha = 0.5 ###
#######################################################
mu <- exp(2.769201)
lambdaEstMLE <- exp(2.060237)
alphaEstMLE <- lambdaEstMLE/mu
print(paste0('Estimated alpha (MLE): ', alphaEstMLE))
print(paste0('... |
# Define constants
decision <- c(1, 2, 3) # Choose self, choose facilitated, choose outcross; used to store data as matrix rather than data frame
totalOvules <- 50
gs <- 0.3; gx <- 0.9
ds <- 0.7; dx <- 0.9
m <- 0.8; kappa <- 0.7
tmax <- 10 # duration of anthesis
iterations <- 4 # How many trajectories to conside... | /OFDynamic.R | no_license | challance/Ovule-Fates | R | false | false | 11,756 | r | # Define constants
decision <- c(1, 2, 3) # Choose self, choose facilitated, choose outcross; used to store data as matrix rather than data frame
totalOvules <- 50
gs <- 0.3; gx <- 0.9
ds <- 0.7; dx <- 0.9
m <- 0.8; kappa <- 0.7
tmax <- 10 # duration of anthesis
iterations <- 4 # How many trajectories to conside... |
context("test-api.R")
# Global variables for GET request
API_VERSION <- "2.1"
BASE_URL <- "https://npiregistry.cms.hhs.gov/api/"
USER_AGENT <- "http://github.com/frankfarach/npi"
MAX_N_PER_REQUEST <- 200L
# npi_url() ---------------------------------------------------------------
test_that("npi_url() returns BASE_U... | /tests/testthat/test-api.R | permissive | usczeus/npi | R | false | false | 6,342 | r | context("test-api.R")
# Global variables for GET request
API_VERSION <- "2.1"
BASE_URL <- "https://npiregistry.cms.hhs.gov/api/"
USER_AGENT <- "http://github.com/frankfarach/npi"
MAX_N_PER_REQUEST <- 200L
# npi_url() ---------------------------------------------------------------
test_that("npi_url() returns BASE_U... |
## Objetos S3
rm(list = ls()) # elimina todos los objetos del ambiente
install.packages("sloop")#Instala el paquete "sloop"
library(sloop)#Carga el paquete
# Existen tipos de objetos en el lenguaje R, los tipo S3 son los comúnmente más utilizados, se usan en los paquetes base y paquetes CRAN
# los objetos (00) ya ... | /dia_2.R | no_license | ingridvra/Curso-intermedio-avanzado-de-R | R | false | false | 24,035 | r | ## Objetos S3
rm(list = ls()) # elimina todos los objetos del ambiente
install.packages("sloop")#Instala el paquete "sloop"
library(sloop)#Carga el paquete
# Existen tipos de objetos en el lenguaje R, los tipo S3 son los comúnmente más utilizados, se usan en los paquetes base y paquetes CRAN
# los objetos (00) ya ... |
library(pdftools)
library(tokenizers)
library(stringr)
library(tidyr)
library(dplyr)
library(readr)
library(ggplot2)
library(viridis)
library(colormap)
fp <- "C:/Users/rpauloo/Desktop/2019 CItation/Papers/" # PC
# fp <- "/Users/richpauloo/Desktop/2019 CItation/Papers/" # Mac
# paper names
p <- list.files(paste0(fp, "... | /scratch/03_get_paper_metadata.R | no_license | richpauloo/cig_nlp | R | false | false | 1,436 | r | library(pdftools)
library(tokenizers)
library(stringr)
library(tidyr)
library(dplyr)
library(readr)
library(ggplot2)
library(viridis)
library(colormap)
fp <- "C:/Users/rpauloo/Desktop/2019 CItation/Papers/" # PC
# fp <- "/Users/richpauloo/Desktop/2019 CItation/Papers/" # Mac
# paper names
p <- list.files(paste0(fp, "... |
/man/PronGroupTs.Rd | no_license | andraxas/tsmodfor | R | false | true | 1,122 | rd | ||
ptm <- proc.time()
library(data.tree)
library(ape)
library(phytools)
make_matrix <- function(v, df){
m <- matrix(0,length(v),length(v))
dimnames(m) <- list(v,v)
for (i in 1:ncol(m)){
for (j in 1:nrow(m)){
m[i,j] <- dist(rbind(df[,v[i]],df[,v[j]]), method = "manhattan")
... | /metrics/6node/manhattan.R | no_license | sychen9584/hm_tree | R | false | false | 927 | r | ptm <- proc.time()
library(data.tree)
library(ape)
library(phytools)
make_matrix <- function(v, df){
m <- matrix(0,length(v),length(v))
dimnames(m) <- list(v,v)
for (i in 1:ncol(m)){
for (j in 1:nrow(m)){
m[i,j] <- dist(rbind(df[,v[i]],df[,v[j]]), method = "manhattan")
... |
#announce libraries
library(tidyr)
library(dplyr)
library(data.table)
#choose the csv file that interests your
data <- read.table(file = file.choose(), header = TRUE, sep = ",")
#create selection exclusively by TCP protocol
tcp_table <- subset(data, Protocol == "TCP", select = c(Protocol, Source, Destination))
#identif... | /TCP.R | no_license | MitusK/TCP.R | R | false | false | 998 | r | #announce libraries
library(tidyr)
library(dplyr)
library(data.table)
#choose the csv file that interests your
data <- read.table(file = file.choose(), header = TRUE, sep = ",")
#create selection exclusively by TCP protocol
tcp_table <- subset(data, Protocol == "TCP", select = c(Protocol, Source, Destination))
#identif... |
#' Plot string sum
#'
#' @param data as returned by \code{\link{get_data_aggregate}}
#' @param para parameter to plot (default: "Vin")
#' @param ypara either "sum" (for parameter selected in argument para
#' or "n" (number of panels), (default: "param")
#' @param interactive TRUE/FALSE
#'
#' @return string sum plot
#' ... | /R/plot-string.R | permissive | mrustl/tigo | R | false | false | 1,028 | r | #' Plot string sum
#'
#' @param data as returned by \code{\link{get_data_aggregate}}
#' @param para parameter to plot (default: "Vin")
#' @param ypara either "sum" (for parameter selected in argument para
#' or "n" (number of panels), (default: "param")
#' @param interactive TRUE/FALSE
#'
#' @return string sum plot
#' ... |
#rm(list=ls())
#bank<-read.csv("bank-additional-full.csv", sep=";")
#bank$y<-relevel(bank$y, "yes")
data<-bank_new[ ,-11]
#bank_sample = data[sample(nrow(data),5000) ,]
bank_sample = data
library(caret)
set.seed(81)
# Dimiourgia partition (statified)
inTrain <- createDataPartition(y=bank_sample$y, p=0.70... | /Classification/NaiveBayes.R | no_license | anna-kay/Bank-Marketing-Dataset-classification-clustering | R | false | false | 1,386 | r | #rm(list=ls())
#bank<-read.csv("bank-additional-full.csv", sep=";")
#bank$y<-relevel(bank$y, "yes")
data<-bank_new[ ,-11]
#bank_sample = data[sample(nrow(data),5000) ,]
bank_sample = data
library(caret)
set.seed(81)
# Dimiourgia partition (statified)
inTrain <- createDataPartition(y=bank_sample$y, p=0.70... |
graficas <-function(listdf){
# For each price data frame in the list, this function creates the quantile plot and
# the standard deviation plot for prices and returns a list of lists of two elements.
simpleCap <- function(x) {#function that returns the first letter capitalized
substr(x, 1, 1) <- toupp... | /Old functions/graficas.R | no_license | alehg/gasoline_prices | R | false | false | 776 | r | graficas <-function(listdf){
# For each price data frame in the list, this function creates the quantile plot and
# the standard deviation plot for prices and returns a list of lists of two elements.
simpleCap <- function(x) {#function that returns the first letter capitalized
substr(x, 1, 1) <- toupp... |
### R code from vignette source 'CDF_Deconvolution.Rnw'
###################################################
### code chunk number 1: preliminaries
###################################################
# Load the spsurvey package
library(spsurvey)
###################################################
### code... | /data/genthat_extracted_code/spsurvey/vignettes/CDF_Deconvolution.R | no_license | surayaaramli/typeRrh | R | false | false | 7,938 | r | ### R code from vignette source 'CDF_Deconvolution.Rnw'
###################################################
### code chunk number 1: preliminaries
###################################################
# Load the spsurvey package
library(spsurvey)
###################################################
### code... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mangiaficoD.r
\name{mangiaficoD}
\alias{mangiaficoD}
\title{Mangiafico's d}
\usage{
mangiaficoD(
formula = NULL,
data = NULL,
x = NULL,
y = NULL,
ci = FALSE,
conf = 0.95,
type = "perc",
R = 1000,
histogram = FALSE,
reportI... | /man/mangiaficoD.Rd | no_license | cran/rcompanion | R | false | true | 3,859 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mangiaficoD.r
\name{mangiaficoD}
\alias{mangiaficoD}
\title{Mangiafico's d}
\usage{
mangiaficoD(
formula = NULL,
data = NULL,
x = NULL,
y = NULL,
ci = FALSE,
conf = 0.95,
type = "perc",
R = 1000,
histogram = FALSE,
reportI... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/antsrTransform_class.R
\name{applyAntsrTransformToPoint}
\alias{applyAntsrTransformToPoint}
\title{applyAntsrTransformToPoint}
\usage{
applyAntsrTransformToPoint(transform, point)
}
\arguments{
\item{transform}{antsrTransform}
\item{point}{a... | /man/applyAntsrTransformToPoint.Rd | permissive | ncullen93/ANTsRCore | R | false | true | 588 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/antsrTransform_class.R
\name{applyAntsrTransformToPoint}
\alias{applyAntsrTransformToPoint}
\title{applyAntsrTransformToPoint}
\usage{
applyAntsrTransformToPoint(transform, point)
}
\arguments{
\item{transform}{antsrTransform}
\item{point}{a... |
# To add two features: try-error & lat/long check
library(MODISTools)
require(NCBI2R) #For Delay
sessionInfo()
# MODISTools_0.94.3
## setwd()
dat<- read.csv("cprj_site.csv")
if(file.exists("MOD17A3_IndividualPixel") == FALSE)
dir.create("MOD17A3_IndividualPixel")
## Making column names match what is needed by ... | /modis_things/plMOIS/Magpp.r | no_license | npp97/NESoilC | R | false | false | 2,618 | r | # To add two features: try-error & lat/long check
library(MODISTools)
require(NCBI2R) #For Delay
sessionInfo()
# MODISTools_0.94.3
## setwd()
dat<- read.csv("cprj_site.csv")
if(file.exists("MOD17A3_IndividualPixel") == FALSE)
dir.create("MOD17A3_IndividualPixel")
## Making column names match what is needed by ... |
betaest <- function(xo, sigmainv_xyo, condition, return_estlist = FALSE) {
# number of columns of X (of the observed data)
ncol_xo <- ncol(xo)
# a sequence from 1 to the number of columns in X
xo_dims <- seq.int(1, ncol_xo)
# Taking sigma_inverse %*% X
sigmainv_xo <- sigmainv_xyo[, xo_dims, drop = FALSE]... | /R/betaest.R | permissive | michaeldumelle/DumelleEtAl2021STLMM | R | false | false | 1,278 | r | betaest <- function(xo, sigmainv_xyo, condition, return_estlist = FALSE) {
# number of columns of X (of the observed data)
ncol_xo <- ncol(xo)
# a sequence from 1 to the number of columns in X
xo_dims <- seq.int(1, ncol_xo)
# Taking sigma_inverse %*% X
sigmainv_xo <- sigmainv_xyo[, xo_dims, drop = FALSE]... |
/ModifiedPredictionProcess/src/WaterInfraestructure_ARIMA_R/mejor.arma.R | no_license | eclipse-researchlabs/brain-iot-BIP_-To_-JAVA_Toolset | R | false | false | 4,893 | r | ||
clsapply <- function(dat, func, df=NULL, tempdir="~/project/tempZ",
queque="1-day", timespan="540", mem="8G", req.pack='stats',
tidy=F) {
# Apply to the row of dat by default (dim=2 for column)
# Create temp dir
if (!file.exists(tempdir)) {
dir.create(tempdir)
}
setwd(tempdir)
save(dat, func, df, file=("... | /Simulation/Cluster_mayo.R | no_license | jchen1981/OrderShapeEM | R | false | false | 3,320 | r |
clsapply <- function(dat, func, df=NULL, tempdir="~/project/tempZ",
queque="1-day", timespan="540", mem="8G", req.pack='stats',
tidy=F) {
# Apply to the row of dat by default (dim=2 for column)
# Create temp dir
if (!file.exists(tempdir)) {
dir.create(tempdir)
}
setwd(tempdir)
save(dat, func, df, file=("... |
## Matrix inversion is usually a costly computation and there may be some
## benefit to caching the inverse of a matrix rather than compute it repeatedly.
## This function creates a special "matrix" object that can cache its inverse.
## The key concept is that when you call a function it seeks its variables in
## ... | /cachematrix.R | no_license | rcuet/ProgrammingAssignment2 | R | false | false | 1,357 | r | ## Matrix inversion is usually a costly computation and there may be some
## benefit to caching the inverse of a matrix rather than compute it repeatedly.
## This function creates a special "matrix" object that can cache its inverse.
## The key concept is that when you call a function it seeks its variables in
## ... |
\alias{gdkRegionRectangle}
\name{gdkRegionRectangle}
\title{gdkRegionRectangle}
\description{Creates a new region containing the area \code{rectangle}.}
\usage{gdkRegionRectangle(rectangle)}
\arguments{\item{\code{rectangle}}{[\code{\link{GdkRectangle}}] a \code{\link{GdkRectangle}}}}
\value{[\code{\link{GdkRegion}}] ... | /man/gdkRegionRectangle.Rd | no_license | cran/RGtk2.10 | R | false | false | 406 | rd | \alias{gdkRegionRectangle}
\name{gdkRegionRectangle}
\title{gdkRegionRectangle}
\description{Creates a new region containing the area \code{rectangle}.}
\usage{gdkRegionRectangle(rectangle)}
\arguments{\item{\code{rectangle}}{[\code{\link{GdkRectangle}}] a \code{\link{GdkRectangle}}}}
\value{[\code{\link{GdkRegion}}] ... |
get_mapInfo = function(species, reactive = T){
# extract all necessary info for plotting a given species
# setup -------------------------------------------------------------------
# find index of target species
ind = which(colnames(detections) == species)
# initiate list
spp = list()
# prese... | /dev/get_mapInfo.R | no_license | hansenjohnson/live_glider | R | false | false | 1,139 | r | get_mapInfo = function(species, reactive = T){
# extract all necessary info for plotting a given species
# setup -------------------------------------------------------------------
# find index of target species
ind = which(colnames(detections) == species)
# initiate list
spp = list()
# prese... |
library(tidyverse)
library(leaflet)
library(shinydashboard)
library(shiny)
# -- load data
# sensors <- read_rds("data/sensors.rds")
sensor_locations <- read_csv("data/locations.csv")
# sensors %>%
# filter(site_id == "arc1046") %>%
# group_by(type) %>%
# filter(local_time == max(local_time)) %>%
# ungroup()
... | /app.R | no_license | ycui0008/tutorial-11 | R | false | false | 2,115 | r | library(tidyverse)
library(leaflet)
library(shinydashboard)
library(shiny)
# -- load data
# sensors <- read_rds("data/sensors.rds")
sensor_locations <- read_csv("data/locations.csv")
# sensors %>%
# filter(site_id == "arc1046") %>%
# group_by(type) %>%
# filter(local_time == max(local_time)) %>%
# ungroup()
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotBbox.R
\name{plotBbox}
\alias{plotBbox}
\title{Graphical representation of spatial constraints}
\usage{
plotBbox(hydros, bbox)
}
\arguments{
\item{hydros}{Dataframe from simHydros() or Dataframe with columns hx and hy containing ... | /man/plotBbox.Rd | no_license | cran/yaps | R | false | true | 784 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotBbox.R
\name{plotBbox}
\alias{plotBbox}
\title{Graphical representation of spatial constraints}
\usage{
plotBbox(hydros, bbox)
}
\arguments{
\item{hydros}{Dataframe from simHydros() or Dataframe with columns hx and hy containing ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cnv_categorisation.R
\name{isNonDFTD}
\alias{isNonDFTD}
\title{Return a vector of CNV IDs for non-DFTD samples}
\usage{
isNonDFTD(cnvtable)
}
\description{
Return a vector of CNV IDs for non-DFTD samples
}
| /man/isNonDFTD.Rd | no_license | TransmissibleCancerGroup/dftdLowCov | R | false | true | 284 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cnv_categorisation.R
\name{isNonDFTD}
\alias{isNonDFTD}
\title{Return a vector of CNV IDs for non-DFTD samples}
\usage{
isNonDFTD(cnvtable)
}
\description{
Return a vector of CNV IDs for non-DFTD samples
}
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subset_funcs.R
\name{ppp_rip}
\alias{ppp_rip}
\title{Identify Proportion of Peptides Present (PPP) and Rank Invariant Peptides (RIP)}
\usage{
ppp_rip(e_data, edata_id, fdata_id, groupDF, alpha = 0.2, proportion = 0.5)
}
\arguments{
\item{e_da... | /man/ppp_rip.Rd | no_license | godi678/pmartR | R | false | true | 2,363 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subset_funcs.R
\name{ppp_rip}
\alias{ppp_rip}
\title{Identify Proportion of Peptides Present (PPP) and Rank Invariant Peptides (RIP)}
\usage{
ppp_rip(e_data, edata_id, fdata_id, groupDF, alpha = 0.2, proportion = 0.5)
}
\arguments{
\item{e_da... |
#' Coverage for single cells
#'
#'Provides Coverage for each cell in a library pool
#'@param bs bsseq object
#'@param subSample number of CpGs to subsample.
#'Default value is 1000000.
#'@param offset how many CpGs to offset when subsampling
#'Default value is set to be 50000, i.e. first 50000 CpGs will
#'be ignored in... | /R/coverage.R | no_license | aryeelab/scmeth | R | false | false | 1,164 | r | #' Coverage for single cells
#'
#'Provides Coverage for each cell in a library pool
#'@param bs bsseq object
#'@param subSample number of CpGs to subsample.
#'Default value is 1000000.
#'@param offset how many CpGs to offset when subsampling
#'Default value is set to be 50000, i.e. first 50000 CpGs will
#'be ignored in... |
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/sim_funcs.R
\name{sim_CPIF}
\alias{sim_CPIF}
\title{function to simulate latent abundance with a closed pop ideal free superpopulation model}
\usage{
sim_CPIF(S, Data, Sim.pars, hab.formula, Q.knot, K.cpif, Area.adjust = NULL)
}
\argu... | /STabundance/man/sim_CPIF.Rd | no_license | pconn/STabundance | R | false | false | 2,304 | rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/sim_funcs.R
\name{sim_CPIF}
\alias{sim_CPIF}
\title{function to simulate latent abundance with a closed pop ideal free superpopulation model}
\usage{
sim_CPIF(S, Data, Sim.pars, hab.formula, Q.knot, K.cpif, Area.adjust = NULL)
}
\argu... |
#' Hillary Rodham Clinton emails
#'
#' List that pairs sender and recipient names provided by the State Department website
#' with that person's commonly-used name.
#'
#' For example, \code{HRC} becomes \code{Hillary Clinton}.
#'
#' @format A data frame with 912 rows and 2 variables:
#' \describe{
#' \item{originalNa... | /R/hrcnames.R | no_license | JohnCoene/rodham | R | false | false | 507 | r | #' Hillary Rodham Clinton emails
#'
#' List that pairs sender and recipient names provided by the State Department website
#' with that person's commonly-used name.
#'
#' For example, \code{HRC} becomes \code{Hillary Clinton}.
#'
#' @format A data frame with 912 rows and 2 variables:
#' \describe{
#' \item{originalNa... |
##############################################################################
# #
# PAYOFF MATRIX FOR THE QUANTUM PRISONER'S DILEMMA GAME #
# #
####... | /R/PayoffMatrix_QPD.R | permissive | indrag49/QGameTheory | R | false | false | 1,822 | r | ##############################################################################
# #
# PAYOFF MATRIX FOR THE QUANTUM PRISONER'S DILEMMA GAME #
# #
####... |
head <- "
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/a... | /2018-06_tidy_text_workflow/head.R | no_license | joshuaulrich/stl-rug | R | false | false | 746 | r | head <- "
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/a... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{tea}
\alias{tea}
\title{Survey on tea consumption}
\format{A data frame with 300 rows and 36 categorical variables.}
\source{
\url{https://cran.r-project.org/web/packages/FactoMineR/index.html}
}
\usage{
tea
}
\des... | /man/tea.Rd | permissive | thoera/corr | R | false | true | 428 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{tea}
\alias{tea}
\title{Survey on tea consumption}
\format{A data frame with 300 rows and 36 categorical variables.}
\source{
\url{https://cran.r-project.org/web/packages/FactoMineR/index.html}
}
\usage{
tea
}
\des... |
## Copyright (C) 1999, 2006, 2007, 2009 David M. Doolin
## bugs and limitations:
## Probably ought to be an optional check to make sure that
## traversing the vertices doesn't make any sides cross
## (Is simple closed curve the technical definition of this?).
##' Determines area of a polygon b... | /pkg/R/polyarea.R | no_license | fguilhaumon/geometry | R | false | false | 2,011 | r | ## Copyright (C) 1999, 2006, 2007, 2009 David M. Doolin
## bugs and limitations:
## Probably ought to be an optional check to make sure that
## traversing the vertices doesn't make any sides cross
## (Is simple closed curve the technical definition of this?).
##' Determines area of a polygon b... |
\name{pareto_quantile}
\alias{pareto_quantile}
\title{
Quantile of Pareto RV}
\description{
A simple function is given here which returns the quantiles for a Pareto RV. A more efficient implementation is obtainable in the function "qpareto" from the "VGAM" package.}
\usage{
pareto_quantile(p, scale, shape)
}
\arguments... | /man/pareto_quantile.Rd | no_license | cran/ACSWR | R | false | false | 591 | rd | \name{pareto_quantile}
\alias{pareto_quantile}
\title{
Quantile of Pareto RV}
\description{
A simple function is given here which returns the quantiles for a Pareto RV. A more efficient implementation is obtainable in the function "qpareto" from the "VGAM" package.}
\usage{
pareto_quantile(p, scale, shape)
}
\arguments... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{logistic_mle}
\alias{logistic_mle}
\title{Logistic regression based on MLE}
\usage{
logistic_mle(X, y)
}
\arguments{
\item{X}{a n x p matrix of regressor}
\item{y}{a n-vector of response}
}
\description{
Logistic regressi... | /man/logistic_mle.Rd | no_license | SMAC-Group/fpl | R | false | true | 338 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{logistic_mle}
\alias{logistic_mle}
\title{Logistic regression based on MLE}
\usage{
logistic_mle(X, y)
}
\arguments{
\item{X}{a n x p matrix of regressor}
\item{y}{a n-vector of response}
}
\description{
Logistic regressi... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/describe_aggregated_profiles.R,
% R/describe_ceteris_paribus.R, R/describe_feature_importance.R
\name{describe.partial_dependency_explainer}
\alias{describe.partial_dependency_explainer}
\alias{describe}
\alias{describe.ceteris_paribus_expl... | /man/describe.Rd | no_license | WojciechKretowicz/ingredients | R | false | true | 4,756 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/describe_aggregated_profiles.R,
% R/describe_ceteris_paribus.R, R/describe_feature_importance.R
\name{describe.partial_dependency_explainer}
\alias{describe.partial_dependency_explainer}
\alias{describe}
\alias{describe.ceteris_paribus_expl... |
library(GAD)
### Name: estimates
### Title: Estimates of an ANOVA design
### Aliases: estimates
### Keywords: design
### ** Examples
#Example 1
library(GAD)
data(rohlf95)
CG <- as.fixed(rohlf95$cages)
MQ <- as.random(rohlf95$mosquito)
model_R <- lm(wing ~ CG + CG%in%MQ, data = rohlf95)
estimates(model_R)
##
##
#Ex... | /data/genthat_extracted_code/GAD/examples/estimates.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 588 | r | library(GAD)
### Name: estimates
### Title: Estimates of an ANOVA design
### Aliases: estimates
### Keywords: design
### ** Examples
#Example 1
library(GAD)
data(rohlf95)
CG <- as.fixed(rohlf95$cages)
MQ <- as.random(rohlf95$mosquito)
model_R <- lm(wing ~ CG + CG%in%MQ, data = rohlf95)
estimates(model_R)
##
##
#Ex... |
# in .Rprofile of the website project
if (file.exists("~/.Rprofile")) {
base::sys.source("~/.Rprofile", envir = environment())
}
options(blogdown.new_bundle = TRUE, # force making page bundle (i.e folder instead of single file)
blogdown.author = "Isabella Benabaye", # who the author of posts is
... | /.Rprofile | no_license | agustrionopj/isabella-b.com | R | false | false | 511 | rprofile | # in .Rprofile of the website project
if (file.exists("~/.Rprofile")) {
base::sys.source("~/.Rprofile", envir = environment())
}
options(blogdown.new_bundle = TRUE, # force making page bundle (i.e folder instead of single file)
blogdown.author = "Isabella Benabaye", # who the author of posts is
... |
rm(list=ls()) # delete workspace
setwd("~/Dropbox/___MA/social_RL_git/thesis_social_RL/simulated_agents")
library(tidyverse)
library(lme4)
#read in data
library(readr)
#read in simulated agents data standard RL model
sim_data <- read_delim("~/Dropbox/___MA/social_RL_git/thesis_social_RL/simulated_agents/agents_stand... | /simulated_agents/linear_mixed_effects_model.R | no_license | Meggiedanziger/thesis_social_RL | R | false | false | 2,684 | r | rm(list=ls()) # delete workspace
setwd("~/Dropbox/___MA/social_RL_git/thesis_social_RL/simulated_agents")
library(tidyverse)
library(lme4)
#read in data
library(readr)
#read in simulated agents data standard RL model
sim_data <- read_delim("~/Dropbox/___MA/social_RL_git/thesis_social_RL/simulated_agents/agents_stand... |
###############################################################
# test areaSDF #
###############################################################
expect_warning(
area_Index <- areaSDF(SIndexDF)
)
expect_warning(
area_Points <- areaSDF(SPointsDF)
)
area_Pixels = areaSDF(SP... | /tests/testthat/test_areaSDF.R | no_license | KristinaHelle/sensors4plumesTests | R | false | false | 1,033 | r | ###############################################################
# test areaSDF #
###############################################################
expect_warning(
area_Index <- areaSDF(SIndexDF)
)
expect_warning(
area_Points <- areaSDF(SPointsDF)
)
area_Pixels = areaSDF(SP... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bpfilter.R
\name{bpfilter}
\alias{bpfilter}
\alias{bpfilter-missing}
\alias{bpfilter,missing-method}
\alias{bpfilter-ANY}
\alias{bpfilter,ANY-method}
\alias{bpfilter-spatPomp}
\alias{bpfilter,spatPomp-method}
\alias{bpfilter-bpfilterd_spatPom... | /man/bpfilter.Rd | no_license | kidusasfaw/spatPomp | R | false | true | 3,855 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bpfilter.R
\name{bpfilter}
\alias{bpfilter}
\alias{bpfilter-missing}
\alias{bpfilter,missing-method}
\alias{bpfilter-ANY}
\alias{bpfilter,ANY-method}
\alias{bpfilter-spatPomp}
\alias{bpfilter,spatPomp-method}
\alias{bpfilter-bpfilterd_spatPom... |
test
testing
#this is the testing on the Gibhub with R, below is an attached text#
#@article{writing2006heart,
# | /Untitled.R | no_license | JLiu196/stat463 | R | false | false | 114 | r | test
testing
#this is the testing on the Gibhub with R, below is an attached text#
#@article{writing2006heart,
# |
.libPaths("/dora/nobackup/yuec/R")
library(bench)
####### Does scClassify’s testing time scale with training size? #####
dataset <- c("2class", "4class", "6class", "8class", "10class", "12class")
test <- read.csv("/albona/nobackup/biostat/datasets/singlecell/tabulaMuris_benchmark/test_5000.csv")
rownames(test... | /scripts/benchmark/benchmark_CaSTLe_varycelltype.R | no_license | SydneyBioX/scClassify_analysis | R | false | false | 6,156 | r |
.libPaths("/dora/nobackup/yuec/R")
library(bench)
####### Does scClassify’s testing time scale with training size? #####
dataset <- c("2class", "4class", "6class", "8class", "10class", "12class")
test <- read.csv("/albona/nobackup/biostat/datasets/singlecell/tabulaMuris_benchmark/test_5000.csv")
rownames(test... |
correction<-function(Data,glossary){
# Produces correction instructions according to a glossary
out<-NULL
for(y in 1:nrow(glossary)){
out<-rbind(out,correct1(y,Data,glossary))
}
out
}
| /sources/old/correction version 1/correction.R | no_license | niuvai/mapping-errors | R | false | false | 196 | r | correction<-function(Data,glossary){
# Produces correction instructions according to a glossary
out<-NULL
for(y in 1:nrow(glossary)){
out<-rbind(out,correct1(y,Data,glossary))
}
out
}
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bag.R
\name{bag_geocode}
\alias{bag_geocode}
\title{Retrieve the (RD) coordinates of a street address in The Hague}
\usage{
bag_geocode(postcode, huisnummer, straatnaam, plaatsnaam, max.retries = 2L)
}
\arguments{
\item{postcode}{a character ... | /man/bag_geocode.Rd | permissive | bedatadriven/econometer | R | false | true | 870 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bag.R
\name{bag_geocode}
\alias{bag_geocode}
\title{Retrieve the (RD) coordinates of a street address in The Hague}
\usage{
bag_geocode(postcode, huisnummer, straatnaam, plaatsnaam, max.retries = 2L)
}
\arguments{
\item{postcode}{a character ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/solve.R
\name{remotes__create_lp_problem}
\alias{remotes__create_lp_problem}
\title{Create the LP problem that solves the installation}
\usage{
remotes__create_lp_problem(self, private, pkgs, policy)
}
\arguments{
\item{pkgs}{Resolution data ... | /man/remotes__create_lp_problem.Rd | permissive | dirkschumacher/pkgdepends | R | false | true | 1,241 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/solve.R
\name{remotes__create_lp_problem}
\alias{remotes__create_lp_problem}
\title{Create the LP problem that solves the installation}
\usage{
remotes__create_lp_problem(self, private, pkgs, policy)
}
\arguments{
\item{pkgs}{Resolution data ... |
\name{ci.reliability}
\alias{ci.reliability}
\title{ Confidence Interval for a Reliability Coefficient }
\description{
A function to calculate the confidence interval for a reliability coefficient: coefficient alpha or coefficient omega.
}
\usage{
ci.reliability(data = NULL, S = NULL, N = NULL, aux = NULL,
type = N... | /semTools/man/ci.reliability.Rd | no_license | rededsky/semTools | R | false | false | 14,474 | rd | \name{ci.reliability}
\alias{ci.reliability}
\title{ Confidence Interval for a Reliability Coefficient }
\description{
A function to calculate the confidence interval for a reliability coefficient: coefficient alpha or coefficient omega.
}
\usage{
ci.reliability(data = NULL, S = NULL, N = NULL, aux = NULL,
type = N... |
test_that("test Copy", {
library(raster)
library(data.table)
ras <- raster(extent(0, 10, 0, 10), vals = 1)
tmpRasFilename <- tempfile("tmpRas", fileext = ".tif")
tmpDir <- file.path(tempdir(), "ras")
ras <- writeRaster(ras, filename = tmpRasFilename, overwrite = TRUE)
ras2 <- Copy(ras, tmpDir)
expect_t... | /tests/testthat/test-copy.R | no_license | guhjy/reproducible | R | false | false | 2,623 | r | test_that("test Copy", {
library(raster)
library(data.table)
ras <- raster(extent(0, 10, 0, 10), vals = 1)
tmpRasFilename <- tempfile("tmpRas", fileext = ".tif")
tmpDir <- file.path(tempdir(), "ras")
ras <- writeRaster(ras, filename = tmpRasFilename, overwrite = TRUE)
ras2 <- Copy(ras, tmpDir)
expect_t... |
require(plyr)
# Listed are Directories and files under operation
uci_directory <- "UCI\ HAR\ Dataset"
feature_file <- paste(uci_directory, "/features.txt", sep = "")
activity_labels_file <- paste(uci_directory, "/activity_labels.txt", sep = "")
x_test_file <- paste(uci_directory, "/test/X_test.txt", sep = "")
y_test... | /run_analysis.R | no_license | RATHsid/getting-and-cleaning-data-project-2014 | R | false | false | 3,758 | r |
require(plyr)
# Listed are Directories and files under operation
uci_directory <- "UCI\ HAR\ Dataset"
feature_file <- paste(uci_directory, "/features.txt", sep = "")
activity_labels_file <- paste(uci_directory, "/activity_labels.txt", sep = "")
x_test_file <- paste(uci_directory, "/test/X_test.txt", sep = "")
y_test... |
with(acf62e412fa3b4b3196a62a051261d4b8, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';rm(list=ls())}); | /80bb2a25-ac5d-47d0-abfc-b3f3811f0936/R/Temp/a2DjnjOID9291.R | no_license | ayanmanna8/test | R | false | false | 212 | r | with(acf62e412fa3b4b3196a62a051261d4b8, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';rm(list=ls())}); |
# Vectorized convenience functions for matrix operations
#' rowVar
#'
#' This function replaces the apply(A, 1, var) call
#'
#' @param A a numeric matrix
#' @param removeNA should NA values be removed from rowSums/rowMeans ?
#' @return vector of variance per row
#' @export
rowVar <- function(A, removeNA = TRUE) {
... | /R/MatrixOp.R | no_license | fossbert/binilib | R | false | false | 1,374 | r | # Vectorized convenience functions for matrix operations
#' rowVar
#'
#' This function replaces the apply(A, 1, var) call
#'
#' @param A a numeric matrix
#' @param removeNA should NA values be removed from rowSums/rowMeans ?
#' @return vector of variance per row
#' @export
rowVar <- function(A, removeNA = TRUE) {
... |
## central abstraction, represents a genome browser
## Question: is a browser session a database of tracks? No question
## that a browser has a track database. The question is of
## inheritance. Historically, browser session has had all the behavior
## we expect from a track database. But it is so much more. In
## par... | /R/browser.R | no_license | ajsteele/r-bioc-rtracklayer | R | false | false | 7,224 | r | ## central abstraction, represents a genome browser
## Question: is a browser session a database of tracks? No question
## that a browser has a track database. The question is of
## inheritance. Historically, browser session has had all the behavior
## we expect from a track database. But it is so much more. In
## par... |
get_yesterday <- function () {
return(Sys.Date()-1)
} | /test.R | no_license | pinimanzur10/Ejemplo2 | R | false | false | 55 | r | get_yesterday <- function () {
return(Sys.Date()-1)
} |
context("Get headlines")
EXPECTED_METADATA_COLUMNS <- sort(c("total_results", "status_code", "request_date", "request_url",
"page_size", "page", "code", "message"))
# TEST INVALID INPUTS -----------------------------------------------------------------------------
testthat::test_... | /tests/testthat/test_get_headlines.R | no_license | cran/newsanchor | R | false | false | 5,010 | r | context("Get headlines")
EXPECTED_METADATA_COLUMNS <- sort(c("total_results", "status_code", "request_date", "request_url",
"page_size", "page", "code", "message"))
# TEST INVALID INPUTS -----------------------------------------------------------------------------
testthat::test_... |
/original/IntelliKeys/WindowsOld/Control Panel (ru)/REALbasic Plugin and bundle/QT6/Interfaces & Libraries/QTDevWin/RIncludes/Collections.r | permissive | ATMakersOrg/OpenIKeys | R | false | false | 3,614 | r | ||
rm(list = ls())
gc()
library(extdepth)
library(ncdf4)
library(dplyr)
library(reshape2)
library(plotly)
library(plgp)
# source('code/prep_functions.R')
source('code/ks_field_functions.R')
source('code/sim_functions.R')
##### CONNECT TO DATA #####
# read ensembles and prior ncdf4 objects
nc.post = nc_open('/Users/trev... | /Archive/code/projection/projection.R | no_license | trevor-harris/assimilation-cfr | R | false | false | 4,040 | r | rm(list = ls())
gc()
library(extdepth)
library(ncdf4)
library(dplyr)
library(reshape2)
library(plotly)
library(plgp)
# source('code/prep_functions.R')
source('code/ks_field_functions.R')
source('code/sim_functions.R')
##### CONNECT TO DATA #####
# read ensembles and prior ncdf4 objects
nc.post = nc_open('/Users/trev... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.