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(mlr)
### Name: resample
### Title: Fit models according to a resampling strategy.
### Aliases: resample crossval repcv holdout subsample bootstrapOOB
### bootstrapB632 bootstrapB632plus growingcv fixedcv
### ** Examples
task = makeClassifTask(data = iris, target = "Species")
rdesc = makeResampleDesc("CV",... | /data/genthat_extracted_code/mlr/examples/resample.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 675 | r | library(mlr)
### Name: resample
### Title: Fit models according to a resampling strategy.
### Aliases: resample crossval repcv holdout subsample bootstrapOOB
### bootstrapB632 bootstrapB632plus growingcv fixedcv
### ** Examples
task = makeClassifTask(data = iris, target = "Species")
rdesc = makeResampleDesc("CV",... |
test_that("get_fars works", {
with_mock_api({
expect_GET(
get_fars(year = 2019, state = "MD", county = "Garrett County")
)
expect_GET(
get_fars(year = 2019, state = "MD", county = "Garrett County", cases = 240063)
)
expect_GET(
get_fars(year = 2019, state = "MD", county = "Garret... | /tests/testthat/test-get_fars.R | permissive | elipousson/crashapi | R | false | false | 3,151 | r | test_that("get_fars works", {
with_mock_api({
expect_GET(
get_fars(year = 2019, state = "MD", county = "Garrett County")
)
expect_GET(
get_fars(year = 2019, state = "MD", county = "Garrett County", cases = 240063)
)
expect_GET(
get_fars(year = 2019, state = "MD", county = "Garret... |
library("httr")
library("jsonlite")
emotion <- function(url,data,key,language_code) {
req <- POST(url,
body = list(
text = data,
api_key=key,
lang_code=language_code
),
encode = "multipart"
)
stop_for_status(req... | /ParallelDots/R/emotion.R | no_license | ParallelDots/ParallelDots-R-API | R | false | false | 391 | r | library("httr")
library("jsonlite")
emotion <- function(url,data,key,language_code) {
req <- POST(url,
body = list(
text = data,
api_key=key,
lang_code=language_code
),
encode = "multipart"
)
stop_for_status(req... |
expect_stdout(
getCollection("MCD12Q1.051", forceCheck = TRUE)
, pattern = "not available in collection '051'"
, info = "non-available collection creates console output"
)
| /inst/tinytest/test-getCollection.R | permissive | mlampros/MODIS | R | false | false | 178 | r | expect_stdout(
getCollection("MCD12Q1.051", forceCheck = TRUE)
, pattern = "not available in collection '051'"
, info = "non-available collection creates console output"
)
|
acl<-pd[which(pd$characteristics_ch1=='primary site: haematopoietic_and_lymphoid_tissue'),]
aclgeo<-as.character(acl$geo_accession)
ax<-mx[which(rownames(mx) %in% aclgeo),1:2]
points(ax,col='blue')
lu<-pd[which(pd$characteristics_ch1=='primary site: lung'),]
lugeo<-as.character(lu$geo_accession)
lx<-mx[which(rownames(m... | /analysis_on_expression/pcadraw.R | no_license | bingrus/thesis | R | false | false | 1,779 | r | acl<-pd[which(pd$characteristics_ch1=='primary site: haematopoietic_and_lymphoid_tissue'),]
aclgeo<-as.character(acl$geo_accession)
ax<-mx[which(rownames(mx) %in% aclgeo),1:2]
points(ax,col='blue')
lu<-pd[which(pd$characteristics_ch1=='primary site: lung'),]
lugeo<-as.character(lu$geo_accession)
lx<-mx[which(rownames(m... |
# Merges the training and the test sets to create one data set.
# Extracts only the measurements on the mean and standard deviation for each measurement.
# Uses descriptive activity names to name the activities in the data set
# Appropriately labels the data set with descriptive activity names.
# Creates a second, in... | /Getting-and-Cleaning-Data/run_analysis.R | no_license | nchanin/datasciencecoursera | R | false | false | 3,458 | r | # Merges the training and the test sets to create one data set.
# Extracts only the measurements on the mean and standard deviation for each measurement.
# Uses descriptive activity names to name the activities in the data set
# Appropriately labels the data set with descriptive activity names.
# Creates a second, in... |
#' Get paste metadata
#'
#' @md
#' @param x paste id
#' @param use_scraping_api if a pro member, set this to `TRUE`, otherwise leave it `FALSE`
#' and be kind to their servers lest ye be banned.
#' @param include_metadata if `use_scraping_api` is `TRUE` and this is `TRUE`, the returned
#' `list` will incl... | /R/get-paste-metadata.r | no_license | ktargows/pastebin | R | false | false | 916 | r | #' Get paste metadata
#'
#' @md
#' @param x paste id
#' @param use_scraping_api if a pro member, set this to `TRUE`, otherwise leave it `FALSE`
#' and be kind to their servers lest ye be banned.
#' @param include_metadata if `use_scraping_api` is `TRUE` and this is `TRUE`, the returned
#' `list` will incl... |
#' Create a tree from text
#'
#' Create a tree representation from a text.
#' @param text A character vector.
#' @inheritParams create_node_from_nested_root
#' @return A data frame.
#' @importFrom purrr when
#' @keywords internal
create_tree <- function(text, structure_only = FALSE) {
compute_parse_data_nested(text, ... | /R/nested-to-tree.R | permissive | lorenzwalthert/styler | R | false | false | 2,696 | r | #' Create a tree from text
#'
#' Create a tree representation from a text.
#' @param text A character vector.
#' @inheritParams create_node_from_nested_root
#' @return A data frame.
#' @importFrom purrr when
#' @keywords internal
create_tree <- function(text, structure_only = FALSE) {
compute_parse_data_nested(text, ... |
# Copyright 2016 The Board of Trustees of the Leland Stanford Junior University.
# Direct inquiries to Sam Borgeson (sborgeson@stanford.edu)
# or professor Ram Rajagopal (ramr@stanford.edu)
#' @export
tic <- function(name='default', gcFirst = FALSE, type=c("elapsed", "user.self", "sys.self"))
{
type <- match.arg(t... | /R/util-timer.R | permissive | josiahjohnston/visdom | R | false | false | 1,308 | r | # Copyright 2016 The Board of Trustees of the Leland Stanford Junior University.
# Direct inquiries to Sam Borgeson (sborgeson@stanford.edu)
# or professor Ram Rajagopal (ramr@stanford.edu)
#' @export
tic <- function(name='default', gcFirst = FALSE, type=c("elapsed", "user.self", "sys.self"))
{
type <- match.arg(t... |
% File rmongodb/man/mongo.bson.iterator.create.Rd
\name{mongo.bson.iterator.create}
\alias{mongo.bson.iterator.create}
\title{Create a mongo.bson.iterator object}
\description{
Create a \link{mongo.bson.iterator} object used to step
through a given \link{mongo.bson} object one field at a time.
}
\usage{
mongo.bson.ite... | /rmongodb/man/mongo.bson.iterator.create.Rd | no_license | sequoiar/rmongodb | R | false | false | 1,758 | rd | % File rmongodb/man/mongo.bson.iterator.create.Rd
\name{mongo.bson.iterator.create}
\alias{mongo.bson.iterator.create}
\title{Create a mongo.bson.iterator object}
\description{
Create a \link{mongo.bson.iterator} object used to step
through a given \link{mongo.bson} object one field at a time.
}
\usage{
mongo.bson.ite... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/heatplots.R
\name{month_startdate}
\alias{month_startdate}
\title{Start of month}
\usage{
month_startdate(date)
}
\arguments{
\item{date}{Date Object}
}
\value{
date object of the first of the month
}
\description{
This functio... | /man/month_startdate.Rd | no_license | ucd-cws/wq-heatplot | R | false | true | 465 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/heatplots.R
\name{month_startdate}
\alias{month_startdate}
\title{Start of month}
\usage{
month_startdate(date)
}
\arguments{
\item{date}{Date Object}
}
\value{
date object of the first of the month
}
\description{
This functio... |
source("~/code/sensitCal/scripts/report.R")
| /scripts/email.R | no_license | jwbannister/sensitCal | R | false | false | 44 | r | source("~/code/sensitCal/scripts/report.R")
|
# Read the file
data <- read.delim("./household_power_consumption.txt", sep = ";", na.strings = "?", stringsAsFactors = FALSE)
# ONly select for specific date
ndata<- data[data$Date %in% c("1/2/2007", "2/2/2007"), ]
# or I could have also used the follwing code
# data$Date <- as.Date(data$Date, "%d/%m/%Y")
# ndata<- ... | /plot1.R | no_license | paragbharg/ExData_Plotting1 | R | false | false | 778 | r | # Read the file
data <- read.delim("./household_power_consumption.txt", sep = ";", na.strings = "?", stringsAsFactors = FALSE)
# ONly select for specific date
ndata<- data[data$Date %in% c("1/2/2007", "2/2/2007"), ]
# or I could have also used the follwing code
# data$Date <- as.Date(data$Date, "%d/%m/%Y")
# ndata<- ... |
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/dijkstra.R
\name{dijkstra}
\alias{dijkstra}
\title{Dijkstra Algorithm}
\usage{
dijkstra(graph, init_node)
}
\arguments{
\item{graph}{a dataframe consists of three variables}
\item{init_node}{a numeric scalar for the first node which ... | /AdvancedRLab/man/dijkstra.Rd | no_license | Schartner/AdvancedR_Lab3 | R | false | false | 710 | rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/dijkstra.R
\name{dijkstra}
\alias{dijkstra}
\title{Dijkstra Algorithm}
\usage{
dijkstra(graph, init_node)
}
\arguments{
\item{graph}{a dataframe consists of three variables}
\item{init_node}{a numeric scalar for the first node which ... |
corfbed.network <- function(x, threshold = 0.05, symmetry = TRUE, nc = 1) {
dm <- dim(x)
n <- dm[1]
D <- dm[2]
G <- matrix(0, D, D)
counter <- 0
x <- Rfast::standardise(x)
if ( nc <= 1 || is.null(nc) ) {
pa <- proc.time()
for (i in 1:D) {
id <- 1:D
id <- id[-i]
... | /R/corfbed.network.R | no_license | cran/MXM | R | false | false | 1,646 | r | corfbed.network <- function(x, threshold = 0.05, symmetry = TRUE, nc = 1) {
dm <- dim(x)
n <- dm[1]
D <- dm[2]
G <- matrix(0, D, D)
counter <- 0
x <- Rfast::standardise(x)
if ( nc <= 1 || is.null(nc) ) {
pa <- proc.time()
for (i in 1:D) {
id <- 1:D
id <- id[-i]
... |
# ----------- #
## Functions ##
# ----------- #
# ----------------------------------------------------------------
# Desc: Houses all user-created functions.
# Naming convention: User-created functions prefixed with 'func_'.
# Credit: None
# Script Dependencies: None
# Packages Used: tidyverse, rvest, tm, SnowballC, c... | /0 - functions.R | permissive | avisionh/predictgraduateprospects | R | false | false | 10,849 | r | # ----------- #
## Functions ##
# ----------- #
# ----------------------------------------------------------------
# Desc: Houses all user-created functions.
# Naming convention: User-created functions prefixed with 'func_'.
# Credit: None
# Script Dependencies: None
# Packages Used: tidyverse, rvest, tm, SnowballC, c... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ses_operations.R
\name{ses_send_templated_email}
\alias{ses_send_templated_email}
\title{Composes an email message using an email template and immediately queues
it for sending}
\usage{
ses_send_templated_email(Source, Destination, ReplyToAdd... | /cran/paws.customer.engagement/man/ses_send_templated_email.Rd | permissive | williazo/paws | R | false | true | 8,529 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ses_operations.R
\name{ses_send_templated_email}
\alias{ses_send_templated_email}
\title{Composes an email message using an email template and immediately queues
it for sending}
\usage{
ses_send_templated_email(Source, Destination, ReplyToAdd... |
#' Run Mplus Models Using Graphical Interface
#'
#' This function is provides a graphical user interface to the \code{runModels} function.
#' It uses Tcl/Tk to display a window in which the user can specify parameters for \code{runModels},
#' including the directory for runs, recursing through subdirectories, displayin... | /R/runModels.R | no_license | aristidesvara/MplusAutomation | R | false | false | 24,554 | r | #' Run Mplus Models Using Graphical Interface
#'
#' This function is provides a graphical user interface to the \code{runModels} function.
#' It uses Tcl/Tk to display a window in which the user can specify parameters for \code{runModels},
#' including the directory for runs, recursing through subdirectories, displayin... |
\name{RadiosondeA}
\alias{RadiosondeA}
\docType{data}
\title{
Radiosonde A
}
\description{
Contains the information measured by a sounding in Santander (Station 08023) in 2010, June 16th at 12:00 UTC. It was not a really unstable day but a great amount of (large scale) precipitation was measured.
}
\usage{data("Radioso... | /man/RadiosondeA.Rd | no_license | cran/aiRthermo | R | false | false | 1,377 | rd | \name{RadiosondeA}
\alias{RadiosondeA}
\docType{data}
\title{
Radiosonde A
}
\description{
Contains the information measured by a sounding in Santander (Station 08023) in 2010, June 16th at 12:00 UTC. It was not a really unstable day but a great amount of (large scale) precipitation was measured.
}
\usage{data("Radioso... |
library(ape)
testtree <- read.tree("3622_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="3622_0_unrooted.txt") | /codeml_files/newick_trees_processed/3622_0/rinput.R | no_license | DaniBoo/cyanobacteria_project | R | false | false | 135 | r | library(ape)
testtree <- read.tree("3622_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="3622_0_unrooted.txt") |
#############################################################
#
# getRateThroughTimeMatrix(....)
#
# include or exclude options:
# start.time = start time (in units before present)
# if NULL, starts at root
# end.time = end time
# if NULL, ends at present
# nslices = number of time cuts
# Return
# ... | /BAMMtools/R/getRateThroughTimeMatrix.R | no_license | ingted/R-Examples | R | false | false | 6,807 | r | #############################################################
#
# getRateThroughTimeMatrix(....)
#
# include or exclude options:
# start.time = start time (in units before present)
# if NULL, starts at root
# end.time = end time
# if NULL, ends at present
# nslices = number of time cuts
# Return
# ... |
# "Load" the data. In this case we are using data built into the package.
# In practice, users will likely load raster data using the raster() function
# from the raster package.
res_data <- samc::ex_res_data
abs_data <- samc::ex_abs_data
occ_data <- samc::ex_occ_data
# Make sure our data meets the basic input requir... | /fuzzedpackages/samc/inst/examples/example.R | no_license | akhikolla/testpackages | R | false | false | 1,495 | r | # "Load" the data. In this case we are using data built into the package.
# In practice, users will likely load raster data using the raster() function
# from the raster package.
res_data <- samc::ex_res_data
abs_data <- samc::ex_abs_data
occ_data <- samc::ex_occ_data
# Make sure our data meets the basic input requir... |
library(ggplot2)
library(xts)
library(scales)
args <- commandArgs(trailingOnly = TRUE)
path = toString(args[1])
data = read.csv(file="../../data/tweets/tweets_fw_10_08_p",header=F,sep=',',quote='\"')
data["tagged"] = 1
head(data)
data$V11 = tolower(data$V11)
data[(data$V11 == "ferguson"),]$tagged = 0
data[(data$... | /analysis/plotfreq.r | permissive | jwheatp/twitter-riots | R | false | false | 1,263 | r | library(ggplot2)
library(xts)
library(scales)
args <- commandArgs(trailingOnly = TRUE)
path = toString(args[1])
data = read.csv(file="../../data/tweets/tweets_fw_10_08_p",header=F,sep=',',quote='\"')
data["tagged"] = 1
head(data)
data$V11 = tolower(data$V11)
data[(data$V11 == "ferguson"),]$tagged = 0
data[(data$... |
##download file
if(!file.exists("Fhousehold_power_consumption.zip")) {
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
f <- file.path(getwd(), "Fhousehold_power_consumption.zip")
download.file(url, f, mode = "wb")
unzip ("Fhousehol... | /plot1.R | no_license | Thiri-Dae/ExData_Plotting1 | R | false | false | 1,020 | r | ##download file
if(!file.exists("Fhousehold_power_consumption.zip")) {
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
f <- file.path(getwd(), "Fhousehold_power_consumption.zip")
download.file(url, f, mode = "wb")
unzip ("Fhousehol... |
ccclonw <-
function(dataset,ry,rind,rtime,rmet,vecD,covar=NULL,rho=0,cl=0.95,control.lme=list()){
if (length(vecD) == 0) {
stop("Warning: A vector of weights should be provided")}
dades<-data.frame(dataset)
dades <- dades %>% dplyr::rename(y = all_of(ry),
... | /R/ccclonw.R | no_license | cran/cccrm | R | false | false | 4,728 | r | ccclonw <-
function(dataset,ry,rind,rtime,rmet,vecD,covar=NULL,rho=0,cl=0.95,control.lme=list()){
if (length(vecD) == 0) {
stop("Warning: A vector of weights should be provided")}
dades<-data.frame(dataset)
dades <- dades %>% dplyr::rename(y = all_of(ry),
... |
library(tidyverse)
data<-read.table("nCov_Singapore_ 2019_heatmap_datatable_20202020.tsv", header = TRUE, sep = "\t")
data_long <- data %>% gather(key=date, value=status, X1.18.2020:X2.19.2020)
data_long$date <- gsub('X', '0', data_long$date)
data_long$date <- gsub('\\.', '\\/', data_long$date)
write.csv(data_lon... | /Clustering/other_extra_bits/heatmap/Backup/format-table-for-heatmap.R | no_license | yxblee/EpiCoronaHack_Cluster | R | false | false | 351 | r | library(tidyverse)
data<-read.table("nCov_Singapore_ 2019_heatmap_datatable_20202020.tsv", header = TRUE, sep = "\t")
data_long <- data %>% gather(key=date, value=status, X1.18.2020:X2.19.2020)
data_long$date <- gsub('X', '0', data_long$date)
data_long$date <- gsub('\\.', '\\/', data_long$date)
write.csv(data_lon... |
## The responsibility of the function includes the following:
## 1. Read the activity_labels.txt
## 2. Replace the input with the look up values from activity_labels.txt
##
assignActivityNames <- function( x ){
## Read activity_labels.txt
actnames <- read.table("activity_labels.txt", stringsAsFactors = FALSE)
... | /assignActivityNames.R | no_license | slnarayan/Getting-and-Cleaning-Data | R | false | false | 464 | r | ## The responsibility of the function includes the following:
## 1. Read the activity_labels.txt
## 2. Replace the input with the look up values from activity_labels.txt
##
assignActivityNames <- function( x ){
## Read activity_labels.txt
actnames <- read.table("activity_labels.txt", stringsAsFactors = FALSE)
... |
\name{PDplot}
\alias{PDplot}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Function to generate and return a PD plot
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
PDplot(FTdataset, resultsOutput, plotType = 1, zeroNsOffset = 0, ageLabels = c(1,... | /man/PDplot.Rd | no_license | mark-naylor/FTanalysis | R | false | false | 9,629 | rd | \name{PDplot}
\alias{PDplot}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Function to generate and return a PD plot
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
PDplot(FTdataset, resultsOutput, plotType = 1, zeroNsOffset = 0, ageLabels = c(1,... |
library(shiny)
tuneIn <- readRDS("assets/tuneIn_stations.rds")
ui <- fluidPage(
# Js scripts needed for the touch screen keyboard
includeScript("www/js/jquery-latest.min.js"),
includeScript("www/js/jquery-ui.min.js"),
includeScript("www/js/jquery.keyboard.js"),
includeScript("www/js/demo.js"),
includeCSS(... | /dev/extra/2018-04-08_app.R | no_license | Emelieh21/touch-screen-pi-sonos-app | R | false | false | 3,893 | r | library(shiny)
tuneIn <- readRDS("assets/tuneIn_stations.rds")
ui <- fluidPage(
# Js scripts needed for the touch screen keyboard
includeScript("www/js/jquery-latest.min.js"),
includeScript("www/js/jquery-ui.min.js"),
includeScript("www/js/jquery.keyboard.js"),
includeScript("www/js/demo.js"),
includeCSS(... |
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!... | /R/internal.r | no_license | JonahBrooks/poppr | R | false | false | 41,549 | r | #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!... |
### EXCERCISE 5 ###
##########################################################
# Preparations
# https://github.com/hugwes/excercise_week5 (github-link)
##########################################################
# Load in Libraries
library(readr) # to import tabular data (e.g. csv)
library(dplyr) # to m... | /solutions_week5.R | no_license | hugwes/excercise_week5 | R | false | false | 4,013 | r |
### EXCERCISE 5 ###
##########################################################
# Preparations
# https://github.com/hugwes/excercise_week5 (github-link)
##########################################################
# Load in Libraries
library(readr) # to import tabular data (e.g. csv)
library(dplyr) # to m... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/initialize.R
\name{iea_file_OK}
\alias{iea_file_OK}
\title{Perform quality assurance on a raw IEA data file}
\usage{
iea_file_OK(
.iea_file = NULL,
text = NULL,
expected_1st_line_start = ",,TIME",
expected_2nd_line_start = "COUNTRY,FL... | /man/iea_file_OK.Rd | no_license | MatthewHeun/IEATools | R | false | true | 2,899 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/initialize.R
\name{iea_file_OK}
\alias{iea_file_OK}
\title{Perform quality assurance on a raw IEA data file}
\usage{
iea_file_OK(
.iea_file = NULL,
text = NULL,
expected_1st_line_start = ",,TIME",
expected_2nd_line_start = "COUNTRY,FL... |
library(testthat)
library(meetupr)
test_check("meetupr")
| /tests/testthat.R | permissive | rladies/meetupr | R | false | false | 58 | r | library(testthat)
library(meetupr)
test_check("meetupr")
|
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
#практика1
# Define UI for application that draws a histogram
ui <- fluidPage(
# Applicatio... | /colour.R | no_license | askharlina/danceschool | R | false | false | 1,571 | r | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
#практика1
# Define UI for application that draws a histogram
ui <- fluidPage(
# Applicatio... |
# function to add exposure window to cases
add_expowindow_incomplete <- function(inputpair, windowlength, nseed){
# inputpair should be the same formart as simpair
ninfectee <- nrow(inputpair)
set.seed(nseed)
# assign expo window to infectees
#windowlength <- 1
#inputpair
inputpair$Tex... | /simulation/process_sim_incomplete_expo.R | no_license | DxChen0126/time_varying_GT | R | false | false | 8,234 | r | # function to add exposure window to cases
add_expowindow_incomplete <- function(inputpair, windowlength, nseed){
# inputpair should be the same formart as simpair
ninfectee <- nrow(inputpair)
set.seed(nseed)
# assign expo window to infectees
#windowlength <- 1
#inputpair
inputpair$Tex... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getAPIdata.r
\name{requestVolumes}
\alias{requestVolumes}
\title{Request measured volumes in strategic reservoirs from FUNCEME API. id, requestDate and returnN (number of points that should be returned)}
\usage{
requestVolumes(id, requestDate... | /man/requestVolumes.Rd | no_license | jmigueldelgado/valbuhayra | R | false | true | 487 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getAPIdata.r
\name{requestVolumes}
\alias{requestVolumes}
\title{Request measured volumes in strategic reservoirs from FUNCEME API. id, requestDate and returnN (number of points that should be returned)}
\usage{
requestVolumes(id, requestDate... |
library(informR)
### Name: glapply
### Title: Group Level Apply
### Aliases: glapply
### ** Examples
data(Indometh)
glapply(Indometh$conc,Indometh$Subject,FUN=mean)
x<-rep(sample(1:10),2)
id<-rep(letters[1:5],4)
glapply(x,id,FUN=function(x)sum((x-mean(x))^2),regroup=FALSE)
glapply(x,id,FUN=function(x)sum((x-mean(x)... | /data/genthat_extracted_code/informR/examples/glapply.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 419 | r | library(informR)
### Name: glapply
### Title: Group Level Apply
### Aliases: glapply
### ** Examples
data(Indometh)
glapply(Indometh$conc,Indometh$Subject,FUN=mean)
x<-rep(sample(1:10),2)
id<-rep(letters[1:5],4)
glapply(x,id,FUN=function(x)sum((x-mean(x))^2),regroup=FALSE)
glapply(x,id,FUN=function(x)sum((x-mean(x)... |
testlist <- list(a = 437976862L, b = 0L, x = integer(0))
result <- do.call(grattan:::anyOutside,testlist)
str(result) | /grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610129865-test.R | no_license | akhikolla/updated-only-Issues | R | false | false | 117 | r | testlist <- list(a = 437976862L, b = 0L, x = integer(0))
result <- do.call(grattan:::anyOutside,testlist)
str(result) |
library(testthat)
library(recipes)
skip_if_not_installed("modeldata")
data(biomass, package = "modeldata")
# ------------------------------------------------------------------------------
test_that("correct basis functions", {
skip_if_not_installed("splines2")
biomass_tr <- biomass[biomass$dataset == "Training... | /tests/testthat/test-spline_natural.R | no_license | cran/recipes | R | false | false | 6,449 | r | library(testthat)
library(recipes)
skip_if_not_installed("modeldata")
data(biomass, package = "modeldata")
# ------------------------------------------------------------------------------
test_that("correct basis functions", {
skip_if_not_installed("splines2")
biomass_tr <- biomass[biomass$dataset == "Training... |
#' Title
#'
#' @param p a ggplot2 object
#' @param image_name character
#' @param save logical
#'
#' @return Saves a .png
#' @export
#'
#'
ppt_output <- function(p, image_name, save = TRUE){
if(save){save(p, file = paste0("plots/", image_name))}
p <- p +
ggplot2::theme(
plot.title = ggplot2::element_tex... | /R/ppt-output.R | permissive | davidallen02/pamngr | R | false | false | 876 | r | #' Title
#'
#' @param p a ggplot2 object
#' @param image_name character
#' @param save logical
#'
#' @return Saves a .png
#' @export
#'
#'
ppt_output <- function(p, image_name, save = TRUE){
if(save){save(p, file = paste0("plots/", image_name))}
p <- p +
ggplot2::theme(
plot.title = ggplot2::element_tex... |
/*
File: Folders.r
Contains: Folder Manager Interfaces.
Version: Technology: Mac OS 8
Release: Universal Interfaces 3.4.1
Copyright: © 1995-2001 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
... | /3.4.1/Universal/Interfaces/RIncludes/Folders.r | no_license | elliotnunn/UniversalInterfaces | R | false | false | 18,783 | r | /*
File: Folders.r
Contains: Folder Manager Interfaces.
Version: Technology: Mac OS 8
Release: Universal Interfaces 3.4.1
Copyright: © 1995-2001 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
... |
# # Load raw data
data_train_X <- read.table("train/X_train.txt")
data_test_X <- read.table("test/X_test.txt")
data_train_Y <- read.table("train/y_train.txt")
data_test_Y <- read.table("test/y_test.txt")
features <- read.table('features.txt')
activities <- read.table("activity_labels.txt")
# Merge raw data
data_merge_... | /run_analysis.R | no_license | giljos/datagettingcleanning | R | false | false | 1,733 | r | # # Load raw data
data_train_X <- read.table("train/X_train.txt")
data_test_X <- read.table("test/X_test.txt")
data_train_Y <- read.table("train/y_train.txt")
data_test_Y <- read.table("test/y_test.txt")
features <- read.table('features.txt')
activities <- read.table("activity_labels.txt")
# Merge raw data
data_merge_... |
#' Save results
#'
#' Function to save model results in txt files, one for each model mode
#'
#' @family Save
#'
#' @param simple_res swb object with the simple model results
#'
#' @param complex_res swb object with the complex model results
#'
#' @param measured_vars character vector with the names of the variables in... | /R/save_functions.R | no_license | AntoineCabon/MedfateValidation | R | false | false | 5,962 | r | #' Save results
#'
#' Function to save model results in txt files, one for each model mode
#'
#' @family Save
#'
#' @param simple_res swb object with the simple model results
#'
#' @param complex_res swb object with the complex model results
#'
#' @param measured_vars character vector with the names of the variables in... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spark_version.R
\name{spark_version}
\alias{spark_version}
\title{Get the Spark Version Associated with a Spark Connection}
\usage{
spark_version(sc)
}
\arguments{
\item{sc}{A \code{spark_connection}.}
}
\value{
The Spark version as a \code{\... | /man/spark_version.Rd | permissive | sparklyr/sparklyr | R | false | true | 625 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spark_version.R
\name{spark_version}
\alias{spark_version}
\title{Get the Spark Version Associated with a Spark Connection}
\usage{
spark_version(sc)
}
\arguments{
\item{sc}{A \code{spark_connection}.}
}
\value{
The Spark version as a \code{\... |
library('caret')
heart_df <- read.csv("tempfile8.csv", sep = ',', header = TRUE)
head(heart_df)
plot(heart_df)
str(heart_df)
plot(heart_df$Age, heart_df$heart.rate, col = heart_df$Disease)
set.seed(3033)
intrain <- createDataPartition(y = heart_df$Disease, p= 0.7, list = FALSE)
training <- heart_df[intrai... | /svm.R | no_license | mohitroutela/bytecamp18 | R | false | false | 1,037 | r | library('caret')
heart_df <- read.csv("tempfile8.csv", sep = ',', header = TRUE)
head(heart_df)
plot(heart_df)
str(heart_df)
plot(heart_df$Age, heart_df$heart.rate, col = heart_df$Disease)
set.seed(3033)
intrain <- createDataPartition(y = heart_df$Disease, p= 0.7, list = FALSE)
training <- heart_df[intrai... |
library(dplyr)
## Raw RDS Parser
parse_raw_rds <- function(raw) {
con <- gzcon(rawConnection(raw))
on.exit(close(con))
readRDS(con) %>%
tibble::tibble()
}
get_rds <- function(url) {
url_clean <- paste0("https://raw.githubusercontent.com/DangyWing/Underdog-ADP/main/", url)
x <- GET(
url_... | /ud_adp_helpers.R | no_license | tomdicato/UnderdogADPAnalyzer | R | false | false | 3,464 | r | library(dplyr)
## Raw RDS Parser
parse_raw_rds <- function(raw) {
con <- gzcon(rawConnection(raw))
on.exit(close(con))
readRDS(con) %>%
tibble::tibble()
}
get_rds <- function(url) {
url_clean <- paste0("https://raw.githubusercontent.com/DangyWing/Underdog-ADP/main/", url)
x <- GET(
url_... |
# Author: Robert J. Hijmans
# Date : January 2009
# Version 1.0
# Licence GPL v3
setMethod("$", "Raster", function(x, name) { x[[name]] } )
setMethod("$<-", "Raster",
function(x, name, value) {
i <- which(name == names(x))[1]
if (is.na(i)) {
if (inherits(value, 'Raster')) {
names(value)... | /R/indexReplaceBrick.R | no_license | cran/raster | R | false | false | 6,602 | r | # Author: Robert J. Hijmans
# Date : January 2009
# Version 1.0
# Licence GPL v3
setMethod("$", "Raster", function(x, name) { x[[name]] } )
setMethod("$<-", "Raster",
function(x, name, value) {
i <- which(name == names(x))[1]
if (is.na(i)) {
if (inherits(value, 'Raster')) {
names(value)... |
#------------------------------------------------------------------------------
# Name:FlowsLoadData.R
#
# Author: Z LEBOURGEOIS
#
# Created: 28-08-2016
#
# Version: 1.0
#
# Description
# -----------
# Load of raw data for Flows project
#
#---------------------------------------------------------------... | /FlowsLoadData.R | no_license | ZedLeb/Flows | R | false | false | 2,255 | r | #------------------------------------------------------------------------------
# Name:FlowsLoadData.R
#
# Author: Z LEBOURGEOIS
#
# Created: 28-08-2016
#
# Version: 1.0
#
# Description
# -----------
# Load of raw data for Flows project
#
#---------------------------------------------------------------... |
##########################################################
# Create edx set, validation set (final hold-out test set)
##########################################################
# Note: this process could take a couple of minutes
if(!require(tidyverse)) install.packages("tidyverse", repos =
... | /Crypto.R | no_license | MatthieuvdSlikke/DataScience_Crytpo_HarvardX-ML | R | false | false | 16,314 | r | ##########################################################
# Create edx set, validation set (final hold-out test set)
##########################################################
# Note: this process could take a couple of minutes
if(!require(tidyverse)) install.packages("tidyverse", repos =
... |
library(tauturri)
### Name: get_plays_by_stream_resolution
### Title: Get Plays by Stream Resolution
### Aliases: get_plays_by_stream_resolution
### ** Examples
## Not run:
##D get_plays_by_stream_resolution()
## End(Not run)
| /data/genthat_extracted_code/tauturri/examples/get_plays_by_stream_resolution.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 234 | r | library(tauturri)
### Name: get_plays_by_stream_resolution
### Title: Get Plays by Stream Resolution
### Aliases: get_plays_by_stream_resolution
### ** Examples
## Not run:
##D get_plays_by_stream_resolution()
## End(Not run)
|
## Assignment #2
## Chapter 3: Growth Curves
library(lme4)
library(sjPlot)
library(ggplot2)
library(broom)
library(merTools)
## 1. Run linear models on all of your subjects (a basic regression).
## What is the average intercept, the average slope?
model1 <- lm(cbmom ~ grade, data = purpose_long)
summary(model1)
## ... | /Ch 3 Growth Curves.R | no_license | longitudinal-data/1-descriptives-and-graphs-leahschultz | R | false | false | 3,104 | r | ## Assignment #2
## Chapter 3: Growth Curves
library(lme4)
library(sjPlot)
library(ggplot2)
library(broom)
library(merTools)
## 1. Run linear models on all of your subjects (a basic regression).
## What is the average intercept, the average slope?
model1 <- lm(cbmom ~ grade, data = purpose_long)
summary(model1)
## ... |
##' Reproduce the capsule library from the lockfile
##'
##' If you have cloned a project that contains a lockfile you can actually just
##' use `run()` to execute commands in the capsule and have the library built
##' automatically. If that is not convenient, this will explicitly create the
##' capsule library fr... | /R/reproduce.R | permissive | MilesMcBain/capsule | R | false | false | 814 | r | ##' Reproduce the capsule library from the lockfile
##'
##' If you have cloned a project that contains a lockfile you can actually just
##' use `run()` to execute commands in the capsule and have the library built
##' automatically. If that is not convenient, this will explicitly create the
##' capsule library fr... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sarpoisson.R
\name{sarpois.filoglik}
\alias{sarpois.filoglik}
\title{Full-information maximum likelihood function for spatial poisson}
\usage{
sarpois.filoglik(p, y, X, W)
}
\arguments{
\item{p}{Parameter vector consisting of rho, and any bet... | /man/sarpois.filoglik.Rd | permissive | rsbivand/sppois | R | false | true | 665 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sarpoisson.R
\name{sarpois.filoglik}
\alias{sarpois.filoglik}
\title{Full-information maximum likelihood function for spatial poisson}
\usage{
sarpois.filoglik(p, y, X, W)
}
\arguments{
\item{p}{Parameter vector consisting of rho, and any bet... |
#!/usr/bin/Rscript
#linear regression
options <- commandArgs(trailingOnly = TRUE)
params.filename <- options[1]
params.H <- as.double(options[2])
#threshold <- 1000
threshold <- 100
data <- read.table(col.names=c("t",
"x", "y", "z",
"x2", "y2", "z2",... | /lr_dc.R | no_license | DmitryKokorin/diffmc | R | false | false | 1,261 | r | #!/usr/bin/Rscript
#linear regression
options <- commandArgs(trailingOnly = TRUE)
params.filename <- options[1]
params.H <- as.double(options[2])
#threshold <- 1000
threshold <- 100
data <- read.table(col.names=c("t",
"x", "y", "z",
"x2", "y2", "z2",... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/explore_clusters.R
\name{clickedClusterSum}
\alias{clickedClusterSum}
\title{Nearest clicked cluster}
\usage{
clickedClusterSum(corpus = NULL, e = NULL)
}
\arguments{
\item{corpus}{a document corpus}
\item{e}{co-ordinates from mouse click}
}... | /man/clickedClusterSum.Rd | permissive | Mayday1979/Adjutant | R | false | true | 361 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/explore_clusters.R
\name{clickedClusterSum}
\alias{clickedClusterSum}
\title{Nearest clicked cluster}
\usage{
clickedClusterSum(corpus = NULL, e = NULL)
}
\arguments{
\item{corpus}{a document corpus}
\item{e}{co-ordinates from mouse click}
}... |
scoring.getMolValues <- function(sorting, mols)
{
sorter <- c();
for (i in (1:length(mols)))
{ sorter <- c(sorter, as.numeric(get.property(mols[[i]], sorting))); }
return(sorter);
}
scoring.applyFunc <- function(sorting, mols)
{
column <- sapply(sorting[c(1:(length(sorting)-1))], scoring.getMolValues, ... | /MetFragR/rpackage/metfRag/R/scoring.R | no_license | c-ruttkies/MetFragRelaunched | R | false | false | 3,706 | r | scoring.getMolValues <- function(sorting, mols)
{
sorter <- c();
for (i in (1:length(mols)))
{ sorter <- c(sorter, as.numeric(get.property(mols[[i]], sorting))); }
return(sorter);
}
scoring.applyFunc <- function(sorting, mols)
{
column <- sapply(sorting[c(1:(length(sorting)-1))], scoring.getMolValues, ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/landscape.R
\name{get_XY}
\alias{get_XY}
\title{Random XY coordinates}
\usage{
get_XY(N)
}
\arguments{
\item{n}{number of patches}
}
\description{
Random XY coordinates
}
| /metadym/man/get_XY.Rd | no_license | florianhartig/metaco_toy_model | R | false | true | 250 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/landscape.R
\name{get_XY}
\alias{get_XY}
\title{Random XY coordinates}
\usage{
get_XY(N)
}
\arguments{
\item{n}{number of patches}
}
\description{
Random XY coordinates
}
|
\name{survfit.coxph}
\alias{survfit.coxph}
\title{
Compute a Survival Curve from a Cox model
}
\description{
Computes the predicted survivor function for a Cox proportional
hazards model.
}
\usage{
\method{survfit}{coxph}(formula, newdata,
se.fit=TRUE, conf.int=.95,
individual=FALSE,
type,... | /man/survfit.coxph.Rd | no_license | Infie/survival | R | false | false | 10,918 | rd | \name{survfit.coxph}
\alias{survfit.coxph}
\title{
Compute a Survival Curve from a Cox model
}
\description{
Computes the predicted survivor function for a Cox proportional
hazards model.
}
\usage{
\method{survfit}{coxph}(formula, newdata,
se.fit=TRUE, conf.int=.95,
individual=FALSE,
type,... |
#!/usr/bin/env Rscript
library(RcppCNPy)
library(optparse)
option_list <- list(
make_option(c("-d", "--data_files"), type="character",
help="comma-sepparated string, indicating the paths to the input files. Path patterns all also allowed"),
make_option(c("-m", "--method"), type="character", default="pearson",
... | /correlate_matrices.R | no_license | seoanezonjic/sys_bio_lab_scripts | R | false | false | 2,477 | r | #!/usr/bin/env Rscript
library(RcppCNPy)
library(optparse)
option_list <- list(
make_option(c("-d", "--data_files"), type="character",
help="comma-sepparated string, indicating the paths to the input files. Path patterns all also allowed"),
make_option(c("-m", "--method"), type="character", default="pearson",
... |
# A function to partition a dataset based on a cross-validation scheme
#
# More detailed explaination here
#
# @importFrom caret createFolds createDataPartition createResample
#
# @param y A two-level response variable vector
# @param cv The cross-validation scheme. One of 'cv', 'loocv', 'lgocv', or 'boot'
# @param ... | /R/partitionData.R | no_license | jperezrogers/rabbit | R | false | false | 1,290 | r | # A function to partition a dataset based on a cross-validation scheme
#
# More detailed explaination here
#
# @importFrom caret createFolds createDataPartition createResample
#
# @param y A two-level response variable vector
# @param cv The cross-validation scheme. One of 'cv', 'loocv', 'lgocv', or 'boot'
# @param ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/queries.R
\name{bwr_query_check}
\alias{bwr_query_check}
\title{Validate a Brandwatch query}
\usage{
bwr_query_check(query = list(), token = Sys.getenv("BW_TOKEN"))
}
\arguments{
\item{query}{A list containing named parameters: query and lang... | /man/bwr_query_check.Rd | no_license | Phippsy/brandwatchR | R | false | true | 619 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/queries.R
\name{bwr_query_check}
\alias{bwr_query_check}
\title{Validate a Brandwatch query}
\usage{
bwr_query_check(query = list(), token = Sys.getenv("BW_TOKEN"))
}
\arguments{
\item{query}{A list containing named parameters: query and lang... |
library(tidyverse)
library(waffle)
library(extrafont)
library(patchwork)
tuesdata <- tidytuesdayR::tt_load(2020, week = 45)
ikea_counts <- tuesdata$ikea %>%
count(category) %>%
mutate(n = round(n/5)) %>%
arrange(-n)
ikea_colors <- c(nord::nord_palettes$algoma_forest, dutchmasters::dutchmasters_pal()(13)[-c(... | /Scripts/tidytuesday_2020_45.R | no_license | yjunechoe/tidytuesday | R | false | false | 2,100 | r | library(tidyverse)
library(waffle)
library(extrafont)
library(patchwork)
tuesdata <- tidytuesdayR::tt_load(2020, week = 45)
ikea_counts <- tuesdata$ikea %>%
count(category) %>%
mutate(n = round(n/5)) %>%
arrange(-n)
ikea_colors <- c(nord::nord_palettes$algoma_forest, dutchmasters::dutchmasters_pal()(13)[-c(... |
dcd78d98c15f95a8fc1cf994823c8d6c query33_query42_1344n.qdimacs 1190 2717 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query33_query42_1344n/query33_query42_1344n.R | no_license | arey0pushpa/dcnf-autarky | R | false | false | 72 | r | dcd78d98c15f95a8fc1cf994823c8d6c query33_query42_1344n.qdimacs 1190 2717 |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/df_uc_mc.R
\docType{data}
\name{df_uc_mc}
\alias{df_uc_mc}
\title{Simulated dataset with uncontrolled confounding and exposure misclassification}
\format{A dataframe with 100,000 rows and 5 variables:
\describe{
\item{Xstar}{misclassified... | /man/df_uc_mc.Rd | no_license | pcbrendel/multibias | R | false | true | 779 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/df_uc_mc.R
\docType{data}
\name{df_uc_mc}
\alias{df_uc_mc}
\title{Simulated dataset with uncontrolled confounding and exposure misclassification}
\format{A dataframe with 100,000 rows and 5 variables:
\describe{
\item{Xstar}{misclassified... |
#' This is UI component especially designed for 3D viewers which uses `threebrain`
#' to visualize electrodes as well as surfaces via webgl.
#'
#' If you are looking for basic examples to learn how to build a RAVE package,
#' this might NOT be the place you want to be at. i used lots of advanced r-shiny
#' components... | /inst/modules/overview_viewer_3d/comp.R | permissive | beauchamplab/ravebuiltins | R | false | false | 6,060 | r | #' This is UI component especially designed for 3D viewers which uses `threebrain`
#' to visualize electrodes as well as surfaces via webgl.
#'
#' If you are looking for basic examples to learn how to build a RAVE package,
#' this might NOT be the place you want to be at. i used lots of advanced r-shiny
#' components... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vis.R
\name{vis.subject.annot}
\alias{vis.subject.annot}
\title{Visualize an annotation for a subject.}
\usage{
vis.subject.annot(
subjects_dir,
subject_id,
atlas,
hemi = "both",
surface = "white",
views = c("t4"),
rgloptions = ... | /man/vis.subject.annot.Rd | permissive | iPsych/fsbrain | R | false | true | 3,529 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vis.R
\name{vis.subject.annot}
\alias{vis.subject.annot}
\title{Visualize an annotation for a subject.}
\usage{
vis.subject.annot(
subjects_dir,
subject_id,
atlas,
hemi = "both",
surface = "white",
views = c("t4"),
rgloptions = ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/source.models.r
\name{model.dunne}
\alias{model.dunne}
\title{Dunne et al Model}
\usage{
model.dunne(NPP, SST, Chl)
}
\description{
Dunne et al Model
}
\author{
Thomas Bryce Kelly
}
| /man/model.dunne.Rd | no_license | tonyxv/TheSource | R | false | true | 274 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/source.models.r
\name{model.dunne}
\alias{model.dunne}
\title{Dunne et al Model}
\usage{
model.dunne(NPP, SST, Chl)
}
\description{
Dunne et al Model
}
\author{
Thomas Bryce Kelly
}
|
## This code defines two functions makeCacheMatrix and cacheSolve
##
## Create a special "matrix", which is a list containing
## a function to
## - set the value of the matrix
## - get the value of the matrix
## - set the value of the inverse matrix
## - get the value of the inverse matrix
makeCacheMatrix <... | /cachematrix.R | no_license | snimkar0924/ProgrammingAssignment2 | R | false | false | 962 | r | ## This code defines two functions makeCacheMatrix and cacheSolve
##
## Create a special "matrix", which is a list containing
## a function to
## - set the value of the matrix
## - get the value of the matrix
## - set the value of the inverse matrix
## - get the value of the inverse matrix
makeCacheMatrix <... |
## This function splits the given formula in response (left) and predictors
## (right).
## @param formula Formula object that specifies a model.
## @return a list containing the plain linear terms, interaction terms, group
## terms, response and a boolean global intercept indicating whether the
## intercept is incl... | /R/formula.R | no_license | minghao2016/projpred | R | false | false | 25,893 | r | ## This function splits the given formula in response (left) and predictors
## (right).
## @param formula Formula object that specifies a model.
## @return a list containing the plain linear terms, interaction terms, group
## terms, response and a boolean global intercept indicating whether the
## intercept is incl... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validate_arguments.R
\name{validate_table_name}
\alias{validate_table_name}
\title{Validate data table names}
\usage{
validate_table_name(fun.args)
}
\arguments{
\item{fun.args}{(named list) Function arguments and their values.}
}
\value{
\it... | /man/validate_table_name.Rd | permissive | EDIorg/EMLassemblyline | R | false | true | 473 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validate_arguments.R
\name{validate_table_name}
\alias{validate_table_name}
\title{Validate data table names}
\usage{
validate_table_name(fun.args)
}
\arguments{
\item{fun.args}{(named list) Function arguments and their values.}
}
\value{
\it... |
library(shiny)
library(shinyWidgets)
library(ggplot2)
# A dataframe with NMDS "coordinates" and mapping data
withmap <- read.table("scores.csv", header=TRUE, sep=",")
variables <- c("Treatment Type"="trt_type", "Site"="site_ID", "Sample Period"="sample_period",
"Crop"="crop")
# Define serv... | /shiny app/app.R | no_license | segenriether/shinymds | R | false | false | 2,938 | r | library(shiny)
library(shinyWidgets)
library(ggplot2)
# A dataframe with NMDS "coordinates" and mapping data
withmap <- read.table("scores.csv", header=TRUE, sep=",")
variables <- c("Treatment Type"="trt_type", "Site"="site_ID", "Sample Period"="sample_period",
"Crop"="crop")
# Define serv... |
GIS.countrylist <- function(){
temp <- paste0(.libPaths()[1],"/AEGIS/data/Country_list.Rdata")
load(temp)
country_list <- Country_list[order(Country_list$USABLE),]
# 지원, 미지원 구분 필
return(country_list)
}
| /R/GIS_countrylist.R | permissive | parkdongsu/Aegis | R | false | false | 231 | r | GIS.countrylist <- function(){
temp <- paste0(.libPaths()[1],"/AEGIS/data/Country_list.Rdata")
load(temp)
country_list <- Country_list[order(Country_list$USABLE),]
# 지원, 미지원 구분 필
return(country_list)
}
|
# Exercise 2: indexing and filtering vectors
# Create a vector `first_ten` that has the values 10 through 20 in it (using
# the : operator)
first_ten <- 10:20
# Create a vector `next_ten` that has the values 21 through 30 in it (using the
# seq() function)
next_ten <- 21:30
# Create a vector `all_numbers` by combi... | /exercise-2/exercise.R | permissive | justinleonardo/ch7-vectors | R | false | false | 1,632 | r | # Exercise 2: indexing and filtering vectors
# Create a vector `first_ten` that has the values 10 through 20 in it (using
# the : operator)
first_ten <- 10:20
# Create a vector `next_ten` that has the values 21 through 30 in it (using the
# seq() function)
next_ten <- 21:30
# Create a vector `all_numbers` by combi... |
t.stat <- function(x, y) {
n1 <- length(x); n2 <- length(y)
xb <- mean(x); yb <- mean(y)
Sx2 <- var(x); Sy2 <- var(y)
S <- ((n1-1)*Sx2 + (n2-1)*Sy2)/(n1+n2-2)
(xb - yb)/sqrt(S*(1/n1 + 1/n2))
}
| /chap02/t.stat.R | no_license | leetschau/app-of-rlang-in-stats | R | false | false | 220 | r | t.stat <- function(x, y) {
n1 <- length(x); n2 <- length(y)
xb <- mean(x); yb <- mean(y)
Sx2 <- var(x); Sy2 <- var(y)
S <- ((n1-1)*Sx2 + (n2-1)*Sy2)/(n1+n2-2)
(xb - yb)/sqrt(S*(1/n1 + 1/n2))
}
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trivariateFunctions.R
\name{dNormMultJump1Tri}
\alias{dNormMultJump1Tri}
\title{dNormMultJump1Tri}
\usage{
dNormMultJump1Tri(x1, x2, x3, coef, mult, mu, sig, jumpLoc3)
}
\arguments{
\item{x1}{A vector}
\item{x2}{A vector}
\item{x3}{A vector... | /man/dNormMultJump1Tri.Rd | no_license | jlstiles/haltmle.sim | R | false | true | 529 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trivariateFunctions.R
\name{dNormMultJump1Tri}
\alias{dNormMultJump1Tri}
\title{dNormMultJump1Tri}
\usage{
dNormMultJump1Tri(x1, x2, x3, coef, mult, mu, sig, jumpLoc3)
}
\arguments{
\item{x1}{A vector}
\item{x2}{A vector}
\item{x3}{A vector... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc_and_utility.R
\name{umx_select_valid}
\alias{umx_select_valid}
\title{Update NA values in one column with valid entries from another}
\usage{
umx_select_valid(col1, col2, bothways = FALSE, data)
}
\arguments{
\item{col1}{name of the firs... | /man/umx_select_valid.Rd | no_license | bwiernik/umx | R | false | true | 1,506 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc_and_utility.R
\name{umx_select_valid}
\alias{umx_select_valid}
\title{Update NA values in one column with valid entries from another}
\usage{
umx_select_valid(col1, col2, bothways = FALSE, data)
}
\arguments{
\item{col1}{name of the firs... |
\name{na.omit.data.frame.mvmeta}
\alias{na.omit.data.frame.mvmeta}
\alias{na.exclude.data.frame.mvmeta}
\title{ Handling Missing Values in mvmeta Models }
\description{
These method functions exclude rows corresponding to studies with invalid missing pattern from model frames of class \code{"data.frame.mvmeta"}. Thi... | /man/na.omit.data.frame.mvmeta.Rd | no_license | 19950916233/mvmeta | R | false | false | 3,305 | rd | \name{na.omit.data.frame.mvmeta}
\alias{na.omit.data.frame.mvmeta}
\alias{na.exclude.data.frame.mvmeta}
\title{ Handling Missing Values in mvmeta Models }
\description{
These method functions exclude rows corresponding to studies with invalid missing pattern from model frames of class \code{"data.frame.mvmeta"}. Thi... |
# Convert delta time (x) from the reference time to an actual clock time
deltaToClockTime <- function(reference, x)
{
if (reference == "none") {
return(as.numeric(x))
}
start <- unlist(strsplit(reference, ":")) # Remove the colon
startHours <- as.numeric(start[1])
startMinute <- as.numeric(start[2])
sta... | /R/deltaToClockTime.R | permissive | StevenLShafer/stanpumpR | R | false | false | 509 | r | # Convert delta time (x) from the reference time to an actual clock time
deltaToClockTime <- function(reference, x)
{
if (reference == "none") {
return(as.numeric(x))
}
start <- unlist(strsplit(reference, ":")) # Remove the colon
startHours <- as.numeric(start[1])
startMinute <- as.numeric(start[2])
sta... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary_methods.R
\name{getMeanWeight}
\alias{getMeanWeight}
\title{Calculate the mean weight of the community}
\usage{
getMeanWeight(sim, species = 1:nrow(sim@params@species_params), ...)
}
\arguments{
\item{sim}{A \linkS4class{MizerSim} obj... | /man/getMeanWeight.Rd | no_license | gustavdelius/mizer | R | false | true | 1,920 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary_methods.R
\name{getMeanWeight}
\alias{getMeanWeight}
\title{Calculate the mean weight of the community}
\usage{
getMeanWeight(sim, species = 1:nrow(sim@params@species_params), ...)
}
\arguments{
\item{sim}{A \linkS4class{MizerSim} obj... |
#------------------------------------------------------------------------------
# Things we need:
# - model
# - uvaduke.e.lm
# - data
# - uva and mcv xplant
# - dataframe from model
# - uvaduke.e.e.dm
# - residuals
# - uvaduke.e.lm.e1
#--------------------------------------------------------------------... | /RCode/forecast_duke_eth.R | no_license | demasma/Project3 | R | false | false | 7,381 | r | #------------------------------------------------------------------------------
# Things we need:
# - model
# - uvaduke.e.lm
# - data
# - uva and mcv xplant
# - dataframe from model
# - uvaduke.e.e.dm
# - residuals
# - uvaduke.e.lm.e1
#--------------------------------------------------------------------... |
library(shiny)
library(ggplot2)
library(ggthemes)
shinyServer(function(input, output) {
mydata <- reactive({
mtcars[mtcars$cyl %in% input$ncyl,]
})
model1 <- reactive({
lm(mpg ~ hp, data = mydata())
})
model2 <- reacti... | /server.R | no_license | student0129/DevelopingDataProductsCourseProject | R | false | false | 2,887 | r | library(shiny)
library(ggplot2)
library(ggthemes)
shinyServer(function(input, output) {
mydata <- reactive({
mtcars[mtcars$cyl %in% input$ncyl,]
})
model1 <- reactive({
lm(mpg ~ hp, data = mydata())
})
model2 <- reacti... |
## File Summary
#2D parameter space data
at.home = 0
flag.save = 1
##---------------------------------------------------------------------
## Parameters to pick
##---------------------------------------------------------------------
Thresh.vec = 1:60
##----------------------------------------------------------------... | /PE_optimize_and_times.R | no_license | jensenmelanie/AB_mucin | R | false | false | 9,487 | r |
## File Summary
#2D parameter space data
at.home = 0
flag.save = 1
##---------------------------------------------------------------------
## Parameters to pick
##---------------------------------------------------------------------
Thresh.vec = 1:60
##----------------------------------------------------------------... |
#' Draw random vectors from multivariate Gaussian in canonical form
#'
#' @param b b parameter (canonical mean)
#' @param P Precision matrix
#'
#' @return Vector of draw from N(P^{-1}b,P^{-1})
#' @export
#'
#' @examples rmvnormcanon(c(0,0),diag(2))
rmvnormcanon <- function(b, P){
L <- chol(P)
u <- solve(t(L), b)
... | /R/rmvnorm.R | no_license | volkerschmid/bayeskurs | R | false | false | 452 | r | #' Draw random vectors from multivariate Gaussian in canonical form
#'
#' @param b b parameter (canonical mean)
#' @param P Precision matrix
#'
#' @return Vector of draw from N(P^{-1}b,P^{-1})
#' @export
#'
#' @examples rmvnormcanon(c(0,0),diag(2))
rmvnormcanon <- function(b, P){
L <- chol(P)
u <- solve(t(L), b)
... |
/33_190423_Naibe_Bayes.R | no_license | tomzg12/machinel_R | R | false | false | 930 | r | ||
testlist <- list(b = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), p1 = c(8.5728629954997e-312, 1.56898424065867e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, 2.68298522855314e-211, 4.06461942430332e+... | /metacoder/inst/testfiles/intersect_line_rectangle/AFL_intersect_line_rectangle/intersect_line_rectangle_valgrind_files/1615769592-test.R | permissive | akhikolla/updatedatatype-list3 | R | false | false | 731 | r | testlist <- list(b = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), p1 = c(8.5728629954997e-312, 1.56898424065867e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, 2.68298522855314e-211, 4.06461942430332e+... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Utils.R
\name{MergeFill}
\alias{MergeFill}
\title{Special Merge}
\usage{
MergeFill(df1, df2, by, overwrite = FALSE, ...)
}
\arguments{
\item{df1}{first dataframe (lowest priority if \code{overwrite=TRUE}).}
\item{df2}{second dataframe (highe... | /man/MergeFill.Rd | no_license | JiscaH/sequoia | R | false | true | 754 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Utils.R
\name{MergeFill}
\alias{MergeFill}
\title{Special Merge}
\usage{
MergeFill(df1, df2, by, overwrite = FALSE, ...)
}
\arguments{
\item{df1}{first dataframe (lowest priority if \code{overwrite=TRUE}).}
\item{df2}{second dataframe (highe... |
fp <- file.path(".", "..", "..", "data", "fits", "laser_embeddings_pca.RData")
if (file.exists(fp)) {
laser.embedding.prcomp <- readRDS(fp)
if (length(idx_ <- which(names(laser.embedding.prcomp) == "x")) == 1)
laser.embedding.prcomp <- laser.embedding.prcomp[-idx_]
str(laser.embedding.prcomp,1)
names(laser.... | /data-raw/laser_embedding_prcomp.R | no_license | haukelicht/politicaltweets | R | false | false | 656 | r | fp <- file.path(".", "..", "..", "data", "fits", "laser_embeddings_pca.RData")
if (file.exists(fp)) {
laser.embedding.prcomp <- readRDS(fp)
if (length(idx_ <- which(names(laser.embedding.prcomp) == "x")) == 1)
laser.embedding.prcomp <- laser.embedding.prcomp[-idx_]
str(laser.embedding.prcomp,1)
names(laser.... |
### R code from vignette source 'betareg-ext.Rnw'
###################################################
### code chunk number 1: preliminaries
###################################################
options(width = 70, prompt = "R> ", continue = "+ ", useFancyQuotes = FALSE)
library("betareg")
combine <- function(x, sep, w... | /data/genthat_extracted_code/betareg/vignettes/betareg-ext.R | no_license | surayaaramli/typeRrh | R | false | false | 12,911 | r | ### R code from vignette source 'betareg-ext.Rnw'
###################################################
### code chunk number 1: preliminaries
###################################################
options(width = 70, prompt = "R> ", continue = "+ ", useFancyQuotes = FALSE)
library("betareg")
combine <- function(x, sep, w... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iotthingsgraph_operations.R
\name{iotthingsgraph_tag_resource}
\alias{iotthingsgraph_tag_resource}
\title{Creates a tag for the specified resource}
\usage{
iotthingsgraph_tag_resource(resourceArn, tags)
}
\arguments{
\item{resourceArn}{[requi... | /paws/man/iotthingsgraph_tag_resource.Rd | permissive | peoplecure/paws | R | false | true | 714 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iotthingsgraph_operations.R
\name{iotthingsgraph_tag_resource}
\alias{iotthingsgraph_tag_resource}
\title{Creates a tag for the specified resource}
\usage{
iotthingsgraph_tag_resource(resourceArn, tags)
}
\arguments{
\item{resourceArn}{[requi... |
## Put comments here that give an overall description of what your functions do
## Write a short comment describing this function
# Function makeCacheMatrix: This function creates a "matrix" object that can cache its inverse.
makeCacheMatrix <- function( x = matrix( ) ) {
i <- NULL
set <- function( y )
{ #... | /cachematrix.R | no_license | LNPcoursera/ProgrammingAssignment2 | R | false | false | 1,417 | r | ## Put comments here that give an overall description of what your functions do
## Write a short comment describing this function
# Function makeCacheMatrix: This function creates a "matrix" object that can cache its inverse.
makeCacheMatrix <- function( x = matrix( ) ) {
i <- NULL
set <- function( y )
{ #... |
#!/usr/bin/env Rscript
# Compute metrics (all except PCA) for ROI files.
#
# USAGE: roi_metrics.Rscript -i IN.roi -o OUT.roi
# TODO(holtgrew): Bernd, can you give the English names of the metrics below in the comments?
# Author: Bernd Jagla <bernd.jagla@pasteur.fr>
# Author: Manuel Holtgrewe <manuel.holtgrewe@fu-ber... | /submodules/seqan/apps/ngs_roi/tool_shed/roi_metrics.Rscript | permissive | sheffield-bioinformatics-core/STRique | R | false | false | 2,588 | rscript | #!/usr/bin/env Rscript
# Compute metrics (all except PCA) for ROI files.
#
# USAGE: roi_metrics.Rscript -i IN.roi -o OUT.roi
# TODO(holtgrew): Bernd, can you give the English names of the metrics below in the comments?
# Author: Bernd Jagla <bernd.jagla@pasteur.fr>
# Author: Manuel Holtgrewe <manuel.holtgrewe@fu-ber... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PackageResultsForSharing.R
\name{packageResults}
\alias{packageResults}
\title{Package the results for sharing with OHDSI researchers}
\usage{
packageResults(outputFolder)
}
\arguments{
\item{outputFolder}{Name of local folder to place result... | /CiCalibration/man/packageResults.Rd | no_license | amrapalijz/StudyProtocolSandbox | R | false | true | 483 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PackageResultsForSharing.R
\name{packageResults}
\alias{packageResults}
\title{Package the results for sharing with OHDSI researchers}
\usage{
packageResults(outputFolder)
}
\arguments{
\item{outputFolder}{Name of local folder to place result... |
#
#author vedraiyani
#
#dev value of given item
# @param v1 vector
# @param v2 vector
# @param k max no of neighboours
# @return cosine similarity
#
iscoreUB <- function(u,i,k){
#TODO: check user,item and rating_matrix exists
score=0;
for(l in 1:length(items)){
#make sure it's not requested item and i... | /iscoreUB.r | no_license | vedraiyani/ikNNScore | R | false | false | 622 | r | #
#author vedraiyani
#
#dev value of given item
# @param v1 vector
# @param v2 vector
# @param k max no of neighboours
# @return cosine similarity
#
iscoreUB <- function(u,i,k){
#TODO: check user,item and rating_matrix exists
score=0;
for(l in 1:length(items)){
#make sure it's not requested item and i... |
###################
### Packages & Data:
###################
library(ggplot2)
library(dplyr)
library(glmnet)
library(lubridate)
library(tidyr)
library(randomForest)
setwd("/Users/shlong/Desktop/Cox Case Study/input")
df = read.csv("ICO_modeling_data.csv")
df$offer_date = as.Date(df$offer_date,'%m/%d/%Y')
str(df)
summa... | /Part_1.R | no_license | longenbach/Cox-Case-Study | R | false | false | 12,654 | r | ###################
### Packages & Data:
###################
library(ggplot2)
library(dplyr)
library(glmnet)
library(lubridate)
library(tidyr)
library(randomForest)
setwd("/Users/shlong/Desktop/Cox Case Study/input")
df = read.csv("ICO_modeling_data.csv")
df$offer_date = as.Date(df$offer_date,'%m/%d/%Y')
str(df)
summa... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/secretsmanager_operations.R
\name{secretsmanager_get_secret_value}
\alias{secretsmanager_get_secret_value}
\title{Retrieves the contents of the encrypted fields SecretString or
SecretBinary from the specified version of a secret, whichever co... | /cran/paws.security.identity/man/secretsmanager_get_secret_value.Rd | permissive | johnnytommy/paws | R | false | true | 3,716 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/secretsmanager_operations.R
\name{secretsmanager_get_secret_value}
\alias{secretsmanager_get_secret_value}
\title{Retrieves the contents of the encrypted fields SecretString or
SecretBinary from the specified version of a secret, whichever co... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Attribution.R
\name{Attribution}
\alias{Attribution}
\title{performs single-category attribution}
\usage{
Attribution(
Rp,
wp,
Rb,
wb,
wpf = NA,
wbf = NA,
S = NA,
Fp = NA,
Fb = NA,
Rpl = NA,
Rbl = NA,
Rbh = NA,
bf = ... | /man/Attribution.Rd | no_license | anandkkumar/PortfolioAttribution | R | false | true | 13,675 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Attribution.R
\name{Attribution}
\alias{Attribution}
\title{performs single-category attribution}
\usage{
Attribution(
Rp,
wp,
Rb,
wb,
wpf = NA,
wbf = NA,
S = NA,
Fp = NA,
Fb = NA,
Rpl = NA,
Rbl = NA,
Rbh = NA,
bf = ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fitmethod-combined.R
\docType{data}
\name{combinedFit}
\alias{combinedFit}
\title{fitMethod object for fitting via combination of
optim and grid search}
\format{fitMethod object}
\usage{
combinedFit
}
\description{
fitMethod object for fittin... | /man/combinedFit.Rd | no_license | dfeehan/mortfit | R | false | true | 385 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fitmethod-combined.R
\docType{data}
\name{combinedFit}
\alias{combinedFit}
\title{fitMethod object for fitting via combination of
optim and grid search}
\format{fitMethod object}
\usage{
combinedFit
}
\description{
fitMethod object for fittin... |
library(tidyverse)
#obtain data file
bfi_data <- psych::bfi
#tell R about categorical variables gender and education
categorical_variables <- select(bfi_data, gender)
categorical_variables$gender <- as.factor(categorical_variables$gender)
levels(categorical_variables$gender) <- list("Male"=1,"Female"=2)
gender <- cat... | /Analytic_data_with_filtering_plus_figures_tables.R | no_license | jgomez03/Lab_Exam_Scripts | R | false | false | 2,310 | r | library(tidyverse)
#obtain data file
bfi_data <- psych::bfi
#tell R about categorical variables gender and education
categorical_variables <- select(bfi_data, gender)
categorical_variables$gender <- as.factor(categorical_variables$gender)
levels(categorical_variables$gender) <- list("Male"=1,"Female"=2)
gender <- cat... |
\name{fLoadTXTIntoDataframe}
\alias{fLoadTXTIntoDataframe}
\title{Load text file with one header and one unit row into data frame}
\description{If gaps with the flag -9999.0 exist, these are set to NA.}
\usage{fLoadTXTIntoDataframe(FileName.s, Dir.s = "")}
\arguments{
\item{FileName.s}{File name as a character string... | /man/fLoadTXTIntoDataframe.Rd | no_license | economistgame/REddyProc | R | false | false | 1,341 | rd | \name{fLoadTXTIntoDataframe}
\alias{fLoadTXTIntoDataframe}
\title{Load text file with one header and one unit row into data frame}
\description{If gaps with the flag -9999.0 exist, these are set to NA.}
\usage{fLoadTXTIntoDataframe(FileName.s, Dir.s = "")}
\arguments{
\item{FileName.s}{File name as a character string... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TPPTR_reference_results_HepG2.R
\docType{data}
\name{TPPTR_reference_results_HepG2}
\alias{TPPTR_reference_results_HepG2}
\title{Example of a reference dataset for 2D-TPP experiments.}
\description{
Reference dataset obtained by TPP-TR experi... | /man/TPPTR_reference_results_HepG2.Rd | no_license | andreaschrader/TPP | R | false | true | 435 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TPPTR_reference_results_HepG2.R
\docType{data}
\name{TPPTR_reference_results_HepG2}
\alias{TPPTR_reference_results_HepG2}
\title{Example of a reference dataset for 2D-TPP experiments.}
\description{
Reference dataset obtained by TPP-TR experi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.