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
setwd("C:/Users/Rasmu/Desktop/speciale") library(readxl) library(dplyr) library(data.table) library(ggplot2) library(deSolve) library(grid) library(latex2exp) library(furrr) library(gridExtra) library(ggpubr) set.seed(100) lf <- read_excel("C:/Users/Rasmu/Desktop/speciale/Benchmark_levetidsforbedringer2019 xls.xls")...
/stok_sur_free.R
no_license
Rasmusma1995/Speciale
R
false
false
20,975
r
setwd("C:/Users/Rasmu/Desktop/speciale") library(readxl) library(dplyr) library(data.table) library(ggplot2) library(deSolve) library(grid) library(latex2exp) library(furrr) library(gridExtra) library(ggpubr) set.seed(100) lf <- read_excel("C:/Users/Rasmu/Desktop/speciale/Benchmark_levetidsforbedringer2019 xls.xls")...
testlist <- list(x = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), .Dim = 5:6)) result <- do.call(multivariance:::doubleCenterBiasCorrected,testlist) str(result)
/multivariance/inst/testfiles/doubleCenterBiasCorrected/AFL_doubleCenterBiasCorrected/doubleCenterBiasCorrected_valgrind_files/1613140461-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
300
r
testlist <- list(x = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), .Dim = 5:6)) result <- do.call(multivariance:::doubleCenterBiasCorrected,testlist) str(result)
##### Chapter 9: Clustering with k-means ------------------- ## Example: Finding Teen Market Segments ---- ## Step 2: Exploring and preparing the data ---- teens <- read.csv("snsdata.csv") str(teens) # look at missing data for female variable table(teens$gender) table(teens$gender, useNA = "ifany") # look at missing...
/Machine Learning with R (3rd Ed.)/Chapter09/MLwR_3rdEd_09.r
no_license
paul-shannon/MLwR
R
false
false
2,439
r
##### Chapter 9: Clustering with k-means ------------------- ## Example: Finding Teen Market Segments ---- ## Step 2: Exploring and preparing the data ---- teens <- read.csv("snsdata.csv") str(teens) # look at missing data for female variable table(teens$gender) table(teens$gender, useNA = "ifany") # look at missing...
library(shiny) library(pgmcs) suppressWarnings(RNGversion('3.5.2')) ui <- fluidPage( titlePanel('Population Genetics Monte Carlo Simulation, static mode'), includeCSS('style.css'), fluidRow( column(3, h3('')), column(3, h3('AA'), style = 'font-size:150%;text-align:center'), col...
/inst/shiny/pgmcs2/app.R
no_license
dongzhuoer/pgmcs
R
false
false
3,437
r
library(shiny) library(pgmcs) suppressWarnings(RNGversion('3.5.2')) ui <- fluidPage( titlePanel('Population Genetics Monte Carlo Simulation, static mode'), includeCSS('style.css'), fluidRow( column(3, h3('')), column(3, h3('AA'), style = 'font-size:150%;text-align:center'), col...
# Wiggins' RNA-seq analysis script # # To run: # % Rscript analyze_W.r # # You need to have your data in a file called "mydata.tbl" # This is a tab-delimited file with a header line, followed # by one line per gene: # <genename> <counts1> <counts2> ... <counts6> # Script assumes that there are six samples, three...
/Diff Gene Expression Analysis/analyze_W.r
no_license
ericyang789/RNA-Seq-Data-Analysis
R
false
false
767
r
# Wiggins' RNA-seq analysis script # # To run: # % Rscript analyze_W.r # # You need to have your data in a file called "mydata.tbl" # This is a tab-delimited file with a header line, followed # by one line per gene: # <genename> <counts1> <counts2> ... <counts6> # Script assumes that there are six samples, three...
with(ad072f013eab74187b43afe0c5f43c7a3, {ROOT <- 'D:/ATS2.0/SEMOSS/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/f6ba5938-ef1b-4430-b7b0-261d1cc8174d';rm(list=ls())});
/f6ba5938-ef1b-4430-b7b0-261d1cc8174d/R/Temp/aS9gKt1pxXWRL.R
no_license
ayanmanna8/test
R
false
false
208
r
with(ad072f013eab74187b43afe0c5f43c7a3, {ROOT <- 'D:/ATS2.0/SEMOSS/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/f6ba5938-ef1b-4430-b7b0-261d1cc8174d';rm(list=ls())});
parse_post <- function(reqbody, contenttype){ #check for no data if(!length(reqbody)){ return(list()) } #strip title form header contenttype <- sub("Content-Type: ?", "", contenttype, ignore.case=TRUE); #invalid content type if(!length(contenttype) || !nchar(contenttype)){ stop("No Content-Type ...
/R/parse_post.R
permissive
beauchamplab/opencpu
R
false
false
2,072
r
parse_post <- function(reqbody, contenttype){ #check for no data if(!length(reqbody)){ return(list()) } #strip title form header contenttype <- sub("Content-Type: ?", "", contenttype, ignore.case=TRUE); #invalid content type if(!length(contenttype) || !nchar(contenttype)){ stop("No Content-Type ...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 38969 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 37753 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 37753 c c Input Parameter (command line, ...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/reachqu_query33_1344/reachqu_query33_1344.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
4,311
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 38969 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 37753 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 37753 c c Input Parameter (command line, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parsing.R \name{filter_rare} \alias{filter_rare} \alias{filter_rare.character} \alias{filter_rare.list} \title{Filter Rarely} \usage{ filter_rare(s, min_freq = 1) \method{filter_rare}{character}(s, min_freq = 1) \method{filter_rare}{list}(s...
/man/filter_rare.Rd
permissive
news-r/gensimr
R
false
true
516
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parsing.R \name{filter_rare} \alias{filter_rare} \alias{filter_rare.character} \alias{filter_rare.list} \title{Filter Rarely} \usage{ filter_rare(s, min_freq = 1) \method{filter_rare}{character}(s, min_freq = 1) \method{filter_rare}{list}(s...
\name{TopoSUB_droughtEstim} \alias{TopoSUB_droughtEstim} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Sequential dry days of a SMC series } \description{ Calculates number of sequential dry days ("drought" duration D), intensity (I), and severity (S) of a soil moisture time series (used within...
/man/TopoSUB_droughtEstim.Rd
no_license
JBrenn/TopoSUB
R
false
false
1,455
rd
\name{TopoSUB_droughtEstim} \alias{TopoSUB_droughtEstim} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Sequential dry days of a SMC series } \description{ Calculates number of sequential dry days ("drought" duration D), intensity (I), and severity (S) of a soil moisture time series (used within...
samples <- read.table("/home/mhn/Dokumente/Fedora_Performance_Test/totaltime_summary.csv", header=T, sep="\t") png("/home/mhn/Entwicklung/R/vortrag/graphiken/totaltime_summary_samples.png") barplot(as.matrix(samples), main="totaltime: Hadoop distcp and Fedora Referenced Content", ylab="total time in seconds", spa...
/histtotaltime.R
no_license
matthias-hahn/Rscript
R
false
false
479
r
samples <- read.table("/home/mhn/Dokumente/Fedora_Performance_Test/totaltime_summary.csv", header=T, sep="\t") png("/home/mhn/Entwicklung/R/vortrag/graphiken/totaltime_summary_samples.png") barplot(as.matrix(samples), main="totaltime: Hadoop distcp and Fedora Referenced Content", ylab="total time in seconds", spa...
###################################################### # ###################################################### # save csv data. x <- 'xxx' function_savecsv <- function(x) { mpg <- x #mpg <- as.character(x) # 去掉引号 eval(parse(text=mpg)) csvname <- paste(mpg, ".csv", sep = "") write.csv(eval(parse(text=mpg))...
/MR-F-statistic/.Rproj.user/F4E2EF20/sources/per/t/734A4618-contents
no_license
whve/Health-and-Wellbeing-MR
R
false
false
535
###################################################### # ###################################################### # save csv data. x <- 'xxx' function_savecsv <- function(x) { mpg <- x #mpg <- as.character(x) # 去掉引号 eval(parse(text=mpg)) csvname <- paste(mpg, ".csv", sep = "") write.csv(eval(parse(text=mpg))...
x <- rnorm(1000) hx <- hist(x, breaks=100, plot=FALSE) print(hx) plot(hx, col=ifelse(abs(hx$breaks) < 1.669, 4, 2))
/06-data-frames/27_histogram.R
no_license
xmorgan/r-examples
R
false
false
118
r
x <- rnorm(1000) hx <- hist(x, breaks=100, plot=FALSE) print(hx) plot(hx, col=ifelse(abs(hx$breaks) < 1.669, 4, 2))
#Time Series (MULTIVARIATE) # xts - create object and export data (dates=as.Date('2018-08-31') + seq(1,30,1)) (openprice = rnorm(30, mean=100, sd=30)) (closingprice=rnorm(30,mean = 110, sd=40)) (volume=rnorm(30,mean=1000,sd=300)) df1= data.frame(dates,openprice,closingprice,volume, stringsAsFactors = T) df1 #Inste...
/Create TS Data.R
no_license
AasthaNagdev/analytics
R
false
false
990
r
#Time Series (MULTIVARIATE) # xts - create object and export data (dates=as.Date('2018-08-31') + seq(1,30,1)) (openprice = rnorm(30, mean=100, sd=30)) (closingprice=rnorm(30,mean = 110, sd=40)) (volume=rnorm(30,mean=1000,sd=300)) df1= data.frame(dates,openprice,closingprice,volume, stringsAsFactors = T) df1 #Inste...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/soc.elite.R \docType{package} \name{soc.elite} \alias{soc.elite} \alias{soc.elite-package} \title{Danish Elite Network} \description{ Danish Elite Network }
/man/soc.elite.Rd
no_license
antongrau/soc.elite
R
false
true
236
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/soc.elite.R \docType{package} \name{soc.elite} \alias{soc.elite} \alias{soc.elite-package} \title{Danish Elite Network} \description{ Danish Elite Network }
closeAllConnections() graphics.off() rm(list = ls()) library(openxlsx) people = read.xlsx("~/Desktop/quarantine_christmas.xlsx") D = people out = as.list(D$person) names(out) = D$person out = lapply(out, function(x) {c()}) l = as.numeric(lapply(out, function(x) {length(x) == 0})) while (sum(l) > 0) { # Get p...
/misc/secret_santa.R
no_license
shannonloomis/fiddling
R
false
false
1,053
r
closeAllConnections() graphics.off() rm(list = ls()) library(openxlsx) people = read.xlsx("~/Desktop/quarantine_christmas.xlsx") D = people out = as.list(D$person) names(out) = D$person out = lapply(out, function(x) {c()}) l = as.numeric(lapply(out, function(x) {length(x) == 0})) while (sum(l) > 0) { # Get p...
source("C:/Users/Ian/Documents/Work/JP/Beiwe/Github/Beiwe-Analysis/Preprocessing/GPS_preprocessing.R") source("C:/Users/Ian/Documents/Work/JP/Beiwe/Github/Beiwe-Analysis/Processing/DailyFeatures.R") source("C:/Users/Ian/Documents/Work/JP/Beiwe/Github/Beiwe-Analysis/Processing/ReplicateSurveyResponsesBackwards.R") sou...
/Scripts/BeiwePipeline.R
permissive
dblong/Beiwe-Analysis
R
false
false
5,229
r
source("C:/Users/Ian/Documents/Work/JP/Beiwe/Github/Beiwe-Analysis/Preprocessing/GPS_preprocessing.R") source("C:/Users/Ian/Documents/Work/JP/Beiwe/Github/Beiwe-Analysis/Processing/DailyFeatures.R") source("C:/Users/Ian/Documents/Work/JP/Beiwe/Github/Beiwe-Analysis/Processing/ReplicateSurveyResponsesBackwards.R") sou...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/core-ldk-procrustes.R \name{fgsProcrustes} \alias{fgsProcrustes} \title{Full Generalized Procrustes alignment between shapes with sliding landmarks} \source{ See \code{?gpagen} in \code{geomorph} package } \usage{ fgsProcrustes(x) } \argument...
/man/fgsProcrustes.Rd
no_license
chris-english/Momocs
R
false
true
795
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/core-ldk-procrustes.R \name{fgsProcrustes} \alias{fgsProcrustes} \title{Full Generalized Procrustes alignment between shapes with sliding landmarks} \source{ See \code{?gpagen} in \code{geomorph} package } \usage{ fgsProcrustes(x) } \argument...
complete<-function(directory, id){ count<-0 finalresults<-matrix(nrow=0,ncol=2) for (i in id){ modfilename<-'' charid<-as.character(i) if (i<=9){ modfilename<-paste('00',charid,'.csv',sep='') } else if (i>=10 && i<100){ modfilename<-paste('0',charid,'.csv',sep='') } else if (i>=100){ modfile...
/ProgAssignment2/complete.R
no_license
thatyang/R
R
false
false
722
r
complete<-function(directory, id){ count<-0 finalresults<-matrix(nrow=0,ncol=2) for (i in id){ modfilename<-'' charid<-as.character(i) if (i<=9){ modfilename<-paste('00',charid,'.csv',sep='') } else if (i>=10 && i<100){ modfilename<-paste('0',charid,'.csv',sep='') } else if (i>=100){ modfile...
rm(list=ls()) source("cbow.R") # on choisit l=5 comme skip-gram en seance 3 data<-generation_data("text8",5 ,size_text = 100000) res <- my_sgd(data$D, data$vocab, d = 100, n_iter = 3) # Exportation pour Shiny vectors_cbow <- res$U words_cbow <- data$vocab # Exportation pour Shiny save(vectors_cbow, words_c...
/main.R
no_license
yang0y/projet_embedding
R
false
false
353
r
rm(list=ls()) source("cbow.R") # on choisit l=5 comme skip-gram en seance 3 data<-generation_data("text8",5 ,size_text = 100000) res <- my_sgd(data$D, data$vocab, d = 100, n_iter = 3) # Exportation pour Shiny vectors_cbow <- res$U words_cbow <- data$vocab # Exportation pour Shiny save(vectors_cbow, words_c...
#!/usr/bin/Rscript # 20200814WF # clean and reshape LCMv2 spreadsheet # save to 'txt/MRSI_clean_long.csv' # settings si_zthres <- 3 library(dplyr) library(ggplot2) library(tidyr) setwd('/Volumes/Zeus/Orma/7T_MGS/scripts') ## reshape data to be more amenable to modeling # row per ld8+si_roi+metabolite. value is "mrs...
/model/mrsi_clean_long.R
no_license
LabNeuroCogDevel/7T_MGS
R
false
false
1,654
r
#!/usr/bin/Rscript # 20200814WF # clean and reshape LCMv2 spreadsheet # save to 'txt/MRSI_clean_long.csv' # settings si_zthres <- 3 library(dplyr) library(ggplot2) library(tidyr) setwd('/Volumes/Zeus/Orma/7T_MGS/scripts') ## reshape data to be more amenable to modeling # row per ld8+si_roi+metabolite. value is "mrs...
#' sim_min_Q #' #' Simulating a Min,Q policy or also called S,Q policy, . #' The Function takes a demand vector, mean of demand ,sd,lead time and requested service level to simulate an inventory system, #' orders are lost if inventory level is less than requested demand, also ordering is made at #' day t+1, metric...
/R/sim_min_q.R
no_license
cran/inventorize
R
false
false
13,505
r
#' sim_min_Q #' #' Simulating a Min,Q policy or also called S,Q policy, . #' The Function takes a demand vector, mean of demand ,sd,lead time and requested service level to simulate an inventory system, #' orders are lost if inventory level is less than requested demand, also ordering is made at #' day t+1, metric...
library(shiny) library(waiter) ui <- fluidPage( use_waiter(), show_waiter_on_load(spin_fading_circles()), div( class = "container", style = "margin-top:400px;", fluidRow( column(3, sliderInput("seconds", "Seconds", min = 3, max = 7, value = 4, width = "100%")), column( 3, selectInput( "spin...
/inst/waiter/app.R
permissive
nteetor/waiter
R
false
false
1,678
r
library(shiny) library(waiter) ui <- fluidPage( use_waiter(), show_waiter_on_load(spin_fading_circles()), div( class = "container", style = "margin-top:400px;", fluidRow( column(3, sliderInput("seconds", "Seconds", min = 3, max = 7, value = 4, width = "100%")), column( 3, selectInput( "spin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/decoder.R \name{decode_geom} \alias{decode_geom} \title{Transform encoded polylines to lat-lng data.frame.} \usage{ decode_geom(encoded, precision = stop("a numeric, either 5 or 6")) } \arguments{ \item{encoded}{A character containing encoded...
/man/decode_geom.Rd
no_license
cran/osrmr
R
false
true
1,207
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/decoder.R \name{decode_geom} \alias{decode_geom} \title{Transform encoded polylines to lat-lng data.frame.} \usage{ decode_geom(encoded, precision = stop("a numeric, either 5 or 6")) } \arguments{ \item{encoded}{A character containing encoded...
# DESeq2 # Lauren Ashlock library( "DESeq2" ) library(ggplot2) # Data countsName <- "http://bioconnector.org/workshops/data/airway_scaledcounts.csv" download.file(countsName, destfile = "airway_scaledcounts.csv", method = "auto") countData <- read.csv('airway_scaledcounts.csv', header = TRUE, sep = ",") head(countD...
/DESeq2.R
no_license
mkazenel/Bio381
R
false
false
1,890
r
# DESeq2 # Lauren Ashlock library( "DESeq2" ) library(ggplot2) # Data countsName <- "http://bioconnector.org/workshops/data/airway_scaledcounts.csv" download.file(countsName, destfile = "airway_scaledcounts.csv", method = "auto") countData <- read.csv('airway_scaledcounts.csv', header = TRUE, sep = ",") head(countD...
### Creating a single dataframe of LIDS angles by plot for all sites for Fulcrum app maintenance # Load required libraries library(TeachingDemos) library(dplyr) # Obtain list of plotIDs from applicableModules.csv # Read in plot-level data from applicableModules.csv, and return to parent working directory if(file.e...
/lidsLists/lidsAngleByPlot_allSites.R
no_license
NEONScience/neon-plant-sampling
R
false
false
3,002
r
### Creating a single dataframe of LIDS angles by plot for all sites for Fulcrum app maintenance # Load required libraries library(TeachingDemos) library(dplyr) # Obtain list of plotIDs from applicableModules.csv # Read in plot-level data from applicableModules.csv, and return to parent working directory if(file.e...
#' plot_author_topic_cov #' #' This function plots the bivariate relationship between a set of author and/or document-level covariates and the likelihood of a document to be about each of the topic clusters. #' #' @param r An rlda object. #' @param dir Directory to save the resulting plot. #' @param doc_covs A dataset ...
/R/plot_author_topic_cov.R
no_license
naikangfeng/ldaRobust
R
false
false
21,009
r
#' plot_author_topic_cov #' #' This function plots the bivariate relationship between a set of author and/or document-level covariates and the likelihood of a document to be about each of the topic clusters. #' #' @param r An rlda object. #' @param dir Directory to save the resulting plot. #' @param doc_covs A dataset ...
#' NHL Schedule #' #' Query data on NHL schedule. #' #' @param start_date,end_date the start and end dates to get schedule for #' #' @examples #' \dontrun{ #' schedule <- get_schedule("2017-12-12", "2017-12-15") #' } #' @export get_schedule <- function(start_date = Sys.Date(), end_date = Sys.Date()) { # convert to da...
/R/schedule.r
no_license
zamorarr/nhlapi
R
false
false
610
r
#' NHL Schedule #' #' Query data on NHL schedule. #' #' @param start_date,end_date the start and end dates to get schedule for #' #' @examples #' \dontrun{ #' schedule <- get_schedule("2017-12-12", "2017-12-15") #' } #' @export get_schedule <- function(start_date = Sys.Date(), end_date = Sys.Date()) { # convert to da...
##/export/bio/R/R-3.2.1/bin/R #source("http://bioconductor.org/biocLite.R") #biocLite("DEXSeq") library("DEXSeq", lib.loc="/netapp/home/singh/R/x86_64-unknown-linux-gnu-library/3.2") #biocLite("BiocParallel") library("BiocParallel", lib.loc="/netapp/home/singh/R/x86_64-unknown-linux-gnu-library/3.2") #biocLite("statmo...
/dexClust.R
no_license
poojasingh09/Singh_et_al_2017_RNAseq_analysis
R
false
false
3,514
r
##/export/bio/R/R-3.2.1/bin/R #source("http://bioconductor.org/biocLite.R") #biocLite("DEXSeq") library("DEXSeq", lib.loc="/netapp/home/singh/R/x86_64-unknown-linux-gnu-library/3.2") #biocLite("BiocParallel") library("BiocParallel", lib.loc="/netapp/home/singh/R/x86_64-unknown-linux-gnu-library/3.2") #biocLite("statmo...
# Setup Environment ------------------------------------------------------- # This function loads required packages and installs them if they are not found pkgTest <- function(x) { if (!require(x,character.only = TRUE)) { install.packages(x,dep=TRUE) if(!require(x,character.only = TRUE)) stop("Package not ...
/Boneyard/Figure3.R
no_license
katiejh08/TWlogger
R
false
false
15,078
r
# Setup Environment ------------------------------------------------------- # This function loads required packages and installs them if they are not found pkgTest <- function(x) { if (!require(x,character.only = TRUE)) { install.packages(x,dep=TRUE) if(!require(x,character.only = TRUE)) stop("Package not ...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/align.R \name{align} \alias{align} \title{Symlink a package with the appropriate version into the current library.} \usage{ align(locked_package) } \arguments{ \item{locked_package}{locked_package. In particular, the \code{version} an...
/man/align.Rd
no_license
kirillseva/lockbox
R
false
false
450
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/align.R \name{align} \alias{align} \title{Symlink a package with the appropriate version into the current library.} \usage{ align(locked_package) } \arguments{ \item{locked_package}{locked_package. In particular, the \code{version} an...
testlist <- list(data = structure(c(2.89795423265135e-306, 2.46690989006038e-308, 2.84809453888922e-306, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(9L, 3L)), q = 0) result <- do.call(biwavelet:::rcpp_row_quantile,testlist) str(result)
/biwavelet/inst/testfiles/rcpp_row_quantile/libFuzzer_rcpp_row_quantile/rcpp_row_quantile_valgrind_files/1610556707-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
275
r
testlist <- list(data = structure(c(2.89795423265135e-306, 2.46690989006038e-308, 2.84809453888922e-306, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(9L, 3L)), q = 0) result <- do.call(biwavelet:::rcpp_row_quantile,testlist) str(result)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tongfen_ca.R \name{meta_for_ca_census_vectors} \alias{meta_for_ca_census_vectors} \title{Generate metadata from Candian census vectors} \usage{ meta_for_ca_census_vectors(vectors) } \arguments{ \item{vectors}{list of variables to query} } \va...
/man/meta_for_ca_census_vectors.Rd
permissive
mountainMath/tongfen
R
false
true
792
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tongfen_ca.R \name{meta_for_ca_census_vectors} \alias{meta_for_ca_census_vectors} \title{Generate metadata from Candian census vectors} \usage{ meta_for_ca_census_vectors(vectors) } \arguments{ \item{vectors}{list of variables to query} } \va...
# First load all the libraries that will be needed for the analysis. library("tximport") library("pheatmap") library("RColorBrewer") library("edgeR") library("rhdf5") library("gplots") library("ggplot2") library("GenomicFeatures") library("affy") library("REBayes") library("reliaR") library("Rmosek") libra...
/kallisto_edgeR.R
no_license
luppo1/Benchmarking-project
R
false
false
4,583
r
# First load all the libraries that will be needed for the analysis. library("tximport") library("pheatmap") library("RColorBrewer") library("edgeR") library("rhdf5") library("gplots") library("ggplot2") library("GenomicFeatures") library("affy") library("REBayes") library("reliaR") library("Rmosek") libra...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/google_search_trends_data.R \name{google_search_trends_data} \alias{google_search_trends_data} \title{Google search trends for COVID-19 and illness-related terms} \source{ \url{https://github.com/GoogleCloudPlatform/covid-19-open-data} } \usa...
/man/google_search_trends_data.Rd
permissive
griffinracey2/sars2pack
R
false
true
5,937
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/google_search_trends_data.R \name{google_search_trends_data} \alias{google_search_trends_data} \title{Google search trends for COVID-19 and illness-related terms} \source{ \url{https://github.com/GoogleCloudPlatform/covid-19-open-data} } \usa...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_proj.R \name{plot_proj} \alias{plot_proj} \title{Plot projections} \usage{ plot_proj( high, med, low, years.plot = 50, ylims, spaghetti = FALSE, K1plus = 9000, InitDepl = 0.8, color.palette = c("forestgreen", "darkorang...
/man/plot_proj.Rd
no_license
mcsiple/ltbycatch
R
false
true
1,756
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_proj.R \name{plot_proj} \alias{plot_proj} \title{Plot projections} \usage{ plot_proj( high, med, low, years.plot = 50, ylims, spaghetti = FALSE, K1plus = 9000, InitDepl = 0.8, color.palette = c("forestgreen", "darkorang...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/NBSpliceRes-constructor.R \docType{methods} \name{NBSpliceRes} \alias{NBSpliceRes} \alias{NBSpliceRes-methods} \title{NBSpliceRes constructor} \usage{ NBSpliceRes(results, lowExpIndex, contrast, dispersion) } \arguments{ \item{results}{Data.f...
/man/NBSpliceRes-constructor.Rd
no_license
gamerino/NBSplice
R
false
true
1,577
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/NBSpliceRes-constructor.R \docType{methods} \name{NBSpliceRes} \alias{NBSpliceRes} \alias{NBSpliceRes-methods} \title{NBSpliceRes constructor} \usage{ NBSpliceRes(results, lowExpIndex, contrast, dispersion) } \arguments{ \item{results}{Data.f...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/brmsfit-helpers.R \name{compare_ic} \alias{compare_ic} \title{Compare Information Criteria of Different Models} \usage{ compare_ic(..., x = NULL, ic = c("loo", "waic")) } \arguments{ \item{...}{At least two objects returned by \code{\link[br...
/man/compare_ic.Rd
no_license
aforren1/brms
R
false
true
1,576
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/brmsfit-helpers.R \name{compare_ic} \alias{compare_ic} \title{Compare Information Criteria of Different Models} \usage{ compare_ic(..., x = NULL, ic = c("loo", "waic")) } \arguments{ \item{...}{At least two objects returned by \code{\link[br...
############################################################################# # # XLConnect # Copyright (C) 2010-2018 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...
/inst/unitTests/runit.extractSheetName.R
no_license
gnbrganchan/xlconnect
R
false
false
1,383
r
############################################################################# # # XLConnect # Copyright (C) 2010-2018 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...
library(tidyverse) murders <- read_csv("data/murders.csv") murders <- murders%>%mutate(region = factor(region), rate = total / population * 10^5) save(murders, file="rda/murders.rda")
/wrangle-data.R
no_license
jlbarrett/murders
R
false
false
183
r
library(tidyverse) murders <- read_csv("data/murders.csv") murders <- murders%>%mutate(region = factor(region), rate = total / population * 10^5) save(murders, file="rda/murders.rda")
# generate OD flows net <- readRDS ("../who-data/accra/osm/accra-hw.Rds") %>% weight_streetnet () nodes <- readRDS ("../who-data/accra/osm/nodes_new.Rds") verts <- dodgr_vertices (net) library (sf) indx <- 1:1000 nodes <- nodes [indx, ] indx <- match_pts_to_graph (verts, nodes) dcol <- names (nodes) [which (grepl ("GH...
/code/od-gen.R
permissive
ATFutures/who
R
false
false
779
r
# generate OD flows net <- readRDS ("../who-data/accra/osm/accra-hw.Rds") %>% weight_streetnet () nodes <- readRDS ("../who-data/accra/osm/nodes_new.Rds") verts <- dodgr_vertices (net) library (sf) indx <- 1:1000 nodes <- nodes [indx, ] indx <- match_pts_to_graph (verts, nodes) dcol <- names (nodes) [which (grepl ("GH...
setwd("D:/workspace/R_Data_Analysis/Part2/Stage3/EX03") count<-read.csv("연도별요양기관별보험청구건수_2001_2013_세로.csv",stringsAsFactors=FALSE) colname <- count$년도 v1 <- count[,2]/100000 v2 <- count[,3]/100000 v3 <- count[,4]/100000 v4 <- count[,5]/100000 v5 <- count[,6]/100000 v6 <- count[,7]/100000 v7 <- count[,8]/100000 v8 <- cou...
/Part2/Stage3/EX03/EX03.R
no_license
HyungcheolSon/R
R
false
false
1,250
r
setwd("D:/workspace/R_Data_Analysis/Part2/Stage3/EX03") count<-read.csv("연도별요양기관별보험청구건수_2001_2013_세로.csv",stringsAsFactors=FALSE) colname <- count$년도 v1 <- count[,2]/100000 v2 <- count[,3]/100000 v3 <- count[,4]/100000 v4 <- count[,5]/100000 v5 <- count[,6]/100000 v6 <- count[,7]/100000 v7 <- count[,8]/100000 v8 <- cou...
## Allow for different TTS systems ## TTS$read() reads <dialogue> and returns text ## TTS$speak() turns text into audio TTS <- function(read, speak, ...) { x <- list(read=read, speak=speak, params=list(...)) class(x) <- "DirectorTTS" x } ####################################### ## Default TTS ignores any ...
/R/tts.R
no_license
pmur002/director
R
false
false
6,928
r
## Allow for different TTS systems ## TTS$read() reads <dialogue> and returns text ## TTS$speak() turns text into audio TTS <- function(read, speak, ...) { x <- list(read=read, speak=speak, params=list(...)) class(x) <- "DirectorTTS" x } ####################################### ## Default TTS ignores any ...
# ******************************************************************************* # OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC. # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditio...
/docker/R/lib/create_and_run_datapoint_uniquegroups.R
permissive
anyaelena/OpenStudio-server
R
false
false
12,629
r
# ******************************************************************************* # OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC. # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditio...
library(testthat) library(XML) context("htmlTable - styles check") test_that("Check that row styles are present",{ mx <- matrix(ncol=6, nrow=8) rownames(mx) <- paste(c("1st", "2nd", "3rd", paste0(4:8, "th")), "row") colnames(mx) <- ...
/packrat/lib/x86_64-apple-darwin18.2.0/3.5.2/htmlTable/tests/testthat/test-htmlTable_styles.R
no_license
teyden/asthma-research
R
false
false
1,673
r
library(testthat) library(XML) context("htmlTable - styles check") test_that("Check that row styles are present",{ mx <- matrix(ncol=6, nrow=8) rownames(mx) <- paste(c("1st", "2nd", "3rd", paste0(4:8, "th")), "row") colnames(mx) <- ...
library(ggm) ### Name: checkIdent ### Title: Identifiability of a model with one latent variable ### Aliases: checkIdent ### Keywords: graphs models multivariate ### ** Examples ## See DAG in Figure 4 (a) in Stanghellini & Wermuth (2005) d <- DAG(y1 ~ y3, y2 ~ y3 + y5, y3 ~ y4 + y5, y4 ~ y6) checkIdent(d, "y3") # ...
/data/genthat_extracted_code/ggm/examples/checkIdent.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,059
r
library(ggm) ### Name: checkIdent ### Title: Identifiability of a model with one latent variable ### Aliases: checkIdent ### Keywords: graphs models multivariate ### ** Examples ## See DAG in Figure 4 (a) in Stanghellini & Wermuth (2005) d <- DAG(y1 ~ y3, y2 ~ y3 + y5, y3 ~ y4 + y5, y4 ~ y6) checkIdent(d, "y3") # ...
--- title: "Main statistical analyses and plots for Quinn et al. 2021" author: "Chelsea Wood and Sarah Lee" date: "updated 20 Nov 2020" --- # Reference for analysis design: # https://bbolker.github.io/mixedmodels-misc/glmmFAQ.html#introduction # Load required packages library(MASS) library(lme4) library(nlme) lib...
/src/main_analysis.R
no_license
cklohmann/Quinn_et_al_2021_Proc_B
R
false
false
54,490
r
--- title: "Main statistical analyses and plots for Quinn et al. 2021" author: "Chelsea Wood and Sarah Lee" date: "updated 20 Nov 2020" --- # Reference for analysis design: # https://bbolker.github.io/mixedmodels-misc/glmmFAQ.html#introduction # Load required packages library(MASS) library(lme4) library(nlme) lib...
#-------- #drake plan #------ reproplan = drake::drake_plan( test=print("hello world") )
/inst/templates/minimal/src/plan.R
no_license
msandifo/reproscir
R
false
false
95
r
#-------- #drake plan #------ reproplan = drake::drake_plan( test=print("hello world") )
\name{listDB} \alias{listDB} \title{returns list of databases available} \usage{ listDB() } \description{ Returns the list of databases available in package } \examples{ listDB() }
/man/listDB.Rd
no_license
RemyNicolle/excitingpath
R
false
false
181
rd
\name{listDB} \alias{listDB} \title{returns list of databases available} \usage{ listDB() } \description{ Returns the list of databases available in package } \examples{ listDB() }
#' Sample events with PSI data #' #' Contains sample PSI and quality score data as produced by \code{vast-tools #' combine}. #' #' @docType data #' @name psi #' @usage psi #' @format A 5 x 22 data frame #' @keywords datasets NULL #' Sample psiplot configuration settings for datasets \code{psi} and \code{crpkm} #' #' E...
/R/data.R
permissive
kcha/psiplot
R
false
false
1,076
r
#' Sample events with PSI data #' #' Contains sample PSI and quality score data as produced by \code{vast-tools #' combine}. #' #' @docType data #' @name psi #' @usage psi #' @format A 5 x 22 data frame #' @keywords datasets NULL #' Sample psiplot configuration settings for datasets \code{psi} and \code{crpkm} #' #' E...
#read data global_data <- read.csv(file = "Global_Weather.csv", header = TRUE, sep = ",") lapaz_data <- read.csv(file = "LaPaz_Weather.csv", header = TRUE, sep = ",") #table sizes dim(global_data) dim(lapaz_data) #table details str(global_data) str(lapaz_data) #moving averages computations #compute the movin...
/Code.R
no_license
oscarmendozach/WeatherTrendsR
R
false
false
3,456
r
#read data global_data <- read.csv(file = "Global_Weather.csv", header = TRUE, sep = ",") lapaz_data <- read.csv(file = "LaPaz_Weather.csv", header = TRUE, sep = ",") #table sizes dim(global_data) dim(lapaz_data) #table details str(global_data) str(lapaz_data) #moving averages computations #compute the movin...
prepare_data <- function(data_dir, campaign = c("usuelle", "complémentaire")) { require(tibble) require(dplyr) '%>%' <- dplyr::'%>%' departements <- tibble::tribble( ~code_departement, ~nom_departement, "01", "Ain", ...
/scripts/001_prepare_data.R
no_license
CedricMondy/dataviz_secheresse
R
false
false
6,127
r
prepare_data <- function(data_dir, campaign = c("usuelle", "complémentaire")) { require(tibble) require(dplyr) '%>%' <- dplyr::'%>%' departements <- tibble::tribble( ~code_departement, ~nom_departement, "01", "Ain", ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DataDocumentation.R \docType{data} \name{Summary_Use_2016_PRO_AfterRedef} \alias{Summary_Use_2016_PRO_AfterRedef} \title{Summary 2016 Use Producer's Value After Redefinition (2012 schema)} \format{A dataframe with 83 obs. and 98 variables} \s...
/man/Summary_Use_2016_PRO_AfterRedef.Rd
permissive
ccourtUF/useeior
R
false
true
490
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DataDocumentation.R \docType{data} \name{Summary_Use_2016_PRO_AfterRedef} \alias{Summary_Use_2016_PRO_AfterRedef} \title{Summary 2016 Use Producer's Value After Redefinition (2012 schema)} \format{A dataframe with 83 obs. and 98 variables} \s...
# Make a data frame of visitors checkins # Run this once to create `data/checkins.RDS` library(tidyverse) library(lubridate) source("munge/helpers.R") df <- read_rds("data/park_data.RDS") locations <- read_rds("data/checkin_locs.RDS") # checkout: timestamp of next registered movement # duration: duration of stay #...
/data-prep/munge/make_checkin_df.R
no_license
Teebusch/park-vis
R
false
false
1,905
r
# Make a data frame of visitors checkins # Run this once to create `data/checkins.RDS` library(tidyverse) library(lubridate) source("munge/helpers.R") df <- read_rds("data/park_data.RDS") locations <- read_rds("data/checkin_locs.RDS") # checkout: timestamp of next registered movement # duration: duration of stay #...
# SPDX-License-Identifier: MIT # Copyright (c) 2019 Taras Zakharko #' @include src-buffer.R NULL parse.success <- function(value, location) { structure(list(value = value, location = location), class=c("parse.result", "parse.success")) } parse.failure <- function(payload = list()) { structure(payload, class=c...
/R/parser-base.R
permissive
tzakharko/parsetools
R
false
false
787
r
# SPDX-License-Identifier: MIT # Copyright (c) 2019 Taras Zakharko #' @include src-buffer.R NULL parse.success <- function(value, location) { structure(list(value = value, location = location), class=c("parse.result", "parse.success")) } parse.failure <- function(payload = list()) { structure(payload, class=c...
"%>%" <- magrittr::"%>%" # Lendo a base inat <- readr::read_rds("data/inatividade_fisica.rds") %>% tibble::glimpse() inat %>% dplyr::filter(!is.na(Ina_ambos_sexos)) %>% dplyr::arrange(Ina_ambos_sexos) %>% dplyr::slice_tail(n = 10) %>% ggplot2::ggplot(mapping = ggplot2::aes(x = Ina_ambos_sexos, ...
/Scripts/Inatividade_física.R
no_license
saulosgil/tcc_r4ds2
R
false
false
762
r
"%>%" <- magrittr::"%>%" # Lendo a base inat <- readr::read_rds("data/inatividade_fisica.rds") %>% tibble::glimpse() inat %>% dplyr::filter(!is.na(Ina_ambos_sexos)) %>% dplyr::arrange(Ina_ambos_sexos) %>% dplyr::slice_tail(n = 10) %>% ggplot2::ggplot(mapping = ggplot2::aes(x = Ina_ambos_sexos, ...
source('loadData.R') ## Load all data, assuming data file is in the same directory as this ## script. powerData <- loadData('household_power_consumption.txt') ## Select only data for 1st and 2nd February, 2007. filteredData <- powerData[grep('^[1-2]/2/2007',powerData$Date),] ##Generate timestamps for plotting. timest...
/plot3.R
no_license
farhanhubble/ExData_Plotting1
R
false
false
1,055
r
source('loadData.R') ## Load all data, assuming data file is in the same directory as this ## script. powerData <- loadData('household_power_consumption.txt') ## Select only data for 1st and 2nd February, 2007. filteredData <- powerData[grep('^[1-2]/2/2007',powerData$Date),] ##Generate timestamps for plotting. timest...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/orthographic_distance.R \name{check_epithets_match} \alias{check_epithets_match} \title{Check if Epithets match.} \usage{ check_epithets_match(dist, epithets = NULL) } \arguments{ \item{dist}{data.frame with orthographic distances as returned...
/man/check_epithets_match.Rd
no_license
emilio-berti/taxclean
R
false
true
1,097
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/orthographic_distance.R \name{check_epithets_match} \alias{check_epithets_match} \title{Check if Epithets match.} \usage{ check_epithets_match(dist, epithets = NULL) } \arguments{ \item{dist}{data.frame with orthographic distances as returned...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function MakeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<- NULL } get <- function() x setinverse <- function(inverse) i <<- invers...
/cachematrix.R
no_license
sjpkg96/ProgrammingAssignment2
R
false
false
1,084
r
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function MakeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<- NULL } get <- function() x setinverse <- function(inverse) i <<- invers...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{plotGC} \alias{plotGC} \title{Plot the fragment GC bias over samples} \usage{ plotGC(fitpar, model, col, lty, ylim, gc.range = NULL, return.type = 0) } \arguments{ \item{fitpar}{a list of the output of \link{fitBiasModels} over ...
/man/plotGC.Rd
no_license
mikelove/alpine
R
false
true
1,176
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{plotGC} \alias{plotGC} \title{Plot the fragment GC bias over samples} \usage{ plotGC(fitpar, model, col, lty, ylim, gc.range = NULL, return.type = 0) } \arguments{ \item{fitpar}{a list of the output of \link{fitBiasModels} over ...
diffs_colnames <- c("gene_id", "pval", "qval", "b", "se_b", "mean_obs", "var_obs", "tech_var", "sigma_sq", "smooth_sigma_sq", "final_sigma_sq", "chr", "loc", "strand", "offset?") infile = "" load(infile) row.names(all_features_diffs_wide) <- all_features_diffs_wide$tss_name dif...
/scripts/oc_utils/product_tfbs_oc_features.R
no_license
ansariom/pipeline_exe
R
false
false
994
r
diffs_colnames <- c("gene_id", "pval", "qval", "b", "se_b", "mean_obs", "var_obs", "tech_var", "sigma_sq", "smooth_sigma_sq", "final_sigma_sq", "chr", "loc", "strand", "offset?") infile = "" load(infile) row.names(all_features_diffs_wide) <- all_features_diffs_wide$tss_name dif...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/visualization.R \name{plotBioRepVenn} \alias{plotBioRepVenn} \title{Venn plot in biological replicate level} \usage{ plotBioRepVenn(res) } \arguments{ \item{res}{An object of msQCres} } \value{ The name of the figure } \...
/man/plotBioRepVenn.Rd
no_license
inambioinfo/proteoQC
R
false
false
380
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/visualization.R \name{plotBioRepVenn} \alias{plotBioRepVenn} \title{Venn plot in biological replicate level} \usage{ plotBioRepVenn(res) } \arguments{ \item{res}{An object of msQCres} } \value{ The name of the figure } \...
library(nycflights13) library(nycflights13) library(tinyverse) install.packages(nycflights13) install.packages("nycflights13") install.packages("tidyverse") library(tinyverse) library(nycflights13) install.packages("tinyverse") install.packages("tinyverse") flights library(tidyverse) #filter flights for only Jan 1st j...
/scripts/chapt5.R
no_license
darren878/iX_Homeworkv2
R
false
false
2,003
r
library(nycflights13) library(nycflights13) library(tinyverse) install.packages(nycflights13) install.packages("nycflights13") install.packages("tidyverse") library(tinyverse) library(nycflights13) install.packages("tinyverse") install.packages("tinyverse") flights library(tidyverse) #filter flights for only Jan 1st j...
\name{gqi.odfvmflines} \alias{gqi.odfvmflines} \concept{Diffusion Magnetic Resonance} \concept{GQI Reconstruction} \concept{von Mises Distributions} \concept{Fibre Orientation Mapping} \title{Fibre Orientation Mapping Based on von Mises-Fisher Distributions with GQI Reconstruction} \description{ In order to enable map...
/man/gqi.odfvmflines.Rd
no_license
cran/gdimap
R
false
false
9,145
rd
\name{gqi.odfvmflines} \alias{gqi.odfvmflines} \concept{Diffusion Magnetic Resonance} \concept{GQI Reconstruction} \concept{von Mises Distributions} \concept{Fibre Orientation Mapping} \title{Fibre Orientation Mapping Based on von Mises-Fisher Distributions with GQI Reconstruction} \description{ In order to enable map...
#First, set working directory setwd("../course_project1") hpcData<-read.table("household_power_consumption.txt",header=T,sep=";",na.strings="?") str(hpcData) hpcData<-transform(hpcData,Date=as.Date(Date,format="%d/%m/%Y")) hpcData<-subset(hpcData, subset=Date>=as.Date("2007-02-01") & Date<=as.Date("2007-02-02")) hpcD...
/plot4.r
no_license
eaganan/ExData_Plotting1
R
false
false
1,250
r
#First, set working directory setwd("../course_project1") hpcData<-read.table("household_power_consumption.txt",header=T,sep=";",na.strings="?") str(hpcData) hpcData<-transform(hpcData,Date=as.Date(Date,format="%d/%m/%Y")) hpcData<-subset(hpcData, subset=Date>=as.Date("2007-02-01") & Date<=as.Date("2007-02-02")) hpcD...
# p Generate random marks for the students students.length <- 50 students.marks <- rnorm(students.length, mean= 50, sd=50) # compute average students.average <- mean(students.marks) print(paste("average mark of the class is:", students.average)) # A check average mark of the class if(students.average >= 50){ ...
/Lecture/w3/code_examples/ex_rnd_conditonal2.R
no_license
tuananh8497/IDS_FOLDER
R
false
false
515
r
# p Generate random marks for the students students.length <- 50 students.marks <- rnorm(students.length, mean= 50, sd=50) # compute average students.average <- mean(students.marks) print(paste("average mark of the class is:", students.average)) # A check average mark of the class if(students.average >= 50){ ...
install.packages("ggplot2") library(ggplot2) data(package = "ggplot2") ggplot2::mpg ggplot(data =mpg, x =cty, y = hwy, geom = "point", color = class) ggplot(mpg, aes(displ, hwy, colour = class)) + geom_point()
/RhomeworkV.R
no_license
IbtisamAli06/TTA
R
false
false
249
r
install.packages("ggplot2") library(ggplot2) data(package = "ggplot2") ggplot2::mpg ggplot(data =mpg, x =cty, y = hwy, geom = "point", color = class) ggplot(mpg, aes(displ, hwy, colour = class)) + geom_point()
library(caret) library(car) library(pscl) library(ROCR) library(pROC) library(glmnet) library(plotmo) library(randomForest) library(varSelRF) library(MASS) library(ggplot2) library(ggthemes) library(RColorBrewer) library(Rmisc) wk2<-read.csv("Intermediate-Data/Week_2_data.csv", stringsAsFactors = F) wk2$dup1<-duplicate...
/Physics 2 Analysis/R Analysis/Week 2 Analysis.R
no_license
cabotzabriskie/Grade-Prediction-Project
R
false
false
12,023
r
library(caret) library(car) library(pscl) library(ROCR) library(pROC) library(glmnet) library(plotmo) library(randomForest) library(varSelRF) library(MASS) library(ggplot2) library(ggthemes) library(RColorBrewer) library(Rmisc) wk2<-read.csv("Intermediate-Data/Week_2_data.csv", stringsAsFactors = F) wk2$dup1<-duplicate...
#' @title To obtain a DataFrame of transcript-specific CDS and mRNA coordinates #' @description To obtain a DataFrame of transcript-specific CDS and mRNA #' coordinates. #' #' @param tx_id String specifying ENSEMBL Transcript id. #' @param txObject A \linkS4class{TxDb} object or a \linkS4class{GRangesList} #' ...
/R/getTxInfoDataFrame.R
permissive
crisprVerse/crisprDesign
R
false
false
10,564
r
#' @title To obtain a DataFrame of transcript-specific CDS and mRNA coordinates #' @description To obtain a DataFrame of transcript-specific CDS and mRNA #' coordinates. #' #' @param tx_id String specifying ENSEMBL Transcript id. #' @param txObject A \linkS4class{TxDb} object or a \linkS4class{GRangesList} #' ...
#' @name rewriteHydeFormula #' @importFrom dplyr group_by_ #' @importFrom dplyr summarise #' @importFrom stats as.formula #' @importFrom stringr str_split_fixed #' @importFrom utils tail #' #' @title Rewrite HydeNetwork Graph Model Formula #' @description This is a convenience function used to assist in the updating ...
/R/rewriteHydeFormula.R
no_license
nutterb/HydeNet
R
false
false
4,650
r
#' @name rewriteHydeFormula #' @importFrom dplyr group_by_ #' @importFrom dplyr summarise #' @importFrom stats as.formula #' @importFrom stringr str_split_fixed #' @importFrom utils tail #' #' @title Rewrite HydeNetwork Graph Model Formula #' @description This is a convenience function used to assist in the updating ...
#' Calculate h-v-ratio of seismic components #' #' This function uses three components of a seismic signal, evaluates #' their spectra and builds the ratio of horizontal to vertical power. #' For details see http://www.geopsy.org/documentation/geopsy/hv.html. #' #' The spectra should be smoothed. This can either be...
/eseis/R/signal_hvratio.R
no_license
akhikolla/InformationHouse
R
false
false
6,029
r
#' Calculate h-v-ratio of seismic components #' #' This function uses three components of a seismic signal, evaluates #' their spectra and builds the ratio of horizontal to vertical power. #' For details see http://www.geopsy.org/documentation/geopsy/hv.html. #' #' The spectra should be smoothed. This can either be...
library(ggplot2) library(dplyr) food <- read.csv("C:\\Users\\SIT302-007\\Documents\\R\\R_data\\2016 전국 음식점 정보.csv") names(food) head(food) View(food) dim(food) newName <- c("Title", "C1", "C2", "Category", "Area", "City", "Summary") colnames(food) <- newName colnames(food) table(food$Cat) table(food$Area) table(...
/1. R/190916 _ 전국 음식점 실습.R
no_license
PaikSeoyeon/Data-Science-Class
R
false
false
1,272
r
library(ggplot2) library(dplyr) food <- read.csv("C:\\Users\\SIT302-007\\Documents\\R\\R_data\\2016 전국 음식점 정보.csv") names(food) head(food) View(food) dim(food) newName <- c("Title", "C1", "C2", "Category", "Area", "City", "Summary") colnames(food) <- newName colnames(food) table(food$Cat) table(food$Area) table(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/HelperFunctions.R \name{getValueOrRds} \alias{getValueOrRds} \title{get input that might be an RDS file} \usage{ getValueOrRds(input) } \arguments{ \item{input}{some user input} } \value{ if input is an RDS file, read it - otherwise return in...
/man/getValueOrRds.Rd
permissive
FertigLab/CoGAPS
R
false
true
397
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/HelperFunctions.R \name{getValueOrRds} \alias{getValueOrRds} \title{get input that might be an RDS file} \usage{ getValueOrRds(input) } \arguments{ \item{input}{some user input} } \value{ if input is an RDS file, read it - otherwise return in...
##---------------------- Apply Survival Forest method to the actual SPRINT data -------------------## ##---------------------- Crystal Xu 02/23/2021 -------------------## library(survival);library(grf);library(pec) source("eval_funs.R") #source("C:/Users/cryst/Documents/Stanford Postdoc...
/Models/Models_EV_on_sprint/External_sprint_SF_CVD.R
no_license
som-shahlab/HTE_SL_Prediction
R
false
false
10,567
r
##---------------------- Apply Survival Forest method to the actual SPRINT data -------------------## ##---------------------- Crystal Xu 02/23/2021 -------------------## library(survival);library(grf);library(pec) source("eval_funs.R") #source("C:/Users/cryst/Documents/Stanford Postdoc...
# Compute the area of a polygon poly.area <- function(points) { xs <- points$X ys <- points$Y sum1 <- sum(xs[1:(length(xs) - 1)] * ys[2:length(ys)]) sum2 <- sum(ys[1:(length(ys) - 1)] * xs[2:length(xs)]) (sum1 - sum2) / 2 } # Compute the length of a vertex of a polygon from the origin poly.vertex.l...
/polygon.R
no_license
ezpz/hiring-polygon
R
false
false
4,789
r
# Compute the area of a polygon poly.area <- function(points) { xs <- points$X ys <- points$Y sum1 <- sum(xs[1:(length(xs) - 1)] * ys[2:length(ys)]) sum2 <- sum(ys[1:(length(ys) - 1)] * xs[2:length(xs)]) (sum1 - sum2) / 2 } # Compute the length of a vertex of a polygon from the origin poly.vertex.l...
#' Create pp_sequential module. #' #' @param ... pp modules. #' @param data A data frame. It should be a training data. #' @param pplist A list contains pp modules. pp_sequential <- function(..., data, pplist = NULL) { args <- append(list(...), pplist) object <- list() count = 0 for (arg in args) { count = ...
/R/pp_sequential.R
no_license
jeongnna/dps
R
false
false
1,197
r
#' Create pp_sequential module. #' #' @param ... pp modules. #' @param data A data frame. It should be a training data. #' @param pplist A list contains pp modules. pp_sequential <- function(..., data, pplist = NULL) { args <- append(list(...), pplist) object <- list() count = 0 for (arg in args) { count = ...
immer_IC_calc <- function(ic){ # AIC ic$AIC <- ic$dev + 2*ic$np # AIC3 ic$AIC3 <- ic$dev + 3*ic$np # BIC ic$BIC <- ic$dev + ( log(ic$n) )*ic$np # adjusted BIC ic$aBIC <- ic$dev + ( log( ( ic$n -2 ) / 24 ) )*ic$np # CAIC (consistent AIC) ic$CAIC <- ic$d...
/immer/R/immer_ic_calc.R
no_license
ingted/R-Examples
R
false
false
465
r
immer_IC_calc <- function(ic){ # AIC ic$AIC <- ic$dev + 2*ic$np # AIC3 ic$AIC3 <- ic$dev + 3*ic$np # BIC ic$BIC <- ic$dev + ( log(ic$n) )*ic$np # adjusted BIC ic$aBIC <- ic$dev + ( log( ( ic$n -2 ) / 24 ) )*ic$np # CAIC (consistent AIC) ic$CAIC <- ic$d...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/regplot.R \name{regplot} \alias{regplot} \title{Convolutive regression function regression plot} \usage{ regplot(obj, delta = 0.5, disp = "all", cex.pt = 0.5, ...) } \arguments{ \item{obj}{convreg object} \item{delta}{discretization paramete...
/man/regplot.Rd
permissive
ick003/convReg
R
false
true
851
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/regplot.R \name{regplot} \alias{regplot} \title{Convolutive regression function regression plot} \usage{ regplot(obj, delta = 0.5, disp = "all", cex.pt = 0.5, ...) } \arguments{ \item{obj}{convreg object} \item{delta}{discretization paramete...
{ # This script makes a file in png format from a txt csv data file # You will need to download the file https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip # You need to unzipp this file in your current working directory with the name household_power_consumption.txt # Author: ...
/plot3.R
no_license
netter77/ExData_Plotting1
R
false
false
2,467
r
{ # This script makes a file in png format from a txt csv data file # You will need to download the file https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip # You need to unzipp this file in your current working directory with the name household_power_consumption.txt # Author: ...
#' Mantel test with phylogenetic permutations #' #' Performs a matrix correlation with significance given by a phylogenetic Mantel Test. #' Pairs of rowns and columns are permuted with probability proportional to their phylogenetic distance. #' #' @param tree phylogenetic tree. Tip labels must match names in input m...
/R/PhyloMantel.R
no_license
wgar84/evolqg
R
false
false
3,429
r
#' Mantel test with phylogenetic permutations #' #' Performs a matrix correlation with significance given by a phylogenetic Mantel Test. #' Pairs of rowns and columns are permuted with probability proportional to their phylogenetic distance. #' #' @param tree phylogenetic tree. Tip labels must match names in input m...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/expect-named.R \name{expect_named} \alias{expect_named} \title{Expectation: does object have names?} \usage{ expect_named(object, expected, ignore.order = FALSE, ignore.case = FALSE, info = NULL, label = NULL) } \arguments{ \item{object}{ob...
/man/expect_named.Rd
no_license
timchurches/testthat
R
false
true
1,716
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/expect-named.R \name{expect_named} \alias{expect_named} \title{Expectation: does object have names?} \usage{ expect_named(object, expected, ignore.order = FALSE, ignore.case = FALSE, info = NULL, label = NULL) } \arguments{ \item{object}{ob...
\name{accessC.wp} \alias{accessC.wp} \title{Warning function when trying to access smooths from wavelet packet object (wp).} \description{ There are no real smooths to access in a \code{\link{wp}} wavelet packet object. This function returns an error message. To obtain coefficients from a wavelet packet object you s...
/man/accessC.wp.rd
no_license
cran/wavethresh
R
false
false
665
rd
\name{accessC.wp} \alias{accessC.wp} \title{Warning function when trying to access smooths from wavelet packet object (wp).} \description{ There are no real smooths to access in a \code{\link{wp}} wavelet packet object. This function returns an error message. To obtain coefficients from a wavelet packet object you s...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/TBsim-package.R, R/TBsim.R \docType{package} \name{TBsim-package} \alias{TBsim-package} \alias{TBsim-package} \title{TBsim package} \description{ Wrapper around TBsim package Wrapper around TBsim package } \author{ Ron Keizer \email{ronkeize...
/tbsim/man/TBsim-package.Rd
no_license
saviclab/TBsim
R
false
true
375
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/TBsim-package.R, R/TBsim.R \docType{package} \name{TBsim-package} \alias{TBsim-package} \alias{TBsim-package} \title{TBsim package} \description{ Wrapper around TBsim package Wrapper around TBsim package } \author{ Ron Keizer \email{ronkeize...
## ----ts-setup, include=FALSE--------------------------------------------- knitr::opts_knit$set(unnamed.chunk.label = "ts-") knitr::opts_chunk$set(echo = TRUE, comment=NA, cache=TRUE, tidy.opts=list(width.cutoff=60), tidy=TRUE, fig.align='center', out.width='80%') ## ----ts-plot-www, fig.cap = "Number of users conne...
/docs/Rcode/intro-to-ts.R
no_license
snowdj/atsa-labs
R
false
false
6,535
r
## ----ts-setup, include=FALSE--------------------------------------------- knitr::opts_knit$set(unnamed.chunk.label = "ts-") knitr::opts_chunk$set(echo = TRUE, comment=NA, cache=TRUE, tidy.opts=list(width.cutoff=60), tidy=TRUE, fig.align='center', out.width='80%') ## ----ts-plot-www, fig.cap = "Number of users conne...
globalactivepower <- as.character(household_power_consumption$Global_active_power[as.Date(household_power_consumption$Date, "%d/%m/%Y") >= as.Date("2007-02-01", "%Y-%m-%d") & as.Date(household_power_consumption$Date, "%d/%m/%Y") <= as.Date("2007-02-02", "%Y-%m-%d")]) globalactivepower <- as.numeric(globalactivepower) h...
/plot1.R
no_license
slagathorr/ExData_Plotting1
R
false
false
464
r
globalactivepower <- as.character(household_power_consumption$Global_active_power[as.Date(household_power_consumption$Date, "%d/%m/%Y") >= as.Date("2007-02-01", "%Y-%m-%d") & as.Date(household_power_consumption$Date, "%d/%m/%Y") <= as.Date("2007-02-02", "%Y-%m-%d")]) globalactivepower <- as.numeric(globalactivepower) h...
## makeCacheMatrix creates and also returns a list of functions ## used by cacheSolve to get inverted matrix in cache makeCacheMatrix <- function(x = matrix()) { ## stores cached value cache <- NULL set <- function(y) { x <<- y cache <<- NULL } get <- function () x setMatrix <- function(inverse) cache <<- inve...
/cachematrix.R
no_license
amit-shakya/ProgrammingAssignment2
R
false
false
723
r
## makeCacheMatrix creates and also returns a list of functions ## used by cacheSolve to get inverted matrix in cache makeCacheMatrix <- function(x = matrix()) { ## stores cached value cache <- NULL set <- function(y) { x <<- y cache <<- NULL } get <- function () x setMatrix <- function(inverse) cache <<- inve...
# 15 mins # https://stat545.com/character-vectors.html#resources-3 #1. learner persona # Sarah receives her phD in Economics from Harvard 20 years ago. # She now conducts education policy research at a leading think tank. # She has been using STATA for data analysis her entire career and she considers herself a STATA...
/scripts.R
no_license
fansi-sifan/workshop-strings
R
false
false
1,293
r
# 15 mins # https://stat545.com/character-vectors.html#resources-3 #1. learner persona # Sarah receives her phD in Economics from Harvard 20 years ago. # She now conducts education policy research at a leading think tank. # She has been using STATA for data analysis her entire career and she considers herself a STATA...
result_model result_model_ralone <- readRDS(file.choose()) model_name <- "hybrid_original" tplot1 <- ggplot(aes(x = diff), data = temp) + geom_density(fill = "gray")+ #geom_histogram(binwidth = 1, bins = 83)+ labs(y = "density", x = "difference", caption = paste0("model: ", model_name, "\n", ...
/R/check/check_twomethods_inteli_reward.R
permissive
jmjablons/dither-over-model
R
false
false
3,934
r
result_model result_model_ralone <- readRDS(file.choose()) model_name <- "hybrid_original" tplot1 <- ggplot(aes(x = diff), data = temp) + geom_density(fill = "gray")+ #geom_histogram(binwidth = 1, bins = 83)+ labs(y = "density", x = "difference", caption = paste0("model: ", model_name, "\n", ...
#' @title a dataset of class list #' #' @description A example dataset of the output of \code{gene.gene.interaction} #' #' @docType data #' @keywords datasets #' @name temp.ggiud #' @usage temp.ggiud #' @format A list with 7 data frame. The variables #' are as follows: #' \describe{ #' \item{SnpMatrix}{A snpmatrix wi...
/R/ggiud.example.R
no_license
liuliangjie19/GRACI
R
false
false
790
r
#' @title a dataset of class list #' #' @description A example dataset of the output of \code{gene.gene.interaction} #' #' @docType data #' @keywords datasets #' @name temp.ggiud #' @usage temp.ggiud #' @format A list with 7 data frame. The variables #' are as follows: #' \describe{ #' \item{SnpMatrix}{A snpmatrix wi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/eval_boundary_summary.R \name{eval_boundary_summary} \alias{eval_boundary_summary} \alias{eval_boundary_summary.default} \alias{eval_boundary_summary.ConservationProblem} \title{Evaluate solution boundary length} \usage{ eval_boundary_summary...
/man/eval_boundary_summary.Rd
no_license
bbest/prioritizr
R
false
true
14,169
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/eval_boundary_summary.R \name{eval_boundary_summary} \alias{eval_boundary_summary} \alias{eval_boundary_summary.default} \alias{eval_boundary_summary.ConservationProblem} \title{Evaluate solution boundary length} \usage{ eval_boundary_summary...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.rfs.R \name{plot.rfs} \alias{plot.rfs} \title{FUNCTION_TITLE} \usage{ plot.rfs(ind.gp = indicator_group, ind = indicator, rd = run_date, output.dir = si.fig.dir, shapefile_version = "current", title = "Comparison to GBD 2016 in\\n") ...
/mbg/mbg_core_code/mbg_central/LBDCore/man/plot.rfs.Rd
no_license
The-Oxford-GBD-group/typhi_paratyphi_modelling_code
R
false
true
872
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.rfs.R \name{plot.rfs} \alias{plot.rfs} \title{FUNCTION_TITLE} \usage{ plot.rfs(ind.gp = indicator_group, ind = indicator, rd = run_date, output.dir = si.fig.dir, shapefile_version = "current", title = "Comparison to GBD 2016 in\\n") ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/glmnet.R, R/relax.glmnet.R \name{glmnet} \alias{glmnet} \alias{relax.glmnet} \title{fit a GLM with lasso or elasticnet regularization} \usage{ glmnet( x, y, family = c("gaussian", "binomial", "poisson", "multinomial", "cox", "mgaussian"...
/man/glmnet.Rd
no_license
cran/glmnet
R
false
true
20,860
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/glmnet.R, R/relax.glmnet.R \name{glmnet} \alias{glmnet} \alias{relax.glmnet} \title{fit a GLM with lasso or elasticnet regularization} \usage{ glmnet( x, y, family = c("gaussian", "binomial", "poisson", "multinomial", "cox", "mgaussian"...
context("Select") test_that("select does not lose grouping (#147)", { df <- tibble(a = rep(1:4, 2), b = rep(1:4, each = 2), x = runif(8)) grouped <- df %>% group_by(a) %>% select(a, b, x) expect_groups(grouped, "a") }) test_that("grouping variables preserved with a message (#1511)", { df <- data_frame(g = 1:...
/tests/testthat/test-select.r
permissive
MhAmine/dplyr
R
false
false
4,935
r
context("Select") test_that("select does not lose grouping (#147)", { df <- tibble(a = rep(1:4, 2), b = rep(1:4, each = 2), x = runif(8)) grouped <- df %>% group_by(a) %>% select(a, b, x) expect_groups(grouped, "a") }) test_that("grouping variables preserved with a message (#1511)", { df <- data_frame(g = 1:...
library(shiny) library(ggplot2) library(dplyr) library(googleVis) library(reshape2) library(RCurl) library(stringr) options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"))) ghub <- "https://raw.githubusercontent.com/cherylb/markitzero/master/" fileurl <- paste(ghub,"VA.csv", se...
/shiny3/server.R
no_license
cherylb/markitzero
R
false
false
4,859
r
library(shiny) library(ggplot2) library(dplyr) library(googleVis) library(reshape2) library(RCurl) library(stringr) options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"))) ghub <- "https://raw.githubusercontent.com/cherylb/markitzero/master/" fileurl <- paste(ghub,"VA.csv", se...
pollutantmean <- function (directory, pollutant, id=1:332) { files <- list.files(directory, full.names=TRUE) n <- length(id) df<- data.frame() for (i in id[1]:id[n]) { df <- rbind(df,read.csv(files[i])) } df_subset <- df[, pollutant] m <- mean(df_subset,na.rm =TRUE) m }
/pollutantmean.R
no_license
code247/Coursera-RProgramming
R
false
false
302
r
pollutantmean <- function (directory, pollutant, id=1:332) { files <- list.files(directory, full.names=TRUE) n <- length(id) df<- data.frame() for (i in id[1]:id[n]) { df <- rbind(df,read.csv(files[i])) } df_subset <- df[, pollutant] m <- mean(df_subset,na.rm =TRUE) m }
################################################################################ ## Section 3: Spatio-temporal point pattern of infective events ################################################################################ library("surveillance") # you should also have installed the suggested packages ## 3.2. Data...
/downloads/v77i11.R
permissive
rsbivand/upna18
R
false
false
16,535
r
################################################################################ ## Section 3: Spatio-temporal point pattern of infective events ################################################################################ library("surveillance") # you should also have installed the suggested packages ## 3.2. Data...
## Plot 3 ## # Set the active working directory # Load and open the household_power_consumption.txt file setwd("/Users/jessefish/Desktop/Coursera") file<-file("household_power_consumption.txt") open(file) # Read relevant data from file, then close data <- read.table(file, skip=66637, sep=";", nrow=69518-66638) close...
/plot3.R
no_license
essejhsif/ExData_Plotting1
R
false
false
1,498
r
## Plot 3 ## # Set the active working directory # Load and open the household_power_consumption.txt file setwd("/Users/jessefish/Desktop/Coursera") file<-file("household_power_consumption.txt") open(file) # Read relevant data from file, then close data <- read.table(file, skip=66637, sep=";", nrow=69518-66638) close...
simDegroot = function(A, rounds, TRUTH=0, return.distribution=F) { weighted_deg_cent = apply(A,2,sum) %>% DescTools::Gini output = data.frame() new_guess = (A %^% rounds) %*% belief for(i in 0:GAME_LENGTH) { output_row = data.frame( N=vcount(g), deg.cent=g$deg.cent, truth=TRUTH, mea...
/DeGroot_Function_Adjacency.R
no_license
vhrtanek/degroot-simulation
R
false
false
884
r
simDegroot = function(A, rounds, TRUTH=0, return.distribution=F) { weighted_deg_cent = apply(A,2,sum) %>% DescTools::Gini output = data.frame() new_guess = (A %^% rounds) %*% belief for(i in 0:GAME_LENGTH) { output_row = data.frame( N=vcount(g), deg.cent=g$deg.cent, truth=TRUTH, mea...
% Auto-generated: do not edit by hand \name{htmlAudio} \alias{htmlAudio} \title{Audio component} \description{ Audio is a wrapper for the <audio> HTML5 element. For detailed attribute info see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio } \usage{ htmlAudio(children=NULL, id=NULL, n_clicks=NULL,...
/man/htmlAudio.Rd
permissive
bonomali/dash-html-components
R
false
false
4,218
rd
% Auto-generated: do not edit by hand \name{htmlAudio} \alias{htmlAudio} \title{Audio component} \description{ Audio is a wrapper for the <audio> HTML5 element. For detailed attribute info see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio } \usage{ htmlAudio(children=NULL, id=NULL, n_clicks=NULL,...
install.packages(c("tidyverse", # tidyverse comprend notamment dplyr "crayon", # affichages console en couleur "ade4", # tableau dynamique croisé "polylabelr", # algorithme de calcul des poles d'inacessibilité ...
/0_verif_packages.R
no_license
Psqrt/stage_crem
R
false
false
1,172
r
install.packages(c("tidyverse", # tidyverse comprend notamment dplyr "crayon", # affichages console en couleur "ade4", # tableau dynamique croisé "polylabelr", # algorithme de calcul des poles d'inacessibilité ...