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
install.packages("readxl") install.packages("devtools") install.packages("dpylr") install.packages("tidyverse") install.packages("ggplot2") install.packages("kernlab") install.packages('caret') library("tidyverse") library("caret") library("readxl") library("dplyr") library("ggplot2") library("tools") library("kernlab"...
/UCI Cardiotocography Prediction.R
no_license
madisontagg/Cardiotocography-Fetal-State-Prediction
R
false
false
5,087
r
install.packages("readxl") install.packages("devtools") install.packages("dpylr") install.packages("tidyverse") install.packages("ggplot2") install.packages("kernlab") install.packages('caret') library("tidyverse") library("caret") library("readxl") library("dplyr") library("ggplot2") library("tools") library("kernlab"...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1516039 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1516039 c c Input Parameter (command line, file): c input filename QBFLIB/Miller-Marin/fpu/fpu-10Xh-error01-nonuniform-depth...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Miller-Marin/fpu/fpu-10Xh-error01-nonuniform-depth-21/fpu-10Xh-error01-nonuniform-depth-21.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
693
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1516039 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1516039 c c Input Parameter (command line, file): c input filename QBFLIB/Miller-Marin/fpu/fpu-10Xh-error01-nonuniform-depth...
#Part1 suppressPackageStartupMessages(library(ggplot2)) suppressPackageStartupMessages(library(plyr)) suppressPackageStartupMessages(library(dplyr)) suppressPackageStartupMessages(library(sirt)) args = commandArgs(trailingOnly=TRUE) # test if there is at least one argument: if not, return an error if (length(args)==0) ...
/AIDD/ExToolset/scripts/guttman.R
no_license
RNAdetective/AIDD
R
false
false
1,016
r
#Part1 suppressPackageStartupMessages(library(ggplot2)) suppressPackageStartupMessages(library(plyr)) suppressPackageStartupMessages(library(dplyr)) suppressPackageStartupMessages(library(sirt)) args = commandArgs(trailingOnly=TRUE) # test if there is at least one argument: if not, return an error if (length(args)==0) ...
## Extract results of interest, write TAF output tables ## Before: data/ ## summary.csv ## After: output/ ## sag_upload.xml, ## sag_info.csv, ## sag_fishdata.csv library(icesTAF) library(icesSAG) mkdir("output") # read in summary data summary <- read.taf("data/summary_catch.csv"...
/output.R
no_license
ices-taf/2019_san.sa.6
R
false
false
864
r
## Extract results of interest, write TAF output tables ## Before: data/ ## summary.csv ## After: output/ ## sag_upload.xml, ## sag_info.csv, ## sag_fishdata.csv library(icesTAF) library(icesSAG) mkdir("output") # read in summary data summary <- read.taf("data/summary_catch.csv"...
RiskControl=function(status){ #cache space memory.limit(10240000) today<-Sys.Date() #library# library(DBI) library(RMySQL) library(lubridate) library(reshape) #get data# #connet MySQL con = dbConnect( dbDriver("MySQL"), #user = username, #password= password, ...
/src/main/resources/RiskControl.R
permissive
shimaomao/fpd
R
false
false
16,516
r
RiskControl=function(status){ #cache space memory.limit(10240000) today<-Sys.Date() #library# library(DBI) library(RMySQL) library(lubridate) library(reshape) #get data# #connet MySQL con = dbConnect( dbDriver("MySQL"), #user = username, #password= password, ...
vehicbaltnei<-vehicnei[vehicnei$fips==24510,] vehicbaltnei$city<-"Baltimore City" vehicLAnei<-vehicnei[vehicnei$fips=="06037",] vehicLAnei$city<-"Los Angeles County" bothNEI<-rbind(vehiclesBaltimoreNEI,vehiclesLANEI) library(ggplot2) plot6<-ggplot(bothNEI,aes(x=factor(year),y=(Emissions/1000),fill=city)) + geom_bar(a...
/plot6.R
no_license
thayanlima/ExploratoryDataCourseProject2
R
false
false
582
r
vehicbaltnei<-vehicnei[vehicnei$fips==24510,] vehicbaltnei$city<-"Baltimore City" vehicLAnei<-vehicnei[vehicnei$fips=="06037",] vehicLAnei$city<-"Los Angeles County" bothNEI<-rbind(vehiclesBaltimoreNEI,vehiclesLANEI) library(ggplot2) plot6<-ggplot(bothNEI,aes(x=factor(year),y=(Emissions/1000),fill=city)) + geom_bar(a...
library(shiny) # Load the data on school usage and teacher logins # into a dataframe, "schools". load("./Data/schools.RData") # Calculate a linear model for predicting "hours" from "logins" fit<-lm(hours ~ logins, data=schools) shinyServer(function(input, output) { # plot hours against logins ...
/server.R
no_license
iargent/dataprodass
R
false
false
1,733
r
library(shiny) # Load the data on school usage and teacher logins # into a dataframe, "schools". load("./Data/schools.RData") # Calculate a linear model for predicting "hours" from "logins" fit<-lm(hours ~ logins, data=schools) shinyServer(function(input, output) { # plot hours against logins ...
########## Exemplo Recuperacao de Imagens ########## ## pacotes ## library(tidyverse) library(magrittr) library(reticulate) use_python('/usr/local/bin/python3.6') library(keras) library(Matrix) library(NMF) library(NNLM) ## carrega imagem ## imagem <- image_load( path = '/home/vm-data-science/education/dados/scallet....
/R_scripts/exemplo_recuperacao_imagem.R
no_license
netoalcides/education
R
false
false
2,189
r
########## Exemplo Recuperacao de Imagens ########## ## pacotes ## library(tidyverse) library(magrittr) library(reticulate) use_python('/usr/local/bin/python3.6') library(keras) library(Matrix) library(NMF) library(NNLM) ## carrega imagem ## imagem <- image_load( path = '/home/vm-data-science/education/dados/scallet....
#!/usr/bin/env Rscript # Author: Eva Linehan # Date: October 2018 # Desc: This script calculates heights of trees from a given .csv file and outputs # the result in the following format; "InputFileName_treeheights.csv" #clear environments rm(list=ls()) # The height is calculated bu using the given distance of each t...
/Week3/Code/get_TreeHeight.R
no_license
EvalImperialforces/CMEECourseWork
R
false
false
1,637
r
#!/usr/bin/env Rscript # Author: Eva Linehan # Date: October 2018 # Desc: This script calculates heights of trees from a given .csv file and outputs # the result in the following format; "InputFileName_treeheights.csv" #clear environments rm(list=ls()) # The height is calculated bu using the given distance of each t...
#Ryan Batt #23 April 2011 #What is POM made of? #Given POM, what is a consumer made of? #The purpose of this script is first calculate the constituent components of Ward POM from the summer of 2010. #Next, I will determine the composition of a consumer. #I begin with the simplifying assumption that POM is made of terre...
/oldScripts/Cons_Mixture_Ward2010&2012_v0.2.0.R
no_license
rBatt/DarkenedLake
R
false
false
35,554
r
#Ryan Batt #23 April 2011 #What is POM made of? #Given POM, what is a consumer made of? #The purpose of this script is first calculate the constituent components of Ward POM from the summer of 2010. #Next, I will determine the composition of a consumer. #I begin with the simplifying assumption that POM is made of terre...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generics.R \name{plotLocalScalingExp} \alias{plotLocalScalingExp} \title{Plot local scaling exponents} \usage{ plotLocalScalingExp(x, ...) } \arguments{ \item{x}{An object containing all the information needed for the estimate of the chaotic ...
/man/plotLocalScalingExp.Rd
no_license
constantino-garcia/nonlinearTseries
R
false
true
667
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generics.R \name{plotLocalScalingExp} \alias{plotLocalScalingExp} \title{Plot local scaling exponents} \usage{ plotLocalScalingExp(x, ...) } \arguments{ \item{x}{An object containing all the information needed for the estimate of the chaotic ...
#DATASETS dDO R data('mtcars') dim(mtcars) fix(mtcars) View(mtcars) summary(mtcars) help(mtcars) #CARREGANDO DE UM XLS, XLSX install.packages('gdata', dependencies = T) install.packages('gtools', dependencies = T) library('gdata') #CAMINHO DE ONDE ESTA O ARQUIVO EXCEL arquivo <- file.path('teste4.xlsx') arq...
/aula02/entrada_arquivo2.R
no_license
yorae39/IA-COTI
R
false
false
893
r
#DATASETS dDO R data('mtcars') dim(mtcars) fix(mtcars) View(mtcars) summary(mtcars) help(mtcars) #CARREGANDO DE UM XLS, XLSX install.packages('gdata', dependencies = T) install.packages('gtools', dependencies = T) library('gdata') #CAMINHO DE ONDE ESTA O ARQUIVO EXCEL arquivo <- file.path('teste4.xlsx') arq...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/link_function.R \name{func_link} \alias{func_link} \title{Link functions} \usage{ func_link(link) } \arguments{ \item{link}{the link function} } \value{ A list of functions subject to a link function } \description{ This function includes nec...
/man/func_link.Rd
no_license
YuqiTian35/multipledls
R
false
true
369
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/link_function.R \name{func_link} \alias{func_link} \title{Link functions} \usage{ func_link(link) } \arguments{ \item{link}{the link function} } \value{ A list of functions subject to a link function } \description{ This function includes nec...
options(repos<- c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/") ) options("BioC_mirror"<- "https://mirrors.ustc.edu.cn/bioc/") install.packages(c("devtools","curl")) ##Installs devtools and the MCPcounter dependancy 'curl' library(devtools) install_github("ebecht/MCPcounter",ref="master", subdir="Source") librar...
/MCPcounter.R
no_license
addisonli1988/2021.5.31
R
false
false
498
r
options(repos<- c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/") ) options("BioC_mirror"<- "https://mirrors.ustc.edu.cn/bioc/") install.packages(c("devtools","curl")) ##Installs devtools and the MCPcounter dependancy 'curl' library(devtools) install_github("ebecht/MCPcounter",ref="master", subdir="Source") librar...
library("dplyr") library("ggplot2") #colsToKeep = c("ST", "JWMNP", "JWTR", "WKHP", "WKW", "JWAP", "JWDP", "PWGTP") #pusa <- fread("D:/CU/4249_Data/Project_1/ss13pusa.csv", select = colsToKeep) #pusb <- fread("D:/CU/4249_Data/Project_1/ss13pusb.csv", select = colsToKeep) #WorkData <- rbind(pusa, pusb) #rm(pusa, ...
/lib/work.R
no_license
TZstatsADS/Spr2016-Proj1-Grp8-InteractiveGraphs
R
false
false
1,921
r
library("dplyr") library("ggplot2") #colsToKeep = c("ST", "JWMNP", "JWTR", "WKHP", "WKW", "JWAP", "JWDP", "PWGTP") #pusa <- fread("D:/CU/4249_Data/Project_1/ss13pusa.csv", select = colsToKeep) #pusb <- fread("D:/CU/4249_Data/Project_1/ss13pusb.csv", select = colsToKeep) #WorkData <- rbind(pusa, pusb) #rm(pusa, ...
#' Annotator.annotate #' #' Annotate a data table/frame with additional fields. #' #' @param records The data table or data frame to annotate. #' @param fields The fields to add. #' @param include_errors Set to TRUE to include errors in the output (default: FALSE). #' @param raw Set to TRUE to return the raw response (...
/R/annotation.R
no_license
stevekm/solvebio-r
R
false
false
2,166
r
#' Annotator.annotate #' #' Annotate a data table/frame with additional fields. #' #' @param records The data table or data frame to annotate. #' @param fields The fields to add. #' @param include_errors Set to TRUE to include errors in the output (default: FALSE). #' @param raw Set to TRUE to return the raw response (...
testlist <- list(x = structure(c(2.61830011167902e+122, 2.61823523897988e+122, 1.39804328609529e-76, 1.39804328609529e-76, 1.39804328609529e-76, 1.39804328609529e-76, 1.39804328609529e-76, 1.4119288904388e-76, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 3L))) result <- do.call(borrowr:::matchesToCor,testlist) str(result)
/borrowr/inst/testfiles/matchesToCor/libFuzzer_matchesToCor/matchesToCor_valgrind_files/1609957930-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
316
r
testlist <- list(x = structure(c(2.61830011167902e+122, 2.61823523897988e+122, 1.39804328609529e-76, 1.39804328609529e-76, 1.39804328609529e-76, 1.39804328609529e-76, 1.39804328609529e-76, 1.4119288904388e-76, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 3L))) result <- do.call(borrowr:::matchesToCor,testlist) str(result)
# exploratory data analytics library(tidyverse) library(echarts4r) # load data datacuaca_aus = readr::read_csv(file = "data/mentah/weather AUS.csv") # Rangkuman umum ------------------------- ## Mengetahui isi data glimpse(datacuaca_aus) summary(datacuaca_aus) ## Memvisualisasikan Distribusi ------------------- ## v...
/script1/latihan hari 5a.R
no_license
eppofahmi/hujanetc
R
false
false
581
r
# exploratory data analytics library(tidyverse) library(echarts4r) # load data datacuaca_aus = readr::read_csv(file = "data/mentah/weather AUS.csv") # Rangkuman umum ------------------------- ## Mengetahui isi data glimpse(datacuaca_aus) summary(datacuaca_aus) ## Memvisualisasikan Distribusi ------------------- ## v...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/codingSchemes_get_all.R \name{codingSchemes_get_all} \alias{codingSchemes_get_all} \title{Convenience function to get a list of all available coding schemes} \usage{ codingSchemes_get_all() } \value{ A list of all available coding sc...
/man/codingSchemes_get_all.Rd
no_license
cran/rock
R
false
true
463
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/codingSchemes_get_all.R \name{codingSchemes_get_all} \alias{codingSchemes_get_all} \title{Convenience function to get a list of all available coding schemes} \usage{ codingSchemes_get_all() } \value{ A list of all available coding sc...
args <- commandArgs(T) profile.all <- read.table(args[1], head = T, check.names = F) group <- read.table(args[2], head = F, check.names = F) pvalue <- read.table(args[3], head = T, check.names = F) enrich <- levels(pvalue[, ncol(pvalue)]) profile.a <- profile.all[as.vector(pvalue[which(pvalue[, ncol(pvalue)...
/bin/12.cazy/diff_plot.R
no_license
ms201420201029/real_metagenome_pipeline
R
false
false
3,120
r
args <- commandArgs(T) profile.all <- read.table(args[1], head = T, check.names = F) group <- read.table(args[2], head = F, check.names = F) pvalue <- read.table(args[3], head = T, check.names = F) enrich <- levels(pvalue[, ncol(pvalue)]) profile.a <- profile.all[as.vector(pvalue[which(pvalue[, ncol(pvalue)...
testlist <- list(cost = structure(c(1.44888560957826e+135, 1.6249392498385e+65, 5.27956628994611e-134, 1.56839475268612e-251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 5L)), flow = structure(c(3.80768289350145e+125, 8.58414828913381e+155, 3.37787969964034e+43, 2.83184518248624e-19...
/epiphy/inst/testfiles/costTotCPP/AFL_costTotCPP/costTotCPP_valgrind_files/1615926912-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
1,101
r
testlist <- list(cost = structure(c(1.44888560957826e+135, 1.6249392498385e+65, 5.27956628994611e-134, 1.56839475268612e-251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 5L)), flow = structure(c(3.80768289350145e+125, 8.58414828913381e+155, 3.37787969964034e+43, 2.83184518248624e-19...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/MAGNAMWAR.R \name{download_packages} \alias{download_packages} \title{Download Requried Packages} \usage{ download_packages() } \description{ Automatically downloads all the required packages for full analysis }
/man/download_packages.Rd
no_license
chaston-lab/MAGNAMWAR
R
false
false
299
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/MAGNAMWAR.R \name{download_packages} \alias{download_packages} \title{Download Requried Packages} \usage{ download_packages() } \description{ Automatically downloads all the required packages for full analysis }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getA.R \name{getA} \alias{getA} \title{\code{applyFilters} - Extracts the "a" parameter from occupancy model outputs.} \usage{ getA( indata = "../data/model_runs/", keep, REGION_IN_Q = "a", group_name = "", combined_output = TRUE, ...
/man/getA.Rd
no_license
EllieDyer/wrappeR
R
false
true
803
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getA.R \name{getA} \alias{getA} \title{\code{applyFilters} - Extracts the "a" parameter from occupancy model outputs.} \usage{ getA( indata = "../data/model_runs/", keep, REGION_IN_Q = "a", group_name = "", combined_output = TRUE, ...
# Part of the varbvs package, https://github.com/pcarbo/varbvs # # Copyright (C) 2012-2017, Peter Carbonetto # # This program is free software: you can redistribute it under the # terms of the GNU General Public License; either version 3 of the # License, or (at your option) any later version. # # This program ...
/code/tgen_probitpve.R
no_license
vivid-/T-GEN
R
false
false
2,118
r
# Part of the varbvs package, https://github.com/pcarbo/varbvs # # Copyright (C) 2012-2017, Peter Carbonetto # # This program is free software: you can redistribute it under the # terms of the GNU General Public License; either version 3 of the # License, or (at your option) any later version. # # This program ...
# Unit 4 - "Judge, Jury, and Classifier" Lecture # VIDEO 4 # Read in the data stevens = read.csv("stevens.csv") str(stevens) # Split the data library(caTools) set.seed(3000) spl = sample.split(stevens$Reverse, SplitRatio = 0.7) Train = subset(stevens, spl==TRUE) Test = subset(stevens, spl==FALSE) # Install rpart l...
/Unit4_SupremeCourt.R
no_license
marlonglopes/RTests
R
false
false
2,722
r
# Unit 4 - "Judge, Jury, and Classifier" Lecture # VIDEO 4 # Read in the data stevens = read.csv("stevens.csv") str(stevens) # Split the data library(caTools) set.seed(3000) spl = sample.split(stevens$Reverse, SplitRatio = 0.7) Train = subset(stevens, spl==TRUE) Test = subset(stevens, spl==FALSE) # Install rpart l...
library(shiny) clicksUI <- function(id) { ns <- shiny::NS(id) div(id = "module_content", style = "background-color: #c9d8f0; width: 200px; padding: 5px", actionButton(ns('local_counter'), "I'm inside the module"), textOutput(ns("local_clicks")) ) } clicksModule <- function(input, output, session, lo...
/before.R
no_license
Appsilon/dynamic-shiny-modules
R
false
false
1,848
r
library(shiny) clicksUI <- function(id) { ns <- shiny::NS(id) div(id = "module_content", style = "background-color: #c9d8f0; width: 200px; padding: 5px", actionButton(ns('local_counter'), "I'm inside the module"), textOutput(ns("local_clicks")) ) } clicksModule <- function(input, output, session, lo...
\name{pitch_value_contour} \alias{pitch_value_contour} \title{ Pitch Value Contour Plot } \description{ Constructs pitch value contour plot } \usage{ pitch_value_contour(df, L = seq(-0.2, 0.2, by = 0.01), title = "Pitch Value", NCOL = 2) } \argume...
/man/pitch_value_contour.Rd
no_license
bayesball/CalledStrike
R
false
false
689
rd
\name{pitch_value_contour} \alias{pitch_value_contour} \title{ Pitch Value Contour Plot } \description{ Constructs pitch value contour plot } \usage{ pitch_value_contour(df, L = seq(-0.2, 0.2, by = 0.01), title = "Pitch Value", NCOL = 2) } \argume...
#' Add dev_history.Rmd file that drives package development #' #' @param pkg Path where to save file #' @param overwrite Whether to overwrite existing dev_history.Rmd file #' @param open Logical. Whether to open file after creation #' @param dev_dir Name of directory for development Rmarkdown files. Default to "dev". #...
/R/add_dev_history.R
permissive
ALanguillaume/fusen
R
false
false
4,828
r
#' Add dev_history.Rmd file that drives package development #' #' @param pkg Path where to save file #' @param overwrite Whether to overwrite existing dev_history.Rmd file #' @param open Logical. Whether to open file after creation #' @param dev_dir Name of directory for development Rmarkdown files. Default to "dev". #...
# Support Vector Classifier set.seed(1) x = matrix(rnorm(20*2), ncol = 2) y = c(rep(-1,10), rep(1,10)) x[y==1, ]=x[y==1,]+1 plot(x, col = (3-y)) dat = data.frame(x = x, y = as.factor(y)) library(e1071) svmfit = svm(y~., data=dat, kernel = "linear", cost = 10, sclae = FALSE) plot(svmfit, dat) svmfit$inde...
/SVM.R
no_license
ajayarunachalam/Statistical_Learning
R
false
false
3,863
r
# Support Vector Classifier set.seed(1) x = matrix(rnorm(20*2), ncol = 2) y = c(rep(-1,10), rep(1,10)) x[y==1, ]=x[y==1,]+1 plot(x, col = (3-y)) dat = data.frame(x = x, y = as.factor(y)) library(e1071) svmfit = svm(y~., data=dat, kernel = "linear", cost = 10, sclae = FALSE) plot(svmfit, dat) svmfit$inde...
#Install if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager') BiocManager::install('EnhancedVolcano') #Load package library(EnhancedVolcano) #CONVERT logFC from Seurat output (natural log) to Log2 value #Read in CSV DEdata<-read.csv("Z:/Documents/Grad School/Data/Sequencing Proje...
/DE_enhancedVolcano_051920.R
no_license
whtns/ds_scripts
R
false
false
900
r
#Install if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager') BiocManager::install('EnhancedVolcano') #Load package library(EnhancedVolcano) #CONVERT logFC from Seurat output (natural log) to Log2 value #Read in CSV DEdata<-read.csv("Z:/Documents/Grad School/Data/Sequencing Proje...
library(wrapr) ### Name: apply_right.default ### Title: Default apply_right implementation. ### Aliases: apply_right.default ### ** Examples # simulate a function pointer apply_right.list <- function(pipe_left_arg, pipe_right_arg, pipe_environment, ...
/data/genthat_extracted_code/wrapr/examples/apply_right.default.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
532
r
library(wrapr) ### Name: apply_right.default ### Title: Default apply_right implementation. ### Aliases: apply_right.default ### ** Examples # simulate a function pointer apply_right.list <- function(pipe_left_arg, pipe_right_arg, pipe_environment, ...
library(humanleague) ### Name: qisi ### Title: QIS-IPF ### Aliases: qisi ### ** Examples ageByGender = array(c(1,2,5,3,4,3,4,5,1,2), dim=c(5,2)) ethnicityByGender = array(c(4,6,5,6,4,5), dim=c(3,2)) seed = array(rep(1,30), dim=c(5,2,3)) result = qisi(seed, list(c(1,2), c(3,2)), list(ageByGender, ethnicityByGender))...
/data/genthat_extracted_code/humanleague/examples/qisi.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
324
r
library(humanleague) ### Name: qisi ### Title: QIS-IPF ### Aliases: qisi ### ** Examples ageByGender = array(c(1,2,5,3,4,3,4,5,1,2), dim=c(5,2)) ethnicityByGender = array(c(4,6,5,6,4,5), dim=c(3,2)) seed = array(rep(1,30), dim=c(5,2,3)) result = qisi(seed, list(c(1,2), c(3,2)), list(ageByGender, ethnicityByGender))...
print.aep <- function(x, ...) { ### summarising aep object information cat("\n\tAnnual energy production\n\n") tbl.units <- data.frame(t(names(x$aep))) tbl.units[,] <- paste0("[", attr(x$aep[,3], "unit"), "]") tbl.units[,1] <- paste0("[", attr(x$aep[,1], "unit"), "]") tbl.units[,2] <- paste0("[", attr(x$aep[,2]...
/R/print.aep.R
no_license
paulponcet/bReeze
R
false
false
1,092
r
print.aep <- function(x, ...) { ### summarising aep object information cat("\n\tAnnual energy production\n\n") tbl.units <- data.frame(t(names(x$aep))) tbl.units[,] <- paste0("[", attr(x$aep[,3], "unit"), "]") tbl.units[,1] <- paste0("[", attr(x$aep[,1], "unit"), "]") tbl.units[,2] <- paste0("[", attr(x$aep[,2]...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/process_wilcox.R \name{process_wilcox} \alias{process_wilcox} \title{Process the DAF analysis through a wilcoxon test} \usage{ process_wilcox(data, ...) } \arguments{ \item{data}{the ouput of the \code{\link{build_DAF_data}} function...
/man/process_wilcox.Rd
no_license
leonarDubois/metaDAF
R
false
true
506
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/process_wilcox.R \name{process_wilcox} \alias{process_wilcox} \title{Process the DAF analysis through a wilcoxon test} \usage{ process_wilcox(data, ...) } \arguments{ \item{data}{the ouput of the \code{\link{build_DAF_data}} function...
# Kernel PCA # Importing the dataset dataset = read.csv(paste(getwd(), '/datasets/Social_Network_Ads.csv', sep = "")) dataset = dataset[, 3:5] # Splitting the dataset into the Training set and Test set # install.packages('caTools') library(caTools) set.seed(123) split = sample.split(dataset$Purchased, SplitRatio = 0....
/kernel_pca.R
no_license
prathameshbhirud/R-machine-learning-code-samples-with-sample-datasets
R
false
false
2,831
r
# Kernel PCA # Importing the dataset dataset = read.csv(paste(getwd(), '/datasets/Social_Network_Ads.csv', sep = "")) dataset = dataset[, 3:5] # Splitting the dataset into the Training set and Test set # install.packages('caTools') library(caTools) set.seed(123) split = sample.split(dataset$Purchased, SplitRatio = 0....
print("TO BE DONE MANUALLY") print("Before running the scripts make sure you have <<sqldf>> package installed ") print( "This package will be used while loading the dataset subset <<read.csv.sql>>") data <- read.csv.sql("household_power_consumption.txt", sql = "SELECT * from file WHERE Date in ('1/2/2007', '2/2/2007')...
/plot2.R
no_license
ndekwe/ExData_Plotting1
R
false
false
969
r
print("TO BE DONE MANUALLY") print("Before running the scripts make sure you have <<sqldf>> package installed ") print( "This package will be used while loading the dataset subset <<read.csv.sql>>") data <- read.csv.sql("household_power_consumption.txt", sql = "SELECT * from file WHERE Date in ('1/2/2007', '2/2/2007')...
#' Correlation Plot Function #' #' This function returns a correlation plot for all continuous numeric variables in a given year. #' #' @param year Takes a 4 digit year between 1950 and 2017 #' @keywords NBA basketball correlation #' @export #' @examples #' corr_plot(1987) corr_plot <- function(year){ corr_data <- d...
/R/corr_plot.R
no_license
TheStreett/NBA.Search
R
false
false
554
r
#' Correlation Plot Function #' #' This function returns a correlation plot for all continuous numeric variables in a given year. #' #' @param year Takes a 4 digit year between 1950 and 2017 #' @keywords NBA basketball correlation #' @export #' @examples #' corr_plot(1987) corr_plot <- function(year){ corr_data <- d...
##Name- Janki Patel ##CWID - 10457365 ##subject - Knowledge discovery and data mining ##Class- CS513-A ##MidTerm_Exam rm(list=ls()) ChooseFile<-file.choose() Covid19<-read.csv(ChooseFile) View(Covid19) ## Question 2(I): Summary summary(Covid19) ## Question 2(II): Missing Values MissingValuesCheck <- is.na(Cov...
/kddAssignment/MidExam/Midterm_Exam__Qus_2.r
no_license
janki1997/KDD
R
false
false
1,038
r
##Name- Janki Patel ##CWID - 10457365 ##subject - Knowledge discovery and data mining ##Class- CS513-A ##MidTerm_Exam rm(list=ls()) ChooseFile<-file.choose() Covid19<-read.csv(ChooseFile) View(Covid19) ## Question 2(I): Summary summary(Covid19) ## Question 2(II): Missing Values MissingValuesCheck <- is.na(Cov...
source('~/MFweb/data_analysis/10_stats/make_string.R') library(car) library(tidyverse) library(ggpubr) library(rstatix) library(readxl) library(lsr) library(effectsize) library(Hmisc) library("PerformanceAnalytics") library(ppcor) dataMFweb <- read_excel("~/MFweb/data_analysis/10_stats/web_d...
/10_stats/biv_part_corr/main_corr_biv_partial_totalscore.R
no_license
MagDub/MFweb-data_analysis
R
false
false
5,262
r
source('~/MFweb/data_analysis/10_stats/make_string.R') library(car) library(tidyverse) library(ggpubr) library(rstatix) library(readxl) library(lsr) library(effectsize) library(Hmisc) library("PerformanceAnalytics") library(ppcor) dataMFweb <- read_excel("~/MFweb/data_analysis/10_stats/web_d...
# for t0 setwd("C:/Thesis_analysis/Development_corridors/conefor/run_1/inputs/t0") shell("C:/Thesis_analysis/Development_corridors/conefor/run_1/inputs/t0/conefor_1_0_86_bcc_x86.exe -nodeFile nodes_adj_22678839_1.txt -conFile distances_22678839_1.txt -t dist notall -confProb 1682.188314 0.36788 -PC -removal -...
/connefor_run.r
no_license
Konstant1na/Development_corridors
R
false
false
7,069
r
# for t0 setwd("C:/Thesis_analysis/Development_corridors/conefor/run_1/inputs/t0") shell("C:/Thesis_analysis/Development_corridors/conefor/run_1/inputs/t0/conefor_1_0_86_bcc_x86.exe -nodeFile nodes_adj_22678839_1.txt -conFile distances_22678839_1.txt -t dist notall -confProb 1682.188314 0.36788 -PC -removal -...
### plotBrier.R --- #---------------------------------------------------------------------- ## author: Thomas Alexander Gerds ## created: Feb 23 2017 (11:07) ## Version: ## last-updated: Dec 6 2019 (11:18) ## By: Thomas Alexander Gerds ## Update #: 73 #------------------------------------------------...
/R/plotBrier.R
no_license
LoSerigne/riskRegression
R
false
false
11,217
r
### plotBrier.R --- #---------------------------------------------------------------------- ## author: Thomas Alexander Gerds ## created: Feb 23 2017 (11:07) ## Version: ## last-updated: Dec 6 2019 (11:18) ## By: Thomas Alexander Gerds ## Update #: 73 #------------------------------------------------...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/kmdte.R \name{kmdte} \alias{kmdte} \title{Kaplan-Meier Distributional Treatment Effect} \usage{ kmdte(out, delta, treat, ysup = NULL, xpscore, b = 1000, ci = c(0.9, 0.95, 0.99), standardize = TRUE, cores = 1) } \arguments{ \item{out}{vector...
/man/kmdte.Rd
no_license
pedrohcgs/kmte
R
false
true
1,953
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/kmdte.R \name{kmdte} \alias{kmdte} \title{Kaplan-Meier Distributional Treatment Effect} \usage{ kmdte(out, delta, treat, ysup = NULL, xpscore, b = 1000, ci = c(0.9, 0.95, 0.99), standardize = TRUE, cores = 1) } \arguments{ \item{out}{vector...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mock.R \name{mockup} \alias{mockup} \alias{tmp_package} \alias{tmp_golem} \alias{tmp_project} \alias{tmp_ambiorix} \alias{tmp_delete} \title{Mock up} \usage{ tmp_package() tmp_golem() tmp_project() tmp_ambiorix() tmp_delete(tmp) } \argume...
/man/mockup.Rd
permissive
DivadNojnarg/packer
R
false
true
419
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mock.R \name{mockup} \alias{mockup} \alias{tmp_package} \alias{tmp_golem} \alias{tmp_project} \alias{tmp_ambiorix} \alias{tmp_delete} \title{Mock up} \usage{ tmp_package() tmp_golem() tmp_project() tmp_ambiorix() tmp_delete(tmp) } \argume...
source("Functions.R") #Image size = 50 einstein <- readJPEG("Einstein.jpg") %>% scale_image(size*2) %>% spiral_cartesian(spiral_radius = size, num_coils = 50, chord_length = 2, rotation = 0) %>% project_image() #Go-to color set gg_colors <- sel_color <- c( "#9affd0", #Aqua "#ffb5f5", ...
/99_BlogHeader.R
no_license
ryantimpe/SpiralDrawings
R
false
false
1,117
r
source("Functions.R") #Image size = 50 einstein <- readJPEG("Einstein.jpg") %>% scale_image(size*2) %>% spiral_cartesian(spiral_radius = size, num_coils = 50, chord_length = 2, rotation = 0) %>% project_image() #Go-to color set gg_colors <- sel_color <- c( "#9affd0", #Aqua "#ffb5f5", ...
#This document is shared across cobalt, WeightIt, and optweight #Strings word_list <- function(word.list = NULL, and.or = c("and", "or"), is.are = FALSE, quotes = FALSE) { #When given a vector of strings, creates a string of the form "a and b" #or "a, b, and c" #If is.are, adds "is" or "are" appropriately ...
/R/SHARED.R
no_license
Zoe187419/cobalt
R
false
false
37,771
r
#This document is shared across cobalt, WeightIt, and optweight #Strings word_list <- function(word.list = NULL, and.or = c("and", "or"), is.are = FALSE, quotes = FALSE) { #When given a vector of strings, creates a string of the form "a and b" #or "a, b, and c" #If is.are, adds "is" or "are" appropriately ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ses_operations.R \name{ses_create_configuration_set_tracking_options} \alias{ses_create_configuration_set_tracking_options} \title{Creates an association between a configuration set and a custom domain for open and click event tracking} \usag...
/paws/man/ses_create_configuration_set_tracking_options.Rd
permissive
sanchezvivi/paws
R
false
true
1,290
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ses_operations.R \name{ses_create_configuration_set_tracking_options} \alias{ses_create_configuration_set_tracking_options} \title{Creates an association between a configuration set and a custom domain for open and click event tracking} \usag...
# Exercise 1: practice with basic R syntax # Create a variable `hometown` that stores the city in which you were born hometown <- "St. Louis" # Assign your name to the variable `my_name` my_name <- "Mike" # Assign your height (in inches) to a variable `my_height` my_height <- 73.5 # inches # Create a variable `pup...
/chapter-05-exercises/exercise-1/exercise.R
permissive
ITCuw/RLessons-Solutions
R
false
false
915
r
# Exercise 1: practice with basic R syntax # Create a variable `hometown` that stores the city in which you were born hometown <- "St. Louis" # Assign your name to the variable `my_name` my_name <- "Mike" # Assign your height (in inches) to a variable `my_height` my_height <- 73.5 # inches # Create a variable `pup...
#' Method summary for ViSigrid object. #' @title Method \code{summary-ViSigrid} #' @name summary-ViSigrid-method #' @rdname summary-ViSigrid-methods #' @aliases summary,ViSigrid-method #' @exportMethod summary #' @docType methods #' @param object a ViSigrid. #' @return list \itemize{ #' \item{ \strong{ punctua...
/ViSiElse/R/summary.ViSigrid.r
no_license
ingted/R-Examples
R
false
false
4,208
r
#' Method summary for ViSigrid object. #' @title Method \code{summary-ViSigrid} #' @name summary-ViSigrid-method #' @rdname summary-ViSigrid-methods #' @aliases summary,ViSigrid-method #' @exportMethod summary #' @docType methods #' @param object a ViSigrid. #' @return list \itemize{ #' \item{ \strong{ punctua...
getwd() setwd("C:/Users/avon/Documents/R/ndc") cmp1 <- read.csv(file = "saltcmp1.csv", header = TRUE, na.strings=c("","NA"), stringsAsFactors = FALSE) cmp_d2 <- read.csv(file = "dummy2.csv", header = TRUE, na.strings=c("","NA"), stringsAsFactors = FALSE) cmp_d1 <- read.csv(file = "dummy.csv", header = TRUE, na.stri...
/drugup/dummycmp0.R
no_license
gvravi/healapp
R
false
false
754
r
getwd() setwd("C:/Users/avon/Documents/R/ndc") cmp1 <- read.csv(file = "saltcmp1.csv", header = TRUE, na.strings=c("","NA"), stringsAsFactors = FALSE) cmp_d2 <- read.csv(file = "dummy2.csv", header = TRUE, na.strings=c("","NA"), stringsAsFactors = FALSE) cmp_d1 <- read.csv(file = "dummy.csv", header = TRUE, na.stri...
#'@title calcHMFormFactor #' #'@description Calculate form factor (1+k_1) from the Holtrop & Mennen method. #' #'@param maxDraft Maximum summer load line draft (vector of numericals, m) #'@param lwl Waterline length (vector of numericals, m) (see \code{\link{calclwl}}) #'@param breadth Moulded breadth (vector of numeri...
/ShipPowerModel/R/calcHMFormFactor.r
permissive
Misterfluff/Marine_Emissions_Tools
R
false
false
1,876
r
#'@title calcHMFormFactor #' #'@description Calculate form factor (1+k_1) from the Holtrop & Mennen method. #' #'@param maxDraft Maximum summer load line draft (vector of numericals, m) #'@param lwl Waterline length (vector of numericals, m) (see \code{\link{calclwl}}) #'@param breadth Moulded breadth (vector of numeri...
# Set universal variables ----------------------- API_PATH <- paste0("https://app.americansocceranalysis.com/api/v1/", LEAGUE_SCHEMA, "/") # VIOLIN_MINUTES_CUTOFF <- 500 # VIOLIN_HEIGHT <- "450px" # VIOLIN_WIDTH <- "96%" # START_PLAYER <- NA # Dax FIELD_WIDTH <- 80 FIELD_LENGTH <- 115 DATABASE_TIMEZONE <- "America...
/app/global.R
no_license
NlIceD/asa-shiny-app
R
false
false
1,900
r
# Set universal variables ----------------------- API_PATH <- paste0("https://app.americansocceranalysis.com/api/v1/", LEAGUE_SCHEMA, "/") # VIOLIN_MINUTES_CUTOFF <- 500 # VIOLIN_HEIGHT <- "450px" # VIOLIN_WIDTH <- "96%" # START_PLAYER <- NA # Dax FIELD_WIDTH <- 80 FIELD_LENGTH <- 115 DATABASE_TIMEZONE <- "America...
library(dplyr ) # temp cleaning script tree_by_dists <- list.files("./analysis/data/raw_data/tree_splits/", pattern = "berlin_trees_subset", full.names = TRUE) # # Charlottenburg ------------------------------------- # # file_index <- grep("Charlotten...
/R/temp_dcr_script.R
permissive
the-Hull/berlin.trees
R
false
false
5,721
r
library(dplyr ) # temp cleaning script tree_by_dists <- list.files("./analysis/data/raw_data/tree_splits/", pattern = "berlin_trees_subset", full.names = TRUE) # # Charlottenburg ------------------------------------- # # file_index <- grep("Charlotten...
#graphing d <- read.table(file.choose(), header=T, sep="\t",quote='"', row.names=1) #measure1 Frm1DKdatdes.txt d2<-read.table(file.choose(), header=T, sep="\t",quote='"', row.names=1)#measure 2 Frm2DKdatdes.txt h <- read.table(file.choose(), header=T, sep="\t",quote='"', row.names=1) #measure harvest FrmHDKdatdes.txt ...
/draft_code_figures/Frgraphs.R
no_license
kgturner/FranceCG
R
false
false
9,691
r
#graphing d <- read.table(file.choose(), header=T, sep="\t",quote='"', row.names=1) #measure1 Frm1DKdatdes.txt d2<-read.table(file.choose(), header=T, sep="\t",quote='"', row.names=1)#measure 2 Frm2DKdatdes.txt h <- read.table(file.choose(), header=T, sep="\t",quote='"', row.names=1) #measure harvest FrmHDKdatdes.txt ...
## Examine how household energy usage varies over a 2-day period in February, 2007. ## This function creates graphs of Global Active Power, Voltage, Sub meter Power usage and Global reactive power over two day period ## for the dates 1/2/2007 and 2/2/2007 plot4 <- function(){ dataUrl <- "https://d396qusza40orc.cloudf...
/plot4.R
no_license
pdxpro/ExData_Plotting1
R
false
false
1,940
r
## Examine how household energy usage varies over a 2-day period in February, 2007. ## This function creates graphs of Global Active Power, Voltage, Sub meter Power usage and Global reactive power over two day period ## for the dates 1/2/2007 and 2/2/2007 plot4 <- function(){ dataUrl <- "https://d396qusza40orc.cloudf...
rm(list = ls(all = TRUE)) # install the required packges if needed #install.packages("INLA", repos="http://www.math.ntnu.no/inla/R/testing") #install.packages("bigmemory") #install.packages("snow") #install.packages("Rmpi") #install.packages("ade4") #install.packages("sp") #install.packages("BAS") #install.packages("ht...
/examples/Protein Activity Data/Protein activity data pen.r
no_license
aliaksah/EMJMCMC2016
R
false
false
6,806
r
rm(list = ls(all = TRUE)) # install the required packges if needed #install.packages("INLA", repos="http://www.math.ntnu.no/inla/R/testing") #install.packages("bigmemory") #install.packages("snow") #install.packages("Rmpi") #install.packages("ade4") #install.packages("sp") #install.packages("BAS") #install.packages("ht...
library(CreditRisk) ### Name: calibrate.at1p ### Title: AT1P model calibration to market CDS data ### Aliases: calibrate.at1p ### ** Examples calibrate.at1p(V0 = 1, cdsrate = cdsdata$Par.spread, r = cdsdata$ED.Zero.Curve, t = cdsdata$Maturity)
/data/genthat_extracted_code/CreditRisk/examples/calibrate.at1p.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
252
r
library(CreditRisk) ### Name: calibrate.at1p ### Title: AT1P model calibration to market CDS data ### Aliases: calibrate.at1p ### ** Examples calibrate.at1p(V0 = 1, cdsrate = cdsdata$Par.spread, r = cdsdata$ED.Zero.Curve, t = cdsdata$Maturity)
library(motifbreakR) library(BSgenome.Hsapiens.UCSC.hg19) all.variants.df <- readRDS("allVariants.Rds") results <- motifbreakR(snpList = all.variants.df, filterp = TRUE, pwmList = hocomoco, verbose = TRUE, threshold = 1e-4, ...
/fine-mapping/motifbreakr.R
permissive
pwh124/open_chromatin
R
false
false
530
r
library(motifbreakR) library(BSgenome.Hsapiens.UCSC.hg19) all.variants.df <- readRDS("allVariants.Rds") results <- motifbreakR(snpList = all.variants.df, filterp = TRUE, pwmList = hocomoco, verbose = TRUE, threshold = 1e-4, ...
# Assign 1->a a<-1 a=1 assign("a", 1) # Infinite: Inf # We can operate normally with them # Undefined: NaN # Denotes a numeric number that is not a number: 0/0 # Missing: NA # Denotes a not available value # It is independent of the data type # Empty: NULL # Denotes an empty object, is skipped (i.e., removed) for V...
/Basic/Basic.R
no_license
serbelga/Data_Science_R
R
false
false
723
r
# Assign 1->a a<-1 a=1 assign("a", 1) # Infinite: Inf # We can operate normally with them # Undefined: NaN # Denotes a numeric number that is not a number: 0/0 # Missing: NA # Denotes a not available value # It is independent of the data type # Empty: NULL # Denotes an empty object, is skipped (i.e., removed) for V...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/GSEA.R \name{binomialtest.msig.enrch_deplet} \alias{binomialtest.msig.enrch_deplet} \title{binomialtest.msig.enrch_deplet} \usage{ binomialtest.msig.enrch_deplet(mylist, All = All.genes, name, thedatabase = db) } \description{ This function...
/man/binomialtest.msig.enrch_deplet.Rd
no_license
chenweng1991/EZsinglecell
R
false
true
376
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/GSEA.R \name{binomialtest.msig.enrch_deplet} \alias{binomialtest.msig.enrch_deplet} \title{binomialtest.msig.enrch_deplet} \usage{ binomialtest.msig.enrch_deplet(mylist, All = All.genes, name, thedatabase = db) } \description{ This function...
### Logistic regresion - metadata ### #Script to perform logistic regression test #Steps: #1.Metadata quality control: replace NA for median values and remove columns with only one level #2.Convert taxonomy table into presence/absence taxonomy table (0,1) #3.Model1: Logistic regression with all metadata #4.Mod...
/Function Scripts/logistic_regression_function.R
no_license
pausura/Project_Intestinal_Microbiome
R
false
false
16,140
r
### Logistic regresion - metadata ### #Script to perform logistic regression test #Steps: #1.Metadata quality control: replace NA for median values and remove columns with only one level #2.Convert taxonomy table into presence/absence taxonomy table (0,1) #3.Model1: Logistic regression with all metadata #4.Mod...
#download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip","data.zip") #unzip("data.zip") trainData<-read.csv("C:/Users/Dawit/Documents/CourseProject/UCI HAR Dataset/train/subject_train.txt") #Column bind the all of the train data trainData<-cbind(trainData,read.csv("C...
/run_analysis.R
no_license
DawitHabtemariam/GettingData
R
false
false
1,743
r
#download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip","data.zip") #unzip("data.zip") trainData<-read.csv("C:/Users/Dawit/Documents/CourseProject/UCI HAR Dataset/train/subject_train.txt") #Column bind the all of the train data trainData<-cbind(trainData,read.csv("C...
### Exploratory Data Assignment ### Peer Graded Assignment: Course Project 1 by Evgeniy Paskin ### Setting environment library(lubridate) ### Downloading and Reading file FileName <- "exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power...
/Plot2.R
no_license
EvgeniyPaskin/ExData_Plotting1
R
false
false
1,907
r
### Exploratory Data Assignment ### Peer Graded Assignment: Course Project 1 by Evgeniy Paskin ### Setting environment library(lubridate) ### Downloading and Reading file FileName <- "exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/user_defined_processes.R \name{UserProcessCollection} \alias{UserProcessCollection} \title{User Defined Process Collection} \description{ This object contains template functions from the users stored user defined processes (UDP), which can be...
/man/UserProcessCollection.Rd
permissive
Open-EO/openeo-r-client
R
false
true
1,213
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/user_defined_processes.R \name{UserProcessCollection} \alias{UserProcessCollection} \title{User Defined Process Collection} \description{ This object contains template functions from the users stored user defined processes (UDP), which can be...
i <- as.numeric(commandArgs(trailingOnly = TRUE)) library(segmentr) library(rCGH) library(GenomicRanges) ### get hg38 centromeres hg38.centromeres <- rCGH::hg38 chr <- paste0("chr", hg38.centromeres$chrom) chr[chr=="chr23"] <- "chrX" chr[chr=="chr24"] <- "chrY" centromeres <- GRanges(seqnames = chr, ...
/tcga_gbm_scripts/jfkit-scripts/4-segmentBins.R
no_license
cancer-genomics/gridcnp_analysis
R
false
false
1,695
r
i <- as.numeric(commandArgs(trailingOnly = TRUE)) library(segmentr) library(rCGH) library(GenomicRanges) ### get hg38 centromeres hg38.centromeres <- rCGH::hg38 chr <- paste0("chr", hg38.centromeres$chrom) chr[chr=="chr23"] <- "chrX" chr[chr=="chr24"] <- "chrY" centromeres <- GRanges(seqnames = chr, ...
library(ggplot2) ggplot(data = iris, aes(x = Petal.Width, y= Petal.Length, col=Species)) + geom_point() ggsave("ggtest.png") icon.glyphicon <- makeAwesomeIcon(icon = "flag", markerColor = "blue", iconColor = "yellow", squareMarker = TRUE) ico...
/day15_2.R
no_license
starkwon/kwon
R
false
false
5,012
r
library(ggplot2) ggplot(data = iris, aes(x = Petal.Width, y= Petal.Length, col=Species)) + geom_point() ggsave("ggtest.png") icon.glyphicon <- makeAwesomeIcon(icon = "flag", markerColor = "blue", iconColor = "yellow", squareMarker = TRUE) ico...
# Modern data ---- `%>%` <- magrittr::`%>%` ## Load data ---- ### Metadata ---- other_southern_hemisphere_metadata <- "data-raw/GLOBAL/other_southern_hemisphere_SPH.xlsx" %>% readxl::read_excel(sheet = 1) %>% janitor::clean_names() %>% dplyr::rename(age_BP = age_bp) %>% dplyr::mutate(ID_SAMPLE = seq_along(ent...
/data-raw/southern_hemisphere_pollen.R
permissive
special-uor/smpds
R
false
false
13,334
r
# Modern data ---- `%>%` <- magrittr::`%>%` ## Load data ---- ### Metadata ---- other_southern_hemisphere_metadata <- "data-raw/GLOBAL/other_southern_hemisphere_SPH.xlsx" %>% readxl::read_excel(sheet = 1) %>% janitor::clean_names() %>% dplyr::rename(age_BP = age_bp) %>% dplyr::mutate(ID_SAMPLE = seq_along(ent...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{readFasta} \alias{readFasta} \title{Read FASTA File} \usage{ readFasta(file, rownames = FALSE) } \arguments{ \item{file}{File name of FASTA input.} \item{rownames}{Use the sequence annotation line in file (starts with \code{'>'...
/bbl/man/readFasta.Rd
no_license
akhikolla/InformationHouse
R
false
true
941
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{readFasta} \alias{readFasta} \title{Read FASTA File} \usage{ readFasta(file, rownames = FALSE) } \arguments{ \item{file}{File name of FASTA input.} \item{rownames}{Use the sequence annotation line in file (starts with \code{'>'...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mfxi_lm.R \name{mfxi.lm} \alias{mfxi.lm} \title{Run a Regression} \usage{ mfxi.lm(formi, datai, vcv = "standard") } \arguments{ \item{formi}{regression formula} \item{datai}{data for regression} \item{vcv}{type of covariance correction} } \...
/PrettyR/man/mfxi.lm.Rd
permissive
Jadamso/PrettyR
R
false
true
376
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mfxi_lm.R \name{mfxi.lm} \alias{mfxi.lm} \title{Run a Regression} \usage{ mfxi.lm(formi, datai, vcv = "standard") } \arguments{ \item{formi}{regression formula} \item{datai}{data for regression} \item{vcv}{type of covariance correction} } \...
# This script is to obtain end members froom a matrix. The data will be in 10 columns, approximately 6000 rows. # First order of business is to figure out how the hell to do it!! The first hint alex provided was to "spherify" # the data. Papers document a procedure called "whitening" which is a reference to spectral co...
/EM_find.R
no_license
p-hughes/Dirty_business
R
false
false
1,240
r
# This script is to obtain end members froom a matrix. The data will be in 10 columns, approximately 6000 rows. # First order of business is to figure out how the hell to do it!! The first hint alex provided was to "spherify" # the data. Papers document a procedure called "whitening" which is a reference to spectral co...
# The following code allows for the analysis of 6 single cell RNAseq datasets of the human pancreas # Information on these datasets can be found in the following locations: # https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE81076 # https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE85241 # https://www.ncbi.nlm....
/Ref_panc.R
no_license
fmjlab/Pancreas_atlas_COVID19
R
false
false
17,978
r
# The following code allows for the analysis of 6 single cell RNAseq datasets of the human pancreas # Information on these datasets can be found in the following locations: # https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE81076 # https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE85241 # https://www.ncbi.nlm....
# Computes additional molecular attributes for molecules add_mol_attribs <- function(moldbase, base=TRUE) { # Adds to atoms: # vd_ - vertex degree # va_ - valence # pi_ - the number of pi-electrons # ar_ - aromaticity # ne_ - vector of neighbours # bo_ - vector of bond orders with ...
/cinf-molattribs.R
no_license
Gvein/DiplomaKarpov2018
R
false
false
1,963
r
# Computes additional molecular attributes for molecules add_mol_attribs <- function(moldbase, base=TRUE) { # Adds to atoms: # vd_ - vertex degree # va_ - valence # pi_ - the number of pi-electrons # ar_ - aromaticity # ne_ - vector of neighbours # bo_ - vector of bond orders with ...
#xgboost implemented on selected 34 features obtained using random forest and output is taken #Saniya Ambavanekar library(caret) library(data.table) library(xgboost) xtrain_data<-fread("balanced_data_3.csv",stringsAsFactors = T) View(xtrain_data) str(xtrain_data) smpl_size<-floor(0.75*nrow(xtrain_data)) set.seed(12...
/xgboost_code.R
no_license
DrRoad/Porto-Seguro-Safe-Driver-Prediction
R
false
false
3,068
r
#xgboost implemented on selected 34 features obtained using random forest and output is taken #Saniya Ambavanekar library(caret) library(data.table) library(xgboost) xtrain_data<-fread("balanced_data_3.csv",stringsAsFactors = T) View(xtrain_data) str(xtrain_data) smpl_size<-floor(0.75*nrow(xtrain_data)) set.seed(12...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/eeptools-package.r \docType{data} \name{stulevel} \alias{stulevel} \title{A synthetic data set of K-12 student attributes.} \format{A data frame with 2700 observations on the following 32 variables. \describe{ \item{\code{X}}{a numeric vecto...
/man/stulevel.Rd
no_license
nutterb/eeptools
R
false
true
2,188
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/eeptools-package.r \docType{data} \name{stulevel} \alias{stulevel} \title{A synthetic data set of K-12 student attributes.} \format{A data frame with 2700 observations on the following 32 variables. \describe{ \item{\code{X}}{a numeric vecto...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qs.text.R \name{qs.text.string} \alias{qs.text.string} \title{String Output} \usage{ qs.text.string(qs, varname = "question.name", question.text = "question.text") } \arguments{ \item{qs}{Questions data frame} \item{varname}{Character vect...
/man/qs.text.string.Rd
no_license
Boshoffsmit/novaReport
R
false
true
559
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qs.text.R \name{qs.text.string} \alias{qs.text.string} \title{String Output} \usage{ qs.text.string(qs, varname = "question.name", question.text = "question.text") } \arguments{ \item{qs}{Questions data frame} \item{varname}{Character vect...
# Author: Robert J. Hijmans # Date: November 2009, Jan 2016 # Version 1.0 # Licence GPL v3 setMethod('as.integer', signature(x='Raster'), function(x, filename='', ...) { if (nlayers(x) > 1) { out <- brick(x, values=FALSE) } else { out <- raster(x) } datatype <- list(...)$datatype if...
/R/as.logical.R
no_license
cran/raster
R
false
false
2,253
r
# Author: Robert J. Hijmans # Date: November 2009, Jan 2016 # Version 1.0 # Licence GPL v3 setMethod('as.integer', signature(x='Raster'), function(x, filename='', ...) { if (nlayers(x) > 1) { out <- brick(x, values=FALSE) } else { out <- raster(x) } datatype <- list(...)$datatype if...
# server.R library(dplyr) # Read in data source('./scripts/build_map.R') source('./scripts/build_scatter.R') df <- read.csv('./data/electoral_college.csv', stringsAsFactors = FALSE) state_codes <- read.csv('./data/state_codes.csv', stringsAsFactors = FALSE) # Join together state.codes and df joined_data <- left_join...
/exercise-5/server.R
permissive
engv/ch16-shiny
R
false
false
781
r
# server.R library(dplyr) # Read in data source('./scripts/build_map.R') source('./scripts/build_scatter.R') df <- read.csv('./data/electoral_college.csv', stringsAsFactors = FALSE) state_codes <- read.csv('./data/state_codes.csv', stringsAsFactors = FALSE) # Join together state.codes and df joined_data <- left_join...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dataDaf.R \docType{data} \name{myDafData} \alias{myDafData} \title{Sample DAF data frame} \format{ A data frame containing polymorphic sites for selected (i) and neutral (0) classes at different DAF categories } \usage{ myDafData } \descripti...
/man/myDafData.Rd
no_license
BGD-UAB/iMKT
R
false
true
610
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dataDaf.R \docType{data} \name{myDafData} \alias{myDafData} \title{Sample DAF data frame} \format{ A data frame containing polymorphic sites for selected (i) and neutral (0) classes at different DAF categories } \usage{ myDafData } \descripti...
# featnames ----------- #' Get the feature labels from a dfm #' #' Get the features from a document-feature matrix, which are stored as the #' column names of the \link{dfm} object. #' @param x the dfm whose features will be extracted #' @return character vector of the feature labels #' @examples #' inaugDfm <- dfm(d...
/R/dfm-methods.R
no_license
tpaskhalis/quanteda
R
false
false
8,453
r
# featnames ----------- #' Get the feature labels from a dfm #' #' Get the features from a document-feature matrix, which are stored as the #' column names of the \link{dfm} object. #' @param x the dfm whose features will be extracted #' @return character vector of the feature labels #' @examples #' inaugDfm <- dfm(d...
#średnia z próby (pojemność) displacement_mu <- mean(Autko$displacement) #odchylenie standardowe (pojemność) displacement_sigma <- sd(Autko$displacement) #NORMALNE PRZEDZIAŁY UFNOŚCI DLA WARTOŚCI OCZEKIWANEJ #przedział ufności 90% displacement_przedz90norm <- round(displacement_mu+c(-1, 1)*sigma/sqrt(398)*qnorm(.95), ...
/Projekt_MS/Zajęcki/MS/Przedziały_ufności_displacement.R
no_license
MacPiston/MS_Proj_2020
R
false
false
1,399
r
#średnia z próby (pojemność) displacement_mu <- mean(Autko$displacement) #odchylenie standardowe (pojemność) displacement_sigma <- sd(Autko$displacement) #NORMALNE PRZEDZIAŁY UFNOŚCI DLA WARTOŚCI OCZEKIWANEJ #przedział ufności 90% displacement_przedz90norm <- round(displacement_mu+c(-1, 1)*sigma/sqrt(398)*qnorm(.95), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/audio_aug_signal.R \name{NoiseColor} \alias{NoiseColor} \title{Noise Color} \usage{ NoiseColor(...) } \arguments{ \item{...}{parameters to pass} } \value{ module } \description{ Noise Color }
/man/NoiseColor.Rd
permissive
han-tun/fastai
R
false
true
270
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/audio_aug_signal.R \name{NoiseColor} \alias{NoiseColor} \title{Noise Color} \usage{ NoiseColor(...) } \arguments{ \item{...}{parameters to pass} } \value{ module } \description{ Noise Color }
#### Humac analysis pre vs. post fifth RT session ## Author: Kristian Lian # Purpose: This script plots mean torque per supplement (both through intervention and pre vs. post) results from the ribose project, # and analyses the data per test (isometric, isokinetic 60, isokinetic 240) in a linear model. ## Time-poi...
/R/Post5th.change.R
no_license
Kristianlian/master_degree
R
false
false
12,989
r
#### Humac analysis pre vs. post fifth RT session ## Author: Kristian Lian # Purpose: This script plots mean torque per supplement (both through intervention and pre vs. post) results from the ribose project, # and analyses the data per test (isometric, isokinetic 60, isokinetic 240) in a linear model. ## Time-poi...
# This program reads the crypto data from Bitfinex install.packages("Quandl") install.packages("dygraphs") library(xts) library("Quandl") library("dygraphs") # Quandl.api_key('***************') BTC <- Quandl("BITFINEX/BTCUSD",type="xts") ETH <- Quandl("BITFINEX/ETHUSD") IOTA <- Quandl("BITFINEX/IOTUSD") test <- as.m...
/Crypto.R
no_license
mlacher/R_Crypto
R
false
false
388
r
# This program reads the crypto data from Bitfinex install.packages("Quandl") install.packages("dygraphs") library(xts) library("Quandl") library("dygraphs") # Quandl.api_key('***************') BTC <- Quandl("BITFINEX/BTCUSD",type="xts") ETH <- Quandl("BITFINEX/ETHUSD") IOTA <- Quandl("BITFINEX/IOTUSD") test <- as.m...
#' @title Median unbiased estimator #' @description Calculates the median unbiased estimator of true response rate #' for for Simon-like designs. #' @details Median unbiased estimator is the value of response rate such that #' the p-value is 0.5 (\emph{Koyama and Chen, 2008}). The solution is found using #' numerical ...
/R/pk.r
no_license
arsenionhacolo/InferenceBEAGSD
R
false
false
1,099
r
#' @title Median unbiased estimator #' @description Calculates the median unbiased estimator of true response rate #' for for Simon-like designs. #' @details Median unbiased estimator is the value of response rate such that #' the p-value is 0.5 (\emph{Koyama and Chen, 2008}). The solution is found using #' numerical ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/genotyping.R \name{genotype_inversions} \alias{genotype_inversions} \title{Bayesian genotyper for inversions} \usage{ genotype_inversions( WW_reads, WC_reads, regions, background, base_state, sex = "female", prior = c(0.33, 0.33...
/invertyper/man/genotype_inversions.Rd
no_license
mattssca/InvertypeR
R
false
true
3,100
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/genotyping.R \name{genotype_inversions} \alias{genotype_inversions} \title{Bayesian genotyper for inversions} \usage{ genotype_inversions( WW_reads, WC_reads, regions, background, base_state, sex = "female", prior = c(0.33, 0.33...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{ExteNET_2A} \alias{ExteNET_2A} \title{ExteNET, figure 2A} \format{ A data frame of 2,840 observations and 3 variables: \tabular{lll}{ \tab \code{time} \tab event time (in months) \cr \tab \code{event} \tab DFS even...
/man/ExteNET_2A.Rd
no_license
Owain-S/kmdata
R
false
true
963
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{ExteNET_2A} \alias{ExteNET_2A} \title{ExteNET, figure 2A} \format{ A data frame of 2,840 observations and 3 variables: \tabular{lll}{ \tab \code{time} \tab event time (in months) \cr \tab \code{event} \tab DFS even...
cluster.functions <- makeClusterFunctionsSGE("~/SGETemplate.tmpl")
/WholeGenomeAlignment/pipelines/BatchJobs.R
no_license
alexander-nash/CSC
R
false
false
68
r
cluster.functions <- makeClusterFunctionsSGE("~/SGETemplate.tmpl")
clean_data <- function(x) { #shows companies with highest total returns in descending order o identify outliers/data errors x %>% select(-name) %>% filter(row_number(desc(tret)) < 10) %>% arrange(desc(tret)) } }
/clean_data.R
no_license
syl2/Final-Project-Code
R
false
false
266
r
clean_data <- function(x) { #shows companies with highest total returns in descending order o identify outliers/data errors x %>% select(-name) %>% filter(row_number(desc(tret)) < 10) %>% arrange(desc(tret)) } }
#library(data.table) #' @export #' nonLinearTest <- function(rawData, outVars, xVars, modelType = "lrm", uniqueSampleSize = 6,returnKable=FALSE) { modelType <- match.arg(modelType, c("lrm", "cph", "ols")) modelFun <- get(modelType) resultOut <- NULL if (length(outVars) == length(xVars)) { # One outVar to one ...
/R/rmsEasierModel.R
no_license
slzhao/cqsR
R
false
false
13,792
r
#library(data.table) #' @export #' nonLinearTest <- function(rawData, outVars, xVars, modelType = "lrm", uniqueSampleSize = 6,returnKable=FALSE) { modelType <- match.arg(modelType, c("lrm", "cph", "ols")) modelFun <- get(modelType) resultOut <- NULL if (length(outVars) == length(xVars)) { # One outVar to one ...
#Teralytics 2018 Origin Destination #set working directory and access code to read in SQL queries setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) source("..\\..\\..\\Common_functions\\Loading_in_packages.R") source("..\\..\\..\\Common_functions\\readSQL.R") getwd() # file comparison code between a CSV sou...
/Origin-destination/Teralytics/QAQC/2018 Teralytics Origin Destination QAQC.R
no_license
SANDAG/DPOE
R
false
false
1,733
r
#Teralytics 2018 Origin Destination #set working directory and access code to read in SQL queries setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) source("..\\..\\..\\Common_functions\\Loading_in_packages.R") source("..\\..\\..\\Common_functions\\readSQL.R") getwd() # file comparison code between a CSV sou...
#' Add tooltips to a plot. #' #' @param vis Visualisation to add tooltips to. #' @param html A function that takes a single argument as input. This argument #' will be a list containing the data in the mark currently under the #' mouse. It should return a string containing HTML or \code{NULL} to #' hide tooltip f...
/R/interact_tooltip.R
no_license
jjallaire/ggvis
R
false
false
1,892
r
#' Add tooltips to a plot. #' #' @param vis Visualisation to add tooltips to. #' @param html A function that takes a single argument as input. This argument #' will be a list containing the data in the mark currently under the #' mouse. It should return a string containing HTML or \code{NULL} to #' hide tooltip f...
\name{azprocedure} \alias{azprocedure} \docType{data} \title{azprocedure} \description{ Data come from the 1991 Arizona cardiovascular patient files. A subset of the fields was selected to model the differential length of stay for patients entering the hospital to receive one of two standard cardiovascular pro...
/man/azprocedure.Rd
no_license
cran/COUNT
R
false
false
2,164
rd
\name{azprocedure} \alias{azprocedure} \docType{data} \title{azprocedure} \description{ Data come from the 1991 Arizona cardiovascular patient files. A subset of the fields was selected to model the differential length of stay for patients entering the hospital to receive one of two standard cardiovascular pro...
# Copyright 2019 Observational Health Data Sciences and Informatics # # This file is part of IUDClaimsStudy # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
/additionalEstimationPackage/IUDClaimsEstimation/R/SynthesizePositiveControls.R
permissive
cukarthik/IUDEHREstimationStudy
R
false
false
7,783
r
# Copyright 2019 Observational Health Data Sciences and Informatics # # This file is part of IUDClaimsStudy # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
#' LCTMtools: A package for computing a number of Latent Class Trajectory Model tools for a given hlme() object or SAS model. #' #' The LCTMtools package provides two categories of important functions: #' LCTMtools (to test a models adequacy) and LCTMcompare (to aid model selection). #' #' @section LCTMtools functions:...
/R/LCTMtools.R
no_license
hlennon/LCTMtools
R
false
false
617
r
#' LCTMtools: A package for computing a number of Latent Class Trajectory Model tools for a given hlme() object or SAS model. #' #' The LCTMtools package provides two categories of important functions: #' LCTMtools (to test a models adequacy) and LCTMcompare (to aid model selection). #' #' @section LCTMtools functions:...
testlist <- list(AgeVector = c(-4.73074171454048e-167, 2.2262381097027e-76, -9.12990429452974e-204, 5.97087417427845e-79, 4.7390525269307e-300, 6.58361441690132e-121, 3.58611068565168e-154, -2.94504776827523e-186, 2.62380314702636e-116, -6.78950518864266e+23, 6.99695749856012e-167, 4.81092546418635e-304, 1.11271562...
/myTAI/inst/testfiles/cpp_bootMatrix/AFL_cpp_bootMatrix/cpp_bootMatrix_valgrind_files/1615765404-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
1,809
r
testlist <- list(AgeVector = c(-4.73074171454048e-167, 2.2262381097027e-76, -9.12990429452974e-204, 5.97087417427845e-79, 4.7390525269307e-300, 6.58361441690132e-121, 3.58611068565168e-154, -2.94504776827523e-186, 2.62380314702636e-116, -6.78950518864266e+23, 6.99695749856012e-167, 4.81092546418635e-304, 1.11271562...
library(dplyr) library(tidyr) pg <- src_postgres() regex_results <- tbl(pg, sql("SELECT * FROM director_bio.regex_results")) other_dirs <- tbl(pg, sql("SELECT * FROM director_bio.other_directorships")) %>% select(director_id, other_director_id, fy_end, other_start_date, other_end_date, other_first...
/directorships/create_retag.R
no_license
iangow/director_bio
R
false
false
1,901
r
library(dplyr) library(tidyr) pg <- src_postgres() regex_results <- tbl(pg, sql("SELECT * FROM director_bio.regex_results")) other_dirs <- tbl(pg, sql("SELECT * FROM director_bio.other_directorships")) %>% select(director_id, other_director_id, fy_end, other_start_date, other_end_date, other_first...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qPLEXanalyzer-package.R \docType{data} \name{human_anno} \alias{human_anno} \title{human_anno dataset} \format{ An object of class \code{\link{data.frame}} consisting of uniprot human protein annotation. } \description{ Uniprot Human protein ...
/man/human_anno.Rd
no_license
crukci-bioinformatics/qPLEXanalyzer
R
false
true
374
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qPLEXanalyzer-package.R \docType{data} \name{human_anno} \alias{human_anno} \title{human_anno dataset} \format{ An object of class \code{\link{data.frame}} consisting of uniprot human protein annotation. } \description{ Uniprot Human protein ...
library(rvest) library(dplyr) library(RCurl) library(scales) require(rgdal) require(ggmap) require(Cairo) require(gpclib) require(maptools) require(reshape) library(stringr) library(ggplot2) library(tidyr) # burl <- "http://www.depdata.ct.gov/wildlife/sighting/bearsight.asp" #bear_table <- burl %>% read_html() %>% # ...
/bears.R
no_license
trendct-data/bear-sightings
R
false
false
3,152
r
library(rvest) library(dplyr) library(RCurl) library(scales) require(rgdal) require(ggmap) require(Cairo) require(gpclib) require(maptools) require(reshape) library(stringr) library(ggplot2) library(tidyr) # burl <- "http://www.depdata.ct.gov/wildlife/sighting/bearsight.asp" #bear_table <- burl %>% read_html() %>% # ...
library(ggplot2) library(gridExtra) library(FSA) library(multcomp) library(car) library(fitdistrplus) library(dplyr) countries<-read.csv("Intro to Inferential Statistics//Countries.csv") credit<-read.csv("Intro to Inferential Statistics//Credit.csv") str(credit) ################################################## ####...
/Intro to Inferential Statistics/Inf_Stats_1.R
no_license
HermineGrigoryan/DS-Summer-School
R
false
false
2,512
r
library(ggplot2) library(gridExtra) library(FSA) library(multcomp) library(car) library(fitdistrplus) library(dplyr) countries<-read.csv("Intro to Inferential Statistics//Countries.csv") credit<-read.csv("Intro to Inferential Statistics//Credit.csv") str(credit) ################################################## ####...
# Exercise 1: working with data frames (review) # Install devtools package: allows installations from GitHub install.packages("devtools") # Install "fueleconomy" dataset from GitHub devtools::install_github("hadley/fueleconomy") # Use the `libary()` function to load the "fueleconomy" package library(fueleconomy) # ...
/chapter-11-exercises/exercise-1/exercise.R
permissive
ronron0428/book-exercises
R
false
false
2,283
r
# Exercise 1: working with data frames (review) # Install devtools package: allows installations from GitHub install.packages("devtools") # Install "fueleconomy" dataset from GitHub devtools::install_github("hadley/fueleconomy") # Use the `libary()` function to load the "fueleconomy" package library(fueleconomy) # ...
############################################################################### # Description: Add comment # # Author: Linh Tran <tranlm@berkeley.edu> # Date: Aug 27, 2015 ############################################################################### #' @export SL.svm.LT = function (Y, X, newX, family, type.reg = "ep...
/R/SuperLearner.R
no_license
guhjy/lrecCompare
R
false
false
6,229
r
############################################################################### # Description: Add comment # # Author: Linh Tran <tranlm@berkeley.edu> # Date: Aug 27, 2015 ############################################################################### #' @export SL.svm.LT = function (Y, X, newX, family, type.reg = "ep...