content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
library(ape) testtree <- read.tree("5873_8.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="5873_8_unrooted.txt")
/codeml_files/newick_trees_processed/5873_8/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("5873_8.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="5873_8_unrooted.txt")
##### Template R code for mapping of woodland units from known points. ##### Colin Mahony, UBC Forestry, 778-288-4008, c_mahony@alumni.ubc.ca ##### November 4th, 2016 rm(list=ls()) #clean the workspace so all previous objects are deleted #Download projects that are not currently downloaded and load packages i...
/BEC_Automation_part2_Analysis.R
no_license
Brian-Hearnden/BEC_Automation
R
false
false
8,083
r
##### Template R code for mapping of woodland units from known points. ##### Colin Mahony, UBC Forestry, 778-288-4008, c_mahony@alumni.ubc.ca ##### November 4th, 2016 rm(list=ls()) #clean the workspace so all previous objects are deleted #Download projects that are not currently downloaded and load packages i...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_context_freq.R \name{get_context_freq} \alias{get_context_freq} \title{Extract occurence of tri-nucleotide contexts} \usage{ get_context_freq(genome, region = NULL) } \arguments{ \item{genome}{a BSgenome object} \item{region}{a GRanges o...
/man/get_context_freq.Rd
no_license
bihealth/SigsPack
R
false
true
1,068
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_context_freq.R \name{get_context_freq} \alias{get_context_freq} \title{Extract occurence of tri-nucleotide contexts} \usage{ get_context_freq(genome, region = NULL) } \arguments{ \item{genome}{a BSgenome object} \item{region}{a GRanges o...
############################################################# # # # ♥ FAIRE DES CARTES AVEC R ♥ # # APPLICATION A LA FRONTIERE ETATS-UNIS / MEXIQUE # # NICOLAS LAMBERT, RONAN YSEBAERT, UMS RIATE, NOV.2019 # # ...
/texmex.R
no_license
riatelab/mexusaborder
R
false
false
38,455
r
############################################################# # # # ♥ FAIRE DES CARTES AVEC R ♥ # # APPLICATION A LA FRONTIERE ETATS-UNIS / MEXIQUE # # NICOLAS LAMBERT, RONAN YSEBAERT, UMS RIATE, NOV.2019 # # ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % Verbose.R % % by the Rdoc compiler part of the R.oo package. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \name{str.Verbose} \alias{str.Ve...
/man/str.Verbose.Rd
no_license
HenrikBengtsson/R.utils
R
false
false
960
rd
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % Verbose.R % % by the Rdoc compiler part of the R.oo package. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \name{str.Verbose} \alias{str.Ve...
#' Initialize a new Trajectory object. #' #' @param input trajectory to model cell progression. Wrapped result #' of a trajectory inference by the dynverse/dynwrap library #' @return Trajectory object Trajectory <- function(input) { # Create the adjacency matrix network <- as.data.frame(input$milestone_networ...
/R/methods-Trajectory.R
permissive
YosefLab/VISION
R
false
false
10,180
r
#' Initialize a new Trajectory object. #' #' @param input trajectory to model cell progression. Wrapped result #' of a trajectory inference by the dynverse/dynwrap library #' @return Trajectory object Trajectory <- function(input) { # Create the adjacency matrix network <- as.data.frame(input$milestone_networ...
# 날짜 : 2021/11/16 # 이름 : 박시현 # 내용 : R 상관관계 분석 실습 install.packages('corrplot') library(corrplot) data(iris) df_iris <- iris View(df_iris) # 상관계수 확인 cor(df_iris$Sepal.Length, df_iris$Sepal.Width) cor(df_iris$Petal.Length, df_iris$Petal.Width) cor(df_iris$Petal.Length, df_iris$Petal.Width) # 상관행렬 corr_iris <- cor(...
/Ch10/2_상관관계 분석 실습.R
no_license
SihyunPark01/R
R
false
false
1,259
r
# 날짜 : 2021/11/16 # 이름 : 박시현 # 내용 : R 상관관계 분석 실습 install.packages('corrplot') library(corrplot) data(iris) df_iris <- iris View(df_iris) # 상관계수 확인 cor(df_iris$Sepal.Length, df_iris$Sepal.Width) cor(df_iris$Petal.Length, df_iris$Petal.Width) cor(df_iris$Petal.Length, df_iris$Petal.Width) # 상관행렬 corr_iris <- cor(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stan_confidenceRegion.R \name{stan_confidenceRegion} \alias{stan_confidenceRegion} \title{Extract functions of multiple variables from a stanfit object} \usage{ stan_confidenceRegion(stanfit, parstrings, prefuncstring = "(", joinfuncstring ...
/man/stan_confidenceRegion.Rd
no_license
karchjd/ctsem
R
false
true
1,478
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stan_confidenceRegion.R \name{stan_confidenceRegion} \alias{stan_confidenceRegion} \title{Extract functions of multiple variables from a stanfit object} \usage{ stan_confidenceRegion(stanfit, parstrings, prefuncstring = "(", joinfuncstring ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/textFunction.R \name{splitData} \alias{splitData} \title{Elongate data.frame with column split by comma} \usage{ splitData(df, colname) } \arguments{ \item{df}{a data.frame} \item{colname}{column name} } \value{ An elongated data.frame } \de...
/man/splitData.Rd
no_license
hsh2001/ggplotAssist
R
false
true
380
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/textFunction.R \name{splitData} \alias{splitData} \title{Elongate data.frame with column split by comma} \usage{ splitData(df, colname) } \arguments{ \item{df}{a data.frame} \item{colname}{column name} } \value{ An elongated data.frame } \de...
# Date: July 31st, 2018 # Processes Well Soft data : # - AUTOMATICALLY SORT COLUMNS from heuristics into empty columns, all zero and dates # - CLEAN ERRONEOUS INPUT based on patterns noticed by inspection # - PROCESS DATE COLUMNS where date columns are automatically derived and assembled from inspection # ...
/wellSoft/cleanWellSoft.R
no_license
dhidru/ED_code
R
false
false
24,066
r
# Date: July 31st, 2018 # Processes Well Soft data : # - AUTOMATICALLY SORT COLUMNS from heuristics into empty columns, all zero and dates # - CLEAN ERRONEOUS INPUT based on patterns noticed by inspection # - PROCESS DATE COLUMNS where date columns are automatically derived and assembled from inspection # ...
#' Stock returns of 18 US tech companies #' #' Datset containing stock returns of 18 important US tech firms (See \href{https://finance.yahoo.com/u/yahoo-finance/watchlists/tech-stocks-that-move-the-market/}{Yahoo Finance}) #' and the NASDAQ return. #' The dataset covers all trading days between 2015-11-03 and 2019-11-...
/R/tech_returns.R
no_license
LisaLechner/event2car
R
false
false
1,792
r
#' Stock returns of 18 US tech companies #' #' Datset containing stock returns of 18 important US tech firms (See \href{https://finance.yahoo.com/u/yahoo-finance/watchlists/tech-stocks-that-move-the-market/}{Yahoo Finance}) #' and the NASDAQ return. #' The dataset covers all trading days between 2015-11-03 and 2019-11-...
#************************************************************************************************************************************** #Early pregnancy outcome analysis #This file conducts the primary and sensitivity analysis for infection and miscarriage (with historical uninfected group): # 1. Prepares data incl...
/Early pregnancy paper scripts/06a_miscarriage_infection_primary_analysis.R
no_license
Public-Health-Scotland/COPS-public
R
false
false
15,687
r
#************************************************************************************************************************************** #Early pregnancy outcome analysis #This file conducts the primary and sensitivity analysis for infection and miscarriage (with historical uninfected group): # 1. Prepares data incl...
#' Convert weights, as COO matrix, to CSC matrix and weights vector #' #' \code{convert} Takes a weights triple (COO matrix) and converts it to a sparse edge-incidence matrix (CSC matrix) and weights vector. #' #' @param W COO matrix of weights: (i,j,w[ij]) #' @import Matrix #' @export #' @examples #' W <- matrix(0,3,3...
/cvxbiclustr/R/util.r
no_license
ingted/R-Examples
R
false
false
7,573
r
#' Convert weights, as COO matrix, to CSC matrix and weights vector #' #' \code{convert} Takes a weights triple (COO matrix) and converts it to a sparse edge-incidence matrix (CSC matrix) and weights vector. #' #' @param W COO matrix of weights: (i,j,w[ij]) #' @import Matrix #' @export #' @examples #' W <- matrix(0,3,3...
#load data for the plot source("load_data.R") #open PNG device png(filename="plot1.png") with(data_plot, hist(as.double(as.character(Global_active_power)), main="Global Active Power", xlab="Global Active Power (Kilowatts)", col="red" ) ) #Close the PNG device dev.off() ...
/plot1.R
no_license
dsinibaldi77/ExData_Plotting1
R
false
false
322
r
#load data for the plot source("load_data.R") #open PNG device png(filename="plot1.png") with(data_plot, hist(as.double(as.character(Global_active_power)), main="Global Active Power", xlab="Global Active Power (Kilowatts)", col="red" ) ) #Close the PNG device dev.off() ...
#Accessing the flymine lists for testing the multiple query ranking source("ranking_FUNCTIONS_TPM.R") source("mulq_genes_FUNCTIONS.R") #Loading in fly atlas brain info setwd("Test_fly_lists/") class3b_top <- read.delim("Class_IIIb_18_20hrs.tsv", stringsAsFactors = F, header = F) colnames(class3b_top) <- c("Secondary...
/Assessment of multiple query/Class3b_list_rep10.R
no_license
oknox/Research-project
R
false
false
2,669
r
#Accessing the flymine lists for testing the multiple query ranking source("ranking_FUNCTIONS_TPM.R") source("mulq_genes_FUNCTIONS.R") #Loading in fly atlas brain info setwd("Test_fly_lists/") class3b_top <- read.delim("Class_IIIb_18_20hrs.tsv", stringsAsFactors = F, header = F) colnames(class3b_top) <- c("Secondary...
library(readxl) # readxl 패키지 로드 exdata1 <- read_excel("C:/Rstudy/Sample1.xlsx") # Sample1 엑셀 파일을 exdata1 데이터 세트로 저장 exdata1 # exdata1 데이터 세트 확인 stem(exdata1$AGE) # exdata1의 AGE 변수에 대한 줄기 잎 그림
/Code/Chapter05/p136.R
no_license
newstars/HelloR
R
false
false
264
r
library(readxl) # readxl 패키지 로드 exdata1 <- read_excel("C:/Rstudy/Sample1.xlsx") # Sample1 엑셀 파일을 exdata1 데이터 세트로 저장 exdata1 # exdata1 데이터 세트 확인 stem(exdata1$AGE) # exdata1의 AGE 변수에 대한 줄기 잎 그림
########################## # Code for figure 2 in the Extended data figures section # # Author: Hanmo Li & Mengyang Gu # # Email: mengyang at pstat.ucsb.edu ########################## library(deSolve) library(EpiEstim) source(file = "./Reproducing results in the paper/Codes/functions_8th_version.R") no...
/Reproducing results in the paper/Codes/Extend_fig_2_Simulation_for_comparing_Euler_and_our_algorithm.R
no_license
UncertaintyQuantification/Robust-estimation-of-SARS-CoV-2-epidemic-in-US-counties
R
false
false
8,326
r
########################## # Code for figure 2 in the Extended data figures section # # Author: Hanmo Li & Mengyang Gu # # Email: mengyang at pstat.ucsb.edu ########################## library(deSolve) library(EpiEstim) source(file = "./Reproducing results in the paper/Codes/functions_8th_version.R") no...
library(PRROC) demos <- odata levels(demos$MARRIAGE) <- c("Casado","Otro","Soltero") levels(demos$EDUCATION) <- c("Otro","Licenciatura","Maestría/Doctorado","Otro","Bachillerato") levels(fdata$MARRIAGE) <- c("Casado","Otro","Soltero") levels(fdata$EDUCATION) <- c("Otro","Licenciatura","Maestría/Doctorado","Otro","Bach...
/ShinyObjects.R
no_license
MiguelAngel243/CreditCardPredictor
R
false
false
1,225
r
library(PRROC) demos <- odata levels(demos$MARRIAGE) <- c("Casado","Otro","Soltero") levels(demos$EDUCATION) <- c("Otro","Licenciatura","Maestría/Doctorado","Otro","Bachillerato") levels(fdata$MARRIAGE) <- c("Casado","Otro","Soltero") levels(fdata$EDUCATION) <- c("Otro","Licenciatura","Maestría/Doctorado","Otro","Bach...
################################################################################ ### R BASICS WORKSHOP ### ### EJERCISIO 1.1: Una muestra de una sesión de R ### ### ...
/1-2_introduccion.R
no_license
hachepunto/R_Basics_workshop
R
false
false
8,837
r
################################################################################ ### R BASICS WORKSHOP ### ### EJERCISIO 1.1: Una muestra de una sesión de R ### ### ...
library(mapview) library(sp) library(RColorBrewer) library(ggplot2) #loading in data overlaps<-read.csv("data/gis for nick.csv", header=T) chloride_2007_2012<-read.csv("data/NLA_chloride_2007_2012.csv", header=T) pract_data<-read.csv("data/practice model 2007 data.csv", header=T) #plotting overlaps overlap_sp<-Spatia...
/lake_chloride_maps_histograms.R
no_license
nskaff/gleon_predict_salt
R
false
false
2,698
r
library(mapview) library(sp) library(RColorBrewer) library(ggplot2) #loading in data overlaps<-read.csv("data/gis for nick.csv", header=T) chloride_2007_2012<-read.csv("data/NLA_chloride_2007_2012.csv", header=T) pract_data<-read.csv("data/practice model 2007 data.csv", header=T) #plotting overlaps overlap_sp<-Spatia...
################################################################################################## #### #' Simple version of DeClust with linear regression and without iterative optimization #' #' This function is a simple version of DeClust. It uses linear regression instead of nonlinear optimization assuming the ...
/DeClust/R/metaDeconvolution_simulationfunctions.r
no_license
integrativenetworkbiology/DeClust
R
false
false
23,688
r
################################################################################################## #### #' Simple version of DeClust with linear regression and without iterative optimization #' #' This function is a simple version of DeClust. It uses linear regression instead of nonlinear optimization assuming the ...
\name{scoreWtd} \alias{scoreWtd} %- Also NEED an '\alias' for EACH other topic documented here. \title{Score items using regression or correlation based weights} \description{Item weights from \code{\link{bestScales}} or \code{\link{setCor}} are used to find weighted scale scores. In contrast to the unit weights used i...
/man/scoreWtd.Rd
no_license
cran/psych
R
false
false
2,560
rd
\name{scoreWtd} \alias{scoreWtd} %- Also NEED an '\alias' for EACH other topic documented here. \title{Score items using regression or correlation based weights} \description{Item weights from \code{\link{bestScales}} or \code{\link{setCor}} are used to find weighted scale scores. In contrast to the unit weights used i...
source("data_generators/datamaker_only_counts.R") ## these do not change args_val <- list() args_val$log2foldsd <- 1 args_val$tissue <- "muscle" args_val$path <- "../../../data/gtex_tissue_gene_reads/" args_val$Ngene <- 10000 args_val$log2foldmean <- 0 args_val$skip_gene <- 0 arg...
/dsc_sims/code/data_generators/pois_thin.R
no_license
Feigeliudan01/sim_code
R
false
false
1,112
r
source("data_generators/datamaker_only_counts.R") ## these do not change args_val <- list() args_val$log2foldsd <- 1 args_val$tissue <- "muscle" args_val$path <- "../../../data/gtex_tissue_gene_reads/" args_val$Ngene <- 10000 args_val$log2foldmean <- 0 args_val$skip_gene <- 0 arg...
library(tidyverse) library(rvest) library(furrr) library(tictoc) library(js) set.seed(1) link <- sprintf("https://www.inscricao.marinha.mil.br/marinha/index_concursos.jsp?id_concurso=%d", 1:390L) scrap <- function(x) { if(RCurl::url.exists(x) == T) { y <- read_html(x) %>% html_nodes(".header0 b") %>% ...
/gera_base_marinha.R
no_license
igorkf/marinha
R
false
false
933
r
library(tidyverse) library(rvest) library(furrr) library(tictoc) library(js) set.seed(1) link <- sprintf("https://www.inscricao.marinha.mil.br/marinha/index_concursos.jsp?id_concurso=%d", 1:390L) scrap <- function(x) { if(RCurl::url.exists(x) == T) { y <- read_html(x) %>% html_nodes(".header0 b") %>% ...
#' Compare data and model prediction by computing residuals #' #' @param data data.frame with name (factor), time (numeric), value (numeric) and sigma (numeric) #' @param out output of ode(), optionally augmented with attributes #' "deriv" (output of ode() for the sensitivity equations) and #' "parameters" (character...
/R/WORKdata.R
permissive
dlill/dMod2ndsens
R
false
false
4,132
r
#' Compare data and model prediction by computing residuals #' #' @param data data.frame with name (factor), time (numeric), value (numeric) and sigma (numeric) #' @param out output of ode(), optionally augmented with attributes #' "deriv" (output of ode() for the sensitivity equations) and #' "parameters" (character...
testlist <- list(latLongs = structure(c(1.46243431169009e-321, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(6L, 4L)), r = 0) result <- do.call(MGDrivE::calcCos,testlist) str(result)
/MGDrivE/inst/testfiles/calcCos/libFuzzer_calcCos/calcCos_valgrind_files/1612727147-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
217
r
testlist <- list(latLongs = structure(c(1.46243431169009e-321, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(6L, 4L)), r = 0) result <- do.call(MGDrivE::calcCos,testlist) str(result)
library(tibble) library(dplyr) library(readr) context("guess_delim") # Tiny table tiny <- tibble( a = c('0,0', '0,1'), b = c('1,0', '1,1')) file_tiny <- tempfile() write_delim(tiny, file_tiny, ";") # Output table for file_tiny ans <- tibble( char_raw = c("3b", "2c"), var = c(0, 0), n = c(3L, 2L), char = ...
/tests/testthat/test_guess_delim.R
permissive
Athospd/forkliftr
R
false
false
1,094
r
library(tibble) library(dplyr) library(readr) context("guess_delim") # Tiny table tiny <- tibble( a = c('0,0', '0,1'), b = c('1,0', '1,1')) file_tiny <- tempfile() write_delim(tiny, file_tiny, ";") # Output table for file_tiny ans <- tibble( char_raw = c("3b", "2c"), var = c(0, 0), n = c(3L, 2L), char = ...
### Code for Simulation Study 1 ### library("RCurl") script <- getURL("https://raw.githubusercontent.com/harlanhappydog/EquivTestStandardReg/master/EquivTestStandardReg.R", ssl.verifypeer = FALSE) eval(parse(text = script)) ######################################## simstudy1 <- function(randomreg=FALSE, nSim=10...
/simstudy_1_v3.R
no_license
harlanhappydog/EquivTestStandardReg
R
false
false
6,082
r
### Code for Simulation Study 1 ### library("RCurl") script <- getURL("https://raw.githubusercontent.com/harlanhappydog/EquivTestStandardReg/master/EquivTestStandardReg.R", ssl.verifypeer = FALSE) eval(parse(text = script)) ######################################## simstudy1 <- function(randomreg=FALSE, nSim=10...
################## PROJECT: 2) Satander Customer Transaction Prediction Project ################## ################## ################## #Remove the elements rm(list = ls()) #Set working directory setwd("/home/nupur/Downloads/edwisor") #Check working directory getwd() library(ggplot2) library(FactoMine...
/santander.R
no_license
abhi-eng/Santander-customer-transaction-prediction
R
false
false
10,301
r
################## PROJECT: 2) Satander Customer Transaction Prediction Project ################## ################## ################## #Remove the elements rm(list = ls()) #Set working directory setwd("/home/nupur/Downloads/edwisor") #Check working directory getwd() library(ggplot2) library(FactoMine...
# basefn2.R source('C:/Users/brian/PycharmProjects/platform/legacy/R/basefn2.R') source('C:/Users/brian/PycharmProjects/platform/legacy/R/utils.R') source('C:/Users/brian/PycharmProjects/platform/legacy/R/platformstartup.R') GetRes <- function() {return(300)} GetImgDir <- function() {return ("C:\\Users\\brian\\Docume...
/book_07_mmt_expansion/startup.R
permissive
brianr747/brian_books
R
false
false
413
r
# basefn2.R source('C:/Users/brian/PycharmProjects/platform/legacy/R/basefn2.R') source('C:/Users/brian/PycharmProjects/platform/legacy/R/utils.R') source('C:/Users/brian/PycharmProjects/platform/legacy/R/platformstartup.R') GetRes <- function() {return(300)} GetImgDir <- function() {return ("C:\\Users\\brian\\Docume...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/repoverlap.R \name{repOverlap} \alias{repOverlap} \title{General function for the repertoire overlap evaluation.} \usage{ repOverlap( .data, .method = c("exact", "hamm", "lev", "jaccard", "morisita", "tversky", "overlap", "horn"), ....
/fuzzedpackages/tcR/man/repOverlap.Rd
no_license
akhikolla/testpackages
R
false
true
2,940
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/repoverlap.R \name{repOverlap} \alias{repOverlap} \title{General function for the repertoire overlap evaluation.} \usage{ repOverlap( .data, .method = c("exact", "hamm", "lev", "jaccard", "morisita", "tversky", "overlap", "horn"), ....
###################################################################################################################### # Function: is.DataModel. # Argument: an object. # Description: Return if the object is of class DataModel is.DataModel = function(arg){ return(any(class(arg)=="DataModel")) }
/R/is.DataModel.R
no_license
gpaux/Mediana
R
false
false
298
r
###################################################################################################################### # Function: is.DataModel. # Argument: an object. # Description: Return if the object is of class DataModel is.DataModel = function(arg){ return(any(class(arg)=="DataModel")) }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{drop_na_columns} \alias{drop_na_columns} \title{Drop NA columns} \usage{ drop_na_columns(data) } \arguments{ \item{data}{a \code{data frame}} } \value{ \code{tibble} } \description{ This function drops NA columns from a specifie...
/man/drop_na_columns.Rd
permissive
maduhu/fundManageR
R
false
true
642
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{drop_na_columns} \alias{drop_na_columns} \title{Drop NA columns} \usage{ drop_na_columns(data) } \arguments{ \item{data}{a \code{data frame}} } \value{ \code{tibble} } \description{ This function drops NA columns from a specifie...
#' Retrieves Sotkanet data according to the query arguments and combines the #' indicator, region, and overall data into a single table #' #' Arguments: #' @param indicators Dataset identifier(s) #' @param years vector of years c(2010, 2012, ... ) #' @param genders vector of genders ('male' | 'female' | 'total') ...
/sotkanet/R/GetDataSotkanet.R
no_license
ingted/R-Examples
R
false
false
4,113
r
#' Retrieves Sotkanet data according to the query arguments and combines the #' indicator, region, and overall data into a single table #' #' Arguments: #' @param indicators Dataset identifier(s) #' @param years vector of years c(2010, 2012, ... ) #' @param genders vector of genders ('male' | 'female' | 'total') ...
#' Compute the Horvitz-Thompson Estimator #' #' Calculate the Horvitz-Thompson Estimator for a finite population mean/proportion or total based on sample data collected from a complex sampling design. #' #' @param y A numeric vector of the sampled response variable. #' @param pi A numeric vector of inclusion prob...
/R/horvitzThompson.R
no_license
mcconvil/mase
R
false
false
4,340
r
#' Compute the Horvitz-Thompson Estimator #' #' Calculate the Horvitz-Thompson Estimator for a finite population mean/proportion or total based on sample data collected from a complex sampling design. #' #' @param y A numeric vector of the sampled response variable. #' @param pi A numeric vector of inclusion prob...
\name{print.split} \alias{print.split} \title{Print split.} \usage{ \method{print}{split} (x, ...) } \arguments{ \item{x}{object to print} \item{...}{unused} } \description{ Don't print labels, so it appears like a regular list } \keyword{internal}
/man/print.split.Rd
no_license
talgalili/plyr
R
false
false
259
rd
\name{print.split} \alias{print.split} \title{Print split.} \usage{ \method{print}{split} (x, ...) } \arguments{ \item{x}{object to print} \item{...}{unused} } \description{ Don't print labels, so it appears like a regular list } \keyword{internal}
# %%%%%%%%%%%%%%%%% # ####### LD ####### # %%%%%%%%%%%%%%%%% # # * Nalls et al. 2018: Imputation Panel Notes # + _"One of the limitations of this study is the use of multiple imputation panels, due to logistic constraints. # Adding datasets from non-European populations would be helpful to further improve our granula...
/R/LD.R
permissive
alexMarCar/echolocatoR
R
false
false
62,738
r
# %%%%%%%%%%%%%%%%% # ####### LD ####### # %%%%%%%%%%%%%%%%% # # * Nalls et al. 2018: Imputation Panel Notes # + _"One of the limitations of this study is the use of multiple imputation panels, due to logistic constraints. # Adding datasets from non-European populations would be helpful to further improve our granula...
# Functions file to be sourced within app later options(stringsAsFactors = FALSE) # used to trim the available options via the in-app selectize statement symbol_list_initial <- read.csv(file="CSVs/master.csv", colClasses=c("NULL",NA)) symbol_list <- symbol_list_initial[!(is.na(symbol_list_initial$Symbol) | symbol_lis...
/Functions.R
permissive
DrRoad/financial-asset-comparison-tool
R
false
false
14,109
r
# Functions file to be sourced within app later options(stringsAsFactors = FALSE) # used to trim the available options via the in-app selectize statement symbol_list_initial <- read.csv(file="CSVs/master.csv", colClasses=c("NULL",NA)) symbol_list <- symbol_list_initial[!(is.na(symbol_list_initial$Symbol) | symbol_lis...
roll <- function(){ die <- 1:6 dice <- sample(die, size = 2, replace = TRUE) sum(dice) } show_env <- function(){ list(ran.in = environment(), parent = parent.env(environment()), objects = ls.str(environment()) ) } show_env() environment(show_env) library(pryr) environment(pa...
/cap62.R
no_license
pedroceciliocn/scripts-hands-on-prog-r
R
false
false
2,536
r
roll <- function(){ die <- 1:6 dice <- sample(die, size = 2, replace = TRUE) sum(dice) } show_env <- function(){ list(ran.in = environment(), parent = parent.env(environment()), objects = ls.str(environment()) ) } show_env() environment(show_env) library(pryr) environment(pa...
# data data <- rnorm(100,0,1) # plot layout(matrix(seq(2)),heights=c(0.7,0.3)) # c(bottom, left, top, right) par(mar=c(0,4.1,4.1,2.1)) hist(data,breaks=50,freq=F,main="") par(mar=c(0,4.1,0,2.1), mgp=c(3,0.5,0.0)) boxplot(data, horizontal=TRUE, axes=FALSE)
/hist-and-box.R
no_license
xjyx/R-Scripts
R
false
false
257
r
# data data <- rnorm(100,0,1) # plot layout(matrix(seq(2)),heights=c(0.7,0.3)) # c(bottom, left, top, right) par(mar=c(0,4.1,4.1,2.1)) hist(data,breaks=50,freq=F,main="") par(mar=c(0,4.1,0,2.1), mgp=c(3,0.5,0.0)) boxplot(data, horizontal=TRUE, axes=FALSE)
## A pair of functions: ## makeCacheMatrix - creates an object that represents a square invertible ## matrix, including a slot for a cached value of its ## inversion; ## ## cacheSolve - operates on an object returned by makeCacheMatrix, and ## inverts...
/cachematrix.R
no_license
echristopherson/ProgrammingAssignment2
R
false
false
3,136
r
## A pair of functions: ## makeCacheMatrix - creates an object that represents a square invertible ## matrix, including a slot for a cached value of its ## inversion; ## ## cacheSolve - operates on an object returned by makeCacheMatrix, and ## inverts...
library(readr) data_load <- function(filename){ #try catch df <- read_delim(filename, delim = ";", col_types = cols( Zuzanna = col_logical(), Julia = col_logical(), Lena = col_double(), Maja = col_double(), ...
/project/phase2/Saputa_Werner/data_load.R
no_license
pysiakk/CaseStudies2019S
R
false
false
1,151
r
library(readr) data_load <- function(filename){ #try catch df <- read_delim(filename, delim = ";", col_types = cols( Zuzanna = col_logical(), Julia = col_logical(), Lena = col_double(), Maja = col_double(), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/autoscalingplans_operations.R \name{autoscalingplans_describe_scaling_plans} \alias{autoscalingplans_describe_scaling_plans} \title{Describes one or more of your scaling plans} \usage{ autoscalingplans_describe_scaling_plans( ScalingPlanNam...
/cran/paws.management/man/autoscalingplans_describe_scaling_plans.Rd
permissive
paws-r/paws
R
false
true
1,313
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/autoscalingplans_operations.R \name{autoscalingplans_describe_scaling_plans} \alias{autoscalingplans_describe_scaling_plans} \title{Describes one or more of your scaling plans} \usage{ autoscalingplans_describe_scaling_plans( ScalingPlanNam...
# ------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------- # # ANALYSIS OF FEH DATA: INDEX-VALUE # # ------------------------------------------------...
/demo/feh_floods01.R
no_license
cran/nsRFA
R
false
false
6,084
r
# ------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------- # # ANALYSIS OF FEH DATA: INDEX-VALUE # # ------------------------------------------------...
library(argparser) library(TopmedPipeline) library(Biobase) library(SNPRelate) library(readr) library(dplyr) library(RColorBrewer) library(ggplot2) sessionInfo() argp <- arg_parser("Pedigree check") argp <- add_argument(argp, "config", help="path to config file") argv <- parse_args(argp) config <- readConfig(argv$con...
/R/pedigree_check.R
no_license
UW-GAC/analysis_pipeline
R
false
false
4,167
r
library(argparser) library(TopmedPipeline) library(Biobase) library(SNPRelate) library(readr) library(dplyr) library(RColorBrewer) library(ggplot2) sessionInfo() argp <- arg_parser("Pedigree check") argp <- add_argument(argp, "config", help="path to config file") argv <- parse_args(argp) config <- readConfig(argv$con...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/manual R codes.r \name{Vis_OSR_A.fra} \alias{Vis_OSR_A.fra} \title{Graph of OSRs and A-arm Selection Fraction Based on homogeneous E.st and T.st.} \usage{ Vis_OSR_A.fra(d, title) } \arguments{ \item{d}{data of matrix with two colums, separate...
/man/Vis_OSR_A.fra.Rd
no_license
ryamada22/SelfDecABP
R
false
true
2,316
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/manual R codes.r \name{Vis_OSR_A.fra} \alias{Vis_OSR_A.fra} \title{Graph of OSRs and A-arm Selection Fraction Based on homogeneous E.st and T.st.} \usage{ Vis_OSR_A.fra(d, title) } \arguments{ \item{d}{data of matrix with two colums, separate...
library(testthat) library(kmer) test_check("kmer")
/kmer/tests/testthat.R
no_license
akhikolla/InformationHouse
R
false
false
51
r
library(testthat) library(kmer) test_check("kmer")
xp_to_fasta_prot <- function(data, nameFile){ for(i in seq_along(data)){ xp <- data[i] imp_aa_seq <- entrez_fetch(db="protein", id=xp, rettype='fasta') write(imp_aa_seq, paste0(nameFile, ".fasta"), append =TRUE) } } # nameFile in character string format "nameFile" # data is a vector which elements a...
/XP_to_fasta_prot.R
no_license
RocioCarmonaMolero/ScriptProteinas
R
false
false
353
r
xp_to_fasta_prot <- function(data, nameFile){ for(i in seq_along(data)){ xp <- data[i] imp_aa_seq <- entrez_fetch(db="protein", id=xp, rettype='fasta') write(imp_aa_seq, paste0(nameFile, ".fasta"), append =TRUE) } } # nameFile in character string format "nameFile" # data is a vector which elements a...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AllGenerics.R, R/emapplot_cluster.R \name{emapplot_cluster} \alias{emapplot_cluster} \alias{emapplot_cluster,enrichResult-method} \alias{emapplot_cluster,gseaResult-method} \alias{emapplot_cluster,compareClusterResult-method} \alias{emapplot_...
/man/emapplot_cluster.Rd
no_license
EricChLee/enrichplot
R
false
true
4,958
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AllGenerics.R, R/emapplot_cluster.R \name{emapplot_cluster} \alias{emapplot_cluster} \alias{emapplot_cluster,enrichResult-method} \alias{emapplot_cluster,gseaResult-method} \alias{emapplot_cluster,compareClusterResult-method} \alias{emapplot_...
library(rbokeh) suppressMessages(library(dplyr)) bike <- read.csv("~/Deere/data/Bike_Share_Stations.csv") bike_small <- bike %>% select(LATITUDE, LONGITUDE, NUMBER_OF_DOCKS) bike_small %>% head gmap(lat = 39.768597, lng = -86.162682, zoom = 13, width = 600, height = 800, map_type = "road_map") %>% ly_points(LON...
/2_htmlwidgets_Bike_Stations.R
no_license
philbowsher/Foundation-of-the-R-Workflow-workshop-2017-10-08
R
false
false
472
r
library(rbokeh) suppressMessages(library(dplyr)) bike <- read.csv("~/Deere/data/Bike_Share_Stations.csv") bike_small <- bike %>% select(LATITUDE, LONGITUDE, NUMBER_OF_DOCKS) bike_small %>% head gmap(lat = 39.768597, lng = -86.162682, zoom = 13, width = 600, height = 800, map_type = "road_map") %>% ly_points(LON...
\name{bowlerWktsRunsPlot} \alias{bowlerWktsRunsPlot} \title{ Compute and plot the runs conceded versus the wickets taken } \description{ This function creates boxplots on the runs conceded for wickets taken for the bowler } \usage{ bowlerWktsRunsPlot(file, name = "A Googly") } %- maybe also 'usage' for other objects do...
/man/bowlerWktsRunsPlot.Rd
no_license
kmaheshkulkarni/cricketr
R
false
false
1,747
rd
\name{bowlerWktsRunsPlot} \alias{bowlerWktsRunsPlot} \title{ Compute and plot the runs conceded versus the wickets taken } \description{ This function creates boxplots on the runs conceded for wickets taken for the bowler } \usage{ bowlerWktsRunsPlot(file, name = "A Googly") } %- maybe also 'usage' for other objects do...
# Batch examples # Note: In some cases, you'll need to wait for a step to complete in your AWS # account before you can successfully run the next step. # To set up the Batch compute environment, get security group and subnet info # for the default VPC. default_vpc <- paws.ec2::describe_vpcs( Filters = "isDefault=t...
/examples/batch.R
permissive
CR-Mercado/paws
R
false
false
3,214
r
# Batch examples # Note: In some cases, you'll need to wait for a step to complete in your AWS # account before you can successfully run the next step. # To set up the Batch compute environment, get security group and subnet info # for the default VPC. default_vpc <- paws.ec2::describe_vpcs( Filters = "isDefault=t...
#' Unfortunately, the data we are interested in use several calendars. #' #' The 'standard' or 'gregorian' calendar #' The 'proleptic gregorian' calendar #' A '360_day' calendar with 12 months each of 30 days #' A '365_day' or 'noleap' calendar with 12 months of #' c(31,28,31,30,31,30,31,31,30,31,30,31) days. #' #' S...
/GSDF/R/GSDF.time.R
permissive
oldweather/GSDF
R
false
false
16,244
r
#' Unfortunately, the data we are interested in use several calendars. #' #' The 'standard' or 'gregorian' calendar #' The 'proleptic gregorian' calendar #' A '360_day' calendar with 12 months each of 30 days #' A '365_day' or 'noleap' calendar with 12 months of #' c(31,28,31,30,31,30,31,31,30,31,30,31) days. #' #' S...
#### R-script Simulation Study : Measuring Forecast Accuracy for Factor Models, AR and VAR(1) benchmark #### rm(list=ls()) #### Check packages installed #### checkpackage<-function(U){ if((U %in% rownames(installed.packages()))==F){ install.packages(U) library(U, character.only = TRUE) }else{ ...
/code/Simulation/Forecast/forecast_other_benchmarks.R
no_license
zhangjia-swufe/HLAG
R
false
false
7,055
r
#### R-script Simulation Study : Measuring Forecast Accuracy for Factor Models, AR and VAR(1) benchmark #### rm(list=ls()) #### Check packages installed #### checkpackage<-function(U){ if((U %in% rownames(installed.packages()))==F){ install.packages(U) library(U, character.only = TRUE) }else{ ...
summarize_techval <- function(year, in_data) { oneyear <- dplyr::filter(in_data, CDLYear == year) cleaned <- dplyr::mutate(oneyear, PctTile = 1/ncells_tile) %>% dplyr::filter(!is.na(FIPS)) %>% # remove mis-match points that do not have FIPS code (overlap water or other non-county polygon) dplyr::muta...
/code/functions/summarize_techval.R
no_license
melaniekamm/MergeLANDFIREandCDL
R
false
false
918
r
summarize_techval <- function(year, in_data) { oneyear <- dplyr::filter(in_data, CDLYear == year) cleaned <- dplyr::mutate(oneyear, PctTile = 1/ncells_tile) %>% dplyr::filter(!is.na(FIPS)) %>% # remove mis-match points that do not have FIPS code (overlap water or other non-county polygon) dplyr::muta...
fit <- lm(Ozone ~ Solar.R + Wind + Temp + I(Wind^2) + I(Temp^2) + I(Wind*Temp)+I(Wind*Temp^2) + I(Temp*Wind^2) + I(Temp^2*Wind^2), data=airquality) visreg2d(fit, x="Wind", y="Temp", plot.type="image") visreg2d(fit, x="Wind", y="Temp", plot.type="image", color=c("purple", "green", "red"))...
/scripts/2020_Using_Visreg.R
no_license
MRoy120/Fiddler_SEM
R
false
false
2,942
r
fit <- lm(Ozone ~ Solar.R + Wind + Temp + I(Wind^2) + I(Temp^2) + I(Wind*Temp)+I(Wind*Temp^2) + I(Temp*Wind^2) + I(Temp^2*Wind^2), data=airquality) visreg2d(fit, x="Wind", y="Temp", plot.type="image") visreg2d(fit, x="Wind", y="Temp", plot.type="image", color=c("purple", "green", "red"))...
# compare output and timing for Kendall tau computation: cor and taucor library(CopulaModel) # compare taucor (fast Kendall tau) with cor( method="kendall") ktcor=function(x,y) { cor(x,y,method = "kendall") } spcor=function(x,y) { cor(x,y,method = "spearman") } # simulation to compare computation of Kendall's tau # n...
/depmeasuretests/ktau-test.r
no_license
hoanguc3m/CopulaModel
R
false
false
1,348
r
# compare output and timing for Kendall tau computation: cor and taucor library(CopulaModel) # compare taucor (fast Kendall tau) with cor( method="kendall") ktcor=function(x,y) { cor(x,y,method = "kendall") } spcor=function(x,y) { cor(x,y,method = "spearman") } # simulation to compare computation of Kendall's tau # n...
#plot 4 elec <- read.table("household_power_consumption.txt", sep=";", header=TRUE, na.strings="?", colClasses="character") elec[, 1] <- paste(elec[, 1], elec[, 2], sep= " ") require(lubridate) elec[, 1] <- dmy_hms(elec[, 1]) mar <- with(elec, elec[year(Date) == 2007 & month(Date) == 2 & day(...
/plot4.R
no_license
greenisagoodcolor/ExData_Plotting1
R
false
false
1,043
r
#plot 4 elec <- read.table("household_power_consumption.txt", sep=";", header=TRUE, na.strings="?", colClasses="character") elec[, 1] <- paste(elec[, 1], elec[, 2], sep= " ") require(lubridate) elec[, 1] <- dmy_hms(elec[, 1]) mar <- with(elec, elec[year(Date) == 2007 & month(Date) == 2 & day(...
# This script correspond to the filter #ijob -A jcbnunez -c 10 --mem=60G --partition=standard #module load gcc/7.1.0 #module load openmpi/3.1.4 #module load gdal #module load proj #module load htslib/1.9 #module load bcftools/1.9 #module load intel/18.0 #module load intelmpi/18.0 #module load R/4.0.0 #R #Clean ...
/Analyses/GeographicEndemism/Extended_endemism/2.1.AlleleFreq.SNAPE.Allsamps.0.001.R
no_license
alanbergland/DEST
R
false
false
2,923
r
# This script correspond to the filter #ijob -A jcbnunez -c 10 --mem=60G --partition=standard #module load gcc/7.1.0 #module load openmpi/3.1.4 #module load gdal #module load proj #module load htslib/1.9 #module load bcftools/1.9 #module load intel/18.0 #module load intelmpi/18.0 #module load R/4.0.0 #R #Clean ...
\name{MLSTyper-package} \alias{MLSTyper-package} \alias{MLSTyper} \docType{package} \title{ A short title line describing what the package does } \description{ A more detailed description of what the package does. A length of about one to five lines is recommended. } \details{ This section should provide a more...
/man/MLSTyper-package.Rd
no_license
rdcrawford/MLSTyper
R
false
false
824
rd
\name{MLSTyper-package} \alias{MLSTyper-package} \alias{MLSTyper} \docType{package} \title{ A short title line describing what the package does } \description{ A more detailed description of what the package does. A length of about one to five lines is recommended. } \details{ This section should provide a more...
## @knitr phenoPlots ## Objective : loop of analysis for each phenotype with a high number ##of strains with more than 8 drosophiles for each age #Preparing the loop phenotypes <- as.character( sort( unique( DATA_analysis$phenotype_name))) RemainingStrain <- c() nameOutliers1 <- c() nameOutliers4 <- c() for (namePh...
/2_Phenotypes/Input/pheno_analysis_01.R
no_license
sladebese/SNPnet
R
false
false
17,392
r
## @knitr phenoPlots ## Objective : loop of analysis for each phenotype with a high number ##of strains with more than 8 drosophiles for each age #Preparing the loop phenotypes <- as.character( sort( unique( DATA_analysis$phenotype_name))) RemainingStrain <- c() nameOutliers1 <- c() nameOutliers4 <- c() for (namePh...
library(daewr) ### Name: gear ### Title: Unreplicated split-plot fractional-factorial experiment on ### geometric distortion of drive gears ### Aliases: gear ### Keywords: datasets ### ** Examples data(gear)
/data/genthat_extracted_code/daewr/examples/gear.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
217
r
library(daewr) ### Name: gear ### Title: Unreplicated split-plot fractional-factorial experiment on ### geometric distortion of drive gears ### Aliases: gear ### Keywords: datasets ### ** Examples data(gear)
testlist <- list(testX = c(191493125665849920, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), trainX ...
/dann/inst/testfiles/calc_distance_C/AFL_calc_distance_C/calc_distance_C_valgrind_files/1609869321-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
1,199
r
testlist <- list(testX = c(191493125665849920, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), trainX ...
## File Name: vcov.srm.R ## File Version: 0.01 vcov.srm <- function(object, ...) { return(object$vcov) }
/R/vcov.srm.R
no_license
alexanderrobitzsch/srm
R
false
false
111
r
## File Name: vcov.srm.R ## File Version: 0.01 vcov.srm <- function(object, ...) { return(object$vcov) }
library(shiny) library(dplyr) library(lubridate) # Load libraries and functions needed to create SQLite databases. library(RSQLite) # Used to be provided by dplyr, we'll hack together on our own now. hflights_sqlite <- function(path = NULL) { path <- dplyr:::db_location(path, "hflights.sqlite") if (!file.exis...
/029-authentication-and-database/server.R
no_license
trestletech/shiny-examples
R
false
false
5,704
r
library(shiny) library(dplyr) library(lubridate) # Load libraries and functions needed to create SQLite databases. library(RSQLite) # Used to be provided by dplyr, we'll hack together on our own now. hflights_sqlite <- function(path = NULL) { path <- dplyr:::db_location(path, "hflights.sqlite") if (!file.exis...
\name{transform} \alias{transform_incidences} \title{Transform incidences} \description{ Carry out transformations between incidence matrices from endorelations and other codings. } \usage{ transform_incidences(x, from = c("PO", "SO", "01", "-1+1"), to = c("PO", "SO", "01", "-1+1")) } \argum...
/man/transform.Rd
no_license
cran/relations
R
false
false
2,302
rd
\name{transform} \alias{transform_incidences} \title{Transform incidences} \description{ Carry out transformations between incidence matrices from endorelations and other codings. } \usage{ transform_incidences(x, from = c("PO", "SO", "01", "-1+1"), to = c("PO", "SO", "01", "-1+1")) } \argum...
# RAKIP Generic model # # TODO # # OpenAPI spec version: 1.0.4 # # Generated by: https://github.com/swagger-api/swagger-codegen.git #' DataModelModelMath Class #' #' @field parameter #' #' @importFrom R6 R6Class #' @importFrom jsonlite fromJSON toJSON #' @export DataModelModelMath <- R6::R6Class( 'DataModelModelM...
/R/DataModelModelMath.r
no_license
miguelalba/fsk_metadata
R
false
false
1,810
r
# RAKIP Generic model # # TODO # # OpenAPI spec version: 1.0.4 # # Generated by: https://github.com/swagger-api/swagger-codegen.git #' DataModelModelMath Class #' #' @field parameter #' #' @importFrom R6 R6Class #' @importFrom jsonlite fromJSON toJSON #' @export DataModelModelMath <- R6::R6Class( 'DataModelModelM...
\name{pers.rate.obj} \alias{pers.rate.obj} \title{Calculating the global disease persistence rate in a metapopulation.} \description{Calculating the global disease persistence rate in a metapopulation, by using the Kaplan–Meier survival curve of the metapopulation.} \usage{pers.rate.obj<-function(object)} \argumen...
/CODE_dizzys/refreshDIZZYS_2015_10_23/lan1/dizzysNEWYANN/man/pers.rate.obj.Rd
no_license
ttcgiang/THESE_GitHub
R
false
false
1,478
rd
\name{pers.rate.obj} \alias{pers.rate.obj} \title{Calculating the global disease persistence rate in a metapopulation.} \description{Calculating the global disease persistence rate in a metapopulation, by using the Kaplan–Meier survival curve of the metapopulation.} \usage{pers.rate.obj<-function(object)} \argumen...
modelData_18_19 <- read.csv("premLeague_18_19_clean.csv") modelData_17_18 <- read.csv("premLeague_17_18_clean.csv") modelData_16_17 <- read.csv("premLeague_16_17_clean.csv") final_Data <-rbind(modelData_16_17,modelData_17_18,modelData_18_19) read.csv(final_Data,"final_Data.csv")
/Final_Data_code.R
no_license
hosavagyan/CS252-Data-Science-Premier-League-Analysis
R
false
false
286
r
modelData_18_19 <- read.csv("premLeague_18_19_clean.csv") modelData_17_18 <- read.csv("premLeague_17_18_clean.csv") modelData_16_17 <- read.csv("premLeague_16_17_clean.csv") final_Data <-rbind(modelData_16_17,modelData_17_18,modelData_18_19) read.csv(final_Data,"final_Data.csv")
#--------------------------------------------------------- # bits of code that will help when I am ready to spatialise the Random Forest model require(sp) require(rgdal) require(raster) require(randomForest) # CREATE LIST OF RASTERS rlist=list.files(getwd(), pattern="img$", full.names=TRUE) # CREATE RASTER STACK xv...
/SK418_RandomForestSpatialize.R
no_license
cboisvenue/RCodeSK
R
false
false
1,026
r
#--------------------------------------------------------- # bits of code that will help when I am ready to spatialise the Random Forest model require(sp) require(rgdal) require(raster) require(randomForest) # CREATE LIST OF RASTERS rlist=list.files(getwd(), pattern="img$", full.names=TRUE) # CREATE RASTER STACK xv...
# For data manipulation and tidying library(dplyr) # For data visualizations library(ggplot2) # install.packages("fpc") library(fpc) # For modeling and predictions library(caret) # install.packages("glmnet") library(glmnet) # install.packages("ranger") library(ranger) # install.packages("e1071") librar...
/06_monster_wo_xgboost.R
no_license
trisgelar/belajar-xgboost
R
false
false
9,134
r
# For data manipulation and tidying library(dplyr) # For data visualizations library(ggplot2) # install.packages("fpc") library(fpc) # For modeling and predictions library(caret) # install.packages("glmnet") library(glmnet) # install.packages("ranger") library(ranger) # install.packages("e1071") librar...
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common populate #' @include fms_service.R NULL .fms$associate_admin_account_input <- function(...) { args <- c(as.list(environment()), list(...)) shape <- structure(list(AdminAccount = structure(logical(0), tags = list(type = "stri...
/cran/paws.security.identity/R/fms_interfaces.R
permissive
paws-r/paws
R
false
false
72,384
r
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common populate #' @include fms_service.R NULL .fms$associate_admin_account_input <- function(...) { args <- c(as.list(environment()), list(...)) shape <- structure(list(AdminAccount = structure(logical(0), tags = list(type = "stri...
#' @export Dropbox Dropbox <- # # No need for the URIs as these are for acquiring the tokens. # We assume you already have them. Otherwise use dropbox_oauth # function(consumerKey, consumerSecret, oauthKey, oauthSecret, signMethod = "HMAC", .obj = new("DropboxCredentials")) { .obj@c...
/R/dropboxMethods.r
no_license
karthik/rDrop
R
false
false
5,320
r
#' @export Dropbox Dropbox <- # # No need for the URIs as these are for acquiring the tokens. # We assume you already have them. Otherwise use dropbox_oauth # function(consumerKey, consumerSecret, oauthKey, oauthSecret, signMethod = "HMAC", .obj = new("DropboxCredentials")) { .obj@c...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/method_process_definition.R \name{is_ti_method} \alias{is_ti_method} \title{Tests whether an object is a TI method description} \usage{ is_ti_method(object) } \arguments{ \item{object}{The object to be tested} } \description{ Tests whether an...
/man/is_ti_method.Rd
no_license
dweemx/dynwrap
R
false
true
357
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/method_process_definition.R \name{is_ti_method} \alias{is_ti_method} \title{Tests whether an object is a TI method description} \usage{ is_ti_method(object) } \arguments{ \item{object}{The object to be tested} } \description{ Tests whether an...
# ----------------------------------------------------------------------------- # 读取spark分析处理后的数据,供画图程序使用 # ----------------------------------------------------------------------------- # 运行方法: 在R环境中,使用下面语句 # source("~/workspace_github/hadoop-ws/r-ws/draw-graphys-ggplot2/read-data-of-kmeans-v1.R") # 得到如下数据对象 # 1. 数据集...
/r-ws/draw-graphys-ggplot2/read-data-of-kmeans-v1-for-standalone-L2.R
no_license
un-knower/hadoop-ws
R
false
false
10,800
r
# ----------------------------------------------------------------------------- # 读取spark分析处理后的数据,供画图程序使用 # ----------------------------------------------------------------------------- # 运行方法: 在R环境中,使用下面语句 # source("~/workspace_github/hadoop-ws/r-ws/draw-graphys-ggplot2/read-data-of-kmeans-v1.R") # 得到如下数据对象 # 1. 数据集...
#niche tracking analysis function using PCA & kernel density estimator via ecospat #improvements: should limit background to a 5000km(?) buffer around the full range for each species. nicheTracker_pcaOcc <- function(i) { require(data.table);require(dismo);require(ecospat);require(pbapply);require(rgeos);require(ggp...
/scripts/nicheTracker_pcaOcc.R
no_license
cjbattey/nicheTrackR
R
false
false
4,102
r
#niche tracking analysis function using PCA & kernel density estimator via ecospat #improvements: should limit background to a 5000km(?) buffer around the full range for each species. nicheTracker_pcaOcc <- function(i) { require(data.table);require(dismo);require(ecospat);require(pbapply);require(rgeos);require(ggp...
# XvalidatePredictions.R # # Purpose: From input Training Data, select a subset for # Training and prediction, run # similarity computations, # predict synergy scores, and evaluate # success. # # Version: 0.3 # # Date: Nov 9 2015 # Author: Boris and DRE...
/XvalidatePredictions.R
no_license
DREAM-Toronto/Drug-Combination-Prediction-2015
R
false
false
10,280
r
# XvalidatePredictions.R # # Purpose: From input Training Data, select a subset for # Training and prediction, run # similarity computations, # predict synergy scores, and evaluate # success. # # Version: 0.3 # # Date: Nov 9 2015 # Author: Boris and DRE...
#' A Function to clean a single input string by removing punctuation and numbers and tokenizing it. #' #' @param string A single input string such as "This is a cool function!" #' @return A vector containing all valid tokens in the original input string #' @export Clean_String <- function(string){ # Lowercase temp ...
/R/Clean_String.R
no_license
kathyfoley77/ipedsbindR
R
false
false
756
r
#' A Function to clean a single input string by removing punctuation and numbers and tokenizing it. #' #' @param string A single input string such as "This is a cool function!" #' @return A vector containing all valid tokens in the original input string #' @export Clean_String <- function(string){ # Lowercase temp ...
## ---- eval=T------------------------------------------------------------------------------------------- # download packages, if necessary install.packages(c("vegan", "MASS", "cluster", "tree", "BiodiversityR", "gclus", "ecodist", "FD", "psych", "pheatmap")) ## ---- warning=F, message=F----------...
/multivariate_analysis_Part1.R
no_license
fmsabatini/TeachingStats
R
false
false
7,088
r
## ---- eval=T------------------------------------------------------------------------------------------- # download packages, if necessary install.packages(c("vegan", "MASS", "cluster", "tree", "BiodiversityR", "gclus", "ecodist", "FD", "psych", "pheatmap")) ## ---- warning=F, message=F----------...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_roc.R \name{get_roc} \alias{get_roc} \title{Build receiver operating characteristic curve} \usage{ get_roc(scores, labels) } \arguments{ \item{scores}{numeric array} \item{labels}{binary array} } \value{ FPR,TPR numeric arrays } \descrip...
/EGAD/man/get_roc.Rd
no_license
kantale/EGAD
R
false
true
650
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_roc.R \name{get_roc} \alias{get_roc} \title{Build receiver operating characteristic curve} \usage{ get_roc(scores, labels) } \arguments{ \item{scores}{numeric array} \item{labels}{binary array} } \value{ FPR,TPR numeric arrays } \descrip...
#' Title #' #' @param interpro #' @param gene_list #' @param gene_length #' @param domain_db #' @param motif_db #' #' @return #' @export #' #' @import dplyr #' #' @examples interpro2draw <- function(interpro, gene_list, gene_length, domain_db = "Pfam", motif_db = "TMH...
/R/prepare_draw.R
permissive
xvtyzn/interpro2genevis
R
false
false
2,721
r
#' Title #' #' @param interpro #' @param gene_list #' @param gene_length #' @param domain_db #' @param motif_db #' #' @return #' @export #' #' @import dplyr #' #' @examples interpro2draw <- function(interpro, gene_list, gene_length, domain_db = "Pfam", motif_db = "TMH...
# Reads the needed packages library(dplyr) library(ggplot2) # Reads the RDS datasets SCC <- readRDS("Source_Classification_Code.rds") NEI <- readRDS("summarySCC_PM25.rds") # Get the total emissions per year baltimoreEmissions <- summarise(group_by(filter(NEI, fips == "2451...
/plot6.R
no_license
dhanncollin/Exploratory-Data-Analysis-Course-Project-2
R
false
false
1,439
r
# Reads the needed packages library(dplyr) library(ggplot2) # Reads the RDS datasets SCC <- readRDS("Source_Classification_Code.rds") NEI <- readRDS("summarySCC_PM25.rds") # Get the total emissions per year baltimoreEmissions <- summarise(group_by(filter(NEI, fips == "2451...
VE.Hajek.Total.NHT <- function(VecY.s, VecPk.s) { if(! is.vector(VecY.s) ){stop("VecY.s must be a vector.") } if(! is.vector(VecPk.s) ){stop("VecPk.s must be a vector.") } n <- length(VecY.s) if(n != length...
/samplingVarEst/R/VE_Hajek_Total_NHT.r
no_license
ingted/R-Examples
R
false
false
1,334
r
VE.Hajek.Total.NHT <- function(VecY.s, VecPk.s) { if(! is.vector(VecY.s) ){stop("VecY.s must be a vector.") } if(! is.vector(VecPk.s) ){stop("VecPk.s must be a vector.") } n <- length(VecY.s) if(n != length...
context("decode pl") test_that("polyline decoded correctly", { pl <- "nnseFmpzsZgalNytrXetrG}krKsaif@kivIccvzAvvqfClp~uBlymzA~ocQ}_}iCthxo@srst@" expect_equal(nrow(decode_pl(pl)), 8) }) test_that("error message for invalid encoded type", { pl <- c("a","b") expect_error(decode_pl(pl), "encode...
/tests/testthat/test-decode_pl.R
permissive
SymbolixAU/googleway
R
false
false
1,316
r
context("decode pl") test_that("polyline decoded correctly", { pl <- "nnseFmpzsZgalNytrXetrG}krKsaif@kivIccvzAvvqfClp~uBlymzA~ocQ}_}iCthxo@srst@" expect_equal(nrow(decode_pl(pl)), 8) }) test_that("error message for invalid encoded type", { pl <- c("a","b") expect_error(decode_pl(pl), "encode...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_toggl_clients.R \name{get_toggl_clients} \alias{get_toggl_clients} \title{Get Toggl Clients} \usage{ get_toggl_clients(api_token, workspace_id, user_agent = "api_test") } \value{ a data frame of Toggl clients } \description{ Get Toggl Cli...
/man/get_toggl_clients.Rd
no_license
justinjm/togglR
R
false
true
327
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_toggl_clients.R \name{get_toggl_clients} \alias{get_toggl_clients} \title{Get Toggl Clients} \usage{ get_toggl_clients(api_token, workspace_id, user_agent = "api_test") } \value{ a data frame of Toggl clients } \description{ Get Toggl Cli...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/abortion.R \docType{data} \name{abortion} \alias{abortion} \title{Haberman's Abortion, Education, and Religion Data} \format{ A 3x3x3 (contingency) table } \usage{ data(abortion) } \description{ A multi-way contingency table with the results ...
/man/abortion.Rd
no_license
dkahle/algstat
R
false
true
551
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/abortion.R \docType{data} \name{abortion} \alias{abortion} \title{Haberman's Abortion, Education, and Religion Data} \format{ A 3x3x3 (contingency) table } \usage{ data(abortion) } \description{ A multi-way contingency table with the results ...
########################################################################################## # Create DoE Effect figure (Set focus and set uninteresting) # Set switch 'nointeractioneffects' to TRUE to show only single effects # (applies to focus set only). # # Project: Pub_SIRIOS # Last update: 23/08/2016 # Auth...
/config/R/_setA/_RegGlobMax/reports/720-735/sirios_doDoE_effects_selectedMetrics.R
no_license
CRAFTY-ABM/Pub_SIRIOS
R
false
false
10,128
r
########################################################################################## # Create DoE Effect figure (Set focus and set uninteresting) # Set switch 'nointeractioneffects' to TRUE to show only single effects # (applies to focus set only). # # Project: Pub_SIRIOS # Last update: 23/08/2016 # Auth...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/lgcpMethods.R \name{gridfun.lgcpPredict} \alias{gridfun.lgcpPredict} \title{gridfun.lgcpPredict function} \usage{ \method{gridfun}{lgcpPredict}(obj, ...) } \arguments{ \item{obj}{an object of class lgcpPredict} \item{...}{additional ...
/man/gridfun.lgcpPredict.Rd
no_license
bentaylor1/lgcp
R
false
false
664
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/lgcpMethods.R \name{gridfun.lgcpPredict} \alias{gridfun.lgcpPredict} \title{gridfun.lgcpPredict function} \usage{ \method{gridfun}{lgcpPredict}(obj, ...) } \arguments{ \item{obj}{an object of class lgcpPredict} \item{...}{additional ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/create_dummmies.R \name{create_dummies} \alias{create_dummies} \title{create dummies} \usage{ create_dummies( .data, ..., append_col_name = TRUE, max_levels = 10L, remove_first_dummy = FALSE, remove_most_frequent_dummy = FALSE, ...
/man/create_dummies.Rd
no_license
cran/framecleaner
R
false
true
1,566
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/create_dummmies.R \name{create_dummies} \alias{create_dummies} \title{create dummies} \usage{ create_dummies( .data, ..., append_col_name = TRUE, max_levels = 10L, remove_first_dummy = FALSE, remove_most_frequent_dummy = FALSE, ...
var.rdf <- function(x, var.rb, limit) { dif <- 100 * abs(var.rb - cor(x)) big <- dif > limit leq <- dif <= limit dif[big] <- '*' dif[leq] <- '' diag(dif) <- '-' var.rd <- dif dimnames(var.rd) <- list(dimnames(x)[[2]], d...
/R/var.rdf.R
no_license
cran/bpca
R
false
false
376
r
var.rdf <- function(x, var.rb, limit) { dif <- 100 * abs(var.rb - cor(x)) big <- dif > limit leq <- dif <= limit dif[big] <- '*' dif[leq] <- '' diag(dif) <- '-' var.rd <- dif dimnames(var.rd) <- list(dimnames(x)[[2]], d...
#'--- #' title: "PASS1A Rat Tissue: -- Modeling of RNASeq Data Expression" #' author: "Alec Steep & Jiayu Zhang (Code copied and adapted from Jun Z. Li)" #' date: "20200505" #' output: #' html_document: #' code_folding: hide #' toc: true #' highlight: zenburn #' #'--- #+ setup, includ...
/scripts/20200505_rnaseq-tissue-model-circadian-exercise_steep.R
no_license
steepale/20200309_rna-seq_steep
R
false
false
55,921
r
#'--- #' title: "PASS1A Rat Tissue: -- Modeling of RNASeq Data Expression" #' author: "Alec Steep & Jiayu Zhang (Code copied and adapted from Jun Z. Li)" #' date: "20200505" #' output: #' html_document: #' code_folding: hide #' toc: true #' highlight: zenburn #' #'--- #+ setup, includ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/methods_s4.R \name{generic_s4_code} \alias{generic_s4_code} \title{Generates the S4 generic definition} \usage{ generic_s4_code(methods) } \arguments{ \item{methods}{the methods list. something like `tensor_methods() %>% declaration_with_name...
/tools/torchgen/man/generic_s4_code.Rd
permissive
dfalbel/torch
R
false
true
384
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/methods_s4.R \name{generic_s4_code} \alias{generic_s4_code} \title{Generates the S4 generic definition} \usage{ generic_s4_code(methods) } \arguments{ \item{methods}{the methods list. something like `tensor_methods() %>% declaration_with_name...
#' eq_map #' @importFrom leaflet addCircleMarkers #' @importFrom leaflet addTiles #' @importFrom leaflet leaflet #' @param data data #' @param annot_col name of the HTML column #' @return A leaflet map with earthquakes and annotations. #' @examples #' \dontrun{eq_map(eq,"name")} #' @export eq_map <- function(data, ann...
/R/eq_map.R
permissive
A0791298/CourseraCapstone
R
false
false
1,196
r
#' eq_map #' @importFrom leaflet addCircleMarkers #' @importFrom leaflet addTiles #' @importFrom leaflet leaflet #' @param data data #' @param annot_col name of the HTML column #' @return A leaflet map with earthquakes and annotations. #' @examples #' \dontrun{eq_map(eq,"name")} #' @export eq_map <- function(data, ann...
local({ ## Helper function to get the path to the library directory for a ## given packrat project. getPackratLibDir <- function(projDir = NULL) { path <- file.path("packrat", "lib", R.version$platform, getRversion()) if (!is.null(projDir)) { ## Strip trailing slashes if necessary projDir <...
/packrat/init.R
no_license
allanbeto/Exploratory_Data_Analysis_in_R_Case_Study
R
false
false
8,306
r
local({ ## Helper function to get the path to the library directory for a ## given packrat project. getPackratLibDir <- function(projDir = NULL) { path <- file.path("packrat", "lib", R.version$platform, getRversion()) if (!is.null(projDir)) { ## Strip trailing slashes if necessary projDir <...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/drive_functions.R \name{files.update} \alias{files.update} \title{Updates file metadata and/or content.} \usage{ files.update(File, fileId, addParents = NULL, convert = NULL, modifiedDateBehavior = NULL, newRevision = NULL, ocr = NULL, oc...
/googledrivev2.auto/man/files.update.Rd
permissive
Phippsy/autoGoogleAPI
R
false
true
2,933
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/drive_functions.R \name{files.update} \alias{files.update} \title{Updates file metadata and/or content.} \usage{ files.update(File, fileId, addParents = NULL, convert = NULL, modifiedDateBehavior = NULL, newRevision = NULL, ocr = NULL, oc...
testlist <- list(phi = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = c(1.36656528938164e-311, -1.657912...
/dcurver/inst/testfiles/ddc/AFL_ddc/ddc_valgrind_files/1609867675-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
830
r
testlist <- list(phi = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = c(1.36656528938164e-311, -1.657912...
## code to fix mis-matches between man_fsetid columns in what will become featureSet and pmfeature tables fixManFsetid <- function(prbInfo, prb.table){ tmp <- prb.table[,c("man_fsetid","fsetid")] tmp <- tmp[!duplicated(tmp$man_fsetid),] if(!all(prbInfo$man_fsetid %in% tmp$man_fsetid)){ ind <- prbInf...
/R/pdBuilderV2HTA2.R
no_license
benilton/pdInfoBuilder
R
false
false
17,989
r
## code to fix mis-matches between man_fsetid columns in what will become featureSet and pmfeature tables fixManFsetid <- function(prbInfo, prb.table){ tmp <- prb.table[,c("man_fsetid","fsetid")] tmp <- tmp[!duplicated(tmp$man_fsetid),] if(!all(prbInfo$man_fsetid %in% tmp$man_fsetid)){ ind <- prbInf...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/StyleDefaults.R \name{setNodeCustomRadialGradient} \alias{setNodeCustomRadialGradient} \title{Set Node Custom Radial Gradient} \usage{ setNodeCustomRadialGradient(colors = c("#DDDDDD", "#888888"), anchors = c(0, 1), xCenter = 0.5, yCenter =...
/man/setNodeCustomRadialGradient.Rd
permissive
shraddhapai/RCy3
R
false
true
1,350
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/StyleDefaults.R \name{setNodeCustomRadialGradient} \alias{setNodeCustomRadialGradient} \title{Set Node Custom Radial Gradient} \usage{ setNodeCustomRadialGradient(colors = c("#DDDDDD", "#888888"), anchors = c(0, 1), xCenter = 0.5, yCenter =...
mccov <- function(S,X1=NULL,X2=NULL, yv=rep(1,nrow(S)), start=0,tol=10^-8,maxit=1000, out_se=FALSE,output=FALSE,fort=TRUE){ # Preliminaries check_der = FALSE # to check derivatives n = sum(yv) sS = dim(S) ns = sS[1] TT = sS[2] b = max(S) # Covaria...
/R/mccov.R
no_license
cran/LMest
R
false
false
5,282
r
mccov <- function(S,X1=NULL,X2=NULL, yv=rep(1,nrow(S)), start=0,tol=10^-8,maxit=1000, out_se=FALSE,output=FALSE,fort=TRUE){ # Preliminaries check_der = FALSE # to check derivatives n = sum(yv) sS = dim(S) ns = sS[1] TT = sS[2] b = max(S) # Covaria...
## code to prepare `pvdiv_metadata` dataset goes here ## pvdiv_metadata <- readRDS("~/Github/pvdiv-phenotypes/data/metadata.rds") usethis::use_data(pvdiv_metadata, overwrite = TRUE)
/data-raw/pvdiv_metadata.R
no_license
Alice-MacQueen/switchgrassGWAS
R
false
false
183
r
## code to prepare `pvdiv_metadata` dataset goes here ## pvdiv_metadata <- readRDS("~/Github/pvdiv-phenotypes/data/metadata.rds") usethis::use_data(pvdiv_metadata, overwrite = TRUE)