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
testlist <- list(detail = 0L, x = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), y = numeric(0)) result <- do.call(ggforce:::bezierPath,testlist)...
/ggforce/inst/testfiles/bezierPath/libFuzzer_bezierPath/bezierPath_valgrind_files/1609955101-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
332
r
testlist <- list(detail = 0L, x = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), y = numeric(0)) result <- do.call(ggforce:::bezierPath,testlist)...
mapFeature = function(X1, X2) { degree = 6 out = as.matrix(rep(1,length(X1))) for(i in 1:degree) { for(j in 0:i) { out = cbind(out, (X1^j) * (X2^(i-j))) } } return(out) } h = function(theta, X) { return(1/(1+exp(-X %*% theta)) ) } computeCost = function(theta, X, y, lamda) { m = length(y) n = length(t...
/solR/exercise2/ex2_reg.R
no_license
AbheekG/machineLearningAssignments
R
false
false
1,886
r
mapFeature = function(X1, X2) { degree = 6 out = as.matrix(rep(1,length(X1))) for(i in 1:degree) { for(j in 0:i) { out = cbind(out, (X1^j) * (X2^(i-j))) } } return(out) } h = function(theta, X) { return(1/(1+exp(-X %*% theta)) ) } computeCost = function(theta, X, y, lamda) { m = length(y) n = length(t...
## configure_repo.r ## configure_repo.r ensures all files in your repo are properly configured. ## It must be sourced before calculating OHI scores with ohicore::CalculateAll(); ## it can be sourced here or is also sourced from calculate_scores.r. ## You are encouraged to use this script when developing individual ...
/eez2016/configure_toolbox.r
no_license
OHI-Science/cnc
R
false
false
1,451
r
## configure_repo.r ## configure_repo.r ensures all files in your repo are properly configured. ## It must be sourced before calculating OHI scores with ohicore::CalculateAll(); ## it can be sourced here or is also sourced from calculate_scores.r. ## You are encouraged to use this script when developing individual ...
library(HiddenMarkov) library(fitdistrplus) library(beepr) "Lectura de datos" data <- read.csv(file="/home/yordan/YORDAN/UNAL/TESIS_MAESTRIA/25_expo_2018/datos_PP_NovAbr_anom_925.csv" , header=FALSE, sep=",") spd = c(data$V1) spd = spd/max(spd) * 0.9999999 # Se multiplica por 0.9999999 porque...
/26_expo_2018/Validation/validation_NovAbr_PP_Gamma.R
no_license
yordanarango/MASTER_THESIS
R
false
false
8,014
r
library(HiddenMarkov) library(fitdistrplus) library(beepr) "Lectura de datos" data <- read.csv(file="/home/yordan/YORDAN/UNAL/TESIS_MAESTRIA/25_expo_2018/datos_PP_NovAbr_anom_925.csv" , header=FALSE, sep=",") spd = c(data$V1) spd = spd/max(spd) * 0.9999999 # Se multiplica por 0.9999999 porque...
library(Gmisc) ### Name: mergeLists ### Title: Merging of multiple lists ### Aliases: mergeLists ### ** Examples v1 <- list("a"=c(1,2), b="test 1", sublist=list(one=20:21, two=21:22)) v2 <- list("a"=c(3,4), b="test 2", sublist=list(one=10:11, two=11:12, three=1:2)) mergeLists(v1, v2)
/data/genthat_extracted_code/Gmisc/examples/mergeLists.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
292
r
library(Gmisc) ### Name: mergeLists ### Title: Merging of multiple lists ### Aliases: mergeLists ### ** Examples v1 <- list("a"=c(1,2), b="test 1", sublist=list(one=20:21, two=21:22)) v2 <- list("a"=c(3,4), b="test 2", sublist=list(one=10:11, two=11:12, three=1:2)) mergeLists(v1, v2)
testlist <- list(Beta = 0, CVLinf = 86341236051411296, FM = 1.53632495265886e-311, L50 = 0, L95 = 0, LenBins = c(2.0975686864138e+162, -2.68131210337361e-144, -1.11215735981244e+199, -4.48649879577108e+143, 1.6611802228813e+218, 900371.947279558, 1.07063092954708e+238, 2.88003257377011e-142, 1.29554...
/DLMtool/inst/testfiles/LBSPRgen/AFL_LBSPRgen/LBSPRgen_valgrind_files/1615835342-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
2,078
r
testlist <- list(Beta = 0, CVLinf = 86341236051411296, FM = 1.53632495265886e-311, L50 = 0, L95 = 0, LenBins = c(2.0975686864138e+162, -2.68131210337361e-144, -1.11215735981244e+199, -4.48649879577108e+143, 1.6611802228813e+218, 900371.947279558, 1.07063092954708e+238, 2.88003257377011e-142, 1.29554...
answers <- result pml_write_files <- function(x){ n = length(x) for(i in 1:n){ filename = paste0("problem_results/problem_id_",i,".txt") write.table(x[i], file=filename, quote=FALSE, row.names=FALSE, col.names=FALSE) } } pml_write_files...
/submission script.R
no_license
pratikshr/project
R
false
false
330
r
answers <- result pml_write_files <- function(x){ n = length(x) for(i in 1:n){ filename = paste0("problem_results/problem_id_",i,".txt") write.table(x[i], file=filename, quote=FALSE, row.names=FALSE, col.names=FALSE) } } pml_write_files...
spinsas <- function(sasfile, text=NULL, keep=FALSE, ...) { # stopifnot((length(sasfile)==1 && file.exists(sasfile))||length(text)==1) if (is.null(text)) { vtext <- readLines(sasfile, warn=FALSE) } else { vtext <- text } # reshape from R to SAS vtext <- unlist(strspl...
/R/spinsas.r
no_license
mlamias/SASmarkdown
R
false
false
2,704
r
spinsas <- function(sasfile, text=NULL, keep=FALSE, ...) { # stopifnot((length(sasfile)==1 && file.exists(sasfile))||length(text)==1) if (is.null(text)) { vtext <- readLines(sasfile, warn=FALSE) } else { vtext <- text } # reshape from R to SAS vtext <- unlist(strspl...
context("Custom Vision project and image creation") custvis_url <- Sys.getenv("AZ_TEST_CUSTOMVISION_URL") custvis_key <- Sys.getenv("AZ_TEST_CUSTOMVISION_KEY") storage <- Sys.getenv("AZ_TEST_STORAGE_ACCT") custvis_sas <- Sys.getenv("AZ_TEST_CUSTOMVISION_SAS") if(custvis_url == "" || custvis_key == "" || storage == ""...
/tests/testthat/test02_custvis.R
permissive
isabella232/AzureVision
R
false
false
2,510
r
context("Custom Vision project and image creation") custvis_url <- Sys.getenv("AZ_TEST_CUSTOMVISION_URL") custvis_key <- Sys.getenv("AZ_TEST_CUSTOMVISION_KEY") storage <- Sys.getenv("AZ_TEST_STORAGE_ACCT") custvis_sas <- Sys.getenv("AZ_TEST_CUSTOMVISION_SAS") if(custvis_url == "" || custvis_key == "" || storage == ""...
#reference: https://github.com/kbroman/pkg_primer/blob/gh-pages/example/stage3/R/plot_crayons.R #' Annotates HiCcompare interaction data output. #' #' @param filename filename of the HiCcompare output, in csv format.If NULL, then the provided dataframe is used instead. #' #' @param df dataframe containing HiCcompare o...
/R/annotation_GInt.R
no_license
seandavi/HiClink
R
false
false
1,013
r
#reference: https://github.com/kbroman/pkg_primer/blob/gh-pages/example/stage3/R/plot_crayons.R #' Annotates HiCcompare interaction data output. #' #' @param filename filename of the HiCcompare output, in csv format.If NULL, then the provided dataframe is used instead. #' #' @param df dataframe containing HiCcompare o...
library(testthat) library(CoreComp) test_check("CoreComp")
/tests/testthat.R
permissive
keocorak/CoreComp
R
false
false
60
r
library(testthat) library(CoreComp) test_check("CoreComp")
\name{wdSubsubsection} \Rdversion{1.1} \alias{wdSubsubsection} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Start a new Word section, add a heading and a bookmark. } \description{ Start a subsection (see \code{\link{wdSection}} for details. } \usage{ wdSubsubsection(title, label = g...
/man/wdSubsubsection.Rd
no_license
cran/R2wd
R
false
false
1,130
rd
\name{wdSubsubsection} \Rdversion{1.1} \alias{wdSubsubsection} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Start a new Word section, add a heading and a bookmark. } \description{ Start a subsection (see \code{\link{wdSection}} for details. } \usage{ wdSubsubsection(title, label = g...
#Day_4_BioStats #19/04/2018 #Matthew_Arendse #3440197 #Day 4 of the BSc BCB(Hons) BioStats Module 2018: ANOVA Tests # Load Libraries ---------------------------------------------------------- library(tidyverse) library(ggpubr) # Run a T-Test ------------------------------------------------------------ # First...
/Day_4_BioStats.R
no_license
MatthewArendse/BioStats_R_2018
R
false
false
5,449
r
#Day_4_BioStats #19/04/2018 #Matthew_Arendse #3440197 #Day 4 of the BSc BCB(Hons) BioStats Module 2018: ANOVA Tests # Load Libraries ---------------------------------------------------------- library(tidyverse) library(ggpubr) # Run a T-Test ------------------------------------------------------------ # First...
library(shiny) typingSpeedInput <- function(inputId, label, placeholder = NULL) { div( class = "form-group typing-speed", tags$label(class = "control-label", `for` = inputId), tags$textarea(id = inputId, class = "form-control", placeholder = placeholder), htmltools::htmlDependency( name = "typi...
/frappeCharts/type-racer-2/app.R
no_license
holmesjoli/rconf
R
false
false
692
r
library(shiny) typingSpeedInput <- function(inputId, label, placeholder = NULL) { div( class = "form-group typing-speed", tags$label(class = "control-label", `for` = inputId), tags$textarea(id = inputId, class = "form-control", placeholder = placeholder), htmltools::htmlDependency( name = "typi...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{plot_sizecomp_res} \alias{plot_sizecomp_res} \title{Plot size composition residuals} \usage{ plot_sizecomp_res(replist, which_plots = "all") } \arguments{ \item{replist}{List object created by read_admb function} } \value{ Bubble plot of size composition residu...
/Rsrc/man/plot_sizecomp_res.Rd
no_license
LarryJacobson/gmacs
R
false
false
379
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{plot_sizecomp_res} \alias{plot_sizecomp_res} \title{Plot size composition residuals} \usage{ plot_sizecomp_res(replist, which_plots = "all") } \arguments{ \item{replist}{List object created by read_admb function} } \value{ Bubble plot of size composition residu...
#' Template Functionalities. #' #' @rdname TemplatesFunctions #' @name TemplatesFunctions #' #' @description #' \describe{ #' \item{\code{adjust_binding_regions}}{Adjusts the existing annotation #' of binding regions by specifying #' a new binding interval relative to the existing binding region.} #' \item{\code{assig...
/R/TemplatesDoc.R
no_license
dfajar2/openPrimeR
R
false
false
2,660
r
#' Template Functionalities. #' #' @rdname TemplatesFunctions #' @name TemplatesFunctions #' #' @description #' \describe{ #' \item{\code{adjust_binding_regions}}{Adjusts the existing annotation #' of binding regions by specifying #' a new binding interval relative to the existing binding region.} #' \item{\code{assig...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 24778 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 24778 c c Input Parameter (command line, file): c input filename QBFLIB/Miller-Marin/incrementer-encoder/incrementer-enc02-non...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Miller-Marin/incrementer-encoder/incrementer-enc02-nonuniform-depth-15/incrementer-enc02-nonuniform-depth-15.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
707
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 24778 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 24778 c c Input Parameter (command line, file): c input filename QBFLIB/Miller-Marin/incrementer-encoder/incrementer-enc02-non...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{melt.gct} \alias{melt.gct} \title{Transform a GCT object in to a long form \code{\link{data.table}} (aka 'melt')} \usage{ melt.gct(g, suffixes = NULL, remove_symmetries = F, keep_rdesc = T, keep_cdesc = T, ...) } \arguments{ \...
/man/melt.gct.Rd
permissive
wangdi2014/cmapR
R
false
true
1,701
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{melt.gct} \alias{melt.gct} \title{Transform a GCT object in to a long form \code{\link{data.table}} (aka 'melt')} \usage{ melt.gct(g, suffixes = NULL, remove_symmetries = F, keep_rdesc = T, keep_cdesc = T, ...) } \arguments{ \...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/soccerStandardiseCols.R \name{soccerStandardiseCols} \alias{soccerStandardiseCols} \title{Rename columns in a dataframe for easier use with other {soccermatics} functions} \usage{ soccerStandardiseCols(df, method = c("statsbomb")) } \argument...
/man/soccerStandardiseCols.Rd
no_license
mthesen/soccermatics
R
false
true
1,160
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/soccerStandardiseCols.R \name{soccerStandardiseCols} \alias{soccerStandardiseCols} \title{Rename columns in a dataframe for easier use with other {soccermatics} functions} \usage{ soccerStandardiseCols(df, method = c("statsbomb")) } \argument...
library(tidyverse) head(diamonds) nrow(diamonds) diamond<-diamonds levels(diamond$clarity)[levels(diamond$clarity) == "I1"] <- "worst" levels(diamond$clarity)[levels(diamond$clarity) == "SI2"] <- "worst" levels(diamond$clarity)[levels(diamond$clarity) == "SI1"] <- "okay" levels(diamond$clarity)[levels(diamond$clarity) ...
/BFast on real data/Bfast on diamonds.R
no_license
wangy63/Leverage-Subsampling
R
false
false
5,019
r
library(tidyverse) head(diamonds) nrow(diamonds) diamond<-diamonds levels(diamond$clarity)[levels(diamond$clarity) == "I1"] <- "worst" levels(diamond$clarity)[levels(diamond$clarity) == "SI2"] <- "worst" levels(diamond$clarity)[levels(diamond$clarity) == "SI1"] <- "okay" levels(diamond$clarity)[levels(diamond$clarity) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/eurostat-package.R \docType{package} \name{eurostat-package} \alias{eurostat-package} \alias{eurostat} \title{R Tools for Eurostat open data} \description{ Brief summary of the eurostat package } \details{ \tabular{ll}{ \tab \cr \stro...
/man/eurostat-package.Rd
permissive
rOpenGov/eurostat
R
false
true
1,938
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/eurostat-package.R \docType{package} \name{eurostat-package} \alias{eurostat-package} \alias{eurostat} \title{R Tools for Eurostat open data} \description{ Brief summary of the eurostat package } \details{ \tabular{ll}{ \tab \cr \stro...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{getYtdCumSharpeCpp} \alias{getYtdCumSharpeCpp} \title{get cumu ytd sharpe} \usage{ getYtdCumSharpeCpp(x) } \arguments{ \item{x}{numvec} } \description{ get cumu ytd sharpe }
/man/getYtdCumSharpeCpp.Rd
no_license
lukas1421/chinaTrading
R
false
true
272
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{getYtdCumSharpeCpp} \alias{getYtdCumSharpeCpp} \title{get cumu ytd sharpe} \usage{ getYtdCumSharpeCpp(x) } \arguments{ \item{x}{numvec} } \description{ get cumu ytd sharpe }
### making maps and preparing shapefiles ## load libraries library(fields) library(dplyr) library(dismo) library(maptools) ##using file made from Ownbey textbook source #importing species csv files into R alliumcanadense<-read.csv("alliumdataset_map_data.csv") #remove missing data in alliumcanadense alliumcanadense ...
/mapping.R
no_license
aortiz24/Allium_nicheModeling
R
false
false
4,732
r
### making maps and preparing shapefiles ## load libraries library(fields) library(dplyr) library(dismo) library(maptools) ##using file made from Ownbey textbook source #importing species csv files into R alliumcanadense<-read.csv("alliumdataset_map_data.csv") #remove missing data in alliumcanadense alliumcanadense ...
#Downloaded data from strain collection. Cleaned up by hand first. gluc_conc_comp_datatable <- read.delim( "~/Desktop/gluc_conc_comp_datatable.txt", header=FALSE, na.strings=c("","NA"), strip.white=TRUE) x<-which(gluc_conc_comp_datatable$V2=="unknown") y<-which(gluc_conc_comp_datatable$V2=="Unknown") z<-which(glu...
/scripts/troubleshooting_gluc_conc_issues.r
no_license
KatieFish/SurveyPaper
R
false
false
4,355
r
#Downloaded data from strain collection. Cleaned up by hand first. gluc_conc_comp_datatable <- read.delim( "~/Desktop/gluc_conc_comp_datatable.txt", header=FALSE, na.strings=c("","NA"), strip.white=TRUE) x<-which(gluc_conc_comp_datatable$V2=="unknown") y<-which(gluc_conc_comp_datatable$V2=="Unknown") z<-which(glu...
hpcdata <- read.table("household_power_consumption.txt",skip=1,sep=";") names(hpcdata) <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3") subsetdates <- subset(hpcdata,hpcdata$Date=="1/2/2007" | hpcdata$Date =="2/2/2007...
/plot1.R
no_license
AnnaHarrington/ExData_Plotting1
R
false
false
746
r
hpcdata <- read.table("household_power_consumption.txt",skip=1,sep=";") names(hpcdata) <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3") subsetdates <- subset(hpcdata,hpcdata$Date=="1/2/2007" | hpcdata$Date =="2/2/2007...
\encoding{utf-8} \name{power.scABEL} \alias{power.scABEL} \title{ (Empirical) Power of BE decision via scaled (widened) BE acceptance limits } \description{ These function performs the power calculation of the BE decision via scaled (widened) BE acceptance limits by simulations. } \usage{ power.scABEL(alpha = 0.05, th...
/man/power.scABEL.Rd
no_license
ShuguangSun/PowerTOST
R
false
false
9,109
rd
\encoding{utf-8} \name{power.scABEL} \alias{power.scABEL} \title{ (Empirical) Power of BE decision via scaled (widened) BE acceptance limits } \description{ These function performs the power calculation of the BE decision via scaled (widened) BE acceptance limits by simulations. } \usage{ power.scABEL(alpha = 0.05, th...
# Determine covariate distributions for Nivo Population # ----------------------------------------------------------------------------- # Create a population that is representative of the data used to develop the # Nivolumab models shown in: # Bajaj G, Wang X, Agrawal S, Gupta M, Roy A, Feng Y. Model-Based Populatio...
/scripts/190318_Demog_Sampling.R
no_license
jhhughes256/nivo_sim
R
false
false
7,187
r
# Determine covariate distributions for Nivo Population # ----------------------------------------------------------------------------- # Create a population that is representative of the data used to develop the # Nivolumab models shown in: # Bajaj G, Wang X, Agrawal S, Gupta M, Roy A, Feng Y. Model-Based Populatio...
#' Fitted functional sample from FPCA object #' #' Combine the zero-meaned fitted values and the interpolated mean to get the fitted values for the trajectories or the derivatives of these trajectories. #' #' @param object A object of class FPCA returned by the function FPCA(). #' @param k The integer number of th...
/fdapace/R/fitted.FPCA.R
no_license
ingted/R-Examples
R
false
false
5,223
r
#' Fitted functional sample from FPCA object #' #' Combine the zero-meaned fitted values and the interpolated mean to get the fitted values for the trajectories or the derivatives of these trajectories. #' #' @param object A object of class FPCA returned by the function FPCA(). #' @param k The integer number of th...
#get data if doesn't exist already if (!file.exists("household_power_consumption.txt")) { download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", destfile="household_power_consumption.zip", method="curl") unzip("household_power_consumption.zip") } # read in dataset (kin...
/plot4.R
no_license
eldonjenkins/ExData_Plotting1
R
false
false
2,913
r
#get data if doesn't exist already if (!file.exists("household_power_consumption.txt")) { download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", destfile="household_power_consumption.zip", method="curl") unzip("household_power_consumption.zip") } # read in dataset (kin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/input.R \name{readinput} \alias{readinput} \title{Read the target dataset} \usage{ readinput(inputfile, raw = FALSE, verbose = TRUE) } \arguments{ \item{inputfile}{file root to read} \item{raw}{if TRUE, treat the input as a text file as outp...
/man/readinput.Rd
no_license
danjlawson/pcapred
R
false
true
503
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/input.R \name{readinput} \alias{readinput} \title{Read the target dataset} \usage{ readinput(inputfile, raw = FALSE, verbose = TRUE) } \arguments{ \item{inputfile}{file root to read} \item{raw}{if TRUE, treat the input as a text file as outp...
# =========================================================== # Title : EBQI function # Author : Filippo Ferrario # Date : 30/10/2019 # Version : 1.2 # Aim : Allow flexibility in the function to change both model (i.e. box components) and scenario (i.e. box wheights) # Changes : # # ======...
/R/EBQI-v1_2.R
no_license
filippo-ferrario/EzBQI
R
false
false
9,643
r
# =========================================================== # Title : EBQI function # Author : Filippo Ferrario # Date : 30/10/2019 # Version : 1.2 # Aim : Allow flexibility in the function to change both model (i.e. box components) and scenario (i.e. box wheights) # Changes : # # ======...
# ************************************* # Analyse Territioriale Multiscalaire * # ************************************* library("cartography") library("MTA") # [1] Chargement du fichier de données load("data/geometriesTN.RData") # [2] Import de données correctement formatées (code SNUTS) my.df<-read.csv( "data/dat...
/prg/MTA.R
no_license
chaymare/tunisie
R
false
false
5,987
r
# ************************************* # Analyse Territioriale Multiscalaire * # ************************************* library("cartography") library("MTA") # [1] Chargement du fichier de données load("data/geometriesTN.RData") # [2] Import de données correctement formatées (code SNUTS) my.df<-read.csv( "data/dat...
#' @title Combine SKAT-O analyses from one or more studies. #' #' @description Takes as input `seqMeta` objects (from e.g. #' \code{\link{prepScores}}), and meta analyzes them, using SKAT-O. See the #' package vignette for more extensive documentation. #' #' @inheritParams singlesnpMeta #' @inheritParams burdenM...
/R/skatOMeta.R
no_license
DavisBrian/seqMeta
R
false
false
16,959
r
#' @title Combine SKAT-O analyses from one or more studies. #' #' @description Takes as input `seqMeta` objects (from e.g. #' \code{\link{prepScores}}), and meta analyzes them, using SKAT-O. See the #' package vignette for more extensive documentation. #' #' @inheritParams singlesnpMeta #' @inheritParams burdenM...
##to run, can change number of sims, year, name of file to save tourneysims #then run sim brackets file, where you can change numBrackets and file name to save brackets #then run optimize brackets file where you can optimize brackets ##SET PARAMETERS/READ DATA###### year<-2019 sims<-1000 name<-paste0(year,"/TourneyS...
/1-simulate-tournament.R
no_license
cluelessgumshoe/dlm1223-march-madness-1
R
false
false
6,742
r
##to run, can change number of sims, year, name of file to save tourneysims #then run sim brackets file, where you can change numBrackets and file name to save brackets #then run optimize brackets file where you can optimize brackets ##SET PARAMETERS/READ DATA###### year<-2019 sims<-1000 name<-paste0(year,"/TourneyS...
# UNIVERSIDAD NACIONAL AUTÓNOMA DE MÉXICO # Facultad de Economía # Estadística 2020-2 # Profesor: Cesar Hernández # Medidas de dispersión # Gráficos de dispersión en R: función plot() head(mtcars) plot(mtcars$mpg) plot(mtcars$mpg,mtcars$hp) plot(mtcars$mpg,mtcars$hp, main = "Dispersión", xlab = "Milles...
/1-graficos-de-dispersion-en-R-funcion-plot.R
permissive
cghv94/medidas-de-dispersion-en-R
R
false
false
381
r
# UNIVERSIDAD NACIONAL AUTÓNOMA DE MÉXICO # Facultad de Economía # Estadística 2020-2 # Profesor: Cesar Hernández # Medidas de dispersión # Gráficos de dispersión en R: función plot() head(mtcars) plot(mtcars$mpg) plot(mtcars$mpg,mtcars$hp) plot(mtcars$mpg,mtcars$hp, main = "Dispersión", xlab = "Milles...
library(devtools) library(dplyr) library(tm) library(stringr) library(knitr) library(R.utils) library(ggplot2) # Install latest version from Github install_github("comhis/fennica") # or devtools::load_all() if you are working from the clone and modifying it library(fennica) # Install latest version from Github insta...
/inst/examples/init.R
permissive
JuliaMatveeva217/fennica
R
false
false
932
r
library(devtools) library(dplyr) library(tm) library(stringr) library(knitr) library(R.utils) library(ggplot2) # Install latest version from Github install_github("comhis/fennica") # or devtools::load_all() if you are working from the clone and modifying it library(fennica) # Install latest version from Github insta...
#Alyse, Aug23, 2015, R version 3.1.2 (2014-10-31),x86_64, mingw32 #clean workspace and setup working directory remove(list=ls()) setwd("C:\\Users\\linw24\\Desktop\\WK3") getwd() #create a folder and download files if(!file.exists("./data")){dir.create("./data")} fileUrl <- "https://d396qusza40orc.cloudfront.net/getda...
/run_analysis.R
no_license
FarheenAmaid/Getting-and-Cleaning-Data
R
false
false
2,783
r
#Alyse, Aug23, 2015, R version 3.1.2 (2014-10-31),x86_64, mingw32 #clean workspace and setup working directory remove(list=ls()) setwd("C:\\Users\\linw24\\Desktop\\WK3") getwd() #create a folder and download files if(!file.exists("./data")){dir.create("./data")} fileUrl <- "https://d396qusza40orc.cloudfront.net/getda...
# Grid search # Importar el dataset dataset = read.csv('Social_Network_Ads.csv') dataset = dataset[, 3:5] dataset$Purchased = factor(dataset$Purchased) # Dividir el conjunto entre training y testing library(caTools) set.seed(123) spit = sample.split(dataset$Purchased, SplitRatio = 0.75) trainingSet = subset(dataset,...
/datasets/Part 10 - Model Selection & Boosting/Section 48 - Model Selection/grid_search_jcantero.R
permissive
canteroferron/machinelearning-az
R
false
false
3,047
r
# Grid search # Importar el dataset dataset = read.csv('Social_Network_Ads.csv') dataset = dataset[, 3:5] dataset$Purchased = factor(dataset$Purchased) # Dividir el conjunto entre training y testing library(caTools) set.seed(123) spit = sample.split(dataset$Purchased, SplitRatio = 0.75) trainingSet = subset(dataset,...
#Authors: Stuart Keith and Caleb Neale library(shiny) newui <- fluidPage( # App title ---- titlePanel("The Effects of COVID on the Stock Market"), # Sidebar layout with input and output definitions ---- sidebarLayout( # Sidebar panel for inputs ---- sidebarPanel( # Input: Butto...
/ui.R
no_license
caneale320/SYS2202Final
R
false
false
2,343
r
#Authors: Stuart Keith and Caleb Neale library(shiny) newui <- fluidPage( # App title ---- titlePanel("The Effects of COVID on the Stock Market"), # Sidebar layout with input and output definitions ---- sidebarLayout( # Sidebar panel for inputs ---- sidebarPanel( # Input: Butto...
## ---- inicial_setup twitter_setip <- function(){ source("Rscripts/load_libraries.R") source("Rscripts/twitter_handshake.R") source("Rscripts/database_conection.R") twitter_handshake() } ## ---- get_followers_ids get_followers_ids <- function(username, r = 1000){ user <- getUser(username) followers_ids <-...
/Rscripts/funciones.R
permissive
DanielSalgado/Statistical-Learning
R
false
false
1,526
r
## ---- inicial_setup twitter_setip <- function(){ source("Rscripts/load_libraries.R") source("Rscripts/twitter_handshake.R") source("Rscripts/database_conection.R") twitter_handshake() } ## ---- get_followers_ids get_followers_ids <- function(username, r = 1000){ user <- getUser(username) followers_ids <-...
unzip("exdata_data_household_power_consumption.zip") assign_data <- read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?", nrows=2075259, check.names=F, stringsAsFactors=F, comment.char="", quote='\"') plot3_data <- subset(assign_data, Date %in% c("1/2/2007","2/2/2007")) plot3_data$Date <...
/plot3.R
no_license
tiwaribiplav/ExData_Plotting1
R
false
false
895
r
unzip("exdata_data_household_power_consumption.zip") assign_data <- read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?", nrows=2075259, check.names=F, stringsAsFactors=F, comment.char="", quote='\"') plot3_data <- subset(assign_data, Date %in% c("1/2/2007","2/2/2007")) plot3_data$Date <...
#' Read population-wide data #' #' @param filename Path to the folder #' @param variable What to read #' #' @export read_population <- function(folder, variable) { read_data(folder, variable) }
/R/read_population.R
no_license
rscherrer/EGS
R
false
false
199
r
#' Read population-wide data #' #' @param filename Path to the folder #' @param variable What to read #' #' @export read_population <- function(folder, variable) { read_data(folder, variable) }
library(testthat) library(gformula) test_check("gformula")
/tests/testthat.R
no_license
GerkeLab/gformula
R
false
false
60
r
library(testthat) library(gformula) test_check("gformula")
#' Funnel plot for difference in measures #' #' Function \code{plot.funnel_measure} creates funnel plot of differences in measures for two models across variable areas. #' It uses data created with 'funnel_measure' function. #' #' @param x - funnel_measure object created with \code{\link{funnel_measure}} function....
/R/plot.funnel_measure.R
no_license
kasiapekala/DALEXtra
R
false
false
4,303
r
#' Funnel plot for difference in measures #' #' Function \code{plot.funnel_measure} creates funnel plot of differences in measures for two models across variable areas. #' It uses data created with 'funnel_measure' function. #' #' @param x - funnel_measure object created with \code{\link{funnel_measure}} function....
#load libraries library("ggplot2"); packageVersion("ggplot2") library("phyloseq"); packageVersion("phyloseq") library("plyr"); packageVersion("plyr") library("dplyr"); packageVersion("dplyr") library("cowplot"); packageVersion("cowplot") library("reshape2"); packageVersion("reshape2") library("rstatix"); packageVersion...
/Dor_alpha_div.R
no_license
edfadeev/Dor_ponds_16S
R
false
false
6,944
r
#load libraries library("ggplot2"); packageVersion("ggplot2") library("phyloseq"); packageVersion("phyloseq") library("plyr"); packageVersion("plyr") library("dplyr"); packageVersion("dplyr") library("cowplot"); packageVersion("cowplot") library("reshape2"); packageVersion("reshape2") library("rstatix"); packageVersion...
# needs xcms3, see https://bioconductor.org/packages/release/bioc/html/xcms.html for installation library(xcms) ### some useful functions ### getDesign = function(mzml_files, label) { design <- data.frame(sample_name = sub(basename(mzml_files), pattern = '.mzML', replacement = "", fixed = TRUE), ...
/vimms_django/documents/simple_ms1/example_data/urines/fragmentation/extract_peaks.R
no_license
Yanjiazhuo/vimms_django
R
false
false
3,780
r
# needs xcms3, see https://bioconductor.org/packages/release/bioc/html/xcms.html for installation library(xcms) ### some useful functions ### getDesign = function(mzml_files, label) { design <- data.frame(sample_name = sub(basename(mzml_files), pattern = '.mzML', replacement = "", fixed = TRUE), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fct_diagonal_arrangement.R \name{diagonal_arrangement} \alias{diagonal_arrangement} \title{Spatial Un-replicated Diagonal Arrangement Design} \usage{ diagonal_arrangement( nrows = NULL, ncols = NULL, lines = NULL, checks = NULL, pla...
/man/diagonal_arrangement.Rd
permissive
DidierMurilloF/FielDHub
R
false
true
4,983
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fct_diagonal_arrangement.R \name{diagonal_arrangement} \alias{diagonal_arrangement} \title{Spatial Un-replicated Diagonal Arrangement Design} \usage{ diagonal_arrangement( nrows = NULL, ncols = NULL, lines = NULL, checks = NULL, pla...
##@S This file contains code that generates scripts for running the NER programs. source("../../../../code/ODNB/ODNB_setup.R") ## Script for stanford NER tool processing script = rep("", times = ZNSPLITS+3) script[1] = "#!/bin/sh" script[2] = "scriptdir=`dirname $0`" script[3] = "" for(i in 1:ZNSPLITS) { temp = pas...
/code/ODNB/text_processing/NER/ner_scripts.R
no_license
blazers/six
R
false
false
1,830
r
##@S This file contains code that generates scripts for running the NER programs. source("../../../../code/ODNB/ODNB_setup.R") ## Script for stanford NER tool processing script = rep("", times = ZNSPLITS+3) script[1] = "#!/bin/sh" script[2] = "scriptdir=`dirname $0`" script[3] = "" for(i in 1:ZNSPLITS) { temp = pas...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main.R \name{amult} \alias{amult} \alias{\%X\%} \title{Generalized array multiplication.} \usage{ amult(X, Y, FUN = "*", SUM = "sum", BY = NULL, MoreArgs = NULL, ..., SIMPLIFY = TRUE, VECTORIZED = TRUE) X \%X\% Y } \arguments{ \item{X, Y}{...
/man/amult.Rd
no_license
cran/garray
R
false
true
1,620
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main.R \name{amult} \alias{amult} \alias{\%X\%} \title{Generalized array multiplication.} \usage{ amult(X, Y, FUN = "*", SUM = "sum", BY = NULL, MoreArgs = NULL, ..., SIMPLIFY = TRUE, VECTORIZED = TRUE) X \%X\% Y } \arguments{ \item{X, Y}{...
##### This program web scrapes NBA standings data ##### library(rvest); library(stringr); library(tidyr);library(plyr);library(dplyr) library(ggplot2) # Initialize final DataFrame final <- data.frame() #--- Loop for years 1956 to 1970 (1 table only) ---# for (yr in 1956:1970) { #--- Define path for data ---# ...
/import/scrape_team_standings.R
no_license
nhyder/nba_mvp_analysis
R
false
false
1,681
r
##### This program web scrapes NBA standings data ##### library(rvest); library(stringr); library(tidyr);library(plyr);library(dplyr) library(ggplot2) # Initialize final DataFrame final <- data.frame() #--- Loop for years 1956 to 1970 (1 table only) ---# for (yr in 1956:1970) { #--- Define path for data ---# ...
#' Nest data in a Spark Dataframe #' #' This function is designed to behave similarly to \code{tidyr::nest}. #' #' Note that calling \code{sdf_nest} will not aggregate and cannot be done #' inside of a \code{group_by(...) %>% summarize(..)} operation. To produce #' a nested array one might use \code{sdf_nest} in conj...
/R/nest.R
permissive
kashenfelter/sparklyr.nested
R
false
false
1,933
r
#' Nest data in a Spark Dataframe #' #' This function is designed to behave similarly to \code{tidyr::nest}. #' #' Note that calling \code{sdf_nest} will not aggregate and cannot be done #' inside of a \code{group_by(...) %>% summarize(..)} operation. To produce #' a nested array one might use \code{sdf_nest} in conj...
getwd() setwd("C:/Users/ktelk/Documents/Coursera/UCI HAR Dataset") #list.files() #You should create one R script called run_analysis.R that does the following. #Merges the training and the test sets to create one data set. #Extracts only the measurements on the mean and standard deviation for each measurement. #Uses ...
/run_analysis.R
no_license
ktelk/Peer-Assessments
R
false
false
3,585
r
getwd() setwd("C:/Users/ktelk/Documents/Coursera/UCI HAR Dataset") #list.files() #You should create one R script called run_analysis.R that does the following. #Merges the training and the test sets to create one data set. #Extracts only the measurements on the mean and standard deviation for each measurement. #Uses ...
#Set working directory based on user login either Tejo or Suman if(Sys.info()["login"]=="sumannooney") { workingdirectory="/Users/sumannooney/Documents/Data Science/Data at Scale/Capstone/capstone" } else { workingdirectory <- "/Users/tejo/UW450/Capstone" } setwd(workingdirectory) cat("\014") getwd() if(!re...
/config.R
no_license
sumannooney/capstone
R
false
false
713
r
#Set working directory based on user login either Tejo or Suman if(Sys.info()["login"]=="sumannooney") { workingdirectory="/Users/sumannooney/Documents/Data Science/Data at Scale/Capstone/capstone" } else { workingdirectory <- "/Users/tejo/UW450/Capstone" } setwd(workingdirectory) cat("\014") getwd() if(!re...
## There are two main functions - makeCacheMatrix takes a matrix, and sets up methods within it for use by ## the function cacheSolve. makeCacheMatrix puts a null value in variable m to start. It defines a list of ## methods for use by external functions. These are in the comments in the code next to the relevant func...
/cachematrix_back.R
no_license
Ginger11/ProgrammingAssignment2
R
false
false
1,975
r
## There are two main functions - makeCacheMatrix takes a matrix, and sets up methods within it for use by ## the function cacheSolve. makeCacheMatrix puts a null value in variable m to start. It defines a list of ## methods for use by external functions. These are in the comments in the code next to the relevant func...
### NFL Big Data Bowl 2020-21 # Robert Bernhardt, Andrew Rogan, Daniel Weiss # December 2020 ## Feature Engineering # Objective: Further clean data & create features which can be used for analysis # Task # Make all plays go left to right (from Offense POV) AnalysisData <- AnalysisData %>% mutate( x = ...
/Analysis/Functions/feature_eng1.r
no_license
rbernhardt12/Big-Data-Bowl-20-Public
R
false
false
26,821
r
### NFL Big Data Bowl 2020-21 # Robert Bernhardt, Andrew Rogan, Daniel Weiss # December 2020 ## Feature Engineering # Objective: Further clean data & create features which can be used for analysis # Task # Make all plays go left to right (from Offense POV) AnalysisData <- AnalysisData %>% mutate( x = ...
\name{is_initialized} \alias{is_initialized} \docType{package} \title{ NDICATES IF THE BDD FACTORY HAS BEEN INITIALIZED } \description{ This instruction allows to the user to know if the BDD factory has been initialized. } \usage{ is_initialized(string bdd_name) } \arguments{ \item{bdd_name}{(Optional) Name of the BDD....
/rbdd/man/is_initialized.Rd
no_license
braguti/rbdd
R
false
false
476
rd
\name{is_initialized} \alias{is_initialized} \docType{package} \title{ NDICATES IF THE BDD FACTORY HAS BEEN INITIALIZED } \description{ This instruction allows to the user to know if the BDD factory has been initialized. } \usage{ is_initialized(string bdd_name) } \arguments{ \item{bdd_name}{(Optional) Name of the BDD....
# Tobit Models require(ggplot2) require(GGally) require(VGAM) dat <- read.csv("https://stats.idre.ucla.edu/stat/data/tobit.csv") summary(dat) # function that gives the density of normal distribution # for given mean and sd, scaled to be on a count metric # for the histogram: count = density * sample size * bin width ...
/example/4Tobit Regression.R
no_license
goal1234/R-zZzZzZ
R
false
false
1,768
r
# Tobit Models require(ggplot2) require(GGally) require(VGAM) dat <- read.csv("https://stats.idre.ucla.edu/stat/data/tobit.csv") summary(dat) # function that gives the density of normal distribution # for given mean and sd, scaled to be on a count metric # for the histogram: count = density * sample size * bin width ...
\name{RobustGaSP-package} \alias{RobustGaSP-package} \alias{RobustGaSP} \docType{package} \title{ \packageTitle{RobustGaSP} } \description{ \packageDescription{RobustGaSP} } \details{ The DESCRIPTION file: \packageDESCRIPTION{RobustGaSP} \packageIndices{RobustGaSP} %%~~ An overview of how to use the package, including...
/fuzzedpackages/RobustGaSP/man/RobustGaSP-package.Rd
no_license
akhikolla/testpackages
R
false
false
4,143
rd
\name{RobustGaSP-package} \alias{RobustGaSP-package} \alias{RobustGaSP} \docType{package} \title{ \packageTitle{RobustGaSP} } \description{ \packageDescription{RobustGaSP} } \details{ The DESCRIPTION file: \packageDESCRIPTION{RobustGaSP} \packageIndices{RobustGaSP} %%~~ An overview of how to use the package, including...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/format_data.R \name{formatDfByCol} \alias{formatDfByCol} \title{Format dataframe, by column} \usage{ formatDfByCol(dt, match, trendTeam, rowStat, colStats, statNames) } \arguments{ \item{dt}{A dataframe of stats, eg. a Sportscode matrix outpu...
/man/formatDfByCol.Rd
no_license
ludisanalytics/ludisviz
R
false
true
1,108
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/format_data.R \name{formatDfByCol} \alias{formatDfByCol} \title{Format dataframe, by column} \usage{ formatDfByCol(dt, match, trendTeam, rowStat, colStats, statNames) } \arguments{ \item{dt}{A dataframe of stats, eg. a Sportscode matrix outpu...
source("./R/tv-delay.R") source("./R/mDTVSIRfn.R") source("./R/sparse.R") source("./R/LS.sparse.R") library(penalized) library(CollocInfer) library(limSolve) ## Real data: mDf <- read.csv("./Data/meas_ca_on__1939-89_wk.csv", skip = 3) bDf <- read.csv("./Data/bth_ca_on__1921-2002_mn.csv", skip = 5) ## plot(x = mDf$nu...
/measles-scr02.R
no_license
VulpeculaZ/sparseDE
R
false
false
3,682
r
source("./R/tv-delay.R") source("./R/mDTVSIRfn.R") source("./R/sparse.R") source("./R/LS.sparse.R") library(penalized) library(CollocInfer) library(limSolve) ## Real data: mDf <- read.csv("./Data/meas_ca_on__1939-89_wk.csv", skip = 3) bDf <- read.csv("./Data/bth_ca_on__1921-2002_mn.csv", skip = 5) ## plot(x = mDf$nu...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/iipmetric.r \name{iipmetric} \alias{iipmetric} \title{Compute Intensity Inner Product Metrics} \usage{ iipmetric(S1, S2, measure = "sim", tau = 1, M = NULL) } \arguments{ \item{S1}{marked point process data.} \item{S2}{marked point p...
/man/iipmetric.Rd
no_license
cran/mmpp
R
false
false
2,101
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/iipmetric.r \name{iipmetric} \alias{iipmetric} \title{Compute Intensity Inner Product Metrics} \usage{ iipmetric(S1, S2, measure = "sim", tau = 1, M = NULL) } \arguments{ \item{S1}{marked point process data.} \item{S2}{marked point p...
# Rotor properties - minor tidying of Masden ------------------------------ # get pitch and rotor values for turbine sampling ------------------------- # truncated normal sampling of wind speed (non-negativity constraint) -- S is bigger than iter windSpeed<-rtnorm(S, windSpeedMean,windSpeedSD,0) #= Unsure of...
/scripts/get_rotor_plus_pitch_auto.r
no_license
dmpstats/stochCRM
R
false
false
1,631
r
# Rotor properties - minor tidying of Masden ------------------------------ # get pitch and rotor values for turbine sampling ------------------------- # truncated normal sampling of wind speed (non-negativity constraint) -- S is bigger than iter windSpeed<-rtnorm(S, windSpeedMean,windSpeedSD,0) #= Unsure of...
library(DiceKriging) ### Name: update ### Title: Update of a kriging model ### Aliases: update update.km update,km-method ### ** Examples set.seed(8) N <- 9 # number of observations testfun <- branin # a 9 points initial design design <- expand.grid(x1=seq(0,1,length=3), x2=seq(0,1,length=3)) response <- testfun(...
/data/genthat_extracted_code/DiceKriging/examples/update.km.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
737
r
library(DiceKriging) ### Name: update ### Title: Update of a kriging model ### Aliases: update update.km update,km-method ### ** Examples set.seed(8) N <- 9 # number of observations testfun <- branin # a 9 points initial design design <- expand.grid(x1=seq(0,1,length=3), x2=seq(0,1,length=3)) response <- testfun(...
## Filter records needed for course assignment to a temporary file, then read it in as a data frame conx1 <- file("./household_power_consumption.txt", "r") conx2 <- file("./household_power_consumption_filtered.txt", "w") writeLines(readLines(conx1, n=1), conx2) ## Output header tag <- c("^[12]/2/2007") ##Filtering cond...
/plot3.R
no_license
Nick-Lin/ExData_Plotting1
R
false
false
1,230
r
## Filter records needed for course assignment to a temporary file, then read it in as a data frame conx1 <- file("./household_power_consumption.txt", "r") conx2 <- file("./household_power_consumption_filtered.txt", "w") writeLines(readLines(conx1, n=1), conx2) ## Output header tag <- c("^[12]/2/2007") ##Filtering cond...
## This part of the script download the original dataset in Zip format ## unzip the dataset in txt format and create the powerdata dataframe ## (source data for all four plots) ## seleting two days data from original dataset. ## set your working directory setwd("C:/COURSERA/ExploratoryDataAnalysis/Project1/") ## chec...
/plot3.R
no_license
egrojgonzalez/ExData_Plotting1
R
false
false
2,208
r
## This part of the script download the original dataset in Zip format ## unzip the dataset in txt format and create the powerdata dataframe ## (source data for all four plots) ## seleting two days data from original dataset. ## set your working directory setwd("C:/COURSERA/ExploratoryDataAnalysis/Project1/") ## chec...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_A.R \docType{data} \name{A} \alias{A} \title{Adjacency matrices of binary brain networks for 212 subjects} \format{An object of class \code{array} of dimension 68 x 68 x 212.} \source{ \href{https://github.com/wangronglu/CISE-algorithm}{...
/man/A.Rd
no_license
wangronglu/CISE
R
false
true
746
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_A.R \docType{data} \name{A} \alias{A} \title{Adjacency matrices of binary brain networks for 212 subjects} \format{An object of class \code{array} of dimension 68 x 68 x 212.} \source{ \href{https://github.com/wangronglu/CISE-algorithm}{...
#' @name Std.aggregation #' @title XXX #' @description XXX #' location: /net/hafkaldi/export/u2/reikn/Splus5/SMB/GEOMETRY.NEW #' @docType data #' @author Hoskuldur Bjornsson NULL #' @name STRATAS #' @title XXX #' @description XXX #' location: /net/hafkaldi/export/u2/reikn/Splus5/SMB/GEOMETRY.NEW #' @docType data #' @a...
/R/data_GEOMETRYNEW.R
no_license
fishvice/husky
R
false
false
661
r
#' @name Std.aggregation #' @title XXX #' @description XXX #' location: /net/hafkaldi/export/u2/reikn/Splus5/SMB/GEOMETRY.NEW #' @docType data #' @author Hoskuldur Bjornsson NULL #' @name STRATAS #' @title XXX #' @description XXX #' location: /net/hafkaldi/export/u2/reikn/Splus5/SMB/GEOMETRY.NEW #' @docType data #' @a...
testlist <- list(b = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)) result <- do.call(metacoder:::centroid,testlist) str(result)
/metacoder/inst/testfiles/centroid/AFL_centroid/centroid_valgrind_files/1615766446-test.R
permissive
akhikolla/updatedatatype-list3
R
false
false
294
r
testlist <- list(b = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)) result <- do.call(metacoder:::centroid,testlist) str(result)
# set up admixture simulation with tree # the tree was estimated in a previous step, here we just set up the admixture matrix and save/copy the necessary data into a new directory for replicates to read from # a real-data/tree version of sim-00-sim-pop.R # creates: # - bnpsd.RData # - fst.txt # - kinship_mean.txt li...
/scripts/fit-03-sim-pop.R
no_license
OchoaLab/pca-assoc-paper
R
false
false
4,617
r
# set up admixture simulation with tree # the tree was estimated in a previous step, here we just set up the admixture matrix and save/copy the necessary data into a new directory for replicates to read from # a real-data/tree version of sim-00-sim-pop.R # creates: # - bnpsd.RData # - fst.txt # - kinship_mean.txt li...
## Adapted from https://github.com/leekgroup/derSupplement/blob/gh-pages/figure-expressed-regions/figure-expressed-regions.R ## Usage: # qrsh # module load R/3.3 # mkdir -p logs # Rscript figure-dbFinder-ER.R > logs/figure-dbFinder-ER_log.txt 2>&1 library('derfinder') library('derfinderHelper') library('GenomicRanges...
/epimap/regionMatrix/figure-dbFinder-ER.R
no_license
LieberInstitute/dbFinder
R
false
false
7,909
r
## Adapted from https://github.com/leekgroup/derSupplement/blob/gh-pages/figure-expressed-regions/figure-expressed-regions.R ## Usage: # qrsh # module load R/3.3 # mkdir -p logs # Rscript figure-dbFinder-ER.R > logs/figure-dbFinder-ER_log.txt 2>&1 library('derfinder') library('derfinderHelper') library('GenomicRanges...
# Homework 4 rm(list=ls()) library(igraph) ################################################################################################## # Problem 3 ################################################################################################## # Load the stock edgelist stock_file <- file("/Users/Yusi/Docume...
/Yusi_workspace/HW4_p37.R
no_license
gkhadge/EE232E
R
false
false
2,961
r
# Homework 4 rm(list=ls()) library(igraph) ################################################################################################## # Problem 3 ################################################################################################## # Load the stock edgelist stock_file <- file("/Users/Yusi/Docume...
library(spdep) ### Name: lextrB ### Title: Find extreme eigenvalues of binary symmetric spatial weights ### Aliases: lextrB lextrW lextrS l_max ### Keywords: spatial ### ** Examples data(boston, package="spData") ab.listb <- nb2listw(boston.soi, style="B") er <- range(eigenw(ab.listb)) er res_1 <- lextrB(ab.listb) ...
/data/genthat_extracted_code/spdep/examples/lextrB.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
3,434
r
library(spdep) ### Name: lextrB ### Title: Find extreme eigenvalues of binary symmetric spatial weights ### Aliases: lextrB lextrW lextrS l_max ### Keywords: spatial ### ** Examples data(boston, package="spData") ab.listb <- nb2listw(boston.soi, style="B") er <- range(eigenw(ab.listb)) er res_1 <- lextrB(ab.listb) ...
dsaff asd sfa a=1
/Tarea1.R
no_license
Pentagrama5/CursoR
R
false
false
18
r
dsaff asd sfa a=1
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.lambda_operations.R \name{invoke} \alias{invoke} \title{Invokes a Lambda function} \usage{ invoke(FunctionName, InvocationType = NULL, LogType = NULL, ClientContext = NULL, Payload = NULL, Qualifier = NULL) } \arguments{ \item{Function...
/service/paws.lambda/man/invoke.Rd
permissive
CR-Mercado/paws
R
false
true
4,059
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.lambda_operations.R \name{invoke} \alias{invoke} \title{Invokes a Lambda function} \usage{ invoke(FunctionName, InvocationType = NULL, LogType = NULL, ClientContext = NULL, Payload = NULL, Qualifier = NULL) } \arguments{ \item{Function...
#' --- #' title: "Bayesian data analysis demo 10.3" #' author: "Aki Vehtari, Markus Paasiniemi" #' date: "`r format(Sys.Date())`" #' output: #' html_document: #' theme: readable #' code_download: true #' --- #' ## Importance sampling with Normal distribution as a proposal for Bioassay model #' #' ggplot2, g...
/demos_ch10/demo10_3.R
permissive
avehtari/BDA_R_demos
R
false
false
7,451
r
#' --- #' title: "Bayesian data analysis demo 10.3" #' author: "Aki Vehtari, Markus Paasiniemi" #' date: "`r format(Sys.Date())`" #' output: #' html_document: #' theme: readable #' code_download: true #' --- #' ## Importance sampling with Normal distribution as a proposal for Bioassay model #' #' ggplot2, g...
pkg_lis = c("plyr", "dplyr", "tidyr", "stringr", "ggplot2", "tidytext", "readtext", "syuzhet", "purrrlyr", "topicmodels", "ggwordcloud", "shinycssloaders", "shinycssloaders") mia_pkgs = pkg_list[!(pkg_list %in% installed.packages()[,"Package"])] if(length(mia_pkgs) > 0) install.packages(mia_pkgs) loaded_pkgs = lapply(...
/TextAnalyzer/global.R
no_license
wanttomakeyousmile/nlp-book-project
R
false
false
9,020
r
pkg_lis = c("plyr", "dplyr", "tidyr", "stringr", "ggplot2", "tidytext", "readtext", "syuzhet", "purrrlyr", "topicmodels", "ggwordcloud", "shinycssloaders", "shinycssloaders") mia_pkgs = pkg_list[!(pkg_list %in% installed.packages()[,"Package"])] if(length(mia_pkgs) > 0) install.packages(mia_pkgs) loaded_pkgs = lapply(...
library(dplyr) library(magrittr) library(ggplot2) library(ggthemes) library(car) library(corrplot) library(caret) library(makedummies)
/titanic/init.R
no_license
ducksfrogs/masanariR
R
false
false
135
r
library(dplyr) library(magrittr) library(ggplot2) library(ggthemes) library(car) library(corrplot) library(caret) library(makedummies)
\name{Prings05} \docType{data} \alias{Prings05} \title{Multilevel data set of P. pinaster } \description{Radial increments of Pinus pinaster from two sample plots located on Northern and Southern portions of Ebro river basin, Spain. } \usage{data(Prings05)} \format{ A data frame with the following 5 variables. ...
/man/Prings05.Rd
no_license
cran/BIOdry
R
false
false
1,455
rd
\name{Prings05} \docType{data} \alias{Prings05} \title{Multilevel data set of P. pinaster } \description{Radial increments of Pinus pinaster from two sample plots located on Northern and Southern portions of Ebro river basin, Spain. } \usage{data(Prings05)} \format{ A data frame with the following 5 variables. ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/define_contact_matrix.R \name{define_contact_matrix} \alias{define_contact_matrix} \title{define partnering rates between demographic groups} \usage{ define_contact_matrix(contact_df, demo_indices) } \arguments{ \item{contact_df}{data.frame w...
/man/define_contact_matrix.Rd
no_license
caleb-easterly/msid
R
false
true
527
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/define_contact_matrix.R \name{define_contact_matrix} \alias{define_contact_matrix} \title{define partnering rates between demographic groups} \usage{ define_contact_matrix(contact_df, demo_indices) } \arguments{ \item{contact_df}{data.frame w...
\name{mlvl} \alias{mlvl} \title{ Construct multilevel networks } \description{ Function to construct multilevel networks from multimodal structures. } \usage{ mlvl(x = NULL, y = NULL, type = c("bpn", "cn", "cn2", "list"), symCdm, diag, lbs) } \arguments{ \item{x}{ domain data } \item{y}{ ...
/man/mlvl.Rd
no_license
mplex/multiplex
R
false
false
2,488
rd
\name{mlvl} \alias{mlvl} \title{ Construct multilevel networks } \description{ Function to construct multilevel networks from multimodal structures. } \usage{ mlvl(x = NULL, y = NULL, type = c("bpn", "cn", "cn2", "list"), symCdm, diag, lbs) } \arguments{ \item{x}{ domain data } \item{y}{ ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mycode.R \name{add_strings} \alias{add_strings} \title{add strings} \usage{ add_strings(strings) } \arguments{ \item{strings}{a vector of strings to concatinate} } \value{ a single string } \description{ Add strings by concatinating them toge...
/man/add_strings.Rd
permissive
bheavner/demo
R
false
true
370
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mycode.R \name{add_strings} \alias{add_strings} \title{add strings} \usage{ add_strings(strings) } \arguments{ \item{strings}{a vector of strings to concatinate} } \value{ a single string } \description{ Add strings by concatinating them toge...
#' Example Observed Rts #' #' An example data frame of observed Reproduction numbers #' @format A data frame containing Rts estimated for each date. "example_obs_rts"
/R/example_obs_rts.R
permissive
medewitt/EpiSoon
R
false
false
167
r
#' Example Observed Rts #' #' An example data frame of observed Reproduction numbers #' @format A data frame containing Rts estimated for each date. "example_obs_rts"
library(ggplot2) library(dplyr) library(data.table) library(survival) library(DiagrammeR) library(regmedint) ## How to solve the phantom direct effect ## 0. Do nothing, nice to have compare ## 1. Have multiple measurement before enrollment ## 2. Have long follow-up, multiple measurement post-randomization ## 3. Bot...
/multiple_measure.R
no_license
SichengH/Mediation-RGTM
R
false
false
10,637
r
library(ggplot2) library(dplyr) library(data.table) library(survival) library(DiagrammeR) library(regmedint) ## How to solve the phantom direct effect ## 0. Do nothing, nice to have compare ## 1. Have multiple measurement before enrollment ## 2. Have long follow-up, multiple measurement post-randomization ## 3. Bot...
## compute eigenvector centrality scores on dyadic independent igraphs ## libraries and data rm(list=ls()) library(igraph) library(influenceR) #load("dyadic-ind-mod-base-13-igraphs.RData") igraph_list <- readRDS("ten_imputed_igraphs.RDS") ## compute betweenness centrality btwn_dyadic_ind_m...
/empirical/wave1/dyad-ind-model/compute-influence-metrics/compute-btwn-on-dyad-ind-igraphs.R
no_license
khanna7/uconnect-missing-ties
R
false
false
1,617
r
## compute eigenvector centrality scores on dyadic independent igraphs ## libraries and data rm(list=ls()) library(igraph) library(influenceR) #load("dyadic-ind-mod-base-13-igraphs.RData") igraph_list <- readRDS("ten_imputed_igraphs.RDS") ## compute betweenness centrality btwn_dyadic_ind_m...
testlist <- list(A = structure(c(6.46645194387231e-200, 5.15454813856261e-88 ), .Dim = 1:2), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_rows,testlist) str(result)
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613103180-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
195
r
testlist <- list(A = structure(c(6.46645194387231e-200, 5.15454813856261e-88 ), .Dim = 1:2), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_rows,testlist) str(result)
install.packages("statcheck") library("statcheck") install.packages("readr") library(readr) #the file needs to be in .txt format for this to work txt <- read_file(file.choose()) statcheck(txt)
/StatsCheck.R
no_license
TarenRohovit/ArchitectExpertise
R
false
false
194
r
install.packages("statcheck") library("statcheck") install.packages("readr") library(readr) #the file needs to be in .txt format for this to work txt <- read_file(file.choose()) statcheck(txt)
library(tidyverse) tmp <- read_csv("data/processed/colley.csv") target <- read_csv("data/processed/target.csv") sample <- read_csv("data/WSampleSubmissionStage2.csv") fe <- target %>% bind_rows(sample) %>% distinct(ID) %>% mutate(Season = as.integer(str_sub(ID, 1, 4)), team1 = as.integer(str_sub(ID,...
/名称未設定フォルダ/src/features/colley_fe.R
no_license
kur0cky/NCAA2019w
R
false
false
675
r
library(tidyverse) tmp <- read_csv("data/processed/colley.csv") target <- read_csv("data/processed/target.csv") sample <- read_csv("data/WSampleSubmissionStage2.csv") fe <- target %>% bind_rows(sample) %>% distinct(ID) %>% mutate(Season = as.integer(str_sub(ID, 1, 4)), team1 = as.integer(str_sub(ID,...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/privacy_params.R \docType{class} \name{DPParamsEps-class} \alias{DPParamsEps-class} \alias{DPParamsEps} \alias{show,DPParamsEps-method} \alias{getEpsilon,DPParamsEps-method} \alias{setEpsilon<-,DPParamsEps-method} \alias{toGamma,DPPa...
/man/DPParamsEps-class.Rd
permissive
cran/diffpriv
R
false
true
1,495
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/privacy_params.R \docType{class} \name{DPParamsEps-class} \alias{DPParamsEps-class} \alias{DPParamsEps} \alias{show,DPParamsEps-method} \alias{getEpsilon,DPParamsEps-method} \alias{setEpsilon<-,DPParamsEps-method} \alias{toGamma,DPPa...
setGeneric("bind", function(object, ...) standardGeneric("bind")) setMethod("bind", signature(object = "Wave"), function(object, ...){ allobjects <- as.list(list(...)) lapply(allobjects, equalWave, object) allobjects <- c(list(object), allobjects) object@left <- unlist(lapply(allobjects, slot,...
/R/bind.R
no_license
cran/tuneR
R
false
false
725
r
setGeneric("bind", function(object, ...) standardGeneric("bind")) setMethod("bind", signature(object = "Wave"), function(object, ...){ allobjects <- as.list(list(...)) lapply(allobjects, equalWave, object) allobjects <- c(list(object), allobjects) object@left <- unlist(lapply(allobjects, slot,...
# Loading data data <- read.table("household_power_consumption.txt", header = TRUE, sep =";", stringsAsFactors = FALSE, dec =".") summary(data) #Subsetting the data from 2007-02-01 and 2007-02-02 subsetdata <- data[data$Date %in% c("1/2/2007", "2/2/2007"),] globalActivePower <- as.numeric(subsetdata$Global_a...
/plot4.R
no_license
ssanjel1/ExData_Plotting1
R
false
false
1,367
r
# Loading data data <- read.table("household_power_consumption.txt", header = TRUE, sep =";", stringsAsFactors = FALSE, dec =".") summary(data) #Subsetting the data from 2007-02-01 and 2007-02-02 subsetdata <- data[data$Date %in% c("1/2/2007", "2/2/2007"),] globalActivePower <- as.numeric(subsetdata$Global_a...
# ELS-laskuri # Sofia Airola 2016 # sofia.airola@hespartto.fi # COUNTTOTMASS: laskee kullekin havaintopäivälle kokonaisbiomassan # dataTable = taulukko, jossa oleelliset muuttujat ja päivämäärät; palauttaa samanmuotoisen taulukon countTotMass <- function(dataTable) { # jos dataa ei ole, ei lasketa mitään i...
/Skriptit/biomassa.r
no_license
ficusvirens/ELS-laskuri
R
false
false
1,534
r
# ELS-laskuri # Sofia Airola 2016 # sofia.airola@hespartto.fi # COUNTTOTMASS: laskee kullekin havaintopäivälle kokonaisbiomassan # dataTable = taulukko, jossa oleelliset muuttujat ja päivämäärät; palauttaa samanmuotoisen taulukon countTotMass <- function(dataTable) { # jos dataa ei ole, ei lasketa mitään i...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nndup.R \name{nndup} \alias{nndup} \title{Determine duplicates in nearest neighbor list} \usage{ nndup(nn, N = max(unlist(nn))) } \arguments{ \item{nn}{A list of nearest neighbors.} \item{N}{The largest value in \code{nn}.} } \v...
/smerc/man/nndup.Rd
no_license
akhikolla/InformationHouse
R
false
true
693
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nndup.R \name{nndup} \alias{nndup} \title{Determine duplicates in nearest neighbor list} \usage{ nndup(nn, N = max(unlist(nn))) } \arguments{ \item{nn}{A list of nearest neighbors.} \item{N}{The largest value in \code{nn}.} } \v...
##1 time <- c(35.34, 36.26, 30.54, 38.2, 37.59, 39.18, 33.16, 34.23, 27.9, 36.33, 32.39, 34.89, 35.7, 31.99, 34.03) (t.test(time, mu=35, conf.level=0.95)) #H0: μ = 35 , H1: μ =! 35 #p > a więc nie ma podstaw do odrzucenia hipotezy zerowej, #co oznacza, że przeciętny czas pracy w godzinach #baterjyki nie...
/LAB8/LAB.R
no_license
PWilkosz99/StatisticalDataAnalysisPW
R
false
false
1,027
r
##1 time <- c(35.34, 36.26, 30.54, 38.2, 37.59, 39.18, 33.16, 34.23, 27.9, 36.33, 32.39, 34.89, 35.7, 31.99, 34.03) (t.test(time, mu=35, conf.level=0.95)) #H0: μ = 35 , H1: μ =! 35 #p > a więc nie ma podstaw do odrzucenia hipotezy zerowej, #co oznacza, że przeciętny czas pracy w godzinach #baterjyki nie...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
/r/tests/testthat/test-compute-vector.R
permissive
wesm/arrow
R
false
false
5,072
r
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
set.seed(1) peddir="./data/ped.infor" progdir="./progfinal/"; chrsinput="./data/CHR1.RData"; source(paste(progdir,"FunctionSeqFam.r",sep="")) nlocsave=3 nloctrue=1 effect=2 ndrop=1 #lprop=132 sd.err=1 pedscheme=2 Noff1=4 Noff2=0 pfamily=2/3 binary=FALSE scheme="Equal" out_type="C" drop.effect=0.01 HeterAll=1/c(1...
/SampleCodes/Sim2Demo.r
no_license
YaluWen/FRF
R
false
false
1,809
r
set.seed(1) peddir="./data/ped.infor" progdir="./progfinal/"; chrsinput="./data/CHR1.RData"; source(paste(progdir,"FunctionSeqFam.r",sep="")) nlocsave=3 nloctrue=1 effect=2 ndrop=1 #lprop=132 sd.err=1 pedscheme=2 Noff1=4 Noff2=0 pfamily=2/3 binary=FALSE scheme="Equal" out_type="C" drop.effect=0.01 HeterAll=1/c(1...
library(QCApro) ### Name: randomDGS ### Title: Build a Random Data-Generating Structure ### Aliases: randomDGS ### ** Examples # randomly generate three data-generating structures on the basis of four # exogenous factors str <- randomDGS(n.DGS = 3, exo.facs = LETTERS[1:4], seed.1 = 1375, seed.2 = 3917) str$DGS # a...
/data/genthat_extracted_code/QCApro/examples/randomDGS.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
462
r
library(QCApro) ### Name: randomDGS ### Title: Build a Random Data-Generating Structure ### Aliases: randomDGS ### ** Examples # randomly generate three data-generating structures on the basis of four # exogenous factors str <- randomDGS(n.DGS = 3, exo.facs = LETTERS[1:4], seed.1 = 1375, seed.2 = 3917) str$DGS # a...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/clear_selection.R \name{clear_selection} \alias{clear_selection} \title{Clear an active selection of nodes or edges} \usage{ clear_selection(graph) } \arguments{ \item{graph}{a graph object of class \code{dgr_graph}.} } \value{ a graph object...
/man/clear_selection.Rd
permissive
akkalbist55/DiagrammeR
R
false
true
881
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/clear_selection.R \name{clear_selection} \alias{clear_selection} \title{Clear an active selection of nodes or edges} \usage{ clear_selection(graph) } \arguments{ \item{graph}{a graph object of class \code{dgr_graph}.} } \value{ a graph object...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1574 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1573 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1573 c c Input Parameter (command line, fil...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Basler/wmiforward/stmt24_292_293/stmt24_292_293.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
709
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1574 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1573 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1573 c c Input Parameter (command line, fil...
## @knitr setup, echo=FALSE options(width = 75) options(useFancyQuotes=FALSE) ## @knitr hook-printfun, echo=FALSE library(knitr) library(formatR) knit_hooks$set(printfun = function(before, options, envir) { if (before) return() txt = capture.output(dump(options$printfun, '', envir = envir)) ## reformat if tidy...
/RGalaxy-vignette.R
no_license
psnehal/LrpathExecutor
R
false
false
2,683
r
## @knitr setup, echo=FALSE options(width = 75) options(useFancyQuotes=FALSE) ## @knitr hook-printfun, echo=FALSE library(knitr) library(formatR) knit_hooks$set(printfun = function(before, options, envir) { if (before) return() txt = capture.output(dump(options$printfun, '', envir = envir)) ## reformat if tidy...
## This function retrives the Cahced matrix inversion instead of generating the Matrix inversion ##repeatedly. ## makeCacheMatrix function creates a special matrix object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { invs <- NULL set <- function(y) { x <<- y invs <<- NULL } g...
/cachematrix.R
no_license
RajuMudunuri/ProgrammingAssignment2
R
false
false
937
r
## This function retrives the Cahced matrix inversion instead of generating the Matrix inversion ##repeatedly. ## makeCacheMatrix function creates a special matrix object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { invs <- NULL set <- function(y) { x <<- y invs <<- NULL } g...