content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
# Generated programmatically at 2013-07-02 13:25:38 cuMemGetInfo <- function( ) { ans = .Call('R_auto_cuMemGetInfo') if(is(ans, 'CUresult') && ans != 0) raiseError(ans, 'R_auto_cuMemGetInfo') ans } cuMemAlloc <- function( bytesize ) { ans = .Call('R_auto_cuMemAlloc', as(bytesize, 'size_t')...
/R/autoMemory.R
no_license
xfbingshan/RCUDA
R
false
false
24,332
r
# Generated programmatically at 2013-07-02 13:25:38 cuMemGetInfo <- function( ) { ans = .Call('R_auto_cuMemGetInfo') if(is(ans, 'CUresult') && ans != 0) raiseError(ans, 'R_auto_cuMemGetInfo') ans } cuMemAlloc <- function( bytesize ) { ans = .Call('R_auto_cuMemAlloc', as(bytesize, 'size_t')...
\name{ggobi_version} \alias{ggobi_version} \title{Get version} \author{Hadley Wickham <h.wickham@gmail.com>} \description{ GGobi version information } \usage{ggobi_version()} \value{ \item{date}{the release date of the ggobi library} \item{version}{a vector of 3 integers containing the major, minor and patch-leve...
/man/ggobi-version-ao.rd
no_license
cran/rggobi
R
false
false
628
rd
\name{ggobi_version} \alias{ggobi_version} \title{Get version} \author{Hadley Wickham <h.wickham@gmail.com>} \description{ GGobi version information } \usage{ggobi_version()} \value{ \item{date}{the release date of the ggobi library} \item{version}{a vector of 3 integers containing the major, minor and patch-leve...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FourScores47.R \name{typing} \alias{typing} \title{Return a key} \usage{ typing(key) } \arguments{ \item{key}{a keyboard input.} } \value{ the key pressed. } \description{ help-function which returns, the key on the keyboard wh...
/man/typing.Rd
no_license
cran/FourScores
R
false
true
343
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FourScores47.R \name{typing} \alias{typing} \title{Return a key} \usage{ typing(key) } \arguments{ \item{key}{a keyboard input.} } \value{ the key pressed. } \description{ help-function which returns, the key on the keyboard wh...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CandleBodyBottom.R \name{CandleBodyBottom} \alias{CandleBodyBottom} \title{Determine candle body bottom using a OHLC price series} \usage{ CandleBodyBottom(x) } \arguments{ \item{x}{OHLC prices.} } \value{ bottom of candle body } \description...
/man/CandleBodyBottom.Rd
no_license
Roshan2540/CandleStickPattern
R
false
true
379
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CandleBodyBottom.R \name{CandleBodyBottom} \alias{CandleBodyBottom} \title{Determine candle body bottom using a OHLC price series} \usage{ CandleBodyBottom(x) } \arguments{ \item{x}{OHLC prices.} } \value{ bottom of candle body } \description...
best<- function(state,disease){ x<- read.csv('rprog-data-ProgAssignment3-data/outcome-of-care-measures.csv',colClasses = "character") if (disease=='Heart attack'){ colnum<- 11 } if (disease=='Heart failure'){ colnum<- 17 } if (disease=='pneumonia'){ colnum<- 23 } stateDate<- split(x,x[7]) ...
/assignment 3 #1.R
no_license
woodyzc/R-programming
R
false
false
545
r
best<- function(state,disease){ x<- read.csv('rprog-data-ProgAssignment3-data/outcome-of-care-measures.csv',colClasses = "character") if (disease=='Heart attack'){ colnum<- 11 } if (disease=='Heart failure'){ colnum<- 17 } if (disease=='pneumonia'){ colnum<- 23 } stateDate<- split(x,x[7]) ...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/plotCumfreq.R \name{plotCumfreq} \alias{panel.cumfreq} \alias{plotCumfreq} \alias{plotCumfreq.default} \alias{plotCumfreq.formula} \alias{prepanel.cumfreq} \title{Cumulative frequency plots} \usage{ plotCumfreq(x, data, ...) \method{...
/man/plotCumfreq.Rd
no_license
mpetruc/mosaic
R
false
false
1,069
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/plotCumfreq.R \name{plotCumfreq} \alias{panel.cumfreq} \alias{plotCumfreq} \alias{plotCumfreq.default} \alias{plotCumfreq.formula} \alias{prepanel.cumfreq} \title{Cumulative frequency plots} \usage{ plotCumfreq(x, data, ...) \method{...
# This document is used to fit the IRT longitudinal model proposed # in Vandemeulebroecke(2017). # The stan model used in this script is a modification of the stan # model available in the original paper. Specifically, we included # some indexes variables, which optimize the model to not estimate # the same theta par...
/main3.R
no_license
secastroal/DIRT
R
false
false
11,074
r
# This document is used to fit the IRT longitudinal model proposed # in Vandemeulebroecke(2017). # The stan model used in this script is a modification of the stan # model available in the original paper. Specifically, we included # some indexes variables, which optimize the model to not estimate # the same theta par...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getters_and_setters.R \name{meta<-} \alias{meta<-} \title{Set metadata} \usage{ meta(x, label, sample) <- value } \arguments{ \item{x}{spectra object (lhs)} \item{label}{metadata column label} \item{sample}{sample name} \item{value}{rhs. T...
/man/meta-set.Rd
no_license
annakat/spectrolab
R
false
true
593
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getters_and_setters.R \name{meta<-} \alias{meta<-} \title{Set metadata} \usage{ meta(x, label, sample) <- value } \arguments{ \item{x}{spectra object (lhs)} \item{label}{metadata column label} \item{sample}{sample name} \item{value}{rhs. T...
### Em algorithm for the estimation in two-parameter Lindley distribution ## f(x)=(1-pi)*gamma(1, beta)+pi*gamma(2,beta) #### the mixture of two gamma distributions # Select the values of parameters pi and beta # set alpha=1/(pi*beta)-1/beta, theta=1/beta library(LindleyR) pi<-c(0.1,0.3,0.5,0.7,0.9) beta<-c...
/Rcode/EMAlgorithmB.R
no_license
XqqZhang/LindleyR
R
false
false
6,221
r
### Em algorithm for the estimation in two-parameter Lindley distribution ## f(x)=(1-pi)*gamma(1, beta)+pi*gamma(2,beta) #### the mixture of two gamma distributions # Select the values of parameters pi and beta # set alpha=1/(pi*beta)-1/beta, theta=1/beta library(LindleyR) pi<-c(0.1,0.3,0.5,0.7,0.9) beta<-c...
library(shiny) library(dplyr) dados <- readr::read_rds("../dados/pkmn.rds") ui <- fluidPage( titlePanel("Shiny com sidebarLayout"), sidebarLayout( sidebarPanel = sidebarPanel( selectInput( "pokemon", label = "Selecione um Pokemon", choices = unique(dados$pokemon) ) ), ...
/pratica/13-sidebarLayout.R
no_license
gabrielDjusto/202109-dashboards
R
false
false
1,115
r
library(shiny) library(dplyr) dados <- readr::read_rds("../dados/pkmn.rds") ui <- fluidPage( titlePanel("Shiny com sidebarLayout"), sidebarLayout( sidebarPanel = sidebarPanel( selectInput( "pokemon", label = "Selecione um Pokemon", choices = unique(dados$pokemon) ) ), ...
# For each twin and school, find how many standardized points # are within 100 meters library(readr) library(dplyr) library(geosphere) std_locs <- read_rds("data/processed/std_locations_filled.rds") schools <- read_rds("data/processed/all_school_address.rds") # Use only non-missing points std_locs <- na.omit(std_loc...
/src/location/which_school.R
permissive
dbrazel/cotwins-analyses
R
false
false
2,481
r
# For each twin and school, find how many standardized points # are within 100 meters library(readr) library(dplyr) library(geosphere) std_locs <- read_rds("data/processed/std_locations_filled.rds") schools <- read_rds("data/processed/all_school_address.rds") # Use only non-missing points std_locs <- na.omit(std_loc...
testlist <- list(doy = -1.72131968218895e+83, latitude = 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), temp = c(8.5728629954997e-312, 1.56898424065867e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, 2.6...
/meteor/inst/testfiles/ET0_ThornthwaiteWilmott/AFL_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1615828046-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
734
r
testlist <- list(doy = -1.72131968218895e+83, latitude = 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), temp = c(8.5728629954997e-312, 1.56898424065867e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, 2.6...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mopt-package.r \docType{package} \name{mopt} \alias{mopt} \alias{mopt-package} \title{Parallel optimizer for R} \description{ implements MCMC in parallel on OpenMP or MPI } \details{ The main goal of this package is to provide a library for s...
/man/mopt.Rd
no_license
lionup/mopt
R
false
true
1,454
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mopt-package.r \docType{package} \name{mopt} \alias{mopt} \alias{mopt-package} \title{Parallel optimizer for R} \description{ implements MCMC in parallel on OpenMP or MPI } \details{ The main goal of this package is to provide a library for s...
source("magents_experiments.R") generateOverallGraphs("gng-grid-random", "GNG+Grid+Random agents with communication") ggsave(file="gng-grid-random.eps")
/R/gng-grid-random.R
no_license
VijayEluri/memoryagents
R
false
false
159
r
source("magents_experiments.R") generateOverallGraphs("gng-grid-random", "GNG+Grid+Random agents with communication") ggsave(file="gng-grid-random.eps")
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{set_dim} \alias{set_dim} \title{Set dimensions and resolution of a plot in an R kernel-based Jupyter notebook.} \usage{ set_dim(width, height, res = 150) } \arguments{ \item{width}{Width in inches.} \item{height}{Height in inch...
/man/set_dim.Rd
permissive
bodkan/bdkn
R
false
true
458
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{set_dim} \alias{set_dim} \title{Set dimensions and resolution of a plot in an R kernel-based Jupyter notebook.} \usage{ set_dim(width, height, res = 150) } \arguments{ \item{width}{Width in inches.} \item{height}{Height in inch...
library(qat) ### Name: qat_save_boot_distribution_2d ### Title: Produce a savelist from a resultlist for a Boot Distribution ### Test ### Aliases: qat_save_boot_distribution_2d ### Keywords: utilities ### ** Examples vec <- array(rnorm(1000), c(10, 100)) result <- list(result=qat_analyse_boot_distribution_2d(ve...
/data/genthat_extracted_code/qat/examples/qat_save_boot_distribution_2d.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
383
r
library(qat) ### Name: qat_save_boot_distribution_2d ### Title: Produce a savelist from a resultlist for a Boot Distribution ### Test ### Aliases: qat_save_boot_distribution_2d ### Keywords: utilities ### ** Examples vec <- array(rnorm(1000), c(10, 100)) result <- list(result=qat_analyse_boot_distribution_2d(ve...
# Pacotes # library(lubridate) # library(plyr) # Tratamento dos dados ---------------------------------------------------- ## Nesta seção é feita a importação do arquivo que possui a projeção da população ## brasileira entre os anos de 2010 e 2060 df_projecoes = readxl::read_excel("data-raw/popIDADES.xls", skip = 19...
/R/dadosPopulacionais.R
no_license
nupec/Trabalho-Final
R
false
false
7,890
r
# Pacotes # library(lubridate) # library(plyr) # Tratamento dos dados ---------------------------------------------------- ## Nesta seção é feita a importação do arquivo que possui a projeção da população ## brasileira entre os anos de 2010 e 2060 df_projecoes = readxl::read_excel("data-raw/popIDADES.xls", skip = 19...
source("cTree.R") library(rpart) library(ggplot2) #findThreshold <- cmpfun(findThreshold) set.seed(123) SPAM <- read.csv("Downloads/Spam/spambase.data") # Split the dataset into training and test smpSize <- floor(0.75 * nrow(SPAM)) index <- sample(seq(1, nrow(SPAM)), smpSize, replace = FALSE, prob = NULL) trainDa...
/PS5/cTree_spam.R
no_license
ainalopez/Advanced-Computational-Methods
R
false
false
2,064
r
source("cTree.R") library(rpart) library(ggplot2) #findThreshold <- cmpfun(findThreshold) set.seed(123) SPAM <- read.csv("Downloads/Spam/spambase.data") # Split the dataset into training and test smpSize <- floor(0.75 * nrow(SPAM)) index <- sample(seq(1, nrow(SPAM)), smpSize, replace = FALSE, prob = NULL) trainDa...
graphics.off() rm(list=ls(all=TRUE)) fileNameRoot="SimpleLinearRegressionRepeatedJags" source("openGraphSaveGraph.R") source("plotPost.R") require(rjags) # Kruschke, J. K. (2011). Doing Bayesian Data Analysis: # A Tutorial with R and BUGS. Academic Press / Elsevier. #--------------------...
/code-data/SimpleLinearRegressionRepeatedJags.R
no_license
durtal/dba-ed1
R
false
false
8,219
r
graphics.off() rm(list=ls(all=TRUE)) fileNameRoot="SimpleLinearRegressionRepeatedJags" source("openGraphSaveGraph.R") source("plotPost.R") require(rjags) # Kruschke, J. K. (2011). Doing Bayesian Data Analysis: # A Tutorial with R and BUGS. Academic Press / Elsevier. #--------------------...
train %>% select_if(is.numeric) -> train_nuemric cormat <- round(cor(train_nuemric), 4) melted_cormat <- melt(cormat, na.rm = TRUE) ggplot(data = melted_cormat, aes(x = Var1, y = Var2, fill = value)) + geom_tile(color = "white") + scale_fill_gradient2(low = "blue", high = "red", mid = "white", ...
/HW6/Solutions/1.R
no_license
Mahbodmajid/DataAnalysis
R
false
false
1,203
r
train %>% select_if(is.numeric) -> train_nuemric cormat <- round(cor(train_nuemric), 4) melted_cormat <- melt(cormat, na.rm = TRUE) ggplot(data = melted_cormat, aes(x = Var1, y = Var2, fill = value)) + geom_tile(color = "white") + scale_fill_gradient2(low = "blue", high = "red", mid = "white", ...
library(dplyr) library(readr) celeb_df <- read_csv('resources/twitter_details.csv', col_types = 'cccic') # Filter out 'celebrities' celeb_df <- celeb_df %>% filter(followers >= 5 * 10 ^ 5) #' Sample a random celebrity from the scraped data and return their details #' #' @param visible Whether ...
/global.R
permissive
warwickdatasciencesociety/higher-or-lower
R
false
false
3,640
r
library(dplyr) library(readr) celeb_df <- read_csv('resources/twitter_details.csv', col_types = 'cccic') # Filter out 'celebrities' celeb_df <- celeb_df %>% filter(followers >= 5 * 10 ^ 5) #' Sample a random celebrity from the scraped data and return their details #' #' @param visible Whether ...
# HW 3 - Due Monday Oct 2, 2017. Upload R file to Moodle with name: HW3_490IDS_YOURCLASSID.R # Do Not remove any of the comments. These are marked by # # The .R file will contain your code and answers to questions. #ClassID: 52 # Main topic: Using the "apply" family of functions #Q1 (5 pts) # Given a function below...
/IS 490 Intro to Data Science/HW3_R_functions_MatrixManipulation/HW3_490ID_52.R
no_license
TeemosCode/UIUC
R
false
false
14,312
r
# HW 3 - Due Monday Oct 2, 2017. Upload R file to Moodle with name: HW3_490IDS_YOURCLASSID.R # Do Not remove any of the comments. These are marked by # # The .R file will contain your code and answers to questions. #ClassID: 52 # Main topic: Using the "apply" family of functions #Q1 (5 pts) # Given a function below...
source("eudicottree.R") # tree file library("expm") # exponential of the matrix library("nloptr") source("Pruning2.R") # pruning bichrom.dataset<-read.table( "eudicotvals.txt",header=FALSE,sep=",",stringsAsFactors=FALSE) #read dataset last.state=50 # how big is our state p.0<-rep(1,2*(last.state+1))/(2*(last.state+1))...
/Bivariate profile rhoqH/plikerhoqh3.R
no_license
roszenil/Bichromdryad
R
false
false
3,935
r
source("eudicottree.R") # tree file library("expm") # exponential of the matrix library("nloptr") source("Pruning2.R") # pruning bichrom.dataset<-read.table( "eudicotvals.txt",header=FALSE,sep=",",stringsAsFactors=FALSE) #read dataset last.state=50 # how big is our state p.0<-rep(1,2*(last.state+1))/(2*(last.state+1))...
IniListDims <- function(dims, lenlist) { u <- list() for (jdim in 1:length(dims)) { u[[jdim]] <- 1:dims[jdim] } for (jdim in (length(dims) + 1):lenlist) { u[[jdim]] <- 1 } # # Outputs # ~~~~~~~~~ # out <- u }
/s2dverification/R/IniListDims.R
no_license
ingted/R-Examples
R
false
false
238
r
IniListDims <- function(dims, lenlist) { u <- list() for (jdim in 1:length(dims)) { u[[jdim]] <- 1:dims[jdim] } for (jdim in (length(dims) + 1):lenlist) { u[[jdim]] <- 1 } # # Outputs # ~~~~~~~~~ # out <- u }
# src/explore_student_perf.R # Sarah Watts, Oct 20 2018 # # This script explores the data in "data/clean-student-math-perf.csv" data # This script takes in two arguments # 1. The argument for the path & filenmae to the clean dataset (i.e. "data/clean-student-math-perf.csv") # 2. The argument for the path & filename to ...
/src/explore_student_perf.R
no_license
ellognea/DSCI_522-ellognea-smwatts-student-performance
R
false
false
2,793
r
# src/explore_student_perf.R # Sarah Watts, Oct 20 2018 # # This script explores the data in "data/clean-student-math-perf.csv" data # This script takes in two arguments # 1. The argument for the path & filenmae to the clean dataset (i.e. "data/clean-student-math-perf.csv") # 2. The argument for the path & filename to ...
# Install and load packages package_names <- c("survey","dplyr","foreign","devtools") lapply(package_names, function(x) if(!x %in% installed.packages()) install.packages(x)) lapply(package_names, require, character.only=T) install_github("e-mitchell/meps_r_pkg/MEPS") library(MEPS) options(survey.lonely.ps...
/mepstrends/hc_cond/json/code/r/meanEXP__Condition__sop__.r
permissive
RandomCriticalAnalysis/MEPS-summary-tables
R
false
false
2,913
r
# Install and load packages package_names <- c("survey","dplyr","foreign","devtools") lapply(package_names, function(x) if(!x %in% installed.packages()) install.packages(x)) lapply(package_names, require, character.only=T) install_github("e-mitchell/meps_r_pkg/MEPS") library(MEPS) options(survey.lonely.ps...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datadoc.R \docType{data} \name{StedsnavnTekst} \alias{StedsnavnTekst} \title{StedsnavnTekst} \format{ \if{html}{\out{<div class="sourceCode">}}\preformatted{Simple feature collection with 2047 features and 18 fields Geometry type: LINESTRING ...
/man/StedsnavnTekst.Rd
permissive
hmalmedal/N2000
R
false
true
2,254
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datadoc.R \docType{data} \name{StedsnavnTekst} \alias{StedsnavnTekst} \title{StedsnavnTekst} \format{ \if{html}{\out{<div class="sourceCode">}}\preformatted{Simple feature collection with 2047 features and 18 fields Geometry type: LINESTRING ...
\name{ChestSizes} \alias{ChestSizes} \alias{ChestStigler} \docType{data} \title{ Chest measurements of Scottish Militiamen } \description{ Quetelet's data on chest measurements of 5738 Scottish Militiamen. Quetelet (1846) used this data as a demonstration of the normal distribution of physical characteristics ...
/man/ChestSizes.Rd
no_license
friendly/HistData
R
false
false
2,283
rd
\name{ChestSizes} \alias{ChestSizes} \alias{ChestStigler} \docType{data} \title{ Chest measurements of Scottish Militiamen } \description{ Quetelet's data on chest measurements of 5738 Scottish Militiamen. Quetelet (1846) used this data as a demonstration of the normal distribution of physical characteristics ...
rm(list = ls()) # Clear the environment #options(warn=-1) # Turn off warning message globally library(monocle3) # Load Monocle library(tidymodels) theme_set(theme_gray(base_size = 6)) # expression_matrix = readRDS("L2_expression.rda") # cell_metadata = readRDS("L2_cell_metadata.rda") # gene_annotation = readRDS("L2_g...
/examples/c_elegans_L2.R
permissive
13308204545/monocle3
R
false
false
15,941
r
rm(list = ls()) # Clear the environment #options(warn=-1) # Turn off warning message globally library(monocle3) # Load Monocle library(tidymodels) theme_set(theme_gray(base_size = 6)) # expression_matrix = readRDS("L2_expression.rda") # cell_metadata = readRDS("L2_cell_metadata.rda") # gene_annotation = readRDS("L2_g...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/appintegrationsservice_operations.R \name{appintegrationsservice_delete_event_integration} \alias{appintegrationsservice_delete_event_integration} \title{The Amazon AppIntegrations APIs are in preview release and are subject to change} \usage...
/paws/man/appintegrationsservice_delete_event_integration.Rd
permissive
sanchezvivi/paws
R
false
true
792
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/appintegrationsservice_operations.R \name{appintegrationsservice_delete_event_integration} \alias{appintegrationsservice_delete_event_integration} \title{The Amazon AppIntegrations APIs are in preview release and are subject to change} \usage...
library(shiny) library(ggplot2) #remotes::install_github("hadley/dplyr") library(dplyr, warn.conflicts = FALSE) # ------------------------------ 8.1)Data-masking ------------------------------ # 8.1.1)Indirection ---- min_carat <- 1 diamonds %>% filter(carat > min_carat) var <- "carat" min <- 1 diamon...
/Section8 - Shiny Web Application 2/8. Tidy evaluation.R
no_license
ssh352/R-training
R
false
false
4,309
r
library(shiny) library(ggplot2) #remotes::install_github("hadley/dplyr") library(dplyr, warn.conflicts = FALSE) # ------------------------------ 8.1)Data-masking ------------------------------ # 8.1.1)Indirection ---- min_carat <- 1 diamonds %>% filter(carat > min_carat) var <- "carat" min <- 1 diamon...
#' NMR grouping bins from Clemente et al. (2012). #' #' NMR grouping bins from Clemente et al. (2012), using DMSO-D6 as solvent. #' (1) aliphatic polymethylene and methyl groups (0.6–1.3 ppm, “aliphatic1”); #' (2) aliphatic methyl and methylene near O and N (1.3–2.9 ppm, “aliphatic2”); #' (3) O-alkyl, mainly from carb...
/R/data.R
permissive
kaizadp/nmrrr
R
false
false
10,331
r
#' NMR grouping bins from Clemente et al. (2012). #' #' NMR grouping bins from Clemente et al. (2012), using DMSO-D6 as solvent. #' (1) aliphatic polymethylene and methyl groups (0.6–1.3 ppm, “aliphatic1”); #' (2) aliphatic methyl and methylene near O and N (1.3–2.9 ppm, “aliphatic2”); #' (3) O-alkyl, mainly from carb...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stat_sina.R \docType{data} \name{stat_sina} \alias{stat_sina} \alias{StatSina} \title{ggplot2 stat that creates sina plots} \usage{ stat_sina(mapping = NULL, data = NULL, geom = "point", position = "identity", ..., bw = "nrd0", adjust = 1, ...
/man/stat_sina.Rd
permissive
pbt001/dviz.supp
R
false
true
3,926
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stat_sina.R \docType{data} \name{stat_sina} \alias{stat_sina} \alias{StatSina} \title{ggplot2 stat that creates sina plots} \usage{ stat_sina(mapping = NULL, data = NULL, geom = "point", position = "identity", ..., bw = "nrd0", adjust = 1, ...
# i wanna do the thing # i will create an array of sample numbers, and then use them for analysis rm(list=ls(all=TRUE)) # clear all environments uns = read.delim(file="Rosenwald2002_5013x203.txt", header = FALSE, sep = ",", nrows=1) un0=as.numeric(uns[1]) #first n0 samples are from one class un1=as.numeric(uns[2]) #...
/data/rosenwald/sampling.R
no_license
danik0411/optimum-rlda
R
false
false
2,304
r
# i wanna do the thing # i will create an array of sample numbers, and then use them for analysis rm(list=ls(all=TRUE)) # clear all environments uns = read.delim(file="Rosenwald2002_5013x203.txt", header = FALSE, sep = ",", nrows=1) un0=as.numeric(uns[1]) #first n0 samples are from one class un1=as.numeric(uns[2]) #...
###Download the data setwd("~/Desktop/Data_Science_Specialist/Getting and Cleaning Data") filesPath <- "Desktop/Data_Science_Specialist/UCI HAR Dataset" if(!file.exists("./data")){dir.create("./data")} fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(file...
/run_analysis.R
no_license
ejemp2006/Getting-and-Cleaning-Data-Course-Project
R
false
false
3,066
r
###Download the data setwd("~/Desktop/Data_Science_Specialist/Getting and Cleaning Data") filesPath <- "Desktop/Data_Science_Specialist/UCI HAR Dataset" if(!file.exists("./data")){dir.create("./data")} fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(file...
# Text Processing and Analysis # Developed by: Matthew J. Denny # email: mdenny@psu.edu with questions or comments # clear out environment rm(list = ls()) # preliminaries, make sure we have the right packages downloaded # install.packages("quanteda", dependencies = TRUE) # install.packages("stringr", dependencies = T...
/Scripts/Text_Processing_and_Analysis.R
no_license
kevinbsc/ISSR_Data_Management_Web_Scraping_2017
R
false
false
1,797
r
# Text Processing and Analysis # Developed by: Matthew J. Denny # email: mdenny@psu.edu with questions or comments # clear out environment rm(list = ls()) # preliminaries, make sure we have the right packages downloaded # install.packages("quanteda", dependencies = TRUE) # install.packages("stringr", dependencies = T...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.costexplorer_operations.R \name{get_reservation_purchase_recommendation} \alias{get_reservation_purchase_recommendation} \title{Gets recommendations for which reservations to purchase} \usage{ get_reservation_purchase_recommendation(Acco...
/service/paws.costexplorer/man/get_reservation_purchase_recommendation.Rd
permissive
CR-Mercado/paws
R
false
true
3,488
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.costexplorer_operations.R \name{get_reservation_purchase_recommendation} \alias{get_reservation_purchase_recommendation} \title{Gets recommendations for which reservations to purchase} \usage{ get_reservation_purchase_recommendation(Acco...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dsQueryBuild.R \name{dsQueryBuild} \alias{dsQueryBuild} \title{Generate a DSL query from a set of parameters It generates a valid query, written following the Dimensions Search Language (DSL), from a set of search parameters.} \usage{ dsQuery...
/man/dsQueryBuild.Rd
no_license
cran/dimensionsR
R
false
true
2,721
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dsQueryBuild.R \name{dsQueryBuild} \alias{dsQueryBuild} \title{Generate a DSL query from a set of parameters It generates a valid query, written following the Dimensions Search Language (DSL), from a set of search parameters.} \usage{ dsQuery...
source("DBDA2E-utilities.R") source("BernBeta.R") # (A) prior = c(1,1) # uniform prior preferA = 58 preferB = 100 - preferA post = BernBeta(prior, c(rep(1, preferA), rep(0, preferB)), showHDI = T) # 95% HDI is [0.483, 0.673] # (B) newPreferA = 57 newPreferB = 100 - newPreferA newPost = BernBeta(post, c(rep(1, newPref...
/Exercise-06-02.R
no_license
tddevlin/DBDA2Eprograms
R
false
false
387
r
source("DBDA2E-utilities.R") source("BernBeta.R") # (A) prior = c(1,1) # uniform prior preferA = 58 preferB = 100 - preferA post = BernBeta(prior, c(rep(1, preferA), rep(0, preferB)), showHDI = T) # 95% HDI is [0.483, 0.673] # (B) newPreferA = 57 newPreferB = 100 - newPreferA newPost = BernBeta(post, c(rep(1, newPref...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FindOptMatrix.R \name{FindOpt_SM} \alias{FindOpt_SM} \title{Function that calculates the optimal low-rank signal matrix given partial column space basis} \usage{ FindOpt_SM(X, M, r) } \arguments{ \item{X}{The noisy data matrix} \item{M}{The ...
/man/FindOpt_SM.Rd
no_license
justicesuker/DMMD_Package
R
false
true
855
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FindOptMatrix.R \name{FindOpt_SM} \alias{FindOpt_SM} \title{Function that calculates the optimal low-rank signal matrix given partial column space basis} \usage{ FindOpt_SM(X, M, r) } \arguments{ \item{X}{The noisy data matrix} \item{M}{The ...
#' Manually select python binary #' #' This function allows users to set a custom python binary, virtualenv or conda environment, from which the MIDAS algorithm is run. #' Users comfortable with reticulate can configure Python manually using `reticulate::use_`. #' Note: If users wish to set a custom binary/environment,...
/R/setup.R
no_license
CosmoLuminous/rMIDAS
R
false
false
7,788
r
#' Manually select python binary #' #' This function allows users to set a custom python binary, virtualenv or conda environment, from which the MIDAS algorithm is run. #' Users comfortable with reticulate can configure Python manually using `reticulate::use_`. #' Note: If users wish to set a custom binary/environment,...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/requery_cormat.R \name{rquery_cormat} \alias{rquery_cormat} \title{Correlation matrix} \usage{ rquery_cormat( x, type = c("lower", "upper", "full", "flatten"), graph = TRUE, graphType = c("correlogram", "heatmap"), col = NULL, ......
/man/rquery_cormat.Rd
permissive
emilelatour/lamisc
R
false
true
1,717
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/requery_cormat.R \name{rquery_cormat} \alias{rquery_cormat} \title{Correlation matrix} \usage{ rquery_cormat( x, type = c("lower", "upper", "full", "flatten"), graph = TRUE, graphType = c("correlogram", "heatmap"), col = NULL, ......
a <- dst_unif(0, 1) b <- dst_gpd(0, 1, 1) c <- dst_gpd(1 / 2, 1, -2) # right endpoint = 1 d <- dst_gpd(0, 1, -3) # right endpoint = 1/3 e <- dst_gpd(0, 1, 0) f <- dst_norm(0, 1) g <- dst_empirical(-10:10) test_that("graft EVI works", { expect_identical( evi(graft_right(a, b, sep_y = 0.5)), 1 ) expect_ide...
/tests_to_process/test-evi.R
permissive
vincenzocoia/distplyr
R
false
false
839
r
a <- dst_unif(0, 1) b <- dst_gpd(0, 1, 1) c <- dst_gpd(1 / 2, 1, -2) # right endpoint = 1 d <- dst_gpd(0, 1, -3) # right endpoint = 1/3 e <- dst_gpd(0, 1, 0) f <- dst_norm(0, 1) g <- dst_empirical(-10:10) test_that("graft EVI works", { expect_identical( evi(graft_right(a, b, sep_y = 0.5)), 1 ) expect_ide...
setwd("C:/Users/amykr/Box Sync/Amy Krystosik's Files/njenga/") datOG <- read.csv("C:/Users/amykr/Box Sync/Amy Krystosik's Files/njenga/BTI susectibility data 2-controls_max.csv", stringsAsFactors = FALSE) ## lots of blank columns dat <- datOG[, c(1:14)] dat[, c(1:3)] <- lapply(dat[, c(1:3)], function(x) as.Date(x, for...
/R01/njenga/njenga tables-resistance.R
no_license
amyrobyn/LaBeaud_Lab
R
false
false
9,275
r
setwd("C:/Users/amykr/Box Sync/Amy Krystosik's Files/njenga/") datOG <- read.csv("C:/Users/amykr/Box Sync/Amy Krystosik's Files/njenga/BTI susectibility data 2-controls_max.csv", stringsAsFactors = FALSE) ## lots of blank columns dat <- datOG[, c(1:14)] dat[, c(1:3)] <- lapply(dat[, c(1:3)], function(x) as.Date(x, for...
library(flowWorkspace) library(data.table) library(plyr) library(tools) #Set up some standard paths scriptPath <- "/labkey/git/LabKeyModules/LyoplateVisualization/reports/schemas/HelperScripts" path <- "/share/files/HIPC/Lyoplate/@files" # source some common functions source(file.path(scriptPath, "wrapper-functions.r...
/LyoplateVisualization/reports/schemas/HelperScripts/preprocess-DC.r
permissive
RGLab/LabKeyModules
R
false
false
6,309
r
library(flowWorkspace) library(data.table) library(plyr) library(tools) #Set up some standard paths scriptPath <- "/labkey/git/LabKeyModules/LyoplateVisualization/reports/schemas/HelperScripts" path <- "/share/files/HIPC/Lyoplate/@files" # source some common functions source(file.path(scriptPath, "wrapper-functions.r...
setwd("~/covid19_regional/North America/") library('tidyverse') ############## USA ##############À df = read_csv('https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-states.csv') df$date <- as.Date(as.character(df$date),format="%Y-%m-%d") df$nat<-rep("United States of America", nrow=df) head(df) df2 <...
/extraction_tool/North America/North_America.r
no_license
randomxsk8/covid19_regional
R
false
false
1,443
r
setwd("~/covid19_regional/North America/") library('tidyverse') ############## USA ##############À df = read_csv('https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-states.csv') df$date <- as.Date(as.character(df$date),format="%Y-%m-%d") df$nat<-rep("United States of America", nrow=df) head(df) df2 <...
#' Resampling-based estimates of alpha diversity #' #' This function resamples OTUs to a specified read count, then calculates a #' given alpha diversity metric based on the resample. Useful for determining #' variance of alpha diversity estimates. #' #' #' @param my_data The columns of your otu table, giving the nu...
/R/variance_resample.R
no_license
adriaaula/breakaway
R
false
false
3,685
r
#' Resampling-based estimates of alpha diversity #' #' This function resamples OTUs to a specified read count, then calculates a #' given alpha diversity metric based on the resample. Useful for determining #' variance of alpha diversity estimates. #' #' #' @param my_data The columns of your otu table, giving the nu...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mlwinfitIGLS.R \name{df.residual.mlwinfitIGLS} \alias{df.residual.mlwinfitIGLS} \title{Returns the residual degrees-of-freedom extracted from "mlwinfitIGLS" objects.} \usage{ \method{df.residual}{mlwinfitIGLS}(object, ...) } \arguments{ \item...
/man/df.residual.mlwinfitIGLS.Rd
no_license
cran/R2MLwiN
R
false
true
565
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mlwinfitIGLS.R \name{df.residual.mlwinfitIGLS} \alias{df.residual.mlwinfitIGLS} \title{Returns the residual degrees-of-freedom extracted from "mlwinfitIGLS" objects.} \usage{ \method{df.residual}{mlwinfitIGLS}(object, ...) } \arguments{ \item...
#This file illustrates some basics of R. #Please read the code and the comments, then experiment with the code to test #any points that remain unclear. When you finished experimenting, remove any #code that generates errors and click submit. #R does not have strong typing a = 3.2 a = "a string" #A newline or s...
/CSE6242/Lecture Slides/RSyntax.R
no_license
JeremyKang/personal-work
R
false
false
16,696
r
#This file illustrates some basics of R. #Please read the code and the comments, then experiment with the code to test #any points that remain unclear. When you finished experimenting, remove any #code that generates errors and click submit. #R does not have strong typing a = 3.2 a = "a string" #A newline or s...
# simple plotting framework for R using ggplot2 # Author : Udayanga Wickramasinghe [uswickra@umail.iu.edu] ############### START Scatter Plots ################ myplot_scatter = function(dataset, x_string, y_string, color_string, title="") { # assign(sup_var, dataset.) # Black error bars - notice the mapping of 'g...
/gplottempl.R
no_license
uswick/Rplots
R
false
false
50,055
r
# simple plotting framework for R using ggplot2 # Author : Udayanga Wickramasinghe [uswickra@umail.iu.edu] ############### START Scatter Plots ################ myplot_scatter = function(dataset, x_string, y_string, color_string, title="") { # assign(sup_var, dataset.) # Black error bars - notice the mapping of 'g...
gm <- function (x){ val = exp(mean(log(x))) return (round (val,2)) }
/survJamda/R/gm.R
no_license
ingted/R-Examples
R
false
false
86
r
gm <- function (x){ val = exp(mean(log(x))) return (round (val,2)) }
library(dplyr) library(magrittr) library(psych) library(stargazer) library(stringr) load("GlobalEntrepreneurM.RData") GEMdata <- GEM %>% select(-country, -year) # Lista de variáveis #stargazer(dic, out = "listavar.tex", float = F) # Estatísticas descritivas descritivas <- describe(GEMdata) %>% round(d...
/Empreend/empreend.R
no_license
Allisterh/replications-1
R
false
false
2,543
r
library(dplyr) library(magrittr) library(psych) library(stargazer) library(stringr) load("GlobalEntrepreneurM.RData") GEMdata <- GEM %>% select(-country, -year) # Lista de variáveis #stargazer(dic, out = "listavar.tex", float = F) # Estatísticas descritivas descritivas <- describe(GEMdata) %>% round(d...
#' @name msnset #' @title SRM proteomics data from human CSF #' @description Targeted SRM analysis of 33 proteins in CSF #' @docType data # ' @usage CpG.human.GRCh37 #' @format a \code{MSnSet} instance # ' @source UCSC Table Browser #' @author Vlad Petyuk, 2014-03-24 # ' @export NULL #' CPTAC Ovarian Cancer Proteomi...
/R/data.R
no_license
vladpetyuk/vp.misc
R
false
false
1,087
r
#' @name msnset #' @title SRM proteomics data from human CSF #' @description Targeted SRM analysis of 33 proteins in CSF #' @docType data # ' @usage CpG.human.GRCh37 #' @format a \code{MSnSet} instance # ' @source UCSC Table Browser #' @author Vlad Petyuk, 2014-03-24 # ' @export NULL #' CPTAC Ovarian Cancer Proteomi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/performance.R \name{collapseConfusionMatrix3x3To2x2} \alias{collapseConfusionMatrix3x3To2x2} \title{Collapses a 3x3 confusion matrix to a 2x2 confusion matrix.} \usage{ collapseConfusionMatrix3x3To2x2( confusion_matrix_3x3, guess_handling...
/man/collapseConfusionMatrix3x3To2x2.Rd
no_license
jeanimal/heuristica
R
false
true
969
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/performance.R \name{collapseConfusionMatrix3x3To2x2} \alias{collapseConfusionMatrix3x3To2x2} \title{Collapses a 3x3 confusion matrix to a 2x2 confusion matrix.} \usage{ collapseConfusionMatrix3x3To2x2( confusion_matrix_3x3, guess_handling...
\name{checkDataset} \alias{checkDataset} \title{Method "checkDataset"} \description{ Checks dataset for the minimum required info: 1. Column names should present 2. Genotype column should present 3. Sex column should present 4. Two data points for each Genotype/Sex combination ...
/PhenStat/PhenStatSource/man/checkDataset.Rd
permissive
mpi2/stats_working_group
R
false
false
2,509
rd
\name{checkDataset} \alias{checkDataset} \title{Method "checkDataset"} \description{ Checks dataset for the minimum required info: 1. Column names should present 2. Genotype column should present 3. Sex column should present 4. Two data points for each Genotype/Sex combination ...
## UTILITIES FOR FINDING SYLLABLES AND VOCAL BURSTS ## #' Find syllables #' #' Internal soundgen function. #' #' Called by \code{\link{segment}}. #' #' @param envelope downsampled amplitude envelope #' @param timestep time difference between two points in the envelope (ms) #' @param threshold all continuous segments a...
/R/utilities_segment.R
no_license
nemochina2008/soundgen
R
false
false
6,087
r
## UTILITIES FOR FINDING SYLLABLES AND VOCAL BURSTS ## #' Find syllables #' #' Internal soundgen function. #' #' Called by \code{\link{segment}}. #' #' @param envelope downsampled amplitude envelope #' @param timestep time difference between two points in the envelope (ms) #' @param threshold all continuous segments a...
# -------------------------------------------- # Venmo # Necessite les librairies plyr,httr,jsonlite,proto,stringr # -------------------------------------------- library("stringr") library("httr") library("jsonlite") library("plyr") library("proto") library("stringr") Venmo <- proto(expr={ className <- "Venmo" ...
/apiR/venmo.R
permissive
franblas/apiRbeautiful
R
false
false
924
r
# -------------------------------------------- # Venmo # Necessite les librairies plyr,httr,jsonlite,proto,stringr # -------------------------------------------- library("stringr") library("httr") library("jsonlite") library("plyr") library("proto") library("stringr") Venmo <- proto(expr={ className <- "Venmo" ...
#' convert result of a collection of `covr_tab.coverage` results to a single data.frame #' @param x a list of results of `covr_tab.coverage` #' @return a data.frame instane with columns `package`, `func`, and `pctcov` #' @export covtabs_to_df = function(x) { repts = lapply(x, "[[", 2) # ignore overall lens = sapply...
/R/covtabs_to_df.R
no_license
vjcitn/BiocBBSpack
R
false
false
636
r
#' convert result of a collection of `covr_tab.coverage` results to a single data.frame #' @param x a list of results of `covr_tab.coverage` #' @return a data.frame instane with columns `package`, `func`, and `pctcov` #' @export covtabs_to_df = function(x) { repts = lapply(x, "[[", 2) # ignore overall lens = sapply...
# Preprocessing ### LOAD LIBRARIES - install with: #install.packages(c("kohonen", "dummies", "ggplot2", "maptools", "sp", "reshape2", "rgeos")) library(class) library(MASS) library(Hmisc) library(kohonen) library(dummies) library(ggplot2) library(sp) library(maptools) library(reshape2) library(rgeos) # Colour palette...
/Data Mining Projects/Taxi Data/R scripts/step1_preprocessing.R
no_license
TrangNgyn/University-Assignments
R
false
false
894
r
# Preprocessing ### LOAD LIBRARIES - install with: #install.packages(c("kohonen", "dummies", "ggplot2", "maptools", "sp", "reshape2", "rgeos")) library(class) library(MASS) library(Hmisc) library(kohonen) library(dummies) library(ggplot2) library(sp) library(maptools) library(reshape2) library(rgeos) # Colour palette...
/Código Aula 2.R
no_license
MatheusMarinho12/Econometria-Avan-ada
R
false
false
1,601
r
######## Text Analysis: Quanteda, TM, and Ggplot2 ##########3 ############ Load Libraries ########## library(quanteda) library(quanteda.corpora) library(quanteda.dictionaries) library(readtext) library(spacyr) library(dplyr) library(tidytext) library(tm) library(ggplot2) library(SnowballC) library(tidyverse) library(t...
/Rscript for text analysis.R
permissive
tapanyemre/Turkish-Salafism-on-Twitter
R
false
false
4,336
r
######## Text Analysis: Quanteda, TM, and Ggplot2 ##########3 ############ Load Libraries ########## library(quanteda) library(quanteda.corpora) library(quanteda.dictionaries) library(readtext) library(spacyr) library(dplyr) library(tidytext) library(tm) library(ggplot2) library(SnowballC) library(tidyverse) library(t...
library(here) source(here("Automation/00_Functions_automation.R")) library(archive) #install.packages("archive") # assigning Drive credentials in the case the script is verified manually if (!"email" %in% ls()){ email <- "gatemonte@gmail.com" } # info country and N drive address ctr <- "Peru" dir_n <- "N:/COVerAG...
/Automation/00_hydra/Peru.R
permissive
jessicadonzowa/covid_age
R
false
false
9,705
r
library(here) source(here("Automation/00_Functions_automation.R")) library(archive) #install.packages("archive") # assigning Drive credentials in the case the script is verified manually if (!"email" %in% ls()){ email <- "gatemonte@gmail.com" } # info country and N drive address ctr <- "Peru" dir_n <- "N:/COVerAG...
library(lgarch) ### Name: gdiff ### Title: Difference a vector or a matrix, with special treatment of zoo ### objects ### Aliases: gdiff ### Keywords: Statistical Models Time Series Financial Econometrics ### ** Examples ##1st difference of a series: x <- rnorm(5) gdiff(x) ##1st difference with no padding: gdiff...
/data/genthat_extracted_code/lgarch/examples/gdiff.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
537
r
library(lgarch) ### Name: gdiff ### Title: Difference a vector or a matrix, with special treatment of zoo ### objects ### Aliases: gdiff ### Keywords: Statistical Models Time Series Financial Econometrics ### ** Examples ##1st difference of a series: x <- rnorm(5) gdiff(x) ##1st difference with no padding: gdiff...
## creates a matrix that can be cached along with its inverse ## creates a matrix in which its inverse can be cached when solved makeCacheMatrix <- function(x = matrix()) { i<-NULL set<- function(y) { x <<- y i <<- NULL } get <- function() x setInverse <- function(inverse) i <<- inverse getIn...
/cachematrix.R
no_license
loftiskg/ProgrammingAssignment2
R
false
false
782
r
## creates a matrix that can be cached along with its inverse ## creates a matrix in which its inverse can be cached when solved makeCacheMatrix <- function(x = matrix()) { i<-NULL set<- function(y) { x <<- y i <<- NULL } get <- function() x setInverse <- function(inverse) i <<- inverse getIn...
library(adephylo) ### Name: carni70 ### Title: Phylogeny and quantitative traits of carnivora ### Aliases: carni70 ### Keywords: datasets ### ** Examples ## Not run: ##D if(require(ape) && require(phylobase)){ ##D ##D data(carni70) ##D rownames(carni70$tab) <- gsub("_", ".", rownames(carni70$tab)) ##D tre <- rea...
/data/genthat_extracted_code/adephylo/examples/carni70.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
856
r
library(adephylo) ### Name: carni70 ### Title: Phylogeny and quantitative traits of carnivora ### Aliases: carni70 ### Keywords: datasets ### ** Examples ## Not run: ##D if(require(ape) && require(phylobase)){ ##D ##D data(carni70) ##D rownames(carni70$tab) <- gsub("_", ".", rownames(carni70$tab)) ##D tre <- rea...
# install and load packages libraries = c("dplyr", "MASS", "gridExtra", "ggplot2", "Matrix", "parallel", "caTools", "np", "RColorBrewer") lapply(libraries, function(x) if (!(x %in% installed.packages())) { install.packages(x) }) lapply(libraries, library, quietly = TRUE, character.only = TRUE) # set w...
/epk3VolaIntervalsVDAX/epk3VolaIntervalsVDAX.R
no_license
romanlykhnenko/pricing_kernels_and_implied_volatility
R
false
false
39,660
r
# install and load packages libraries = c("dplyr", "MASS", "gridExtra", "ggplot2", "Matrix", "parallel", "caTools", "np", "RColorBrewer") lapply(libraries, function(x) if (!(x %in% installed.packages())) { install.packages(x) }) lapply(libraries, library, quietly = TRUE, character.only = TRUE) # set w...
library(apricom) ### Name: compare ### Title: A Comparison of Regression Modelling Strategies ### Aliases: compare ### ** Examples ## Example 1: Comparison of heuristic formula-derived shrinkage against ## a raw least squares model. Data is simulated multivariable random ## normally distributed.The comparison set w...
/data/genthat_extracted_code/apricom/examples/compare.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,792
r
library(apricom) ### Name: compare ### Title: A Comparison of Regression Modelling Strategies ### Aliases: compare ### ** Examples ## Example 1: Comparison of heuristic formula-derived shrinkage against ## a raw least squares model. Data is simulated multivariable random ## normally distributed.The comparison set w...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DataFrame.R \name{dim} \alias{dim} \alias{dim,SparkDataFrame-method} \title{Returns the dimensions of SparkDataFrame} \usage{ \S4method{dim}{SparkDataFrame}(x) } \arguments{ \item{x}{a SparkDataFrame} } \description{ Returns the dimensions (n...
/man/dim.Rd
no_license
cran/SparkR
R
false
true
2,774
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DataFrame.R \name{dim} \alias{dim} \alias{dim,SparkDataFrame-method} \title{Returns the dimensions of SparkDataFrame} \usage{ \S4method{dim}{SparkDataFrame}(x) } \arguments{ \item{x}{a SparkDataFrame} } \description{ Returns the dimensions (n...
library(mixtools) library(dplyr) library(data.table) colMedian = function(x){ return(apply(x, 2, median)) } mclust6 = read.table('raw_mclust.6.pk.clean.txt', header=T) #unstable; 6804 mclust5 = read.table('raw_mclust.5.pk.clean.txt', header=T) #stable; 5125 ### Start intensity matching ### var=0.01 for (n in 1...
/02_22_2020_pipeline/intensity_matching_JL_final.R
no_license
guanjue/CTCF_Auxin_clustering
R
false
false
2,536
r
library(mixtools) library(dplyr) library(data.table) colMedian = function(x){ return(apply(x, 2, median)) } mclust6 = read.table('raw_mclust.6.pk.clean.txt', header=T) #unstable; 6804 mclust5 = read.table('raw_mclust.5.pk.clean.txt', header=T) #stable; 5125 ### Start intensity matching ### var=0.01 for (n in 1...
rm(list=ls()) dev.off(dev.list()["RStudioGD"]) library(ggplot2) library(quantreg) coefficient_of_performance <- 1 -> lambda number_of_worker <- 1 -> N thoughput <- 1 -> X coefficient_of_contention <- 0 -> sigma crosstalk <- 0 -> kappa # Perfect linearity perfect_linearit...
/throughput.R
permissive
Koisell/playing_with_USL_in_R
R
false
false
5,053
r
rm(list=ls()) dev.off(dev.list()["RStudioGD"]) library(ggplot2) library(quantreg) coefficient_of_performance <- 1 -> lambda number_of_worker <- 1 -> N thoughput <- 1 -> X coefficient_of_contention <- 0 -> sigma crosstalk <- 0 -> kappa # Perfect linearity perfect_linearit...
app_name <- config::get(file = "shiny_app/config.yml")$app_name rsconnect::deployApp( appDir = "shiny_app", account = "tychobra", appName = app_name )
/inst/examples/polished_example_01/deploy.R
permissive
axionbio/polished
R
false
false
158
r
app_name <- config::get(file = "shiny_app/config.yml")$app_name rsconnect::deployApp( appDir = "shiny_app", account = "tychobra", appName = app_name )
#! /usr/bin/Rscript ### matrixMaker.R by Clément Goubert ### ### Part of the High-Troughput Sequencing Transposon Display Analysis Suite ### ### Description: # This R function is to copy in paste into a R console (or to source into R). It allows to filter the raw coverage matrix produces by Retreive_from_blat.sh ###...
/matrixMaker.R
no_license
clemgoub/TD_albo
R
false
false
1,758
r
#! /usr/bin/Rscript ### matrixMaker.R by Clément Goubert ### ### Part of the High-Troughput Sequencing Transposon Display Analysis Suite ### ### Description: # This R function is to copy in paste into a R console (or to source into R). It allows to filter the raw coverage matrix produces by Retreive_from_blat.sh ###...
library(shinydashboard) library(shiny) library(leaflet) library(htmltools) library(tidyverse) library(httr) library(ggmap) library(jsonlite) library(tidyr) library(dplyr) library(kableExtra) library(ggplot2) library(MASS) library(plotly) library(ggmap) library(car) library(psych) library(tidytext) library(wordcloud) li...
/App.R
no_license
chenx32/MA615-Final-Project
R
false
false
9,410
r
library(shinydashboard) library(shiny) library(leaflet) library(htmltools) library(tidyverse) library(httr) library(ggmap) library(jsonlite) library(tidyr) library(dplyr) library(kableExtra) library(ggplot2) library(MASS) library(plotly) library(ggmap) library(car) library(psych) library(tidytext) library(wordcloud) li...
# df is your data.frame, a is the column name, [4] is the position, "bla" is the value. df$a[4] <- "bla"
/change-1-observation.R
permissive
wethepeopleonline/r-scripts
R
false
false
106
r
# df is your data.frame, a is the column name, [4] is the position, "bla" is the value. df$a[4] <- "bla"
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_map_state} \alias{fars_map_state} \title{For a given state and given year, it draws the location of accidents} \usage{ fars_map_state(state.num, year) } \arguments{ \item{state.num}{an integer representing state nu...
/man/fars_map_state.Rd
no_license
karimsyed/buildingRPackage
R
false
true
757
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_map_state} \alias{fars_map_state} \title{For a given state and given year, it draws the location of accidents} \usage{ fars_map_state(state.num, year) } \arguments{ \item{state.num}{an integer representing state nu...
NEI<- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") ##merge files NEISCC <- merge(NEI, SCC, by="SCC") require(ggplot2) coalMatch <- grepl("coal", NEISCC$Short.Name, ignore.case=TRUE) NEISCCsub <- NEISCC[coalMatch, ] TotalYear <- aggregate(Emissions ~ year, NEISCCsub, sum) png("plot4.p...
/plot4.R
no_license
Scotturbina/Exploratory-analysis-project-2
R
false
false
583
r
NEI<- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") ##merge files NEISCC <- merge(NEI, SCC, by="SCC") require(ggplot2) coalMatch <- grepl("coal", NEISCC$Short.Name, ignore.case=TRUE) NEISCCsub <- NEISCC[coalMatch, ] TotalYear <- aggregate(Emissions ~ year, NEISCCsub, sum) png("plot4.p...
#!/usr/bin/R # ------------------------------------------------ # Runner to calculate all the flat enrichments (after perm.) # To submit: # qsub -cwd -t 1-55 -P compbio_lab -l h_vmem=25G -l h_rt=3:00:00 -hold_jid flat_gtchunked -N flat_calcgtchunked -j y -b y -V -r y -o $DBDIR/out/ChromImpute "source activate mv_env; R...
/gwas_enrichment/gwas_plotting/calculate_all_flat_enrichments.R
no_license
cboix/EPIMAP_ANALYSIS
R
false
false
4,309
r
#!/usr/bin/R # ------------------------------------------------ # Runner to calculate all the flat enrichments (after perm.) # To submit: # qsub -cwd -t 1-55 -P compbio_lab -l h_vmem=25G -l h_rt=3:00:00 -hold_jid flat_gtchunked -N flat_calcgtchunked -j y -b y -V -r y -o $DBDIR/out/ChromImpute "source activate mv_env; R...
#' @title interactive annotations #' #' @description #' The geometry is based on \code{\link[ggplot2]{annotate}}. #' See the documentation for those functions for more details. #' #' @param ... arguments passed to base geometry. #' @examples #' # add interactive annotation ------- #' @example examples/annotate_interact...
/R/annotate_interactive.R
no_license
krishnapsrinivasan/ggiraph
R
false
false
467
r
#' @title interactive annotations #' #' @description #' The geometry is based on \code{\link[ggplot2]{annotate}}. #' See the documentation for those functions for more details. #' #' @param ... arguments passed to base geometry. #' @examples #' # add interactive annotation ------- #' @example examples/annotate_interact...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/soccerTransform.R \name{soccerTransform} \alias{soccerTransform} \title{Normalises x,y-coordinates to metres units for use with soccermatics functions} \usage{ soccerTransform(dat, xMin, xMax, yMin, yMax, lengthPitch = 105, widthPitch = 68,...
/man/soccerTransform.Rd
no_license
Bustami/soccermatics
R
false
true
2,327
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/soccerTransform.R \name{soccerTransform} \alias{soccerTransform} \title{Normalises x,y-coordinates to metres units for use with soccermatics functions} \usage{ soccerTransform(dat, xMin, xMax, yMin, yMax, lengthPitch = 105, widthPitch = 68,...
#' Tidying methods for MCMC (Stan, JAGS, etc.) fits #' #' @param pars (character) specification of which parameters to include #' @param estimate.method method for computing point estimate ("mean" or "median") #' @param conf.int (logical) include confidence interval? #' @param conf.level probability level for CI #' @pa...
/R/mcmc_tidiers.R
no_license
eipi10/broom
R
false
false
5,614
r
#' Tidying methods for MCMC (Stan, JAGS, etc.) fits #' #' @param pars (character) specification of which parameters to include #' @param estimate.method method for computing point estimate ("mean" or "median") #' @param conf.int (logical) include confidence interval? #' @param conf.level probability level for CI #' @pa...
#Read all data but save in the workspace part of based on a condition data <- subset(read.table(file="household_power_consumption.txt",header = TRUE,na.strings = "?",sep=';'),(Date=="2/2/2007"|Date=="1/2/2007")) #Format Date column from d/m/y format into Date class format to be mergable with Time column. data$x1 <- as....
/plot3.R
no_license
ahmedelgendycoursera/ExData_Plotting1
R
false
false
1,093
r
#Read all data but save in the workspace part of based on a condition data <- subset(read.table(file="household_power_consumption.txt",header = TRUE,na.strings = "?",sep=';'),(Date=="2/2/2007"|Date=="1/2/2007")) #Format Date column from d/m/y format into Date class format to be mergable with Time column. data$x1 <- as....
last <- plant:::last category_to_logical <- function(x, trueval) { x[x == ""] <- NA x == trueval } change_column_names <- function(dat, table) { i <- match(names(dat), table$var_in) j <- !is.na(i) & !is.na(table$var_out[i]) names(dat)[j] <- table$var_out[i[j]] dat[,j, drop=FALSE] } change_column_names_f...
/R/utils.R
no_license
kunstler/Plant_vpd
R
false
false
3,546
r
last <- plant:::last category_to_logical <- function(x, trueval) { x[x == ""] <- NA x == trueval } change_column_names <- function(dat, table) { i <- match(names(dat), table$var_in) j <- !is.na(i) & !is.na(table$var_out[i]) names(dat)[j] <- table$var_out[i[j]] dat[,j, drop=FALSE] } change_column_names_f...
library(shiny) library(shinydashboard) library(FactoMineR) library(lme4) library(matrixcalc) library(cluster) library(tidyr) library(dplyr) library(networkD3) library(DT) library(d3Network) library(RCurl) library(leaflet) library(highcharter) library(dendextend) library(circlize) library(ggfortify) library(d3heatmap) l...
/ui.R
no_license
vtassile/MEXICO
R
false
false
14,680
r
library(shiny) library(shinydashboard) library(FactoMineR) library(lme4) library(matrixcalc) library(cluster) library(tidyr) library(dplyr) library(networkD3) library(DT) library(d3Network) library(RCurl) library(leaflet) library(highcharter) library(dendextend) library(circlize) library(ggfortify) library(d3heatmap) l...
library(rgbif) ### Name: dataset_suggest ### Title: Suggest datasets in GBIF. ### Aliases: dataset_suggest ### ** Examples ## Not run: ##D # Suggest datasets of type "OCCURRENCE". ##D dataset_suggest(query="Amazon", type="OCCURRENCE") ##D ##D # Suggest datasets tagged with keyword "france". ##D dataset_suggest(ke...
/data/genthat_extracted_code/rgbif/examples/dataset_suggest.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,781
r
library(rgbif) ### Name: dataset_suggest ### Title: Suggest datasets in GBIF. ### Aliases: dataset_suggest ### ** Examples ## Not run: ##D # Suggest datasets of type "OCCURRENCE". ##D dataset_suggest(query="Amazon", type="OCCURRENCE") ##D ##D # Suggest datasets tagged with keyword "france". ##D dataset_suggest(ke...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/polarPlot.R \name{polarPlot} \alias{polarPlot} \title{Function for plotting bivariate polar plots with smoothing.} \usage{ polarPlot( mydata, pollutant = "nox", x = "ws", wd = "wd", type = "default", statistic = "mean", resoluti...
/man/polarPlot.Rd
no_license
keyonghu/openair
R
false
true
23,542
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/polarPlot.R \name{polarPlot} \alias{polarPlot} \title{Function for plotting bivariate polar plots with smoothing.} \usage{ polarPlot( mydata, pollutant = "nox", x = "ws", wd = "wd", type = "default", statistic = "mean", resoluti...
## The following functions provide an alternative to the matrix type. ## It provides a fast retrieval of the inverse of the matix using ## cache (if already computed once) ## makeCacheMatrix is an alternative to the matrix datatype. ## It is only useful to compute the inverse of the matrix makeCacheMatrix <- functio...
/RProgramming/RProgrammingAssignment2/cachematrix.R
no_license
Pierrorobis/datasciencecoursera
R
false
false
963
r
## The following functions provide an alternative to the matrix type. ## It provides a fast retrieval of the inverse of the matix using ## cache (if already computed once) ## makeCacheMatrix is an alternative to the matrix datatype. ## It is only useful to compute the inverse of the matrix makeCacheMatrix <- functio...
## load data load(file='mRNA-Fit-avg-sp-v1c-pre.Rdata')#,list=c("genes.kdeg","genes.normCount", # "input.emsa.ifnarikba", # "input.emsa.ifnar", "genes.timepoints" source(file = "mRNA-Fit-avg-sp-v1c-funs.R") #rowMax, runModel.v1, runO...
/fig.4_modelv1/model/model_v1-run.R
no_license
biomystery/duration_decode_manuscript
R
false
false
1,399
r
## load data load(file='mRNA-Fit-avg-sp-v1c-pre.Rdata')#,list=c("genes.kdeg","genes.normCount", # "input.emsa.ifnarikba", # "input.emsa.ifnar", "genes.timepoints" source(file = "mRNA-Fit-avg-sp-v1c-funs.R") #rowMax, runModel.v1, runO...
bike = read.csv("bikeshare_needcleansing.csv", sep = ",", header = TRUE) str(bike) #Data Cleansing process #Data Type Correction bike$humidity <- gsub( '*', '', bike$humidity) str(bike) bike$humidity <- as.numeric(bike$humidity) str(bike) subset(bike, is.na(bike$humidity)) sum(bike$humidity, na.rm=TRUE) bike$hum...
/R_DataProfile.R
no_license
Vishal250696/R_Snippets
R
false
false
1,248
r
bike = read.csv("bikeshare_needcleansing.csv", sep = ",", header = TRUE) str(bike) #Data Cleansing process #Data Type Correction bike$humidity <- gsub( '*', '', bike$humidity) str(bike) bike$humidity <- as.numeric(bike$humidity) str(bike) subset(bike, is.na(bike$humidity)) sum(bike$humidity, na.rm=TRUE) bike$hum...
# The following function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { inversedMatrix <- NULL set <- function(y) { x <<- y inversedMatrix <<- NULL } get <- function() x setInverse <- funct...
/cachematrix.R
no_license
flernout/ProgrammingAssignment2
R
false
false
1,317
r
# The following function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { inversedMatrix <- NULL set <- function(y) { x <<- y inversedMatrix <<- NULL } get <- function() x setInverse <- funct...
#team 08 params = list(series = c(1,2,3,4,5,6,7,8,9,10), cmoLookback = 25, cmoUperBound = 25,cmoLowerBound = 25, maFast = 4, maMedium = 6, maSlow = 12, volFast = 4, volSlow = 10, bbandsLookback = 30,bbandsSdParam = 1.5,bbandRiskCount = 7, cciLookback...
/FinalStrategy/strategies/team8.R
no_license
ucabqze/Automatic-Stock-Trading-System
R
false
false
8,872
r
#team 08 params = list(series = c(1,2,3,4,5,6,7,8,9,10), cmoLookback = 25, cmoUperBound = 25,cmoLowerBound = 25, maFast = 4, maMedium = 6, maSlow = 12, volFast = 4, volSlow = 10, bbandsLookback = 30,bbandsSdParam = 1.5,bbandRiskCount = 7, cciLookback...
# Generate a new marking load("~/input/init_conf_old.RData") yini[1:length(yini)] <- 0 yini$Ip_a1 = 3.198904e+01 yini$Ip_a2 = 1.748466e+02 yini$Ip_a3 = 6.415068e+00 yini$Is_a1_nv = 3.198904e+01 yini$Is_a2_nv = 1.748466e+02 yini$Is_a3_nv = 6.415068e+00 yini$S_a1 = yini$R_a1_nv_l4 = 866703*.5 yini$S_a2 = yini$R_a...
/Rfunction/gen_yini.R
no_license
qBioTurin/Pertussis
R
false
false
647
r
# Generate a new marking load("~/input/init_conf_old.RData") yini[1:length(yini)] <- 0 yini$Ip_a1 = 3.198904e+01 yini$Ip_a2 = 1.748466e+02 yini$Ip_a3 = 6.415068e+00 yini$Is_a1_nv = 3.198904e+01 yini$Is_a2_nv = 1.748466e+02 yini$Is_a3_nv = 6.415068e+00 yini$S_a1 = yini$R_a1_nv_l4 = 866703*.5 yini$S_a2 = yini$R_a...
library(tosca) ### Name: duplist ### Title: Creating List of Duplicates ### Aliases: duplist is.duplist print.duplist summary.duplist ### Keywords: manip ### ** Examples texts <- list(A="Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime", A="A fake duplicate", B="So...
/data/genthat_extracted_code/tosca/examples/duplist.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,040
r
library(tosca) ### Name: duplist ### Title: Creating List of Duplicates ### Aliases: duplist is.duplist print.duplist summary.duplist ### Keywords: manip ### ** Examples texts <- list(A="Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime", A="A fake duplicate", B="So...
testlist <- list(a = -943208505L, b = -943208505L, x = c(NA, -943208505L, -943208505L)) result <- do.call(grattan:::anyOutside,testlist) str(result)
/grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610386746-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
149
r
testlist <- list(a = -943208505L, b = -943208505L, x = c(NA, -943208505L, -943208505L)) result <- do.call(grattan:::anyOutside,testlist) str(result)
##' Image list ##' ##' An imlist object is simply a list of images (of class cimg). For convenience, some generic functions are defined that wouldn't work on plain lists, like plot, display and as.data.frame. ##' ##' @param l a list ##' @param ... ignored ##' @export ##' @seealso plot.imlist, display.imlist, as.data...
/R/imglist.R
no_license
devSJR/imager
R
false
false
4,341
r
##' Image list ##' ##' An imlist object is simply a list of images (of class cimg). For convenience, some generic functions are defined that wouldn't work on plain lists, like plot, display and as.data.frame. ##' ##' @param l a list ##' @param ... ignored ##' @export ##' @seealso plot.imlist, display.imlist, as.data...
## ----setup, include = FALSE--------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ----eval=FALSE, echo=TRUE---------------------------------------------------- # v1 <- c("A", "B", "C", "B") # v1 # # # [1] "A" "B" "C" "B" # # fmt1 <- value(condition...
/vignettes/fmtr-fapply.R
no_license
armenic/fmtr
R
false
false
2,821
r
## ----setup, include = FALSE--------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ----eval=FALSE, echo=TRUE---------------------------------------------------- # v1 <- c("A", "B", "C", "B") # v1 # # # [1] "A" "B" "C" "B" # # fmt1 <- value(condition...
#' Get a cached vector from a graph object #' @description Get the vector cached in a graph object #' of class \code{dgr_graph}. #' @param graph a graph object of class #' \code{dgr_graph} that is created using #' \code{create_graph}. #' @return a vector. #' @examples #' # Set a seed #' set.seed(22) #' #' # Create a gr...
/R/get_cache.R
no_license
shrektan/DiagrammeR
R
false
false
994
r
#' Get a cached vector from a graph object #' @description Get the vector cached in a graph object #' of class \code{dgr_graph}. #' @param graph a graph object of class #' \code{dgr_graph} that is created using #' \code{create_graph}. #' @return a vector. #' @examples #' # Set a seed #' set.seed(22) #' #' # Create a gr...
#------------------------------------------------# # # File name: constructSpinoutCounts.R # # Author: Nicolas Fernandez-Arias # # Purpose: # # This constructs the spinout counts dataset. # This dataset consists of an observation for each parent firm - year. # and stores three types of "counts" # # (1) A count "weigh...
/empirics/code/constructSpinoutCounts.R
no_license
nfernandez-arias/Endogenous-growth-with-spinouts
R
false
false
7,021
r
#------------------------------------------------# # # File name: constructSpinoutCounts.R # # Author: Nicolas Fernandez-Arias # # Purpose: # # This constructs the spinout counts dataset. # This dataset consists of an observation for each parent firm - year. # and stores three types of "counts" # # (1) A count "weigh...
library(vcdExtra) ### Name: GSS ### Title: General Social Survey- Sex and Party affiliation ### Aliases: GSS ### Keywords: datasets ### ** Examples data(GSS) ## maybe str(GSS) ; plot(GSS) ... (GSStab <- xtabs(count ~ sex + party, data=GSS)) mod.glm <- glm(count ~ sex + party, family = poisson, data = GSS)
/data/genthat_extracted_code/vcdExtra/examples/GSS.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
316
r
library(vcdExtra) ### Name: GSS ### Title: General Social Survey- Sex and Party affiliation ### Aliases: GSS ### Keywords: datasets ### ** Examples data(GSS) ## maybe str(GSS) ; plot(GSS) ... (GSStab <- xtabs(count ~ sex + party, data=GSS)) mod.glm <- glm(count ~ sex + party, family = poisson, data = GSS)
# Date: octobre 2021 # Auteur: Olivier Leroy www.branchtwigleaf.com/ # Objectif: nb d'arbre isolé en fonction du temps dans OSM # Description du problème: # Les CSV viennent d'une instance overpass en local # # Libraries utilisées: # sf, spData # Il faut commencer par verifier les bbox associées à ces exports # pou...
/OSM/evol_temps.R
no_license
defuneste/arbresosm
R
false
false
2,753
r
# Date: octobre 2021 # Auteur: Olivier Leroy www.branchtwigleaf.com/ # Objectif: nb d'arbre isolé en fonction du temps dans OSM # Description du problème: # Les CSV viennent d'une instance overpass en local # # Libraries utilisées: # sf, spData # Il faut commencer par verifier les bbox associées à ces exports # pou...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1520 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1520 c c Input Parameter (command line, file): c input filename QBFLIB/Letombe/horn/horn_400CNF1520_2aQBF_165.qdimacs c output ...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Letombe/horn/horn_400CNF1520_2aQBF_165/horn_400CNF1520_2aQBF_165.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
635
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1520 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1520 c c Input Parameter (command line, file): c input filename QBFLIB/Letombe/horn/horn_400CNF1520_2aQBF_165.qdimacs c output ...