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 |
|---|---|---|---|---|---|---|---|---|---|
library(dplyr)
library(data.table)
library(ggplot2)
library(stringr)
#reading data
#loading the data
NEI_path <- list.files(pattern = "summarySCC_PM25.rds",
ignore.case = TRUE,
recursive = TRUE)
NEI <- readRDS(NEI_path) %>% data.table()
SCC_path <- list.files(pattern =... | /Johns Hopkins University/Exploratory Data Analysis/PM2.5 Emissions/emissions_research.R | no_license | ya-tsar/Coursera | R | false | false | 3,197 | r | library(dplyr)
library(data.table)
library(ggplot2)
library(stringr)
#reading data
#loading the data
NEI_path <- list.files(pattern = "summarySCC_PM25.rds",
ignore.case = TRUE,
recursive = TRUE)
NEI <- readRDS(NEI_path) %>% data.table()
SCC_path <- list.files(pattern =... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RMariaDBHelper.R
\name{db_add_col}
\alias{db_add_col}
\title{Add a Column (Field).}
\usage{
db_add_col(tablename, fieldname, fieldtype, conf_file = "~/.db_conf.yml")
}
\arguments{
\item{tablename}{(character) A table name in a database.}
\it... | /man/db_add_col.Rd | permissive | deohs/RMariaDBHelper | R | false | true | 955 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RMariaDBHelper.R
\name{db_add_col}
\alias{db_add_col}
\title{Add a Column (Field).}
\usage{
db_add_col(tablename, fieldname, fieldtype, conf_file = "~/.db_conf.yml")
}
\arguments{
\item{tablename}{(character) A table name in a database.}
\it... |
library(testthat)
library(CARBayesST)
test_check("CARBayesST", reporter = "summary")
| /CARBayesST/tests/testthat.R | no_license | akhikolla/TestedPackages-NoIssues | R | false | false | 85 | r | library(testthat)
library(CARBayesST)
test_check("CARBayesST", reporter = "summary")
|
#' @export
#' @title Map categoryoptioncombos to underlying categoryoptions.
#'
#' @description
#' maps categoryoptioncombos to underlying categoryoptions.
#'
#' @return dataframe of categoryoptioncombos mapped to underlying category
#' options
#'
map_Cs_to_COs <- function(d2_session = dynGet("d2_default_session",
... | /R/map_Cs_to_COs.R | permissive | Solanrewaju/datapackr | R | false | false | 1,491 | r | #' @export
#' @title Map categoryoptioncombos to underlying categoryoptions.
#'
#' @description
#' maps categoryoptioncombos to underlying categoryoptions.
#'
#' @return dataframe of categoryoptioncombos mapped to underlying category
#' options
#'
map_Cs_to_COs <- function(d2_session = dynGet("d2_default_session",
... |
panels.dt <- data.table::fread(
"Identifier_Plus_Panels_v1X.txt", sep="\t", skip=4)
some.names <- c(
"Marker", "color", "min.bases", "max.bases", "control.alleles",
"MarkerB", "comments", "ladder.alleles")
names(panels.dt)[1:length(some.names)] <- some.names
panels.dt[2][allele.dt, on="Marker", nomatch=0L]
## co... | /Identifier_Plus_Panels_v1X.R | no_license | tdhock/proved-it | R | false | false | 498 | r | panels.dt <- data.table::fread(
"Identifier_Plus_Panels_v1X.txt", sep="\t", skip=4)
some.names <- c(
"Marker", "color", "min.bases", "max.bases", "control.alleles",
"MarkerB", "comments", "ladder.alleles")
names(panels.dt)[1:length(some.names)] <- some.names
panels.dt[2][allele.dt, on="Marker", nomatch=0L]
## co... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Utils_SpectrumFunctions.R
\name{.fix_breaks}
\alias{.fix_breaks}
\title{function to fix breaks (based on MSnbase)}
\usage{
.fix_breaks(brks, rng)
}
\description{
function to fix breaks (based on MSnbase)
}
| /man/dot-fix_breaks.Rd | no_license | AspirinCode/masstrixR | R | false | true | 284 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Utils_SpectrumFunctions.R
\name{.fix_breaks}
\alias{.fix_breaks}
\title{function to fix breaks (based on MSnbase)}
\usage{
.fix_breaks(brks, rng)
}
\description{
function to fix breaks (based on MSnbase)
}
|
### This is an R script tangled from 'SI2.pdf.asis'
| /data/genthat_extracted_code/GMSE/vignettes/SI2.R | no_license | surayaaramli/typeRrh | R | false | false | 52 | r | ### This is an R script tangled from 'SI2.pdf.asis'
|
library(leaflet)
library(shiny)
library(ggmap)
library(dplyr)
# Choices for drop-down
vars<-c("HOMICIDE","SEX OFFENSE","BATTERY","DECEPTIVE PRACTICE","CRIM SEXUAL ASSAULT","THEFT",
"MOTOR VEHICLE THEFT","CRIMINAL DAMAGE","NARCOTICS","OTHER OFFENSE",
"PROSTITUTION","BURGLARY","OFFENSE INVOLVING CHILDRE... | /ui.R | no_license | urosgodnov/CrimesInChicago | R | false | false | 1,119 | r | library(leaflet)
library(shiny)
library(ggmap)
library(dplyr)
# Choices for drop-down
vars<-c("HOMICIDE","SEX OFFENSE","BATTERY","DECEPTIVE PRACTICE","CRIM SEXUAL ASSAULT","THEFT",
"MOTOR VEHICLE THEFT","CRIMINAL DAMAGE","NARCOTICS","OTHER OFFENSE",
"PROSTITUTION","BURGLARY","OFFENSE INVOLVING CHILDRE... |
\name{imageTogray}
\alias{imageTogray}
\title{Gray matrix}
\description{This function can compute a gray matrix from the RGB in an
image section. Such an image section can be compressed in
either portable network graphics format (png) or tagged image
file format (tif). }
\usage{imageTogray(image, ppi = NULL, ... | /man/imageTogray.Rd | no_license | cran/measuRing | R | false | false | 1,816 | rd | \name{imageTogray}
\alias{imageTogray}
\title{Gray matrix}
\description{This function can compute a gray matrix from the RGB in an
image section. Such an image section can be compressed in
either portable network graphics format (png) or tagged image
file format (tif). }
\usage{imageTogray(image, ppi = NULL, ... |
# Test - PEC data tracking, track data available to the consortia, note modified, new and deleted files.
# Author: Kelsey Montgomery
# Date: 2019.08.01
#'
#' Get Synapse fileview or table
#'
#' @param fileview_id A synId c().
#' @return A tibble.
#' @examples
#' fv <- get_fv("syn18691012")
#' table <- get_fv("syn205551... | /mypackage/R/process_functions.R | no_license | karawoo/fvToTable | R | false | false | 5,524 | r | # Test - PEC data tracking, track data available to the consortia, note modified, new and deleted files.
# Author: Kelsey Montgomery
# Date: 2019.08.01
#'
#' Get Synapse fileview or table
#'
#' @param fileview_id A synId c().
#' @return A tibble.
#' @examples
#' fv <- get_fv("syn18691012")
#' table <- get_fv("syn205551... |
##setwd("X:/dissertation/paper2/sims/predictions/output")
## sim1
load("sim1.edp.Rdata")
load("sim1.dp.Rdata")
load("sim1.me.Rdata")
print(mean(l1.edp))
print(mean(l2.edp))
print(mean(l1.dp))
print(mean(l2.dp))
print(mean(l1.me))
print(mean(l2.me))
## sim2
load("sim2.edp.Rdata")
load("sim2.... | /simulations/figure3/compile_res.r | no_license | zeldow/edp-extras | R | false | false | 8,645 | r | ##setwd("X:/dissertation/paper2/sims/predictions/output")
## sim1
load("sim1.edp.Rdata")
load("sim1.dp.Rdata")
load("sim1.me.Rdata")
print(mean(l1.edp))
print(mean(l2.edp))
print(mean(l1.dp))
print(mean(l2.dp))
print(mean(l1.me))
print(mean(l2.me))
## sim2
load("sim2.edp.Rdata")
load("sim2.... |
context("alleles.R")
test_that("testing", {
AA <- locus( c("A","A") )
AB <- locus( c("A","B") )
ZZ <- locus()
loci <- c(AA,AB,ZZ)
expect_that( alleles(AA), is_equivalent_to(c("A","A")) )
expect_that( alleles(AB), is_equivalent_to(c("A","B")) )
expect_that( alleles(ZZ), is_equivalent_to( character(... | /tests/testthat/test-alleles.R | no_license | dyerlab/gstudio | R | false | false | 513 | r | context("alleles.R")
test_that("testing", {
AA <- locus( c("A","A") )
AB <- locus( c("A","B") )
ZZ <- locus()
loci <- c(AA,AB,ZZ)
expect_that( alleles(AA), is_equivalent_to(c("A","A")) )
expect_that( alleles(AB), is_equivalent_to(c("A","B")) )
expect_that( alleles(ZZ), is_equivalent_to( character(... |
#############################################################################################
## Title: RBSA Analysis
## Author: Casey Stevens, Cadmus Group
## Created: 06/13/2017
## Updated:
## Billing ... | /Code - 02 28 2018/Table Code/Items 38-42.R | no_license | casey-stevens/Cadmus-6000-2017 | R | false | false | 69,341 | r | #############################################################################################
## Title: RBSA Analysis
## Author: Casey Stevens, Cadmus Group
## Created: 06/13/2017
## Updated:
## Billing ... |
dat2017 <- read.csv("~/R/vra_062017.csv", header = TRUE)
dat2018 <- read.csv("~/R/vra_062018.csv", header = TRUE)
# Ocorrências por companhia área. Quem voa mais?
summary(dat2017$ICAO.Empresa.Aerea)
summary(dat2018)
# Qual ano se voou mais entre 2017 e 2018?
length(dat2017$ICAO.Empresa.Aerea)
length(dat2018$ICAO.Empr... | /aula01.R | no_license | LarissaGuder/ia-class | R | false | false | 430 | r | dat2017 <- read.csv("~/R/vra_062017.csv", header = TRUE)
dat2018 <- read.csv("~/R/vra_062018.csv", header = TRUE)
# Ocorrências por companhia área. Quem voa mais?
summary(dat2017$ICAO.Empresa.Aerea)
summary(dat2018)
# Qual ano se voou mais entre 2017 e 2018?
length(dat2017$ICAO.Empresa.Aerea)
length(dat2018$ICAO.Empr... |
getwd()
setwd('/Users/leotemirov/Documents/R/кр/Апельсин')
dir()
{
generate.sale.level <- function(name, type, day = 7, goods = 2, list_of_goods = c('Молоко', 'Хлеб'), supply = 'in.txt', saleLevel = c(NA, 50, 34)){
days <- (1 : day)
name <- paste(name, '/out.txt', sep = '')
out.table <- data.frame(День = days)
... | /generate data/generation data 4.R | no_license | edradical/Orange- | R | false | false | 1,278 | r | getwd()
setwd('/Users/leotemirov/Documents/R/кр/Апельсин')
dir()
{
generate.sale.level <- function(name, type, day = 7, goods = 2, list_of_goods = c('Молоко', 'Хлеб'), supply = 'in.txt', saleLevel = c(NA, 50, 34)){
days <- (1 : day)
name <- paste(name, '/out.txt', sep = '')
out.table <- data.frame(День = days)
... |
# -----------------------------------------------------------------------------------------------------------
# Research: A comparison of meta-analysis methods: Understanding the influence of experiments'
# statistical parameters
# File name: wmd-functions.R
# File type: secondary R Script
# Date: March... | /R/wmd-functions.R | no_license | GRISE-UPM/comparison.of.meta.analysis.methods | R | false | false | 4,038 | r | # -----------------------------------------------------------------------------------------------------------
# Research: A comparison of meta-analysis methods: Understanding the influence of experiments'
# statistical parameters
# File name: wmd-functions.R
# File type: secondary R Script
# Date: March... |
rm(list=ls())
load("./Data/project data.RData")
first_lasso_x <- model.matrix(HIVper100000 ~ ., D0)[, -1]
first_lasso_y <- scale(D0$HIVper100000)
first_lassoCV <- cv.glmnet(
x = first_lasso_x,
y = first_lasso_y,
alpha = 1,
nfolds = 10,
standardize = FALSE
)
selected_1stlasso = coef(first_lassoCV, s = "lamb... | /PS Double lasso.R | no_license | PaulSt4/predicting-hiv | R | false | false | 3,985 | r | rm(list=ls())
load("./Data/project data.RData")
first_lasso_x <- model.matrix(HIVper100000 ~ ., D0)[, -1]
first_lasso_y <- scale(D0$HIVper100000)
first_lassoCV <- cv.glmnet(
x = first_lasso_x,
y = first_lasso_y,
alpha = 1,
nfolds = 10,
standardize = FALSE
)
selected_1stlasso = coef(first_lassoCV, s = "lamb... |
cacSingleStart <- function(uStart,
n, p, coxX, coxY, coxInt, uniqY, yCt,
x, y, d, k,
hazRestrict=c("none", "proportional", "identical"),
maxiter=Inf, eps=1e-10, uThresh=1e-8, trace=FALSE,
... | /R/cacSingleStart.R | no_license | mikewurm/cac | R | false | false | 2,544 | r | cacSingleStart <- function(uStart,
n, p, coxX, coxY, coxInt, uniqY, yCt,
x, y, d, k,
hazRestrict=c("none", "proportional", "identical"),
maxiter=Inf, eps=1e-10, uThresh=1e-8, trace=FALSE,
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/passsword.generator.r
\name{passwords}
\alias{passwords}
\title{A password generator and safe}
\usage{
passwords(master, sites = c("work email", "online bank", "gmail"),
changes = c(1, 1, 1, 1, 1, 1), how.many.letters = 9,
how.many.LETTER... | /man/passwords.Rd | no_license | duplisea/passwrd | R | false | true | 1,234 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/passsword.generator.r
\name{passwords}
\alias{passwords}
\title{A password generator and safe}
\usage{
passwords(master, sites = c("work email", "online bank", "gmail"),
changes = c(1, 1, 1, 1, 1, 1), how.many.letters = 9,
how.many.LETTER... |
### TITLE : Integrated analysis with Seurat
### AUTHOR : Javier Perales-Patón - javier.perales@bioquant.uni-heidelberg.de
### DESCRIPTION : Integrated analysis with Seurat to for two scRNA-seq samples from two different conditions
suppressPackageStartupMessages(require(Seurat))
suppressPackageStartupMessages(require(... | /src/integrated_seurat.R | no_license | jperales/seurat_wrapper_kidney | R | false | false | 10,451 | r | ### TITLE : Integrated analysis with Seurat
### AUTHOR : Javier Perales-Patón - javier.perales@bioquant.uni-heidelberg.de
### DESCRIPTION : Integrated analysis with Seurat to for two scRNA-seq samples from two different conditions
suppressPackageStartupMessages(require(Seurat))
suppressPackageStartupMessages(require(... |
#' @export LMBootstrapTest
#' @md
#' @title Perform a test on the effects from the model
#' @description Compute a partial model without the tested effects then estimate the residuals. Next, compute new outcomes from the predicted values of the partial model and sampled residuals. Finally, compute the Sum of Squares an... | /R/LMBootstrapTest.R | no_license | Daadia/LMWiRe-1 | R | false | false | 7,623 | r | #' @export LMBootstrapTest
#' @md
#' @title Perform a test on the effects from the model
#' @description Compute a partial model without the tested effects then estimate the residuals. Next, compute new outcomes from the predicted values of the partial model and sampled residuals. Finally, compute the Sum of Squares an... |
#' Add a path of nodes to the graph
#' @description With a graph object of class
#' \code{dgr_graph}, add a node path to the graph.
#' @param graph a graph object of class
#' \code{dgr_graph}.
#' @param n the number of nodes comprising the path.
#' @param type an optional string that describes the
#' entity type for th... | /R/add_path.R | permissive | akkalbist55/DiagrammeR | R | false | false | 8,424 | r | #' Add a path of nodes to the graph
#' @description With a graph object of class
#' \code{dgr_graph}, add a node path to the graph.
#' @param graph a graph object of class
#' \code{dgr_graph}.
#' @param n the number of nodes comprising the path.
#' @param type an optional string that describes the
#' entity type for th... |
library(shiny)
# DEFINE UI FUNCTION #######################################
ui <- fluidPage(
titlePanel("Charting Scratch Data"),
sidebarLayout(
sidebarPanel(
# Dropdown menu for selecting variable from sracth data.
selectInput("var",
label = "Select X Axis Variable",
... | /ScratchDoubleInputScatterShiny.R | no_license | kaushikburra1208/Data-Visualization-Project--Tableau-and-R-Shiny | R | false | false | 1,857 | r | library(shiny)
# DEFINE UI FUNCTION #######################################
ui <- fluidPage(
titlePanel("Charting Scratch Data"),
sidebarLayout(
sidebarPanel(
# Dropdown menu for selecting variable from sracth data.
selectInput("var",
label = "Select X Axis Variable",
... |
library(tidyverse)
library(lfe)
setwd("/run/media/john/1TB/SpiderOak/Projects/crop-choice-and-adaptation/")
# Crop data
regdat <- readRDS("data/full_ag_data.rds")
# trend1_al + trend1_ar + trend1_de + trend1_ga + trend1_ia + trend1_il +
# trend1_in + trend1_ks + trend1_ky + trend1_md + trend1_mi + trend1_mn +
# ... | /05-rev_crop_regression.R | no_license | johnwoodill/crop-choice-and-adaptation | R | false | false | 3,426 | r | library(tidyverse)
library(lfe)
setwd("/run/media/john/1TB/SpiderOak/Projects/crop-choice-and-adaptation/")
# Crop data
regdat <- readRDS("data/full_ag_data.rds")
# trend1_al + trend1_ar + trend1_de + trend1_ga + trend1_ia + trend1_il +
# trend1_in + trend1_ks + trend1_ky + trend1_md + trend1_mi + trend1_mn +
# ... |
cairo_header <- list(
cairo_create = list(
include = TRUE,
gtkdoc = r"{/**
* cairo_create:
* @target: target surface for the context
*
* Creates a new #cairo_t with all graphics state parameters set to
* default values and with @target as a target surface. The target
* surface should ... | /data-raw/headers-r/cairo-header.R | permissive | coolbutuseless/cairocore | R | false | false | 90,776 | r | cairo_header <- list(
cairo_create = list(
include = TRUE,
gtkdoc = r"{/**
* cairo_create:
* @target: target surface for the context
*
* Creates a new #cairo_t with all graphics state parameters set to
* default values and with @target as a target surface. The target
* surface should ... |
library(glmnet)
data = read.table(file = 'F:/OneDrive/UV/GI04/SY19/Projet 1/TPN1_a20_reg_app.txt', header = TRUE)
x = model.matrix(y~., data = data)
y = data$y
cv.out = cv.glmnet(x = x, y = y, alpha = 1)
plot(cv.out)
fit.lasso = glmnet(x = x, y = y, lambda=cv.out$lambda.min, alpha = 1)
# lasso.pred = predict(fit.... | /DataPrediction/code/jingyuan.r | no_license | Kerudal/MachineLearning | R | false | false | 409 | r | library(glmnet)
data = read.table(file = 'F:/OneDrive/UV/GI04/SY19/Projet 1/TPN1_a20_reg_app.txt', header = TRUE)
x = model.matrix(y~., data = data)
y = data$y
cv.out = cv.glmnet(x = x, y = y, alpha = 1)
plot(cv.out)
fit.lasso = glmnet(x = x, y = y, lambda=cv.out$lambda.min, alpha = 1)
# lasso.pred = predict(fit.... |
complete <- function(directory, id = 1:332) {
dataframe = NULL ## initializing the dataframe we want from this function
setwd(directory) ## setting the directory
#Looping through the directory's files specified in the 'id' argument
for (i in id)
{
## Due to the format of the filename, i.e 0... | /complete.R | no_license | bibhuashish/datasciencecoursera | R | false | false | 1,903 | r | complete <- function(directory, id = 1:332) {
dataframe = NULL ## initializing the dataframe we want from this function
setwd(directory) ## setting the directory
#Looping through the directory's files specified in the 'id' argument
for (i in id)
{
## Due to the format of the filename, i.e 0... |
## Up until R 2.15.0, the require("methods") is needed but (now)
## triggers an warning from R CMD check
# .onLoad <- function(libname, pkgname){
# #require("methods") ## needed with R <= 2.15.0
# loadRcppModules()
# }
## For R 2.15.1 and later this also works. Note that calling loadModule() triggers
## a lo... | /ClustMMDD/R/zzz.R | no_license | akhikolla/TestedPackages-NoIssues | R | false | false | 895 | r |
## Up until R 2.15.0, the require("methods") is needed but (now)
## triggers an warning from R CMD check
# .onLoad <- function(libname, pkgname){
# #require("methods") ## needed with R <= 2.15.0
# loadRcppModules()
# }
## For R 2.15.1 and later this also works. Note that calling loadModule() triggers
## a lo... |
testlist <- list(doy = c(-Inf, 0), latitude = c(-6.93132091139805e-107, 1.86807199752012e+112, -Inf, 2.00994342527714e-162, 1.81541609400943e-79, 7.89363004998324e+139, 2.3317908961407e-93, NaN, -1.51345790188863e+21, 1.44942408802595e-285, -1.72131968218895e+83, 0), temp = c(8.5728629954997e-312, 1.56898424065867e+... | /meteor/inst/testfiles/ET0_ThornthwaiteWilmott/AFL_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1615833220-test.R | no_license | akhikolla/updatedatatype-list3 | R | false | false | 421 | r | testlist <- list(doy = c(-Inf, 0), latitude = c(-6.93132091139805e-107, 1.86807199752012e+112, -Inf, 2.00994342527714e-162, 1.81541609400943e-79, 7.89363004998324e+139, 2.3317908961407e-93, NaN, -1.51345790188863e+21, 1.44942408802595e-285, -1.72131968218895e+83, 0), temp = c(8.5728629954997e-312, 1.56898424065867e+... |
/sta_r/sta_anova.R | no_license | plus4u/R | R | false | false | 2,458 | r | ||
#' Title: rank normalization
#'
#' @param x : vector and as numeric outcome
#'
#' @return normalize value
#' @export
#'
#' @examples
rank_normalization<-function(x){
qnorm((rank(x,na.last="keep")-0.5)/length(x))
}
#' Title: Metaboomics association test
#'
#' @param phenotype :data frame of the phenotype includ... | /Code/run_metab_assocciation_test.R | no_license | nkurniansyah/SDB_Multi_Omics | R | false | false | 1,991 | r |
#' Title: rank normalization
#'
#' @param x : vector and as numeric outcome
#'
#' @return normalize value
#' @export
#'
#' @examples
rank_normalization<-function(x){
qnorm((rank(x,na.last="keep")-0.5)/length(x))
}
#' Title: Metaboomics association test
#'
#' @param phenotype :data frame of the phenotype includ... |
##----------------------------------------------------------------------------##
## Function to plot expression in trajectory (for export).
##----------------------------------------------------------------------------##
pltExpTrj2DSglPanExp <- function(
df,
trajectory_edges,
point_size,
point_opacity,
point_... | /inst/shiny/v1.3/gene_expression/func_pltExpTrj2DSglPanExp.R | permissive | romanhaa/cerebroApp | R | false | false | 1,913 | r | ##----------------------------------------------------------------------------##
## Function to plot expression in trajectory (for export).
##----------------------------------------------------------------------------##
pltExpTrj2DSglPanExp <- function(
df,
trajectory_edges,
point_size,
point_opacity,
point_... |
# =========================================
# Average values
# =========================================
# libraries
#
head(InsectSprays)
tapply(InsectSprays$count, InsectSprays$spray, sum)
# Split
split_by_name<-split(InsectSprays$count, InsectSprays$spray)
split_by_name
# Now summarize result
split_by_name_sum=lap... | /various/splits.R | no_license | lostromich/learn_r | R | false | false | 635 | r | # =========================================
# Average values
# =========================================
# libraries
#
head(InsectSprays)
tapply(InsectSprays$count, InsectSprays$spray, sum)
# Split
split_by_name<-split(InsectSprays$count, InsectSprays$spray)
split_by_name
# Now summarize result
split_by_name_sum=lap... |
\name{nnmiss}
\alias{nnmiss}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Auxiliary function for knn imputation}
\description{
This function is required to perform k-nn imputation.
}
\usage{
nnmiss(x, xmiss, ismiss, xnom, K = 1)
}
\arguments{
\item{x}{ A submatrix of complete row... | /man/nnmiss.Rd | no_license | a704261687/dprep | R | false | false | 661 | rd | \name{nnmiss}
\alias{nnmiss}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Auxiliary function for knn imputation}
\description{
This function is required to perform k-nn imputation.
}
\usage{
nnmiss(x, xmiss, ismiss, xnom, K = 1)
}
\arguments{
\item{x}{ A submatrix of complete row... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metrics-methods.R
\name{metrics}
\alias{metrics}
\alias{metricsPerSample}
\alias{metrics,SummarizedExperiment-method}
\alias{metrics,SingleCellExperiment-method}
\alias{metricsPerSample,SingleCellExperiment-method}
\title{Quality control metr... | /man/metrics.Rd | permissive | trichelab/basejump | R | false | true | 2,407 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metrics-methods.R
\name{metrics}
\alias{metrics}
\alias{metricsPerSample}
\alias{metrics,SummarizedExperiment-method}
\alias{metrics,SingleCellExperiment-method}
\alias{metricsPerSample,SingleCellExperiment-method}
\title{Quality control metr... |
#' Plot marginal effects from two-way interactions in linear regressions
#'
#' @param obj fitted model object from \code{lm}.
#' @param term1 character string of the first constitutive term of the
#' interaction's variable name.
#' @param term2 character string of the second constitutive term of the
#' interaction's va... | /R/plot_me.R | no_license | christophergandrud/plotMElm | R | false | false | 8,386 | r | #' Plot marginal effects from two-way interactions in linear regressions
#'
#' @param obj fitted model object from \code{lm}.
#' @param term1 character string of the first constitutive term of the
#' interaction's variable name.
#' @param term2 character string of the second constitutive term of the
#' interaction's va... |
#1
A = read.table(file = "D:/UTT/IF17/IF17_TP5/image_originale.txt")
#2
cat(dim(A))
#3
cat(mode(A))
#4
#solution 1
#C = matrix(unlist(A), ncol=256, byrow=FALSE)
#solution 2
columns = cbind()
for (i in 1:length(A)){
columns = cbind(columns, A[[i]])
}
C = matrix(c(columns), 256, 256)
ima... | /Scripts/IF17_TD_1_R.R | no_license | LucasNoga/Workspace-R | R | false | false | 1,552 | r | #1
A = read.table(file = "D:/UTT/IF17/IF17_TP5/image_originale.txt")
#2
cat(dim(A))
#3
cat(mode(A))
#4
#solution 1
#C = matrix(unlist(A), ncol=256, byrow=FALSE)
#solution 2
columns = cbind()
for (i in 1:length(A)){
columns = cbind(columns, A[[i]])
}
C = matrix(c(columns), 256, 256)
ima... |
#' Replicate agreement table
#'
#' Generates a table of environmental samples and replicates and calculates relative percent difference
#' @param qw.data A qw.data object generated by readNWISodbc
#' @examples
#' data("exampleData",package="WQReview")
#' repTablerOut <- repTabler(qw.data=qw.data)
#' @importFrom dplyr... | /R/repTabler.R | no_license | dcalhoun-usgs/WQ-Review | R | false | false | 3,716 | r | #' Replicate agreement table
#'
#' Generates a table of environmental samples and replicates and calculates relative percent difference
#' @param qw.data A qw.data object generated by readNWISodbc
#' @examples
#' data("exampleData",package="WQReview")
#' repTablerOut <- repTabler(qw.data=qw.data)
#' @importFrom dplyr... |
##' @include GWidget.R
##' @include dialogs.R
##' @include gtable.R
##' @include tablelist.R
NULL
##' Toolkit constructor
##'
##' @inheritParams gWidgets2::gdf
##' @export
##' @rdname gWidgets2tcltk-undocumented
##' @method .gdf guiWidgetsToolkittcltk
##' @S3method .gdf guiWidgetsToolkittcltk
.gdf.guiWidgetsToolkittcl... | /R/gdf.R | no_license | maclean/gWidgets2tcltk | R | false | false | 6,016 | r | ##' @include GWidget.R
##' @include dialogs.R
##' @include gtable.R
##' @include tablelist.R
NULL
##' Toolkit constructor
##'
##' @inheritParams gWidgets2::gdf
##' @export
##' @rdname gWidgets2tcltk-undocumented
##' @method .gdf guiWidgetsToolkittcltk
##' @S3method .gdf guiWidgetsToolkittcltk
.gdf.guiWidgetsToolkittcl... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Pooled.R
\name{pancultural}
\alias{pancultural}
\title{Creating a Pan-Cultural Loading Matrix}
\usage{
pancultural(df, group, nfactors)
}
\arguments{
\item{df}{A data frame contains the variables for the exploratory factor
analysis and the gr... | /man/pancultural.Rd | no_license | Jo-Karl/ccpsyc | R | false | true | 629 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Pooled.R
\name{pancultural}
\alias{pancultural}
\title{Creating a Pan-Cultural Loading Matrix}
\usage{
pancultural(df, group, nfactors)
}
\arguments{
\item{df}{A data frame contains the variables for the exploratory factor
analysis and the gr... |
library(prideRstats)
context("Test Example")
test_that("A test example", {
expect_equal(TRUE, TRUE)
}) | /tests/testthat/testExample.R | no_license | PRIDE-R/prideRstats | R | false | false | 112 | r | library(prideRstats)
context("Test Example")
test_that("A test example", {
expect_equal(TRUE, TRUE)
}) |
#' Stage Structure Population Model using Leslie Matrix
#'
#' @param fecundity fecundity rates
#' @param survivorship survivorship rates
#' @param Po initial population
#' @param nstep number of time steps
#' @param K carrying capacity
#' @return population structure for each time step (OR error message if population ... | /R/snpl.R | no_license | DonnyDHKim/ESM232_FinalProject | R | false | false | 6,687 | r | #' Stage Structure Population Model using Leslie Matrix
#'
#' @param fecundity fecundity rates
#' @param survivorship survivorship rates
#' @param Po initial population
#' @param nstep number of time steps
#' @param K carrying capacity
#' @return population structure for each time step (OR error message if population ... |
x <- c("A","B","C",rep("D",3))
y <- 1:6
z <- c(seq(10,45,length=5),-10)
mondf <- data.frame(x,y,z)
mondf
mondf[1:4,2:3]
mondf$z
mondf["z"]
mondf$x[2:4]
mondf[mondf$y>4,]
mondf[(mondf$y>4)|(mondf$z>17),]
mondf[(mondf$y>4)&(mondf$z>17),]
mondf[mondf$y>4,1:2]
mondf[mondf$y>4,c('x','y')]
| /selection_df.R | no_license | jorickdefraine/basics_in_R | R | false | false | 289 | r | x <- c("A","B","C",rep("D",3))
y <- 1:6
z <- c(seq(10,45,length=5),-10)
mondf <- data.frame(x,y,z)
mondf
mondf[1:4,2:3]
mondf$z
mondf["z"]
mondf$x[2:4]
mondf[mondf$y>4,]
mondf[(mondf$y>4)|(mondf$z>17),]
mondf[(mondf$y>4)&(mondf$z>17),]
mondf[mondf$y>4,1:2]
mondf[mondf$y>4,c('x','y')]
|
library(RJSONIO)
library(stringr)
library(plyr)
library(RCurl)
library(lubridate)
library(sp)
library(doBy)
setClass("formhubData", representation("data.frame", form="data.frame"), contains="data.frame")
#' Produce a data.frame out of a formhubDataObj
#'
#' @param the formhub object which will be possibly co-erced t... | /R/formhub.R | no_license | popstick/ona.r | R | false | false | 20,113 | r | library(RJSONIO)
library(stringr)
library(plyr)
library(RCurl)
library(lubridate)
library(sp)
library(doBy)
setClass("formhubData", representation("data.frame", form="data.frame"), contains="data.frame")
#' Produce a data.frame out of a formhubDataObj
#'
#' @param the formhub object which will be possibly co-erced t... |
LIS.adjust <-
function (lis, fdr = 0.001, adjust = TRUE)
{
n = length(lis)
s.lis = sort(lis)
rank.lis = rank(lis)
mean_s.lis <- cumsum(s.lis)/c(1:n)
i <- min(which(mean_s.lis>fdr))
nNonNull = i - 1
States = rep(0, n)
if (nNonNull > 0)
States[lis <= s.lis[nNonNull]... | /R/LIS.adjust.R | no_license | cran/NHMMfdr | R | false | false | 617 | r | LIS.adjust <-
function (lis, fdr = 0.001, adjust = TRUE)
{
n = length(lis)
s.lis = sort(lis)
rank.lis = rank(lis)
mean_s.lis <- cumsum(s.lis)/c(1:n)
i <- min(which(mean_s.lis>fdr))
nNonNull = i - 1
States = rep(0, n)
if (nNonNull > 0)
States[lis <= s.lis[nNonNull]... |
source("https://bioconductor.org/biocLite.R")
biocLite(c("phyloseq", "metagenomeSeq"))
biocLite("metavizr", dependencies=TRUE)
| /docker/chiron-metaviz/setup.R | no_license | fasnicar/Chiron | R | false | false | 127 | r | source("https://bioconductor.org/biocLite.R")
biocLite(c("phyloseq", "metagenomeSeq"))
biocLite("metavizr", dependencies=TRUE)
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sagemaker_operations.R
\name{sagemaker_describe_context}
\alias{sagemaker_describe_context}
\title{Describes a context}
\usage{
sagemaker_describe_context(ContextName)
}
\arguments{
\item{ContextName}{[required] The name of the context to des... | /cran/paws.machine.learning/man/sagemaker_describe_context.Rd | permissive | paws-r/paws | R | false | true | 481 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sagemaker_operations.R
\name{sagemaker_describe_context}
\alias{sagemaker_describe_context}
\title{Describes a context}
\usage{
sagemaker_describe_context(ContextName)
}
\arguments{
\item{ContextName}{[required] The name of the context to des... |
\name{hookejeeves}
\alias{hookejeeves}
\title{
Hooke-Jeeves Minimization Method
}
\description{
An implementation of the Hooke-Jeeves algorithm for derivative-free
optimization.
}
\usage{
hookejeeves(x0, f, lb = NULL, ub = NULL,
tol = 1e-08,
target = Inf, maxfeval = Inf, info = FALSE, ...)... | /man/hookejeeves.Rd | no_license | cran/adagio | R | false | false | 2,095 | rd | \name{hookejeeves}
\alias{hookejeeves}
\title{
Hooke-Jeeves Minimization Method
}
\description{
An implementation of the Hooke-Jeeves algorithm for derivative-free
optimization.
}
\usage{
hookejeeves(x0, f, lb = NULL, ub = NULL,
tol = 1e-08,
target = Inf, maxfeval = Inf, info = FALSE, ...)... |
#' Transform a log2 fold-change to a fold-change
#'
#' Transform a log2 fold-change to a possibly negative fold-change.
#'
#' @param logFC A numeric log2 fold-change.
#' @return The fold-change.
#' @details This function converts log fold-changes < 0 to their negative multiplicative reciprocal, e.g.
#' fc = 0.5 -> fc... | /R/logfc2fc.R | permissive | gdaher/ezlimma | R | false | false | 652 | r | #' Transform a log2 fold-change to a fold-change
#'
#' Transform a log2 fold-change to a possibly negative fold-change.
#'
#' @param logFC A numeric log2 fold-change.
#' @return The fold-change.
#' @details This function converts log fold-changes < 0 to their negative multiplicative reciprocal, e.g.
#' fc = 0.5 -> fc... |
#Redlining case
install.packages("readxl")
library(readxl)
install.packages("faraway", dependencies = TRUE)
library(faraway)
data(chredlin) #Data from 1970's study between insurance and redlining in Chicago
View(chredlin)
#Redlining is when they refuse to sell houses to certain people
#We do not know the race of those... | /chredlin_case.R | no_license | appleofreak/DataAnalysis | R | false | false | 4,170 | r | #Redlining case
install.packages("readxl")
library(readxl)
install.packages("faraway", dependencies = TRUE)
library(faraway)
data(chredlin) #Data from 1970's study between insurance and redlining in Chicago
View(chredlin)
#Redlining is when they refuse to sell houses to certain people
#We do not know the race of those... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convexLogisticPCA.R
\name{project.Fantope}
\alias{project.Fantope}
\title{Project onto the Fantope}
\usage{
project.Fantope(x, k, partial_decomp = FALSE)
}
\arguments{
\item{x}{a symmetric matrix}
\item{k}{the rank of the Fantope desired}
\... | /man/project.Fantope.Rd | no_license | PeiKaLunCi/logisticPCA | R | false | true | 793 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convexLogisticPCA.R
\name{project.Fantope}
\alias{project.Fantope}
\title{Project onto the Fantope}
\usage{
project.Fantope(x, k, partial_decomp = FALSE)
}
\arguments{
\item{x}{a symmetric matrix}
\item{k}{the rank of the Fantope desired}
\... |
getwd()
setwd('C:/Users/haoli/Dropbox/Mengnan/SMU/MOOC/R2')
statesInfo <- read.csv('stateData.csv')
stateSubset <- subset(statesInfo,state.region == 1)
head(stateSubset, 2)
dim(stateSubset)
stateSubsetBracket <- statesInfo[statesInfo$state.region == 1,]
head(stateSubsetBracket, 2)
dim(stateSubsetBracket)
... | /RBasics.R | no_license | MengnanZoeZhou/DataAnalysiswithRUdacity | R | false | false | 434 | r | getwd()
setwd('C:/Users/haoli/Dropbox/Mengnan/SMU/MOOC/R2')
statesInfo <- read.csv('stateData.csv')
stateSubset <- subset(statesInfo,state.region == 1)
head(stateSubset, 2)
dim(stateSubset)
stateSubsetBracket <- statesInfo[statesInfo$state.region == 1,]
head(stateSubsetBracket, 2)
dim(stateSubsetBracket)
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/1_validateFunc_headers.R
\name{surface_validateFunction}
\alias{surface_validateFunction}
\title{surface validation function}
\usage{
surface_validateFunction(value)
}
\arguments{
\item{value}{value to validate}
}
\description{
surface valida... | /man/surface_validateFunction.Rd | permissive | LE2P/rBSRN | R | false | true | 336 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/1_validateFunc_headers.R
\name{surface_validateFunction}
\alias{surface_validateFunction}
\title{surface validation function}
\usage{
surface_validateFunction(value)
}
\arguments{
\item{value}{value to validate}
}
\description{
surface valida... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_model_dir.R
\name{create_model_dir}
\alias{create_model_dir}
\title{Create a directory for modelling}
\usage{
create_model_dir(path)
}
\arguments{
\item{path}{The path where the directory should be created}
}
\value{
Nothing, side effe... | /man/create_model_dir.Rd | permissive | Vizzuality/vspt | R | false | true | 482 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_model_dir.R
\name{create_model_dir}
\alias{create_model_dir}
\title{Create a directory for modelling}
\usage{
create_model_dir(path)
}
\arguments{
\item{path}{The path where the directory should be created}
}
\value{
Nothing, side effe... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dashboardSidebar.R
\name{argonSidebarHeader}
\alias{argonSidebarHeader}
\title{A header to put inside \link{argonDashSidebar}}
\usage{
argonSidebarHeader(title = NULL)
}
\arguments{
\item{title}{Header title}
}
\description{
A header to put i... | /man/argonSidebarHeader.Rd | no_license | RinteRface/argonDash | R | false | true | 352 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dashboardSidebar.R
\name{argonSidebarHeader}
\alias{argonSidebarHeader}
\title{A header to put inside \link{argonDashSidebar}}
\usage{
argonSidebarHeader(title = NULL)
}
\arguments{
\item{title}{Header title}
}
\description{
A header to put i... |
test_that("fastMask produces correct results", {
testInitOut <- testInit(needGoogle = FALSE, c("sp", "raster"))
on.exit({
testOnExit(testInitOut)
}, add = TRUE)
Sr1 <- Polygon(cbind(c(2, 4, 4, 1, 2), c(2, 3, 5, 4, 2))) # nolint
Sr2 <- Polygon(cbind(c(5, 4, 2, 5), c(2, 3, 2, 2))) # nolint
Sr3 <- Polygon(... | /tests/testthat/test-gis.R | no_license | jimsforks/reproducible | R | false | false | 5,102 | r | test_that("fastMask produces correct results", {
testInitOut <- testInit(needGoogle = FALSE, c("sp", "raster"))
on.exit({
testOnExit(testInitOut)
}, add = TRUE)
Sr1 <- Polygon(cbind(c(2, 4, 4, 1, 2), c(2, 3, 5, 4, 2))) # nolint
Sr2 <- Polygon(cbind(c(5, 4, 2, 5), c(2, 3, 2, 2))) # nolint
Sr3 <- Polygon(... |
#download data
fileURL <-"http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileURL,"Project/ProjectData.zip")
#Unzip the file
if(!(file.exists("./Project/household_power_consumption.txt")))
unzip("./Project/ProjectData.zip")
EPCData <- read.table("./Pr... | /plot3.R | no_license | SmithaMadhu/ExData_Plotting1 | R | false | false | 1,132 | r |
#download data
fileURL <-"http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileURL,"Project/ProjectData.zip")
#Unzip the file
if(!(file.exists("./Project/household_power_consumption.txt")))
unzip("./Project/ProjectData.zip")
EPCData <- read.table("./Pr... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TreeIndex-class.R
\name{.replaceNAFeatures}
\alias{.replaceNAFeatures}
\title{replace if there are NA's in the hierarchy}
\usage{
.replaceNAFeatures(replacing_na_obj_fData, feature_order)
}
\arguments{
\item{replacing_na_obj_fData}{hierarchy ... | /man/dot-replaceNAFeatures.Rd | no_license | kzintas/TreeSE | R | false | true | 461 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TreeIndex-class.R
\name{.replaceNAFeatures}
\alias{.replaceNAFeatures}
\title{replace if there are NA's in the hierarchy}
\usage{
.replaceNAFeatures(replacing_na_obj_fData, feature_order)
}
\arguments{
\item{replacing_na_obj_fData}{hierarchy ... |
library(testthat)
library(money)
test_check("money")
| /tests/testthat.R | permissive | konradzdeb/money | R | false | false | 54 | r | library(testthat)
library(money)
test_check("money")
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coo-shapedescriptors.R
\name{coo_rectangularity}
\alias{coo_rectangularity}
\title{Calculates the rectangularity of a shape}
\source{
Rosin PL. 2005. Computing global shape measures.
Handbook of Pattern Recognition and Computer Vision. 177-19... | /man/coo_rectangularity.Rd | no_license | gjm112/Momocs | R | false | true | 1,172 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coo-shapedescriptors.R
\name{coo_rectangularity}
\alias{coo_rectangularity}
\title{Calculates the rectangularity of a shape}
\source{
Rosin PL. 2005. Computing global shape measures.
Handbook of Pattern Recognition and Computer Vision. 177-19... |
#' @title List deals associated with a person
#' @description Function to List deals associated with a person from pipedrive.
#' @param id ID of a person
#' @param start Pagination start
#' @param limit Items shown per page
#' @param status Only fetch deals with specific status. If omitted, all not deleted deals a... | /R/persons.get.deals.R | no_license | cran/Rpipedrive | R | false | false | 2,014 | r | #' @title List deals associated with a person
#' @description Function to List deals associated with a person from pipedrive.
#' @param id ID of a person
#' @param start Pagination start
#' @param limit Items shown per page
#' @param status Only fetch deals with specific status. If omitted, all not deleted deals a... |
\name{GenomeWideSNP_6}
\alias{GenomeWideSNP_6}
\docType{data}
\title{cdm for the GenomeWideSNP\_6 microarray}
\description{
A \code{\link[SNPMaP:SNPMaP-package]{SNPMaP}} \code{cdm} for the Affymetrix GenomeWideSNP\_6
genotyping microarray.
}
\usage{GenomeWideSNP_6}
\format{
The format is:\cr
List of 2\cr
\$ thre... | /man/GenomeWideSNP_6.Rd | no_license | DynamicGenetics/SNPMaP.cdm | R | false | false | 1,733 | rd | \name{GenomeWideSNP_6}
\alias{GenomeWideSNP_6}
\docType{data}
\title{cdm for the GenomeWideSNP\_6 microarray}
\description{
A \code{\link[SNPMaP:SNPMaP-package]{SNPMaP}} \code{cdm} for the Affymetrix GenomeWideSNP\_6
genotyping microarray.
}
\usage{GenomeWideSNP_6}
\format{
The format is:\cr
List of 2\cr
\$ thre... |
/hamou_ray_ProjetSTA203.r | no_license | claudehamou/STA203 | R | false | false | 313 | r | ||
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(3.40139391052661e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)))
result <- do.call(CNull:::communities_individual_... | /CNull/inst/testfiles/communities_individual_based_sampling_alpha/AFL_communities_individual_based_sampling_alpha/communities_individual_based_sampling_alpha_valgrind_files/1615768895-test.R | no_license | akhikolla/updatedatatype-list2 | R | false | false | 362 | r | testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(3.40139391052661e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)))
result <- do.call(CNull:::communities_individual_... |
output$uni <- renderUI({
fluidRow(
column(3, wellPanel(
tags$h4("Sélection des variables"),
selectInput(inputId = "uniquanti",
label = "Variable quantitative à explorer",
choices = colnames(isolate(baseData$data[, sapply(isolate(baseData$data), is.numeric)])),
... | /App1/UNI/uni_ui.R | no_license | Groupe-ElementR/FreeCarto | R | false | false | 1,230 | r | output$uni <- renderUI({
fluidRow(
column(3, wellPanel(
tags$h4("Sélection des variables"),
selectInput(inputId = "uniquanti",
label = "Variable quantitative à explorer",
choices = colnames(isolate(baseData$data[, sapply(isolate(baseData$data), is.numeric)])),
... |
library(glmnet)
mydata = read.table("./TrainingSet/RF/liver.csv",head=T,sep=",")
x = as.matrix(mydata[,4:ncol(mydata)])
y = as.matrix(mydata[,1])
set.seed(123)
glm = cv.glmnet(x,y,nfolds=10,type.measure="mae",alpha=0.6,family="gaussian",standardize=TRUE)
sink('./Model/EN/Classifier/liver/liver_067.txt',append=TRUE)
pri... | /Model/EN/Classifier/liver/liver_067.R | no_license | leon1003/QSMART | R | false | false | 346 | r | library(glmnet)
mydata = read.table("./TrainingSet/RF/liver.csv",head=T,sep=",")
x = as.matrix(mydata[,4:ncol(mydata)])
y = as.matrix(mydata[,1])
set.seed(123)
glm = cv.glmnet(x,y,nfolds=10,type.measure="mae",alpha=0.6,family="gaussian",standardize=TRUE)
sink('./Model/EN/Classifier/liver/liver_067.txt',append=TRUE)
pri... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/storage_functions.R
\name{objects.compose}
\alias{objects.compose}
\title{Concatenates a list of existing objects into a new object in the same bucket.}
\usage{
objects.compose(ComposeRequest, destinationBucket, destinationObject,
ifGenerat... | /googlestoragev1beta2.auto/man/objects.compose.Rd | permissive | GVersteeg/autoGoogleAPI | R | false | true | 1,675 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/storage_functions.R
\name{objects.compose}
\alias{objects.compose}
\title{Concatenates a list of existing objects into a new object in the same bucket.}
\usage{
objects.compose(ComposeRequest, destinationBucket, destinationObject,
ifGenerat... |
# NOTE: BE CAREFUL ABOUT PUSHING ALL LOCAL FILES IF YOU HAVE SCEN_PARAMS.CSV LOCALLY!
# IF SO, IT MIGHT OVERWRITE THE ONE ON SHERLOCK AND SCREW THINGS UP.
####################### CHECK IN #######################
# see the sbatches
cd /home/groups/manishad/RRR/sbatch_files
sbatch -p qsu,owners,normal /home/groups... | /Simulation study/push_to_sherlock_RRR.R | no_license | mayamathur/rrr | R | false | false | 4,674 | r |
# NOTE: BE CAREFUL ABOUT PUSHING ALL LOCAL FILES IF YOU HAVE SCEN_PARAMS.CSV LOCALLY!
# IF SO, IT MIGHT OVERWRITE THE ONE ON SHERLOCK AND SCREW THINGS UP.
####################### CHECK IN #######################
# see the sbatches
cd /home/groups/manishad/RRR/sbatch_files
sbatch -p qsu,owners,normal /home/groups... |
par(mfcol=c(2,2),mar=c(4,4,2,1),oma=c(0,0,2,0))
data1<-read.table("./Exploratory Analysis Week1/household_power_consumption.txt",header=TRUE,sep=";",na.strings = "?")
data2<-subset(data1,Date=="1/2/2007" | Date=="2/2/2007")
data2$Date<-as.Date(data2$Date,format="%d/%m/%Y")
hist(data2$Global_active_power,main="Globa... | /plot4.R | no_license | csmahori/ExData_Plotting1 | R | false | false | 1,075 | r | par(mfcol=c(2,2),mar=c(4,4,2,1),oma=c(0,0,2,0))
data1<-read.table("./Exploratory Analysis Week1/household_power_consumption.txt",header=TRUE,sep=";",na.strings = "?")
data2<-subset(data1,Date=="1/2/2007" | Date=="2/2/2007")
data2$Date<-as.Date(data2$Date,format="%d/%m/%Y")
hist(data2$Global_active_power,main="Globa... |
#Explore bike data characteristics
#Explore relationship between temperature and number
#of riders
#
#Step 1: Load the bike data and look at the metadata
library(tidyverse)
bike <- read_csv("data/daily_bike_data.csv")
head(bike)
str(bike)
sort(names(bike))
### Time trend of ridership ----
ggplot(data=bike)+
... | /src/explore_bike_data.R | permissive | AlbertJML/FirtTry | R | false | false | 6,570 | r | #Explore bike data characteristics
#Explore relationship between temperature and number
#of riders
#
#Step 1: Load the bike data and look at the metadata
library(tidyverse)
bike <- read_csv("data/daily_bike_data.csv")
head(bike)
str(bike)
sort(names(bike))
### Time trend of ridership ----
ggplot(data=bike)+
... |
shinyUI(fluidPage(
titlePanel("Powerball EV Calculator"),
sidebarLayout(
sidebarPanel(
helpText("Calculate Powerball Expected Value based on the values below. The chart represents the expected value of each dollar spent given the previous jackpot and current jackpot."),
sliderInput("lastJa... | /ui.R | no_license | misosoph/powerball-odds | R | false | false | 1,583 | r | shinyUI(fluidPage(
titlePanel("Powerball EV Calculator"),
sidebarLayout(
sidebarPanel(
helpText("Calculate Powerball Expected Value based on the values below. The chart represents the expected value of each dollar spent given the previous jackpot and current jackpot."),
sliderInput("lastJa... |
\name{filterLongRunsInVector}
\alias{filterLongRunsInVector}
\title{filterLongRunsInVector}
\description{replace runs of numerically equal values by NA}
\usage{filterLongRunsInVector(x, minNRunLength = 8,
replacement = NA, na.rm = TRUE)}
\arguments{
\item{x}{vector in which to replace long runs}
\item{... | /REddyProc/man/filterLongRunsInVector.Rd | no_license | akhikolla/TestedPackages-NoIssues | R | false | false | 1,099 | rd | \name{filterLongRunsInVector}
\alias{filterLongRunsInVector}
\title{filterLongRunsInVector}
\description{replace runs of numerically equal values by NA}
\usage{filterLongRunsInVector(x, minNRunLength = 8,
replacement = NA, na.rm = TRUE)}
\arguments{
\item{x}{vector in which to replace long runs}
\item{... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/connect_nodes.R
\name{rflow_end}
\alias{rflow_end}
\title{End RFlow}
\usage{
rflow_end()
}
\value{
Remove connection and return NULL invisibly
}
\description{
Shuts down node-red environment, communication server and
cleans up connection
}
... | /man/rflow_end.Rd | no_license | SyedFarhan/rflow | R | false | true | 321 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/connect_nodes.R
\name{rflow_end}
\alias{rflow_end}
\title{End RFlow}
\usage{
rflow_end()
}
\value{
Remove connection and return NULL invisibly
}
\description{
Shuts down node-red environment, communication server and
cleans up connection
}
... |
#' Ping an API used in taxize to see if it's working.
#'
#' @name ping
#' @param what (character) One of status (default), content, or an HTTP status
#' code. If status, we just check that the HTTP status code is 200, or similar
#' signifying the service is up. If content, we do a simple, quick check to
#' determine if... | /R/ping.R | permissive | nate-d-olson/taxize | R | false | false | 6,008 | r | #' Ping an API used in taxize to see if it's working.
#'
#' @name ping
#' @param what (character) One of status (default), content, or an HTTP status
#' code. If status, we just check that the HTTP status code is 200, or similar
#' signifying the service is up. If content, we do a simple, quick check to
#' determine if... |
#' @title Variable importances as defined by Hernandez et al. (2018)
#'
#' @description This measure defines the importance of a variable as the model-probability weighted sum of the number of splits on the variable of interest, divided by the sum over all variables of such weighted counts of splits.
#' @param object ... | /bartBMA/R/varImpScores.R | no_license | akhikolla/InformationHouse | R | false | false | 1,686 | r | #' @title Variable importances as defined by Hernandez et al. (2018)
#'
#' @description This measure defines the importance of a variable as the model-probability weighted sum of the number of splits on the variable of interest, divided by the sum over all variables of such weighted counts of splits.
#' @param object ... |
## Datatable styling
library(shiny)
library(ggplot2)
library(DT)
server <- function(input, output, session) {
output$tableDT <- DT::renderDataTable(datatable(diamonds[1:1000,],
options = list(paging=F),
rownames=F,
... | /database_styling.r | no_license | alexwitthar/R-Shiny-Interactive-Web-Apps | R | false | false | 1,117 | r | ## Datatable styling
library(shiny)
library(ggplot2)
library(DT)
server <- function(input, output, session) {
output$tableDT <- DT::renderDataTable(datatable(diamonds[1:1000,],
options = list(paging=F),
rownames=F,
... |
suppressMessages({
library(dplyr)
library(magrittr)
library(lubridate)
library(data.table)
library(tidyr)
library(logging)
})
dateLog <- format(Sys.time(), "%Y%m%d%H%M")
tryCatch({
args <- commandArgs(trailingOnly = TRUE)
venture <- args[1]
dimWeightFactor <- as.numeric(args[2])
ventureShort... | /3_Script/1_Code/Passthrough_BatchScript_v2.R | no_license | datnq80/Passthrough | R | false | false | 4,550 | r | suppressMessages({
library(dplyr)
library(magrittr)
library(lubridate)
library(data.table)
library(tidyr)
library(logging)
})
dateLog <- format(Sys.time(), "%Y%m%d%H%M")
tryCatch({
args <- commandArgs(trailingOnly = TRUE)
venture <- args[1]
dimWeightFactor <- as.numeric(args[2])
ventureShort... |
## This script looks as the counts of the sample poulation.
library(pacman)
library(tidyverse)
library(Hmisc)
library(here)
library(arrow)
library(broom)
library(forcats)
library(rstatix)
library(janitor)
BMI_data <- read_csv (here::here ("output/data", "imputation_DF_for_impute.csv"))
missing <- read_csv (here::h... | /analysis/sensitivity_analyses/MICE_sample_pop_demog.R | permissive | opensafely/BMI-and-Metabolic-Markers | R | false | false | 3,082 | r | ## This script looks as the counts of the sample poulation.
library(pacman)
library(tidyverse)
library(Hmisc)
library(here)
library(arrow)
library(broom)
library(forcats)
library(rstatix)
library(janitor)
BMI_data <- read_csv (here::here ("output/data", "imputation_DF_for_impute.csv"))
missing <- read_csv (here::h... |
library("data.table")
clicks_source_path = "/local/data/recsysTales/"
data = fread(paste(clicks_source_path, "clicks-proc-basico-parte1.dat", sep = ""), sep = ",", header = F)
data = rbind(data, fread(paste(clicks_source_path, "clicks-proc-basico-parte2.dat", sep = ""), sep = ",", header = F))
data = rbind(data, fread... | /Spark/Scripts/loadData.R | permissive | leonardoads/RecSys-cariris | R | false | false | 2,213 | r | library("data.table")
clicks_source_path = "/local/data/recsysTales/"
data = fread(paste(clicks_source_path, "clicks-proc-basico-parte1.dat", sep = ""), sep = ",", header = F)
data = rbind(data, fread(paste(clicks_source_path, "clicks-proc-basico-parte2.dat", sep = ""), sep = ",", header = F))
data = rbind(data, fread... |
#' @useDynLib BayesMFSurv
#' @importFrom stats dgamma runif as.formula model.frame model.matrix model.response na.omit na.pass
#' @import grDevices
#' @import graphics
#' @importFrom MCMCpack riwish
#' @importFrom coda mcmc
#' @importFrom mvtnorm rmvnorm dmvnorm
#' @export
#' @title mfsurv
#' @description \code{mfsur... | /R/mfsurv.R | permissive | gonzalezrostani/BayesMFSurv | R | false | false | 7,039 | r | #' @useDynLib BayesMFSurv
#' @importFrom stats dgamma runif as.formula model.frame model.matrix model.response na.omit na.pass
#' @import grDevices
#' @import graphics
#' @importFrom MCMCpack riwish
#' @importFrom coda mcmc
#' @importFrom mvtnorm rmvnorm dmvnorm
#' @export
#' @title mfsurv
#' @description \code{mfsur... |
## code to prepare `DATASET` dataset goes here
geocode_ibge <- read.csv("./data-raw/geocode_ibge.csv")
DRS_SP <- read.csv("./data-raw/DRS_SP.csv")
usethis::use_data(geocode_ibge, DRS_SP,internal = TRUE)
| /data-raw/DATASET.R | permissive | piklprado/now_fcts | R | false | false | 204 | r | ## code to prepare `DATASET` dataset goes here
geocode_ibge <- read.csv("./data-raw/geocode_ibge.csv")
DRS_SP <- read.csv("./data-raw/DRS_SP.csv")
usethis::use_data(geocode_ibge, DRS_SP,internal = TRUE)
|
/Atividades/gerarRegrasJogarTenisWM.r | no_license | Genicleito/MATE10-Sistemas-Fuzzy | R | false | false | 942 | r | ||
#' Creates a \code{blocks} argument
#'
#' This helper function generates a list of the type needed for
#' \code{blocks} argument in the \code{[=mice]{mice}} function.
#' @param data A \code{data.frame}, character vector with
#' variable names, or \code{list} with variable names.
#' @param partition A character vector ... | /R/make.blocksDS.R | no_license | amices/dsMice | R | false | false | 4,166 | r | #' Creates a \code{blocks} argument
#'
#' This helper function generates a list of the type needed for
#' \code{blocks} argument in the \code{[=mice]{mice}} function.
#' @param data A \code{data.frame}, character vector with
#' variable names, or \code{list} with variable names.
#' @param partition A character vector ... |
require(e1071)
require(RCurl)
require(repmis)
require(randomForest)
proj2path="/media/fabs/Volume/01_PAPERZEUG/PROJECTP2/"
myfunctions <- getURL("https://raw.githubusercontent.com/fernstgruber/Rstuff/master/fabiansandrossitersfunctions.R", ssl.verifypeer = FALSE)
eval(parse(text = myfunctions))
load("/media/fabs/Volume... | /scripts_2017/RF_FWCV_moraine_mitgk.R | no_license | fernstgruber/PROJECTP2 | R | false | false | 5,930 | r | require(e1071)
require(RCurl)
require(repmis)
require(randomForest)
proj2path="/media/fabs/Volume/01_PAPERZEUG/PROJECTP2/"
myfunctions <- getURL("https://raw.githubusercontent.com/fernstgruber/Rstuff/master/fabiansandrossitersfunctions.R", ssl.verifypeer = FALSE)
eval(parse(text = myfunctions))
load("/media/fabs/Volume... |
library(shiny)
library(htmltools)
library(glue)
drumkitUI <- function(id, height = "300px", width = "300px") {
ns <- NS(id)
height <- validateCssUnit(height)
width <- validateCssUnit(width)
addResourcePath("sounds", "drumkit/sounds/")
tagList(
htmlTemplate(
filename = "drumkit/drumkit.svg",
i... | /inst/examples/shiny/drumkit-apps/drumkit-7/app.R | permissive | gadenbuie/js4shiny | R | false | false | 1,209 | r | library(shiny)
library(htmltools)
library(glue)
drumkitUI <- function(id, height = "300px", width = "300px") {
ns <- NS(id)
height <- validateCssUnit(height)
width <- validateCssUnit(width)
addResourcePath("sounds", "drumkit/sounds/")
tagList(
htmlTemplate(
filename = "drumkit/drumkit.svg",
i... |
library(mgcv)
library(stats)
library(dplyr)
library(reshape2)
##----------------------------------------------------------------------------##
##----------------------------------------------------------------------------##
## Spatial Prediction Model Object Oriented Framework ##
##-------------... | /models/GamModel.R | no_license | reichlab/forecast-framework-demos | R | false | false | 32,153 | r | library(mgcv)
library(stats)
library(dplyr)
library(reshape2)
##----------------------------------------------------------------------------##
##----------------------------------------------------------------------------##
## Spatial Prediction Model Object Oriented Framework ##
##-------------... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/random_graph.R
\name{rgraph_ws}
\alias{rgraph_ws}
\alias{small-world}
\title{Watts-Strogatz model}
\usage{
rgraph_ws(n, k, p, both.ends = FALSE, self = FALSE, multiple = FALSE,
undirected = FALSE)
}
\arguments{
\item{n}{Integer scalar. Set ... | /man/rgraph_ws.Rd | no_license | haanns/netdiffuseR | R | false | true | 2,463 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/random_graph.R
\name{rgraph_ws}
\alias{rgraph_ws}
\alias{small-world}
\title{Watts-Strogatz model}
\usage{
rgraph_ws(n, k, p, both.ends = FALSE, self = FALSE, multiple = FALSE,
undirected = FALSE)
}
\arguments{
\item{n}{Integer scalar. Set ... |
library(data.table)
library(rvest)
library(dplyr)
library(stringr)
library(tidytext)
library(jiebaR)
library(magrittr)
library(httr)
library(tibble)
library(RSQLite)
library(jsonlite)
library(lubridate)
library(readr)
library(RMySQL)
library(gtools)
library(glue)
library(ropencc)
library(geosphere)
#不... | /起迄地/搜尋和更新快速版.R | no_license | jaesm14774/Search_callsign | R | false | false | 19,715 | r | library(data.table)
library(rvest)
library(dplyr)
library(stringr)
library(tidytext)
library(jiebaR)
library(magrittr)
library(httr)
library(tibble)
library(RSQLite)
library(jsonlite)
library(lubridate)
library(readr)
library(RMySQL)
library(gtools)
library(glue)
library(ropencc)
library(geosphere)
#不... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.pfr.R
\name{summary.pfr}
\alias{summary.pfr}
\title{Summary for a pfr fit}
\usage{
\method{summary}{pfr}(object, ...)
}
\arguments{
\item{object}{a fitted \code{pfr}-object}
\item{...}{see \code{\link[mgcv]{summary.gam}()} for option... | /man/summary.pfr.Rd | no_license | refunders/refund | R | false | true | 738 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.pfr.R
\name{summary.pfr}
\alias{summary.pfr}
\title{Summary for a pfr fit}
\usage{
\method{summary}{pfr}(object, ...)
}
\arguments{
\item{object}{a fitted \code{pfr}-object}
\item{...}{see \code{\link[mgcv]{summary.gam}()} for option... |
library(psych)
library(xlsx)
library(ggplot2)
library(ggmap)
#1864 GGMAP
data1864 = read.xlsx("washington1864.xlsx", 1, header = FALSE)
data1864 = data1864[,1:3]
colnames(data1864)<-c("Name", "Address", "Profession")
#downloaded map
dc_map <- get_map(location = "washington dc", zoom = 13)
names1864<-data1864[,1]
pr... | /heatmapdata.R | no_license | jhc229/Migration-of-DC-Doctors | R | false | false | 5,502 | r | library(psych)
library(xlsx)
library(ggplot2)
library(ggmap)
#1864 GGMAP
data1864 = read.xlsx("washington1864.xlsx", 1, header = FALSE)
data1864 = data1864[,1:3]
colnames(data1864)<-c("Name", "Address", "Profession")
#downloaded map
dc_map <- get_map(location = "washington dc", zoom = 13)
names1864<-data1864[,1]
pr... |
library(testthat)
library(InterVA4)
test_check("InterVA4")
| /tests/testthat.R | no_license | verbal-autopsy-software/InterVA4 | R | false | false | 60 | r | library(testthat)
library(InterVA4)
test_check("InterVA4")
|
#' app goals:
#' - filter table and two graphs based on species
#' - motivate reactivity
#'
#' app anti-aims:
#' - reactivity
#' - tidyeval
# set up ----
library(shiny)
library(dplyr)
library(ggplot2)
library(DT)
# ui ----
ui <- fluidPage(
titlePanel("Penguin Playground 003"),
sidebarLayout(
s... | /03_app/app.R | no_license | rpodcast/penguin_playground | R | false | false | 1,197 | r | #' app goals:
#' - filter table and two graphs based on species
#' - motivate reactivity
#'
#' app anti-aims:
#' - reactivity
#' - tidyeval
# set up ----
library(shiny)
library(dplyr)
library(ggplot2)
library(DT)
# ui ----
ui <- fluidPage(
titlePanel("Penguin Playground 003"),
sidebarLayout(
s... |
### =========================================================================
### Intra-range methods
### -------------------------------------------------------------------------
###
### The methods implemented in this file should behave consistently with
### those defined in IRanges intra-range-methods.R
###
### - ... | /R/intra-range-methods.R | no_license | LTLA/GenomicRanges | R | false | false | 7,261 | r | ### =========================================================================
### Intra-range methods
### -------------------------------------------------------------------------
###
### The methods implemented in this file should behave consistently with
### those defined in IRanges intra-range-methods.R
###
### - ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io.R
\name{repLoad}
\alias{repLoad}
\title{Parse input files or folders with immune receptor repertoire data.}
\usage{
repLoad(.path, .format = c("mitcr", "migec"))
}
\arguments{
\item{.path}{Character vector with path to files and / or folde... | /man/repLoad.Rd | permissive | yanmc/tcr | R | false | true | 1,698 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io.R
\name{repLoad}
\alias{repLoad}
\title{Parse input files or folders with immune receptor repertoire data.}
\usage{
repLoad(.path, .format = c("mitcr", "migec"))
}
\arguments{
\item{.path}{Character vector with path to files and / or folde... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/games_objects.R
\name{LeaderboardListResponse}
\alias{LeaderboardListResponse}
\title{LeaderboardListResponse Object}
\usage{
LeaderboardListResponse(items = NULL, nextPageToken = NULL)
}
\arguments{
\item{items}{The leaderboards}
\item{next... | /googlegamesv1.auto/man/LeaderboardListResponse.Rd | permissive | GVersteeg/autoGoogleAPI | R | false | true | 609 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/games_objects.R
\name{LeaderboardListResponse}
\alias{LeaderboardListResponse}
\title{LeaderboardListResponse Object}
\usage{
LeaderboardListResponse(items = NULL, nextPageToken = NULL)
}
\arguments{
\item{items}{The leaderboards}
\item{next... |
##' Match taxonomic names to the Open Tree Taxonomy.
##'
##' Accepts one or more taxonomic names and returns information about
##' potential matches for these names to known taxa in the Open Tree
##' Taxononmy.
##'
##' This service uses taxonomic contexts to disambiguate homonyms and
##' misspelled names; a context ma... | /R/tnrs.R | no_license | dwinter/rotl | R | false | false | 8,786 | r |
##' Match taxonomic names to the Open Tree Taxonomy.
##'
##' Accepts one or more taxonomic names and returns information about
##' potential matches for these names to known taxa in the Open Tree
##' Taxononmy.
##'
##' This service uses taxonomic contexts to disambiguate homonyms and
##' misspelled names; a context ma... |
#' Implementation of the "NoBrainer" U-net architecture
#'
#' Creates a keras model implementation of the u-net architecture
#' avaialable here:
#'
#' \url{https://github.com/neuronets/nobrainer/}
#'
#' @param inputImageSize Used for specifying the input tensor shape. The
#' shape (or dimension) of that tensor... | /R/createCustomUnetModel.R | permissive | ANTsX/ANTsRNet | R | false | false | 22,307 | r | #' Implementation of the "NoBrainer" U-net architecture
#'
#' Creates a keras model implementation of the u-net architecture
#' avaialable here:
#'
#' \url{https://github.com/neuronets/nobrainer/}
#'
#' @param inputImageSize Used for specifying the input tensor shape. The
#' shape (or dimension) of that tensor... |
# Initialize world
require(memorymigration)
world <- getOptimalPop(tau=100, X.min = -100, X.max = 100, dx=1,
x1 = 30, x2 = -30, t.peak=25,
x.sd=12, t.sd=6)
world$m0 <- fitMigration(t = world$time, x = getMem(world$pop, world))
par0 <- getCCpars(mu_x0 = 30,
... | /memorymigration/examples/indices_examples.R | no_license | EliGurarie/memorymigration | R | false | false | 1,386 | r | # Initialize world
require(memorymigration)
world <- getOptimalPop(tau=100, X.min = -100, X.max = 100, dx=1,
x1 = 30, x2 = -30, t.peak=25,
x.sd=12, t.sd=6)
world$m0 <- fitMigration(t = world$time, x = getMem(world$pop, world))
par0 <- getCCpars(mu_x0 = 30,
... |
### examples.R ----------------------------------
library(gener)
library(dplyr)
library(htmlwidgets)
library(rCharts)
source('../../packages/master/viser-master/R/visgen.R')
source('../../packages/master/viser-master/R/jscripts.R')
source('../../packages/master/viser-master/R/rCharts.R')
source('../../packages/master/... | /script/visualization/rCharts/examples.R | no_license | genpack/tutorials | R | false | false | 41,920 | r | ### examples.R ----------------------------------
library(gener)
library(dplyr)
library(htmlwidgets)
library(rCharts)
source('../../packages/master/viser-master/R/visgen.R')
source('../../packages/master/viser-master/R/jscripts.R')
source('../../packages/master/viser-master/R/rCharts.R')
source('../../packages/master/... |
\name{preseqR-package}
\alias{preseqR-package}
\alias{preseqR}
\docType{package}
\title{
An R package for estimating the number of species represented at least
r times
}
\description{
preseqR provides functions to estimate the number of species represented at
least r times in a random sample based on a... | /assets/preseqR/man/preseqR.package.Rd | no_license | seina001/ARS-RQC | R | false | false | 3,391 | rd | \name{preseqR-package}
\alias{preseqR-package}
\alias{preseqR}
\docType{package}
\title{
An R package for estimating the number of species represented at least
r times
}
\description{
preseqR provides functions to estimate the number of species represented at
least r times in a random sample based on a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.