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 |
|---|---|---|---|---|---|---|---|---|---|
###############Housekeeping#####################
library(car)
library(olsrr)
library(party)
library(partykit)
library(rpart)
library(caret)
library(e1071)
library(stringr)
library(stringi)
library(dplyr)
library(modeest)
library(stringdist)
library(pbapply)
library(RMySQL)
library(gnm)
library(ggplot2)
library(rPyth... | /scripts/dtree/verify_ass.R | no_license | liouviaglou/Domains_202003 | R | false | false | 10,084 | r | ###############Housekeeping#####################
library(car)
library(olsrr)
library(party)
library(partykit)
library(rpart)
library(caret)
library(e1071)
library(stringr)
library(stringi)
library(dplyr)
library(modeest)
library(stringdist)
library(pbapply)
library(RMySQL)
library(gnm)
library(ggplot2)
library(rPyth... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_isContentTruthy.R
\name{optional}
\alias{optional}
\title{optional}
\usage{
optional(x, default = NULL)
}
\arguments{
\item{x}{value provided for the argument}
\item{default}{default value (e.g. character()) in case option is invalid.}... | /man/optional.Rd | permissive | charlycou/MetaShARK-v2 | R | false | true | 498 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_isContentTruthy.R
\name{optional}
\alias{optional}
\title{optional}
\usage{
optional(x, default = NULL)
}
\arguments{
\item{x}{value provided for the argument}
\item{default}{default value (e.g. character()) in case option is invalid.}... |
pkgname <- "easyalluvial"
source(file.path(R.home("share"), "R", "examples-header.R"))
options(warn = 1)
library('easyalluvial')
base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
cleanEx()
nameEx("add_imp_plot")
### * add_imp_plot
flush(stderr())... | /revdep/checks.noindex/easyalluvial/new/easyalluvial.Rcheck/easyalluvial-Ex.R | no_license | koalaverse/vip | R | false | false | 14,275 | r | pkgname <- "easyalluvial"
source(file.path(R.home("share"), "R", "examples-header.R"))
options(warn = 1)
library('easyalluvial')
base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
cleanEx()
nameEx("add_imp_plot")
### * add_imp_plot
flush(stderr())... |
###setup, changing these 3 filepaths should be all that is required.
#set input directory that contains nd2 files
# input_dir = "/slipstream/home/scope_user/data/TMA_Primary_0926_Runx2_input"
input_dir = "/slipstream/home/scope_user/data/my_nd2_1"
#by default, all outputs will appear in the same directory where input_d... | /pipeline_digest_unmix.R | no_license | jrboyd/image_analysis | R | false | false | 11,197 | r | ###setup, changing these 3 filepaths should be all that is required.
#set input directory that contains nd2 files
# input_dir = "/slipstream/home/scope_user/data/TMA_Primary_0926_Runx2_input"
input_dir = "/slipstream/home/scope_user/data/my_nd2_1"
#by default, all outputs will appear in the same directory where input_d... |
#' Unit Conversion - SI Prefixes - Deci- to Base
#'
#' Deci- tenths, 1/10, or 10^(-1)
#'
#' Performs a conversion from deci-units to base units (ex. decigrams to grams).
#'
#' @param x Vector - Values in units of deci-units
#'
#' @return x, but converted to base units
#'
#' @references
#' NIST. Metric (SI) Prefix... | /R/unitconversion.siprefix.deci.to.base.R | permissive | burrm/lolcat | R | false | false | 7,020 | r | #' Unit Conversion - SI Prefixes - Deci- to Base
#'
#' Deci- tenths, 1/10, or 10^(-1)
#'
#' Performs a conversion from deci-units to base units (ex. decigrams to grams).
#'
#' @param x Vector - Values in units of deci-units
#'
#' @return x, but converted to base units
#'
#' @references
#' NIST. Metric (SI) Prefix... |
#R Code Metrics Library about a Git Repository
#Relates to 'Use of Relative Code Churn Measures to Predict System Defect Density'
#Usage example:
#source('/Users/noah/src/boundary/git-math/gitMath.R')
#gs <- mkchurnline() #lines, churn, churn/lines
#OR
#mkreport() #generates report of top values, all and a plot of ... | /git-math/gitMath.R | no_license | noahgift/boundary | R | false | false | 3,982 | r | #R Code Metrics Library about a Git Repository
#Relates to 'Use of Relative Code Churn Measures to Predict System Defect Density'
#Usage example:
#source('/Users/noah/src/boundary/git-math/gitMath.R')
#gs <- mkchurnline() #lines, churn, churn/lines
#OR
#mkreport() #generates report of top values, all and a plot of ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/testing.R
\name{lrt_approx}
\alias{lrt_approx}
\title{Approximate likelihood ratio testing for Latent Variables Multivariate
Mixed-type Response Regression}
\usage{
lrt_approx(fit_null, fit_full, df, ...)
}
\arguments{
\item{fit_null}{The ... | /man/lrt_approx.Rd | permissive | koekvall/mmrr | R | false | true | 901 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/testing.R
\name{lrt_approx}
\alias{lrt_approx}
\title{Approximate likelihood ratio testing for Latent Variables Multivariate
Mixed-type Response Regression}
\usage{
lrt_approx(fit_null, fit_full, df, ...)
}
\arguments{
\item{fit_null}{The ... |
library(tidyverse)
url <- "http://mlr.cs.umass.edu/ml/machine-learning-databases/breast-cancer-wisconsin/wdbc.data"
download.file(url, "wdbc.data")
dat<- read_csv("wdbc.data", col_names = FALSE)
head(dat)
nrow(dat)
ncol(dat) | /DataImportAssessment.R | no_license | DuongNg0403/R_Harvard | R | false | false | 226 | r | library(tidyverse)
url <- "http://mlr.cs.umass.edu/ml/machine-learning-databases/breast-cancer-wisconsin/wdbc.data"
download.file(url, "wdbc.data")
dat<- read_csv("wdbc.data", col_names = FALSE)
head(dat)
nrow(dat)
ncol(dat) |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pphi.R
\name{pphi}
\alias{pphi}
\title{CDF of phi-divergence statitic under the null hypothesis.}
\usage{
pphi(q, n, s, beta)
}
\arguments{
\item{q}{- quantile, must be a scalar.}
\item{n}{- dimension parameter, i.e. the number of... | /man/pphi.Rd | no_license | wpihongzhang/SetTest | R | false | true | 1,234 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pphi.R
\name{pphi}
\alias{pphi}
\title{CDF of phi-divergence statitic under the null hypothesis.}
\usage{
pphi(q, n, s, beta)
}
\arguments{
\item{q}{- quantile, must be a scalar.}
\item{n}{- dimension parameter, i.e. the number of... |
library(subrank)
### Name: simnul
### Title: Test statistic distribution under independence hypothesis
### Aliases: simnul
### ** Examples
library(datasets)
# plot(swiss)
c=corc(swiss,1:3,8)
c
RV=sum(c$cop*log(c$cop),na.rm=TRUE)+3*log(8)
sims=simnul(47,3,8,100)
pvalue=mean(RV<sims$lrs)
pvalue
RV
summary(sims$lrs)
... | /data/genthat_extracted_code/subrank/examples/simnul.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 322 | r | library(subrank)
### Name: simnul
### Title: Test statistic distribution under independence hypothesis
### Aliases: simnul
### ** Examples
library(datasets)
# plot(swiss)
c=corc(swiss,1:3,8)
c
RV=sum(c$cop*log(c$cop),na.rm=TRUE)+3*log(8)
sims=simnul(47,3,8,100)
pvalue=mean(RV<sims$lrs)
pvalue
RV
summary(sims$lrs)
... |
library(ape)
testtree <- read.tree("3345_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="3345_0_unrooted.txt") | /codeml_files/newick_trees_processed/3345_0/rinput.R | no_license | DaniBoo/cyanobacteria_project | R | false | false | 135 | r | library(ape)
testtree <- read.tree("3345_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="3345_0_unrooted.txt") |
library(jsonlite)
library(ggplot2)
library(plotly)
library(leaflet)
library(dplyr)
rm(list = ls())
# country <- stream_in(file("~/Workspace/scrapy/postcrossing/country.json"))
#
# folder_dir <- "~/Workspace/scrapy/postcrossing/"
#
# postcard <- NULL
#
# for(filename in dir(folder_dir)) {
# if(grepl("2016-11-", f... | /postcrossing.R | no_license | iamchuan/HappyPostcrossing | R | false | false | 8,015 | r | library(jsonlite)
library(ggplot2)
library(plotly)
library(leaflet)
library(dplyr)
rm(list = ls())
# country <- stream_in(file("~/Workspace/scrapy/postcrossing/country.json"))
#
# folder_dir <- "~/Workspace/scrapy/postcrossing/"
#
# postcard <- NULL
#
# for(filename in dir(folder_dir)) {
# if(grepl("2016-11-", f... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cn.R
\name{cn}
\alias{cn}
\alias{cn.cpr_bt}
\alias{cn.formula}
\alias{print.cpr_cn}
\alias{summary.cpr_cn}
\title{Control Nets}
\usage{
cn(x, ...)
\method{cn}{cpr_bt}(x, theta, ...)
\method{cn}{formula}(formula, data, method = stats::lm, ..... | /cpr/man/cn.Rd | no_license | akhikolla/TestedPackages-NoIssues | R | false | true | 2,377 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cn.R
\name{cn}
\alias{cn}
\alias{cn.cpr_bt}
\alias{cn.formula}
\alias{print.cpr_cn}
\alias{summary.cpr_cn}
\title{Control Nets}
\usage{
cn(x, ...)
\method{cn}{cpr_bt}(x, theta, ...)
\method{cn}{formula}(formula, data, method = stats::lm, ..... |
#' Function to extract robust end-members.
#'
#' This function takes a matrix with end-member loadings and extracts those
#' whose modes fall into specified limits. The function returns a list with all
#' passing end-member loadings and scores, along with their respective
#' coumn-wise (variable-wise) measures of cent... | /EMMAgeo/R/robust.EM.R | no_license | ingted/R-Examples | R | false | false | 17,270 | r | #' Function to extract robust end-members.
#'
#' This function takes a matrix with end-member loadings and extracts those
#' whose modes fall into specified limits. The function returns a list with all
#' passing end-member loadings and scores, along with their respective
#' coumn-wise (variable-wise) measures of cent... |
/tut9/tut9_v3.R | no_license | tadeup/portfolio | R | false | false | 8,403 | r | ||
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fundamental.R
\name{report_market}
\alias{report_market}
\title{Query whole-market quarterly reports}
\usage{
report_market(
type = c("income", "balancesheet", "cashflow", "forecast", "express",
"fina_indicator", "fina_mainbz"),
perio... | /man/report_market.Rd | permissive | junduck/tswbench | R | false | true | 761 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fundamental.R
\name{report_market}
\alias{report_market}
\title{Query whole-market quarterly reports}
\usage{
report_market(
type = c("income", "balancesheet", "cashflow", "forecast", "express",
"fina_indicator", "fina_mainbz"),
perio... |
% Generated by roxygen2 (4.0.0): do not edit by hand
\name{scale_identity}
\alias{scale_alpha_identity}
\alias{scale_color_identity}
\alias{scale_colour_identity}
\alias{scale_fill_identity}
\alias{scale_identity}
\alias{scale_linetype_identity}
\alias{scale_shape_identity}
\alias{scale_size_identity}
\title{Use values... | /man/scale_identity.Rd | no_license | richierocks/ggplot2 | R | false | false | 1,567 | rd | % Generated by roxygen2 (4.0.0): do not edit by hand
\name{scale_identity}
\alias{scale_alpha_identity}
\alias{scale_color_identity}
\alias{scale_colour_identity}
\alias{scale_fill_identity}
\alias{scale_identity}
\alias{scale_linetype_identity}
\alias{scale_shape_identity}
\alias{scale_size_identity}
\title{Use values... |
whichMaxShapeDist <- function(shapes, max.index = dim(shapes)[3], method = c('disp.dist', 'prod.dist'),
min.per.var = 1e-3, plot.diag = NULL){
# Make sure max.index does not exceed number of shapes
if(max.index > dim(shapes)[3]) max.index <- dim(shapes)[3]
# Convert array to matrix for PCA
shapes_mat <- t(apply... | /R/whichMaxShapeDist.R | no_license | aaronolsen/linkR | R | false | false | 4,070 | r | whichMaxShapeDist <- function(shapes, max.index = dim(shapes)[3], method = c('disp.dist', 'prod.dist'),
min.per.var = 1e-3, plot.diag = NULL){
# Make sure max.index does not exceed number of shapes
if(max.index > dim(shapes)[3]) max.index <- dim(shapes)[3]
# Convert array to matrix for PCA
shapes_mat <- t(apply... |
#' Prediction using multiple imputation
#'
#' Calculates predictions from generalized linear models when multiple
#' imputations are used to account for missing values in predictor data.
#'
#' @param formula A formula object providing a symbolic description of the
#' prediction model to be fitted.
#' @param fa... | /R/mipred.R | no_license | cran/mipred | R | false | false | 11,197 | r | #' Prediction using multiple imputation
#'
#' Calculates predictions from generalized linear models when multiple
#' imputations are used to account for missing values in predictor data.
#'
#' @param formula A formula object providing a symbolic description of the
#' prediction model to be fitted.
#' @param fa... |
library(ape)
testtree <- read.tree("5820_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="5820_0_unrooted.txt") | /codeml_files/newick_trees_processed/5820_0/rinput.R | no_license | DaniBoo/cyanobacteria_project | R | false | false | 135 | r | library(ape)
testtree <- read.tree("5820_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="5820_0_unrooted.txt") |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/general-methods.R
\name{get_projects}
\alias{get_projects}
\title{Get a workspace's projects}
\usage{
get_projects(workspace_name = NULL, api_key = NULL)
}
\arguments{
\item{workspace_name}{Workspace name (can also be specified using the \cod... | /man/get_projects.Rd | no_license | cran/cometr | R | false | true | 726 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/general-methods.R
\name{get_projects}
\alias{get_projects}
\title{Get a workspace's projects}
\usage{
get_projects(workspace_name = NULL, api_key = NULL)
}
\arguments{
\item{workspace_name}{Workspace name (can also be specified using the \cod... |
### Show the first an last rows of a data frame or matrix
#' @title FUNCTION_TITLE
#' @description FUNCTION_DESCRIPTION
#' @param d PARAM_DESCRIPTION
#' @param myrows PARAM_DESCRIPTION, Default: 10
#' @return OUTPUT_DESCRIPTION
#' @details DETAILS
#' @examples
#' \dontrun{
#' if(interactive()){
#' #EXAMPLE1
#' }
#'... | /R/ht.R | no_license | holgerman/toolboxH | R | false | false | 581 | r | ### Show the first an last rows of a data frame or matrix
#' @title FUNCTION_TITLE
#' @description FUNCTION_DESCRIPTION
#' @param d PARAM_DESCRIPTION
#' @param myrows PARAM_DESCRIPTION, Default: 10
#' @return OUTPUT_DESCRIPTION
#' @details DETAILS
#' @examples
#' \dontrun{
#' if(interactive()){
#' #EXAMPLE1
#' }
#'... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distance.R
\name{distance}
\alias{distance}
\title{Calculate the distance from earth to the sun}
\usage{
distance(date)
}
\description{
Calculate the distance from earth to the sun
}
| /EThourly/man/distance.Rd | no_license | MichaelRGrant/ETHourly | R | false | true | 261 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distance.R
\name{distance}
\alias{distance}
\title{Calculate the distance from earth to the sun}
\usage{
distance(date)
}
\description{
Calculate the distance from earth to the sun
}
|
# Partially matching libraries
Refs1 <- synopsis[1:10, ]
Refs2 <- synopsis[6:15, ]
# some modification in second library
Refs2[3, "title"] <- "New Title"
# compare libraries
compare_df(Refs1, Refs2)
| /examples/compare_df.R | no_license | kamapu/biblio | R | false | false | 201 | r | # Partially matching libraries
Refs1 <- synopsis[1:10, ]
Refs2 <- synopsis[6:15, ]
# some modification in second library
Refs2[3, "title"] <- "New Title"
# compare libraries
compare_df(Refs1, Refs2)
|
#' Find Correlation Between Principal Components (PCs) and Covariates
#'
#' [DEGreport::degCovariates()] wrapper supporting a [bcbioRNASeq] object.
#'
#' @name plotPCACovariates
#' @family Quality Control Functions
#' @author Lorena Pantano, Michael Steinbaugh
#'
#' @inheritParams general
#' @param metrics Include samp... | /R/methods-plotPCACovariates.R | permissive | WeiSong-bio/roryk-bcbioRNASeq | R | false | false | 2,344 | r | #' Find Correlation Between Principal Components (PCs) and Covariates
#'
#' [DEGreport::degCovariates()] wrapper supporting a [bcbioRNASeq] object.
#'
#' @name plotPCACovariates
#' @family Quality Control Functions
#' @author Lorena Pantano, Michael Steinbaugh
#'
#' @inheritParams general
#' @param metrics Include samp... |
# ------------------------------------------------------------------------------------ #
# -- PH test to check the proportional assumption of excess mortality hazard models -- #
# ------------------------------------------------------------------------------------ #
# -------------------------------------------------... | /Review/Test_PH_nsim1000/lin_nph_lambda0.colon_NPH_Faible_1000/1000_patients/My_Test_PH_SigmaNum.R | no_license | danielico/Biostatistics_Paper | R | false | false | 15,292 | r | # ------------------------------------------------------------------------------------ #
# -- PH test to check the proportional assumption of excess mortality hazard models -- #
# ------------------------------------------------------------------------------------ #
# -------------------------------------------------... |
#
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
shinyUI(fluidPage(
tags$head(HTML("<link
href='http://fo... | /google-analytics/ui.R | no_license | tdhuynh/r-and-shiny | R | false | false | 1,755 | r | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
shinyUI(fluidPage(
tags$head(HTML("<link
href='http://fo... |
## read txt file from the data directory
## while specifying the types of the columns
powerData <- read.table(file ="./data/household_power_consumption.txt", header=TRUE,sep=";",na.strings="?")
## subset only the data from the dates 2007-02-01 and 2007-02-02
powerDataUse <- powerData[powerData$Date %in% c("1/2/2007",... | /plot4.R | no_license | nadinush/ExData_Plotting1 | R | false | false | 1,379 | r | ## read txt file from the data directory
## while specifying the types of the columns
powerData <- read.table(file ="./data/household_power_consumption.txt", header=TRUE,sep=";",na.strings="?")
## subset only the data from the dates 2007-02-01 and 2007-02-02
powerDataUse <- powerData[powerData$Date %in% c("1/2/2007",... |
library(shiny)
# Define UI for application that draws a time series plot
shinyUI(fluidPage(
# Application title
titlePanel("Developing Data Products Course Project : NASDAQ Stock Price Comparisons"),
h4("This application allows you to compare the the prices of multiple NASDAQ stocks over time."),
h4... | /DDP_Project/ui.R | no_license | komoroka/Developing-Data-Products-Project | R | false | false | 1,038 | r |
library(shiny)
# Define UI for application that draws a time series plot
shinyUI(fluidPage(
# Application title
titlePanel("Developing Data Products Course Project : NASDAQ Stock Price Comparisons"),
h4("This application allows you to compare the the prices of multiple NASDAQ stocks over time."),
h4... |
#Load data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#Find SSC number for coal
library(stringr)
CoalNumbers = grep("Coal", SCC$SCC.Level.Three)
CoalSCC = SCC$SCC[CoalNumbers]
#select rows where SSC number is in CoalSSC
CoalData = subset(NEI,NEI$SCC %in% CoalSCC)
#plot
Coa... | /plot4.R | no_license | Deriss/ExploratoryDataAnalysis-Project2 | R | false | false | 762 | r | #Load data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#Find SSC number for coal
library(stringr)
CoalNumbers = grep("Coal", SCC$SCC.Level.Three)
CoalSCC = SCC$SCC[CoalNumbers]
#select rows where SSC number is in CoalSSC
CoalData = subset(NEI,NEI$SCC %in% CoalSCC)
#plot
Coa... |
## Read the data
# Data are at http://www.stat.columbia.edu/~gelman/arm/examples/arsenic
# The R codes & data files should be saved in the same directory for
# the source command to work
source("5.4_Logistic regression_wells in Bangladesh.R") # where variables were defined
# Logistic regression with interact... | /Gelman_BDA_ARM/doc/Book_Codes/Ch.5/5.5_Logistic regression with interactions.R | no_license | burakbayramli/books | R | false | false | 3,582 | r | ## Read the data
# Data are at http://www.stat.columbia.edu/~gelman/arm/examples/arsenic
# The R codes & data files should be saved in the same directory for
# the source command to work
source("5.4_Logistic regression_wells in Bangladesh.R") # where variables were defined
# Logistic regression with interact... |
is_error <- function (x) {
inherits(x, 'try-error')
}
is_package <- function (x) {
inherits(x, 'package')
}
is_lazy <- function (x) {
inherits(x, 'lazy')
}
| /defer2/R/utils.r | no_license | lbartnik/varia | R | false | false | 164 | r | is_error <- function (x) {
inherits(x, 'try-error')
}
is_package <- function (x) {
inherits(x, 'package')
}
is_lazy <- function (x) {
inherits(x, 'lazy')
}
|
/man/fisher.multcomp.Rd | no_license | saracg-forks/RVAideMemoire | R | false | false | 1,549 | rd | ||
\name{mappa.hg19.exon.36mer}
\alias{mappa.hg19.exon.36mer}
\docType{data}
\title{
mappa.hg19.exon.36mer
}
\description{
Gene locus mappability data, calculated for:
\itemize{
\item Build: hg19
\item Locus definition: exon
\item K-Mer Reads: 36mer
}
These objects are used internally by the \code{chipenri... | /man/mappa.hg19.exon.36mer.Rd | no_license | wangk4/chipenrich.data | R | false | false | 681 | rd | \name{mappa.hg19.exon.36mer}
\alias{mappa.hg19.exon.36mer}
\docType{data}
\title{
mappa.hg19.exon.36mer
}
\description{
Gene locus mappability data, calculated for:
\itemize{
\item Build: hg19
\item Locus definition: exon
\item K-Mer Reads: 36mer
}
These objects are used internally by the \code{chipenri... |
library(gdata)
library(colorRamps)
library(RColorBrewer)
library(pheatmap)
options(warn=-1)
## Help Documentation
describe = function(obj) {
if ('help' %in% names(attributes(obj))) {
writeLines(attr(obj, 'help'))
}
}
attr(describe, 'help') = "
This function prints the contents of the 'help' attribute of any R ... | /flow_data_plotting_functions.r | no_license | gchoonoo/systems_immunogenetics | R | false | false | 30,211 | r | library(gdata)
library(colorRamps)
library(RColorBrewer)
library(pheatmap)
options(warn=-1)
## Help Documentation
describe = function(obj) {
if ('help' %in% names(attributes(obj))) {
writeLines(attr(obj, 'help'))
}
}
attr(describe, 'help') = "
This function prints the contents of the 'help' attribute of any R ... |
setwd("C:\\Users\\ram.p\\Documents\\R\\capstone")
library(NLP)
library(tm)
library(fpc)
library(ggplot2)
library(stringi)
library(data.table)
library(SnowballC)
library(RWeka)
library(dplyr)
library(cld3)
data.blog = readLines("C:\\Users\\ram.p\\Documents\\R\\capstone\\final\\en_US\\en_US.blogs.txt",e... | /CDSS Modelling-2.R | no_license | prkishore97/ramspredictivekeys | R | false | false | 14,009 | r | setwd("C:\\Users\\ram.p\\Documents\\R\\capstone")
library(NLP)
library(tm)
library(fpc)
library(ggplot2)
library(stringi)
library(data.table)
library(SnowballC)
library(RWeka)
library(dplyr)
library(cld3)
data.blog = readLines("C:\\Users\\ram.p\\Documents\\R\\capstone\\final\\en_US\\en_US.blogs.txt",e... |
#Chapter 5- Eigenvalues and Eigenvectors
#Page No.170 / 5-14
#Prob 29
#5.3.29
#clear console
cat("\014")
#clear variables
rm(list=ls(all=TRUE))
p1=matrix(c(1,1,-2,-1),2,2,TRUE)
d1=matrix(c(3,0,0,5),2,2,TRUE)
print('p1=')
print(p1)
print('d1=')
print(d1)
p2=matrix(c(-3,1,6,-1),2,2,TRUE)
print('p2=')... | /Linear_Algebra_And_Its_Applications_by_David_C._Lay/CH5/EX5.13/Ex5.13.R | permissive | FOSSEE/R_TBC_Uploads | R | false | false | 484 | r | #Chapter 5- Eigenvalues and Eigenvectors
#Page No.170 / 5-14
#Prob 29
#5.3.29
#clear console
cat("\014")
#clear variables
rm(list=ls(all=TRUE))
p1=matrix(c(1,1,-2,-1),2,2,TRUE)
d1=matrix(c(3,0,0,5),2,2,TRUE)
print('p1=')
print(p1)
print('d1=')
print(d1)
p2=matrix(c(-3,1,6,-1),2,2,TRUE)
print('p2=')... |
\name{accum.table.exists}
\alias{accum.table.exists}
\title{
accum.table.exists: Check table existence.
}
\description{
Checks to see if the specified table exists in the Accumulo instance.
}
\usage{
accum.table.exists(tablename, login=accum.defaults("login"), hbc = accum.defaults("hbc"))
}
\arguments{
\item{tablen... | /package/man/accum.table.exists.Rd | permissive | DataTacticsCorp/raccumulo | R | false | false | 887 | rd | \name{accum.table.exists}
\alias{accum.table.exists}
\title{
accum.table.exists: Check table existence.
}
\description{
Checks to see if the specified table exists in the Accumulo instance.
}
\usage{
accum.table.exists(tablename, login=accum.defaults("login"), hbc = accum.defaults("hbc"))
}
\arguments{
\item{tablen... |
install.packages("twitteR")
install.packages("tm")
install.packages("tseries")
install.packages("zoo")
install.packages("xts")
install.packages("forecast")
install.packages("wordcloud") | /installation.r | no_license | giladbi/Twitter_Prediction | R | false | false | 187 | r | install.packages("twitteR")
install.packages("tm")
install.packages("tseries")
install.packages("zoo")
install.packages("xts")
install.packages("forecast")
install.packages("wordcloud") |
# The function creates a data frame out of the word vectors
# that originate from a pre-trained GloVe model (m_glove)
get_word_vectors_df <- function(m_glove, verbose = FALSE) {
# initialize space for values and the names of each word in the model
n_words <- length(m_glove)
vals <- list()
names <- ch... | /word_vec_utils.R | permissive | ahadzaman1002/Text_Mining_at_LASI19 | R | false | false | 3,435 | r | # The function creates a data frame out of the word vectors
# that originate from a pre-trained GloVe model (m_glove)
get_word_vectors_df <- function(m_glove, verbose = FALSE) {
# initialize space for values and the names of each word in the model
n_words <- length(m_glove)
vals <- list()
names <- ch... |
#' Plot method for class 'step.lsbclust'
#'
#' Plot 'step.lsbclust' objects.
#'
#' @param x An object of class \code{step.lsbclust}
#' @param which Which type of plot to produce.
#' @param col.all A character vector of length one indicating which of \code{"overall"},
#' \code{"rows"}, \code{"columns"} or \code{"int... | /lsbclust/R/plot.step.lsbclust.R | no_license | akhikolla/InformationHouse | R | false | false | 3,572 | r | #' Plot method for class 'step.lsbclust'
#'
#' Plot 'step.lsbclust' objects.
#'
#' @param x An object of class \code{step.lsbclust}
#' @param which Which type of plot to produce.
#' @param col.all A character vector of length one indicating which of \code{"overall"},
#' \code{"rows"}, \code{"columns"} or \code{"int... |
#' Compute cortical thickness using the DiReCT algorithm.
#'
#' Diffeomorphic registration-based cortical thickness based on probabilistic
#' segmentation of an image. This is an optimization algorithm.
#'
#'
#' @param s segmentation image
#' @param g gray matter probability image
#' @param w white matter probability ... | /R/kellyKapowski.R | permissive | jeffduda/ANTsR | R | false | false | 2,381 | r | #' Compute cortical thickness using the DiReCT algorithm.
#'
#' Diffeomorphic registration-based cortical thickness based on probabilistic
#' segmentation of an image. This is an optimization algorithm.
#'
#'
#' @param s segmentation image
#' @param g gray matter probability image
#' @param w white matter probability ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/survival_funcs.R
\name{f.Y.Weibull}
\alias{f.Y.Weibull}
\title{Marginal density function for conditional Weibull random variable \eqn{Y|K}
marginalized over \eqn{K}.}
\usage{
f.Y.Weibull(y, parameters, gamma_shape, gamma_rate, correlated)
}
\... | /man/f.Y.Weibull.Rd | permissive | mbannick/survDeconvolution | R | false | true | 1,243 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/survival_funcs.R
\name{f.Y.Weibull}
\alias{f.Y.Weibull}
\title{Marginal density function for conditional Weibull random variable \eqn{Y|K}
marginalized over \eqn{K}.}
\usage{
f.Y.Weibull(y, parameters, gamma_shape, gamma_rate, correlated)
}
\... |
#### Create a mop of all ROIs of manually marked nuclei ####
library(foreach)
library(doParallel)
map.roi.loci <- function(exp.input,
exp.output = exp.input,
base.image = "DAPI Confocal",
cores=10,
path.to.fiji = "D:/Piot... | /roi_map.R | no_license | Klastus/two_color_marking | R | false | false | 2,052 | r | #### Create a mop of all ROIs of manually marked nuclei ####
library(foreach)
library(doParallel)
map.roi.loci <- function(exp.input,
exp.output = exp.input,
base.image = "DAPI Confocal",
cores=10,
path.to.fiji = "D:/Piot... |
rm(list=ls())
library(dict)
############################################
# Defining all functions I need later
############################################
# Function for shifting the variables back - i.e. get e_{t-1} from e_t
shift <- function(x, lag) {
n <- length(x)
xnew <- rep(NA, n)
if (lag < 0) {
xnew[... | /Assignment9/Assignment9_Q15_1.R | permissive | christianhilscher/TSA-Assignments | R | false | false | 3,635 | r | rm(list=ls())
library(dict)
############################################
# Defining all functions I need later
############################################
# Function for shifting the variables back - i.e. get e_{t-1} from e_t
shift <- function(x, lag) {
n <- length(x)
xnew <- rep(NA, n)
if (lag < 0) {
xnew[... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{plot_flex_distribution}
\alias{plot_flex_distribution}
\title{Generic function for plotting flexible distributions}
\usage{
plot_flex_distribution(project, name = "duration_acute")
}
\arguments{
\item{project}{a SIMPLEGEN project... | /man/plot_flex_distribution.Rd | permissive | mrc-ide/SIMPLEGEN | R | false | true | 1,143 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{plot_flex_distribution}
\alias{plot_flex_distribution}
\title{Generic function for plotting flexible distributions}
\usage{
plot_flex_distribution(project, name = "duration_acute")
}
\arguments{
\item{project}{a SIMPLEGEN project... |
## Read CSV file (header assumed), then put that into "csv.data" data object (any name is ok).
mydata2 <- read.csv("D:/ISE 240/R files/StudentList.csv")
mydata2
rm(mydata2)
#what happened? could not find the file
## This gives you a dialogue to choose a file, then the file is passed to read.csv() function
mydata2 <- ... | /Lec3_Importing and Exporting files.R | no_license | hhsudhanv/RCoding | R | false | false | 1,837 | r | ## Read CSV file (header assumed), then put that into "csv.data" data object (any name is ok).
mydata2 <- read.csv("D:/ISE 240/R files/StudentList.csv")
mydata2
rm(mydata2)
#what happened? could not find the file
## This gives you a dialogue to choose a file, then the file is passed to read.csv() function
mydata2 <- ... |
#' ---
#' title: "Check Missingness of ANES Data"
#' author: "Gento Kato"
#' date: "Apr 22, 2019"
#' ---
#'
#' ## Preparation
#'
#' Required Packages
#'
require(readstata13)
require(pbapply)
require(ggrepel)
#'
#' Clear Workspace
#'
rm(list=ls())
#'
#' Set Working Directory (The directory of this .R file)
#'
l... | /codes_anes/anes_datacheck.R | permissive | gentok/UninformedChoice | R | false | false | 13,039 | r | #' ---
#' title: "Check Missingness of ANES Data"
#' author: "Gento Kato"
#' date: "Apr 22, 2019"
#' ---
#'
#' ## Preparation
#'
#' Required Packages
#'
require(readstata13)
require(pbapply)
require(ggrepel)
#'
#' Clear Workspace
#'
rm(list=ls())
#'
#' Set Working Directory (The directory of this .R file)
#'
l... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/corpus_subset.R
\name{corpus_subset}
\alias{corpus_subset}
\title{extract a subset of a corpus}
\usage{
corpus_subset(x, subset, select, ...)
}
\arguments{
\item{x}{corpus object to be subsetted}
\item{subset}{logical expression indicating e... | /man/corpus_subset.Rd | no_license | stas-malavin/quanteda | R | false | true | 1,019 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/corpus_subset.R
\name{corpus_subset}
\alias{corpus_subset}
\title{extract a subset of a corpus}
\usage{
corpus_subset(x, subset, select, ...)
}
\arguments{
\item{x}{corpus object to be subsetted}
\item{subset}{logical expression indicating e... |
#-----------------------------------------------------------#
# File that creates some descriptives #
#-----------------------------------------------------------#
# remove the old stuff
rm(list=ls())
# set working directory----
setwd("/Workflow/")
load("1) Data Read In/data.RData")
# Density ... | /Workflow/2) Descriptives/descriptives.R | no_license | lebachem/regression_network_reconstruction | R | false | false | 2,191 | r | #-----------------------------------------------------------#
# File that creates some descriptives #
#-----------------------------------------------------------#
# remove the old stuff
rm(list=ls())
# set working directory----
setwd("/Workflow/")
load("1) Data Read In/data.RData")
# Density ... |
# STROOP DATA
# Participant: Participant identifier
# taskID: color stroop task or a spatial stroop task
# stimulus_ID: relevant stimulus dimension ex. color or position of the letters
# stimulus_distractor: irrelevant stimulus dimension ex. word
# stimulus_congruency: whether or not the word and color of letters matc... | /R_nov2019/Nichole_skeleton.R | no_license | anishakhosla/rtc_workshop | R | false | false | 5,001 | r | # STROOP DATA
# Participant: Participant identifier
# taskID: color stroop task or a spatial stroop task
# stimulus_ID: relevant stimulus dimension ex. color or position of the letters
# stimulus_distractor: irrelevant stimulus dimension ex. word
# stimulus_congruency: whether or not the word and color of letters matc... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/image_analysis.R
\name{wbt_laplacian_filter}
\alias{wbt_laplacian_filter}
\title{Laplacian filter}
\usage{
wbt_laplacian_filter(
input,
output,
variant = "3x3(1)",
clip = 0,
wd = NULL,
verbose_mode = FALSE,
compress_rasters = FA... | /man/wbt_laplacian_filter.Rd | permissive | dondealban/whiteboxR | R | false | true | 985 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/image_analysis.R
\name{wbt_laplacian_filter}
\alias{wbt_laplacian_filter}
\title{Laplacian filter}
\usage{
wbt_laplacian_filter(
input,
output,
variant = "3x3(1)",
clip = 0,
wd = NULL,
verbose_mode = FALSE,
compress_rasters = FA... |
context("prop_test is working")
library(catfun)
test_that("prop_test agrees with prop.test/BinomCI/SAS for single proportion", {
pt_stat <- prop_test(3, 45)
pT_stat <- prop.test(3, 45, correct = FALSE)
binom <- DescTools::BinomCI(3, 45, method = "wald")
b_exact <- binom.test(3, 45)
attr(b_exact$conf.int, "c... | /tests/testthat/test-prop_test.R | permissive | nt-williams/catfun | R | false | false | 587 | r |
context("prop_test is working")
library(catfun)
test_that("prop_test agrees with prop.test/BinomCI/SAS for single proportion", {
pt_stat <- prop_test(3, 45)
pT_stat <- prop.test(3, 45, correct = FALSE)
binom <- DescTools::BinomCI(3, 45, method = "wald")
b_exact <- binom.test(3, 45)
attr(b_exact$conf.int, "c... |
test_that("tiler_options runs as expected", {
expect_identical(names(tiler_options()), c("python", "osgeo4w"))
python <- tiler_options()$python
expect_is(tiler_options(python = "x"), "NULL")
expect_equal(tiler_options()$python, "x")
expect_is(tiler_options(python = python), "NULL")
})
| /tests/testthat/test-opts.R | no_license | cran/tiler | R | false | false | 303 | r | test_that("tiler_options runs as expected", {
expect_identical(names(tiler_options()), c("python", "osgeo4w"))
python <- tiler_options()$python
expect_is(tiler_options(python = "x"), "NULL")
expect_equal(tiler_options()$python, "x")
expect_is(tiler_options(python = python), "NULL")
})
|
library(tidyverse)
ggplot(data = data.frame(x = c(-4,4)),
aes(x))+
stat_function(fun = dnorm)+
stat_function(fun = dt,
args = list(df = 2),
color = "red")+
stat_function(fun = dchisq, args = list(df = 4), color = "blue")
qnorm(0.975)
qt(0.975, df = 3)
set.se... | /przyklad.R | no_license | AlicjaHol/planowanie | R | false | false | 2,614 | r | library(tidyverse)
ggplot(data = data.frame(x = c(-4,4)),
aes(x))+
stat_function(fun = dnorm)+
stat_function(fun = dt,
args = list(df = 2),
color = "red")+
stat_function(fun = dchisq, args = list(df = 4), color = "blue")
qnorm(0.975)
qt(0.975, df = 3)
set.se... |
# download the MetaSRA and phenopredict mappings!
# how does it work to map these to them?
# what does the breakdown look lik here
require('RSQLite')
require('SRAdb')
require('recount') ## warning there are multiple recount packages! --> had to remove.packages() for the original
## ---- phenopredict ---- ##
phepre... | /code/sandbox_analysis/compare_metasra_phepred.R | no_license | erflynn/sl_label | R | false | false | 13,867 | r | # download the MetaSRA and phenopredict mappings!
# how does it work to map these to them?
# what does the breakdown look lik here
require('RSQLite')
require('SRAdb')
require('recount') ## warning there are multiple recount packages! --> had to remove.packages() for the original
## ---- phenopredict ---- ##
phepre... |
# Caffine PopPK Model Simulation - Regimen
# ------------------------------------------------------------------------------
# Simulate dosing regimen for caffeine plasma concentration simulation.
# Try to replicate the simulation component of the VPC in Perera et al.
# - - - - - - - - - - - - - - - - - - - - - - - - - ... | /scripts/190805_Regimen_Study_EmaxSim_urinVPC.R | no_license | jhhughes256/calc_caff | R | false | false | 16,786 | r | # Caffine PopPK Model Simulation - Regimen
# ------------------------------------------------------------------------------
# Simulate dosing regimen for caffeine plasma concentration simulation.
# Try to replicate the simulation component of the VPC in Perera et al.
# - - - - - - - - - - - - - - - - - - - - - - - - - ... |
#function to get temperature on heat map at a new point
# Kernal density estimation - estimate the density directly from the data without assuming a particular form for the underlying distribution
# More on : http://research.cs.tamu.edu/prism/lectures/pr/pr_l7.pdf
kde <- function (new, x, y, h)
{
nx <- length(x)
... | /CODE/functions/kde.R | permissive | nlavee/food-inspections-evaluation | R | false | false | 1,000 | r | #function to get temperature on heat map at a new point
# Kernal density estimation - estimate the density directly from the data without assuming a particular form for the underlying distribution
# More on : http://research.cs.tamu.edu/prism/lectures/pr/pr_l7.pdf
kde <- function (new, x, y, h)
{
nx <- length(x)
... |
setwd("~/")
library(gtrendsR)
library(reshape2)
library(ggplot2)
library(scales)
bots = gtrends(c("data privacy", "data security", "ashley madison"), geo="US", time="all")
bot4dat<-bots$interest_over_time
ggplot(data=bot4dat, aes(x=date, y=as.numeric(as.character(hits)), group=keyword)) +
geom_line(aes(color=keyw... | /trendsExample.R | no_license | spaceplowboy/trends4graphs | R | false | false | 464 | r |
setwd("~/")
library(gtrendsR)
library(reshape2)
library(ggplot2)
library(scales)
bots = gtrends(c("data privacy", "data security", "ashley madison"), geo="US", time="all")
bot4dat<-bots$interest_over_time
ggplot(data=bot4dat, aes(x=date, y=as.numeric(as.character(hits)), group=keyword)) +
geom_line(aes(color=keyw... |
# runAnalysis.r File Description:
# This script will perform the following steps on the UCI HAR Dataset downloaded from
# https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
# 1. Merge the training and the test sets to create one data set.
# 2. Extract only the measurements on the ... | /run_analysis.R | no_license | msharma17/Getting-and-Cleaning-Data-Project | R | false | false | 4,320 | r | # runAnalysis.r File Description:
# This script will perform the following steps on the UCI HAR Dataset downloaded from
# https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
# 1. Merge the training and the test sets to create one data set.
# 2. Extract only the measurements on the ... |
## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
# holds the cached value or NULL if nothing is cached
# initially nothing is cached so set it to NULL
... | /cachematrix.R | no_license | tarak1408/ProgrammingAssignment2 | R | false | false | 1,731 | r | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
# holds the cached value or NULL if nothing is cached
# initially nothing is cached so set it to NULL
... |
# Script Summary
# Generate figures to be included in the journal submission
# Figure 1: Map of Alaska showing station locations
# Figure 2: Example of wind speed time series before and after adjustment
# Figure 3: Quantile mapping ECDFs
# Figure 4: Sample time series of winds during specific events
# Figure 6:... | /manuscript_content.R | no_license | kyleredilla/AK_Wind_Climatology | R | false | false | 34,664 | r | # Script Summary
# Generate figures to be included in the journal submission
# Figure 1: Map of Alaska showing station locations
# Figure 2: Example of wind speed time series before and after adjustment
# Figure 3: Quantile mapping ECDFs
# Figure 4: Sample time series of winds during specific events
# Figure 6:... |
rm(list=ls())#remove (almost) everything in the working environment
library(igraph)
library(MASS)
library(grpreg)
library(ncvreg)
phi<-function(p,q,n,x,y_){
phi<-matrix(0,n,p*(q-1))
for(i in 1:nrow(phi)){
phi[i,]<-kronecker(y_[i,],x[i,])}
return(phi)}
#the estimated theta (symmetric) for a s... | /covarites.r | no_license | amylovechris/IsingModel | R | false | false | 4,311 | r | rm(list=ls())#remove (almost) everything in the working environment
library(igraph)
library(MASS)
library(grpreg)
library(ncvreg)
phi<-function(p,q,n,x,y_){
phi<-matrix(0,n,p*(q-1))
for(i in 1:nrow(phi)){
phi[i,]<-kronecker(y_[i,],x[i,])}
return(phi)}
#the estimated theta (symmetric) for a s... |
#=====================================================================================================#
library(ape)
#=====================================================================================================#
#=======#
# INPUT #
#=======#
#Reading CR dataset
coman_cr <- read.csv("datasets/Comanthera/com... | /scripts/Comanthera/tree_and_matrix-coman.R | no_license | souzayagob/no_one-size-fits-all | R | false | false | 3,757 | r | #=====================================================================================================#
library(ape)
#=====================================================================================================#
#=======#
# INPUT #
#=======#
#Reading CR dataset
coman_cr <- read.csv("datasets/Comanthera/com... |
/champ.R | no_license | zzzsssyyy1995/dna_methylation | R | false | false | 8,846 | r | ||
Sys.setenv(RT_BASE_URL = "http://localhost:8080")
rt_login("root", "password")
| /tests/testthat/setup-rt.R | no_license | amoeba/rt | R | false | false | 79 | r | Sys.setenv(RT_BASE_URL = "http://localhost:8080")
rt_login("root", "password")
|
#함
library(dplyr)
library(reshape)
n <- 10000
res <- cbind(BMI = sample(seq(15,33,0.5), n, rep=T),
age = sample(seq(20,80,1), n, rep=T),
pred = runif(min = -1, max =1, n) %>% round(3)) %>%
as.data.frame()
res2 <- res %>%
group_by(BMI, age) %>%
summarise(pred = mean(pre... | /3dplot_0408.R | permissive | s-seo/3d-plot | R | false | false | 3,568 | r | #함
library(dplyr)
library(reshape)
n <- 10000
res <- cbind(BMI = sample(seq(15,33,0.5), n, rep=T),
age = sample(seq(20,80,1), n, rep=T),
pred = runif(min = -1, max =1, n) %>% round(3)) %>%
as.data.frame()
res2 <- res %>%
group_by(BMI, age) %>%
summarise(pred = mean(pre... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h3_algorithms.R
\name{grid_path}
\alias{grid_path}
\title{Path between H3 cells}
\usage{
grid_path(origin = NULL, destination = NULL, simple = TRUE)
}
\arguments{
\item{origin}{Character vector or list of 15-character indices generated by
H3.... | /man/grid_path.Rd | permissive | obrl-soil/h3jsr | R | false | true | 1,612 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h3_algorithms.R
\name{grid_path}
\alias{grid_path}
\title{Path between H3 cells}
\usage{
grid_path(origin = NULL, destination = NULL, simple = TRUE)
}
\arguments{
\item{origin}{Character vector or list of 15-character indices generated by
H3.... |
## The first function, makeVector creates a special "matrix",which is really a list containing a function to
## 1. set the value of the matrix
## 2. get the value of the matrix
## 3. set the value of the inverse of the matrix
## 4. get the value of the inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {... | /cachematrix.R | no_license | ChengYinghao/ProgrammingAssignment2 | R | false | false | 1,473 | r | ## The first function, makeVector creates a special "matrix",which is really a list containing a function to
## 1. set the value of the matrix
## 2. get the value of the matrix
## 3. set the value of the inverse of the matrix
## 4. get the value of the inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {... |
## # Microbe evolution robustness
## Are the shift results robust to topological error?
## Simulations of rate shift Mk models and reestimation, how good are we at detecting?
## Plan: Simulate Mk Models on the phylogeny, and reestimate
## Introduce likely types of error (topological), see if there is any systematic tre... | /analysis/MicrobeNotes.R | no_license | uyedaj/microbeshifts | R | false | false | 610 | r | ## # Microbe evolution robustness
## Are the shift results robust to topological error?
## Simulations of rate shift Mk models and reestimation, how good are we at detecting?
## Plan: Simulate Mk Models on the phylogeny, and reestimate
## Introduce likely types of error (topological), see if there is any systematic tre... |
# MySigDB.R
library(readr)
library(dplyr)
read_gmt <- function(filename, institute = "broadinstitute") {
#
# institute: The source of the data, seperates experiments in gmt file
#
# Reads in from a file and returns a DF with column 1 as gene names, other
# columns logical as to whether that gene was successf... | /scripts/MySigDB.R | permissive | hyginn/scd | R | false | false | 1,361 | r | # MySigDB.R
library(readr)
library(dplyr)
read_gmt <- function(filename, institute = "broadinstitute") {
#
# institute: The source of the data, seperates experiments in gmt file
#
# Reads in from a file and returns a DF with column 1 as gene names, other
# columns logical as to whether that gene was successf... |
args <- commandArgs(T)
print( args )
# add a dilate_input step for gray matter only
#rm(list=ls())
#setwd('/home/fracasso/data/HighRes/Anatomies/Jelle')
#args <- c('anatomy_N3.nii.gz','white_matter_mask.nii.gz','/packages/afni/16.1.13','/home/fracasso/analysisAfni/surfaces','/packages/afni/16.1.13','-0.25')
source(... | /coregistration/segment_gray_matter_april2017.R | no_license | AlessioPsych/AnalysisAfni | R | false | false | 9,612 | r | args <- commandArgs(T)
print( args )
# add a dilate_input step for gray matter only
#rm(list=ls())
#setwd('/home/fracasso/data/HighRes/Anatomies/Jelle')
#args <- c('anatomy_N3.nii.gz','white_matter_mask.nii.gz','/packages/afni/16.1.13','/home/fracasso/analysisAfni/surfaces','/packages/afni/16.1.13','-0.25')
source(... |
require(xgboost)
require(Metrics)
dtrain <- xgb.DMatrix(data = data.matrix(train), label = train$outcome)
param <- list( ## modified from https://www.kaggle.com/anokas/march-machine-learning-mania-2016/xgboost-optimised-forest-0-590466/code
eta = 0.007,
max_depth = 10,
objective = "binary:logistic",
eval_metr... | /submissions/160314_1/xgboost.R | permissive | broomej/kaggle-mm-16 | R | false | false | 1,416 | r | require(xgboost)
require(Metrics)
dtrain <- xgb.DMatrix(data = data.matrix(train), label = train$outcome)
param <- list( ## modified from https://www.kaggle.com/anokas/march-machine-learning-mania-2016/xgboost-optimised-forest-0-590466/code
eta = 0.007,
max_depth = 10,
objective = "binary:logistic",
eval_metr... |
\name{ursaGrid}
\alias{class-ursaGrid}
\alias{str.ursaGrid}
\alias{print.ursaGrid}
\alias{dim.ursaGrid}
\alias{as.data.frame.ursaGrid}
\title{
Spatial paramaters of raster images.
}
\description{
Class \code{ursaGrid} is a part of class \code{ursaRaster}. It defines spatial locations of image.
}
\usage{
\method{print}... | /man/classGrid.Rd | no_license | yangxhcaf/ursa | R | false | false | 2,846 | rd | \name{ursaGrid}
\alias{class-ursaGrid}
\alias{str.ursaGrid}
\alias{print.ursaGrid}
\alias{dim.ursaGrid}
\alias{as.data.frame.ursaGrid}
\title{
Spatial paramaters of raster images.
}
\description{
Class \code{ursaGrid} is a part of class \code{ursaRaster}. It defines spatial locations of image.
}
\usage{
\method{print}... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Shiny.R
\name{preMergeResultsFiles}
\alias{preMergeResultsFiles}
\title{Premerge Shiny results files}
\usage{
preMergeResultsFiles(dataFolder)
}
\arguments{
\item{dataFolder}{folder where the exported zip files for the diagnostics are stored.... | /man/preMergeResultsFiles.Rd | permissive | ohdsi-studies/PioneerWatchfulWaiting | R | false | true | 754 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Shiny.R
\name{preMergeResultsFiles}
\alias{preMergeResultsFiles}
\title{Premerge Shiny results files}
\usage{
preMergeResultsFiles(dataFolder)
}
\arguments{
\item{dataFolder}{folder where the exported zip files for the diagnostics are stored.... |
library(shiny)
library(dplyr)
library(ggplot2)
library(viridis)
dataset <- read.csv("data.csv")
gridFscore <- expand.grid(
ffmsy = seq(0, 6, length.out = 120),
bbmsy = seq(0, 5, length.out = 120)
)
pal <- tibble(
stock = c("cod_SDs22_24", "cod_SDs24_32", "herring_SD_28.1", "herring_SDs20_24", "herring_SDs25_2... | /global.R | no_license | OHI-Baltic/fis-shiny | R | false | false | 2,915 | r | library(shiny)
library(dplyr)
library(ggplot2)
library(viridis)
dataset <- read.csv("data.csv")
gridFscore <- expand.grid(
ffmsy = seq(0, 6, length.out = 120),
bbmsy = seq(0, 5, length.out = 120)
)
pal <- tibble(
stock = c("cod_SDs22_24", "cod_SDs24_32", "herring_SD_28.1", "herring_SDs20_24", "herring_SDs25_2... |
## makeCacheMatrix creates a list of the following 4 functions:set, get, set inverse and get inverse
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
get <- function() x
setinverse <- function(solve) ... | /cachematrix.R | no_license | RichDay/ProgrammingAssignment2 | R | false | false | 950 | r | ## makeCacheMatrix creates a list of the following 4 functions:set, get, set inverse and get inverse
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
get <- function() x
setinverse <- function(solve) ... |
rm(list=ls(all=TRUE))
# Set JAVA_HOME, set max. memory, and load rJava library
Sys.setenv(JAVA_HOME='/usr/java/latest/bin')
options(java.parameters="-Xmx1g")
library(rJava)
# Output Java version
.jinit()
print(.jcall("java/lang/System", "S", "getProperty", "java.version"))
# Load RJDBC library
library(RJDBC)
setw... | /Chapter4/Supplementary/proc_hom/core_files/weighted_mean_v01.R | permissive | dunarel/dunphd-thesis | R | false | false | 1,503 | r |
rm(list=ls(all=TRUE))
# Set JAVA_HOME, set max. memory, and load rJava library
Sys.setenv(JAVA_HOME='/usr/java/latest/bin')
options(java.parameters="-Xmx1g")
library(rJava)
# Output Java version
.jinit()
print(.jcall("java/lang/System", "S", "getProperty", "java.version"))
# Load RJDBC library
library(RJDBC)
setw... |
# Load the needed libraries
if(!require("data.table")) {
stop('Cannot find data.table package')
}
if(!require("dplyr")) {
stop('Cannot find dplyr package')
}
if(!require("lubridate")) {
stop('Cannot find lubridate package')
}
# Read the data file, if we haven't already
if(!"read_power_data" %in% ls()) {
source... | /plot4.R | no_license | davelpat/ExData_Plotting1 | R | false | false | 2,532 | r | # Load the needed libraries
if(!require("data.table")) {
stop('Cannot find data.table package')
}
if(!require("dplyr")) {
stop('Cannot find dplyr package')
}
if(!require("lubridate")) {
stop('Cannot find lubridate package')
}
# Read the data file, if we haven't already
if(!"read_power_data" %in% ls()) {
source... |
library(Seurat);library(dplyr)
count <- Read10X_h5("../filtered_gene_bc_matrices_h5.h5")
cdS <- CreateSeuratObject(count, project = "E12")
cdS[["percent.mt"]] <- PercentageFeatureSet(cdS, pattern = "^mt-")
cdS
# 28692 features across 6973 samples within 1 assay
dir.create("figures");dir.create("tables");dir.create... | /scRNA-seq/in-house_E12.R | permissive | kerwin12580/RNA_ATAC_Cerebellum | R | false | false | 5,278 | r | library(Seurat);library(dplyr)
count <- Read10X_h5("../filtered_gene_bc_matrices_h5.h5")
cdS <- CreateSeuratObject(count, project = "E12")
cdS[["percent.mt"]] <- PercentageFeatureSet(cdS, pattern = "^mt-")
cdS
# 28692 features across 6973 samples within 1 assay
dir.create("figures");dir.create("tables");dir.create... |
broennimann.niche.analysis <- function(env.lonlat, env.stack, lonlat_S, lonlat_T, rep.master){
#resolution of the gridding of the climate space
R=100
clim.bkg <- env.lonlat %>% data.frame() %>% dplyr::select(-x,-y)
occ.T <- raster::extract(env.stack, lonlat_T, df = T) %>%
dplyr::select(-ID) %>% mutat... | /Scripts/1-Analysis/1.1.2-ecospat_adapted.R | no_license | avephill/wildfire-plant_RS | R | false | false | 13,157 | r |
broennimann.niche.analysis <- function(env.lonlat, env.stack, lonlat_S, lonlat_T, rep.master){
#resolution of the gridding of the climate space
R=100
clim.bkg <- env.lonlat %>% data.frame() %>% dplyr::select(-x,-y)
occ.T <- raster::extract(env.stack, lonlat_T, df = T) %>%
dplyr::select(-ID) %>% mutat... |
# Building a Prod-Ready, Robust Shiny Application.
#
# README: each step of the dev files is optional, and you don't have to
# fill every dev scripts before getting started.
# 01_start.R should be filled at start.
# 02_dev.R should be used to keep track of your development during the project.
# 03_deploy.R should b... | /dev/02_dev.R | permissive | 73Simeon/GolemApp | R | false | false | 2,430 | r | # Building a Prod-Ready, Robust Shiny Application.
#
# README: each step of the dev files is optional, and you don't have to
# fill every dev scripts before getting started.
# 01_start.R should be filled at start.
# 02_dev.R should be used to keep track of your development during the project.
# 03_deploy.R should b... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/theme_present.R
\name{theme_present}
\alias{theme_present}
\title{Set figure theme for presentations}
\usage{
theme_present(base_size = 18, base_family = "sans")
}
\arguments{
\item{base_family}{}
}
\value{
}
\description{
Set figure theme f... | /man/theme_present.Rd | permissive | ben-williams/funcr | R | false | true | 627 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/theme_present.R
\name{theme_present}
\alias{theme_present}
\title{Set figure theme for presentations}
\usage{
theme_present(base_size = 18, base_family = "sans")
}
\arguments{
\item{base_family}{}
}
\value{
}
\description{
Set figure theme f... |
# Exercise 2: Data Frame Practice with `dplyr`.
# Use a different appraoch to accomplish the same tasks as exercise-1
# Install devtools package: allows installations from GitHub
install.packages('devtools')
# Install "fueleconomy" package from GitHub
devtools::install_github("hadley/fueleconomy")
# Require/library ... | /exercise-2/exercise.R | permissive | surajchandrasekhar/m9-dplyr | R | false | false | 1,463 | r | # Exercise 2: Data Frame Practice with `dplyr`.
# Use a different appraoch to accomplish the same tasks as exercise-1
# Install devtools package: allows installations from GitHub
install.packages('devtools')
# Install "fueleconomy" package from GitHub
devtools::install_github("hadley/fueleconomy")
# Require/library ... |
#' @useDynLib BayesDAG0
#' @import igraph
#' @import foreach
#' @import doParallel
#' @import parallel
#' @import doRNG
#' @importFrom Rcpp evalCpp
NULL | /R/Roxygen_setup.R | no_license | LTTTDH/BayesDAG0 | R | false | false | 152 | r | #' @useDynLib BayesDAG0
#' @import igraph
#' @import foreach
#' @import doParallel
#' @import parallel
#' @import doRNG
#' @importFrom Rcpp evalCpp
NULL |
# Load in the required packages that makes the 3D figure
pacman::p_load(scatterplot3d, rgdal, maptools, tidyverse, zoo, sf, GISTools, ggsn)
sites <- read_csv("./Materials for R mapping/nutrient_mapping/08_August/Aug_RCC_nitrate_mapping.csv")
scatter.grid <- function (x, y = NULL, z = NULL, color = par("col"), pch =... | /Materials for R mapping/nutrient_mapping/08_August/22Aug19_RCC_map_NO3NO2.R | no_license | wwoelmer/Thesis | R | false | false | 23,893 | r | # Load in the required packages that makes the 3D figure
pacman::p_load(scatterplot3d, rgdal, maptools, tidyverse, zoo, sf, GISTools, ggsn)
sites <- read_csv("./Materials for R mapping/nutrient_mapping/08_August/Aug_RCC_nitrate_mapping.csv")
scatter.grid <- function (x, y = NULL, z = NULL, color = par("col"), pch =... |
#read file into data.frame
myfile<-"household_power_consumption.txt"
mydata <-read.csv(myfile,sep = ";")
dsize<-object.size(mydata)
#subsetting data to selected dates
mydata1<-mydata[mydata$Date=="1/2/2007"|mydata$Date=="2/2/2007",]
#create Datetime variable, delete Date and Time variable
mydata1$Datetime<- as.POS... | /plot3.R | no_license | alhanaei/ExData_Plotting1 | R | false | false | 1,127 | r | #read file into data.frame
myfile<-"household_power_consumption.txt"
mydata <-read.csv(myfile,sep = ";")
dsize<-object.size(mydata)
#subsetting data to selected dates
mydata1<-mydata[mydata$Date=="1/2/2007"|mydata$Date=="2/2/2007",]
#create Datetime variable, delete Date and Time variable
mydata1$Datetime<- as.POS... |
VCAttr<-function(C){
CAttr<-C
val<-CAttr[2:dim(CAttr)[1],]
CAttr$VEMA<-EMA(data[,"Volume"])
CAttr$VEMA30<-EMA(data[,"Volume"],30)
CAttr$VEMA60<-EMA(data[,"Volume"],60)
CAttr$VEMA120<-EMA(data[,"Volume"],120)
CAttr$CEMA<-EMA(data[,"Close"])
CAttr$CEMA30<-EMA(data[,"Close"],30)
CAttr$CEMA60<-EMA(data[,"Close"],... | /dzh/attr.R | no_license | spectrum968/dfwbi | R | false | false | 1,589 | r | VCAttr<-function(C){
CAttr<-C
val<-CAttr[2:dim(CAttr)[1],]
CAttr$VEMA<-EMA(data[,"Volume"])
CAttr$VEMA30<-EMA(data[,"Volume"],30)
CAttr$VEMA60<-EMA(data[,"Volume"],60)
CAttr$VEMA120<-EMA(data[,"Volume"],120)
CAttr$CEMA<-EMA(data[,"Close"])
CAttr$CEMA30<-EMA(data[,"Close"],30)
CAttr$CEMA60<-EMA(data[,"Close"],... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coords.R
\name{inc2lat}
\alias{inc2lat}
\title{inclination to latitude}
\usage{
inc2lat(inc)
}
\description{
inclination to latitude
}
| /man/inc2lat.Rd | no_license | antiphon/sphere | R | false | true | 213 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coords.R
\name{inc2lat}
\alias{inc2lat}
\title{inclination to latitude}
\usage{
inc2lat(inc)
}
\description{
inclination to latitude
}
|
#' Import "flopy" Python Package
#'
#' @param convert Boolean (default: TRUE); should Python objects be automatically
#' converted to their R equivalent? If set to FALSE, you can still manually convert
#' Python objects to R via the \link[reticulate]{py_to_r} function.
#' @param ... additional arguments passed to \lin... | /R/import_flopy.R | permissive | KWB-R/dwc.ar4gw | R | false | false | 574 | r |
#' Import "flopy" Python Package
#'
#' @param convert Boolean (default: TRUE); should Python objects be automatically
#' converted to their R equivalent? If set to FALSE, you can still manually convert
#' Python objects to R via the \link[reticulate]{py_to_r} function.
#' @param ... additional arguments passed to \lin... |
# First step, get the data
if(!file.exists("./data")){dir.create("./data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl,destfile="./data/Dataset.zip",method="curl")
# Then unzip the data
unzip(zipfile="./data/Dataset.zip",exdir="./data")
... | /run_analysis.R | no_license | Josetovx/Getting-and-cleaning-tidy-data.-Project | R | false | false | 2,437 | r | # First step, get the data
if(!file.exists("./data")){dir.create("./data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl,destfile="./data/Dataset.zip",method="curl")
# Then unzip the data
unzip(zipfile="./data/Dataset.zip",exdir="./data")
... |
# Data Visualization ------------------------------------------------------
library(ggplot2)
# Are there any factors that are clear indicators of ranking?
# Which factors are better indicators?
# Employees --------------------------------------------------------------
ggplot(fortune2015.df, aes(x = num_employees, ... | /Visualization.R | no_license | fernanda-palacios/magazine-data-visualizer | R | false | false | 1,504 | r |
# Data Visualization ------------------------------------------------------
library(ggplot2)
# Are there any factors that are clear indicators of ranking?
# Which factors are better indicators?
# Employees --------------------------------------------------------------
ggplot(fortune2015.df, aes(x = num_employees, ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_manipulation.R
\name{unnest_cat}
\alias{unnest_cat}
\title{Transform the sheet to have one species, method, or language per row}
\usage{
unnest_cat(sheet, col_use, other_cols = NULL)
}
\arguments{
\item{sheet}{The tibble for the spreadsh... | /man/unnest_cat.Rd | permissive | huangsunan/museumst | R | false | true | 811 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_manipulation.R
\name{unnest_cat}
\alias{unnest_cat}
\title{Transform the sheet to have one species, method, or language per row}
\usage{
unnest_cat(sheet, col_use, other_cols = NULL)
}
\arguments{
\item{sheet}{The tibble for the spreadsh... |
#############################################################################################
###--- Setup Environment -------------------------------------------------------------------#
############################################### #
# require libs for setup #EEEE n n v v rrrr m m ... | /R/src/004_Plot_hyperspace.R | no_license | GeoMOER-Students-Space/Envimaster-BioGeo | R | false | false | 6,755 | r | #############################################################################################
###--- Setup Environment -------------------------------------------------------------------#
############################################### #
# require libs for setup #EEEE n n v v rrrr m m ... |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% Job.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{isExisting.Job}
\alias{isExist... | /man/isExisting.Job.Rd | no_license | HenrikBengtsson/R.batch | R | false | false | 851 | rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% Job.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{isExisting.Job}
\alias{isExist... |
## Selects a variety of parameter combinations to run abc tsesvad
## mainSim.R in parallel on a cluster.
##
## Then run the commands with
## R --vanilla < run_mainSim_parallel.R >! run_mainSim_parallel.txt
parseCommandArgs <- function (evaluate = TRUE)
{
arglist <- list()
args <- commandArgs()
i <- wh... | /p3/2015-07-01 fouder imputatuion estimate nontransmitted/run_mainSim_parallel.R | no_license | gtlntw/frodo | R | false | false | 2,993 | r | ## Selects a variety of parameter combinations to run abc tsesvad
## mainSim.R in parallel on a cluster.
##
## Then run the commands with
## R --vanilla < run_mainSim_parallel.R >! run_mainSim_parallel.txt
parseCommandArgs <- function (evaluate = TRUE)
{
arglist <- list()
args <- commandArgs()
i <- wh... |
# データ読み込み ファイル名指定
f <-
read.table(
'data.csv',
sep = ",",
skip = 1,
header = F,
fileEncoding = "Shift_JIS",
stringsAsFactors = F
)
# 今回は全部酒田のデータなので, 1行目の「酒田」はじゃま。
f <- f[-1, ]
# 「(℃)」「(mm)」「の平均」「の合計」削除
removeCharFromTitle1 <- function(string) {
return(gsub("(\\(.+\\))|(の.+)", "", string)... | /jma.R | no_license | yhatanaka/jma_data | R | false | false | 6,582 | r | # データ読み込み ファイル名指定
f <-
read.table(
'data.csv',
sep = ",",
skip = 1,
header = F,
fileEncoding = "Shift_JIS",
stringsAsFactors = F
)
# 今回は全部酒田のデータなので, 1行目の「酒田」はじゃま。
f <- f[-1, ]
# 「(℃)」「(mm)」「の平均」「の合計」削除
removeCharFromTitle1 <- function(string) {
return(gsub("(\\(.+\\))|(の.+)", "", string)... |
###################################################################################
# Process with Precipitation data #
# #
# Eduardo Q Marques 15-05-2022 ... | /Doutorado/Chapter-2/UFZ Scripts/Moving window Time and Space/Pre_Process/Definitive_Process/Precipitation/Definitive Pre Process with ERA5 Precipitation data.R | no_license | Eduardoqm/Science-Repository | R | false | false | 1,799 | r | ###################################################################################
# Process with Precipitation data #
# #
# Eduardo Q Marques 15-05-2022 ... |
library(tidyverse)
library(rpart)
library(rpart.plot)
library(caret)
#leyendo el csv
bh <- read.csv("data/BostonHousing.csv")
#particionando la data
set.seed(1000)
t.idx <- createDataPartition(bh$MEDV, p= 0.7, list = FALSE)
#Construyendo y observando el modelo de arbol de regresion
bfit <- rpart(MEDV ~., data = b... | /arboles-regresion.R | no_license | wparedesgt/Regresiones | R | false | false | 883 | r | library(tidyverse)
library(rpart)
library(rpart.plot)
library(caret)
#leyendo el csv
bh <- read.csv("data/BostonHousing.csv")
#particionando la data
set.seed(1000)
t.idx <- createDataPartition(bh$MEDV, p= 0.7, list = FALSE)
#Construyendo y observando el modelo de arbol de regresion
bfit <- rpart(MEDV ~., data = b... |
\name{plot.flow}
\alias{plot.flow}
\title{
Plot function for \code{flow} objects
}
\description{
This function allows you to plot the entire modeled pattern or sections thereof.
}
\usage{
\method{plot}{flow}(x, days=NULL, from=0, title=NULL, ...)
}
\arguments{
\item{x}{
object of class \code{flow}
}
\ite... | /SPG/man/plot.flow.Rd | no_license | fenclmar/SPG | R | false | false | 1,198 | rd | \name{plot.flow}
\alias{plot.flow}
\title{
Plot function for \code{flow} objects
}
\description{
This function allows you to plot the entire modeled pattern or sections thereof.
}
\usage{
\method{plot}{flow}(x, days=NULL, from=0, title=NULL, ...)
}
\arguments{
\item{x}{
object of class \code{flow}
}
\ite... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.