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 |
|---|---|---|---|---|---|---|---|---|---|
## Script to make corrections to Z values based on the gain ratio
## I collected EEMs with medium and low gain, so Z values need to be
## adjusted depending on the gain settings.
## All samples will be standardized to low gain
## This script implements the gain ratio calcuated in the
## eem_gain_ratio.R script
## Als... | /Scripts/kbg scripts/eem_integration_gain_corrections.R | no_license | jmwingenroth/PARAFAC_KBG | R | false | false | 3,364 | r | ## Script to make corrections to Z values based on the gain ratio
## I collected EEMs with medium and low gain, so Z values need to be
## adjusted depending on the gain settings.
## All samples will be standardized to low gain
## This script implements the gain ratio calcuated in the
## eem_gain_ratio.R script
## Als... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/globalaccelerator_service.R
\name{globalaccelerator}
\alias{globalaccelerator}
\title{AWS Global Accelerator}
\usage{
globalaccelerator(config = list())
}
\arguments{
\item{config}{Optional configuration of credentials, endpoint, and/or regio... | /man/globalaccelerator.Rd | no_license | cran/paws.networking | R | false | true | 13,486 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/globalaccelerator_service.R
\name{globalaccelerator}
\alias{globalaccelerator}
\title{AWS Global Accelerator}
\usage{
globalaccelerator(config = list())
}
\arguments{
\item{config}{Optional configuration of credentials, endpoint, and/or regio... |
list_tables <- function(table_dirs = c("data/tmp", "data/tables")) {
cat(table_dirs)
tables <- list()
for (dir in table_dirs) {
try({
tlist <- fromJSON(file=paste0(dir, "/tables.json"))
for (table in names(tlist)) {
tables[[table]] <- tlist[[table]]
tables[[table]]$d... | /rook/R/list_tables.R | no_license | vsnijders/smp | R | false | false | 387 | r | list_tables <- function(table_dirs = c("data/tmp", "data/tables")) {
cat(table_dirs)
tables <- list()
for (dir in table_dirs) {
try({
tlist <- fromJSON(file=paste0(dir, "/tables.json"))
for (table in names(tlist)) {
tables[[table]] <- tlist[[table]]
tables[[table]]$d... |
.onAttach <- function(libname, pkgname) {
packageStartupMessage(
paste(strwrap('USGS Research Package:
https://owi.usgs.gov/R/packages.html#research
ToxCast database: version 3', width = 40),
collapse='\n'))
}
#' Analyze ToxCast data in relation to measured concentrations.
#'
#' \code{toxEval} includes a... | /R/toxEval.R | permissive | jcmartinmu/toxEval | R | false | false | 6,773 | r | .onAttach <- function(libname, pkgname) {
packageStartupMessage(
paste(strwrap('USGS Research Package:
https://owi.usgs.gov/R/packages.html#research
ToxCast database: version 3', width = 40),
collapse='\n'))
}
#' Analyze ToxCast data in relation to measured concentrations.
#'
#' \code{toxEval} includes a... |
GIS.plot <- function(GIS.distribution, input.legend, input.title, GIS.Age){
map <- GIS.background(GADM[[3]]@bbox, country)
switch(GIS.distribution,
"count"={
min_value <- min(mapdf$target_count)
max_value <- max(mapdf$target_count)
plot <- map+
geom_polygon(d... | /R/GIS_plot.R | no_license | gowthamrao/Aegis | R | false | false | 4,688 | r | GIS.plot <- function(GIS.distribution, input.legend, input.title, GIS.Age){
map <- GIS.background(GADM[[3]]@bbox, country)
switch(GIS.distribution,
"count"={
min_value <- min(mapdf$target_count)
max_value <- max(mapdf$target_count)
plot <- map+
geom_polygon(d... |
library(data.table)
setwd("C:/Users/awat490/Desktop/Coursera/exdata_data_household_power_consumption")
## Loading in data
file.url<-'https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip'
download.file(file.url,destfile='source data/power_consumption.zip')
unzip('source data/power_con... | /Plot3.R | no_license | Anwadnr/Exploratory-Data-Plotting | R | false | false | 1,901 | r | library(data.table)
setwd("C:/Users/awat490/Desktop/Coursera/exdata_data_household_power_consumption")
## Loading in data
file.url<-'https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip'
download.file(file.url,destfile='source data/power_consumption.zip')
unzip('source data/power_con... |
setwd("~/Documents/Bioinformatics/Classes/FALL/HST.953/Git_Files_Cardiogenic/953-2019-team_i/analysis/eICU")
#Library load
#install.packages("skimr")
#install.packages("RANN")
source("./code/library_load.R")
library(skimr)
library(RANN)
## Data loading
eicu <- read_csv("./eICU_CCUdata_Apr6_gcs.csv", col_name... | /analysis/eICU/3.eICUShock.R | permissive | criticaldata/953-2019-team_i | R | false | false | 4,077 | r | setwd("~/Documents/Bioinformatics/Classes/FALL/HST.953/Git_Files_Cardiogenic/953-2019-team_i/analysis/eICU")
#Library load
#install.packages("skimr")
#install.packages("RANN")
source("./code/library_load.R")
library(skimr)
library(RANN)
## Data loading
eicu <- read_csv("./eICU_CCUdata_Apr6_gcs.csv", col_name... |
library(fractal)
### Name: eegduke
### Title: Electroencephalogram Recordings of a Seizure
### Aliases: eegduke
### Keywords: data
### ** Examples
plot(eegduke)
| /data/genthat_extracted_code/fractal/examples/eegduke.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 168 | r | library(fractal)
### Name: eegduke
### Title: Electroencephalogram Recordings of a Seizure
### Aliases: eegduke
### Keywords: data
### ** Examples
plot(eegduke)
|
# The script generates a map for slide 2 of the presentation
library(rgdal)
library(leaflet)
library(shiny)
library(sp)
postareas <- spTransform(
readOGR(file.path("..","raw_data","PKS_postinumeroalueet_2017_shp.shp")),
CRS("+proj=longlat")
)
postareas$Posno <- as.numeric(as.character(postareas$Posno))
postareas <... | /scripts/slide2.R | permissive | tuner/turbine-analysis | R | false | false | 1,685 | r | # The script generates a map for slide 2 of the presentation
library(rgdal)
library(leaflet)
library(shiny)
library(sp)
postareas <- spTransform(
readOGR(file.path("..","raw_data","PKS_postinumeroalueet_2017_shp.shp")),
CRS("+proj=longlat")
)
postareas$Posno <- as.numeric(as.character(postareas$Posno))
postareas <... |
# Copyright (c) 2015 Thomas Pronk <pronkthomas@gmail.com>
# All rights reserved. No warranty, explicit or implicit, provided.
# Extracts variables from a formula
formula_to_variables = function( formula ) {
# Symbols to replace
symbols = c( "~", "+", "*", "(", ")" );
# Replace each symbol to |
for( sym... | /src/R/EasyLM.R | no_license | tpronk/sandra | R | false | false | 3,759 | r | # Copyright (c) 2015 Thomas Pronk <pronkthomas@gmail.com>
# All rights reserved. No warranty, explicit or implicit, provided.
# Extracts variables from a formula
formula_to_variables = function( formula ) {
# Symbols to replace
symbols = c( "~", "+", "*", "(", ")" );
# Replace each symbol to |
for( sym... |
# (5 pts) Investigate the Bank Marketing Data Set. Use the bank-full.csv in bank.zip for training your model. Use bank.csv in bank.zip for validating your model.
# I am unsure what is required for points here
# (0 pts) What is the actual algebraic regression equation for the model? Be sure you know how to write the ... | /practicum_2-3.R | no_license | JosiahParry/da5030 | R | false | false | 3,379 | r | # (5 pts) Investigate the Bank Marketing Data Set. Use the bank-full.csv in bank.zip for training your model. Use bank.csv in bank.zip for validating your model.
# I am unsure what is required for points here
# (0 pts) What is the actual algebraic regression equation for the model? Be sure you know how to write the ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hydro_analysis.R
\name{wbt_unnest_basins}
\alias{wbt_unnest_basins}
\title{Unnest basins}
\usage{
wbt_unnest_basins(
d8_pntr,
pour_pts,
output,
esri_pntr = FALSE,
wd = NULL,
verbose_mode = FALSE
)
}
\arguments{
\item{d8_pntr}{Inpu... | /man/wbt_unnest_basins.Rd | permissive | gitWayneZhang/whiteboxR | R | false | true | 759 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hydro_analysis.R
\name{wbt_unnest_basins}
\alias{wbt_unnest_basins}
\title{Unnest basins}
\usage{
wbt_unnest_basins(
d8_pntr,
pour_pts,
output,
esri_pntr = FALSE,
wd = NULL,
verbose_mode = FALSE
)
}
\arguments{
\item{d8_pntr}{Inpu... |
# Including libraries
library(tidyverse)
library(reshape2)
library(caret)
# Loading in dataset
data <- read.csv("data/brain_volume_mlData.csv")
# Dropping subject id column
drops <- c("Subject.ID")
data <- data[,!(names(data) %in% drops)]
#Setting seed for reproducibility
set.seed(123)
#Factoring classes and split... | /analysis/scripts/brain&metabolite_ml.R | no_license | aaronabraham311/Science-Fair-2017-2018 | R | false | false | 4,567 | r | # Including libraries
library(tidyverse)
library(reshape2)
library(caret)
# Loading in dataset
data <- read.csv("data/brain_volume_mlData.csv")
# Dropping subject id column
drops <- c("Subject.ID")
data <- data[,!(names(data) %in% drops)]
#Setting seed for reproducibility
set.seed(123)
#Factoring classes and split... |
##########################################################################
## Fixed- & Mixed-model meta-WLS procedures (Multiple Regression analogues)
## based on Hedges & Pigott (2004)
## This is for post hoc power estimation
## when raw data (i.e., sample sizes) are available
## Please contact Yi Wang (wangyi... | /WLS power_post.R | no_license | YiLalaWang/Meta-analysis-R-codes | R | false | false | 8,759 | r | ##########################################################################
## Fixed- & Mixed-model meta-WLS procedures (Multiple Regression analogues)
## based on Hedges & Pigott (2004)
## This is for post hoc power estimation
## when raw data (i.e., sample sizes) are available
## Please contact Yi Wang (wangyi... |
# vim: set ts=4 sts=0 sw=4 si fenc=utf-8:
# vim: set fdm=marker fmr={{{,}}} fdl=0 foldcolumn=4:
pacman::p_load(argparse, dplyr, feather)
parser <- ArgumentParser()
parser$add_argument("--records")
parser$add_argument("--classes")
parser$add_argument("--output")
args <- parser$parse_args()
docs <- read_feather(args$r... | /structure_extraction/hocr2json/segment/src/export.R | permissive | tosborne1215/cpdp_ocr | R | false | false | 535 | r | # vim: set ts=4 sts=0 sw=4 si fenc=utf-8:
# vim: set fdm=marker fmr={{{,}}} fdl=0 foldcolumn=4:
pacman::p_load(argparse, dplyr, feather)
parser <- ArgumentParser()
parser$add_argument("--records")
parser$add_argument("--classes")
parser$add_argument("--output")
args <- parser$parse_args()
docs <- read_feather(args$r... |
#' Goldfeld-Quandt Tests for Heteroskedasticity in a Linear Regression Model
#'
#' This function implements the two methods (parametric and nonparametric) of
#' \insertCite{Goldfeld65;textual}{skedastic} for testing for heteroskedasticity
#' in a linear regression model.
#'
#' @details The parametric test entails... | /R/goldfeld_quandt.R | no_license | tjfarrar/skedastic | R | false | false | 11,257 | r | #' Goldfeld-Quandt Tests for Heteroskedasticity in a Linear Regression Model
#'
#' This function implements the two methods (parametric and nonparametric) of
#' \insertCite{Goldfeld65;textual}{skedastic} for testing for heteroskedasticity
#' in a linear regression model.
#'
#' @details The parametric test entails... |
library(funModeling)
df_status(producto_premium_201604)
abril <- producto_premium_201604
abril$clase <- factor(abril$clase)
abril$participa <- factor(abril$participa)
rownames(abril) <- abril$numero_de_cliente
abril$numero_de_cliente <- NULL
| /modificaciones_test.R | no_license | pmtempone/DM_Ec_Fin | R | false | false | 243 | r | library(funModeling)
df_status(producto_premium_201604)
abril <- producto_premium_201604
abril$clase <- factor(abril$clase)
abril$participa <- factor(abril$participa)
rownames(abril) <- abril$numero_de_cliente
abril$numero_de_cliente <- NULL
|
x <- (1:8)^2
for (i in 0:255) {
y <- rep(0,times=8)
ii <- i
for (j in 1:8) {
if (ii %% 2 == 0) {
y[j] <- -1
} else {
y[j] <- 1
}
ii <- ii %/% 2
}
if (sum(x*y) == 0) {
print(y)
}
}
| /src/site/problembase/numtheory-lv-no/R/LV.NO.2016.9.5.R | permissive | kapsitis/math | R | false | false | 229 | r | x <- (1:8)^2
for (i in 0:255) {
y <- rep(0,times=8)
ii <- i
for (j in 1:8) {
if (ii %% 2 == 0) {
y[j] <- -1
} else {
y[j] <- 1
}
ii <- ii %/% 2
}
if (sum(x*y) == 0) {
print(y)
}
}
|
# TODO: Add comment
#
# Author: mg14
###############################################################################
set.seed(42)
args <- commandArgs(trailingOnly = TRUE)
source("PCAWG-functions.R")
vcfFileIn <- args[1]
vcfFileOut <- args[2]
print(vcfFileIn)
print(vcfFileOut)
library(VariantAnnotation)
library(M... | /code/VCF-annotate.R | no_license | wangdi2014/PCAWG-11 | R | false | false | 4,632 | r | # TODO: Add comment
#
# Author: mg14
###############################################################################
set.seed(42)
args <- commandArgs(trailingOnly = TRUE)
source("PCAWG-functions.R")
vcfFileIn <- args[1]
vcfFileOut <- args[2]
print(vcfFileIn)
print(vcfFileOut)
library(VariantAnnotation)
library(M... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrape-listpage.R
\name{get_listpage_data}
\alias{get_listpage_data}
\title{Convenience function to fetch and parse all listpages}
\usage{
get_listpage_data(firstlistpageurl, max_pages = 10,
delay_listpage = NA, domain = "https://geizhals.a... | /man/get_listpage_data.Rd | permissive | ingonader/rgeizhals | R | false | true | 1,063 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrape-listpage.R
\name{get_listpage_data}
\alias{get_listpage_data}
\title{Convenience function to fetch and parse all listpages}
\usage{
get_listpage_data(firstlistpageurl, max_pages = 10,
delay_listpage = NA, domain = "https://geizhals.a... |
setClass("estimator",
slots = c(java="jobjRef")
)
estimator_mainSettings<-function(estimator){
estimator_settings(estimator,
jumpsModel = "moments",
resultsSamplingInterval = "1s",
inputSamplingInterval="none")
}
estimator_settings<-function(estimator,...){
util_validate()
isList=FALSE
try({if(is.list(..... | /PortfolioEffectEstim/R/metrics.R | no_license | ingted/R-Examples | R | false | false | 11,245 | r | setClass("estimator",
slots = c(java="jobjRef")
)
estimator_mainSettings<-function(estimator){
estimator_settings(estimator,
jumpsModel = "moments",
resultsSamplingInterval = "1s",
inputSamplingInterval="none")
}
estimator_settings<-function(estimator,...){
util_validate()
isList=FALSE
try({if(is.list(..... |
####check ODF metadata before exporting to NC####
#' Check ODF metadata
#'
#' Check that an ODF object has all the metadata required to build a complete netCDF file
#'
#' @param obj an odf object (oce::read.odf())
#' @param print TRUE or FALSE, TRUE will cause errors to be displayed at command
#' line, FALSE will si... | /ncTemplates/R/odf_check.R | no_license | EOGrady21/netCDF | R | false | false | 4,557 | r | ####check ODF metadata before exporting to NC####
#' Check ODF metadata
#'
#' Check that an ODF object has all the metadata required to build a complete netCDF file
#'
#' @param obj an odf object (oce::read.odf())
#' @param print TRUE or FALSE, TRUE will cause errors to be displayed at command
#' line, FALSE will si... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interpret_odds.R
\name{interpret_odds_posterior}
\alias{interpret_odds_posterior}
\title{Odds ratio interpreation for a posterior distribution.}
\usage{
interpret_odds_posterior(posterior, log = FALSE, rules = "chen2010")
}
\arguments{
\item{... | /man/interpret_odds_posterior.Rd | permissive | anhnguyendepocen/psycho.R | R | false | true | 871 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interpret_odds.R
\name{interpret_odds_posterior}
\alias{interpret_odds_posterior}
\title{Odds ratio interpreation for a posterior distribution.}
\usage{
interpret_odds_posterior(posterior, log = FALSE, rules = "chen2010")
}
\arguments{
\item{... |
suppressMessages(library(stringr))
suppressMessages(library(magrittr))
suppressMessages(library(readr))
suppressMessages(library(ggplot2))
suppressMessages(library(tidyverse))
suppressMessages(library(dplyr))
suppressMessages(library(Xmisc))
suppressMessages(library(RNOmni))
suppress... | /prs_assess_functions.R | no_license | aomdahl/prs_tools | R | false | false | 10,556 | r | suppressMessages(library(stringr))
suppressMessages(library(magrittr))
suppressMessages(library(readr))
suppressMessages(library(ggplot2))
suppressMessages(library(tidyverse))
suppressMessages(library(dplyr))
suppressMessages(library(Xmisc))
suppressMessages(library(RNOmni))
suppress... |
# Take some timing measurements and include in milestone report
stopwatch <- proc.time()
# Construct a DTM from the sample
dtm <- DocumentTermMatrix(corpora.sample)
# How long did the construction take?
proc.time() - stopwatch
# To see what is in the matrix (#docs = #rows, #terms = #cols)
dtm
# To see a subset
insp... | /Text Mining Code/extra_code.R | no_license | GriffinRidgeback/DataScienceCapstone | R | false | false | 2,354 | r | # Take some timing measurements and include in milestone report
stopwatch <- proc.time()
# Construct a DTM from the sample
dtm <- DocumentTermMatrix(corpora.sample)
# How long did the construction take?
proc.time() - stopwatch
# To see what is in the matrix (#docs = #rows, #terms = #cols)
dtm
# To see a subset
insp... |
t.test.twosample.dependent<-function(
x1
,x2
,null.hypothesis.difference = 0
,alternative = c("two.sided","less","greater")
,conf.level = 0.95) {
validate.htest.alternative(alternative = alternative)
d <- x1 - x2
d <- na.omit(d)
pair.differences.mean <- mean(d)
pair.differences.variance <- var... | /R/t.test.twosample.dependent.R | permissive | burrm/lolcat | R | false | false | 662 | r | t.test.twosample.dependent<-function(
x1
,x2
,null.hypothesis.difference = 0
,alternative = c("two.sided","less","greater")
,conf.level = 0.95) {
validate.htest.alternative(alternative = alternative)
d <- x1 - x2
d <- na.omit(d)
pair.differences.mean <- mean(d)
pair.differences.variance <- var... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hSet.R
\name{format_sets}
\alias{format_sets}
\title{Parse different set formats into ngCMatrix format}
\usage{
format_sets(x)
}
\arguments{
\item{x}{The sets to be formatted}
}
\value{
A presence/absence matrix with sets as columns and eleme... | /man/format_sets.Rd | no_license | thomasp85/hierarchicalSets | R | false | true | 699 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hSet.R
\name{format_sets}
\alias{format_sets}
\title{Parse different set formats into ngCMatrix format}
\usage{
format_sets(x)
}
\arguments{
\item{x}{The sets to be formatted}
}
\value{
A presence/absence matrix with sets as columns and eleme... |
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{markov}
\alias{markov}
\title{Compute a Markov Basis with 4ti2}
\usage{
markov(mat, format = c("mat", "vec", "tab"), dim = NULL, all = FALSE,
dir = tempdir(), opts = "-parb", quiet = TRUE, dbName)
}
\arguments{
\item{mat}{a matrix; for example the output of h... | /man/markov.Rd | no_license | cran/algstat | R | false | false | 2,586 | rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{markov}
\alias{markov}
\title{Compute a Markov Basis with 4ti2}
\usage{
markov(mat, format = c("mat", "vec", "tab"), dim = NULL, all = FALSE,
dir = tempdir(), opts = "-parb", quiet = TRUE, dbName)
}
\arguments{
\item{mat}{a matrix; for example the output of h... |
# This file contains functions for creating a list object that can
# cache its inverse and for retrieving or calculating the inverse value.
## makeCacheMatrix - create a list object that wraps a matrix and its
# inverse value. This list can get and set the matrix and its inverse.
#
# makeCacheMatrix takes as arguments... | /cachematrix.R | no_license | jjfraz11/ProgrammingAssignment2 | R | false | false | 1,722 | r | # This file contains functions for creating a list object that can
# cache its inverse and for retrieving or calculating the inverse value.
## makeCacheMatrix - create a list object that wraps a matrix and its
# inverse value. This list can get and set the matrix and its inverse.
#
# makeCacheMatrix takes as arguments... |
library(rvest)
library(tidyverse)
library(lubridate)
stations <- read_csv("stations.csv")
stations_ger <- stations %>%
distinct() %>%
dplyr::filter(str_detect(name,"Germany"))
# res <- tibble()
pb <- txtProgressBar(min = 1, max = nrow(stations_ger), style = 3)
for(i in 1:nrow(stations_ger)){
k <- 0
id <- st... | /scrape_trips.R | no_license | schochastics/trains_germany | R | false | false | 1,737 | r | library(rvest)
library(tidyverse)
library(lubridate)
stations <- read_csv("stations.csv")
stations_ger <- stations %>%
distinct() %>%
dplyr::filter(str_detect(name,"Germany"))
# res <- tibble()
pb <- txtProgressBar(min = 1, max = nrow(stations_ger), style = 3)
for(i in 1:nrow(stations_ger)){
k <- 0
id <- st... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class0Vessel.R
\name{validVessel}
\alias{validVessel}
\title{ValVesselIdity Vessel method}
\usage{
validVessel(object)
}
\arguments{
\item{object}{a vessel object}
}
\description{
ValVesselIdity Vessel method
}
| /WP6/CLEFRDB/man/validVessel.Rd | permissive | ices-tools-dev/FishPi2 | R | false | true | 289 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class0Vessel.R
\name{validVessel}
\alias{validVessel}
\title{ValVesselIdity Vessel method}
\usage{
validVessel(object)
}
\arguments{
\item{object}{a vessel object}
}
\description{
ValVesselIdity Vessel method
}
|
# @file Package.R
#
# Copyright 2019 Observational Health Data Sciences and Informatics
#
# This file is part of MetforminVsSulfonylurea
#
# 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
#
# ... | /2019SymposiumTutorial-PLE/MetforminVsSulfonylurea/R/Package.R | permissive | ohdsi-korea/OhdsiKoreaTutorials | R | false | false | 968 | r | # @file Package.R
#
# Copyright 2019 Observational Health Data Sciences and Informatics
#
# This file is part of MetforminVsSulfonylurea
#
# 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
#
# ... |
## Enables the caching of inverse matrix operations.
## Example:
## x <- matrix(c(-8,-3,24,2),ncol=2,nrow=2)
## y <- makeCacheMatrix(x)
## cacheSolve(y)
##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
## makeCacheMatrix takes the given matrix and stores it in cache
makeCacheMatrix <- function(x = matrix()) {
... | /cachematrix.R | no_license | agapebondservant/ProgrammingAssignment2 | R | false | false | 1,238 | r | ## Enables the caching of inverse matrix operations.
## Example:
## x <- matrix(c(-8,-3,24,2),ncol=2,nrow=2)
## y <- makeCacheMatrix(x)
## cacheSolve(y)
##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
## makeCacheMatrix takes the given matrix and stores it in cache
makeCacheMatrix <- function(x = matrix()) {
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/edges.R
\docType{methods}
\name{edges}
\alias{edges}
\alias{nEdges}
\alias{nEdges,GeneSetCollection-method}
\alias{edges,GeneSetCollection-method}
\title{Edges between genes in GeneSetCollections}
\usage{
edges(object)
nEdge... | /man/edges.Rd | no_license | llrs/GSEAdv | R | false | true | 1,013 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/edges.R
\docType{methods}
\name{edges}
\alias{edges}
\alias{nEdges}
\alias{nEdges,GeneSetCollection-method}
\alias{edges,GeneSetCollection-method}
\title{Edges between genes in GeneSetCollections}
\usage{
edges(object)
nEdge... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_grid_from_poly.R
\name{create_grid_from_poly}
\alias{create_grid_from_poly}
\title{Create ISEA-3-HEXAGON_grid_from_polygon}
\usage{
create_grid_from_poly(polygon_object, grid_res, set_seed = F,
intersect_polygon = T)
}
\arguments{
\i... | /man/create_grid_from_poly.Rd | permissive | Vizzuality/vspt | R | false | true | 1,330 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_grid_from_poly.R
\name{create_grid_from_poly}
\alias{create_grid_from_poly}
\title{Create ISEA-3-HEXAGON_grid_from_polygon}
\usage{
create_grid_from_poly(polygon_object, grid_res, set_seed = F,
intersect_polygon = T)
}
\arguments{
\i... |
library(ape)
testtree <- read.tree("6605_4.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="6605_4_unrooted.txt") | /codeml_files/newick_trees_processed/6605_4/rinput.R | no_license | DaniBoo/cyanobacteria_project | R | false | false | 135 | r | library(ape)
testtree <- read.tree("6605_4.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="6605_4_unrooted.txt") |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{ts_plot}
\alias{ts_plot}
\title{ts_plot}
\usage{
ts_plot(rt, by = "days", txt = "text", filter = NULL, exclude = NULL,
key = NULL, cols = NULL, xlim = NULL, ylim = NULL, legend = TRUE,
leg.x = NULL, leg.y = NULL, lab.cex = NU... | /man/ts_plot.Rd | no_license | seanchrismurphy/rtweet | R | false | true | 2,336 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{ts_plot}
\alias{ts_plot}
\title{ts_plot}
\usage{
ts_plot(rt, by = "days", txt = "text", filter = NULL, exclude = NULL,
key = NULL, cols = NULL, xlim = NULL, ylim = NULL, legend = TRUE,
leg.x = NULL, leg.y = NULL, lab.cex = NU... |
###################################################
### code chunk number 43: Reset
###################################################
options(prompt = "> ", continue = "+ ")
| /inst/userguide/figures/CS4--Reset.R | permissive | nwfsc-timeseries/MARSS | R | false | false | 178 | r | ###################################################
### code chunk number 43: Reset
###################################################
options(prompt = "> ", continue = "+ ")
|
#################################################################
# Statistics 133, Lecture 1, Fall 2014
# Final Exam, Friday December 19th, 7 pm - 10 pm
# Please read all instructions carefully.
# When you are done SAVE the file final.R
# plug ethernet back in and please email it to
# ingileif@gmail.com
############... | /final2014/final.R | no_license | adrianzhong/stat133 | R | false | false | 17,104 | r | #################################################################
# Statistics 133, Lecture 1, Fall 2014
# Final Exam, Friday December 19th, 7 pm - 10 pm
# Please read all instructions carefully.
# When you are done SAVE the file final.R
# plug ethernet back in and please email it to
# ingileif@gmail.com
############... |
## Author: Natalie Tan
## Date: 7th April 2016
## Assignment: Caching the Inverse of a Matrix
## makeCacheMatrix: This function creates a special "matrix" object that can cache its inverse. It contains a list which performs 4 functions:
## 1.set the value of the vector
## 2.get the value of the vector
## 3.set the val... | /cachematrix.R | no_license | NatalieTan/ProgrammingAssignment2 | R | false | false | 1,265 | r | ## Author: Natalie Tan
## Date: 7th April 2016
## Assignment: Caching the Inverse of a Matrix
## makeCacheMatrix: This function creates a special "matrix" object that can cache its inverse. It contains a list which performs 4 functions:
## 1.set the value of the vector
## 2.get the value of the vector
## 3.set the val... |
#nbp server.R
shinyServer(function(input,output,session){
source("./dev.R")
sim.data <- eventReactive(input$go,ignoreNULL = F,{
validate(
need(input$gen<=5000,"Please select < 5000 generations."),
need(input$nPop<=100,"Please select < 100 populations"),
need(input$n<1000000,"Please sele... | /server.R | no_license | cjbattey/popSim | R | false | false | 2,835 | r | #nbp server.R
shinyServer(function(input,output,session){
source("./dev.R")
sim.data <- eventReactive(input$go,ignoreNULL = F,{
validate(
need(input$gen<=5000,"Please select < 5000 generations."),
need(input$nPop<=100,"Please select < 100 populations"),
need(input$n<1000000,"Please sele... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Gaussian_Inference.r
\name{dPosterior.GaussianGaussian}
\alias{dPosterior.GaussianGaussian}
\title{Density function of the posterior distribution of a "GaussianGaussian" object}
\usage{
\method{dPosterior}{GaussianGaussian}(obj, mu, LOG = TRU... | /man/dPosterior.GaussianGaussian.Rd | permissive | seanahmad/Bayesian-Bricks | R | false | true | 1,409 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Gaussian_Inference.r
\name{dPosterior.GaussianGaussian}
\alias{dPosterior.GaussianGaussian}
\title{Density function of the posterior distribution of a "GaussianGaussian" object}
\usage{
\method{dPosterior}{GaussianGaussian}(obj, mu, LOG = TRU... |
data("raman_hdpe")
# Create temp dir for testthat
tmp <- file.path(tempdir(), "OpenSpecy-testthat")
dir.create(tmp, showWarnings = F)
test_that("share_text() gives expected output", {
expect_message(share_spec(raman_hdpe,
metadata = c(user_name = "Win Cowger",
... | /tests/testthat/test-share_spec.R | permissive | rainyl/OpenSpecy | R | false | false | 760 | r | data("raman_hdpe")
# Create temp dir for testthat
tmp <- file.path(tempdir(), "OpenSpecy-testthat")
dir.create(tmp, showWarnings = F)
test_that("share_text() gives expected output", {
expect_message(share_spec(raman_hdpe,
metadata = c(user_name = "Win Cowger",
... |
# This function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
m <- NULL # "m" will store the cached inverse matrix
set <- function(y) { # Set matrix
x <<- y
m <<- NULL
}
get <- function() x... | /cachematrix.R | no_license | blackvalar/ProgrammingAssignment2 | R | false | false | 1,748 | r | # This function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
m <- NULL # "m" will store the cached inverse matrix
set <- function(y) { # Set matrix
x <<- y
m <<- NULL
}
get <- function() x... |
###########################################################################################################
# Program: C://Users//MichaelDDiDomenico//Desktop//HUD//FAFSA//Phase III//Random Assignment//Programs//assignment.function.R
# Programmer: Mike DiDomenico
# Purpose: This loop will create the assignme... | /Randomization/assignment_function.R | no_license | gsa-oes/1732-FAFSA_Phase_III_Public | R | false | false | 2,546 | r | ###########################################################################################################
# Program: C://Users//MichaelDDiDomenico//Desktop//HUD//FAFSA//Phase III//Random Assignment//Programs//assignment.function.R
# Programmer: Mike DiDomenico
# Purpose: This loop will create the assignme... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mrs_data_proc.R
\name{rep_dyn}
\alias{rep_dyn}
\title{Replicate a scan in the dynamic dimension.}
\usage{
rep_dyn(mrs_data, times)
}
\arguments{
\item{mrs_data}{MRS data to be replicated.}
\item{times}{Number of times to replicate.}
}
\value... | /man/rep_dyn.Rd | no_license | muschellij2/spant | R | false | true | 407 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mrs_data_proc.R
\name{rep_dyn}
\alias{rep_dyn}
\title{Replicate a scan in the dynamic dimension.}
\usage{
rep_dyn(mrs_data, times)
}
\arguments{
\item{mrs_data}{MRS data to be replicated.}
\item{times}{Number of times to replicate.}
}
\value... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scatterPlot.R
\name{scatterPlot}
\alias{scatterPlot}
\title{Flexible scatter plots}
\usage{
scatterPlot(mydata, x = "nox", y = "no2", z = NA, method = "scatter",
group = NA, avg.time = "default", data.thresh = 0, statistic = "mean",
... | /man/scatterPlot.Rd | no_license | VarrudaS/openair | R | false | true | 17,114 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scatterPlot.R
\name{scatterPlot}
\alias{scatterPlot}
\title{Flexible scatter plots}
\usage{
scatterPlot(mydata, x = "nox", y = "no2", z = NA, method = "scatter",
group = NA, avg.time = "default", data.thresh = 0, statistic = "mean",
... |
#search a specific substring from a string and display reverse now insert a new string at that position
string="Linkin Park is an American rock band from Agoura Hills"
search = 'rock'
#x=regexpr(search,string)
#print(x[1])
nsubstr='pop'
nstr = sub(search, nsubstr,string)
print(nstr)
| /lab5/l5p4.R | no_license | Srinjoy-Santra/Advanced-Programming-Lab | R | false | false | 286 | r | #search a specific substring from a string and display reverse now insert a new string at that position
string="Linkin Park is an American rock band from Agoura Hills"
search = 'rock'
#x=regexpr(search,string)
#print(x[1])
nsubstr='pop'
nstr = sub(search, nsubstr,string)
print(nstr)
|
# Read archive .txt
electro <- read.csv("household_power_consumption.txt", header = TRUE,
sep = ';', nrows = 70000, dec = ".", stringsAsFactors = FALSE)
# Change factors by numerics
electro$Global_active_power <- as.numeric(electro$Global_active_power)
electro$Global_reactive_power <- as.num... | /Plot3.R | no_license | batlander/ExData_Plotting1 | R | false | false | 1,250 | r | # Read archive .txt
electro <- read.csv("household_power_consumption.txt", header = TRUE,
sep = ';', nrows = 70000, dec = ".", stringsAsFactors = FALSE)
# Change factors by numerics
electro$Global_active_power <- as.numeric(electro$Global_active_power)
electro$Global_reactive_power <- as.num... |
library(glmnet)
mydata = read.table("../../../../TrainingSet/FullSet/Classifier/lung_other.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="mse",alpha=0.45,family="gaussian",standardize=TRUE)
sink('./lung_other_053.txt',appen... | /Model/EN/Classifier/lung_other/lung_other_053.R | no_license | esbgkannan/QSMART | R | false | false | 357 | r | library(glmnet)
mydata = read.table("../../../../TrainingSet/FullSet/Classifier/lung_other.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="mse",alpha=0.45,family="gaussian",standardize=TRUE)
sink('./lung_other_053.txt',appen... |
# Dev quadratic approximation v2 blocks, like in H&Y 2009, offset now in
library(devtools)
load_all(".")
set.seed(2)
source("tests/0-make-test-set-2.R")
verb <- 1
lmin <- 0.001
eps <- 1e-3
X <- Xo
y <- yo
o <- o
if(!exists("f0"))
t0 <- system.time( f0 <- glbin_bcgd(X, y, offset=o, eps=eps, nlambda=100, index =... | /tests/2-quadratic-with-blocks-r-offset.R | no_license | jeliason/glbinc | R | false | false | 1,287 | r | # Dev quadratic approximation v2 blocks, like in H&Y 2009, offset now in
library(devtools)
load_all(".")
set.seed(2)
source("tests/0-make-test-set-2.R")
verb <- 1
lmin <- 0.001
eps <- 1e-3
X <- Xo
y <- yo
o <- o
if(!exists("f0"))
t0 <- system.time( f0 <- glbin_bcgd(X, y, offset=o, eps=eps, nlambda=100, index =... |
#Read Source Data
sourceData <- read.table("household_power_consumption.txt", sep=";", header=TRUE)
#Convert Date
sourceData$Date <- as.Date(sourceData$Date, format="%d/%m/%Y")
#Filter Data
DataFiltered <- sourceData[sourceData$Date %in% as.Date(c('2007-02-01', '2007-02-02')),]
#Convert Time
datetime <- paste(Da... | /plot3.R | no_license | nrtang/ExData_Plotting1 | R | false | false | 1,130 | r | #Read Source Data
sourceData <- read.table("household_power_consumption.txt", sep=";", header=TRUE)
#Convert Date
sourceData$Date <- as.Date(sourceData$Date, format="%d/%m/%Y")
#Filter Data
DataFiltered <- sourceData[sourceData$Date %in% as.Date(c('2007-02-01', '2007-02-02')),]
#Convert Time
datetime <- paste(Da... |
#' ---
#' title: "Logistic Regression"
#' author: Steven V. Miller, [svmiller.com](http://svmiller.com)
#' date: 25 March 2021
#' abstract: "This is a lab script for [POST 8000](http://post8000.svmiller.com), a graduate-level quantitative methods for public policy class that I teach at Clemson University. It will not b... | /lab-scripts/logistic-regression-lab.R | permissive | depocen/post8000 | R | false | false | 25,143 | r | #' ---
#' title: "Logistic Regression"
#' author: Steven V. Miller, [svmiller.com](http://svmiller.com)
#' date: 25 March 2021
#' abstract: "This is a lab script for [POST 8000](http://post8000.svmiller.com), a graduate-level quantitative methods for public policy class that I teach at Clemson University. It will not b... |
\name{AffyIlmn}
\alias{AffyIlmn}
\title{cross mapping table}
\description{cross mapping table}
\author{Claudio Isella, \email{claudio.isella@ircc.it}}
\keyword{MulCom}
| /man/AffyIlmn.Rd | no_license | cisella/Mulcom | R | false | false | 170 | rd | \name{AffyIlmn}
\alias{AffyIlmn}
\title{cross mapping table}
\description{cross mapping table}
\author{Claudio Isella, \email{claudio.isella@ircc.it}}
\keyword{MulCom}
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diversity_metrics.R
\name{simpsons}
\alias{simpsons}
\title{Simpson's Diversity Index}
\usage{
simpsons(taxa.wide)
}
\arguments{
\item{taxa.wide}{= Taxonomic counts aggregated at the specific taxonomic
classification (e.g., Order, Family, or ... | /man/simpsons.Rd | no_license | InterstateCommissionPotomacRiverBasin/BIBI | R | false | true | 687 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diversity_metrics.R
\name{simpsons}
\alias{simpsons}
\title{Simpson's Diversity Index}
\usage{
simpsons(taxa.wide)
}
\arguments{
\item{taxa.wide}{= Taxonomic counts aggregated at the specific taxonomic
classification (e.g., Order, Family, or ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/01.1-decimal-class.R
\name{unit_word}
\alias{unit_word}
\title{Print full name of unit in footer}
\usage{
unit_word(x)
}
\description{
Print full name of unit in footer
}
\keyword{internal}
| /man/unit_word.Rd | permissive | jessesadler/debvctrs | R | false | true | 268 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/01.1-decimal-class.R
\name{unit_word}
\alias{unit_word}
\title{Print full name of unit in footer}
\usage{
unit_word(x)
}
\description{
Print full name of unit in footer
}
\keyword{internal}
|
suppressPackageStartupMessages( library(topGO) ) # car fait chier
stages <- c("ovo","X28cell","morula","blastula","gastrula","troc","dlarv","spat")
GOs <- c("BP","MF","CC")
feature <- "CDS"
# Read the gene universe:
message(paste("Reading source data for ",feature,"...", sep = ""))
univ <- read.table(paste("c... | /enrich-methyl-TiraFuoriRobaPerHeatmap.r | no_license | BOREA-UNICAEN/MeDIPSeq-Dev-Gigas | R | false | false | 4,184 | r | suppressPackageStartupMessages( library(topGO) ) # car fait chier
stages <- c("ovo","X28cell","morula","blastula","gastrula","troc","dlarv","spat")
GOs <- c("BP","MF","CC")
feature <- "CDS"
# Read the gene universe:
message(paste("Reading source data for ",feature,"...", sep = ""))
univ <- read.table(paste("c... |
Scrambled_Edge_SaveMultiAttacks <- function(g, target_orders, DeleteOrders , Target){
#This function generates a set of attack folders by permuting the edge excess capacity for a specific graph,
#where each attack folder contains a series of random attacks with a set edge permutation
# g and igraph object of I... | /Scrambled_Edge_SaveMultiAttacks.R | no_license | JonnoB/Useful_PhD__R_Functions | R | false | false | 1,649 | r | Scrambled_Edge_SaveMultiAttacks <- function(g, target_orders, DeleteOrders , Target){
#This function generates a set of attack folders by permuting the edge excess capacity for a specific graph,
#where each attack folder contains a series of random attacks with a set edge permutation
# g and igraph object of I... |
library(R.utils)
### Name: captureOutput
### Title: Evaluate an R expression and captures the output
### Aliases: captureOutput
### Keywords: IO programming
### ** Examples
# captureOutput() is much faster than capture.output()
# for large outputs when capturing to a string.
for (n in c(10e3, 20e3, 30e3, 40e3)) {
... | /data/genthat_extracted_code/R.utils/examples/captureOutput.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 680 | r | library(R.utils)
### Name: captureOutput
### Title: Evaluate an R expression and captures the output
### Aliases: captureOutput
### Keywords: IO programming
### ** Examples
# captureOutput() is much faster than capture.output()
# for large outputs when capturing to a string.
for (n in c(10e3, 20e3, 30e3, 40e3)) {
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/update_schedule.R
\name{update_schedule}
\alias{update_schedule}
\title{Update EnergyPlus Schedules}
\usage{
update_schedule()
}
\description{
The analytic models produce schedules. We need to update the EnergyPlus schedule files with the new... | /man/update_schedule.Rd | no_license | 07engineer/residential_loadshapes | R | false | true | 505 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/update_schedule.R
\name{update_schedule}
\alias{update_schedule}
\title{Update EnergyPlus Schedules}
\usage{
update_schedule()
}
\description{
The analytic models produce schedules. We need to update the EnergyPlus schedule files with the new... |
library(pgirmess)
### Name: thintrack
### Title: Thin a track just keeping the points separated by a user defined
### minimal distance
### Aliases: thintrack
### Keywords: spatial
### ** Examples
library(sp)
mySPDF<-structure(list(x = c(748775, 748807, 748834, 748854, 748871,
748873, 748880, 748910, 748919, 748... | /data/genthat_extracted_code/pgirmess/examples/thintrack.rd.R | no_license | surayaaramli/typeRrh | R | false | false | 1,427 | r | library(pgirmess)
### Name: thintrack
### Title: Thin a track just keeping the points separated by a user defined
### minimal distance
### Aliases: thintrack
### Keywords: spatial
### ** Examples
library(sp)
mySPDF<-structure(list(x = c(748775, 748807, 748834, 748854, 748871,
748873, 748880, 748910, 748919, 748... |
#' same as col/rowMeans but for variance
#'
#' same as col/rowMeans but for variance
#'
#' %% ~~ If necessary, more details than the description above ~~
#'
#' @aliases colVars rowVars
#' @param X %% ~~Describe \code{X} here~~
#' @param \dots %% ~~Describe \code{\dots} here~~
#' @return %% ~Describe the value return... | /R/colVars.R | no_license | livioivil/rospo | R | false | false | 986 | r | #' same as col/rowMeans but for variance
#'
#' same as col/rowMeans but for variance
#'
#' %% ~~ If necessary, more details than the description above ~~
#'
#' @aliases colVars rowVars
#' @param X %% ~~Describe \code{X} here~~
#' @param \dots %% ~~Describe \code{\dots} here~~
#' @return %% ~Describe the value return... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clean_names.R
\name{align_taxa}
\alias{align_taxa}
\title{Checks all taxa within against our list of known species
If not found, and update=TRUE, checks the unknown species against}
\usage{
align_taxa(
original_name,
output = "taxonomic_u... | /man/align_taxa.Rd | no_license | snubian/apcnames | R | false | true | 584 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clean_names.R
\name{align_taxa}
\alias{align_taxa}
\title{Checks all taxa within against our list of known species
If not found, and update=TRUE, checks the unknown species against}
\usage{
align_taxa(
original_name,
output = "taxonomic_u... |
## Example
document()
# creating an initial landscape object
initial <- init_landscape(states = c("+","0","-"), cover = c(0.4,0.1,0.5))
plot(initial)
plot(initial, cols = c("darkgreen", "grey70", "white"))
summary(initial)
# change size of lattice
initial <- init_landscape(states = c("+","0","-"), cover = c(0... | /draft/demo.R | permissive | fdschneider/caspr | R | false | false | 2,314 | r | ## Example
document()
# creating an initial landscape object
initial <- init_landscape(states = c("+","0","-"), cover = c(0.4,0.1,0.5))
plot(initial)
plot(initial, cols = c("darkgreen", "grey70", "white"))
summary(initial)
# change size of lattice
initial <- init_landscape(states = c("+","0","-"), cover = c(0... |
#' convert a dfm to a non-quanteda format
#'
#' Convert a quanteda \link{dfm-class} object to a format useable by other text
#' analysis packages. The general function \code{convert} provides easy
#' conversion from a dfm to the document-term representations used in all other
#' text analysis packages for which conve... | /R/converters.R | no_license | HaiyanLW/quanteda | R | false | false | 11,010 | r | #' convert a dfm to a non-quanteda format
#'
#' Convert a quanteda \link{dfm-class} object to a format useable by other text
#' analysis packages. The general function \code{convert} provides easy
#' conversion from a dfm to the document-term representations used in all other
#' text analysis packages for which conve... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/loess.R
\name{predSmooth}
\alias{predSmooth}
\title{Estimate predictions and residuals for a smooth of x and y}
\usage{
predSmooth(x, y)
}
\arguments{
\item{x}{vector of numeric values}
\item{y}{vector of numeric values}
}
\value{
data frame... | /man/predSmooth.Rd | no_license | erichare/bulletr | R | false | true | 444 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/loess.R
\name{predSmooth}
\alias{predSmooth}
\title{Estimate predictions and residuals for a smooth of x and y}
\usage{
predSmooth(x, y)
}
\arguments{
\item{x}{vector of numeric values}
\item{y}{vector of numeric values}
}
\value{
data frame... |
context("Testing Styles")
test_that("All styles work", {
expect_equal(0, 0)
})
| /tests/testthat/testStyle.R | permissive | arnaud-m/XLUniv | R | false | false | 83 | r | context("Testing Styles")
test_that("All styles work", {
expect_equal(0, 0)
})
|
## This function creates the special matrix used for
## caching matrix inverse
makeCacheMatrix <- function(x = matrix()) {
inverse <- NULL
set <- function(y) {
x <<- y
inverse <<- NULL
}
get <- function() x
setinverse <- function(inv) inverse <<- inv
getinverse <- function() in... | /cachematrix.R | no_license | darxsys/ProgrammingAssignment2 | R | false | false | 813 | r | ## This function creates the special matrix used for
## caching matrix inverse
makeCacheMatrix <- function(x = matrix()) {
inverse <- NULL
set <- function(y) {
x <<- y
inverse <<- NULL
}
get <- function() x
setinverse <- function(inv) inverse <<- inv
getinverse <- function() in... |
\name{PalikAg}
\alias{PalikAg}
\docType{data}
\title{
Complex Permittivity of Silver in the Visible Regime (dataset)
}
\description{
The measured permittivity of silver in the visible regime
}
\usage{data(PalikAg)}
\format{
A data frame with 79 observations on the following 3 variables.
\describe{
\item{\code{W... | /man/PalikAg.Rd | no_license | tjconstant/photonMonkey | R | false | false | 919 | rd | \name{PalikAg}
\alias{PalikAg}
\docType{data}
\title{
Complex Permittivity of Silver in the Visible Regime (dataset)
}
\description{
The measured permittivity of silver in the visible regime
}
\usage{data(PalikAg)}
\format{
A data frame with 79 observations on the following 3 variables.
\describe{
\item{\code{W... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/patient_location_visualizer.R
\name{patient_location_visualizer}
\alias{patient_location_visualizer}
\title{Visualize the Patient's Peptide Locations/Affinities for Neoantigens}
\usage{
patient_location_visualizer(geneSet, colNum = 1, confide... | /man/patient_location_visualizer.Rd | permissive | lukatrkla/lanpAnalysis | R | false | true | 1,050 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/patient_location_visualizer.R
\name{patient_location_visualizer}
\alias{patient_location_visualizer}
\title{Visualize the Patient's Peptide Locations/Affinities for Neoantigens}
\usage{
patient_location_visualizer(geneSet, colNum = 1, confide... |
\name{getPathwayInfo-methods}
\docType{methods}
\alias{getPathwayInfo}
\alias{getPathwayInfo-methods}
\alias{getPathwayInfo,KEGGPathway-method}
\title{ Get KEGG pathway info}
\description{
KEGG stores additional information of the pathways in their KGML
files, which can be extracted by this function.
The method ... | /man/getPathwayInfo-methods.Rd | no_license | Accio/KEGGgraph | R | false | false | 747 | rd | \name{getPathwayInfo-methods}
\docType{methods}
\alias{getPathwayInfo}
\alias{getPathwayInfo-methods}
\alias{getPathwayInfo,KEGGPathway-method}
\title{ Get KEGG pathway info}
\description{
KEGG stores additional information of the pathways in their KGML
files, which can be extracted by this function.
The method ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HVG.R
\name{HVG}
\alias{HVG}
\title{A function to compute Horizontal Visibility Graphs and associated statistics}
\usage{
HVG(x, meth, maxL, rho)
}
\arguments{
\item{x}{A time series}
\item{meth}{A character string that describes the HVG met... | /man/HVG.Rd | no_license | cran/statcomp | R | false | true | 1,231 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HVG.R
\name{HVG}
\alias{HVG}
\title{A function to compute Horizontal Visibility Graphs and associated statistics}
\usage{
HVG(x, meth, maxL, rho)
}
\arguments{
\item{x}{A time series}
\item{meth}{A character string that describes the HVG met... |
#### Science-Center Review: Data flags summary ####
SCLbagIE <- eventReactive(list(input$reviewPull, input$loadRData), {check_bagIE(siteData_SCR, reviewSummary = TRUE)})
SCLhasQ <- eventReactive(list(input$reviewPull, input$loadRData), {check_Q(siteData_SCR, reviewSummary = TRUE)})
# SCLmetaData <- eventReactive(lis... | /inst/shiny/SedReviewGUI/server_SCR_4_flags.R | no_license | cpenn-usgs/sedReview | R | false | false | 11,953 | r | #### Science-Center Review: Data flags summary ####
SCLbagIE <- eventReactive(list(input$reviewPull, input$loadRData), {check_bagIE(siteData_SCR, reviewSummary = TRUE)})
SCLhasQ <- eventReactive(list(input$reviewPull, input$loadRData), {check_Q(siteData_SCR, reviewSummary = TRUE)})
# SCLmetaData <- eventReactive(lis... |
library(tidync)
library(raster)
library(rgdal)
library(sf)
################## THIS SETS THE RIGHT PARTS RUNNING
for (run in c(1:4,6)) {
if (run == 1) {
unstablename <- 'Asia_unstable_R8_1_2020'
stablename <- 'Asia_stable_R8_1_2020'
tasmax_name <- 'D:/DECIMALS/GLENSFix/TREFHTMX_control.001_map_daily_al... | /Generate PAR/PAR GLENS Asia 2030 to 2070.R | no_license | cjcarlson/geomalaria | R | false | false | 8,382 | r |
library(tidync)
library(raster)
library(rgdal)
library(sf)
################## THIS SETS THE RIGHT PARTS RUNNING
for (run in c(1:4,6)) {
if (run == 1) {
unstablename <- 'Asia_unstable_R8_1_2020'
stablename <- 'Asia_stable_R8_1_2020'
tasmax_name <- 'D:/DECIMALS/GLENSFix/TREFHTMX_control.001_map_daily_al... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BatchtoolsFutureError.R
\name{BatchtoolsFutureError}
\alias{BatchtoolsFutureError}
\title{FutureError class for errors related to BatchtoolsFuture:s}
\usage{
BatchtoolsFutureError(...)
}
\arguments{
\item{\ldots}{Arguments passed to \link[fut... | /man/BatchtoolsFutureError.Rd | no_license | pythseq/future.batchtools | R | false | true | 448 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BatchtoolsFutureError.R
\name{BatchtoolsFutureError}
\alias{BatchtoolsFutureError}
\title{FutureError class for errors related to BatchtoolsFuture:s}
\usage{
BatchtoolsFutureError(...)
}
\arguments{
\item{\ldots}{Arguments passed to \link[fut... |
set.seed(142)
library(ggplot2)
n <- 100
x2 <- 1:n
x1 <- 0.01 * x2 + runif(n, -.1, .1)
y = -x1 + x2 + rnorm(n, sd = 0.01)
summary(lm(y ~ x1))$coef
summary(lm(y ~ x1 + x2))$coef
dat = data.frame(y = y, x1 = x1, x2 = x2, ey = resid(lm(y ~ x2)), ex1 = resid(lm(x1 ~ x2)))
ggplot(dat, aes(y = y, x = x1, color = x2)) +
... | /multivariate_residuals.R | no_license | vcwild/lmexercises | R | false | false | 925 | r | set.seed(142)
library(ggplot2)
n <- 100
x2 <- 1:n
x1 <- 0.01 * x2 + runif(n, -.1, .1)
y = -x1 + x2 + rnorm(n, sd = 0.01)
summary(lm(y ~ x1))$coef
summary(lm(y ~ x1 + x2))$coef
dat = data.frame(y = y, x1 = x1, x2 = x2, ey = resid(lm(y ~ x2)), ex1 = resid(lm(x1 ~ x2)))
ggplot(dat, aes(y = y, x = x1, color = x2)) +
... |
library(data.table)
library(stringr)
library(ggplot2)
library(ggpubr)
library(ggpointdensity)
theme_set(theme_classic2())
library(ggcorrplot)
library(qvalue)
library(ggpointdensity)
library(DESeq2)
library(dplyr)
path_ideas = "../../ideas/Autism"
qqp <- function(pvals, main, confidence=.95, cutoff=1){
alpha = ... | /R/step_z1_DESeq2.R | permissive | Sun-lab/CARseq_pipelines | R | false | false | 7,525 | r |
library(data.table)
library(stringr)
library(ggplot2)
library(ggpubr)
library(ggpointdensity)
theme_set(theme_classic2())
library(ggcorrplot)
library(qvalue)
library(ggpointdensity)
library(DESeq2)
library(dplyr)
path_ideas = "../../ideas/Autism"
qqp <- function(pvals, main, confidence=.95, cutoff=1){
alpha = ... |
#"R for Data Science" by Hadley Wickham & Garrett Grolemund
#Chapter 3: "Data Transformation with dplyr" -- EXERCISE PROBLEMS
library(tidyverse)
library(nycflights13)
nycflights13::flights
#Section 3-6: grouped summaries with SUMMARIZE()
# (Q1) Brainstorm at least 5 different ways to assess the typical delay c... | /ch3-6_EXERCISES-dplyr_Summarize.R | no_license | JethroTorczon/R_for_Data_Science-book | R | false | false | 1,563 | r | #"R for Data Science" by Hadley Wickham & Garrett Grolemund
#Chapter 3: "Data Transformation with dplyr" -- EXERCISE PROBLEMS
library(tidyverse)
library(nycflights13)
nycflights13::flights
#Section 3-6: grouped summaries with SUMMARIZE()
# (Q1) Brainstorm at least 5 different ways to assess the typical delay c... |
#####Primaria
### Espanol
#Tercero
Pri3Esp2011 <- rxCube( cal_esp ~ cct,
data="XData/Enlace2010.xdf",
rowSelection= (grado == 3) & (nivel == "PRIMARIA"))
Pri3Esp2011 <- rxResultsDF(Pri3Esp2011)
#Cuarto
Pri4Esp2011 <- rxCube( cal_esp ~ cct,
data="XDa... | /SRC/PrimariaEspanol2010.R | no_license | EduardoClark/Enlace | R | false | false | 2,283 | r | #####Primaria
### Espanol
#Tercero
Pri3Esp2011 <- rxCube( cal_esp ~ cct,
data="XData/Enlace2010.xdf",
rowSelection= (grado == 3) & (nivel == "PRIMARIA"))
Pri3Esp2011 <- rxResultsDF(Pri3Esp2011)
#Cuarto
Pri4Esp2011 <- rxCube( cal_esp ~ cct,
data="XDa... |
\name{quantbox}
\alias{quantbox}
\title{
Redefine Boxplot to Show Quantiles
}
\description{
Hijack boxplot code and replace \code{boxplot.stats} with \code{myboxplot.stats}.
}
\usage{
quantbox(x, use.cols = TRUE, ...)
}
\arguments{
\item{x}{Data from which quantile plots are created.
Either a numeric vector, ... | /PBSawatea/man/quantbox.Rd | no_license | pbs-software/pbs-awatea | R | false | false | 2,653 | rd | \name{quantbox}
\alias{quantbox}
\title{
Redefine Boxplot to Show Quantiles
}
\description{
Hijack boxplot code and replace \code{boxplot.stats} with \code{myboxplot.stats}.
}
\usage{
quantbox(x, use.cols = TRUE, ...)
}
\arguments{
\item{x}{Data from which quantile plots are created.
Either a numeric vector, ... |
#' Vectorize a scalar function to work on any R object.
#'
#' Robust alternative to \code{\link{Vectorize}} function that accepts any function with two
#' or more arguments. Returns a function that will work an arbitrary number of vectors, lists or
#' data frames, though output may be unpredicatable in unusual applica... | /R/row.r | no_license | ccpluncw/ccpl_R_chutils | R | false | false | 11,834 | r | #' Vectorize a scalar function to work on any R object.
#'
#' Robust alternative to \code{\link{Vectorize}} function that accepts any function with two
#' or more arguments. Returns a function that will work an arbitrary number of vectors, lists or
#' data frames, though output may be unpredicatable in unusual applica... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/launch_app.R
\name{launch_app}
\alias{launch_app}
\title{Launch dartzviz Shiny App}
\usage{
launch_app()
}
\value{
Shiny App Instance
}
\description{
Launch dartzviz Shiny App
}
\examples{
launch_app()
}
| /plot-app/man/launch_app.Rd | no_license | dmorgan26/dartsviz | R | false | true | 282 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/launch_app.R
\name{launch_app}
\alias{launch_app}
\title{Launch dartzviz Shiny App}
\usage{
launch_app()
}
\value{
Shiny App Instance
}
\description{
Launch dartzviz Shiny App
}
\examples{
launch_app()
}
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inspector_operations.R
\name{inspector_delete_assessment_run}
\alias{inspector_delete_assessment_run}
\title{Deletes the assessment run that is specified by the ARN of the
assessment run}
\usage{
inspector_delete_assessment_run(assessmentRunA... | /cran/paws.security.identity/man/inspector_delete_assessment_run.Rd | permissive | han-tun/paws | R | false | true | 914 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inspector_operations.R
\name{inspector_delete_assessment_run}
\alias{inspector_delete_assessment_run}
\title{Deletes the assessment run that is specified by the ARN of the
assessment run}
\usage{
inspector_delete_assessment_run(assessmentRunA... |
with(a98cf02afaeba446a9c51f2493fd5f24e, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';FRAME878836[,(c('report_run_end_date','modified_date','created_date','report_run_date')) := lapply(.SD, function(x) as.Date(... | /80bb2a25-ac5d-47d0-abfc-b3f3811f0936/R/Temp/apgt46AdqzBFc.R | no_license | ayanmanna8/test | R | false | false | 431 | r | with(a98cf02afaeba446a9c51f2493fd5f24e, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';FRAME878836[,(c('report_run_end_date','modified_date','created_date','report_run_date')) := lapply(.SD, function(x) as.Date(... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{df_append}
\alias{df_append}
\title{Appending Columns to Data Frames}
\usage{
df_append(x, ..., after = length(x), names = NULL,
stringsAsFactors = getOption("stringsAsFactors", FALSE))
}
\arguments{
\item{x}{a \code{data.fram... | /man/df_append.Rd | no_license | crhisto/xbioc | R | false | true | 1,338 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{df_append}
\alias{df_append}
\title{Appending Columns to Data Frames}
\usage{
df_append(x, ..., after = length(x), names = NULL,
stringsAsFactors = getOption("stringsAsFactors", FALSE))
}
\arguments{
\item{x}{a \code{data.fram... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bin_tables0.R
\name{bin_tables0}
\alias{bin_tables0}
\title{Bin tables of environmental conditions in M and for occurrences from data}
\usage{
bin_tables0(M_folder, M_format, occ_folder, longitude,
latitude, var_folder, var_format... | /man/bin_tables0.Rd | no_license | marlonecobos/nichevol | R | false | true | 7,090 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bin_tables0.R
\name{bin_tables0}
\alias{bin_tables0}
\title{Bin tables of environmental conditions in M and for occurrences from data}
\usage{
bin_tables0(M_folder, M_format, occ_folder, longitude,
latitude, var_folder, var_format... |
#### kmeans analysis
kmeangroup <- kmeans(t(test_for_clust_power),5)
plot(tSNEdata.used[,1],tSNEdata.used[,2], col = as.factor(kmeangroup$cluster)) ## OK
### survival analysis
library(survminer)
require("survival")
COAD.sur.df.more <- cbind(COAD.sur.df, kmeangroup = kmeangroup$cluster)
fit <- survfit(Surv(OS.time, OS) ... | /RCA_analysis/COAD_RCA/Cluster_methods_test.R | no_license | haojiang9999/HCA_script | R | false | false | 1,246 | r | #### kmeans analysis
kmeangroup <- kmeans(t(test_for_clust_power),5)
plot(tSNEdata.used[,1],tSNEdata.used[,2], col = as.factor(kmeangroup$cluster)) ## OK
### survival analysis
library(survminer)
require("survival")
COAD.sur.df.more <- cbind(COAD.sur.df, kmeangroup = kmeangroup$cluster)
fit <- survfit(Surv(OS.time, OS) ... |
# The VennDiagram package is copyright (c) 2012 Ontario Institute for Cancer Research (OICR)
# This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL
# (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer ... | /R/draw.100.R | no_license | sterding/VennDiagram | R | false | false | 4,008 | r | # The VennDiagram package is copyright (c) 2012 Ontario Institute for Cancer Research (OICR)
# This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL
# (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BenchResult.R
\docType{data}
\name{BenchResult}
\alias{BenchResult}
\title{BenchResult Class}
\format{\code{\link{R6Class}} object}
\usage{
BenchResult
}
\description{
BenchResult Class
}
\keyword{datasets}
| /man/BenchResult.Rd | no_license | jakob-r/mboBench | R | false | true | 285 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BenchResult.R
\docType{data}
\name{BenchResult}
\alias{BenchResult}
\title{BenchResult Class}
\format{\code{\link{R6Class}} object}
\usage{
BenchResult
}
\description{
BenchResult Class
}
\keyword{datasets}
|
#R_code_classification.r
#definisco la working directory
setwd("C:/lab/") # Windows
#definisco i pacchetti di interesse
library(raster)
library(RStoolbox)
#funzione brick prende i file e mi crea un file raster unico con più bande al suo interno
so <- brick("Solar_Orbiter_s_first_views_of_the_Sun_pillars.jpg")
#visuali... | /R_code_classification.r | no_license | lindalorenzini/telerilevamento_2021 | R | false | false | 2,053 | r | #R_code_classification.r
#definisco la working directory
setwd("C:/lab/") # Windows
#definisco i pacchetti di interesse
library(raster)
library(RStoolbox)
#funzione brick prende i file e mi crea un file raster unico con più bande al suo interno
so <- brick("Solar_Orbiter_s_first_views_of_the_Sun_pillars.jpg")
#visuali... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stai_40.R
\name{stai_40}
\alias{stai_40}
\title{STAI-40}
\usage{
stai_40(n, visit = "V1", missing = 0.1, ids = NULL, visit_ids = NULL)
}
\arguments{
\item{n}{Integer number of participants to create data for}
\item{visit}{The name of the vis... | /man/stai_40.Rd | no_license | aridhia/alzheimers-synthetic-data | R | false | true | 595 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stai_40.R
\name{stai_40}
\alias{stai_40}
\title{STAI-40}
\usage{
stai_40(n, visit = "V1", missing = 0.1, ids = NULL, visit_ids = NULL)
}
\arguments{
\item{n}{Integer number of participants to create data for}
\item{visit}{The name of the vis... |
context("Equality")
# A data frame with all major types
df_all <- data.frame(
a = c(1, 2.5),
b = 1:2,
c = c(T, F),
d = c("a", "b"),
e = factor(c("a", "b")),
f = Sys.Date() + 1:2,
g = Sys.time() + 1:2,
stringsAsFactors = FALSE
)
test_that("data frames equal to themselves", {
expect_true(all_equal(mtc... | /tests/testthat/test-all-equal.r | permissive | AdaChornelia/dplyr | R | false | false | 5,349 | r | context("Equality")
# A data frame with all major types
df_all <- data.frame(
a = c(1, 2.5),
b = 1:2,
c = c(T, F),
d = c("a", "b"),
e = factor(c("a", "b")),
f = Sys.Date() + 1:2,
g = Sys.time() + 1:2,
stringsAsFactors = FALSE
)
test_that("data frames equal to themselves", {
expect_true(all_equal(mtc... |
% Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/communication.R
\name{pyprint}
\alias{pyprint}
\title{Print python object}
\usage{
pyprint(x)
}
\arguments{
\item{name}{name of the python object}
}
\description{
Print python object
}
\examples{
pyvar("x", 1:10)
pyprint(x)
pyprint("d... | /man/pyprint.Rd | no_license | dgromer/Rpyplot | R | false | false | 361 | rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/communication.R
\name{pyprint}
\alias{pyprint}
\title{Print python object}
\usage{
pyprint(x)
}
\arguments{
\item{name}{name of the python object}
}
\description{
Print python object
}
\examples{
pyvar("x", 1:10)
pyprint(x)
pyprint("d... |
library(data.table)
library(dplyr)
library(stringdist)
train <- fread( "data/train-2.csv",header = T, sep = ",",
stringsAsFactors=F,integer64="double",data.table=F )
test <- fread( "data/test-2.csv",header = T, sep = ",",
stringsAsFactors=F,integer64="double",data.table=F)
# TO... | /exploreGeo.R | no_license | operdeck/K2 | R | false | false | 4,831 | r | library(data.table)
library(dplyr)
library(stringdist)
train <- fread( "data/train-2.csv",header = T, sep = ",",
stringsAsFactors=F,integer64="double",data.table=F )
test <- fread( "data/test-2.csv",header = T, sep = ",",
stringsAsFactors=F,integer64="double",data.table=F)
# TO... |
34.94741,36.43065,38.88051,44.87584,33.87255,44.53838,46.51286,40.00055,39.58525,29.83911,33.95191,33.38044,40.35871,36.5835,41.62225,37.97239,40.79804,52.42555,36.5318,41.75252,45.98396,34.06382,39.87921,32.17747,34.97369,36.60897,25.10078,36.56173,43.69468,36.01478,37.78487,39.21097,37.92249,33.57567,42.70137,40.1037... | /data.R | no_license | sinasanei/statistical_computation- | R | false | false | 1,781 | r | 34.94741,36.43065,38.88051,44.87584,33.87255,44.53838,46.51286,40.00055,39.58525,29.83911,33.95191,33.38044,40.35871,36.5835,41.62225,37.97239,40.79804,52.42555,36.5318,41.75252,45.98396,34.06382,39.87921,32.17747,34.97369,36.60897,25.10078,36.56173,43.69468,36.01478,37.78487,39.21097,37.92249,33.57567,42.70137,40.1037... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getDropboxPath.r
\name{getDropboxPath}
\alias{getDropboxPath}
\title{Identify Dropbox path}
\usage{
getDropboxPath()
}
\description{
This function identifies the path to a Dropbox folder
}
\examples{
getDropboxPath()
}
\keyword{dropbox}
| /man/getDropboxPath.Rd | no_license | nzwormgirl/Amy | R | false | true | 315 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getDropboxPath.r
\name{getDropboxPath}
\alias{getDropboxPath}
\title{Identify Dropbox path}
\usage{
getDropboxPath()
}
\description{
This function identifies the path to a Dropbox folder
}
\examples{
getDropboxPath()
}
\keyword{dropbox}
|
b1 <- barplot(as.matrix(1:3, ncol = 1),
axes = FALSE,
width = 1,
xlim = c(-0.5, 3.5),
ylim = c(0, 6.5),
beside = FALSE,
col = "white")
text(x = b1 + 0.55,
y = cumsum(1:3),
labels = c("x1", "x1 + x2", "x1 + x2 + x3"),
... | /R/pos.R | no_license | kwlee58/DS2020 | R | false | false | 537 | r | b1 <- barplot(as.matrix(1:3, ncol = 1),
axes = FALSE,
width = 1,
xlim = c(-0.5, 3.5),
ylim = c(0, 6.5),
beside = FALSE,
col = "white")
text(x = b1 + 0.55,
y = cumsum(1:3),
labels = c("x1", "x1 + x2", "x1 + x2 + x3"),
... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hello.R
\name{hello}
\alias{hello}
\title{My hello function}
\usage{
hello(name)
}
\arguments{
\item{name}{The name of the person}
}
\value{
The out from \code{\link{print}}
}
\description{
My hello function
}
\examples{
hello("Arafath")
\don... | /man/hello.Rd | permissive | arafathnihar/hellorpackage | R | false | true | 345 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hello.R
\name{hello}
\alias{hello}
\title{My hello function}
\usage{
hello(name)
}
\arguments{
\item{name}{The name of the person}
}
\value{
The out from \code{\link{print}}
}
\description{
My hello function
}
\examples{
hello("Arafath")
\don... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_thread_links.R
\name{get_thread_links}
\alias{get_thread_links}
\title{Get thread links in section}
\usage{
get_thread_links(
suffix,
cut_off = "2000-01-01",
delay = TRUE,
pure_suffix = FALSE
)
}
\arguments{
\item{suffix}{A charac... | /man/get_thread_links.Rd | no_license | fellennert/flashbackscrapR | R | false | true | 1,252 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_thread_links.R
\name{get_thread_links}
\alias{get_thread_links}
\title{Get thread links in section}
\usage{
get_thread_links(
suffix,
cut_off = "2000-01-01",
delay = TRUE,
pure_suffix = FALSE
)
}
\arguments{
\item{suffix}{A charac... |
% Generated by roxygen2 (4.0.1): do not edit by hand
\name{gettaxonomicranknamefromtsn}
\alias{gettaxonomicranknamefromtsn}
\title{Returns the kingdom and rank information for the TSN.}
\usage{
gettaxonomicranknamefromtsn(tsn = NA, curlopts = list(),
curl = getCurlHandle(), verbose = TRUE)
}
\arguments{
\item{verbose... | /man/gettaxonomicranknamefromtsn.Rd | permissive | fmichonneau/taxize | R | false | false | 767 | rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{gettaxonomicranknamefromtsn}
\alias{gettaxonomicranknamefromtsn}
\title{Returns the kingdom and rank information for the TSN.}
\usage{
gettaxonomicranknamefromtsn(tsn = NA, curlopts = list(),
curl = getCurlHandle(), verbose = TRUE)
}
\arguments{
\item{verbose... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.