content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/errors.R \name{correlation_spearman} \alias{correlation_spearman} \title{Spearman Correlation Scoring Function} \usage{ correlation_spearman(x) } \arguments{ \item{x}{input dataframe. Should contain field: predCS and expCS.} } \description{ T...
/man/correlation_spearman.Rd
permissive
atfrank/nmR
R
false
true
387
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/errors.R \name{correlation_spearman} \alias{correlation_spearman} \title{Spearman Correlation Scoring Function} \usage{ correlation_spearman(x) } \arguments{ \item{x}{input dataframe. Should contain field: predCS and expCS.} } \description{ T...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hypo with binary.R \name{hypothesis} \alias{hypothesis} \title{Hypothesis testing} \usage{ hypothesis(x, y) } \arguments{ \item{x=}{dataframe} \item{y=}{Binary target variable} } \value{ It will return DataFrame having P-value,...
/man/hypothesis.Rd
no_license
jonathan392/hypothesis
R
false
true
474
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hypo with binary.R \name{hypothesis} \alias{hypothesis} \title{Hypothesis testing} \usage{ hypothesis(x, y) } \arguments{ \item{x=}{dataframe} \item{y=}{Binary target variable} } \value{ It will return DataFrame having P-value,...
suppressWarnings(RNGversion("3.5.9")) set.seed(42) n <- 2000 knapsack_objects <- data.frame( w=sample(1:4000, size = n, replace = TRUE), v=runif(n = n, 0, 10000) # w=c(1,2,5,6,7,9) , # v=c(1,6,18,22,28,36) ) # x,y,z for test #x <- knapsack_objects[1:4,] #y <- knapsack_objects[1:8,] #z <- knapsack_objects[1:12,]...
/lab6/R/greedyknapsack.r
no_license
fengjuanchen/lab6
R
false
false
2,076
r
suppressWarnings(RNGversion("3.5.9")) set.seed(42) n <- 2000 knapsack_objects <- data.frame( w=sample(1:4000, size = n, replace = TRUE), v=runif(n = n, 0, 10000) # w=c(1,2,5,6,7,9) , # v=c(1,6,18,22,28,36) ) # x,y,z for test #x <- knapsack_objects[1:4,] #y <- knapsack_objects[1:8,] #z <- knapsack_objects[1:12,]...
coag.lm <- lm(coag ~ diet, data = coagulation) msummary(coag.lm)
/inst/snippet/coag02r.R
no_license
rpruim/fastR2
R
false
false
67
r
coag.lm <- lm(coag ~ diet, data = coagulation) msummary(coag.lm)
#.Rprofile cat(paste( "-----------------------------------------------", "Welcome to the SURFSara 2 November 2018 Bootcamp", "This is Track 3 'Analytics Using R'", "You moderators today are:", "Jonathan de Bruin - University Utrecht", "Jan-Willem Lankhaar - Hogeschool Utrecht", "Marc Teunis - Hogeschool Utrecht (track...
/.Rprofile
no_license
uashogeschoolutrecht/surfR
R
false
false
571
rprofile
#.Rprofile cat(paste( "-----------------------------------------------", "Welcome to the SURFSara 2 November 2018 Bootcamp", "This is Track 3 'Analytics Using R'", "You moderators today are:", "Jonathan de Bruin - University Utrecht", "Jan-Willem Lankhaar - Hogeschool Utrecht", "Marc Teunis - Hogeschool Utrecht (track...
library(httr) # 1. Find OAuth settings for linkedin: # https://developer.linkedin.com/documents/linkedins-oauth-details <<<<<<< HEAD oauth_endpoints("linkedin") ======= endpoints <- oauth_endpoints("linkedin") >>>>>>> ddff10c8c1a385735ed59fadb33c4b79e43db9ce # 2. Register an application at https://www.linkedin.com...
/lib/site-library/httr/demo/oauth2-linkedin.r
no_license
ToyamaLab/NewSSQL
R
false
false
1,847
r
library(httr) # 1. Find OAuth settings for linkedin: # https://developer.linkedin.com/documents/linkedins-oauth-details <<<<<<< HEAD oauth_endpoints("linkedin") ======= endpoints <- oauth_endpoints("linkedin") >>>>>>> ddff10c8c1a385735ed59fadb33c4b79e43db9ce # 2. Register an application at https://www.linkedin.com...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/predict.R \name{predict.egf} \alias{predict.egf} \title{Compute predicted values} \usage{ \method{predict}{egf}( object, what = c("interval", "cumulative", "rt"), time, window, log = TRUE, se = FALSE, ... ) } \arguments{ \item{o...
/man/predict.egf.Rd
no_license
davidearn/epigrowthfit
R
false
true
3,158
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/predict.R \name{predict.egf} \alias{predict.egf} \title{Compute predicted values} \usage{ \method{predict}{egf}( object, what = c("interval", "cumulative", "rt"), time, window, log = TRUE, se = FALSE, ... ) } \arguments{ \item{o...
sigex.mlefit <- function(data.ts,param,flag,mdl,method,hess=TRUE,whittle=FALSE) { ########################################################################## # # sigex.mlefit # Copyright (C) 2017 Tucker McElroy # # This program is free software: you can redistribute it and/or modify # it under the te...
/R/sigex.mlefit.r
no_license
palatej/sigex
R
false
false
4,515
r
sigex.mlefit <- function(data.ts,param,flag,mdl,method,hess=TRUE,whittle=FALSE) { ########################################################################## # # sigex.mlefit # Copyright (C) 2017 Tucker McElroy # # This program is free software: you can redistribute it and/or modify # it under the te...
\name{methods.rhohat} \alias{methods.rhohat} %DoNotExport \alias{print.rhohat} \alias{plot.rhohat} \alias{predict.rhohat} \alias{simulate.rhohat} \title{ Methods for Intensity Functions of Spatial Covariate } \description{ These are methods for the class \code{"rhohat"}. } \usage{ \method{print}{rhohat}(x, ...) \...
/man/methods.rhohat.Rd
no_license
spatstat/spatstat.core
R
false
false
3,406
rd
\name{methods.rhohat} \alias{methods.rhohat} %DoNotExport \alias{print.rhohat} \alias{plot.rhohat} \alias{predict.rhohat} \alias{simulate.rhohat} \title{ Methods for Intensity Functions of Spatial Covariate } \description{ These are methods for the class \code{"rhohat"}. } \usage{ \method{print}{rhohat}(x, ...) \...
####create fluid row#### fluidRow( #### put input area here #### column(4, style = "background-color: #E8E8E8", ##change the title here div(style="display: inline-block; vertical-align:top; text-align:center; width: 100%;", strong("Independent t - Means")), ...
/MOTE/indtM_page.R
no_license
pbeleco/shiny-server
R
false
false
2,361
r
####create fluid row#### fluidRow( #### put input area here #### column(4, style = "background-color: #E8E8E8", ##change the title here div(style="display: inline-block; vertical-align:top; text-align:center; width: 100%;", strong("Independent t - Means")), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ixp.R \docType{package} \name{ixp-package} \alias{ixp} \alias{ixp-package} \title{The ixp package holds ixp data and functions for loading, manipulating, analysing and visualising the data. @keywords internal} \description{ IXP d...
/ixp/man/ixp-package.Rd
no_license
phil8192/ixp
R
false
true
528
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ixp.R \docType{package} \name{ixp-package} \alias{ixp} \alias{ixp-package} \title{The ixp package holds ixp data and functions for loading, manipulating, analysing and visualising the data. @keywords internal} \description{ IXP d...
# Exploratory Data Analysis - Assignment 2 - Q. #1 # Loading provided datasets - loading from local machine NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") # Aggregate Emissions <- aggregate(NEI[, 'Emissions'], by=list(NEI$year), FUN=sum) Emissions$PM <- round(Emissions[...
/Week 4/Plot1.R
no_license
malhotrasuchit/DataScienceCoursera
R
false
false
860
r
# Exploratory Data Analysis - Assignment 2 - Q. #1 # Loading provided datasets - loading from local machine NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") # Aggregate Emissions <- aggregate(NEI[, 'Emissions'], by=list(NEI$year), FUN=sum) Emissions$PM <- round(Emissions[...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/readJMD.R \name{ReadJMD} \alias{ReadJMD} \title{Download the Japanese Mortality Database (JMD)} \usage{ ReadJMD(what, regions = NULL, interval = "1x1", save = FALSE, show = TRUE) } \arguments{ \item{what}{What type of data are you looking f...
/man/ReadJMD.Rd
permissive
SheilaDesanze/MortalityLaws
R
false
true
5,909
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/readJMD.R \name{ReadJMD} \alias{ReadJMD} \title{Download the Japanese Mortality Database (JMD)} \usage{ ReadJMD(what, regions = NULL, interval = "1x1", save = FALSE, show = TRUE) } \arguments{ \item{what}{What type of data are you looking f...
#setwd("D:\\Sonali\\000 La Vita Nuova\\NISM\\PGCDS\\TERM 1\\003 Applied Econometrics\\assignment #1 - movie earnings") getwd() #rm(list=ls()) data<-read.csv("data\\box_FM.csv",header=T,sep=",") na.omit(data) attach(data) dim(data) colnames(data) tv_stats <- cbind(tv_weeks,tv_spots,tv_channels,tv_grps,tv_spend) yt_st...
/Applied Econometrics/ASSIGNMENT 1 - go bollywood/assignment #1 - movie earnings _archived/movie earning prediction/movie earning prediction v2.0.R
no_license
snimkar0924/PGCDS
R
false
false
896
r
#setwd("D:\\Sonali\\000 La Vita Nuova\\NISM\\PGCDS\\TERM 1\\003 Applied Econometrics\\assignment #1 - movie earnings") getwd() #rm(list=ls()) data<-read.csv("data\\box_FM.csv",header=T,sep=",") na.omit(data) attach(data) dim(data) colnames(data) tv_stats <- cbind(tv_weeks,tv_spots,tv_channels,tv_grps,tv_spend) yt_st...
setwd("C:/Users/gec9/Google Drive/aaPhD/miersvalley201516") dat <- read.csv("data/nantarcticus/pitfallnantarcticus.csv") dat$pitfall_sum <- rowSums(dat[,-1]) write.csv(dat, "data/nantarcticus/pitfallnantarcticustotals.csv", row.names = FALSE) plot(dat$datetime, dat$pitfall_sum)
/nantarcticus_overview.R
no_license
gec9/advanced-programming-in-r
R
false
false
283
r
setwd("C:/Users/gec9/Google Drive/aaPhD/miersvalley201516") dat <- read.csv("data/nantarcticus/pitfallnantarcticus.csv") dat$pitfall_sum <- rowSums(dat[,-1]) write.csv(dat, "data/nantarcticus/pitfallnantarcticustotals.csv", row.names = FALSE) plot(dat$datetime, dat$pitfall_sum)
############################################################################# # # XLConnect # Copyright (C) 2010-2016 Mirai Solutions GmbH # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation...
/R/workbook.setStyleAction.R
no_license
tk3369/xlconnect
R
false
false
1,405
r
############################################################################# # # XLConnect # Copyright (C) 2010-2016 Mirai Solutions GmbH # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation...
## ## Begin jamarin (John A. Marin) code ## # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # The PWS.Query.Subset S4 class provides regional subset information for user searches + # + ...
/R/S4.Query.Subset.R
no_license
MatthewSchumwinger/wundr
R
false
false
6,383
r
## ## Begin jamarin (John A. Marin) code ## # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # The PWS.Query.Subset S4 class provides regional subset information for user searches + # + ...
# create antennasite area polygons voronoi_segmentation = function(){ # extract coordinates of antennas/sites x = antennalocations$lon y = antennalocations$lat coords = data.frame(x,y) #function to get Voronoi-SpatialPolygons from coordinates of antenna positions, confined by a big polygon (SpatialPolygonsDataframe...
/voronoi_segmentation.R
no_license
MaxPaurat/Malaria-and-Mobile-Phone-Data
R
false
false
1,511
r
# create antennasite area polygons voronoi_segmentation = function(){ # extract coordinates of antennas/sites x = antennalocations$lon y = antennalocations$lat coords = data.frame(x,y) #function to get Voronoi-SpatialPolygons from coordinates of antenna positions, confined by a big polygon (SpatialPolygonsDataframe...
\name{nrm2} \alias{nrm2} \title{ Forms the Euclidean norm of a vector } \description{ See Marazzi A. (1993), p.351} \usage{ nrm2(x, n = nrow(x), incx = 1) } \arguments{ \item{x}{ See reference} \item{n}{ See reference} \item{incx}{ See reference} } \value{ See reference } \references{ Maraz...
/man/nrm2.Rd
no_license
cran/robeth
R
false
false
488
rd
\name{nrm2} \alias{nrm2} \title{ Forms the Euclidean norm of a vector } \description{ See Marazzi A. (1993), p.351} \usage{ nrm2(x, n = nrow(x), incx = 1) } \arguments{ \item{x}{ See reference} \item{n}{ See reference} \item{incx}{ See reference} } \value{ See reference } \references{ Maraz...
### This is a script to reorganise the LOTR dataframes library(ggbiplot) # To plot PCA setwd("/home/masha/Desktop/M2/Complex_networks/Project/Downloaded_LOTR_csv") # First, I import the interactions between the characters/ objects/ places. I have the interactions by volume: lotr = read.csv("networks-id-volume...
/projects/6/New_pca_script.R
no_license
CazabetLyon1/CN_analysis_class
R
false
false
6,988
r
### This is a script to reorganise the LOTR dataframes library(ggbiplot) # To plot PCA setwd("/home/masha/Desktop/M2/Complex_networks/Project/Downloaded_LOTR_csv") # First, I import the interactions between the characters/ objects/ places. I have the interactions by volume: lotr = read.csv("networks-id-volume...
#Folder paths snp_path = "" file_path = "" data_path = "" split_sample_path = "" #Write .do code to keep SNPs for each trait for MR data #Load in harmonised data exposure_dat_harmonised = read.csv(paste(snp_path,"\\exposure_dat_harmonised_8.csv",sep="")) traits = unique(exposure_dat_harmonised$trait[exposur...
/Code/R/mr_snps_to_keep_generation.R
no_license
sean-harrison-bristol/Effects-of-Health-Conditions-and-Risk-Factors-on-Socioeconomic-Outcomes
R
false
false
7,747
r
#Folder paths snp_path = "" file_path = "" data_path = "" split_sample_path = "" #Write .do code to keep SNPs for each trait for MR data #Load in harmonised data exposure_dat_harmonised = read.csv(paste(snp_path,"\\exposure_dat_harmonised_8.csv",sep="")) traits = unique(exposure_dat_harmonised$trait[exposur...
# functionPCVeval_overQnum.R #### Description: This script defines a function that evaluates PCVeval over an input data set over all questions #### Arguments: # data.in: A way to pass in PHQ9 data #### Returns: (Type=list()) # a list of length rowdim(dat.in) # each list is an evaluation of Peval corresponding t...
/Scripts/cvAnalysis/Unused/functionPCVeval_overQnum.R
no_license
leepanter/ProbabilisticScoring
R
false
false
1,015
r
# functionPCVeval_overQnum.R #### Description: This script defines a function that evaluates PCVeval over an input data set over all questions #### Arguments: # data.in: A way to pass in PHQ9 data #### Returns: (Type=list()) # a list of length rowdim(dat.in) # each list is an evaluation of Peval corresponding t...
context("filter tx") library(FeatureReachR) NF <- filter_Tx(system.file("extdata", "gencode.vM20.annotation.gff3.gz", package = "FeatureReachR"), filter = FALSE, protein.coding = FALSE) Filt <- filter_Tx(system.file("extdata", "gencode.vM20.annotation.gff3.gz", package = "FeatureReachR"), filter = TRUE, protein.coding...
/tests/testthat/test-filterTx.R
no_license
TaliaferroLab/FeatureReachR
R
false
false
807
r
context("filter tx") library(FeatureReachR) NF <- filter_Tx(system.file("extdata", "gencode.vM20.annotation.gff3.gz", package = "FeatureReachR"), filter = FALSE, protein.coding = FALSE) Filt <- filter_Tx(system.file("extdata", "gencode.vM20.annotation.gff3.gz", package = "FeatureReachR"), filter = TRUE, protein.coding...
\name{bouncer} \alias{bouncer} %- Also NEED an '\alias' for EACH other topic documented here. \title{Remove rare or low-frequency species from a community dataset %% ~~function to do ... ~~ } \description{Sometimes rare/low-frequency species can make finding a good ordination solution difficult. This function identifi...
/man/bouncer.Rd
permissive
devanmcg/rangeR
R
false
false
2,592
rd
\name{bouncer} \alias{bouncer} %- Also NEED an '\alias' for EACH other topic documented here. \title{Remove rare or low-frequency species from a community dataset %% ~~function to do ... ~~ } \description{Sometimes rare/low-frequency species can make finding a good ordination solution difficult. This function identifi...
library(reshape2) DEBUG=1 args = commandArgs(trailingOnly=TRUE) rnaseqFile = args[1] snpFamFile = args[2] outputFile = args[3] if(DEBUG){ rnaseqFile = "/scratch/cqs/shengq2/guoyan/prepareRnaseq/result/BRCA/BRCA.rnaseq2.count.tsv" snpFamFile = "/workspace/guoy1/TCGA_affy/Affy60_BC_HG19/Affy60_BC_remove_duplicate...
/lib/TCGA/FindRNASeqSNPOverlap.r
permissive
shengqh/ngsperl
R
false
false
1,372
r
library(reshape2) DEBUG=1 args = commandArgs(trailingOnly=TRUE) rnaseqFile = args[1] snpFamFile = args[2] outputFile = args[3] if(DEBUG){ rnaseqFile = "/scratch/cqs/shengq2/guoyan/prepareRnaseq/result/BRCA/BRCA.rnaseq2.count.tsv" snpFamFile = "/workspace/guoy1/TCGA_affy/Affy60_BC_HG19/Affy60_BC_remove_duplicate...
debug.flag <- FALSE # version 1.3 message(" ,-.-. ,---.| |,---.| ,---. | | | |,---.| |---.||---||--- ,---.|---|,---.,---.| , .,---,,---.,---. | | |,---|| | ||| || | || |...
/MaChIAto_Analyzer/MaChIAtoAnalyzer.R
no_license
Kazuki-Nakamae/MAChIAto
R
false
false
52,315
r
debug.flag <- FALSE # version 1.3 message(" ,-.-. ,---.| |,---.| ,---. | | | |,---.| |---.||---||--- ,---.|---|,---.,---.| , .,---,,---.,---. | | |,---|| | ||| || | || |...
# Load Data ----------------------------------------------------------------------------------- proj_all_pop <- readr::read_rds("clean_data/Aging/overview/pop_proj_all.rds") # text module ---- working_overview_ui <- function(id) { fluidRow( box( # title = "Overview of Aging Texans", side="left",...
/modules/working_age/working_overview.R
no_license
texas-2036/health_reporting_tool
R
false
false
2,262
r
# Load Data ----------------------------------------------------------------------------------- proj_all_pop <- readr::read_rds("clean_data/Aging/overview/pop_proj_all.rds") # text module ---- working_overview_ui <- function(id) { fluidRow( box( # title = "Overview of Aging Texans", side="left",...
## some awkward cases for predict ## (in response to bug reports from Arthur Spirling and Fonti Kar) options(digits = 4) ## only applies to this file ## The final model in example(flatlizards) library(BradleyTerry2) data(flatlizards, package = "BradleyTerry2") Whiting.model3 <- BTm(1, winner, loser, ~ throat.PC1[..] ...
/tests/predict.R
no_license
hturner/BradleyTerry2
R
false
false
4,934
r
## some awkward cases for predict ## (in response to bug reports from Arthur Spirling and Fonti Kar) options(digits = 4) ## only applies to this file ## The final model in example(flatlizards) library(BradleyTerry2) data(flatlizards, package = "BradleyTerry2") Whiting.model3 <- BTm(1, winner, loser, ~ throat.PC1[..] ...
corr <- function(directory,threshold=0){ ## initialize numeric vector of length 1 and value=0 vcor <- vector("numeric") df_nobs <- complete(directory) ## return subset with nobs>threshold df_nobs_subset <- subset(df_nobs,df_nobs$nobs>threshold) ## counter i=1 ## iterate over ids with nobs>threshold ...
/Coursera/R_Programming/Assignments/Week2/corr.R
no_license
Feynman27/datasciencecoursera
R
false
false
507
r
corr <- function(directory,threshold=0){ ## initialize numeric vector of length 1 and value=0 vcor <- vector("numeric") df_nobs <- complete(directory) ## return subset with nobs>threshold df_nobs_subset <- subset(df_nobs,df_nobs$nobs>threshold) ## counter i=1 ## iterate over ids with nobs>threshold ...
#' Read Protein Sequences in FASTA Format #' #' Read Protein Sequences in FASTA Format #' #' This function reads protein sequences in FASTA format. #' #' @param file The name of the file which the sequences in fasta format are #' to be read from. If it does not contain an absolute or #' ...
/R/misc01readFASTA.R
no_license
Jmonee/protr
R
false
false
3,564
r
#' Read Protein Sequences in FASTA Format #' #' Read Protein Sequences in FASTA Format #' #' This function reads protein sequences in FASTA format. #' #' @param file The name of the file which the sequences in fasta format are #' to be read from. If it does not contain an absolute or #' ...
library(igraph) library(animation) setwd("/home/herb/git/networks/") ani.start() g = read.graph("/home/herb/git/networks/graph-data/graph1.pajek", "pajek") #l = layout.fruchterman.reingold(g) l = layout.circle(g) for(i in seq(1, 100)) { print(i) g = read.graph(paste("/home/herb/git/networks/graph-data/graph", i...
/r/graph-animate.r
no_license
herbps10/networks
R
false
false
419
r
library(igraph) library(animation) setwd("/home/herb/git/networks/") ani.start() g = read.graph("/home/herb/git/networks/graph-data/graph1.pajek", "pajek") #l = layout.fruchterman.reingold(g) l = layout.circle(g) for(i in seq(1, 100)) { print(i) g = read.graph(paste("/home/herb/git/networks/graph-data/graph", i...
#' Main MetRKAT class #' #' @slot data data.frame. #' @slot wsize numeric. #' @slot wmethod character. #' @slot gap numeric. #' @slot intervals data.frame. #' @slot results data.frame. #' @slot annotation data.frame. #' @slot distmethod character. #' @slot max.na numeric. #' #' @return #' @export #' #' @examples setCla...
/MetKMR/MetKMR_1.0/R/AllClass.R
no_license
RuthBarral/MetKMR
R
false
false
1,815
r
#' Main MetRKAT class #' #' @slot data data.frame. #' @slot wsize numeric. #' @slot wmethod character. #' @slot gap numeric. #' @slot intervals data.frame. #' @slot results data.frame. #' @slot annotation data.frame. #' @slot distmethod character. #' @slot max.na numeric. #' #' @return #' @export #' #' @examples setCla...
#' Determine if you have enough RAM memory #' #' This function determines if you have enough RAM memory on your system. #' #' @param how_much The number of bytes you want to compare against. #' #' @return A `logical(1)` indicating whether your system has enough RAM memory. #' @export #' #' @details If `benchmarkme::get...
/R/enough_ram.R
no_license
realyuyangyang/spatialLIBD
R
false
false
906
r
#' Determine if you have enough RAM memory #' #' This function determines if you have enough RAM memory on your system. #' #' @param how_much The number of bytes you want to compare against. #' #' @return A `logical(1)` indicating whether your system has enough RAM memory. #' @export #' #' @details If `benchmarkme::get...
##For data processing if(!file.exists("exdata-data-household_power_consumption.zip")) { temp <- tempfile() download.file("http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp) alldata <- unzip(temp) unlink(temp) } ##read the data and extract the data we need from 0...
/plot3.R
no_license
quanwaidian/ExData_Plotting1
R
false
false
1,511
r
##For data processing if(!file.exists("exdata-data-household_power_consumption.zip")) { temp <- tempfile() download.file("http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp) alldata <- unzip(temp) unlink(temp) } ##read the data and extract the data we need from 0...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fit_visdata.R \name{fit.visdata} \alias{fit.visdata} \title{This functino processes visual data to determine detection probabilities and strip widths for each platform Saves model output to files, and makes plots for evaluating model fit. Ret...
/HabitatProject/man/fit.visdata.Rd
no_license
kfrasier/AcoustoVisualDE
R
false
true
710
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fit_visdata.R \name{fit.visdata} \alias{fit.visdata} \title{This functino processes visual data to determine detection probabilities and strip widths for each platform Saves model output to files, and makes plots for evaluating model fit. Ret...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/elasticache_operations.R \name{elasticache_batch_stop_update_action} \alias{elasticache_batch_stop_update_action} \title{Stop the service update} \usage{ elasticache_batch_stop_update_action(ReplicationGroupIds, CacheClusterIds, ServiceUpda...
/cran/paws.database/man/elasticache_batch_stop_update_action.Rd
permissive
johnnytommy/paws
R
false
true
971
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/elasticache_operations.R \name{elasticache_batch_stop_update_action} \alias{elasticache_batch_stop_update_action} \title{Stop the service update} \usage{ elasticache_batch_stop_update_action(ReplicationGroupIds, CacheClusterIds, ServiceUpda...
#' @title Community Time Series Comparison with generateTS #' @description Compare community time series generated with generateTS. #' #' @details If R package infotheo is installed, the entropy of time series #' is computed. #' #' @param input.folder the folder where results (settings and time series) of function gene...
/R/compareTS.R
no_license
microbiome/seqtime
R
false
false
14,875
r
#' @title Community Time Series Comparison with generateTS #' @description Compare community time series generated with generateTS. #' #' @details If R package infotheo is installed, the entropy of time series #' is computed. #' #' @param input.folder the folder where results (settings and time series) of function gene...
#' box shadow UI Function #' #' @description A shiny Module. #' #' @param id,input,output,session Internal parameters for {shiny}. #' #' @noRd #' #' @importFrom shiny NS tagList mod_box_shadow_ui <- function(id){ ns <- NS(id) tagList( numericInput(inputId = ns("x_offset"), label = "X Offset",...
/R/mod_box_shadow.R
permissive
aftonsteps/shinycsshelper
R
false
false
1,783
r
#' box shadow UI Function #' #' @description A shiny Module. #' #' @param id,input,output,session Internal parameters for {shiny}. #' #' @noRd #' #' @importFrom shiny NS tagList mod_box_shadow_ui <- function(id){ ns <- NS(id) tagList( numericInput(inputId = ns("x_offset"), label = "X Offset",...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pl.3txt.R \name{pl.3txt} \alias{pl.3txt} \title{Scatter plot with text overlay} \usage{ pl.3txt(x,y,txt,title) } \arguments{ \item{x}{:a numeric vector} \item{y}{:a numeric vector} \item{txt}{:a vector used as labels} \item{...
/man/pl.3txt.Rd
no_license
cran/PMmisc
R
false
true
590
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pl.3txt.R \name{pl.3txt} \alias{pl.3txt} \title{Scatter plot with text overlay} \usage{ pl.3txt(x,y,txt,title) } \arguments{ \item{x}{:a numeric vector} \item{y}{:a numeric vector} \item{txt}{:a vector used as labels} \item{...
#' Lê metadados do resultado de baixar_cjsg_trf2 #' #' @param arquivos Vetor de arquivos #' @param diretorio Se arquivos for NULL, indicar diretório. #' #' @return Tibble com informações processuais #' @export #' #' @examples #' \dontrun{ #' ler_cjsg_trf2(diretorio = ".") #' } ler_cjsg_trf2 <- function(arquivos = NULL,...
/R/ler_cjsg_trf2.R
permissive
jjesusfilho/trf2
R
false
false
2,132
r
#' Lê metadados do resultado de baixar_cjsg_trf2 #' #' @param arquivos Vetor de arquivos #' @param diretorio Se arquivos for NULL, indicar diretório. #' #' @return Tibble com informações processuais #' @export #' #' @examples #' \dontrun{ #' ler_cjsg_trf2(diretorio = ".") #' } ler_cjsg_trf2 <- function(arquivos = NULL,...
#' Add transactions to a portfolio. #' #' When a trade or adjustment is made to the Portfolio, the addTxn function #' calculates the value and average cost of the transaction, the change in #' position, the resulting positions average cost, and any realized profit #' or loss (net of fees) from the transaction. The...
/R/addTxn.R
no_license
marascio/blotter
R
false
false
16,602
r
#' Add transactions to a portfolio. #' #' When a trade or adjustment is made to the Portfolio, the addTxn function #' calculates the value and average cost of the transaction, the change in #' position, the resulting positions average cost, and any realized profit #' or loss (net of fees) from the transaction. The...
#------------------------------------------------------------------------------# # calculating pleiotropy # #------------------------------------------------------------------------------# # The following function simulates the effect of all possible gene deletion...
/yeast7.6/without_constraint/R/yeast_without_constraint.R
no_license
deyazoubi/pleiotropy-
R
false
false
2,175
r
#------------------------------------------------------------------------------# # calculating pleiotropy # #------------------------------------------------------------------------------# # The following function simulates the effect of all possible gene deletion...
## File Name: CDM_require_namespace.R ## File Version: 0.08 CDM_require_namespace <- function(pkg) { if ( ! requireNamespace( pkg, quietly=TRUE) ){ stop( paste0("Package '", pkg, "' is needed for applying this function. Please install it." ), call.=FALSE) } }
/R/CDM_require_namespace.R
no_license
alexanderrobitzsch/CDM
R
false
false
289
r
## File Name: CDM_require_namespace.R ## File Version: 0.08 CDM_require_namespace <- function(pkg) { if ( ! requireNamespace( pkg, quietly=TRUE) ){ stop( paste0("Package '", pkg, "' is needed for applying this function. Please install it." ), call.=FALSE) } }
% Generated by roxygen2 (4.0.1): do not edit by hand \name{rotatedLabel} \alias{rotatedLabel} \title{Plot a rotated axis label} \usage{ rotatedLabel(x0 = seq_along(labels), y0 = rep(par("usr")[3], length(labels)), labels, pos = 1, cex = 1, srt = 45, ...) } \arguments{ \item{x0}{The x position} \item{y0}{The y positi...
/man/rotatedLabel.Rd
no_license
fzhang988/mg14
R
false
false
613
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{rotatedLabel} \alias{rotatedLabel} \title{Plot a rotated axis label} \usage{ rotatedLabel(x0 = seq_along(labels), y0 = rep(par("usr")[3], length(labels)), labels, pos = 1, cex = 1, srt = 45, ...) } \arguments{ \item{x0}{The x position} \item{y0}{The y positi...
library(data.table) library(dplyr) library(tidyr) library(stringr) library(caret) library(makedummies) library(text2vec) library(magrittr) library(textmineR) library(Rtsne) # Load Data --------------------------------------------------------------- aisles <- fread("aisles.csv") departments <- fread("departments.csv...
/notgood/bf_aisles_tsne_6xgboost_f1max.R
no_license
siero5335/Instacart-Market-Basket-Analysis_196
R
false
false
14,351
r
library(data.table) library(dplyr) library(tidyr) library(stringr) library(caret) library(makedummies) library(text2vec) library(magrittr) library(textmineR) library(Rtsne) # Load Data --------------------------------------------------------------- aisles <- fread("aisles.csv") departments <- fread("departments.csv...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{print.word_cor} \alias{print.word_cor} \title{Prints a word_cor object} \usage{ \method{print}{word_cor}(x, digits = 3, ...) } \arguments{ \item{x}{The word_cor object} \item{digits}{The number of digits to print} \item{\ldots}{ignored} } \description{ Prints...
/man/print.word_cor.Rd
no_license
joffrevillanueva/qdap
R
false
false
342
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{print.word_cor} \alias{print.word_cor} \title{Prints a word_cor object} \usage{ \method{print}{word_cor}(x, digits = 3, ...) } \arguments{ \item{x}{The word_cor object} \item{digits}{The number of digits to print} \item{\ldots}{ignored} } \description{ Prints...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/single.erl.R \name{single.erl} \alias{single.erl} \title{ERL-adjusted p-values} \usage{ single.erl(realvec, permat) } \arguments{ \item{realvec}{A vector of observed data.} \item{permat}{A matrix of simulated/permuted data, the \code{nrow} o...
/man/single.erl.Rd
no_license
wtagr/pppvalue
R
false
true
651
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/single.erl.R \name{single.erl} \alias{single.erl} \title{ERL-adjusted p-values} \usage{ single.erl(realvec, permat) } \arguments{ \item{realvec}{A vector of observed data.} \item{permat}{A matrix of simulated/permuted data, the \code{nrow} o...
## # NOPASS TEST: The following bug is associated with JIRA PUB-874 # 'Discrepancy Reporting GLM Cross Validation Models in R' # Testing R's glm model with cross validation on for Binomial and Gaussian distribution ## setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source('../h2o-runit.R') te...
/h2o-r/tests/testdir_jira/runit_NOPASS_pub_874_glm_cv_nonzero_reporting_large.R
permissive
jaadds/h2o-dev
R
false
false
1,601
r
## # NOPASS TEST: The following bug is associated with JIRA PUB-874 # 'Discrepancy Reporting GLM Cross Validation Models in R' # Testing R's glm model with cross validation on for Binomial and Gaussian distribution ## setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source('../h2o-runit.R') te...
#cd ~/Desktop/hw2-YuTaNCCU #setwd("~/Desktop/hw2-YuTaNCCU") #Rscript hw2_106356013.R --target male --inputs examples/method1.csv examples/method2.csv --output examples/output1.csv #Rscript hw2_106356013.R --target male --inputs examples/method1.csv examples/method3.csv examples/method5.csv --output examples/output2.csv...
/2th_evaluation/hw2-YuTaNCCU-master/hw2_106356013.R
no_license
YuTaNCCU/2017_DataSciencePractice
R
false
false
4,061
r
#cd ~/Desktop/hw2-YuTaNCCU #setwd("~/Desktop/hw2-YuTaNCCU") #Rscript hw2_106356013.R --target male --inputs examples/method1.csv examples/method2.csv --output examples/output1.csv #Rscript hw2_106356013.R --target male --inputs examples/method1.csv examples/method3.csv examples/method5.csv --output examples/output2.csv...
#' This function compute the testing power for independence testing, based on the two #' dimension simulations with rotation matrix. #' #' @param type is a number between 1 to 20, #' @param n is the sample size, #' @param d is the dimensionality that is an integer no smaller than 1. #' @param noise specifies the amount...
/docs/mgc/tests/run_hd_sims.R
permissive
ssabrii/r-mgc
R
false
false
2,280
r
#' This function compute the testing power for independence testing, based on the two #' dimension simulations with rotation matrix. #' #' @param type is a number between 1 to 20, #' @param n is the sample size, #' @param d is the dimensionality that is an integer no smaller than 1. #' @param noise specifies the amount...
#' Diagonal Quadratic Discriminant Analysis (DQDA) #' #' Given a set of training data, this function builds the Diagonal Quadratic #' Discriminant Analysis (DQDA) classifier, which is often attributed to Dudoit #' et al. (2002). The DQDA classifier belongs to the family of Naive Bayes #' classifiers, where the distribu...
/sparsediscrim/R/dqda.r
no_license
ingted/R-Examples
R
false
false
6,340
r
#' Diagonal Quadratic Discriminant Analysis (DQDA) #' #' Given a set of training data, this function builds the Diagonal Quadratic #' Discriminant Analysis (DQDA) classifier, which is often attributed to Dudoit #' et al. (2002). The DQDA classifier belongs to the family of Naive Bayes #' classifiers, where the distribu...
context("survival-cch") skip_if_not_installed("survival") library(survival) subcoh <- nwtco$in.subcohort selccoh <- with(nwtco, rel == 1 | subcoh == 1) ccoh.data <- nwtco[selccoh, ] ccoh.data$subcohort <- subcoh[selccoh] ccoh.data$histol <- factor(ccoh.data$histol, labels = c("FH", "UH")) ccoh.data$stage <-...
/packrat/lib/x86_64-apple-darwin18.2.0/3.5.2/broom/tests/testthat/test-survival-cch.R
no_license
teyden/asthma-research
R
false
false
823
r
context("survival-cch") skip_if_not_installed("survival") library(survival) subcoh <- nwtco$in.subcohort selccoh <- with(nwtco, rel == 1 | subcoh == 1) ccoh.data <- nwtco[selccoh, ] ccoh.data$subcohort <- subcoh[selccoh] ccoh.data$histol <- factor(ccoh.data$histol, labels = c("FH", "UH")) ccoh.data$stage <-...
source("sanity_check_lib.R") # Optim func get_optim_func <- function(rtn, A = NULL) { out <- function(par) { rtn <- rtn phi <- par[1] sig_eta <- par[2] ups <- par[3] sigma0 <- sig_eta^2 / (1 - phi^2) mu0 <- ups / (1 - phi) # We need special case for missing A if(is.null(A)) { a <- array(1, di...
/stat_sanity_check_sv.R
no_license
mvind/bachelor-missingdata
R
false
false
5,575
r
source("sanity_check_lib.R") # Optim func get_optim_func <- function(rtn, A = NULL) { out <- function(par) { rtn <- rtn phi <- par[1] sig_eta <- par[2] ups <- par[3] sigma0 <- sig_eta^2 / (1 - phi^2) mu0 <- ups / (1 - phi) # We need special case for missing A if(is.null(A)) { a <- array(1, di...
#' create a list of plots cleanly with extra pdf functionality #' @param .ggplot_list list of ggplot plots #' @param .start_page_number pdf-only starting page number for plots #' @details #' Especially for pdf, this can allow the generation of clean pdf pages #' with only plots, no code, warnings, etc. for all pages r...
/R/print_plots.R
no_license
smouksassi/PKPDmisc
R
false
false
1,877
r
#' create a list of plots cleanly with extra pdf functionality #' @param .ggplot_list list of ggplot plots #' @param .start_page_number pdf-only starting page number for plots #' @details #' Especially for pdf, this can allow the generation of clean pdf pages #' with only plots, no code, warnings, etc. for all pages r...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{chol_solve} \alias{chol_solve} \title{Solve function with Cholesky decomposition.} \usage{ chol_solve(M, V) } \arguments{ \item{M}{A (M x M) symmetric positive definite matrix.} \item{V}{A (M x 1) vector.} } ...
/man/chol_solve.Rd
no_license
cran/gigg
R
false
true
415
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{chol_solve} \alias{chol_solve} \title{Solve function with Cholesky decomposition.} \usage{ chol_solve(M, V) } \arguments{ \item{M}{A (M x M) symmetric positive definite matrix.} \item{V}{A (M x 1) vector.} } ...
library(kpodclustr) ### Name: initialImpute ### Title: Function for initial imputation for k-means ### Aliases: initialImpute ### ** Examples p <- 2 n <- 100 k <- 3 sigma <- 0.25 missing <- 0.05 Data <- makeData(p,n,k,sigma,missing) X <- Data$Missing X_copy <- initialImpute(X)
/data/genthat_extracted_code/kpodclustr/examples/initialImpute.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
285
r
library(kpodclustr) ### Name: initialImpute ### Title: Function for initial imputation for k-means ### Aliases: initialImpute ### ** Examples p <- 2 n <- 100 k <- 3 sigma <- 0.25 missing <- 0.05 Data <- makeData(p,n,k,sigma,missing) X <- Data$Missing X_copy <- initialImpute(X)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/insert_text.R \name{insert_text} \alias{insert_text} \title{Insert Text Function} \usage{ insert_text(inputId, text) } \arguments{ \item{inputId}{The input slot that will be used to access the value.} \item{text}{Text that yuu want to displa...
/man/insert_text.Rd
no_license
uk-gov-mirror/moj-analytical-services.shinyGovstyle
R
false
true
1,076
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/insert_text.R \name{insert_text} \alias{insert_text} \title{Insert Text Function} \usage{ insert_text(inputId, text) } \arguments{ \item{inputId}{The input slot that will be used to access the value.} \item{text}{Text that yuu want to displa...
#Factores x <- factor(c("si","no","si","si","no","si","no"),levels = c("si", "no")) x table(x) x<-factor(c("azul", "azul", "rojo", "azul", "amarillo")) x x<-c(1,2,NaN,10,3) is.na(x) is.nan(x) #Data Frames x<-data.frame( Erick = 1:4 , Lori = c(T, T, F, F)) row.names(x)<- c("primero", "segundo", "tercero", "cuarto") x nr...
/Clase 31:08:15.R
no_license
CesarAAG/Programacion_Actuarial_III_OT16
R
false
false
1,013
r
#Factores x <- factor(c("si","no","si","si","no","si","no"),levels = c("si", "no")) x table(x) x<-factor(c("azul", "azul", "rojo", "azul", "amarillo")) x x<-c(1,2,NaN,10,3) is.na(x) is.nan(x) #Data Frames x<-data.frame( Erick = 1:4 , Lori = c(T, T, F, F)) row.names(x)<- c("primero", "segundo", "tercero", "cuarto") x nr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/selectBiopax.R \name{getReferencedIDs} \alias{getReferencedIDs} \title{This function returns a vector of ids of all instances referenced by the specified instance.} \usage{ getReferencedIDs(biopax, id, recursive = TRUE, onlyFollowProperties =...
/man/getReferencedIDs.Rd
no_license
frankkramer-lab/rBiopaxParser
R
false
true
1,225
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/selectBiopax.R \name{getReferencedIDs} \alias{getReferencedIDs} \title{This function returns a vector of ids of all instances referenced by the specified instance.} \usage{ getReferencedIDs(biopax, id, recursive = TRUE, onlyFollowProperties =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/case_when.R \name{case_when} \alias{case_when} \title{A general vectorised if} \usage{ case_when(...) } \arguments{ \item{...}{A sequence of two-sided formulas. The left hand side (LHS) determines which values match this case. The right hand ...
/man/case_when.Rd
permissive
rramadeu/dplyr
R
false
true
1,891
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/case_when.R \name{case_when} \alias{case_when} \title{A general vectorised if} \usage{ case_when(...) } \arguments{ \item{...}{A sequence of two-sided formulas. The left hand side (LHS) determines which values match this case. The right hand ...
# Clean up the working environment rm(list = ls()) # Verify working directory, should be ~/Documents/Analyses/lastname_first getwd() ### Install and load packages #### # The following commands will install these packages if they are not already installed, # and then load them! if(!require(Rmisc)){install.packages("R...
/assignments/Exam1.R
no_license
BIO375/kim-harry
R
false
false
2,006
r
# Clean up the working environment rm(list = ls()) # Verify working directory, should be ~/Documents/Analyses/lastname_first getwd() ### Install and load packages #### # The following commands will install these packages if they are not already installed, # and then load them! if(!require(Rmisc)){install.packages("R...
\name{redfitMinls} \alias{redfitMinls} \title{Minimization - least square } \description{ The \code{\link{redfitMinls}} function is used by the \code{\link{redfitTauest}} function to calculate the persistence for unevenly spaced climate time series under study. \code{\link{redfitTauest}} is included in the \emph{red...
/man/redfitMinls.Rd
no_license
cran/BINCOR
R
false
false
2,290
rd
\name{redfitMinls} \alias{redfitMinls} \title{Minimization - least square } \description{ The \code{\link{redfitMinls}} function is used by the \code{\link{redfitTauest}} function to calculate the persistence for unevenly spaced climate time series under study. \code{\link{redfitTauest}} is included in the \emph{red...
PID_DO_reg { *iCATCache = bool("true"); EUDATCreatePID(*parent_pid, *source, *ror, *iCATCache, *newPID); writeLine("stdout","PID: *newPID"); } INPUT *source={{ irods_file }},*parent_pid="None",*ror="None" OUTPUT ruleExecOut
/irodsgraph/templates/getpid.r
permissive
pdonorio/irods2graph
R
false
false
231
r
PID_DO_reg { *iCATCache = bool("true"); EUDATCreatePID(*parent_pid, *source, *ror, *iCATCache, *newPID); writeLine("stdout","PID: *newPID"); } INPUT *source={{ irods_file }},*parent_pid="None",*ror="None" OUTPUT ruleExecOut
library(glycanr) ### Name: glyco.outliers ### Title: Discover outliers in glycan data ### Aliases: glyco.outliers ### ** Examples data(mpiu) glyco.outliers(mpiu) # outliers per plate glyco.outliers(mpiu, group="Plate")
/data/genthat_extracted_code/glycanr/examples/glyco.outliers.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
228
r
library(glycanr) ### Name: glyco.outliers ### Title: Discover outliers in glycan data ### Aliases: glyco.outliers ### ** Examples data(mpiu) glyco.outliers(mpiu) # outliers per plate glyco.outliers(mpiu, group="Plate")
#' Create a symbol or list of symbols #' #' These functions take strings as input and turn them into symbols. #' Contrarily to `as.name()`, they convert the strings to the native #' encoding beforehand. This is necessary because symbols remove #' silently the encoding mark of strings (see [set_str_encoding()]). #' #' @...
/R/expr-sym.R
no_license
jan-glx/rlang
R
false
false
2,755
r
#' Create a symbol or list of symbols #' #' These functions take strings as input and turn them into symbols. #' Contrarily to `as.name()`, they convert the strings to the native #' encoding beforehand. This is necessary because symbols remove #' silently the encoding mark of strings (see [set_str_encoding()]). #' #' @...
#' @section a_Positions: #' #' All \code{a_position_*} functions (like \code{a_position_dodge}) return a #' \code{a_Position*} object (like \code{a_PositionDodge}). The \code{a_Position*} #' object is responsible for adjusting the position of overlapping geoms. #' #' The way that the \code{a_position_*} functions...
/R/position-.r
no_license
vivekktiwari/animint2
R
false
false
3,563
r
#' @section a_Positions: #' #' All \code{a_position_*} functions (like \code{a_position_dodge}) return a #' \code{a_Position*} object (like \code{a_PositionDodge}). The \code{a_Position*} #' object is responsible for adjusting the position of overlapping geoms. #' #' The way that the \code{a_position_*} functions...
## Together, the following functions output the inverse ## of an invertable matrix. If the inverse matrix has ## already been computed, then these functions will avoid ## recalulating the inverse. ## makeCacheMatrix makes a list of four functions that ## either "set" or "get" the original matrix or the ## inverse...
/cachematrix.R
no_license
SLaw7/ProgrammingAssignment2
R
false
false
1,033
r
## Together, the following functions output the inverse ## of an invertable matrix. If the inverse matrix has ## already been computed, then these functions will avoid ## recalulating the inverse. ## makeCacheMatrix makes a list of four functions that ## either "set" or "get" the original matrix or the ## inverse...
#' Basic Kling Model Function #' #' This function computes the kling regressions for dividing the effect size of two different years of treatment. Your block variable must be factor, #' and your dataset must omit records with a missing outcome or a missing treatment assignment. #' @param number_to_crop should equal the...
/R/kling_as_function.R
no_license
skirmer/skpack
R
false
false
47,282
r
#' Basic Kling Model Function #' #' This function computes the kling regressions for dividing the effect size of two different years of treatment. Your block variable must be factor, #' and your dataset must omit records with a missing outcome or a missing treatment assignment. #' @param number_to_crop should equal the...
# Project euler poker hand # first save as matrix # highest card highest_card <- function(v){ score <- 0 one <- max(v) v[which.max(v)]<- 0 two <- max(v) v[which.max(v)]<- 0 three <- max(v) v[which.max(v)]<- 0 four <- max(v) v[which.max(v)]<- 0 five <- max(v) score <- one*10 + tw...
/poker_hand_cal_hand.R
no_license
mpommer/Poker-Bot
R
false
false
4,499
r
# Project euler poker hand # first save as matrix # highest card highest_card <- function(v){ score <- 0 one <- max(v) v[which.max(v)]<- 0 two <- max(v) v[which.max(v)]<- 0 three <- max(v) v[which.max(v)]<- 0 four <- max(v) v[which.max(v)]<- 0 five <- max(v) score <- one*10 + tw...
#' Get tweets to users #' #' This function collects tweets between specified date ranges that are #' in reply to the specified user(s). Tweet-level data is stored in a data/ path as a series of JSONs beginning #' "data_"; User-level data is stored as a series of JSONs beginning "users_". If a filename is supplied, #...
/R/get_to_tweetsv2.R
permissive
carlosantagiustina/academictwitteR
R
false
false
1,792
r
#' Get tweets to users #' #' This function collects tweets between specified date ranges that are #' in reply to the specified user(s). Tweet-level data is stored in a data/ path as a series of JSONs beginning #' "data_"; User-level data is stored as a series of JSONs beginning "users_". If a filename is supplied, #...
#Exploratory Data Analysis: Assignment 2 - plot 5 #downloading and extracting data url<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" if (!file.exists("NEI")){dir.create("NEI")} download.file(url, destfile=file.path("NEI","data.zip"), mode="wb") unzip(zipfile =file.path("NEI","data.zip"), exdir ...
/4. Exploratory Data Analysis/Assignments/assignment 2/plot5.R
no_license
yohannbos/DataScienceSpecialization
R
false
false
1,074
r
#Exploratory Data Analysis: Assignment 2 - plot 5 #downloading and extracting data url<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" if (!file.exists("NEI")){dir.create("NEI")} download.file(url, destfile=file.path("NEI","data.zip"), mode="wb") unzip(zipfile =file.path("NEI","data.zip"), exdir ...
#clusterProfiler (version 3.0.5) options(stringsAsFactors = FALSE) #Instalando clusterProfiler source("https://bioconductor.org/biocLite.R") biocLite("clusterProfiler") require(DOSE) require(clusterProfiler) #Carregando anotações com COG protein.id_cog <- read.delim( file = "/mnt/work1/agrobacterium/jhonatas/an...
/scripts_R/enricher_script.R
no_license
rodrigoguarischi/agrobacterium
R
false
false
3,105
r
#clusterProfiler (version 3.0.5) options(stringsAsFactors = FALSE) #Instalando clusterProfiler source("https://bioconductor.org/biocLite.R") biocLite("clusterProfiler") require(DOSE) require(clusterProfiler) #Carregando anotações com COG protein.id_cog <- read.delim( file = "/mnt/work1/agrobacterium/jhonatas/an...
## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { x <<- y m <<- NULL } get <- function() x setinverse <- function(inverse) m <<- inverse getinverse <- function() m list(set = set, ge...
/cachematrix.R
no_license
goraperas/coursera
R
false
false
701
r
## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { x <<- y m <<- NULL } get <- function() x setinverse <- function(inverse) m <<- inverse getinverse <- function() m list(set = set, ge...
install.packages("quantmod") install.packages("purrr") install.packages("tidyverse") install.packages("timetk") install.packages("chron") install.packages("tidyquant") install.packages("tibbletime") install.packages("highcharter") install.packages("shiny") install.packages("flexdashboard") install.packages("lattice") i...
/packages.R
permissive
anupamshandilya92/MSDS-RiskAnalytics
R
false
false
584
r
install.packages("quantmod") install.packages("purrr") install.packages("tidyverse") install.packages("timetk") install.packages("chron") install.packages("tidyquant") install.packages("tibbletime") install.packages("highcharter") install.packages("shiny") install.packages("flexdashboard") install.packages("lattice") i...
#' getNodes function #' #' getNodes function #' @param x likelihood #' @param k parameters #' @param n sample size #' @keywords #' @return aicc #' @export #' @examples #' getNodes() getNodes <- function(ttr) ttr$edge[which(ttr$edge[,2] > Ntip(ttr)), 2]
/R/getNodes.R
no_license
PuttickMacroevolution/cladeMode
R
false
false
256
r
#' getNodes function #' #' getNodes function #' @param x likelihood #' @param k parameters #' @param n sample size #' @keywords #' @return aicc #' @export #' @examples #' getNodes() getNodes <- function(ttr) ttr$edge[which(ttr$edge[,2] > Ntip(ttr)), 2]
rm(list = ls()) #title: "Deterministic compartmental model for 2019-nCov 2.0 " #author: "Antoinette Ludwig, Erin Rees' #date: "March, 16th, 2020" ################################################################################################# ### Resources: #http://sherrytowers.com/2015/10/01/difference-between-m...
/covid-19_SEIR.r
no_license
hswerdfe/seir_model
R
false
false
20,896
r
rm(list = ls()) #title: "Deterministic compartmental model for 2019-nCov 2.0 " #author: "Antoinette Ludwig, Erin Rees' #date: "March, 16th, 2020" ################################################################################################# ### Resources: #http://sherrytowers.com/2015/10/01/difference-between-m...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/signals.R \name{sigThreshold} \alias{sigThreshold} \title{generate a threshold signal} \usage{ sigThreshold( label, data = mktdata, column, threshold = 0, relationship = c("gt", "lt", "eq", "gte", "lte"), cross = FALSE ) } \argume...
/man/sigThreshold.Rd
no_license
braverock/quantstrat
R
false
true
928
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/signals.R \name{sigThreshold} \alias{sigThreshold} \title{generate a threshold signal} \usage{ sigThreshold( label, data = mktdata, column, threshold = 0, relationship = c("gt", "lt", "eq", "gte", "lte"), cross = FALSE ) } \argume...
Mort1Dsmooth_checker <- function(x, y, offset, w, overdispersion, ndx, deg, pord, lambda, df, method, coefstart, control){ ## Input: ## x: abcissae of...
/A_github/sources/authors/1161/MortalitySmooth/Mort1Dsmooth_checker.R
no_license
Irbis3/crantasticScrapper
R
false
false
5,325
r
Mort1Dsmooth_checker <- function(x, y, offset, w, overdispersion, ndx, deg, pord, lambda, df, method, coefstart, control){ ## Input: ## x: abcissae of...
# HW5: Tidying Data #' # 1. Load the `tidyr`, `readr` and `dplyr` package and use its function `read_csv()` # to read the dataset `warpbreaks.csv` (located in directory `data/`). # Store the corresponding dataframe into a variable `warpbreaks`. # For the following exercises, use the pipe operator `%>%` as much...
/week5 program/tidyr3.R
no_license
zhangzhiyuan233/GR5206-IntroToDataScience
R
false
false
3,682
r
# HW5: Tidying Data #' # 1. Load the `tidyr`, `readr` and `dplyr` package and use its function `read_csv()` # to read the dataset `warpbreaks.csv` (located in directory `data/`). # Store the corresponding dataframe into a variable `warpbreaks`. # For the following exercises, use the pipe operator `%>%` as much...
\docType{methods} \name{combineByKey} \alias{combineByKey} \alias{combineByKey,RDD,ANY,ANY,ANY,integer-method} \title{Combine values by key} \usage{ combineByKey(rdd, createCombiner, mergeValue, mergeCombiners, numPartitions) \S4method{combineByKey}{RDD,ANY,ANY,ANY,integer}(rdd, createCombiner, mergeValue, mergeComb...
/pkg/man/combineByKey.Rd
permissive
butterluo/SparkR-pkg
R
false
false
1,706
rd
\docType{methods} \name{combineByKey} \alias{combineByKey} \alias{combineByKey,RDD,ANY,ANY,ANY,integer-method} \title{Combine values by key} \usage{ combineByKey(rdd, createCombiner, mergeValue, mergeCombiners, numPartitions) \S4method{combineByKey}{RDD,ANY,ANY,ANY,integer}(rdd, createCombiner, mergeValue, mergeComb...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{ridl_container_country} \alias{ridl_container_country} \title{A dictionnary with the labels and values for container country} \usage{ ridl_container_country() } \value{ a data.frame with the keywords labels and values } \descrip...
/man/ridl_container_country.Rd
permissive
UNHCRmdl/ridl-1
R
false
true
391
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{ridl_container_country} \alias{ridl_container_country} \title{A dictionnary with the labels and values for container country} \usage{ ridl_container_country() } \value{ a data.frame with the keywords labels and values } \descrip...
#' @title Edge Switch #' #' @description Switches the edges so that tree layout can be calcuated #' @param g graph object #' @export #' @return graph object with edges switched switchEdge<-function(g){ e<-get.data.frame(g,what="edges") neworder<-1:length(e) neworder[1:2]<-c(2,1) e<-e[neworder] na...
/R/EdgeSwtich_function.R
no_license
anhnguyendepocen/GVTr
R
false
false
449
r
#' @title Edge Switch #' #' @description Switches the edges so that tree layout can be calcuated #' @param g graph object #' @export #' @return graph object with edges switched switchEdge<-function(g){ e<-get.data.frame(g,what="edges") neworder<-1:length(e) neworder[1:2]<-c(2,1) e<-e[neworder] na...
ls# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Load Data covid <- read.csv("total_cases.csv") # Define a server for the Shiny ap...
/server.R
no_license
little88125/ShinyApp-Covid19
R
false
false
632
r
ls# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Load Data covid <- read.csv("total_cases.csv") # Define a server for the Shiny ap...
setwd('D:/samsung_ai/test/') dat <- read.csv('dataSet.csv') dat5 <- dplyr::select(dat, 사상자수, 중상자수, 부상신고자수) ind <- sample(1:2, nrow(dat5), replace = TRUE, prob = c(0.7, 0.3)) train <- dat5[ind==1,] test <- dat5[ind==2,] sv <- svm(사상자수~., data=train, kernel = "linear") sv <- svm(사상자수~., data=train, kernel = "radial") ...
/eda & simple modeling/env_04.R
no_license
hyeonho1028/Samsung-Data-Challenge
R
false
false
810
r
setwd('D:/samsung_ai/test/') dat <- read.csv('dataSet.csv') dat5 <- dplyr::select(dat, 사상자수, 중상자수, 부상신고자수) ind <- sample(1:2, nrow(dat5), replace = TRUE, prob = c(0.7, 0.3)) train <- dat5[ind==1,] test <- dat5[ind==2,] sv <- svm(사상자수~., data=train, kernel = "linear") sv <- svm(사상자수~., data=train, kernel = "radial") ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/reshape.R \name{stretch} \alias{stretch} \title{Stretch correlation data frame into long format.} \usage{ stretch(x, na.rm = FALSE, remove.dups = FALSE) } \arguments{ \item{x}{cor_df. See \code{\link{correlate}}.} \item{na.rm}{Boolean. Wheth...
/man/stretch.Rd
no_license
tashkeev-alex/corrr
R
false
true
1,163
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/reshape.R \name{stretch} \alias{stretch} \title{Stretch correlation data frame into long format.} \usage{ stretch(x, na.rm = FALSE, remove.dups = FALSE) } \arguments{ \item{x}{cor_df. See \code{\link{correlate}}.} \item{na.rm}{Boolean. Wheth...
library(sbpiper) ### Name: plot_sampled_2d_ple ### Title: Plot 2D profile likelihood estimations. ### Aliases: plot_sampled_2d_ple ### ** Examples dir.create(file.path("pe_plots")) data(insulin_receptor_all_fits) colnames(insulin_receptor_all_fits)[1] <- "ObjVal" insulin_receptor_all_fits[,2:4] <- log10(insulin_rec...
/data/genthat_extracted_code/sbpiper/examples/plot_sampled_2d_ple.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
563
r
library(sbpiper) ### Name: plot_sampled_2d_ple ### Title: Plot 2D profile likelihood estimations. ### Aliases: plot_sampled_2d_ple ### ** Examples dir.create(file.path("pe_plots")) data(insulin_receptor_all_fits) colnames(insulin_receptor_all_fits)[1] <- "ObjVal" insulin_receptor_all_fits[,2:4] <- log10(insulin_rec...
#SMA from Time series Douglas Page23 library(readr) library(magrittr) library(dplyr) library(ggplot2) library(TTR) NasaGiss <- read_csv("NasaGiss.csv") #blue NasaGiss <- NasaGiss %>% mutate(Avg = (Jan+Feb+Mar+Apr+May+Jun+Jul+Aug+Sep+Oct+Nov+Dec)/12.0) %>% select(Year,Avg) #black NasaGiss$SMA <- SMA(NasaGiss$Avg,5) #TTR...
/SMA/SMA.R
no_license
Bright130/TimeSeries
R
false
false
825
r
#SMA from Time series Douglas Page23 library(readr) library(magrittr) library(dplyr) library(ggplot2) library(TTR) NasaGiss <- read_csv("NasaGiss.csv") #blue NasaGiss <- NasaGiss %>% mutate(Avg = (Jan+Feb+Mar+Apr+May+Jun+Jul+Aug+Sep+Oct+Nov+Dec)/12.0) %>% select(Year,Avg) #black NasaGiss$SMA <- SMA(NasaGiss$Avg,5) #TTR...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compute_functions.R \name{targetTcpProxies.get} \alias{targetTcpProxies.get} \title{Returns the specified TargetTcpProxy resource. Get a list of available target TCP proxies by making a list() request.} \usage{ targetTcpProxies.get(project, t...
/googlecomputealpha.auto/man/targetTcpProxies.get.Rd
permissive
GVersteeg/autoGoogleAPI
R
false
true
1,182
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compute_functions.R \name{targetTcpProxies.get} \alias{targetTcpProxies.get} \title{Returns the specified TargetTcpProxy resource. Get a list of available target TCP proxies by making a list() request.} \usage{ targetTcpProxies.get(project, t...
# offpsring gtypes gtype key: 0 = 0,0 ; homozygous non-resistant 1 = 1,0 ; heterozyogous resistant 2 = 1,1 ; homozygous resistant mating = 0 x 0 offspring = 0 mating = 2 x 2 offspring = 2 mating = 1 x 1 offspring = 1,1 1,0 0,1 0,0 = (.25 x 0, 0.5 x 1, 0.25 x 2) mating 0 x 2 offspring = 1,0 1,0 1,0 1,0 = 1 mating ...
/lamprey4.3/source/Reference/GenotypeCrossProbabilities.R
no_license
ChristieLab/Lamprey-Model
R
false
false
441
r
# offpsring gtypes gtype key: 0 = 0,0 ; homozygous non-resistant 1 = 1,0 ; heterozyogous resistant 2 = 1,1 ; homozygous resistant mating = 0 x 0 offspring = 0 mating = 2 x 2 offspring = 2 mating = 1 x 1 offspring = 1,1 1,0 0,1 0,0 = (.25 x 0, 0.5 x 1, 0.25 x 2) mating 0 x 2 offspring = 1,0 1,0 1,0 1,0 = 1 mating ...
library(RPostgreSQL) con <- dbConnect("PostgreSQL", user = "nathan", password="p4rk3r", db="biomass_pt") cost <- c(0,150) biomass <- c(0,28) pdf("CA SC.pdf") grab2 <- dbSendQuery(con, "select sum, cost from CA_all_SC where cost <=150") A <- fetch(grab2) dbClearResult(grab2) plot(A, type="l", col...
/make-db/results/r/CA_all_SC.r
no_license
qjhart/wga-biorefinery-study
R
false
false
600
r
library(RPostgreSQL) con <- dbConnect("PostgreSQL", user = "nathan", password="p4rk3r", db="biomass_pt") cost <- c(0,150) biomass <- c(0,28) pdf("CA SC.pdf") grab2 <- dbSendQuery(con, "select sum, cost from CA_all_SC where cost <=150") A <- fetch(grab2) dbClearResult(grab2) plot(A, type="l", col...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{hitters} \alias{hitters} \title{Baseball hitters career and 1986 season total statistics} \format{ A \emph{263} by \emph{16} matrix. The variables are centered to zero mean and standardized to unit variance. \descr...
/man/hitters.Rd
permissive
merolagio/LSSPCA
R
false
true
1,254
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{hitters} \alias{hitters} \title{Baseball hitters career and 1986 season total statistics} \format{ A \emph{263} by \emph{16} matrix. The variables are centered to zero mean and standardized to unit variance. \descr...
library(sampling) library(dplyr) load("data/muestraTP2.RData") load("parteA.RData") # Compruebo que FTedad1 y Oedad1 son siempre iguales a cero all(muestraTP2$FTedad1 == 0) all(muestraTP2$Oedad1 == 0) # Agrego variables extras necesarias para la estimacion muestraTP2$SaludTot <- muestraTP2$SaludF + muestraTP2$SaludM...
/tp2B.R
no_license
capitantoto/tp2-muestreo
R
false
false
1,013
r
library(sampling) library(dplyr) load("data/muestraTP2.RData") load("parteA.RData") # Compruebo que FTedad1 y Oedad1 son siempre iguales a cero all(muestraTP2$FTedad1 == 0) all(muestraTP2$Oedad1 == 0) # Agrego variables extras necesarias para la estimacion muestraTP2$SaludTot <- muestraTP2$SaludF + muestraTP2$SaludM...
##check the file names under zip file unzip("project01.zip", list = T) #read txt data df <- read.table(unz("project01.zip","household_power_consumption.txt"), na.strings = "?", quote = "", header = T, sep = ";") #subset data from the dates 2007-02-01 and 2007-02-02 library(dplyr) library(lubridate) df_subset...
/plot4.R
no_license
xuan2144/ExData_Plotting1
R
false
false
1,860
r
##check the file names under zip file unzip("project01.zip", list = T) #read txt data df <- read.table(unz("project01.zip","household_power_consumption.txt"), na.strings = "?", quote = "", header = T, sep = ";") #subset data from the dates 2007-02-01 and 2007-02-02 library(dplyr) library(lubridate) df_subset...
\name{WSDLMethod-class} \docType{class} \alias{WSDLMethod-class} \title{Description of a SOAP method} \description{ This class is used to describe the elements of a SOAP method as described in a Web Service Description Language (WSDL) file. } \section{Objects from the Class}{ Objects can be created by calls of the fo...
/man/WSDLMethod-class.Rd
no_license
sckott/SSOAP
R
false
false
2,434
rd
\name{WSDLMethod-class} \docType{class} \alias{WSDLMethod-class} \title{Description of a SOAP method} \description{ This class is used to describe the elements of a SOAP method as described in a Web Service Description Language (WSDL) file. } \section{Objects from the Class}{ Objects can be created by calls of the fo...
### #Author: Patrick Glettig, Nico Wohlgemuth #Date: 24.02.2018 #Description: This Script imports the exchange Rate data and prepares the data for analysis. ### #get libraries library(reshape2) library(ggplot2) #Initialize Parameters pop <- 5000 n_0 <- 5 beta <- 20 gamma <- 1 s <- rep(0, pop) #Infect a random sam...
/RScript First exercise.R
no_license
JustierNo1/SISSIRModel
R
false
false
2,283
r
### #Author: Patrick Glettig, Nico Wohlgemuth #Date: 24.02.2018 #Description: This Script imports the exchange Rate data and prepares the data for analysis. ### #get libraries library(reshape2) library(ggplot2) #Initialize Parameters pop <- 5000 n_0 <- 5 beta <- 20 gamma <- 1 s <- rep(0, pop) #Infect a random sam...
# alpha is parameter defining prior # X is data. Observations from each arm are in a single column # Need a measure equivalent to regret since sampling distribution is not specified gaussian_bandit <- function(alpha,X,t,k){ # initializing n since prior is improper n <- max( c(2,2-ceiling(2*alpha))) # initial rewards...
/gaussian functions/gaussian bandit for data.R
no_license
cma43/Bayes-Project
R
false
false
1,036
r
# alpha is parameter defining prior # X is data. Observations from each arm are in a single column # Need a measure equivalent to regret since sampling distribution is not specified gaussian_bandit <- function(alpha,X,t,k){ # initializing n since prior is improper n <- max( c(2,2-ceiling(2*alpha))) # initial rewards...
#--------------------------------# ### Chapter 3: Basic Graphics #### #--------------------------------# #remove all objects from the environment rm(list = ls()) #Loading datasets #Stata-dataset #install required package if(!require(haven)) install.package...
/Scripts/3.3_Scatterplots.r
no_license
SimonRess/W-Introduction-to-R
R
false
false
4,343
r
#--------------------------------# ### Chapter 3: Basic Graphics #### #--------------------------------# #remove all objects from the environment rm(list = ls()) #Loading datasets #Stata-dataset #install required package if(!require(haven)) install.package...
% % Auto-generated file, do not modify. % Instead, copy this file to the man/ folder, remove this warning, and edit freely. % Use Git to identify changes in this file which suggest where to change your edited copy. % \name{synDownloadTableColumns} \alias{synDownloadTableColumns} \docType{methods} \title{ synDownload...
/auto-man/synDownloadTableColumns.Rd
permissive
karawoo/synapser
R
false
false
1,535
rd
% % Auto-generated file, do not modify. % Instead, copy this file to the man/ folder, remove this warning, and edit freely. % Use Git to identify changes in this file which suggest where to change your edited copy. % \name{synDownloadTableColumns} \alias{synDownloadTableColumns} \docType{methods} \title{ synDownload...
rm(list=ls()) ######################## ### Inference via ML ### ######################## library(gmm) library(ReIns) library(parallel) library(methods) source("Raux.R") source("Distributions.R");source("auxillary.R");source("function_inference.R") data<-read.csv("CYA_newdata.txt")$Ultimate x<-tail(data,200) #x<-ReIns...
/EP_application.R
no_license
atwgao/EGP
R
false
false
974
r
rm(list=ls()) ######################## ### Inference via ML ### ######################## library(gmm) library(ReIns) library(parallel) library(methods) source("Raux.R") source("Distributions.R");source("auxillary.R");source("function_inference.R") data<-read.csv("CYA_newdata.txt")$Ultimate x<-tail(data,200) #x<-ReIns...
# Roxygen documentation #' Collects a URL and stores it locally using file name. Websites are printed into PDF, URLS to files are downloaded. #' #' @return The complete file name of the collected url (incl. file format). #' @references www.globaltradealert.org #' @author GTA # Function infos and parameters --------...
/R/gta collect url.R
no_license
global-trade-alert/gtalibrary
R
false
false
1,753
r
# Roxygen documentation #' Collects a URL and stores it locally using file name. Websites are printed into PDF, URLS to files are downloaded. #' #' @return The complete file name of the collected url (incl. file format). #' @references www.globaltradealert.org #' @author GTA # Function infos and parameters --------...