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 |
|---|---|---|---|---|---|---|---|---|---|
ac04a7c0218f0dc511662e15de17bb0f dungeon_i25-m12-u5-v0.pddl_planlen=22.qdimacs 17083 150121 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Kronegger-Pfandler-Pichler/dungeon/dungeon_i25-m12-u5-v0.pddl_planlen=22/dungeon_i25-m12-u5-v0.pddl_planlen=22.R | no_license | arey0pushpa/dcnf-autarky | R | false | false | 91 | r | ac04a7c0218f0dc511662e15de17bb0f dungeon_i25-m12-u5-v0.pddl_planlen=22.qdimacs 17083 150121 |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/networkmanager_operations.R
\name{networkmanager_list_organization_service_access_status}
\alias{networkmanager_list_organization_service_access_status}
\title{Gets the status of the Service Linked Role (SLR) deployment for the
accounts in a ... | /cran/paws.networking/man/networkmanager_list_organization_service_access_status.Rd | permissive | paws-r/paws | R | false | true | 881 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/networkmanager_operations.R
\name{networkmanager_list_organization_service_access_status}
\alias{networkmanager_list_organization_service_access_status}
\title{Gets the status of the Service Linked Role (SLR) deployment for the
accounts in a ... |
/5 -Modelos Autorregressivos.R | no_license | vtabaracci/aula-5 | R | false | false | 1,948 | r | ||
################################################################################
## Data Processing Script for Wildfire
## Description: A script for creating the wildfire.RData.
## Data: 1.88 Million US Wildfires - 24 years of geo-referenced wildfire records (1992 - 2015)
## Source: https://www.kaggle.com/rtatman/188-m... | /data-raw/wildfires.R | no_license | bradraff/wildviz | R | false | false | 1,954 | r | ################################################################################
## Data Processing Script for Wildfire
## Description: A script for creating the wildfire.RData.
## Data: 1.88 Million US Wildfires - 24 years of geo-referenced wildfire records (1992 - 2015)
## Source: https://www.kaggle.com/rtatman/188-m... |
plot2 <- function() {
## read in the date, time and Global_active power columns
## replace " ?" with NA
df <- read.table(".\\exdata-data-household_power_consumption\\household_power_consumption.txt",
sep=";", stringsAsFactors = FALSE,header=TRUE, na.strings="?",
... | /plot2.R | no_license | Moonlight484/ExData_Plotting1 | R | false | false | 1,895 | r | plot2 <- function() {
## read in the date, time and Global_active power columns
## replace " ?" with NA
df <- read.table(".\\exdata-data-household_power_consumption\\household_power_consumption.txt",
sep=";", stringsAsFactors = FALSE,header=TRUE, na.strings="?",
... |
U <- c(0.65, 0.24, 0.98, 0.76, 0.34, 0.92, 0.03, 0.07, 0.35, 0.51)
mt <- function(t, alpha_beta) {
k0 <- 1000
sum(pgamma(t, 1:k0 * alpha_beta[1], alpha_beta[2]))
}
dNt <- function(k, t, alpha_beta) {
pgamma(t, k * alpha_beta[1], alpha_beta[2]) - pgamma(t, (k + 1) * alpha_beta[1], alpha_beta[2])
}
calculer_vale... | /exercices/sol-121018.R | no_license | chblw/act-2001 | R | false | false | 1,321 | r | U <- c(0.65, 0.24, 0.98, 0.76, 0.34, 0.92, 0.03, 0.07, 0.35, 0.51)
mt <- function(t, alpha_beta) {
k0 <- 1000
sum(pgamma(t, 1:k0 * alpha_beta[1], alpha_beta[2]))
}
dNt <- function(k, t, alpha_beta) {
pgamma(t, k * alpha_beta[1], alpha_beta[2]) - pgamma(t, (k + 1) * alpha_beta[1], alpha_beta[2])
}
calculer_vale... |
testlist <- list(type = 0L, z = 7.29112201955636e-304)
result <- do.call(esreg::G1_fun,testlist)
str(result) | /esreg/inst/testfiles/G1_fun/libFuzzer_G1_fun/G1_fun_valgrind_files/1609890775-test.R | no_license | akhikolla/updated-only-Issues | R | false | false | 108 | r | testlist <- list(type = 0L, z = 7.29112201955636e-304)
result <- do.call(esreg::G1_fun,testlist)
str(result) |
library(rstan)
library(wsre)
library(ggplot2)
pre_wsre_fit <- stan_model("scripts/stan-files/hiv-ev-sythn-prior-wsre.stan")
n_wfs <- 7
n_total_samples <- 3000 # to compare to Naive
wsre_est <- wsre(
stanmodel = pre_wsre_fit,
wf_mean = array(c(wf_mean = seq(from = 0.05, to = 0.8, length.out = n_wfs))),
wf_pars ... | /scripts/hiv-example/09-wsre-prior-marginal.R | no_license | hhau/presanis-conflict-hiv-example | R | false | false | 1,025 | r | library(rstan)
library(wsre)
library(ggplot2)
pre_wsre_fit <- stan_model("scripts/stan-files/hiv-ev-sythn-prior-wsre.stan")
n_wfs <- 7
n_total_samples <- 3000 # to compare to Naive
wsre_est <- wsre(
stanmodel = pre_wsre_fit,
wf_mean = array(c(wf_mean = seq(from = 0.05, to = 0.8, length.out = n_wfs))),
wf_pars ... |
library(gdalUtils)
### Name: gdaladdo
### Title: gdaladdo
### Aliases: gdaladdo
### ** Examples
# We'll pre-check to make sure there is a valid GDAL install.
# Note this isn't strictly neccessary, as executing the function will
# force a search for a valid GDAL install.
gdal_setInstallation()
valid_install <- !is.n... | /data/genthat_extracted_code/gdalUtils/examples/gdaladdo.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 675 | r | library(gdalUtils)
### Name: gdaladdo
### Title: gdaladdo
### Aliases: gdaladdo
### ** Examples
# We'll pre-check to make sure there is a valid GDAL install.
# Note this isn't strictly neccessary, as executing the function will
# force a search for a valid GDAL install.
gdal_setInstallation()
valid_install <- !is.n... |
##
## Assignment - Getting and Cleaning Data Course Project
##
## Packages required for execution are "dplyr" and "tidyr"
##
library(dplyr)
library(tidyr)
##
## Download and unpackage the dataset
## "UCI HAR Dataset" extracted from downloaded .zip to working directory
##
fileUrl <- "https://d396qusza40orc.cloudfront... | /run_analysis.R | no_license | tterry231/ProgrammingAssignment4 | R | false | false | 3,606 | r | ##
## Assignment - Getting and Cleaning Data Course Project
##
## Packages required for execution are "dplyr" and "tidyr"
##
library(dplyr)
library(tidyr)
##
## Download and unpackage the dataset
## "UCI HAR Dataset" extracted from downloaded .zip to working directory
##
fileUrl <- "https://d396qusza40orc.cloudfront... |
#' General Data preprocessing function
#'
#' @param df1 - dataframe with ship data
#'
#' @return data_list - list with multiple parameters
#' ranks, next latitude, next longitude
#' @export
#'
general_data_preprocess <- function(df1) {
# create ranks object in ascending order
ranks <- order(df1$DATETIME)
# find... | /R/general_data_preprocess.R | no_license | EdwardJGillian/shipsdatapackage | R | false | false | 720 | r | #' General Data preprocessing function
#'
#' @param df1 - dataframe with ship data
#'
#' @return data_list - list with multiple parameters
#' ranks, next latitude, next longitude
#' @export
#'
general_data_preprocess <- function(df1) {
# create ranks object in ascending order
ranks <- order(df1$DATETIME)
# find... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mice.post.matching.r
\name{mice.post.matching}
\alias{mice.post.matching}
\title{Post-processing of Imputed Data by Multivariate Predictive Mean Matching}
\usage{
mice.post.matching(obj, blocks = NULL, donors = 5L, weights = NULL,
di... | /man/mice.post.matching.Rd | no_license | cran/miceExt | R | false | true | 24,820 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mice.post.matching.r
\name{mice.post.matching}
\alias{mice.post.matching}
\title{Post-processing of Imputed Data by Multivariate Predictive Mean Matching}
\usage{
mice.post.matching(obj, blocks = NULL, donors = 5L, weights = NULL,
di... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ProbitSpatial.R
\name{generate_W}
\alias{generate_W}
\title{Generate a random spatial weight matrix.}
\usage{
generate_W(n, nneigh, seed=123)
}
\arguments{
\item{n}{the size of the matrix.}
\item{nneigh}{the number of nearest neighbors.}
\i... | /man/generate_W.Rd | no_license | cran/ProbitSpatial | R | false | true | 998 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ProbitSpatial.R
\name{generate_W}
\alias{generate_W}
\title{Generate a random spatial weight matrix.}
\usage{
generate_W(n, nneigh, seed=123)
}
\arguments{
\item{n}{the size of the matrix.}
\item{nneigh}{the number of nearest neighbors.}
\i... |
# plot2.R
# Create data directory
#
if (!file.exists("data")) {
dir.create("data")
}
# Download and extract zip file if needed
#
if (! file.exists("data/household_power_consumption.txt")) {
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",
... | /plot2.R | no_license | mflood/ExData_Plotting1 | R | false | false | 1,823 | r | # plot2.R
# Create data directory
#
if (!file.exists("data")) {
dir.create("data")
}
# Download and extract zip file if needed
#
if (! file.exists("data/household_power_consumption.txt")) {
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",
... |
#' Q-Q Plot with ggplot
#'
#' Generate Q-Q plot using ggplot2 with normal distribution reference. \cr
#' @name SpQQPlot
#' @param data vector of numeric values
#' @param variable string of the variable of interest for title
#' @param save boolean of whether to save image
#'
#' @keywords descriptives plotting
#' @export... | /R/SpQQPlot.R | no_license | sbujarski/SpPack | R | false | false | 1,070 | r | #' Q-Q Plot with ggplot
#'
#' Generate Q-Q plot using ggplot2 with normal distribution reference. \cr
#' @name SpQQPlot
#' @param data vector of numeric values
#' @param variable string of the variable of interest for title
#' @param save boolean of whether to save image
#'
#' @keywords descriptives plotting
#' @export... |
library(cvcrand)
### Name: cvrcov
### Title: Covariate-constrained randomization for cluster randomized
### trials
### Aliases: cvrcov
### Keywords: cluster constrained covariate-by-covariate randomization
### randomized trails,
### ** Examples
# cvcrand example
Dickinson_design_numeric <- Dickinson_design
Di... | /data/genthat_extracted_code/cvcrand/examples/cvrcov.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 969 | r | library(cvcrand)
### Name: cvrcov
### Title: Covariate-constrained randomization for cluster randomized
### trials
### Aliases: cvrcov
### Keywords: cluster constrained covariate-by-covariate randomization
### randomized trails,
### ** Examples
# cvcrand example
Dickinson_design_numeric <- Dickinson_design
Di... |
suppressPackageStartupMessages(require(RTextTools))
suppressPackageStartupMessages(require(tm))
source("C:/Users/denbrige/100 FxOption/103 FxOptionVerBack/080 Fx Git/R-source/PlusReg.R", echo=FALSE)
spam.dir <- paste0(RegGetRNonSourceDir(), "spamassassin/")
get.msg <- function(path.dir)
{
con <- file(path.dir, open="... | /R-source/Jurka_03_spam_RTextTools.R | no_license | mizma2k/FX-Git | R | false | false | 4,663 | r | suppressPackageStartupMessages(require(RTextTools))
suppressPackageStartupMessages(require(tm))
source("C:/Users/denbrige/100 FxOption/103 FxOptionVerBack/080 Fx Git/R-source/PlusReg.R", echo=FALSE)
spam.dir <- paste0(RegGetRNonSourceDir(), "spamassassin/")
get.msg <- function(path.dir)
{
con <- file(path.dir, open="... |
library(mclust)
library(SingleCellExperiment)
library(scater)
library(DuoClustering2018)
library(Seurat)
## download dataset from DuoClustering2018
sim1 <- readRDS("data/sce_full/sce_full_Zhengmix4eq.rds")
cell_type1 <- "regulatory.t"
cell_type2 <- "naive.cytotoxic"
sim1 <- sim1[,(sim1$phenoid==cell_type1) | (sim1... | /Rscripts/rare_cell_experiments/sim_rarecell_Zheng.R | no_license | canzarlab/Specter | R | false | false | 1,891 | r | library(mclust)
library(SingleCellExperiment)
library(scater)
library(DuoClustering2018)
library(Seurat)
## download dataset from DuoClustering2018
sim1 <- readRDS("data/sce_full/sce_full_Zhengmix4eq.rds")
cell_type1 <- "regulatory.t"
cell_type2 <- "naive.cytotoxic"
sim1 <- sim1[,(sim1$phenoid==cell_type1) | (sim1... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filechoose.R
\name{fileGetter}
\alias{fileGetter}
\title{Create a function that returns fileinfo according to the given restrictions}
\usage{
fileGetter(roots, restrictions, filetypes, hidden = FALSE)
}
\arguments{
\item{roots}{A named vector... | /man/fileGetter.Rd | no_license | DataXujing/shinyFiles | R | false | true | 1,539 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filechoose.R
\name{fileGetter}
\alias{fileGetter}
\title{Create a function that returns fileinfo according to the given restrictions}
\usage{
fileGetter(roots, restrictions, filetypes, hidden = FALSE)
}
\arguments{
\item{roots}{A named vector... |
read.vcf <- function(file){
rawh <- read.vcf.header(file=file)
dat <- read.table(file, sep="\t", as.is=TRUE, header=FALSE)
dim(dat)
cnames <- unlist(strsplit( x=rawh[length(rawh)], split="\t"))
colnames(dat) <- cnames
# pos <- dat[1:7,]
# info <- dat[8,]
# format <- dat[9,]
# samples <- dat[10:ncol(dat), ]
li... | /R/read.vcf.R | permissive | dakl/rdk | R | false | false | 417 | r | read.vcf <- function(file){
rawh <- read.vcf.header(file=file)
dat <- read.table(file, sep="\t", as.is=TRUE, header=FALSE)
dim(dat)
cnames <- unlist(strsplit( x=rawh[length(rawh)], split="\t"))
colnames(dat) <- cnames
# pos <- dat[1:7,]
# info <- dat[8,]
# format <- dat[9,]
# samples <- dat[10:ncol(dat), ]
li... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{corr_matern52_matrix_symC}
\alias{corr_matern52_matrix_symC}
\title{Correlation Gaussian matrix in C (symmetric)}
\usage{
corr_matern52_matrix_symC(x, theta)
}
\arguments{
\item{x}{Matrix x}
\item{theta}{Theta vector}
}
\... | /man/corr_matern52_matrix_symC.Rd | no_license | CollinErickson/GauPro | R | false | true | 479 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{corr_matern52_matrix_symC}
\alias{corr_matern52_matrix_symC}
\title{Correlation Gaussian matrix in C (symmetric)}
\usage{
corr_matern52_matrix_symC(x, theta)
}
\arguments{
\item{x}{Matrix x}
\item{theta}{Theta vector}
}
\... |
# spectral analysis
# Next week, show what you've learned about the data
## some plots would be nice.
## understand what's in the data
# short time-segments of data could be useful for regression (Short-term trends) 5min?
## try a few different fits (straight lines might not be useful)
## plot the data? (Look for sin... | /docs/Meeting Notes/meeting 1 notes.R | no_license | Bugsydor/Energy-Senior-Project | R | false | false | 465 | r | # spectral analysis
# Next week, show what you've learned about the data
## some plots would be nice.
## understand what's in the data
# short time-segments of data could be useful for regression (Short-term trends) 5min?
## try a few different fits (straight lines might not be useful)
## plot the data? (Look for sin... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ClusterStabilityAnalysis.R
\name{iterate_louvain_clusters}
\alias{iterate_louvain_clusters}
\title{Iterate through multiple rounds of louvain clustering}
\usage{
iterate_louvain_clusters(input_dataset = NULL, subsample_size = NULL,
num_iter... | /man/iterate_louvain_clusters.Rd | permissive | fskabir/ZunderPipelineFunctions | R | false | true | 720 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ClusterStabilityAnalysis.R
\name{iterate_louvain_clusters}
\alias{iterate_louvain_clusters}
\title{Iterate through multiple rounds of louvain clustering}
\usage{
iterate_louvain_clusters(input_dataset = NULL, subsample_size = NULL,
num_iter... |
################################################################################
# Step 2. Identifying regulons (direct TF targets) based on DNA motif enrichment
################################################################################
#' @title runSCENIC_2_createRegulons
#' @description Step 2: RcisTarget (pr... | /R/runSCENIC_2_createRegulons.R | no_license | aNing1210/Test1 | R | false | false | 16,062 | r | ################################################################################
# Step 2. Identifying regulons (direct TF targets) based on DNA motif enrichment
################################################################################
#' @title runSCENIC_2_createRegulons
#' @description Step 2: RcisTarget (pr... |
#' @include generic-methods.R
NULL
#' Time-Value-Pairs
#'
#' Class to contains the data of a \linkS4class{Timeseries} as time value
#' pairs.
#'
#' @author Christian Autermann \email{c.autermann@@52north.org}
#' @export
#' @rdname TVP-class
#' @name TVP-class
setClass("TVP",
slots = list(time = "POSIXct",
... | /R/class-tvp.R | permissive | 52North/sensorweb4R | R | false | false | 2,828 | r | #' @include generic-methods.R
NULL
#' Time-Value-Pairs
#'
#' Class to contains the data of a \linkS4class{Timeseries} as time value
#' pairs.
#'
#' @author Christian Autermann \email{c.autermann@@52north.org}
#' @export
#' @rdname TVP-class
#' @name TVP-class
setClass("TVP",
slots = list(time = "POSIXct",
... |
library(dplyr)
library(arrow)
# notice that dpq is a FileSystemDataset
(dpq <- open_dataset("arrow/parquet"))
(dtib <- dpq %>% collect())
# https://arrow.apache.org/docs/r/articles/dataset.html
# now we can apply dplyr methods against the parquet files
dpq %>%
mutate(
age_days = age * 365.25,
age_minutes... | /explore_bigdata.R | no_license | BYUIDSconsulting/analytics-collaboration-hathaway | R | false | false | 1,040 | r | library(dplyr)
library(arrow)
# notice that dpq is a FileSystemDataset
(dpq <- open_dataset("arrow/parquet"))
(dtib <- dpq %>% collect())
# https://arrow.apache.org/docs/r/articles/dataset.html
# now we can apply dplyr methods against the parquet files
dpq %>%
mutate(
age_days = age * 365.25,
age_minutes... |
\name{print.metaPar}
\alias{print.metaPar}
\title{Print Method for 'metaPar' Objects}
\description{
Print method for objects of class \code{'metaPar'}.
}
\usage{
\method{print}{metaPar}(x, ...)
}
\arguments{
\item{x}{An object of \code{'metaPar'}}
\item{...}{Other arguments not used.}
}
\seealso{... | /man/print.metaPar.Rd | no_license | arturochian/metaplot | R | false | false | 412 | rd | \name{print.metaPar}
\alias{print.metaPar}
\title{Print Method for 'metaPar' Objects}
\description{
Print method for objects of class \code{'metaPar'}.
}
\usage{
\method{print}{metaPar}(x, ...)
}
\arguments{
\item{x}{An object of \code{'metaPar'}}
\item{...}{Other arguments not used.}
}
\seealso{... |
# Order of how you load plyr and dplyr matter per http://stackoverflow.com/questions/21653295/dplyr-issues-when-using-group-bymultiple-variables
# Ram and ManneR:
detach(package:plyr)
library(ggvis)
dropdown <- input_select(
c(
"Red" = "darkred",
"Blue" = "blue4",
"Yellow" = "darkgoldenrod2"
),
... | /R Code/ggvis scratch work.R | no_license | ikukuyeva/R-Graphics | R | false | false | 719 | r | # Order of how you load plyr and dplyr matter per http://stackoverflow.com/questions/21653295/dplyr-issues-when-using-group-bymultiple-variables
# Ram and ManneR:
detach(package:plyr)
library(ggvis)
dropdown <- input_select(
c(
"Red" = "darkred",
"Blue" = "blue4",
"Yellow" = "darkgoldenrod2"
),
... |
#########################################################################################################################
##################################### RUNNING SDM ANALYSIS FOR TAXA ---- ###############################################
############################################################################... | /R/Processing/RUN_SDM_GEN_MAPS.R | no_license | HMB3/sdmgen | R | false | false | 22,930 | r | #########################################################################################################################
##################################### RUNNING SDM ANALYSIS FOR TAXA ---- ###############################################
############################################################################... |
#Installing packages and called the library
# tweeter package in R
#install.packages("rtweet")
#called the package
library(rtweet)
#install httpuv package (to help authentication of IPA twitter through web browser)
#install.packages("httpuv")
library(httpuv)
#install.packages("readr") #this package to help th... | /intro to R/intro_r/codes/demo_codes_twitter.R | no_license | mariaulf4h/learn-R | R | false | false | 1,799 | r | #Installing packages and called the library
# tweeter package in R
#install.packages("rtweet")
#called the package
library(rtweet)
#install httpuv package (to help authentication of IPA twitter through web browser)
#install.packages("httpuv")
library(httpuv)
#install.packages("readr") #this package to help th... |
UpdateMus = function (x, Cs, Ds, lambda = 0) {
uniqCs <- sort(unique(Cs))
uniqDs <- sort(unique(Ds))
mus <- matrix(NA, nrow = length(uniqCs), ncol = length(uniqDs))
for (k in uniqCs) {
for (r in uniqDs) {
if (lambda == 0)
mus[k, r] <- mean(x[Cs == k, Ds == r])
if (lambda > 0)
m... | /code/sparse tensor/previous version/sparseBC.R | no_license | Miaoyanwang/tensor-clustering | R | false | false | 7,737 | r | UpdateMus = function (x, Cs, Ds, lambda = 0) {
uniqCs <- sort(unique(Cs))
uniqDs <- sort(unique(Ds))
mus <- matrix(NA, nrow = length(uniqCs), ncol = length(uniqDs))
for (k in uniqCs) {
for (r in uniqDs) {
if (lambda == 0)
mus[k, r] <- mean(x[Cs == k, Ds == r])
if (lambda > 0)
m... |
data <- read.csv("household_power_consumption.txt", sep=";",
na.strings = c("?"),
colClasses = c("character", "character", "numeric", "numeric",
"numeric", "numeric", "numeric", "numeric", "numeric"))
data$Date <- as.Date(data$Date, "%d/%m/%Y")
#Set ... | /plot2.R | no_license | rschaeff/ExData_Plotting1 | R | false | false | 721 | r | data <- read.csv("household_power_consumption.txt", sep=";",
na.strings = c("?"),
colClasses = c("character", "character", "numeric", "numeric",
"numeric", "numeric", "numeric", "numeric", "numeric"))
data$Date <- as.Date(data$Date, "%d/%m/%Y")
#Set ... |
library(ape)
testtree <- read.tree("10483_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="10483_0_unrooted.txt") | /codeml_files/newick_trees_processed_and_cleaned/10483_0/rinput.R | no_license | DaniBoo/cyanobacteria_project | R | false | false | 137 | r | library(ape)
testtree <- read.tree("10483_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="10483_0_unrooted.txt") |
#########################################################################/**
# @RdocFunction applyFilters
#
# @alias applyFilters,QDNAseqReadCounts-method
#
# @title "Adjusts the filtering on which bins are used"
#
# @synopsis
#
# \description{
# @get "title".
# }
#
# \arguments{
# \item{object}{A @see "QDNAseq... | /R/applyFilters.R | no_license | JocelynSP/QDNAseq | R | false | false | 4,254 | r | #########################################################################/**
# @RdocFunction applyFilters
#
# @alias applyFilters,QDNAseqReadCounts-method
#
# @title "Adjusts the filtering on which bins are used"
#
# @synopsis
#
# \description{
# @get "title".
# }
#
# \arguments{
# \item{object}{A @see "QDNAseq... |
#' FARS Data Input.
#'
#' Reads a FARS data file in R as data frame table.
#'
#' This function is the principal means of reading FARS tabular data into R.
#'
#' The file must be in a CSV format. If the file, specified through \code{filename},
#' does not exist the execution is stopped and an error is returned. Otherwis... | /R/fars_functions.R | permissive | pparacch/fars | R | false | false | 6,726 | r | #' FARS Data Input.
#'
#' Reads a FARS data file in R as data frame table.
#'
#' This function is the principal means of reading FARS tabular data into R.
#'
#' The file must be in a CSV format. If the file, specified through \code{filename},
#' does not exist the execution is stopped and an error is returned. Otherwis... |
#' SAS like scan function
#'
#' @param x Character vector
#' @param split The splitting character
#' @param n Position of the substring to extract
#' @param ... Arguments to pass to the strsplit function
#'
#' @return Character vector
#' @export
#'
#' @examples
#' scan(x = 'ab de fg',split = ' ',n = 2)
scan <- function... | /R/scan.R | no_license | ZwAnto/toolbox | R | false | false | 388 | r | #' SAS like scan function
#'
#' @param x Character vector
#' @param split The splitting character
#' @param n Position of the substring to extract
#' @param ... Arguments to pass to the strsplit function
#'
#' @return Character vector
#' @export
#'
#' @examples
#' scan(x = 'ab de fg',split = ' ',n = 2)
scan <- function... |
#' Read HTML or XML.
#'
#' @param x A string, a connection, or a raw vector.
#'
#' A string can be either a path, a url or literal xml. Urls will
#' be converted into connections either using \code{base::url} or, if
#' installed, \code{curl::curl}. Local paths ending in \code{.gz},
#' \code{.bz2}, \code{.xz}, \... | /R/xml_parse.R | no_license | bastistician/xml2 | R | false | false | 5,376 | r | #' Read HTML or XML.
#'
#' @param x A string, a connection, or a raw vector.
#'
#' A string can be either a path, a url or literal xml. Urls will
#' be converted into connections either using \code{base::url} or, if
#' installed, \code{curl::curl}. Local paths ending in \code{.gz},
#' \code{.bz2}, \code{.xz}, \... |
Plant.germ <- as.data.frame(read.delim(file="Data.Plant.germ.txt", header=TRUE, sep="\t"));
#this tells you the names of the colums in your data base
names(Plant.germ)
#lists all of the names of the plants
unique(Plant.germ$Plant)
#get a separate data set for only Olapa
CHETR <- subset(Plant.germ, Plant== "CHETR")
#... | /Codigo_Reprod_Culliney2012_plantgerm.R | no_license | MolinaIngrid/Reproduccion_Culliney_2012 | R | false | false | 8,483 | r | Plant.germ <- as.data.frame(read.delim(file="Data.Plant.germ.txt", header=TRUE, sep="\t"));
#this tells you the names of the colums in your data base
names(Plant.germ)
#lists all of the names of the plants
unique(Plant.germ$Plant)
#get a separate data set for only Olapa
CHETR <- subset(Plant.germ, Plant== "CHETR")
#... |
# path setup
func.path <- "~/FuDGE/Functions_Def"
save.path <- "~/FuDGE/Model1/FuDGE/result"
model.path <- "~/FuDGE/Model_Setting/Model1"
################## Part 0: Preparation #########################################
### Reads in arguments passed in from command line
### args is a vector of strings
args <- (comma... | /Simulation/Simulation_Code/Model1/FuDGE/script/FuDGE_Model1_p60.R | no_license | boxinz17/FuDGE | R | false | false | 13,987 | r | # path setup
func.path <- "~/FuDGE/Functions_Def"
save.path <- "~/FuDGE/Model1/FuDGE/result"
model.path <- "~/FuDGE/Model_Setting/Model1"
################## Part 0: Preparation #########################################
### Reads in arguments passed in from command line
### args is a vector of strings
args <- (comma... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/options.R
\name{addHeatmap}
\alias{addHeatmap}
\alias{overideHeatmap}
\title{Add \code{heatmap} to Echarts Object}
\usage{
addHeatmap(chart, series = NULL, timeslots = NULL, data = NULL,
gradientColors = list("blue", "cyan", "limegr... | /man/addHeatmap.Rd | permissive | takewiki/recharts2 | R | false | true | 2,714 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/options.R
\name{addHeatmap}
\alias{addHeatmap}
\alias{overideHeatmap}
\title{Add \code{heatmap} to Echarts Object}
\usage{
addHeatmap(chart, series = NULL, timeslots = NULL, data = NULL,
gradientColors = list("blue", "cyan", "limegr... |
#' plot.pheno_curve
#' Generic method to plot the flight curve, where values are extracted from a pheno_curve object (outcome of the light_curve() function)
#' @param data pheno_curve object which is the outcome of the light_curve() function
#' @param year integer for the year to be displayed (e.g. 2015), default is NU... | /R/rbms_methods.r | no_license | AlessandroMari/rbms | R | false | false | 4,480 | r | #' plot.pheno_curve
#' Generic method to plot the flight curve, where values are extracted from a pheno_curve object (outcome of the light_curve() function)
#' @param data pheno_curve object which is the outcome of the light_curve() function
#' @param year integer for the year to be displayed (e.g. 2015), default is NU... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/alKDEjack.R
\name{alKDEjack}
\alias{alKDEjack}
\alias{alKDEjack.default}
\alias{print.alKDEjack}
\alias{summary.alKDEjack}
\alias{print.summary.alKDEjack}
\alias{alKDEjack.formula}
\alias{predict.alKDEjack}
\title{Arc length matching for kern... | /man/alKDEjack.Rd | no_license | mtloots/alR | R | false | true | 5,142 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/alKDEjack.R
\name{alKDEjack}
\alias{alKDEjack}
\alias{alKDEjack.default}
\alias{print.alKDEjack}
\alias{summary.alKDEjack}
\alias{print.summary.alKDEjack}
\alias{alKDEjack.formula}
\alias{predict.alKDEjack}
\title{Arc length matching for kern... |
context("Check if functions perfom its intended task")
library(farspack)
setwd(system.file("extdata", package = "farspack"))
test_that("Name of file is correct", {
expect_equal(make_filename(year = 2013), "accident_2013.csv.bz2")
})
test_that("Data file is loaded", {
expect_is(fars_read(filename = "accident_2013... | /tests/testthat/testfars.R | no_license | helex07/farspack | R | false | false | 752 | r | context("Check if functions perfom its intended task")
library(farspack)
setwd(system.file("extdata", package = "farspack"))
test_that("Name of file is correct", {
expect_equal(make_filename(year = 2013), "accident_2013.csv.bz2")
})
test_that("Data file is loaded", {
expect_is(fars_read(filename = "accident_2013... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pureseqtmr_report.R
\name{pureseqtmr_report}
\alias{pureseqtmr_report}
\title{Create a \link{pureseqtmr} report, to be used when reporting bugs}
\usage{
pureseqtmr_report(folder_name = get_default_pureseqtm_folder())
}
\arguments{
\item{folde... | /man/pureseqtmr_report.Rd | no_license | cran/pureseqtmr | R | false | true | 660 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pureseqtmr_report.R
\name{pureseqtmr_report}
\alias{pureseqtmr_report}
\title{Create a \link{pureseqtmr} report, to be used when reporting bugs}
\usage{
pureseqtmr_report(folder_name = get_default_pureseqtm_folder())
}
\arguments{
\item{folde... |
#### AUTOMATIC IMAGE SEGMENTATION AND CELL COUNTING ####
#### Question 1 ####
#install.packages("jpeg")
library(jpeg)
#load image
img <- readJPEG("~path/to/FluorescentCells.jpg")
#plot original image
if(FALSE){
require(tikzDevice)
tikz("q1_img.tex",standAlone = T, width=5, height=5)
plot(c(0, 512), c(0, 512), type ... | /K-Means-Clustering/code.R | permissive | divagora/Machine-Learning-Projects | R | false | false | 11,687 | r | #### AUTOMATIC IMAGE SEGMENTATION AND CELL COUNTING ####
#### Question 1 ####
#install.packages("jpeg")
library(jpeg)
#load image
img <- readJPEG("~path/to/FluorescentCells.jpg")
#plot original image
if(FALSE){
require(tikzDevice)
tikz("q1_img.tex",standAlone = T, width=5, height=5)
plot(c(0, 512), c(0, 512), type ... |
library(readxl)
read_excel_allsheets <- function(filename, tibble = FALSE) {
sheets <- readxl::excel_sheets(filename)
x <- lapply(sheets, function(X) readxl::read_excel(filename, sheet = X))
if(!tibble) x <- lapply(x, as.data.frame)
names(x) <- sheets
x
}
mysheets <- read_excel_allsheets('Anal... | /Home_Depot_script.R | no_license | willgyoung/Home_depot | R | false | false | 3,983 | r | library(readxl)
read_excel_allsheets <- function(filename, tibble = FALSE) {
sheets <- readxl::excel_sheets(filename)
x <- lapply(sheets, function(X) readxl::read_excel(filename, sheet = X))
if(!tibble) x <- lapply(x, as.data.frame)
names(x) <- sheets
x
}
mysheets <- read_excel_allsheets('Anal... |
library(nlshelper)
### Name: plot_nls
### Title: Plot a non-linear or non-parametric regression model
### Aliases: plot_loess plot_nls
### ** Examples
# Plot an nls object
chick <- as.data.frame(ChickWeight)
fit0 <- nls(weight ~ a*Time^b, data=chick, start=list(a=10, b=1.1))
plot_nls(fit0)
# Plot a grouped nls ob... | /data/genthat_extracted_code/nlshelper/examples/plot_nls.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 653 | r | library(nlshelper)
### Name: plot_nls
### Title: Plot a non-linear or non-parametric regression model
### Aliases: plot_loess plot_nls
### ** Examples
# Plot an nls object
chick <- as.data.frame(ChickWeight)
fit0 <- nls(weight ~ a*Time^b, data=chick, start=list(a=10, b=1.1))
plot_nls(fit0)
# Plot a grouped nls ob... |
rm(list = ls())
sigmoid = function(x) {
if(x <= 0) {
return(-1)
}
return(1)
}
equalityFunction = function(x) {
if(x == 0) {
return(0)
}
return(1)
}
perceptronData = read.table("/Users/tjordan/Desktop/ML/Data/perceptronData.txt")
W <- rbind(c(1,runif(4, -0.05, 0.05)))
XTrainingData <- perceptron... | /perceptronTraining/perceptron.R | no_license | ttjordan/ml | R | false | false | 1,208 | r | rm(list = ls())
sigmoid = function(x) {
if(x <= 0) {
return(-1)
}
return(1)
}
equalityFunction = function(x) {
if(x == 0) {
return(0)
}
return(1)
}
perceptronData = read.table("/Users/tjordan/Desktop/ML/Data/perceptronData.txt")
W <- rbind(c(1,runif(4, -0.05, 0.05)))
XTrainingData <- perceptron... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/train_functions.R
\name{train_model}
\alias{train_model}
\title{Train, Test, Evaluate, and Forecast Multiple Time Series Forecasting Models}
\usage{
train_model(input, methods, train_method, horizon, error = "MAPE",
xreg = NULL, level = c(8... | /man/train_model.Rd | permissive | RamiKrispin/TSstudio | R | false | true | 4,644 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/train_functions.R
\name{train_model}
\alias{train_model}
\title{Train, Test, Evaluate, and Forecast Multiple Time Series Forecasting Models}
\usage{
train_model(input, methods, train_method, horizon, error = "MAPE",
xreg = NULL, level = c(8... |
start_activities_resource_activity <- function(eventlog) {
absolute <- NULL
relative <- NULL
eventlog %>%
as.data.frame() %>%
group_by(!!case_id_(eventlog)) %>%
arrange(!!as.symbol(timestamp(eventlog)), .order) %>%
summarize(!!as.symbol(activity_id(eventlog)) := first(!!as.symbol(activity_id(eventlog))),
... | /R/start_activities_resource_activity.R | no_license | Sentewolf/edeaR | R | false | false | 725 | r |
start_activities_resource_activity <- function(eventlog) {
absolute <- NULL
relative <- NULL
eventlog %>%
as.data.frame() %>%
group_by(!!case_id_(eventlog)) %>%
arrange(!!as.symbol(timestamp(eventlog)), .order) %>%
summarize(!!as.symbol(activity_id(eventlog)) := first(!!as.symbol(activity_id(eventlog))),
... |
install.packages("prob")
library(prob)
s1 <- rolldie(times=3,nsides=6,makespace="TRUE")
s1
su1 <- subset(s1,(X1==X2) & (X1==X3) & (X2==X3))
su1
Prob(su1)#1 a answer
su3 <- subset(s1, (X1+X2+X3) >6)
Prob(su3)#1,b question
su4 <- subset(s1, (X1==2)&(X2==2))
Prob(su4) #1,c question
#2nd question
t1 <- tosscoin... | /Lab 1 - IE 6200 - Sec 07 - Omkar Kalange.R | no_license | komkar123/Probability-Statistics-Assignments | R | false | false | 1,181 | r | install.packages("prob")
library(prob)
s1 <- rolldie(times=3,nsides=6,makespace="TRUE")
s1
su1 <- subset(s1,(X1==X2) & (X1==X3) & (X2==X3))
su1
Prob(su1)#1 a answer
su3 <- subset(s1, (X1+X2+X3) >6)
Prob(su3)#1,b question
su4 <- subset(s1, (X1==2)&(X2==2))
Prob(su4) #1,c question
#2nd question
t1 <- tosscoin... |
setwd("/Users/i064205/Documents/Exploratory-Data-Analysis")
## Getting full dataset
data_full <- read.csv("./household_power_consumption.txt", header=T, sep=';', na.strings="?",
nrows=2075259, check.names=F, stringsAsFactors=F, comment.char="", quote='\"')
data_full$Date <- as.Date(data_full$... | /Plot1.R | no_license | ajeshkumarts/ExData_Plotting1 | R | false | false | 815 | r | setwd("/Users/i064205/Documents/Exploratory-Data-Analysis")
## Getting full dataset
data_full <- read.csv("./household_power_consumption.txt", header=T, sep=';', na.strings="?",
nrows=2075259, check.names=F, stringsAsFactors=F, comment.char="", quote='\"')
data_full$Date <- as.Date(data_full$... |
#!/usr/bin/env Rscript
######
# This script will pull the nearest gene information from ensembl for use in GO analyses,
# trim based on a distance cutoff, and then perform GSEA. Script has three arguments on the
# command line: 1. the name and location of the GWAS file to be analyzed 2. name of bacteria
# 3. the di... | /GSEA_postgwas_with_distance_trimming_040414ERD.R | no_license | DuyDN/bQTL | R | false | false | 5,691 | r | #!/usr/bin/env Rscript
######
# This script will pull the nearest gene information from ensembl for use in GO analyses,
# trim based on a distance cutoff, and then perform GSEA. Script has three arguments on the
# command line: 1. the name and location of the GWAS file to be analyzed 2. name of bacteria
# 3. the di... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calcecdf.R
\name{calcecdf}
\alias{calcecdf}
\title{Calculate ECDF of precipitation values}
\usage{
calcecdf(data, precipcol)
}
\arguments{
\item{precipcol}{string representing the column in data frame with precipitation values}
\item{data.fr... | /man/calcecdf.Rd | no_license | cahhansen/CCFMR | R | false | true | 485 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calcecdf.R
\name{calcecdf}
\alias{calcecdf}
\title{Calculate ECDF of precipitation values}
\usage{
calcecdf(data, precipcol)
}
\arguments{
\item{precipcol}{string representing the column in data frame with precipitation values}
\item{data.fr... |
# Plot with climate, vectors, case data, and simulations for NIH grant proposal -------------------
rm(list=ls()) #remove previous variable assignments
# load libraries
library(plotly)
library(plyr)
# load and plot climate data ----------------------------------------------------------------------
climateData <- read... | /Codes/NIH_plot.R | no_license | jms5151/EVP | R | false | false | 6,645 | r | # Plot with climate, vectors, case data, and simulations for NIH grant proposal -------------------
rm(list=ls()) #remove previous variable assignments
# load libraries
library(plotly)
library(plyr)
# load and plot climate data ----------------------------------------------------------------------
climateData <- read... |
avatar <-
function(base_hostname=NA,size=64){
if(!is.character(base_hostname))
stop("base_hostname must be a string")
size_range<-c(16,24,30,40,48,64,96,128,512)
if(!(size %in% size_range))
stop("Avaliable values for size are: 16,24,30,40,48,64,96,128,512")
url<-GET(paste("https://api.tum... | /R/avatar.R | no_license | cran/tumblR | R | false | false | 441 | r | avatar <-
function(base_hostname=NA,size=64){
if(!is.character(base_hostname))
stop("base_hostname must be a string")
size_range<-c(16,24,30,40,48,64,96,128,512)
if(!(size %in% size_range))
stop("Avaliable values for size are: 16,24,30,40,48,64,96,128,512")
url<-GET(paste("https://api.tum... |
context("line reflow")
test_that("spaces find correct positions", {
expect_equal(spaces("hello"), numeric(0))
expect_true(spaces("hello world") == 6)
expect_true(all(spaces("h w !") == c(2, 4)))
})
test_that("works with indentation", {
expect_false(nzchar(ind("hi")))
expect_equal(" ", ind(" hi"))
expe... | /tests/testthat/test_reflow.R | no_license | mdequeljoe/rdoc | R | false | false | 1,243 | r | context("line reflow")
test_that("spaces find correct positions", {
expect_equal(spaces("hello"), numeric(0))
expect_true(spaces("hello world") == 6)
expect_true(all(spaces("h w !") == c(2, 4)))
})
test_that("works with indentation", {
expect_false(nzchar(ind("hi")))
expect_equal(" ", ind(" hi"))
expe... |
# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.py
# Copyright 2016 H2O.ai; Apache License Version 2.0 (see LICENSE for details)
#'
# -------------------------- Deep Learning - Neural Network -------------------------- #
#'
#' Build a Deep Neural Network model using CPUs
#'
#' Builds a feed-forward mu... | /h2o-r/h2o-package/R/deeplearning.R | permissive | mirekphd/h2o-3 | R | false | false | 29,120 | r | # This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.py
# Copyright 2016 H2O.ai; Apache License Version 2.0 (see LICENSE for details)
#'
# -------------------------- Deep Learning - Neural Network -------------------------- #
#'
#' Build a Deep Neural Network model using CPUs
#'
#' Builds a feed-forward mu... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pk2cmtIdr1-doc.R
\docType{data}
\name{pk2cmtIdr1}
\alias{pk2cmtIdr1}
\title{pk2cmtIdr1 RxODE model}
\format{
An \emph{RxODE} model with 26 parameters, 3 ODE states, and 5 calc vars.
\emph{Parameters (pk2cmtIdr1$params)}
\describe{
\item{p... | /man/pk2cmtIdr1.Rd | no_license | nlmixrdevelopment/rxModels | R | false | true | 1,662 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pk2cmtIdr1-doc.R
\docType{data}
\name{pk2cmtIdr1}
\alias{pk2cmtIdr1}
\title{pk2cmtIdr1 RxODE model}
\format{
An \emph{RxODE} model with 26 parameters, 3 ODE states, and 5 calc vars.
\emph{Parameters (pk2cmtIdr1$params)}
\describe{
\item{p... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WGCNA.R
\name{WGCNA_sampleClusterDetectOutlier}
\alias{WGCNA_sampleClusterDetectOutlier}
\title{Sample cluster and outlier detection}
\usage{
WGCNA_sampleClusterDetectOutlier(datExpr, thresholdZ.k = -2.5,
saveplot = NULL, removeOutlier = F,... | /man/WGCNA_sampleClusterDetectOutlier.Rd | permissive | babyding/YSX | R | false | true | 1,818 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WGCNA.R
\name{WGCNA_sampleClusterDetectOutlier}
\alias{WGCNA_sampleClusterDetectOutlier}
\title{Sample cluster and outlier detection}
\usage{
WGCNA_sampleClusterDetectOutlier(datExpr, thresholdZ.k = -2.5,
saveplot = NULL, removeOutlier = F,... |
library(ipft)
### Name: ipfPlotEcdf
### Title: Plots the cumulative distribution function of the estimated
### error
### Aliases: ipfPlotEcdf
### ** Examples
model <- ipfKnn(ipftrain[, 1:168], ipftrain[, 169:170])
estimation <- ipfEstimate(model, ipftest[, 1:168], ipftest[, 169:170])
ipfPlotEcdf(esti... | /data/genthat_extracted_code/ipft/examples/ipfPlotEcdf.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 332 | r | library(ipft)
### Name: ipfPlotEcdf
### Title: Plots the cumulative distribution function of the estimated
### error
### Aliases: ipfPlotEcdf
### ** Examples
model <- ipfKnn(ipftrain[, 1:168], ipftrain[, 169:170])
estimation <- ipfEstimate(model, ipftest[, 1:168], ipftest[, 169:170])
ipfPlotEcdf(esti... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{forecast_table}
\alias{forecast_table}
\title{Extract summary data.frame from forecasts}
\usage{
forecast_table(pred_result, country = "country")
}
\arguments{
\item{y}{}
}
\value{
Missing
}
\description{
Missing.
Also Todo... | /man/forecast_table.Rd | no_license | nikosbosse/epipredictr | R | false | true | 369 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{forecast_table}
\alias{forecast_table}
\title{Extract summary data.frame from forecasts}
\usage{
forecast_table(pred_result, country = "country")
}
\arguments{
\item{y}{}
}
\value{
Missing
}
\description{
Missing.
Also Todo... |
# Tutorial on generalized linear mixed models in R,
# with an emphasis on proportional count data
# Evan Eskew
# Original version: 05.15.15
# Updated: 05.09.16
#==============================================================================
# Load packages needed for data analysis
library(lme4)
library(AICcmodavg)
... | /glmm_tutorial_script.R | no_license | woxinfei/glmm_tutorial | R | false | false | 17,757 | r | # Tutorial on generalized linear mixed models in R,
# with an emphasis on proportional count data
# Evan Eskew
# Original version: 05.15.15
# Updated: 05.09.16
#==============================================================================
# Load packages needed for data analysis
library(lme4)
library(AICcmodavg)
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter_dv.R
\name{filter_dv}
\alias{filter_dv}
\title{Remove values that are not observed values from data}
\usage{
filter_dv(x, verbose = FALSE, ...)
}
\arguments{
\item{x}{A data.frame or similar object}
\item{verbose}{show debugging infor... | /man/filter_dv.Rd | permissive | ronkeizer/vpc | R | false | true | 528 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter_dv.R
\name{filter_dv}
\alias{filter_dv}
\title{Remove values that are not observed values from data}
\usage{
filter_dv(x, verbose = FALSE, ...)
}
\arguments{
\item{x}{A data.frame or similar object}
\item{verbose}{show debugging infor... |
c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 161131
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 133024
c
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 133024
c
c Input Parameter (command lin... | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Kronegger-Pfandler-Pichler/dungeon/dungeon_i15-m7-u4-v0.pddl_planlen=126/dungeon_i15-m7-u4-v0.pddl_planlen=126.R | no_license | arey0pushpa/dcnf-autarky | R | false | false | 161,224 | r | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 161131
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 133024
c
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 133024
c
c Input Parameter (command lin... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/app.R
\name{NextWordR_server}
\alias{NextWordR_server}
\title{NextWordR Server Function Definition}
\usage{
NextWordR_server(input, output, session)
}
\description{
NextWordR Server Function Definition
}
\keyword{internal}
| /man/NextWordR_server.Rd | permissive | Mikuana/NextWordR | R | false | true | 301 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/app.R
\name{NextWordR_server}
\alias{NextWordR_server}
\title{NextWordR Server Function Definition}
\usage{
NextWordR_server(input, output, session)
}
\description{
NextWordR Server Function Definition
}
\keyword{internal}
|
## ------------------------------------------------------------------------
library(oaqc)
### k4, pure R
k4 <- data.frame(
source = c(0, 0, 0, 1, 1, 2),
target = c(1, 2, 3, 2, 3, 3)
)
k4orbits <- oaqc(k4, non_ind_freq = F, file = "")
# print(k4orbits)
## --------------------------------------------------------... | /data/genthat_extracted_code/oaqc/vignettes/oaqc.R | no_license | surayaaramli/typeRrh | R | false | false | 372 | r | ## ------------------------------------------------------------------------
library(oaqc)
### k4, pure R
k4 <- data.frame(
source = c(0, 0, 0, 1, 1, 2),
target = c(1, 2, 3, 2, 3, 3)
)
k4orbits <- oaqc(k4, non_ind_freq = F, file = "")
# print(k4orbits)
## --------------------------------------------------------... |
/bigcamp.R | no_license | Minchae-Kim97/2018_BigdataCampus | R | false | false | 28,339 | r | ||
\name{plotReport}
\alias{plotReport}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Plot results of a \code{evaluate.pm} analysis
}
\description{
Create a simple plot of a time series and the results of a \code{\link{evaluate.pm}} analysis (including the periodogram and the fitted OUSS power spe... | /man/plotReport.Rd | no_license | cran/peacots | R | false | false | 2,382 | rd | \name{plotReport}
\alias{plotReport}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Plot results of a \code{evaluate.pm} analysis
}
\description{
Create a simple plot of a time series and the results of a \code{\link{evaluate.pm}} analysis (including the periodogram and the fitted OUSS power spe... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cf_candidate_details.R
\name{cf_candidate_details}
\alias{cf_candidate_details}
\title{Campaign finance - candidate details}
\usage{
cf_candidate_details(campaign_cycle = NULL, fec_id = NULL, key = NULL,
...)
}
\arguments{
\item{campaign_cy... | /man/cf_candidate_details.Rd | permissive | tbrambor/rtimes | R | false | true | 999 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cf_candidate_details.R
\name{cf_candidate_details}
\alias{cf_candidate_details}
\title{Campaign finance - candidate details}
\usage{
cf_candidate_details(campaign_cycle = NULL, fec_id = NULL, key = NULL,
...)
}
\arguments{
\item{campaign_cy... |
library(shiny)
library(stringr)
library(R6)
library(RColorBrewer)
library(purrr)
library(tibble)
library(dplyr)
library(ggplot2)
source("hanoi.R")
ui <- fluidPage(
sidebarLayout(
sidebarPanel(
fluidRow(
selectInput(
inputId = "hanoi_n",
label = "Number... | /app.R | no_license | yusuzech/tower_of_hanoi | R | false | false | 1,918 | r | library(shiny)
library(stringr)
library(R6)
library(RColorBrewer)
library(purrr)
library(tibble)
library(dplyr)
library(ggplot2)
source("hanoi.R")
ui <- fluidPage(
sidebarLayout(
sidebarPanel(
fluidRow(
selectInput(
inputId = "hanoi_n",
label = "Number... |
#' train.cytonorm - Prepare reference data into a FlowSOM object
#'
#' This function allows you to learn the conversions to use for batch alignment.
#'
#' @usage train.align()
#'
#' @param dat NO DEFAULT. A data.table consisting of the 'refernece' data you will use to train the alignment algorithm
#' @param cellular.c... | /R/train.cytonorm.R | permissive | sydneycytometry/Spectre | R | false | false | 9,026 | r | #' train.cytonorm - Prepare reference data into a FlowSOM object
#'
#' This function allows you to learn the conversions to use for batch alignment.
#'
#' @usage train.align()
#'
#' @param dat NO DEFAULT. A data.table consisting of the 'refernece' data you will use to train the alignment algorithm
#' @param cellular.c... |
\name{hangover}
\alias{hangover}
\docType{data}
\title{Hangover Symptoms}
\description{
In a study on the effect of consuming alcohol, hangover symptoms were measured for two independent groups, with each subject consuming alcohol and being measured on three different occasions. One group consisted of sons of alcoholic... | /man/hangover.Rd | no_license | cran/WRS2 | R | false | false | 809 | rd | \name{hangover}
\alias{hangover}
\docType{data}
\title{Hangover Symptoms}
\description{
In a study on the effect of consuming alcohol, hangover symptoms were measured for two independent groups, with each subject consuming alcohol and being measured on three different occasions. One group consisted of sons of alcoholic... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stream_operations.R
\name{stream_watermark}
\alias{stream_watermark}
\title{Watermark Stream}
\usage{
stream_watermark(x, column = "timestamp", threshold = "10 minutes")
}
\arguments{
\item{x}{An object coercable to a Spark Streaming DataFram... | /man/stream_watermark.Rd | permissive | sparklyr/sparklyr | R | false | true | 682 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stream_operations.R
\name{stream_watermark}
\alias{stream_watermark}
\title{Watermark Stream}
\usage{
stream_watermark(x, column = "timestamp", threshold = "10 minutes")
}
\arguments{
\item{x}{An object coercable to a Spark Streaming DataFram... |
\name{covMat}
\alias{covMat}
\title{
A covariance matrix generating function.
}
\description{
For a given number of genes and a proportion of differentially expressed (informative) genes, the this function creates a covariance matrix by sampling variances from an exponential distribution with lambda and the correlation... | /man/covMat.Rd | no_license | cran/SPreFuGED | R | false | false | 2,634 | rd | \name{covMat}
\alias{covMat}
\title{
A covariance matrix generating function.
}
\description{
For a given number of genes and a proportion of differentially expressed (informative) genes, the this function creates a covariance matrix by sampling variances from an exponential distribution with lambda and the correlation... |
Sys.setlocale("LC_TIME", "C")
# Let's load the dataset into R.
data = read.table("household_power_consumption.txt", header=TRUE, sep = ";", na.strings = "?")
# We only need data from 1/2/2007 to t2/2/2007.
data <- data[data$Date %in% c("1/2/2007", "2/2/2007"),]
# We need to format the Date and Time variables i... | /Plot3.R | no_license | DrleeH/ExData_Plotting1 | R | false | false | 851 | r | Sys.setlocale("LC_TIME", "C")
# Let's load the dataset into R.
data = read.table("household_power_consumption.txt", header=TRUE, sep = ";", na.strings = "?")
# We only need data from 1/2/2007 to t2/2/2007.
data <- data[data$Date %in% c("1/2/2007", "2/2/2007"),]
# We need to format the Date and Time variables i... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SDA_query.R
\name{format_SQL_in_statement}
\alias{format_SQL_in_statement}
\title{Format vector of values into a string suitable for an SQL \code{IN} statement.}
\usage{
format_SQL_in_statement(x)
}
\arguments{
\item{x}{A character v... | /man/format_SQL_in_statement.Rd | no_license | cran/soilDB | R | false | true | 783 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SDA_query.R
\name{format_SQL_in_statement}
\alias{format_SQL_in_statement}
\title{Format vector of values into a string suitable for an SQL \code{IN} statement.}
\usage{
format_SQL_in_statement(x)
}
\arguments{
\item{x}{A character v... |
univariateScore = function(target, dataset, test, wei = NULL, dataInfo = NULL, targetID = -1, robust = FALSE, ncores = 1) {
#how many tests
nTests = dim(dataset)[2];
univariateModels = NULL;
univariateModels$pvalue = numeric(nTests)
univariateModels$stat = numeric(nTests)
univariateModels$flag = nume... | /R/univariateScore.R | no_license | JokerWhy233/MXM | R | false | false | 943 | r | univariateScore = function(target, dataset, test, wei = NULL, dataInfo = NULL, targetID = -1, robust = FALSE, ncores = 1) {
#how many tests
nTests = dim(dataset)[2];
univariateModels = NULL;
univariateModels$pvalue = numeric(nTests)
univariateModels$stat = numeric(nTests)
univariateModels$flag = nume... |
# In order to reproduce the graphs, you will need access to the PIPE dataset by
# Adam Przeworski et. al. This dataset is available here:
# https://sites.google.com/a/nyu.edu/adam-przeworski/home/data
#
# The dataset requires a bit of cleanup before the graphs below can be reproduced
# exactly. The country names (colum... | /Processing PIPE.R | no_license | xmarquez/History-of-Elections | R | false | false | 15,073 | r | # In order to reproduce the graphs, you will need access to the PIPE dataset by
# Adam Przeworski et. al. This dataset is available here:
# https://sites.google.com/a/nyu.edu/adam-przeworski/home/data
#
# The dataset requires a bit of cleanup before the graphs below can be reproduced
# exactly. The country names (colum... |
##########Data preparation##########
# load packages
library(MASS)
library(ggplot2)
library(dplyr)
library(lattice)
library(latticeExtra)
library(haven)
library(grid)
library(csv)
library(foreign)
library(scatterplot3d)
library(rgl)
library(plot3D)
# load data
bimatrix_choice <- read.csv("D:/Dropbox/Working Papers/Wh... | /analysis_mm.R | no_license | fenixzhao1/asymmetric_matching_pennies | R | false | false | 56,601 | r | ##########Data preparation##########
# load packages
library(MASS)
library(ggplot2)
library(dplyr)
library(lattice)
library(latticeExtra)
library(haven)
library(grid)
library(csv)
library(foreign)
library(scatterplot3d)
library(rgl)
library(plot3D)
# load data
bimatrix_choice <- read.csv("D:/Dropbox/Working Papers/Wh... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TernaryPoints.R
\name{SymmetricDifferenceLineEnds}
\alias{SymmetricDifferenceLineEnds}
\alias{SymmetricDifferenceLines}
\title{Plot contours of equal symmetric difference on a ternary plot}
\usage{
SymmetricDifferenceLineEnds(nsd)
SymmetricD... | /Quartet/man/SymmetricDifferenceLineEnds.Rd | no_license | akhikolla/InformationHouse | R | false | true | 1,133 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TernaryPoints.R
\name{SymmetricDifferenceLineEnds}
\alias{SymmetricDifferenceLineEnds}
\alias{SymmetricDifferenceLines}
\title{Plot contours of equal symmetric difference on a ternary plot}
\usage{
SymmetricDifferenceLineEnds(nsd)
SymmetricD... |
library(mrMLM.GUI)
### Name: mrMLMFun
### Title: To perform GWAS with mrMLM method
### Aliases: mrMLMFun
### ** Examples
G1=data(mrgen)
P1=data(mrphe)
G2=data(mrgenraw)
result=mrMLMFun(mrgen,mrphe,outATCG=NULL,mrgenraw,kk=NULL,psmatrix=NULL,
0.01,20,3,1,CLO=1)
| /data/genthat_extracted_code/mrMLM.GUI/examples/mrMLMFun.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 268 | r | library(mrMLM.GUI)
### Name: mrMLMFun
### Title: To perform GWAS with mrMLM method
### Aliases: mrMLMFun
### ** Examples
G1=data(mrgen)
P1=data(mrphe)
G2=data(mrgenraw)
result=mrMLMFun(mrgen,mrphe,outATCG=NULL,mrgenraw,kk=NULL,psmatrix=NULL,
0.01,20,3,1,CLO=1)
|
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/dataDoc.R
\docType{data}
\name{anthuneq}
\alias{anthuneq}
\title{anthuneq}
\format{data.frame}
\source{
Sharon Lohr (2010). \emph{Sampling: Design and Analysis, 2nd Edition}, Duxbury Press.
}
\usage{
anthuneq
}
\description{
A dataset... | /man/anthuneq.Rd | no_license | FinitePopulationSampling/lohrData | R | false | false | 376 | rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/dataDoc.R
\docType{data}
\name{anthuneq}
\alias{anthuneq}
\title{anthuneq}
\format{data.frame}
\source{
Sharon Lohr (2010). \emph{Sampling: Design and Analysis, 2nd Edition}, Duxbury Press.
}
\usage{
anthuneq
}
\description{
A dataset... |
library(dplyr)
library(tidyverse)
library(jsonlite)
library(readr)
library(lubridate)
library(data.table)
#setwd("hackathon/base/")
setwd("/Users/micaelfilipe/Documents/Plurata/gitlab/hackathon/base")
sgt_assuntos <- read_delim("sgt_assuntos.csv",
";", escape_double = FALSE, col_types = col... | /Scripts em R/classe_assunto_tribunal.R | no_license | pluratabr/desafio2 | R | false | false | 3,625 | r | library(dplyr)
library(tidyverse)
library(jsonlite)
library(readr)
library(lubridate)
library(data.table)
#setwd("hackathon/base/")
setwd("/Users/micaelfilipe/Documents/Plurata/gitlab/hackathon/base")
sgt_assuntos <- read_delim("sgt_assuntos.csv",
";", escape_double = FALSE, col_types = col... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transfer_operations.R
\name{transfer_delete_ssh_public_key}
\alias{transfer_delete_ssh_public_key}
\title{Deletes a user's Secure Shell (SSH) public key}
\usage{
transfer_delete_ssh_public_key(ServerId, SshPublicKeyId, UserName)
}
\arguments{... | /paws/man/transfer_delete_ssh_public_key.Rd | permissive | jcheng5/paws | R | false | true | 970 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transfer_operations.R
\name{transfer_delete_ssh_public_key}
\alias{transfer_delete_ssh_public_key}
\title{Deletes a user's Secure Shell (SSH) public key}
\usage{
transfer_delete_ssh_public_key(ServerId, SshPublicKeyId, UserName)
}
\arguments{... |
#' sCA_selectedDge
#' stores table with differentially expressed genes
#' is used to export file and write csv file
sCA_selectedDge <- reactiveValues(
sCA_dgeTable = data.frame()
)
#' sCA_getCells
#' get list of cells from selctions
sCA_getCells <- function(projections, cl1, db1, db2) {
if (DEBUG) cat(file = stde... | /contributions/sCA_subClusterAnalysis/reactives.R | permissive | qindan2008/scShinyHub | R | false | false | 9,322 | r | #' sCA_selectedDge
#' stores table with differentially expressed genes
#' is used to export file and write csv file
sCA_selectedDge <- reactiveValues(
sCA_dgeTable = data.frame()
)
#' sCA_getCells
#' get list of cells from selctions
sCA_getCells <- function(projections, cl1, db1, db2) {
if (DEBUG) cat(file = stde... |
#Description: Given a list of data directories, parse out the CV score predicted by scggm.
#report the errors with the data IDs, the tune IDs, and report the top performing tune IDs.
#returns a data
report_cv_score <- function(ddirs, topn = 5) {
library(foreach)
cve <- foreach(i = seq_along(ddirs)) %do% {
di... | /hub11-20/tune/hub11-20-250/scggm/report-top-scggm-tunings.R | no_license | topherconley/sim-spacemap | R | false | false | 1,452 | r | #Description: Given a list of data directories, parse out the CV score predicted by scggm.
#report the errors with the data IDs, the tune IDs, and report the top performing tune IDs.
#returns a data
report_cv_score <- function(ddirs, topn = 5) {
library(foreach)
cve <- foreach(i = seq_along(ddirs)) %do% {
di... |
\name{cont.index}
\alias{cont.index}
\title{ Continuity index }
\description{ This is an internal function. It uses continuity index (or "run filter") to select putative peaks from EIC. }
\usage{
cont.index(newprof, min.pres = 0.6, min.run = 5)
}
\arguments{
\item{newprof}{ The matrix containing m/z, retention time, ... | /apLCMS/man/cont.index.Rd | permissive | RECETOX/apLCMS | R | false | false | 1,251 | rd | \name{cont.index}
\alias{cont.index}
\title{ Continuity index }
\description{ This is an internal function. It uses continuity index (or "run filter") to select putative peaks from EIC. }
\usage{
cont.index(newprof, min.pres = 0.6, min.run = 5)
}
\arguments{
\item{newprof}{ The matrix containing m/z, retention time, ... |
664ce4f01a11c930c46d044a1372dd2a ctrl.e#1.a#3.E#130.A#48.c#.w#7.s#43.asp.qdimacs 7457 21838 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3.E#130.A#48.c#.w#7.s#43.asp/ctrl.e#1.a#3.E#130.A#48.c#.w#7.s#43.asp.R | no_license | arey0pushpa/dcnf-autarky | R | false | false | 91 | r | 664ce4f01a11c930c46d044a1372dd2a ctrl.e#1.a#3.E#130.A#48.c#.w#7.s#43.asp.qdimacs 7457 21838 |
# server.R script for Carboplatin dosing prototype App
# -----------------------------------------------------------------------------
# Reactive objects (i.e., those dependent on widget input) are written here
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Server
server <- functio... | /app/server.R | no_license | jhhughes256/carbo_app | R | false | false | 2,100 | r | # server.R script for Carboplatin dosing prototype App
# -----------------------------------------------------------------------------
# Reactive objects (i.e., those dependent on widget input) are written here
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Server
server <- functio... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_dmod.R
\name{compute_dmod_npar}
\alias{compute_dmod_npar}
\title{Function for computing non-parametric \eqn{d_{Mod}}{d_Mod} effect sizes for a single focal group}
\usage{
compute_dmod_npar(
referent_int,
referent_slope,
focal_in... | /man/compute_dmod_npar.Rd | no_license | Meta-Repository/psychmeta | R | false | true | 6,709 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_dmod.R
\name{compute_dmod_npar}
\alias{compute_dmod_npar}
\title{Function for computing non-parametric \eqn{d_{Mod}}{d_Mod} effect sizes for a single focal group}
\usage{
compute_dmod_npar(
referent_int,
referent_slope,
focal_in... |
# Copyright 2015-2016 Fondazione Istituto Italiano di Tecnologia.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | /pipeline/merging.R | permissive | arnaudceol/htsflow | R | false | false | 7,961 | r | # Copyright 2015-2016 Fondazione Istituto Italiano di Tecnologia.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... |
# Exercise 4: practicing with dplyr
# Install the `"nycflights13"` package. Load (`library()`) the package.
# You'll also need to load `dplyr`
library(nycflights13)
library(dplyr)
# The data frame `flights` should now be accessible to you.
# Use functions to inspect it: how many rows and columns does it have?
# What ... | /chapter-11-exercises/exercise-4/exercise.R | permissive | maidavidx/book-exercises | R | false | false | 2,293 | r | # Exercise 4: practicing with dplyr
# Install the `"nycflights13"` package. Load (`library()`) the package.
# You'll also need to load `dplyr`
library(nycflights13)
library(dplyr)
# The data frame `flights` should now be accessible to you.
# Use functions to inspect it: how many rows and columns does it have?
# What ... |
library("plyr")
## Merges the training and the test sets to create one data set
x_test <- read.table("UCI HAR Dataset/test/X_test.txt", header = FALSE)
x_train <- read.table("UCI HAR Dataset/train/X_train.txt", header = FALSE)
subject_train <- read.table("UCI HAR Dataset/train/subject_train.txt", header = FALSE, col.na... | /run_analysis.R | no_license | Bogstag/HumanActivityRecognitionUsingSmartphones | R | false | false | 2,044 | r | library("plyr")
## Merges the training and the test sets to create one data set
x_test <- read.table("UCI HAR Dataset/test/X_test.txt", header = FALSE)
x_train <- read.table("UCI HAR Dataset/train/X_train.txt", header = FALSE)
subject_train <- read.table("UCI HAR Dataset/train/subject_train.txt", header = FALSE, col.na... |
library(magrittr)
source(here::here("utils", "load-submissions-function.R"))
source(here::here("utils", "current-forecast-submission-date.R"))
# get weights ------------------------------------------------------------------
# Get past forecasts
past_forecasts <- load_submission_files(dates = "all",
... | /ensembling/qra-state-ensemble/update-state-qra-ensemble.R | permissive | signaturescience/covid-us-forecasts | R | false | false | 4,986 | r |
library(magrittr)
source(here::here("utils", "load-submissions-function.R"))
source(here::here("utils", "current-forecast-submission-date.R"))
# get weights ------------------------------------------------------------------
# Get past forecasts
past_forecasts <- load_submission_files(dates = "all",
... |
#FIGURE
#Mort par années
barplot(vect_mort,names.arg=c("2013","2014","2015","2016","2017","2018"))
#Blésés par années
barplot(vect_blese,names.arg=c("2013","2014","2015","2016","2017","2018"))
#NB Tot blésés mort + blésés par années
barplot(vect_tot,names.arg=c("2013","2014","2015","2016","2017","2018"))
#NB mort par m... | /fig/figMort_temps.r | no_license | lormax83/Projet-R | R | false | false | 1,648 | r | #FIGURE
#Mort par années
barplot(vect_mort,names.arg=c("2013","2014","2015","2016","2017","2018"))
#Blésés par années
barplot(vect_blese,names.arg=c("2013","2014","2015","2016","2017","2018"))
#NB Tot blésés mort + blésés par années
barplot(vect_tot,names.arg=c("2013","2014","2015","2016","2017","2018"))
#NB mort par m... |
#chiao,ilan,lotung,suao,toucheng
#dongshan,jhuangwei,sanxing,wujie,yuanshan
talk_data_clean<-NULL
#######################
talk_TW_all<-NULL
talk_other_all<-NULL
all_talk_data<-NULL
path_x<-paste('C:/pro/data/add_detal_of_data2/','toucheng','talk.csv',sep = "")
data_value<-read.csv(path_x)
#TW
talk_TW_all<-data_value[,... | /not_TW/talk_value_add.R | no_license | andy400400/FB_insights_crawler_2 | R | false | false | 942 | r | #chiao,ilan,lotung,suao,toucheng
#dongshan,jhuangwei,sanxing,wujie,yuanshan
talk_data_clean<-NULL
#######################
talk_TW_all<-NULL
talk_other_all<-NULL
all_talk_data<-NULL
path_x<-paste('C:/pro/data/add_detal_of_data2/','toucheng','talk.csv',sep = "")
data_value<-read.csv(path_x)
#TW
talk_TW_all<-data_value[,... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrape_satr.R
\name{scrape_satr}
\alias{scrape_satr}
\title{Scrape SATR scores from a student's transcript}
\usage{
scrape_satr(.data)
}
\arguments{
\item{.data}{A character vector returned from the read_transcript function.}
}
\value{
A tibb... | /man/scrape_satr.Rd | permissive | averyrobbins1/tidytranscript | R | false | true | 450 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrape_satr.R
\name{scrape_satr}
\alias{scrape_satr}
\title{Scrape SATR scores from a student's transcript}
\usage{
scrape_satr(.data)
}
\arguments{
\item{.data}{A character vector returned from the read_transcript function.}
}
\value{
A tibb... |
\name{Conclusion}
\alias{Conclusion}
\title{
Create all closing variables and formatting for the test and report creation process
}
\description{
This function declares all needed closing variables and formatting options for the test and report creation process
}
\usage{
Conclusion()
}
\value{
This function returns all... | /Sweavetest/man/Conclusion.Rd | no_license | dmurdoch/Sweavetest | R | false | false | 599 | rd | \name{Conclusion}
\alias{Conclusion}
\title{
Create all closing variables and formatting for the test and report creation process
}
\description{
This function declares all needed closing variables and formatting options for the test and report creation process
}
\usage{
Conclusion()
}
\value{
This function returns all... |
args=commandArgs(trailingOnly=TRUE)
x=read.delim(as.character(args[1]), header=F)
name1="cluster1"
name2="cluster2"
name3="cluster3"
#names=c("Proximal paternal", "Proximal maternal", "Proximal control", "Distal paternal", "Distal maternal", "Distal control")
names=c("Proximal Sperm TF-THSSs", "Proximal control")
#nam... | /preimplantation_DNAseSeq/getLinePlot_SpermPks.R | no_license | xjyx/Scripts-for-Kremsky-Corces-2020-Genome-Biology-paper | R | false | false | 2,087 | r | args=commandArgs(trailingOnly=TRUE)
x=read.delim(as.character(args[1]), header=F)
name1="cluster1"
name2="cluster2"
name3="cluster3"
#names=c("Proximal paternal", "Proximal maternal", "Proximal control", "Distal paternal", "Distal maternal", "Distal control")
names=c("Proximal Sperm TF-THSSs", "Proximal control")
#nam... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.