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 |
|---|---|---|---|---|---|---|---|---|---|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/myBasicFunctions.R
\name{rversionAbove}
\alias{rversionAbove}
\title{Test if the R version used is above the given version}
\usage{
rversionAbove(majorT, minorT = 0)
}
\arguments{
\item{majorT}{a string or numerical value of the major version... | /man/rversionAbove.Rd | no_license | lldelisle/usefulLDfunctions | R | false | true | 692 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/myBasicFunctions.R
\name{rversionAbove}
\alias{rversionAbove}
\title{Test if the R version used is above the given version}
\usage{
rversionAbove(majorT, minorT = 0)
}
\arguments{
\item{majorT}{a string or numerical value of the major version... |
rm(list=ls())
#reading data into R:
powerconsumption <- read.table('D:/Xiao Xin/My Folder/Coursera/Data Science/04 Exploratory Data Analysis/Assignment 1/household_power_consumption.txt',sep=";",nrows= 2075260, header=TRUE, quote= "", strip.white=TRUE, stringsAsFactors = FALSE, na.strings= "?")
# Subsetting the full... | /ExData_Plot1.R | no_license | xin1207/ExDataPlot1 | R | false | false | 863 | r | rm(list=ls())
#reading data into R:
powerconsumption <- read.table('D:/Xiao Xin/My Folder/Coursera/Data Science/04 Exploratory Data Analysis/Assignment 1/household_power_consumption.txt',sep=";",nrows= 2075260, header=TRUE, quote= "", strip.white=TRUE, stringsAsFactors = FALSE, na.strings= "?")
# Subsetting the full... |
######################################
######################################
## FUNCTION FOR IMPLEMENTING SPARSE ##
## BAYESIAN GAM MODELS. ##
######################################
######################################
# This function implements sparse Bayesian generalized additive models in the ... | /R/SBGAM.R | no_license | cran/sparseGAM | R | false | false | 10,717 | r | ######################################
######################################
## FUNCTION FOR IMPLEMENTING SPARSE ##
## BAYESIAN GAM MODELS. ##
######################################
######################################
# This function implements sparse Bayesian generalized additive models in the ... |
#===========================================
# Smart Metering Uncertainty Forecasting
#
# Author Estevao "Steve" Alvarenga
# efsa@bath.edu
# Created in 10/Feb/17
#-------------------------------------------
# smuf_main combined functions optim & fcst
#===========================================
#=============... | /smuf_run_0704_sd12_med.R | no_license | efsalvarenga/smuf_rdev | R | false | false | 2,631 | r | #===========================================
# Smart Metering Uncertainty Forecasting
#
# Author Estevao "Steve" Alvarenga
# efsa@bath.edu
# Created in 10/Feb/17
#-------------------------------------------
# smuf_main combined functions optim & fcst
#===========================================
#=============... |
# """
# 3_post_imputation_functions
#
# These functions are Post-imputation Leave Parameter Functions [on post-imputation ACS data set]
# that execute the policy simulation after leave taking behavior has been established.
#
#
# """
#~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Table of Contents
#~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 0. L... | /4_post_impute_functions.R | no_license | clzhang1547/microsim_R | R | false | false | 43,773 | r |
# """
# 3_post_imputation_functions
#
# These functions are Post-imputation Leave Parameter Functions [on post-imputation ACS data set]
# that execute the policy simulation after leave taking behavior has been established.
#
#
# """
#~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Table of Contents
#~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 0. L... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CattleSIM.R
\docType{data}
\name{CattleSIM}
\alias{CattleSIM}
\title{Cattle dataset with simulated management units}
\usage{
data(CattleSIM)
}
\description{
The cattle dataset is simulated with QMSim software (Sargolzaei and Schenkel, 2009). ... | /man/CattleSIM.Rd | no_license | QGresources/GCA | R | false | true | 1,633 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CattleSIM.R
\docType{data}
\name{CattleSIM}
\alias{CattleSIM}
\title{Cattle dataset with simulated management units}
\usage{
data(CattleSIM)
}
\description{
The cattle dataset is simulated with QMSim software (Sargolzaei and Schenkel, 2009). ... |
testlist <- list(rates = c(-4.38753740307468e+307, -2.11965588216799e-289, -1.83593039382815e-307, -2.6064446869563e+304, 7.18372580480888e-310, 5.94568495811084e-302, 7.29112203361732e-304, 0, 0, 2.75909158454893e-306, -5.48612407015086e+303, NaN, 3.56048348188083e-306, 34082834.0004893, NaN, 2.80614289249855e-312... | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610052617-test.R | no_license | akhikolla/updated-only-Issues | R | false | false | 1,103 | r | testlist <- list(rates = c(-4.38753740307468e+307, -2.11965588216799e-289, -1.83593039382815e-307, -2.6064446869563e+304, 7.18372580480888e-310, 5.94568495811084e-302, 7.29112203361732e-304, 0, 0, 2.75909158454893e-306, -5.48612407015086e+303, NaN, 3.56048348188083e-306, 34082834.0004893, NaN, 2.80614289249855e-312... |
# CIAT, 2016 Updated: February 2017
# Author: Bunn & Castro
# Target: predict RF - Cluster
# Load libraries
library(tidyverse)
library(raster)
library(rgdal)
library(cclust)
library(outliers)
library(dismo)
library(gtools)
library(multcomp)
library(sp)
library(rgeos)
library(outliers)
library(FactoMineR)
library(p... | /_RF/_runs/2_predictRF.R | no_license | fabiolexcastro/centralAmericaCocoa | R | false | false | 2,631 | r |
# CIAT, 2016 Updated: February 2017
# Author: Bunn & Castro
# Target: predict RF - Cluster
# Load libraries
library(tidyverse)
library(raster)
library(rgdal)
library(cclust)
library(outliers)
library(dismo)
library(gtools)
library(multcomp)
library(sp)
library(rgeos)
library(outliers)
library(FactoMineR)
library(p... |
#' Main DoubletDecon v1.0.1
#'
#' This is the main function. This function identifies clusters of doublets with a combination of deconvolution analysis and unique gene expression and individual doublet cells with deconvolution analysis.
#' @param rawDataFile Name of file containing ICGS or Seurat expression data (gene ... | /R/Main_Doublet_Decon.R | no_license | EDePasquale/DoubletDecon | R | false | false | 20,122 | r | #' Main DoubletDecon v1.0.1
#'
#' This is the main function. This function identifies clusters of doublets with a combination of deconvolution analysis and unique gene expression and individual doublet cells with deconvolution analysis.
#' @param rawDataFile Name of file containing ICGS or Seurat expression data (gene ... |
#' Type-Token Ratio
#'
#' Calculate type-token ratio by grouping variable.
#'
#' @param text.var The text variable
#' @param grouping.var The grouping variables. Default \code{NULL} generates
#' one word list for all text. Also takes a single grouping variable or a list
#' of 1 or more grouping variables.
#' @par... | /R/type_token_ratio.R | no_license | AlexOcculate/qdap | R | false | false | 4,682 | r | #' Type-Token Ratio
#'
#' Calculate type-token ratio by grouping variable.
#'
#' @param text.var The text variable
#' @param grouping.var The grouping variables. Default \code{NULL} generates
#' one word list for all text. Also takes a single grouping variable or a list
#' of 1 or more grouping variables.
#' @par... |
##
## DEVSTUFF
##
use_testthat()
use_test("simulater.R")
source("R/utils.R")
source("R/simulater.R")
simulation <- simulater(2e5, 10, 15, 10, n_noise = 10, stn = 1,
funs = list(sin = function(x) sin(x),
exp = function(x) exp(x)))
... | /data-raw/devstuff.R | no_license | tkrabel/simulater | R | false | false | 339 | r | ##
## DEVSTUFF
##
use_testthat()
use_test("simulater.R")
source("R/utils.R")
source("R/simulater.R")
simulation <- simulater(2e5, 10, 15, 10, n_noise = 10, stn = 1,
funs = list(sin = function(x) sin(x),
exp = function(x) exp(x)))
... |
test_that("pack_folder does not use full path", {
dir_ <- tempfile()
dir.create(dir_)
file <- tempfile(tmpdir = dir_)
cat("test", file = file)
pack_folder(dir_, target = "test.zip")
dir_ <- tempfile()
unpack_folder(file = "test.zip", dir_)
expect_equal(list.files(dir_), basename(file))
unlink("test.z... | /tests/testthat/test-zip.R | permissive | davidgohel/officer | R | false | false | 550 | r | test_that("pack_folder does not use full path", {
dir_ <- tempfile()
dir.create(dir_)
file <- tempfile(tmpdir = dir_)
cat("test", file = file)
pack_folder(dir_, target = "test.zip")
dir_ <- tempfile()
unpack_folder(file = "test.zip", dir_)
expect_equal(list.files(dir_), basename(file))
unlink("test.z... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_coach_report.R
\name{make_coach_report}
\alias{make_coach_report}
\title{Make Coach Report Function}
\usage{
make_coach_report(data, coach, dir = getwd(),
date.current = date.current.report)
}
\description{
This function takes the outp... | /man/make_coach_report.Rd | no_license | agarcia-r/fitbit | R | false | true | 512 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_coach_report.R
\name{make_coach_report}
\alias{make_coach_report}
\title{Make Coach Report Function}
\usage{
make_coach_report(data, coach, dir = getwd(),
date.current = date.current.report)
}
\description{
This function takes the outp... |
c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 19955
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 19955
c
c Input Parameter (command line, file):
c input filename QBFLIB/Tentrup/cycle-sched/cycle_sched_6_8_1.sat.qdimacs
c ou... | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Tentrup/cycle-sched/cycle_sched_6_8_1.sat/cycle_sched_6_8_1.sat.R | no_license | arey0pushpa/dcnf-autarky | R | false | false | 650 | r | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 19955
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 19955
c
c Input Parameter (command line, file):
c input filename QBFLIB/Tentrup/cycle-sched/cycle_sched_6_8_1.sat.qdimacs
c ou... |
/prueba_pca_mmc.R | no_license | mmc00/aguila | R | false | false | 9,192 | r | ||
# Description: changing model to reflect differences in tagging procedures (year added as fixed factor)
# Author: George C Jarvis
# Date: Sat Dec 07 10:24:59 2019
# Notes: I'm going to add year as a fixed factor to the model and code the full model as
# egg count~Treatment*Year*avg.inhab+(1|Trial:Year)
# I ... | /2018.data.for.analyses.R/2018 egg counts/Scripts/2019.7.12.adding.year.factor.R | no_license | gcjarvis/Goby_reproduction_by_risk | R | false | false | 10,771 | r | # Description: changing model to reflect differences in tagging procedures (year added as fixed factor)
# Author: George C Jarvis
# Date: Sat Dec 07 10:24:59 2019
# Notes: I'm going to add year as a fixed factor to the model and code the full model as
# egg count~Treatment*Year*avg.inhab+(1|Trial:Year)
# I ... |
test_that("survey_count requires sid and season", {
data("wastd_data")
expect_error(wastd_data$surveys %>% survey_count())
expect_error(wastd_data$surveys %>% survey_count(1L))
})
test_that("survey_count filters surveys to site_id and season", {
data("wastd_data")
one_season <- unique(wastd_data$surveys$se... | /tests/testthat/test-summarise_surveys.R | no_license | dbca-wa/wastdr | R | false | false | 6,501 | r | test_that("survey_count requires sid and season", {
data("wastd_data")
expect_error(wastd_data$surveys %>% survey_count())
expect_error(wastd_data$surveys %>% survey_count(1L))
})
test_that("survey_count filters surveys to site_id and season", {
data("wastd_data")
one_season <- unique(wastd_data$surveys$se... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/powerstress.R
\name{enorm}
\alias{enorm}
\title{Explicit Normalization
Normalizes distances}
\usage{
enorm(x, w = 1)
}
\arguments{
\item{x}{numeric matrix}
\item{w}{weight}
}
\value{
a constant
}
\description{
Explicit Normalization
Normaliz... | /man/enorm.Rd | no_license | cran/cops | R | false | true | 335 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/powerstress.R
\name{enorm}
\alias{enorm}
\title{Explicit Normalization
Normalizes distances}
\usage{
enorm(x, w = 1)
}
\arguments{
\item{x}{numeric matrix}
\item{w}{weight}
}
\value{
a constant
}
\description{
Explicit Normalization
Normaliz... |
\name{summ_matches}
\alias{summ_matches}
\title{
Computes table of absolute standardized differences
}
\description{
Computes absolute standardized differences for both
continuous and binary variables. Called by \code{\link{opt_nearfar}} to
summarize results of near-far match.
}
\usage{
summ_matches(dta, iv, covs, mat... | /man/summ_matches.Rd | no_license | cran/nearfar | R | false | false | 1,184 | rd | \name{summ_matches}
\alias{summ_matches}
\title{
Computes table of absolute standardized differences
}
\description{
Computes absolute standardized differences for both
continuous and binary variables. Called by \code{\link{opt_nearfar}} to
summarize results of near-far match.
}
\usage{
summ_matches(dta, iv, covs, mat... |
getwd()
setwd("C:\\Users\\welcome\\Documents\\ExcelR\\Day 05 Basic Stat _ R\\Data Sets\\") # set a working directory of your choice
victims <- readLines("C:\\Users\\welcome\\Documents\\ExcelR\\Day 05 Basic Stat _ R\\Data Sets\\victims.txt")
victims
?as
df <- as.data.frame (victims)
df
class(df)
?l... | /R code 2.R | no_license | vaitybharati/R_basics_calc-2 | R | false | false | 2,568 | r | getwd()
setwd("C:\\Users\\welcome\\Documents\\ExcelR\\Day 05 Basic Stat _ R\\Data Sets\\") # set a working directory of your choice
victims <- readLines("C:\\Users\\welcome\\Documents\\ExcelR\\Day 05 Basic Stat _ R\\Data Sets\\victims.txt")
victims
?as
df <- as.data.frame (victims)
df
class(df)
?l... |
# C2W3assignment
## The makeCacheAtrix function and the cachesolve function can only work by pair
## functions do
## this function aims at preparing the cacheSolve function to work.
## It is composed of 4 functions that can be called by name like 'x$getinverse'
# the set function is to reset the concerned matrix with... | /cachematrix.R | no_license | smx87/C2W3assignment | R | false | false | 2,236 | r | # C2W3assignment
## The makeCacheAtrix function and the cachesolve function can only work by pair
## functions do
## this function aims at preparing the cacheSolve function to work.
## It is composed of 4 functions that can be called by name like 'x$getinverse'
# the set function is to reset the concerned matrix with... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mapreduce_spark.R
\name{sparkControl}
\alias{sparkControl}
\title{Specify Control Parameters for Spark Job}
\usage{
sparkControl()
}
\description{
Specify control parameters for a Spark job. See \code{rhwatch} for details about each of the p... | /man/sparkControl.Rd | permissive | lhsego/datadr | R | false | true | 334 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mapreduce_spark.R
\name{sparkControl}
\alias{sparkControl}
\title{Specify Control Parameters for Spark Job}
\usage{
sparkControl()
}
\description{
Specify control parameters for a Spark job. See \code{rhwatch} for details about each of the p... |
subroutine inddup(x,y,n,rw,frac,dup)
implicit double precision(a-h,o-z)
logical dup(n)
dimension x(n), y(n), rw(4)
xtol = frac*(rw(2)-rw(1))
ytol = frac*(rw(4)-rw(3))
dup(1) = .false.
do i = 2,n {
dup(i) = .false.
do j = 1,i-1 {
dx = abs(x(i)-x(j))
dy = abs(y(i)-y(j))
if(dx < xtol & dy < ytol) {
dup(i) = .... | /deldir/code.discarded/inddup.r | permissive | solgenomics/R_libs | R | false | false | 356 | r | subroutine inddup(x,y,n,rw,frac,dup)
implicit double precision(a-h,o-z)
logical dup(n)
dimension x(n), y(n), rw(4)
xtol = frac*(rw(2)-rw(1))
ytol = frac*(rw(4)-rw(3))
dup(1) = .false.
do i = 2,n {
dup(i) = .false.
do j = 1,i-1 {
dx = abs(x(i)-x(j))
dy = abs(y(i)-y(j))
if(dx < xtol & dy < ytol) {
dup(i) = .... |
# Of the four types of sources indicated by the type variable, which of these four
# sources have seen decreases in emissions from 1999-2008 for Baltimore City?
# read in data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# load packages
library(tidyverse)
# convert... | /plot3.R | no_license | byanuaria/Exploratory-Data-Analysis2 | R | false | false | 842 | r | # Of the four types of sources indicated by the type variable, which of these four
# sources have seen decreases in emissions from 1999-2008 for Baltimore City?
# read in data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# load packages
library(tidyverse)
# convert... |
library(circlize)
library(ComplexHeatmap)
library(GetoptLong)
set.seed(123)
nr1 = 10; nr2 = 8; nr3 = 6
nc1 = 6; nc2 = 8; nc3 = 10
mat = cbind(rbind(matrix(rnorm(nr1*nc1, mean = 1, sd = 0.5), nr = nr1),
matrix(rnorm(nr2*nc1, mean = 0, sd = 0.5), nr = nr2),
matrix(rnorm(nr3*nc1, mean = 0, sd = ... | /tests/test-Heatmap-class.R | permissive | sqjin/ComplexHeatmap | R | false | false | 12,137 | r | library(circlize)
library(ComplexHeatmap)
library(GetoptLong)
set.seed(123)
nr1 = 10; nr2 = 8; nr3 = 6
nc1 = 6; nc2 = 8; nc3 = 10
mat = cbind(rbind(matrix(rnorm(nr1*nc1, mean = 1, sd = 0.5), nr = nr1),
matrix(rnorm(nr2*nc1, mean = 0, sd = 0.5), nr = nr2),
matrix(rnorm(nr3*nc1, mean = 0, sd = ... |
##############################################################################
# Copyright (c) 2012-2016 Russell V. Lenth #
# #
# This file is part of the emmeans package for R (*emmeans*) #
# ... | /R/MCMC-support.R | no_license | MatthieuRouland/emmeans | R | false | false | 26,534 | r | ##############################################################################
# Copyright (c) 2012-2016 Russell V. Lenth #
# #
# This file is part of the emmeans package for R (*emmeans*) #
# ... |
summary.tpopt <- function(object, ...)
{
res <- object
cat("\n###############################################################################\n")
cat("Call:\n\n")
print(res$call)
cat("\n###############################################################################\n")
cat("Models:\n")
... | /rodd/R/summary.tpopt.R | no_license | ingted/R-Examples | R | false | false | 953 | r | summary.tpopt <- function(object, ...)
{
res <- object
cat("\n###############################################################################\n")
cat("Call:\n\n")
print(res$call)
cat("\n###############################################################################\n")
cat("Models:\n")
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostic_plots.R
\name{acf_plot}
\alias{acf_plot}
\title{Plot autocorrelations of a single Markov Chain}
\usage{
acf_plot(samples, lag_max = 30, latex = FALSE)
}
\arguments{
\item{samples}{Numeric vector, matrix with a single column or list... | /man/acf_plot.Rd | permissive | joel-beck/asp21bridge | R | false | true | 1,695 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostic_plots.R
\name{acf_plot}
\alias{acf_plot}
\title{Plot autocorrelations of a single Markov Chain}
\usage{
acf_plot(samples, lag_max = 30, latex = FALSE)
}
\arguments{
\item{samples}{Numeric vector, matrix with a single column or list... |
/toulouse_appartement_creation.R | no_license | cregouby/show_me_your_model | R | false | false | 583 | r | ||
% $Author: sinnwell $
% $Date: 2011/11/10 15:29:41 $
% $Header: /projects/genetics/cvs/cvsroot/haplo.stats/man/print.haplo.group.Rd,v 1.3 2011/11/10 15:29:41 sinnwell Exp $
% $Locker: $
%
%$Log: print.haplo.group.Rd,v $
%Revision 1.3 2011/11/10 15:29:41 sinnwell
%major update to hapglm, minor changes to Rd file... | /man/print.haplo.group.Rd | no_license | cran/haplo.stats | R | false | false | 2,115 | rd | % $Author: sinnwell $
% $Date: 2011/11/10 15:29:41 $
% $Header: /projects/genetics/cvs/cvsroot/haplo.stats/man/print.haplo.group.Rd,v 1.3 2011/11/10 15:29:41 sinnwell Exp $
% $Locker: $
%
%$Log: print.haplo.group.Rd,v $
%Revision 1.3 2011/11/10 15:29:41 sinnwell
%major update to hapglm, minor changes to Rd file... |
setClass("Hero",
slots = c(HP = "numeric",
MP = "numeric",
HRR = "numeric",
MRR = "numeric",
AD = "numeric",
AP = "numeric",
ATKspeed = "numeric",
Armor = "n... | /tests/testS4.R | no_license | wangdi2014/gfplots | R | false | false | 3,821 | r | setClass("Hero",
slots = c(HP = "numeric",
MP = "numeric",
HRR = "numeric",
MRR = "numeric",
AD = "numeric",
AP = "numeric",
ATKspeed = "numeric",
Armor = "n... |
tryTryTry <- function(x, n = 3L) {
response <- "failed"
attempt <- 1
while (response == "failed" && attempt <= n) {
print(sprintf("attempt: %s", attempt))
attempt <- attempt + 1
try({ response <- x }, silent = TRUE)
}
response
}
| /functions/trytrytry.R | no_license | uva-bi-sdad/ers_dashboard | R | false | false | 251 | r | tryTryTry <- function(x, n = 3L) {
response <- "failed"
attempt <- 1
while (response == "failed" && attempt <= n) {
print(sprintf("attempt: %s", attempt))
attempt <- attempt + 1
try({ response <- x }, silent = TRUE)
}
response
}
|
library(ggplot2)
library(lme4)
library(hydroGOF)
library(dplyr)
library(lmerTest)
#library(tidyr)
#setwd("~/Documents/git/korean-scope/experiments/1-korean-baseline/Submiterator-master/")
setwd("~/git/korean_scope/experiments/1-korean-baseline/Submiterator-master")
#### first run of experiment
num_round_dirs = 5
df1 ... | /experiments/1-korean-baseline/results/analysis.R | no_license | gscontras/korean-scope | R | false | false | 1,281 | r | library(ggplot2)
library(lme4)
library(hydroGOF)
library(dplyr)
library(lmerTest)
#library(tidyr)
#setwd("~/Documents/git/korean-scope/experiments/1-korean-baseline/Submiterator-master/")
setwd("~/git/korean_scope/experiments/1-korean-baseline/Submiterator-master")
#### first run of experiment
num_round_dirs = 5
df1 ... |
library(stat290.finalproject)
?history_weather
c="Alameda"
d1="2018-06-01"
d2="2018-12-31"
history_weather_tbl=history_weather(city_name = c,start_date=d1,end_date=d2)
head(history_weather_tbl)
?nearby_pws_city
pws_id_selected <- nearby_pws_city(city_name = "Alameda",check_date="2018-05-05")
head(pws_id_selected)
?n... | /working code/test.R | no_license | tianjiangw/stats290-final-project | R | false | false | 1,669 | r | library(stat290.finalproject)
?history_weather
c="Alameda"
d1="2018-06-01"
d2="2018-12-31"
history_weather_tbl=history_weather(city_name = c,start_date=d1,end_date=d2)
head(history_weather_tbl)
?nearby_pws_city
pws_id_selected <- nearby_pws_city(city_name = "Alameda",check_date="2018-05-05")
head(pws_id_selected)
?n... |
library(OpenML)
### Name: listOMLRuns
### Title: List OpenML runs.
### Aliases: listOMLRuns
### ** Examples
# \dontrun{
# runs_ctree = listOMLRuns(flow.id = 2569)
# head(runs_ctree)
# }
| /data/genthat_extracted_code/OpenML/examples/listOMLRuns.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 197 | r | library(OpenML)
### Name: listOMLRuns
### Title: List OpenML runs.
### Aliases: listOMLRuns
### ** Examples
# \dontrun{
# runs_ctree = listOMLRuns(flow.id = 2569)
# head(runs_ctree)
# }
|
library(tidyverse)
library(patchwork)
library(paletteer)
wwc_outcomes <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-07-09/wwc_outcomes.csv")
# remove group stages and third place playoff
wwc_knockout <- wwc_outcomes %>%
filter(round != "Group", round != "Th... | /2019/week28/wwc_tidytues.R | no_license | committedtotape/tidy-tuesday | R | false | false | 3,842 | r | library(tidyverse)
library(patchwork)
library(paletteer)
wwc_outcomes <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-07-09/wwc_outcomes.csv")
# remove group stages and third place playoff
wwc_knockout <- wwc_outcomes %>%
filter(round != "Group", round != "Th... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/proxygoodconfirm.R
\name{proxyGoodConfirm}
\alias{proxyGoodConfirm}
\title{confirm good proxy}
\usage{
proxyGoodConfirm(proxy_good, .proxy)
}
\arguments{
\item{proxy_good}{list with ip and port properties}
\item{.proxy}{list of list with ip ... | /man/proxyGoodConfirm.Rd | permissive | ashther/ashr.rogue | R | false | true | 827 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/proxygoodconfirm.R
\name{proxyGoodConfirm}
\alias{proxyGoodConfirm}
\title{confirm good proxy}
\usage{
proxyGoodConfirm(proxy_good, .proxy)
}
\arguments{
\item{proxy_good}{list with ip and port properties}
\item{.proxy}{list of list with ip ... |
library(tidyverse)
library(reshape2)
library(ggpubr)
data_path <- "Isoform/Permutation/" # path to the data
args = commandArgs(trailingOnly=TRUE)
#######################################################################
#this bit reads the output metrics files from the model fits
readFiles<-function(files, perm)
{
... | /dataAnalysis/01.comparePerms.R | no_license | Aceculuses/IsoformUsage | R | false | false | 7,401 | r | library(tidyverse)
library(reshape2)
library(ggpubr)
data_path <- "Isoform/Permutation/" # path to the data
args = commandArgs(trailingOnly=TRUE)
#######################################################################
#this bit reads the output metrics files from the model fits
readFiles<-function(files, perm)
{
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pkg-lockfile.R
\name{new_pkg_installation_plan}
\alias{new_pkg_installation_plan}
\alias{pkg_installation_plan}
\title{R6 class for installation from a lock file}
\usage{
new_pkg_installation_plan(lockfile = "pkg.lock", config = list(), ...)
... | /man/pkg_installation_plan.Rd | permissive | r-lib/pkgdepends | R | false | true | 13,508 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pkg-lockfile.R
\name{new_pkg_installation_plan}
\alias{new_pkg_installation_plan}
\alias{pkg_installation_plan}
\title{R6 class for installation from a lock file}
\usage{
new_pkg_installation_plan(lockfile = "pkg.lock", config = list(), ...)
... |
context("Cassette")
test_that("Cassette", {
expect_is(Cassette, "R6ClassGenerator")
cl <- Cassette$new(name = "stuff")
expect_is(cl, "R6")
expect_is(cl, "Cassette")
# eject cassette
cl$eject()
})
test_that("Cassette fails well", {
expect_error(Cassette$new(), "\"name\" is missing")
})
test_that("Cas... | /tests/testthat/test-Cassette.R | permissive | alex-gable/vcr | R | false | false | 2,536 | r | context("Cassette")
test_that("Cassette", {
expect_is(Cassette, "R6ClassGenerator")
cl <- Cassette$new(name = "stuff")
expect_is(cl, "R6")
expect_is(cl, "Cassette")
# eject cassette
cl$eject()
})
test_that("Cassette fails well", {
expect_error(Cassette$new(), "\"name\" is missing")
})
test_that("Cas... |
# Script to run CNOGpro
args <- commandArgs(trailingOnly = TRUE)
iso <- args[1]
if (length(args) > 1) {
window <- as.numeric(args[2])
} else {
window <- 1000
}
# prob <- as.numeric(args[3])
prob <- 1e-4
# Run CNOGpro
cnv<- CNOGpro(hitsfile=paste0(iso,".hits"), gbkfile="reference/ref.gbk", windowlength=window)
cnv_n... | /variants_calling/run-CNOGpro.R | no_license | stefanogg/staph_adaptation_paper | R | false | false | 1,711 | r | # Script to run CNOGpro
args <- commandArgs(trailingOnly = TRUE)
iso <- args[1]
if (length(args) > 1) {
window <- as.numeric(args[2])
} else {
window <- 1000
}
# prob <- as.numeric(args[3])
prob <- 1e-4
# Run CNOGpro
cnv<- CNOGpro(hitsfile=paste0(iso,".hits"), gbkfile="reference/ref.gbk", windowlength=window)
cnv_n... |
<?xml version="1.0" encoding="utf-8"?>
<serviceModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Hosting.Azure.PushmarketThree" generation="1" functional="0" release="0" Id="12f10db5-6e6f-406c-98e2-a6a928152e7a" dslVersion="1.2.0.0" xmlns="http://schemas.mic... | /Hosting.Azure.PushmarketThree/csx/Debug/ServiceDefinition.rd | no_license | stackthatcode/Pleiades | R | false | false | 14,344 | rd | <?xml version="1.0" encoding="utf-8"?>
<serviceModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Hosting.Azure.PushmarketThree" generation="1" functional="0" release="0" Id="12f10db5-6e6f-406c-98e2-a6a928152e7a" dslVersion="1.2.0.0" xmlns="http://schemas.mic... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/discretize_cart.R
\name{step_discretize_cart}
\alias{step_discretize_cart}
\alias{tidy.step_discretize_cart}
\title{Discretize numeric variables with CART}
\usage{
step_discretize_cart(
recipe,
...,
role = NA,
trained = FALSE,
outco... | /man/step_discretize_cart.Rd | no_license | konradsemsch/embed-1 | R | false | true | 3,996 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/discretize_cart.R
\name{step_discretize_cart}
\alias{step_discretize_cart}
\alias{tidy.step_discretize_cart}
\title{Discretize numeric variables with CART}
\usage{
step_discretize_cart(
recipe,
...,
role = NA,
trained = FALSE,
outco... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_cplex_solver.R
\name{add_cplex_solver}
\alias{add_cplex_solver}
\title{Add a \emph{CPLEX} solver}
\usage{
add_cplex_solver(
x,
gap = 0.1,
time_limit = .Machine$integer.max,
presolve = TRUE,
threads = 1,
verbose = TRUE
)
}
\arg... | /man/add_cplex_solver.Rd | no_license | diminera/prioritizr | R | false | true | 4,226 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_cplex_solver.R
\name{add_cplex_solver}
\alias{add_cplex_solver}
\title{Add a \emph{CPLEX} solver}
\usage{
add_cplex_solver(
x,
gap = 0.1,
time_limit = .Machine$integer.max,
presolve = TRUE,
threads = 1,
verbose = TRUE
)
}
\arg... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_documentation.R
\docType{data}
\name{munck_pmm}
\alias{munck_pmm}
\alias{munck}
\title{Munck Index of Democracy}
\format{An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 342 rows and 7 columns.}
\source... | /man/munck_pmm.Rd | no_license | lgillson/democracyData | R | false | true | 5,185 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_documentation.R
\docType{data}
\name{munck_pmm}
\alias{munck_pmm}
\alias{munck}
\title{Munck Index of Democracy}
\format{An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 342 rows and 7 columns.}
\source... |
#' create a conditional inference tree, minify it and cross-check the responses.
#' analysis taken from https://datawookie.netlify.com/blog/2013/05/package-party-conditional-inference-trees/
#' @importFrom utils data
#' @importFrom stats predict
#' @export
validateBinaryTreeMap <- function(){
airQuality <- subset(d... | /R/ValidateBinaryTreeMap.R | no_license | nikrepj/ctreeMinifyR | R | false | false | 1,334 | r |
#' create a conditional inference tree, minify it and cross-check the responses.
#' analysis taken from https://datawookie.netlify.com/blog/2013/05/package-party-conditional-inference-trees/
#' @importFrom utils data
#' @importFrom stats predict
#' @export
validateBinaryTreeMap <- function(){
airQuality <- subset(d... |
# read in the example file:
ex <- readRDS("R_dev/haplotype_frequency_estimation_example.RDS")
# this contains counts of all of the "phenotypes", or the visible genotypes of two different haplotypes
ex <- ex[,-grep("NN", colnames(ex))]
x <- ex[1,]
phenos <- which(x != 0)
x <- x[phenos] # the cleaned version is the data... | /R_dev/EM_haplotype_example.R | no_license | michellepepping/snpR | R | false | false | 4,691 | r | # read in the example file:
ex <- readRDS("R_dev/haplotype_frequency_estimation_example.RDS")
# this contains counts of all of the "phenotypes", or the visible genotypes of two different haplotypes
ex <- ex[,-grep("NN", colnames(ex))]
x <- ex[1,]
phenos <- which(x != 0)
x <- x[phenos] # the cleaned version is the data... |
library(stats)
library(pryr)
DEFAULT_CUTOFF_FRAMES <- 50
DEFAULT_LOESS_FIXED_SPAN <- 10
DEFAULT_NA_REPLACE <- -0.001
cut_mdelta <- function(d, cutoff_frames=DEFAULT_CUTOFF_FRAMES) {
d$m_delta[d$frames_to_end < 50] <- NA
return(d)
}
loess_span <- function(n_frames_on_either_side, n_total_frames) {
n_span_frames... | /src/analysis/clean.R | no_license | bootphon/mdelta | R | false | false | 2,026 | r | library(stats)
library(pryr)
DEFAULT_CUTOFF_FRAMES <- 50
DEFAULT_LOESS_FIXED_SPAN <- 10
DEFAULT_NA_REPLACE <- -0.001
cut_mdelta <- function(d, cutoff_frames=DEFAULT_CUTOFF_FRAMES) {
d$m_delta[d$frames_to_end < 50] <- NA
return(d)
}
loess_span <- function(n_frames_on_either_side, n_total_frames) {
n_span_frames... |
\name{parserOutputTFSummary}
\alias{parserOutputTFSummary}
\title{Method "parserOutputTFSummary"}
\description{
Parsers model output summary from TF framework and returns it in readable named vector format
}
\usage{
parserOutputTFSummary(linearRegressionOutput)
}
\arguments{
\item{linearRegressionOutput}{li... | /Early adults stats pipeline/PhenStat/PhenStatPackage/PhenStat/man/parserOutputTFSummary.Rd | permissive | mpi2/impc_stats_pipeline | R | false | false | 1,391 | rd | \name{parserOutputTFSummary}
\alias{parserOutputTFSummary}
\title{Method "parserOutputTFSummary"}
\description{
Parsers model output summary from TF framework and returns it in readable named vector format
}
\usage{
parserOutputTFSummary(linearRegressionOutput)
}
\arguments{
\item{linearRegressionOutput}{li... |
# dat = prepDat;
# booklets = inputList$booklets;
# blocks = inputList$blocks;
# rotation = inputList$rotation;
# sysMis = "mbd";
# id = "ID";
# subunits = inputList$subunits;
# verbose = TRUE
data(inputDat)
data(inputList)
prepDat <-
automateDataPreparation(
inputList = inputList,
datList = inputDat,
r... | /tests/testthat/test-checkDesign.R | no_license | sachseka/eatPrep | R | false | false | 5,855 | r | # dat = prepDat;
# booklets = inputList$booklets;
# blocks = inputList$blocks;
# rotation = inputList$rotation;
# sysMis = "mbd";
# id = "ID";
# subunits = inputList$subunits;
# verbose = TRUE
data(inputDat)
data(inputList)
prepDat <-
automateDataPreparation(
inputList = inputList,
datList = inputDat,
r... |
\name{rbind.fill}
\alias{rbind.fill}
\title{Combine data.frames by row, filling in missing columns.}
\usage{
rbind.fill(...)
}
\arguments{
\item{...}{input data frames to row bind together. The
first argument can be a list of data frames, in which
case all other arguments are ignored. Any NULL inputs
are sile... | /man/rbind.fill.Rd | no_license | baptiste/plyr | R | false | false | 1,286 | rd | \name{rbind.fill}
\alias{rbind.fill}
\title{Combine data.frames by row, filling in missing columns.}
\usage{
rbind.fill(...)
}
\arguments{
\item{...}{input data frames to row bind together. The
first argument can be a list of data frames, in which
case all other arguments are ignored. Any NULL inputs
are sile... |
## This file contains the Coursera's Exploratory Data Analysis 2nd Course Project's 4th script with the question and the answer.
## Question: Across the United States, how have emissions from coal combustion-related sources changed from 1999–2008?
library(dplyr)
library(ggplot2)
## Unzipping the files
summa... | /plot4.R | no_license | tamaskjf/Exploratory_Data_Analysis_Course_Project_2 | R | false | false | 1,291 | r | ## This file contains the Coursera's Exploratory Data Analysis 2nd Course Project's 4th script with the question and the answer.
## Question: Across the United States, how have emissions from coal combustion-related sources changed from 1999–2008?
library(dplyr)
library(ggplot2)
## Unzipping the files
summa... |
%do not edit, edit noweb/qmrparser.nw
\name{isNewline}
\alias{isNewline}
\title{
Is it a new line character?
}
\description{
Checks whether a character is a new line character.
}
\usage{
isNewline(ch)
}
\arguments{
\item{ch}{character to be checked}
}
\value{
TRUE/FALSE, depending on character being a newline character... | /man/isNewline.Rd | no_license | cran/qmrparser | R | false | false | 395 | rd | %do not edit, edit noweb/qmrparser.nw
\name{isNewline}
\alias{isNewline}
\title{
Is it a new line character?
}
\description{
Checks whether a character is a new line character.
}
\usage{
isNewline(ch)
}
\arguments{
\item{ch}{character to be checked}
}
\value{
TRUE/FALSE, depending on character being a newline character... |
#!/usr/bin/env Rscript
# aggregate htseq-counts output into a data frame
# discard genes with 0 counts across all samples
# save resulting dataframe as 'my_counts.csv' file
files <- dir(pattern = "_count.txt")
names <- as.vector(sapply(files, function(x) strsplit(x, "_count.txt")[[1]]))
data <- lapply(files, read.tab... | /counts2df.R | no_license | kn3in/rnaseq-util | R | false | false | 815 | r | #!/usr/bin/env Rscript
# aggregate htseq-counts output into a data frame
# discard genes with 0 counts across all samples
# save resulting dataframe as 'my_counts.csv' file
files <- dir(pattern = "_count.txt")
names <- as.vector(sapply(files, function(x) strsplit(x, "_count.txt")[[1]]))
data <- lapply(files, read.tab... |
# Data import from Excel .csv export and cleaning for nice handling in R
# 14-Feb-2019
# Set WORK working directory
setwd("~/`Stock assessment/Analysis/Data files")
# Set HOME working directory
setwd("~/DFO BI02 Stock assessment data analysis/Analysis/Data files")
# Load important packages to use
library(d... | /2017data_cleaning.R | permissive | khdavidson/chum-et-al | R | false | false | 14,250 | r | # Data import from Excel .csv export and cleaning for nice handling in R
# 14-Feb-2019
# Set WORK working directory
setwd("~/`Stock assessment/Analysis/Data files")
# Set HOME working directory
setwd("~/DFO BI02 Stock assessment data analysis/Analysis/Data files")
# Load important packages to use
library(d... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CONDOP.R
\name{get.intergenic.regions}
\alias{get.intergenic.regions}
\title{Build a data table containing generic information on intergenic regions.}
\usage{
get.intergenic.regions(genes, str = "+")
}
\arguments{
\item{genes}{An annotation d... | /man/get.intergenic.regions.Rd | no_license | cran/CONDOP | R | false | true | 577 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CONDOP.R
\name{get.intergenic.regions}
\alias{get.intergenic.regions}
\title{Build a data table containing generic information on intergenic regions.}
\usage{
get.intergenic.regions(genes, str = "+")
}
\arguments{
\item{genes}{An annotation d... |
clikcorr_n <-
function(data, lower1, upper1, lower2, upper2, cp=.95, starVal=NA, nlm=FALSE, ...) {
# clikcorr constructs a confidence interval for the correlation
# coefficients between two or more variables. The variables may
# be censored (left, right, or interval), or missing. The
# interval i... | /R/clikcorr_n.R | no_license | cran/clikcorr | R | false | false | 1,840 | r | clikcorr_n <-
function(data, lower1, upper1, lower2, upper2, cp=.95, starVal=NA, nlm=FALSE, ...) {
# clikcorr constructs a confidence interval for the correlation
# coefficients between two or more variables. The variables may
# be censored (left, right, or interval), or missing. The
# interval i... |
# This funtion is desiged to expand a set of vector bin values from their initial bin interval, to a larger interval.
# For example this is good to use if you want to transfrom data that is initially binned in 7-day groups, to bins that are in 21 day groups.
# The function will output a new vector of binned values o... | /prisByRaceInc2004/expandBins.R | no_license | quasitar/USPrisonData2004 | R | false | false | 1,497 | r | # This funtion is desiged to expand a set of vector bin values from their initial bin interval, to a larger interval.
# For example this is good to use if you want to transfrom data that is initially binned in 7-day groups, to bins that are in 21 day groups.
# The function will output a new vector of binned values o... |
tmp_expand.multichoice.wide<-function(datalong,choice.var,cons.var="cons",trip.var="viaje",alt.var="alt",chid.var="chid",view.var=NA,px.var="preciobase") {
#browser()
c<-0
for (i in choice.var) {
c<-c+1
data <-datalong [,c(-which(names(datalong) %in% choice.var))]
data$choice <- datalong[,i]
data$... | /R/_expand.multichoice.wide.R | no_license | mbonoli/funcionesMBO | R | false | false | 1,187 | r | tmp_expand.multichoice.wide<-function(datalong,choice.var,cons.var="cons",trip.var="viaje",alt.var="alt",chid.var="chid",view.var=NA,px.var="preciobase") {
#browser()
c<-0
for (i in choice.var) {
c<-c+1
data <-datalong [,c(-which(names(datalong) %in% choice.var))]
data$choice <- datalong[,i]
data$... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nWadeableStationsPerTransect.r
\name{nWadeableStations}
\alias{nWadeableStations}
\alias{nWadeableStationsPerTransect}
\title{Estimates the intended number of wadeable thalweg stations to be visited at
an NRSA study site.}
\usage{
nWadeableSt... | /man/nWadeableStations.Rd | no_license | jasonelaw/nrsa | R | false | true | 1,737 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nWadeableStationsPerTransect.r
\name{nWadeableStations}
\alias{nWadeableStations}
\alias{nWadeableStationsPerTransect}
\title{Estimates the intended number of wadeable thalweg stations to be visited at
an NRSA study site.}
\usage{
nWadeableSt... |
# Emily Linebarger, based on code by Audrey Batzel
# May/June 2019
# Prep activities and outputs data for TB impact model in Guatemala.
# The current working directory should be the root of this repo (set manually by user)
# -----------------------------------------------------------
# ------------------------------... | /impact_evaluation/gtm/2b_prep_activities_outputs.R | no_license | ihmeuw/gf | R | false | false | 23,950 | r | # Emily Linebarger, based on code by Audrey Batzel
# May/June 2019
# Prep activities and outputs data for TB impact model in Guatemala.
# The current working directory should be the root of this repo (set manually by user)
# -----------------------------------------------------------
# ------------------------------... |
library(eggCounts)
### Name: eggCounts-package
### Title: Hierarchical modelling of faecal egg counts
### Aliases: eggCounts eggCounts-package
### Keywords: package
### ** Examples
## Not run:
##D
##D ## Citations
##D citation('eggCounts')
##D
##D ## History of changes
##D file.show(system.file("NEWS", package =... | /data/genthat_extracted_code/eggCounts/examples/eggCounts-package.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 520 | r | library(eggCounts)
### Name: eggCounts-package
### Title: Hierarchical modelling of faecal egg counts
### Aliases: eggCounts eggCounts-package
### Keywords: package
### ** Examples
## Not run:
##D
##D ## Citations
##D citation('eggCounts')
##D
##D ## History of changes
##D file.show(system.file("NEWS", package =... |
\name{smooths.frame}
\alias{smooths.frame}
\alias{smooths.frame-class}
\title{Description of a smooths.frame object}
\description{A \code{data.frame} of S3-class \code{smooths.frame} that stores the
smooths of one or more responses for several sets of smoothing parameters.
\code{\link... | /man/smooths.frame.Rd | no_license | cran/growthPheno | R | false | false | 4,549 | rd | \name{smooths.frame}
\alias{smooths.frame}
\alias{smooths.frame-class}
\title{Description of a smooths.frame object}
\description{A \code{data.frame} of S3-class \code{smooths.frame} that stores the
smooths of one or more responses for several sets of smoothing parameters.
\code{\link... |
## code to prepare `plastic_samples` datasets
Choy_sam_loc <- dplyr::tibble(
lon = c(-121.82,-122.05),
lat = c(36.8,36.7),
depth = "depth"
)
BoxKash_sam_loc <- dplyr::tibble(
lon = c(-122.9,-122.6,-123.4,
-121.83595,-122.0129,-122.3055,-122.7199333),
lat = c(37.45,37.65,37.98,
36.7322333... | /data-raw/plastic_samples.R | no_license | FlukeAndFeather/plasticmaps | R | false | false | 642 | r | ## code to prepare `plastic_samples` datasets
Choy_sam_loc <- dplyr::tibble(
lon = c(-121.82,-122.05),
lat = c(36.8,36.7),
depth = "depth"
)
BoxKash_sam_loc <- dplyr::tibble(
lon = c(-122.9,-122.6,-123.4,
-121.83595,-122.0129,-122.3055,-122.7199333),
lat = c(37.45,37.65,37.98,
36.7322333... |
files <- as.data.frame(list.files("BreastMaleData"))
fm <- read.table("file_matching.txt", header = TRUE, sep = "\t")
names(files) <- "file_id"
merged <- merge(files, fm, by = "file_id")
| /mergeData.R | no_license | federicocozza/BioInformaticsGlioma | R | false | false | 191 | r | files <- as.data.frame(list.files("BreastMaleData"))
fm <- read.table("file_matching.txt", header = TRUE, sep = "\t")
names(files) <- "file_id"
merged <- merge(files, fm, by = "file_id")
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/miss_val_est.R
\name{mve.rcbd}
\alias{mve.rcbd}
\title{Estimation of missing values for a RCBD}
\usage{
mve.rcbd(trait, treat, rep, data, maxp = 0.1, tol = 1e-06)
}
\arguments{
\item{trait}{The trait to estimate missing values.}
\item{treat}... | /man/mve.rcbd.Rd | no_license | CIP-RIU/st4gi | R | false | true | 1,307 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/miss_val_est.R
\name{mve.rcbd}
\alias{mve.rcbd}
\title{Estimation of missing values for a RCBD}
\usage{
mve.rcbd(trait, treat, rep, data, maxp = 0.1, tol = 1e-06)
}
\arguments{
\item{trait}{The trait to estimate missing values.}
\item{treat}... |
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(tidyverse)
library(shiny)
library(shinydashboard)
library(ggthemes)
library(tidyverse)
library(shiny)
lib... | /group project/Attendance_Rates_Shiny/app.R | no_license | jnrico33/groupwork | R | false | false | 1,664 | r | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(tidyverse)
library(shiny)
library(shinydashboard)
library(ggthemes)
library(tidyverse)
library(shiny)
lib... |
setwd("~/ferdig_rotation/gabes_CRC/")
######################## Group A ###############################
######## TP in uncorrected out of total TP
######## FP in uncorrected out of total predicted
uncorrected <- read.csv("GrpAuncorrectedcorr.csv", stringsAsFactors = F, header = T, row.names = 1)
uncorrected <- ... | /crcovariates/Final_TPFP_plotMike.R | no_license | katiemeis/code_gradlab | R | false | false | 11,264 | r | setwd("~/ferdig_rotation/gabes_CRC/")
######################## Group A ###############################
######## TP in uncorrected out of total TP
######## FP in uncorrected out of total predicted
uncorrected <- read.csv("GrpAuncorrectedcorr.csv", stringsAsFactors = F, header = T, row.names = 1)
uncorrected <- ... |
#
# Rlibraries.R
#Wed Oct 31 19:00:40 CET 2012
loadLibraries = function() {
require('geepack');
require('glmnet');
require('ggplot2');
#library('foreign');
}
#
# Rdata.R
#Mon 27 Jun 2005 10:49:06 AM CEST
#system("cd ~/src/Rprivate ; ./exportR.sh");
#system("cd ~/src/Rprivate ; ./exportR.sh"); source("RgenericAll.R... | /src/R/Rprivate/RgenericAllRaw.R | no_license | wzuhou/ImputationPipeline | R | false | false | 287,473 | r | #
# Rlibraries.R
#Wed Oct 31 19:00:40 CET 2012
loadLibraries = function() {
require('geepack');
require('glmnet');
require('ggplot2');
#library('foreign');
}
#
# Rdata.R
#Mon 27 Jun 2005 10:49:06 AM CEST
#system("cd ~/src/Rprivate ; ./exportR.sh");
#system("cd ~/src/Rprivate ; ./exportR.sh"); source("RgenericAll.R... |
library(rEDM)
### Name: ccm_means
### Title: Take output from ccm and compute means as a function of library
### size.
### Aliases: ccm_means
### ** Examples
data("sardine_anchovy_sst")
anchovy_xmap_sst <- ccm(sardine_anchovy_sst, E = 3,
lib_column = "anchovy", target_column = "np_sst",
lib_sizes = seq(10, ... | /data/genthat_extracted_code/rEDM/examples/ccm_means.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 404 | r | library(rEDM)
### Name: ccm_means
### Title: Take output from ccm and compute means as a function of library
### size.
### Aliases: ccm_means
### ** Examples
data("sardine_anchovy_sst")
anchovy_xmap_sst <- ccm(sardine_anchovy_sst, E = 3,
lib_column = "anchovy", target_column = "np_sst",
lib_sizes = seq(10, ... |
#"ejercicio"
#1. crear un vector llamado ventas con los valores 120,140,90
#2. asignar estos valores "enero", "febrero, "marzo" como nombres de las columnas del vector
#3. calcular la mediana de ventas en los 3 meses
#4. crear un nuevo vector con los elementos mayores a 100
#5. calcular cual es el mes xon mayores venta... | /ejercicio1.R | no_license | BOTOOM/learn-R | R | false | false | 638 | r | #"ejercicio"
#1. crear un vector llamado ventas con los valores 120,140,90
#2. asignar estos valores "enero", "febrero, "marzo" como nombres de las columnas del vector
#3. calcular la mediana de ventas en los 3 meses
#4. crear un nuevo vector con los elementos mayores a 100
#5. calcular cual es el mes xon mayores venta... |
rm(list=ls())
library(rvest)
setwd('D:/Project_R/Kamis Data/SD Bekasi')
#mencari SD di Kecamatan Bekasi Timur
url = 'https://referensi.data.kemdikbud.go.id/index11.php?kode=026500&level=2'
text = read_html(url) %>% html_nodes('a') %>% html_text()
links = read_html(url) %>% html_nodes('a') %>% html_attr('href')
data ... | /Bukan Infografis/Infografis/Zonasi SD di Bekasi.R | no_license | ikanx101/belajaR | R | false | false | 1,850 | r | rm(list=ls())
library(rvest)
setwd('D:/Project_R/Kamis Data/SD Bekasi')
#mencari SD di Kecamatan Bekasi Timur
url = 'https://referensi.data.kemdikbud.go.id/index11.php?kode=026500&level=2'
text = read_html(url) %>% html_nodes('a') %>% html_text()
links = read_html(url) %>% html_nodes('a') %>% html_attr('href')
data ... |
library(tidyverse)
library(sp) #Transforming latitude and longitude
library("iNEXT")
library(openxlsx)
#library(readxl)
library(parzer) #parse coordinates
dir_ini <- getwd()
##########################
#Data: 42_MiaParkApple_2009
##########################
data_raw <- read.xlsx("Processing_files/Datasets_processing/... | /Processing_files/Datasets_Processing/KLEIJN 2015 DATABASE/Mia_Park_Malus_domestica_USA_2009_NEW2.R | permissive | ibartomeus/OBservData | R | false | false | 11,671 | r |
library(tidyverse)
library(sp) #Transforming latitude and longitude
library("iNEXT")
library(openxlsx)
#library(readxl)
library(parzer) #parse coordinates
dir_ini <- getwd()
##########################
#Data: 42_MiaParkApple_2009
##########################
data_raw <- read.xlsx("Processing_files/Datasets_processing/... |
#'Get hyperparameter values
#'
#'@param models which algorithms?
#'@param n Number observations
#'@param k Number features
#'@param model_class "classification" or "regression"
#'
#'@return Named list of data frames. Each data frame corresponds to an
#' algorithm, and each column in each data fram corresponds to a hyp... | /R/setup_hyperparameters.R | permissive | reloadbrain/healthcareai-r | R | false | false | 4,197 | r | #'Get hyperparameter values
#'
#'@param models which algorithms?
#'@param n Number observations
#'@param k Number features
#'@param model_class "classification" or "regression"
#'
#'@return Named list of data frames. Each data frame corresponds to an
#' algorithm, and each column in each data fram corresponds to a hyp... |
library(rosr)
### Name: sub_projects
### Title: Display available sub projects
### Aliases: sub_projects
### ** Examples
sub_projects()
| /data/genthat_extracted_code/rosr/examples/sub_projects.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 143 | r | library(rosr)
### Name: sub_projects
### Title: Display available sub projects
### Aliases: sub_projects
### ** Examples
sub_projects()
|
## gets a special matrix and inverse it.
## first it sets the matrix, then it get its, then it sets
##the inverse, to later get the inverse.
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(z){
x <<- z
m <<- NULL
}
get <- function()x
setInverse <- function(inverse) m <<- inver... | /cachematrix.R | no_license | BioVAp/ProgrammingAssignment2 | R | false | false | 796 | r | ## gets a special matrix and inverse it.
## first it sets the matrix, then it get its, then it sets
##the inverse, to later get the inverse.
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(z){
x <<- z
m <<- NULL
}
get <- function()x
setInverse <- function(inverse) m <<- inver... |
library(dlm)
### Name: mcmc
### Title: Utility functions for MCMC output analysis
### Aliases: mcmcMean mcmcMeans mcmcSD ergMean
### Keywords: misc
### ** Examples
x <- matrix(rexp(1000), nc=4)
dimnames(x) <- list(NULL, LETTERS[1:NCOL(x)])
mcmcSD(x)
mcmcMean(x)
em <- ergMean(x, m = 51)
plot(ts(em, start=51), xlab="... | /data/genthat_extracted_code/dlm/examples/mcmc.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 357 | r | library(dlm)
### Name: mcmc
### Title: Utility functions for MCMC output analysis
### Aliases: mcmcMean mcmcMeans mcmcSD ergMean
### Keywords: misc
### ** Examples
x <- matrix(rexp(1000), nc=4)
dimnames(x) <- list(NULL, LETTERS[1:NCOL(x)])
mcmcSD(x)
mcmcMean(x)
em <- ergMean(x, m = 51)
plot(ts(em, start=51), xlab="... |
las_business_ids <- jsonlite::read_json(("data/Las Vegas.json"))
las_business_ids <- sapply(las_business_ids, function(x) x$business_id)
page_handler <- local({
ldf <- list()
function(x) {
if (missing(x)) {
return(ldf)
}
x <- x[x$business_id %in% las_business_ids, ]
... | /data/code/data_processing.R | no_license | meibanfa/CSE6242_Team34 | R | false | false | 735 | r |
las_business_ids <- jsonlite::read_json(("data/Las Vegas.json"))
las_business_ids <- sapply(las_business_ids, function(x) x$business_id)
page_handler <- local({
ldf <- list()
function(x) {
if (missing(x)) {
return(ldf)
}
x <- x[x$business_id %in% las_business_ids, ]
... |
## Below are two functions that are used to cache the inverse of a matrix
## `makeCacheMatrix`: This function creates a special "matrix" object
## that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
invr <- NULL ## invr will store our inverse matrix and it's reset
... | /cachematrix.R | no_license | Dermot-/ProgrammingAssignment2 | R | false | false | 2,667 | r | ## Below are two functions that are used to cache the inverse of a matrix
## `makeCacheMatrix`: This function creates a special "matrix" object
## that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
invr <- NULL ## invr will store our inverse matrix and it's reset
... |
\name{nbMult}
\alias{nbMult}
\alias{nbMult}
\title{ convert a spatial nb object to a matching STF object }
\description{ convert a spatial nb object to a matching STF object }
\usage{
nbMult(nb, st, addT = TRUE, addST = FALSE)
}
\arguments{
\item{nb}{ object of class nb (see package spdep), which is valid for
the spat... | /man/nbmult.Rd | no_license | cran/spacetime | R | false | false | 1,063 | rd | \name{nbMult}
\alias{nbMult}
\alias{nbMult}
\title{ convert a spatial nb object to a matching STF object }
\description{ convert a spatial nb object to a matching STF object }
\usage{
nbMult(nb, st, addT = TRUE, addST = FALSE)
}
\arguments{
\item{nb}{ object of class nb (see package spdep), which is valid for
the spat... |
#' Z-Score applied to seasonal data divergence
#' @description
#' Supports analytics and display of seasonal data. Z-Score is
#' computed on residuals conditional on their seasonal period.
#' Beware that most seasonal charts in industry e.g. (NG Storage)
#' is not de-trended so results once you apply an STL decompositi... | /R/chart_zscore.R | permissive | risktoollib/RTL | R | false | false | 6,714 | r | #' Z-Score applied to seasonal data divergence
#' @description
#' Supports analytics and display of seasonal data. Z-Score is
#' computed on residuals conditional on their seasonal period.
#' Beware that most seasonal charts in industry e.g. (NG Storage)
#' is not de-trended so results once you apply an STL decompositi... |
/股價檔案/API 視覺化.R | no_license | qf108071601/Others | R | false | false | 1,458 | r | ||
#' A meta-analysis approach with filtering for identifying gene-level
#' gene-environment interactions with genetic association data
#'
#' This function first conducts a meta-filtering test to filter out unpromising
#' SNPs. It then runs a test of omnibus-filtering-based GxE meta-analysis
#' (ofGEM) that combines... | /R/ofGEM.r | no_license | cran/ofGEM | R | false | false | 8,548 | r | #' A meta-analysis approach with filtering for identifying gene-level
#' gene-environment interactions with genetic association data
#'
#' This function first conducts a meta-filtering test to filter out unpromising
#' SNPs. It then runs a test of omnibus-filtering-based GxE meta-analysis
#' (ofGEM) that combines... |
write_quiz_html_alph= function(question) {
# initialize: three part table with heading, question, answers
output= list()
# check html
simple_html_checker(question$text)
# write the question part as paragraphs
output$question= write_in_wrapper(question$text, "p")
# write the table heading
output$head... | /engine/write_quiz_html_alph.R | no_license | alucas69/CanvasQuizR | R | false | false | 518 | r | write_quiz_html_alph= function(question) {
# initialize: three part table with heading, question, answers
output= list()
# check html
simple_html_checker(question$text)
# write the question part as paragraphs
output$question= write_in_wrapper(question$text, "p")
# write the table heading
output$head... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pairingGame.R
\name{pairingGame}
\alias{pairingGame}
\title{Play Pairing Game}
\usage{
pairingGame(a, b, strata = pickerFirst, stratb = pickerFirst)
}
\arguments{
\item{a}{numeric vector of player a pieces}
\item{b}{numeric vector of player ... | /man/pairingGame.Rd | no_license | CSJCampbell/throwdown | R | false | true | 2,578 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pairingGame.R
\name{pairingGame}
\alias{pairingGame}
\title{Play Pairing Game}
\usage{
pairingGame(a, b, strata = pickerFirst, stratb = pickerFirst)
}
\arguments{
\item{a}{numeric vector of player a pieces}
\item{b}{numeric vector of player ... |
context("pgFull class methods")
pg <- .loadPgExample(withGroups = T, withParalogues = T)
location <- tempdir()
unzip(system.file('extdata', 'Mycoplasma.zip', package='FindMyFriends'),
exdir=location)
genomeFiles <- list.files(location, full.names=TRUE, pattern='*.fasta')[1:5]
realGenes <- Biostrings::readAAStrin... | /tests/testthat/test-pgFull.R | no_license | thomasp85/FindMyFriends | R | false | false | 1,832 | r | context("pgFull class methods")
pg <- .loadPgExample(withGroups = T, withParalogues = T)
location <- tempdir()
unzip(system.file('extdata', 'Mycoplasma.zip', package='FindMyFriends'),
exdir=location)
genomeFiles <- list.files(location, full.names=TRUE, pattern='*.fasta')[1:5]
realGenes <- Biostrings::readAAStrin... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{e_inspect}
\alias{e_inspect}
\alias{echarts_from_json}
\title{To & From JSON}
\usage{
e_inspect(e, json = FALSE, ...)
echarts_from_json(txt)
}
\arguments{
\item{e}{An \code{echarts4r} object as returned by \code{\link{e_chart... | /man/echartsNJSON.Rd | no_license | cran/echarts4r | R | false | true | 1,319 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{e_inspect}
\alias{e_inspect}
\alias{echarts_from_json}
\title{To & From JSON}
\usage{
e_inspect(e, json = FALSE, ...)
echarts_from_json(txt)
}
\arguments{
\item{e}{An \code{echarts4r} object as returned by \code{\link{e_chart... |
# Load libraries required for script
library(lubridate)
library(dplyr)
#
# read data table from current working directory
power <- read.table(
'./household_power_consumption.txt',
header=T,sep=";",stringsAsFactors = F,na.strings = "?")
#
# add column with date and time pasted together
power.1<... | /plot3.R | no_license | jplaxton/ExData_Plotting1 | R | false | false | 1,145 | r | # Load libraries required for script
library(lubridate)
library(dplyr)
#
# read data table from current working directory
power <- read.table(
'./household_power_consumption.txt',
header=T,sep=";",stringsAsFactors = F,na.strings = "?")
#
# add column with date and time pasted together
power.1<... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function_heatmap_with_sideplots.R
\name{h.cluster_data}
\alias{h.cluster_data}
\title{clust data.table accessor}
\usage{
h.cluster_data(ssvH2)
}
\arguments{
\item{ssvH2}{output from ssvHeatmap2()}
}
\value{
data supplied to geom_raster() with... | /man/h.cluster_data.Rd | no_license | hjanime/ssvRecipes | R | false | true | 447 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function_heatmap_with_sideplots.R
\name{h.cluster_data}
\alias{h.cluster_data}
\title{clust data.table accessor}
\usage{
h.cluster_data(ssvH2)
}
\arguments{
\item{ssvH2}{output from ssvHeatmap2()}
}
\value{
data supplied to geom_raster() with... |
dat <- read.csv("el6383-project/el6383-project/tcp_0delay_100mBW-1.txt")
cnames <- c("time", "srcip", "srcport", "dstip",
"dstport", "id", "interval", "data",
"tput")
names(dat) <- cnames
dat$case <- "case1"
dat$bandwidth <- 100
dat$delay <- 0
dat$drop <- 0
all <- ... | /review/projects/0002/el6383-project/Rscript/Rscript_tcp_part1.R | no_license | Roshni-Natarajan/HSN-Lab | R | false | false | 2,509 | r | dat <- read.csv("el6383-project/el6383-project/tcp_0delay_100mBW-1.txt")
cnames <- c("time", "srcip", "srcport", "dstip",
"dstport", "id", "interval", "data",
"tput")
names(dat) <- cnames
dat$case <- "case1"
dat$bandwidth <- 100
dat$delay <- 0
dat$drop <- 0
all <- ... |
\encoding{UTF-8}
\name{note_for_ChiValss_input}
\alias{note_for_ChiValss_input}
\title{Note for child valproate input information}
\description{
Input information of child valproate including individual information, dosing history and sampling history.
}
\keyword{misc} | /man/note_for_ChiValss_input.Rd | no_license | cran/tdm | R | false | false | 287 | rd | \encoding{UTF-8}
\name{note_for_ChiValss_input}
\alias{note_for_ChiValss_input}
\title{Note for child valproate input information}
\description{
Input information of child valproate including individual information, dosing history and sampling history.
}
\keyword{misc} |
IR_save <- IR_state_new %>%
select(FIPS, ci_l, ci_u) %>%
mutate(ci_l = if_else(ci_l <0, 0, ci_l))
PR_save <- PR_state_new_r %>%
select(FIPS, ci_l, ci_u) %>%
mutate(ci_l = if_else(ci_l <0, 0, ci_l))
save(IR_save,file="IR_save.Rda")
save(PR_save,file="PR_save.Rda")
| /Script/Testing_weights_7b.R | no_license | raedkm/TTI-Astham-CI | R | false | false | 281 | r | IR_save <- IR_state_new %>%
select(FIPS, ci_l, ci_u) %>%
mutate(ci_l = if_else(ci_l <0, 0, ci_l))
PR_save <- PR_state_new_r %>%
select(FIPS, ci_l, ci_u) %>%
mutate(ci_l = if_else(ci_l <0, 0, ci_l))
save(IR_save,file="IR_save.Rda")
save(PR_save,file="PR_save.Rda")
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pwr_prop_2pop.R
\name{pwr_prop_2pop}
\alias{pwr_prop_2pop}
\title{Power and sample size for t-test for two proportions.}
\usage{
pwr_prop_2pop(p1, p2, delta0 = 0, n1 = NULL, n2 = NULL, pwr = NULL,
alternative = "two.sided", sig_level = 0.05)
... | /man/pwr_prop_2pop.Rd | no_license | gilberto-sassi/power | R | false | true | 2,245 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pwr_prop_2pop.R
\name{pwr_prop_2pop}
\alias{pwr_prop_2pop}
\title{Power and sample size for t-test for two proportions.}
\usage{
pwr_prop_2pop(p1, p2, delta0 = 0, n1 = NULL, n2 = NULL, pwr = NULL,
alternative = "two.sided", sig_level = 0.05)
... |
testlist <- list(A = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.11099476730851e-221, 0), .Dim = c(5L, 1L)), B = structure(0, .Dim = c(1L, 1L)))
result <- do.call(multivariance:::match_rows,testlist)
str(result) | /multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613114514-test.R | no_license | akhikolla/updatedatatype-list3 | R | false | false | 251 | r | testlist <- list(A = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.11099476730851e-221, 0), .Dim = c(5L, 1L)), B = structure(0, .Dim = c(1L, 1L)))
result <- do.call(multivariance:::match_rows,testlist)
str(result) |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EvaluatePlp.R
\name{specificity}
\alias{specificity}
\title{Calculate the specificity}
\usage{
specificity(TP, TN, FN, FP)
}
\arguments{
\item{TP}{Number of true positives}
\item{TN}{Number of true negatives}
\item{FN}{Number of false negat... | /man/specificity.Rd | permissive | schuemie/PatientLevelPrediction | R | false | true | 474 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EvaluatePlp.R
\name{specificity}
\alias{specificity}
\title{Calculate the specificity}
\usage{
specificity(TP, TN, FN, FP)
}
\arguments{
\item{TP}{Number of true positives}
\item{TN}{Number of true negatives}
\item{FN}{Number of false negat... |
attach(mtcars)
plot(wt,mpg)
abline(lm(mpg~wt))
title("regression of MPG on Weight")
detach(mtcars)
| /src/dg/r-mon/courseware/script1.R | no_license | xenron/sandbox-da-r | R | false | false | 99 | r | attach(mtcars)
plot(wt,mpg)
abline(lm(mpg~wt))
title("regression of MPG on Weight")
detach(mtcars)
|
# Clear workspace
rm(list = ls())
# Setup
################################################################################
# Packages
library(tidyverse)
# Directories
plotdir <- "figures"
datadir <- "data/capture_projections/data"
outputdir <- "/Volumes/GoogleDrive/Shared drives/emlab/projects/current-projects/blu... | /code/ms_figures/Fig2_mariculture_results.R | no_license | cfree14/aquacast | R | false | false | 12,505 | r |
# Clear workspace
rm(list = ls())
# Setup
################################################################################
# Packages
library(tidyverse)
# Directories
plotdir <- "figures"
datadir <- "data/capture_projections/data"
outputdir <- "/Volumes/GoogleDrive/Shared drives/emlab/projects/current-projects/blu... |
# sunagriAPI
#
# An instance of OpenSILEX WebService
#
# OpenAPI spec version: 3.3.0
#
# Generated by: https://github.com/swagger-api/swagger-codegen.git
#' PropertyDTO Class
#'
#' @field rdfType
#' @field relation
#' @field value
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
Pro... | /R/PropertyDTO.r | no_license | OpenSILEX/phis-ws-client-r-tool | R | false | false | 2,835 | r | # sunagriAPI
#
# An instance of OpenSILEX WebService
#
# OpenAPI spec version: 3.3.0
#
# Generated by: https://github.com/swagger-api/swagger-codegen.git
#' PropertyDTO Class
#'
#' @field rdfType
#' @field relation
#' @field value
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
Pro... |
\name{make.time.periods}
\alias{make.time.periods}
\title{make a time.periods object}
\usage{
make.time.periods(start, durations, names)
}
\arguments{
\item{start}{the start of the time of interest}
\item{durations}{the durations of the subsequent time
periods}
\item{names}{the names of the time periods}
}
... | /man/make.time.periods.Rd | no_license | smorisseau/dhstools | R | false | false | 695 | rd | \name{make.time.periods}
\alias{make.time.periods}
\title{make a time.periods object}
\usage{
make.time.periods(start, durations, names)
}
\arguments{
\item{start}{the start of the time of interest}
\item{durations}{the durations of the subsequent time
periods}
\item{names}{the names of the time periods}
}
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataproc_objects.R
\name{DiagnoseClusterRequest}
\alias{DiagnoseClusterRequest}
\title{DiagnoseClusterRequest Object}
\usage{
DiagnoseClusterRequest()
}
\value{
DiagnoseClusterRequest object
}
\description{
DiagnoseClusterRequest Object
}
\de... | /googledataprocv1.auto/man/DiagnoseClusterRequest.Rd | permissive | GVersteeg/autoGoogleAPI | R | false | true | 551 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataproc_objects.R
\name{DiagnoseClusterRequest}
\alias{DiagnoseClusterRequest}
\title{DiagnoseClusterRequest Object}
\usage{
DiagnoseClusterRequest()
}
\value{
DiagnoseClusterRequest object
}
\description{
DiagnoseClusterRequest Object
}
\de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.