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
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parccvizieR.R \name{read_results_file} \alias{read_results_file} \title{Read a results file given a path and file format} \usage{ read_results_file(path, format, verbose = FALSE) } \arguments{ \item{path}{full path to file, output of read_raw...
/man/read_results_file.Rd
permissive
almartin82/parccvizieR
R
false
true
577
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parccvizieR.R \name{read_results_file} \alias{read_results_file} \title{Read a results file given a path and file format} \usage{ read_results_file(path, format, verbose = FALSE) } \arguments{ \item{path}{full path to file, output of read_raw...
test_that("autotest", { learner = LearnerSurvCoxtime$new() expect_learner(learner) result = run_autotest(learner, check_replicable = FALSE) expect_true(result, info = result$error) }) task = tgen("simsurv")$generate(50) test_that("standardise", { learner = lrn("surv.coxtime", standardize_time = TRUE, num_no...
/tests/testthat/test_surv_coxtime.R
no_license
SimonWiegrebe/mlr3learners.pycox
R
false
false
1,418
r
test_that("autotest", { learner = LearnerSurvCoxtime$new() expect_learner(learner) result = run_autotest(learner, check_replicable = FALSE) expect_true(result, info = result$error) }) task = tgen("simsurv")$generate(50) test_that("standardise", { learner = lrn("surv.coxtime", standardize_time = TRUE, num_no...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/snorm.cdf.R \name{snorm.cdf} \alias{snorm.cdf} \title{Plot Standard Normal Cumulative Probability} \usage{ snorm.cdf(zp, lo = -4, up = 4, mt, dig = 4) } \arguments{ \item{zp}{Vector of z-axis values (default=-2:2)} \item{lo}{Lower limit of z...
/man/snorm.cdf.Rd
permissive
jhk0530/Rstat
R
false
true
700
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/snorm.cdf.R \name{snorm.cdf} \alias{snorm.cdf} \title{Plot Standard Normal Cumulative Probability} \usage{ snorm.cdf(zp, lo = -4, up = 4, mt, dig = 4) } \arguments{ \item{zp}{Vector of z-axis values (default=-2:2)} \item{lo}{Lower limit of z...
testlist <- list(A = structure(c(1.38997190089718e-309, 3.81575932257023e-236, 3.92415918038128e-236), .Dim = c(1L, 3L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_rows,testlist) str(result)
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613126390-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
226
r
testlist <- list(A = structure(c(1.38997190089718e-309, 3.81575932257023e-236, 3.92415918038128e-236), .Dim = c(1L, 3L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_rows,testlist) str(result)
#' Cache edge attributes in the graph #' @description From a graph object of class #' \code{dgr_graph}, get edge attribute properties for #' one or more edges and cache those values in the #' graph for later retrieval using \code{get_cache}. #' @param graph a graph object of class #' \code{dgr_graph}. #' @param edge_at...
/R/cache_edge_attrs.R
no_license
shrektan/DiagrammeR
R
false
false
2,674
r
#' Cache edge attributes in the graph #' @description From a graph object of class #' \code{dgr_graph}, get edge attribute properties for #' one or more edges and cache those values in the #' graph for later retrieval using \code{get_cache}. #' @param graph a graph object of class #' \code{dgr_graph}. #' @param edge_at...
source('./R/evaltree.R') source('./R/preprocess.R') ################################################################################ # 99998 ################################################################################ # factor tree trees <- list() for(id in names(test99998)[str...
/main.R
no_license
bliss32/EvalTree
R
false
false
548
r
source('./R/evaltree.R') source('./R/preprocess.R') ################################################################################ # 99998 ################################################################################ # factor tree trees <- list() for(id in names(test99998)[str...
## This R function will cache the inverse of a Matrix ## rather than compute it repeatedly ## This function creates a special "matrix" object ## that can cache its inverse makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function (y){ x <<- y i <<- NULL } ...
/cachematrix.R
no_license
chanheiy/datasciencecoursera
R
false
false
897
r
## This R function will cache the inverse of a Matrix ## rather than compute it repeatedly ## This function creates a special "matrix" object ## that can cache its inverse makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function (y){ x <<- y i <<- NULL } ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lab7.R \name{lab7chisim2} \alias{lab7chisim2} \title{Two Population Chi Sq Statistics} \usage{ lab7chisim2( n1 = 10, n2 = 14, sigma1 = 3, sigma2 = 3, mean1 = 5, mean2 = 10, iter = 1000, xleg = 12, ymax = 0.07, ... ) } \arg...
/man/lab7chisim2.Rd
no_license
fraclad/math4753
R
false
true
833
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lab7.R \name{lab7chisim2} \alias{lab7chisim2} \title{Two Population Chi Sq Statistics} \usage{ lab7chisim2( n1 = 10, n2 = 14, sigma1 = 3, sigma2 = 3, mean1 = 5, mean2 = 10, iter = 1000, xleg = 12, ymax = 0.07, ... ) } \arg...
## Analysis of Study 1 from Andrade et al (2013) ## ## Jon May, 5 April 2019 CC BY-NC 4.0 ## library(tidyverse) library(psych) library(GPArotation) library(plyr) Study1 <- read_csv("PsiQStudy1N404.csv") # extract the SUIS items by finding just those columns that have SUIS in their name SUIS <- Study1[, grepl('SUIS...
/study1.R
no_license
jon-may/psiq
R
false
false
3,368
r
## Analysis of Study 1 from Andrade et al (2013) ## ## Jon May, 5 April 2019 CC BY-NC 4.0 ## library(tidyverse) library(psych) library(GPArotation) library(plyr) Study1 <- read_csv("PsiQStudy1N404.csv") # extract the SUIS items by finding just those columns that have SUIS in their name SUIS <- Study1[, grepl('SUIS...
# DEPENDENCIAS ------------------------------------------------------------ library(tidyverse) source("src/tema_ggplot2.R") theme_set(tema()) # DATOS ------------------------------------------------------------------- daily_reports <- readRDS("data/daily_reports_country.RDS") # TRATAMIENTO ----------------------...
/src/old/old.R
no_license
papabloblo/coronavirus
R
false
false
9,357
r
# DEPENDENCIAS ------------------------------------------------------------ library(tidyverse) source("src/tema_ggplot2.R") theme_set(tema()) # DATOS ------------------------------------------------------------------- daily_reports <- readRDS("data/daily_reports_country.RDS") # TRATAMIENTO ----------------------...
context("Export Reports Argument Validation") test_that( "Argument Validation", { skip("Tests to be developed for 3.0.0 release") skip_if(length(EXPORT_REPORTS_ID) == 0, "EXPORT_REPORTS_ID is not provided. Testing Skipped") } )
/tests/testthat/test-190-exportReports-ArgumentValidation.R
no_license
nutterb/redcapAPI
R
false
false
256
r
context("Export Reports Argument Validation") test_that( "Argument Validation", { skip("Tests to be developed for 3.0.0 release") skip_if(length(EXPORT_REPORTS_ID) == 0, "EXPORT_REPORTS_ID is not provided. Testing Skipped") } )
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/argonUser.R \name{argonUser} \alias{argonUser} \title{Create a Boostrap 4 user image} \usage{ argonUser(..., title = NULL, subtitle = NULL, src = NULL) } \arguments{ \item{...}{Any element such as \link{argonIcon}...} \item{title}{User title...
/man/argonUser.Rd
no_license
kashenfelter/argonR
R
false
true
528
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/argonUser.R \name{argonUser} \alias{argonUser} \title{Create a Boostrap 4 user image} \usage{ argonUser(..., title = NULL, subtitle = NULL, src = NULL) } \arguments{ \item{...}{Any element such as \link{argonIcon}...} \item{title}{User title...
#' Write an example Excel file based on `us_cities` #' #' @param path The path to which the Excel file will be written. If no `path` is #' provided then the file will be written to the working directory. The #' resulting filename will be `us_cities.xlsx`. #' @importFrom here here #' #' @export create_excel_file <- ...
/R/create_excel_file.R
permissive
rich-iannone/edr
R
false
false
1,115
r
#' Write an example Excel file based on `us_cities` #' #' @param path The path to which the Excel file will be written. If no `path` is #' provided then the file will be written to the working directory. The #' resulting filename will be `us_cities.xlsx`. #' @importFrom here here #' #' @export create_excel_file <- ...
## ----unnamed-chunk-1---- ## #install.packages("msm") #install.packages("MDPtoolbox") ## ----unnamed-chunk-2---- ## lambda <- 10 brks<-c(0,8,11,20,1000) outcomes<-rpois(50000,lambda) states<- cut(x=outcomes, breaks= brks, labels=c("0-8","8-11","11-20","20+"), include.lowest=TRUE) counts<- table(stat...
/scripts/Class-21.R
no_license
mcolvin/WFA8433-Natural-Resource-Decision-Making
R
false
false
7,363
r
## ----unnamed-chunk-1---- ## #install.packages("msm") #install.packages("MDPtoolbox") ## ----unnamed-chunk-2---- ## lambda <- 10 brks<-c(0,8,11,20,1000) outcomes<-rpois(50000,lambda) states<- cut(x=outcomes, breaks= brks, labels=c("0-8","8-11","11-20","20+"), include.lowest=TRUE) counts<- table(stat...
# loglikelihood.r file # # # # Functions returning the log likelihood for weibull and log-normal fitted regressions with special attention to removal # of suspension data that may have become negative by the explicit subtraction of the t0, threashold, value # from original data. The purpose of the log likel...
/pkgs/abremPivotals/R/loglikelihood.r
no_license
thomas4912/pkgs
R
false
false
2,292
r
# loglikelihood.r file # # # # Functions returning the log likelihood for weibull and log-normal fitted regressions with special attention to removal # of suspension data that may have become negative by the explicit subtraction of the t0, threashold, value # from original data. The purpose of the log likel...
library(MortalitySmooth) ### Name: Mort1Dsmooth ### Title: Fit One-dimensional Poisson P-splines ### Aliases: Mort1Dsmooth print.Mort1Dsmooth ### Keywords: models regression smooth ### ** Examples ## selected data years <- 1950:2006 death <- selectHMDdata("Japan", "Deaths", "Females", ages = ...
/data/genthat_extracted_code/MortalitySmooth/examples/Mort1Dsmooth.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,253
r
library(MortalitySmooth) ### Name: Mort1Dsmooth ### Title: Fit One-dimensional Poisson P-splines ### Aliases: Mort1Dsmooth print.Mort1Dsmooth ### Keywords: models regression smooth ### ** Examples ## selected data years <- 1950:2006 death <- selectHMDdata("Japan", "Deaths", "Females", ages = ...
#' riemdist #' #' @param x x #' #' @param y y #' #' @param reflect reflect #' #' @export #' riemdist <- function (x, y, reflect = FALSE){ if (sum((x - y)^2) == 0) { riem <- 0 } if (sum((x - y)^2) != 0) { if (reflect == FALSE) { if (ncol(as.matrix(x)) < 3) { if (is.complex(x) == FALSE) { ...
/R/internal_functions_shapes.R
permissive
goutham1220/shipshape
R
false
false
3,872
r
#' riemdist #' #' @param x x #' #' @param y y #' #' @param reflect reflect #' #' @export #' riemdist <- function (x, y, reflect = FALSE){ if (sum((x - y)^2) == 0) { riem <- 0 } if (sum((x - y)^2) != 0) { if (reflect == FALSE) { if (ncol(as.matrix(x)) < 3) { if (is.complex(x) == FALSE) { ...
a.manova <- function(ys) {# a list of matrices k <- length(ys) n <- as.numeric(lapply(ys,nrow)) p <- ncol(ys[[1]]) N <- sum(n) ybar. <- lapply(ys,function(y) as.matrix(apply(y,2,mean))) y <- lrbind(ys) ybar.. <- apply(y,2,mean) H <- matrix(0,p,p) for (i in 1:k) { A <- ybar.[[i]]-ybar.. H <- n...
/Fall2014/Stat666/Project/Project3/code/a.manova.R
no_license
luiarthur/byuHW
R
false
false
891
r
a.manova <- function(ys) {# a list of matrices k <- length(ys) n <- as.numeric(lapply(ys,nrow)) p <- ncol(ys[[1]]) N <- sum(n) ybar. <- lapply(ys,function(y) as.matrix(apply(y,2,mean))) y <- lrbind(ys) ybar.. <- apply(y,2,mean) H <- matrix(0,p,p) for (i in 1:k) { A <- ybar.[[i]]-ybar.. H <- n...
data(iris) View(iris) #Get all rows of Species ???versicolor??? in a new data frame. Call this data frame: ???iris.vers??? iris.vers <- data.frame(iris[iris$Species == "versicolor", ]) #Get a vector called ???sepal.dif??? with the difference between ???Sepal.Length??? and ???Sepal.Width??? of ???versicolor??? plants. ...
/lab-4.22.19/exercise.R
permissive
Christian-Kim/ch09-dataframes
R
false
false
1,343
r
data(iris) View(iris) #Get all rows of Species ???versicolor??? in a new data frame. Call this data frame: ???iris.vers??? iris.vers <- data.frame(iris[iris$Species == "versicolor", ]) #Get a vector called ???sepal.dif??? with the difference between ???Sepal.Length??? and ???Sepal.Width??? of ???versicolor??? plants. ...
\name{Column-wise weighted least squares meta analysis} \alias{colwlsmeta} \title{ Column-wise weighted least squares meta analysis } \description{ Column-wise weighted least squares meta analysis. } \usage{ colwlsmeta(yi, vi) } \arguments{ \item{yi}{ A matrix with the observations. } \item{vi}{ ...
/man/colwslmeta.Rd
no_license
cran/Rfast2
R
false
false
1,364
rd
\name{Column-wise weighted least squares meta analysis} \alias{colwlsmeta} \title{ Column-wise weighted least squares meta analysis } \description{ Column-wise weighted least squares meta analysis. } \usage{ colwlsmeta(yi, vi) } \arguments{ \item{yi}{ A matrix with the observations. } \item{vi}{ ...
## ================================ ## Convert from STS to TSE format ## Version 1.3 ## ================================ STS_to_TSE <- function(seqdata, id=NULL, tevent) { nseq <- nrow(seqdata) slength <- ncol(seqdata) ## Ceci accélère énormément la fonction seqdata <- as.matrix(seqdata) message(" [...
/R/STS_to_TSE.R
no_license
cynsky/TraMineR
R
false
false
1,924
r
## ================================ ## Convert from STS to TSE format ## Version 1.3 ## ================================ STS_to_TSE <- function(seqdata, id=NULL, tevent) { nseq <- nrow(seqdata) slength <- ncol(seqdata) ## Ceci accélère énormément la fonction seqdata <- as.matrix(seqdata) message(" [...
# # Copyright (C) 2013-2018 University of Amsterdam # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program i...
/R/auditSelection.R
no_license
jasp-stats/jaspAudit
R
false
false
1,013
r
# # Copyright (C) 2013-2018 University of Amsterdam # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program i...
# ------------------------------------------------ # MODULE: STEPS # # This module splits step data by source (watch or phone) then restructures it # such that the cumulative count is over a daily cycle (24hrs) instead of # between device reset/restart (uses the custom function "daily_steps"). A # summary of daily tota...
/Rscripts/mod_steps.R
no_license
jrthorpe/awear_bm
R
false
false
940
r
# ------------------------------------------------ # MODULE: STEPS # # This module splits step data by source (watch or phone) then restructures it # such that the cumulative count is over a daily cycle (24hrs) instead of # between device reset/restart (uses the custom function "daily_steps"). A # summary of daily tota...
testlist <- list(data = structure(0, .Dim = c(1L, 1L)), w = structure(c(NaN, 7.2911220195564e-304, 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, 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, 0...
/UniIsoRegression/inst/testfiles/pre_2d_l2_inc/libFuzzer_pre_2d_l2_inc/pre_2d_l2_inc_valgrind_files/1612736764-test.R
no_license
akhikolla/updatedatatype-list1
R
false
false
433
r
testlist <- list(data = structure(0, .Dim = c(1L, 1L)), w = structure(c(NaN, 7.2911220195564e-304, 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, 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, 0...
context('Testing chainsaw') test_that("Answers match up in the ultrametric case", { tree <- ape::read.tree(text="(A:2,B:2);") leaf.abundance <- c(0.6, 0.4) data <- as.rdphylo(leaf.abundance, tree) interval <- 2 super <- chainsaw(data, leaf.abundance, interval) tree2 <- ape::read.tree(text="(A:2,B:2)R:2;...
/tests/testthat/test-chainsaw.R
permissive
claireh93/rdiversity
R
false
false
1,315
r
context('Testing chainsaw') test_that("Answers match up in the ultrametric case", { tree <- ape::read.tree(text="(A:2,B:2);") leaf.abundance <- c(0.6, 0.4) data <- as.rdphylo(leaf.abundance, tree) interval <- 2 super <- chainsaw(data, leaf.abundance, interval) tree2 <- ape::read.tree(text="(A:2,B:2)R:2;...
\name{total} \docType{data} \alias{total} \alias{x0} \alias{x0M} \alias{xU} \alias{xUM} \alias{xV} \alias{xVM} \alias{xVU} \alias{xVUM} \alias{xVUM2} \alias{xVUM3} \title{An Example of all Kind of mcnode} \description{ An example for each kind of \samp{mcnode}s. They are used in some \samp{mc2d} examples...
/man/total.Rd
no_license
cran/mc2d
R
false
false
1,140
rd
\name{total} \docType{data} \alias{total} \alias{x0} \alias{x0M} \alias{xU} \alias{xUM} \alias{xV} \alias{xVM} \alias{xVU} \alias{xVUM} \alias{xVUM2} \alias{xVUM3} \title{An Example of all Kind of mcnode} \description{ An example for each kind of \samp{mcnode}s. They are used in some \samp{mc2d} examples...
# ---------------------------------------------------------------------------------- # NOTE to all: The year of "current.assessment.year must be changed every year before any other run # It cannot be automatically loaded together with the "load.snowcrab.environment". This is because # running in...
/snowcrab/src/initialise.local.environment.r
no_license
jgmunden/ecomod
R
false
false
1,520
r
# ---------------------------------------------------------------------------------- # NOTE to all: The year of "current.assessment.year must be changed every year before any other run # It cannot be automatically loaded together with the "load.snowcrab.environment". This is because # running in...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gen-namespace-docs.R, % R/gen-namespace-examples.R \name{torch_atan} \alias{torch_atan} \title{Atan} \arguments{ \item{input}{(Tensor) the input tensor.} \item{out}{(Tensor, optional) the output tensor.} } \description{ Atan } \section{ata...
/man/torch_atan.Rd
permissive
minghao2016/torch
R
false
true
573
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gen-namespace-docs.R, % R/gen-namespace-examples.R \name{torch_atan} \alias{torch_atan} \title{Atan} \arguments{ \item{input}{(Tensor) the input tensor.} \item{out}{(Tensor, optional) the output tensor.} } \description{ Atan } \section{ata...
## Read the data from a local version of the file ## We keep everything as strings initially because read.table can't handle the ## "?" symbols directly and it will be harder to convert to numeric later if we ## read as factors. data <- read.table(file="household_power_consumption.txt", sep="...
/plot2.R
no_license
tcquinn/ExData_Plotting1
R
false
false
1,379
r
## Read the data from a local version of the file ## We keep everything as strings initially because read.table can't handle the ## "?" symbols directly and it will be harder to convert to numeric later if we ## read as factors. data <- read.table(file="household_power_consumption.txt", sep="...
require(tidyr) require(shiny) require(dplyr) require(shinythemes) da <- read.csv("weoA.csv", stringsAsFactors = FALSE, na.strings = "n/a") names <- c("Country", "Subject", "Units", "Scale", "Notes", 1980:2019, "start") colnames(da) <- names # remove unwanted data da <- da[,-c(3, 4,5, 46)] # Next line is o...
/Tests/Example07/global.R
no_license
RobHayward/Shiny
R
false
false
708
r
require(tidyr) require(shiny) require(dplyr) require(shinythemes) da <- read.csv("weoA.csv", stringsAsFactors = FALSE, na.strings = "n/a") names <- c("Country", "Subject", "Units", "Scale", "Notes", 1980:2019, "start") colnames(da) <- names # remove unwanted data da <- da[,-c(3, 4,5, 46)] # Next line is o...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/emFunctions.r \name{biomassFromEM} \alias{biomassFromEM} \title{biomassFromEM} \usage{ biomassFromEM(beem.obj, forceSkipWarning = FALSE, dev = 0.05) } \arguments{ \item{beem.obj}{BEEM output list} \item{forceSkipWarning}{Use with caution! Fo...
/man/biomassFromEM.Rd
permissive
lch14forever/BEEM
R
false
true
497
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/emFunctions.r \name{biomassFromEM} \alias{biomassFromEM} \title{biomassFromEM} \usage{ biomassFromEM(beem.obj, forceSkipWarning = FALSE, dev = 0.05) } \arguments{ \item{beem.obj}{BEEM output list} \item{forceSkipWarning}{Use with caution! Fo...
library(dplyr) library(knitr) library(stringi) library(data.table) library(readr) Year_num <- list.files(pattern = "[Ff][Rr][Ll].[Tt][Xx][Tt]") #best function flatten_quick <- function(list) { unlist(lapply(list, stri_flatten), use.names = FALSE) } ############# All_files <- function(Year_num){ df <- readL...
/Codes/fide_cleaner_and_sample_usage/fide_blitz_parser.R
no_license
Mahbodmajid/DA_project_chess
R
false
false
1,195
r
library(dplyr) library(knitr) library(stringi) library(data.table) library(readr) Year_num <- list.files(pattern = "[Ff][Rr][Ll].[Tt][Xx][Tt]") #best function flatten_quick <- function(list) { unlist(lapply(list, stri_flatten), use.names = FALSE) } ############# All_files <- function(Year_num){ df <- readL...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db_helpers.R \name{check_cache_table} \alias{check_cache_table} \title{Check if a table exists in db, if not, create it} \usage{ check_cache_table(table_name, reference_table, cache_db_con) } \arguments{ \item{table_name}{A db table name, e.g...
/man/check_cache_table.Rd
permissive
jemus42/attrakttv
R
false
true
589
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db_helpers.R \name{check_cache_table} \alias{check_cache_table} \title{Check if a table exists in db, if not, create it} \usage{ check_cache_table(table_name, reference_table, cache_db_con) } \arguments{ \item{table_name}{A db table name, e.g...
\name{mhplot} \alias{mhplot} \title{Manhattan Plot for meta-analysis results} \usage{ mhplot(res.file = NULL, data = NULL, col = c("darkgrey", "lightgrey"), out.file = "mhplot.pdf", main = "MHplot", plab = "p_value", CHRlab = "chr", POSlab = "Position", sig.p = 5e-08, sug.p = 5e-07, sep = " ") } \argu...
/man/mhplot.Rd
no_license
cran/MultiMeta
R
false
false
1,967
rd
\name{mhplot} \alias{mhplot} \title{Manhattan Plot for meta-analysis results} \usage{ mhplot(res.file = NULL, data = NULL, col = c("darkgrey", "lightgrey"), out.file = "mhplot.pdf", main = "MHplot", plab = "p_value", CHRlab = "chr", POSlab = "Position", sig.p = 5e-08, sug.p = 5e-07, sep = " ") } \argu...
# Example : 1 Chapter : 7.3 Page No: 400 # Diagonaliazation of matrix A<-matrix(c(0.5,-0.5,-0.5,0.5),ncol=2) ev<-eigen(A)$values D<-matrix(c(ev[1],0,0,ev[2]),ncol=2) print("The diagonialized matrix") print(D)
/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH7/EX7.3.1/Ex7.3_1.r
permissive
FOSSEE/R_TBC_Uploads
R
false
false
214
r
# Example : 1 Chapter : 7.3 Page No: 400 # Diagonaliazation of matrix A<-matrix(c(0.5,-0.5,-0.5,0.5),ncol=2) ev<-eigen(A)$values D<-matrix(c(ev[1],0,0,ev[2]),ncol=2) print("The diagonialized matrix") print(D)
#------------------------------------------------------------------------------- # WORLDOMETER: #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # libraries: base::library(tidyverse) base::library(gridExtra...
/2_Worldometers.R
no_license
ForesightAdamNowacki/COVID-19
R
false
false
4,560
r
#------------------------------------------------------------------------------- # WORLDOMETER: #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # libraries: base::library(tidyverse) base::library(gridExtra...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/moas-utils.R \name{na_col_rm} \alias{na_col_rm} \title{Utility function to remove columns with no data} \usage{ na_col_rm(data) } \arguments{ \item{data}{a data.frame} } \value{ a data frame with no empty columns } \description{ \code{na.col....
/man/na_col_rm.Rd
permissive
LCBC-UiO/MOAS
R
false
true
492
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/moas-utils.R \name{na_col_rm} \alias{na_col_rm} \title{Utility function to remove columns with no data} \usage{ na_col_rm(data) } \arguments{ \item{data}{a data.frame} } \value{ a data frame with no empty columns } \description{ \code{na.col....
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lotkaVolterra.R \name{lotkaVolterra} \alias{lotkaVolterra} \title{The Lotka-Volterra model} \usage{ lotkaVolterra(t, y, parameters) } \arguments{ \item{t}{The value of \ifelse{html}{\out{<i>t</i>}}{\eqn{t}}, the independent variable, to evalu...
/man/lotkaVolterra.Rd
permissive
mjg211/phaseR
R
false
true
1,965
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lotkaVolterra.R \name{lotkaVolterra} \alias{lotkaVolterra} \title{The Lotka-Volterra model} \usage{ lotkaVolterra(t, y, parameters) } \arguments{ \item{t}{The value of \ifelse{html}{\out{<i>t</i>}}{\eqn{t}}, the independent variable, to evalu...
setwd("c:/data processing/trial_dofiles") FOLDER_DATA_RAW <- file.path(getwd(),"../data_raw") FOLDER_DATA_CLEAN <- file.path(getwd(),"../data_clean") FOLDER_DATA_RESULTS <- file.path(getwd(),"../results/") FOLDER_DATA_MBO <- file.path(getwd(),"../results/mbo_r/") FOLDER_DROPBOX_RESULTS <- "~/../eRegistry CRCT Dropbox...
/analyses/list_of_control_files.R
no_license
raubreywhite/trial_dofiles
R
false
false
6,913
r
setwd("c:/data processing/trial_dofiles") FOLDER_DATA_RAW <- file.path(getwd(),"../data_raw") FOLDER_DATA_CLEAN <- file.path(getwd(),"../data_clean") FOLDER_DATA_RESULTS <- file.path(getwd(),"../results/") FOLDER_DATA_MBO <- file.path(getwd(),"../results/mbo_r/") FOLDER_DROPBOX_RESULTS <- "~/../eRegistry CRCT Dropbox...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chain.R \name{\%>\%} \alias{\%>\%} \title{magrittr forward-pipe operator} \usage{ lhs \%>\% rhs } \arguments{ \item{lhs, rhs}{A dataset and function to apply to it} } \description{ Pipe an object forward into a function or call ex...
/man/chain.Rd
no_license
cran/pixiedust
R
false
true
333
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chain.R \name{\%>\%} \alias{\%>\%} \title{magrittr forward-pipe operator} \usage{ lhs \%>\% rhs } \arguments{ \item{lhs, rhs}{A dataset and function to apply to it} } \description{ Pipe an object forward into a function or call ex...
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common new_handlers new_service set_config NULL #' AWS CodeStar Notifications #' #' @description #' This AWS CodeStar Notifications API Reference provides descriptions and #' usage examples of the operations and data types for the AWS ...
/paws/R/codestarnotifications_service.R
permissive
TWarczak/paws
R
false
false
6,502
r
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common new_handlers new_service set_config NULL #' AWS CodeStar Notifications #' #' @description #' This AWS CodeStar Notifications API Reference provides descriptions and #' usage examples of the operations and data types for the AWS ...
# Otros tipos de patrones, segunda parte library(tidyverse) library(datos) # hay que instalar el package microbenchmark microbenchmark::microbenchmark( fixed = str_detect(oraciones, fixed("la")), regex = str_detect(oraciones, "la"), times = 20 ) # Unit: microseconds # expr min lq mean median uq max ne...
/Tema 05 - Tidy Data y Datos Relacionales/T05_18_otros tipos de patrones II.R
no_license
carlos4Dev/CursoDeRparaBigDatayDataScience
R
false
false
790
r
# Otros tipos de patrones, segunda parte library(tidyverse) library(datos) # hay que instalar el package microbenchmark microbenchmark::microbenchmark( fixed = str_detect(oraciones, fixed("la")), regex = str_detect(oraciones, "la"), times = 20 ) # Unit: microseconds # expr min lq mean median uq max ne...
library(shiny) shinyUI(fluidPage( title = "Developing Data Products - Project", h4('Developing Data Products - Project'), h5('Manuel Meretto - September 24th 2015'), plotOutput('plots', height = 300), h5('Predictor values:'), verbatimTextOutput("inputValues"), h5...
/ui.R
no_license
Mame91/Developing-Data-Products
R
false
false
1,270
r
library(shiny) shinyUI(fluidPage( title = "Developing Data Products - Project", h4('Developing Data Products - Project'), h5('Manuel Meretto - September 24th 2015'), plotOutput('plots', height = 300), h5('Predictor values:'), verbatimTextOutput("inputValues"), h5...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/grab_dat_file_index_sel_options.r \name{GrabDatFileIndexSelOptions} \alias{GrabDatFileIndexSelOptions} \title{Grab Dat File Index Selectivity Options} \usage{ GrabDatFileIndexSelOptions(wd, asap.name, asap) } \arguments{ \item{wd}{di...
/man/GrabDatFileIndexSelOptions.Rd
permissive
cmlegault/ASAPplots
R
false
true
655
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/grab_dat_file_index_sel_options.r \name{GrabDatFileIndexSelOptions} \alias{GrabDatFileIndexSelOptions} \title{Grab Dat File Index Selectivity Options} \usage{ GrabDatFileIndexSelOptions(wd, asap.name, asap) } \arguments{ \item{wd}{di...
# Copyright 2015 Province of British Columbia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
/ssdtools/R/predict.R
permissive
akhikolla/TestedPackages-NoIssues
R
false
false
3,658
r
# Copyright 2015 Province of British Columbia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
# Script: FWL_lipidomics_3.1.R # Author: Wenting # Notes: To start, typing command in the console-----> source("FWL_lipidomics_3.1.R") # or press the source butthon. # Please make sure Mac users installed XQuartz. # It is based on Niklas and Kenny's previous work (Their work files can be fou...
/FWL_lipidomics_3.2.2.R
no_license
rcrichards731/Farese_and_Walther_lab
R
false
false
11,601
r
# Script: FWL_lipidomics_3.1.R # Author: Wenting # Notes: To start, typing command in the console-----> source("FWL_lipidomics_3.1.R") # or press the source butthon. # Please make sure Mac users installed XQuartz. # It is based on Niklas and Kenny's previous work (Their work files can be fou...
library(rjags) #input otu table, sample-well key, and taxonomy file otus=read.csv("./data/16s_data/bacteriaOTUtableZotus.csv", header=T) sampNames=read.csv("./data/Sample_Well_Key_includesQuants (1).csv") sampNames$pl_well=paste(sampNames$plate, sampNames$well, sep=".") treatments <- read.csv("./data/planting_order.cs...
/oldscripts/DirichletModeling_16Snoplant.R
no_license
JHarrisonEcoEvo/RareMicrobes
R
false
false
2,548
r
library(rjags) #input otu table, sample-well key, and taxonomy file otus=read.csv("./data/16s_data/bacteriaOTUtableZotus.csv", header=T) sampNames=read.csv("./data/Sample_Well_Key_includesQuants (1).csv") sampNames$pl_well=paste(sampNames$plate, sampNames$well, sep=".") treatments <- read.csv("./data/planting_order.cs...
testlist <- list(rates = c(-Inf, 5.95750278984877e+228, Inf, NaN), thresholds = c(Inf, NaN), x = numeric(0)) result <- do.call(grattan::IncomeTax,testlist) str(result)
/grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610382916-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
168
r
testlist <- list(rates = c(-Inf, 5.95750278984877e+228, Inf, NaN), thresholds = c(Inf, NaN), x = numeric(0)) result <- do.call(grattan::IncomeTax,testlist) str(result)
library(ODEnetwork) ### Name: updateOscillators ### Title: Update oscillator parameter of an existing ODE network. ### Aliases: updateOscillators ### ** Examples masses <- c(1:5) dampers <- diag(11:15) springs <- diag(21:25) odenet <- ODEnetwork(masses, dampers, springs) odenet <- updateOscillators(odenet, masses =...
/data/genthat_extracted_code/ODEnetwork/examples/updateOscillators.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
533
r
library(ODEnetwork) ### Name: updateOscillators ### Title: Update oscillator parameter of an existing ODE network. ### Aliases: updateOscillators ### ** Examples masses <- c(1:5) dampers <- diag(11:15) springs <- diag(21:25) odenet <- ODEnetwork(masses, dampers, springs) odenet <- updateOscillators(odenet, masses =...
# DS4B 101-R: R FOR BUSINESS ANALYSIS ---- # REGRESSION MODELS ---- # GOAL: BUILD PREDICTION MODEL FOR PRICING ALGORITHM # LIBRARIES & DATA ---- pkgs <- c("parsnip", "glmnet", "rpart", "rpart.plot", "ranger", "randomForest", "xgboost", "kernlab") # If any of these packages are not installed, run this: install.packa...
/05_modeling/02_pricing_algorithm_parsnip_completed_1.R
no_license
dexters-workshop/ds4b_101_bus_analysis_with_R
R
false
false
11,835
r
# DS4B 101-R: R FOR BUSINESS ANALYSIS ---- # REGRESSION MODELS ---- # GOAL: BUILD PREDICTION MODEL FOR PRICING ALGORITHM # LIBRARIES & DATA ---- pkgs <- c("parsnip", "glmnet", "rpart", "rpart.plot", "ranger", "randomForest", "xgboost", "kernlab") # If any of these packages are not installed, run this: install.packa...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/take_a_step.R \name{take_a_step} \alias{take_a_step} \title{Track one movement} \usage{ take_a_step(paths, roads, blocked = NULL) } \arguments{ \item{paths}{list of all possible paths already traveled} \item{roads}{data.frame of n...
/man/take_a_step.Rd
no_license
cran/whitechapelR
R
false
true
1,143
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/take_a_step.R \name{take_a_step} \alias{take_a_step} \title{Track one movement} \usage{ take_a_step(paths, roads, blocked = NULL) } \arguments{ \item{paths}{list of all possible paths already traveled} \item{roads}{data.frame of n...
library(RXMCDA) ### Name: putAlternativesValues ### Title: Put values related to alternatives ### Aliases: putAlternativesValues ### Keywords: methods ### ** Examples altIDs <- c("x","y","z") altVals <- rbind(c(1,1),c(2,0.5),c(3,0.2)) tree = newXMLDoc() newXMLNode("xmcda:XMCDA", namespace = c("xsi" =...
/data/genthat_extracted_code/RXMCDA/examples/putAlternativesValues.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
559
r
library(RXMCDA) ### Name: putAlternativesValues ### Title: Put values related to alternatives ### Aliases: putAlternativesValues ### Keywords: methods ### ** Examples altIDs <- c("x","y","z") altVals <- rbind(c(1,1),c(2,0.5),c(3,0.2)) tree = newXMLDoc() newXMLNode("xmcda:XMCDA", namespace = c("xsi" =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/founder.env.R \name{founder.shared} \alias{founder.shared} \alias{founder.shared.pedigreeList} \alias{founder.shared.pedigree} \title{Compute a common shared environment matrix} \usage{ founder.shared(id, ...) \method{founder.shared}{pedigre...
/MESS/man/founder.shared.Rd
no_license
akhikolla/InformationHouse
R
false
true
1,711
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/founder.env.R \name{founder.shared} \alias{founder.shared} \alias{founder.shared.pedigreeList} \alias{founder.shared.pedigree} \title{Compute a common shared environment matrix} \usage{ founder.shared(id, ...) \method{founder.shared}{pedigre...
library(PortfolioAnalytics) # Use ETF returns from package rutils library(rutils) symbolv <- c("VTI", "IEF", "DBC", "XLF", "VNQ", "XLP", "XLV", "XLU", "XLB", "XLE") # Initial portfolio to equal weights portfi <- rep(1/NROW(symbolv), NROW(symbolv)) # Named vector names(portfi) <- symbolv # Create portfolio object port...
/portfolio_construction.R
no_license
algoquant/lecture_slides
R
false
false
68,795
r
library(PortfolioAnalytics) # Use ETF returns from package rutils library(rutils) symbolv <- c("VTI", "IEF", "DBC", "XLF", "VNQ", "XLP", "XLV", "XLU", "XLB", "XLE") # Initial portfolio to equal weights portfi <- rep(1/NROW(symbolv), NROW(symbolv)) # Named vector names(portfi) <- symbolv # Create portfolio object port...
########################################### #File Name : functionClass.R #Date : 19-07-2017 #Author: Juan Garcia #Email: jggarcia@sfu.ca #Last Modified: lun 24 jul 2017 01:34:18 PDT #Purpose: Script that contains all the functions of interst #Modifications: ########################################### library(Di...
/commonFiles/Sampling/qOptimization/functionClass.R
no_license
juanga2005/springSummer2017research
R
false
false
2,002
r
########################################### #File Name : functionClass.R #Date : 19-07-2017 #Author: Juan Garcia #Email: jggarcia@sfu.ca #Last Modified: lun 24 jul 2017 01:34:18 PDT #Purpose: Script that contains all the functions of interst #Modifications: ########################################### library(Di...
iUstarmatrix <- function(Weights = NULL, Lines = NULL, Columns = NULL, Data=NULL ,Imx = NULL, Cls=NULL, Radius = NULL, Toroid = T){ # V = iUstarmatrix(Umatrix, BestMatches, Cls) # UstarMatrix = V$UstarMatrix # PMatrix = V$PMatrix # # INPUT # Weights The Weights in List Fo...
/R/iUstarmatrix.R
no_license
cran/Umatrix
R
false
false
12,093
r
iUstarmatrix <- function(Weights = NULL, Lines = NULL, Columns = NULL, Data=NULL ,Imx = NULL, Cls=NULL, Radius = NULL, Toroid = T){ # V = iUstarmatrix(Umatrix, BestMatches, Cls) # UstarMatrix = V$UstarMatrix # PMatrix = V$PMatrix # # INPUT # Weights The Weights in List Fo...
#Instructions for deployment of the package to shinyappsio #to deploy, follow these steps: #1. set working directory to folder where this file (app.R) resides #3. install the package through CRAN or github if we want to use the github version #devtools::install_github('ahgroup/modelbuilder') #4. uncomment the library()...
/auxiliary/old code/global.R
no_license
ahgroup/modelbuilder
R
false
false
1,165
r
#Instructions for deployment of the package to shinyappsio #to deploy, follow these steps: #1. set working directory to folder where this file (app.R) resides #3. install the package through CRAN or github if we want to use the github version #devtools::install_github('ahgroup/modelbuilder') #4. uncomment the library()...
#' Louvain Community Detection Algorithm #' #' @description Computes the Louvain community detection algorithm (Blondel et al., 2008) #' #' @param A Matrix or data frame. #' A network adjacency matrix #' #' @param method Character. #' Whether modularity or \code{\link[EGAnet]{tefi}} should #' be used to optimize commu...
/R/louvain.R
no_license
cran/EGAnet
R
false
false
5,797
r
#' Louvain Community Detection Algorithm #' #' @description Computes the Louvain community detection algorithm (Blondel et al., 2008) #' #' @param A Matrix or data frame. #' A network adjacency matrix #' #' @param method Character. #' Whether modularity or \code{\link[EGAnet]{tefi}} should #' be used to optimize commu...
# Code to be run with # R -d "valgrind --tool=memcheck --leak-check=full" --vanilla < tests/thisfile.R # First build and install the package. library("TreeDist") devtools::run_examples()
/memcheck/examples.R
no_license
ms609/TreeDist
R
false
false
191
r
# Code to be run with # R -d "valgrind --tool=memcheck --leak-check=full" --vanilla < tests/thisfile.R # First build and install the package. library("TreeDist") devtools::run_examples()
########################################## LOAD DATA ###################################################### library(rgdal) setwd("data") shape<-readOGR(".", "DZ_2011_EoR_Aberdeen_City") ################################## POLYGON AGGREGATOR FUNCTION ############################################ polygonaggregator<-func...
/polygonaggregator.R
no_license
markocherrie/polygonaggregator_MC
R
false
false
3,244
r
########################################## LOAD DATA ###################################################### library(rgdal) setwd("data") shape<-readOGR(".", "DZ_2011_EoR_Aberdeen_City") ################################## POLYGON AGGREGATOR FUNCTION ############################################ polygonaggregator<-func...
p<-dpois(3,0) print(p)
/Chapter04/pro14_2.R
no_license
inaeee/BigData_R4
R
false
false
22
r
p<-dpois(3,0) print(p)
library(RJSONIO) library(jsonlite) library(openxlsx) ## screen 1 市场信息 # 1.1 新闻快报 news <- list( "周期1" = p1_news, "周期2" = p2_news ) json_news <- toJSON(news, pretty=F) cat(json_news, file = (con <- file('news_info.txt', "w", encoding = "UTF-8"))) # 1.2 客户信息 hospital_info <- list( "周期1" = select(hospital_info_ui[w...
/Background/传输协议.R
no_license
RachelAnqi/Sales_training_programme
R
false
false
4,662
r
library(RJSONIO) library(jsonlite) library(openxlsx) ## screen 1 市场信息 # 1.1 新闻快报 news <- list( "周期1" = p1_news, "周期2" = p2_news ) json_news <- toJSON(news, pretty=F) cat(json_news, file = (con <- file('news_info.txt', "w", encoding = "UTF-8"))) # 1.2 客户信息 hospital_info <- list( "周期1" = select(hospital_info_ui[w...
## ----------------------------------------------------------------------- ## Wrapper function for MADlib's linear, logistic and multinomial ## logistic regressions ## ----------------------------------------------------------------------- setClass("logregr.madlib") setClass("logregr.madlib.grps") ## na.action is a p...
/R/madlib-glm.R
no_license
cabiling/PivotalR
R
false
false
13,110
r
## ----------------------------------------------------------------------- ## Wrapper function for MADlib's linear, logistic and multinomial ## logistic regressions ## ----------------------------------------------------------------------- setClass("logregr.madlib") setClass("logregr.madlib.grps") ## na.action is a p...
## The asymmetric Metropolis--Hastings algorithm based around a ## subsampled CSMC approach from Yildirim, Andrieu, Doucet & Chopin (2017) ## We compare performance of the approach ## in a simple multivariate linear-Gaussian state-space model ## in the case that the algorithm is based around a ## conventional and bas...
/projects/ensemble/examples/linear/asymmetricMh.r
no_license
AxelFinke/monte-carlo-rcpp
R
false
false
8,566
r
## The asymmetric Metropolis--Hastings algorithm based around a ## subsampled CSMC approach from Yildirim, Andrieu, Doucet & Chopin (2017) ## We compare performance of the approach ## in a simple multivariate linear-Gaussian state-space model ## in the case that the algorithm is based around a ## conventional and bas...
diffSplice <- function(fit,geneid,exonid=NULL,robust=FALSE,verbose=TRUE) # Test for splicing variants between conditions # using linear model fit of exon data. # Gordon Smyth and Charity Law # Created 13 Dec 2013. Last modified 20 April 2017. { # Make sure there is always an annotation frame exon.genes <- fit$...
/R/diffSplice.R
no_license
SynBioTek/limma
R
false
false
8,605
r
diffSplice <- function(fit,geneid,exonid=NULL,robust=FALSE,verbose=TRUE) # Test for splicing variants between conditions # using linear model fit of exon data. # Gordon Smyth and Charity Law # Created 13 Dec 2013. Last modified 20 April 2017. { # Make sure there is always an annotation frame exon.genes <- fit$...
testlist <- list(n = -129957888L) result <- do.call(breakfast:::setBitNumber,testlist) str(result)
/breakfast/inst/testfiles/setBitNumber/libFuzzer_setBitNumber/setBitNumber_valgrind_files/1609960529-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
98
r
testlist <- list(n = -129957888L) result <- do.call(breakfast:::setBitNumber,testlist) str(result)
library(igraph) ### Name: component_wise ### Title: Component-wise layout ### Aliases: component_wise ### ** Examples g <- make_ring(10) + make_ring(10) g %>% add_layout_(in_circle(), component_wise()) %>% plot()
/data/genthat_extracted_code/igraph/examples/component_wise.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
224
r
library(igraph) ### Name: component_wise ### Title: Component-wise layout ### Aliases: component_wise ### ** Examples g <- make_ring(10) + make_ring(10) g %>% add_layout_(in_circle(), component_wise()) %>% plot()
#' @export #this is the starting function of the package Analyze4C_alt <- function() { cat(" *****************************\n Analyze 4C \n *****************************\n\n\n") #here needs to be a welcome and description main.menu_alt() setwd("..") #returning to root ...
/R/Analyze4C_alt.R
no_license
akivab2/Analyze4CPackage
R
false
false
391
r
#' @export #this is the starting function of the package Analyze4C_alt <- function() { cat(" *****************************\n Analyze 4C \n *****************************\n\n\n") #here needs to be a welcome and description main.menu_alt() setwd("..") #returning to root ...
\name{fun.Dexplinear} \alias{fun.Dexplinear} \title{ A function to evaluate the derivatives with respect to the coefficients of the exponential of a functional data object. } \description{ Coefficient functions in linear differential systems are often required to be strictly positive. This can be achieved by...
/man/fun.Dexplinear.Rd
no_license
cran/Data2LD
R
false
false
1,518
rd
\name{fun.Dexplinear} \alias{fun.Dexplinear} \title{ A function to evaluate the derivatives with respect to the coefficients of the exponential of a functional data object. } \description{ Coefficient functions in linear differential systems are often required to be strictly positive. This can be achieved by...
\name{FigQAmultiRes} \alias{FigQAmultiRes} \title{ Quantity Allocation at multi-resolution } \description{ This function determines the Quantity Allocation error at a multi-resolution. The user must indicate the reference layer (x), the predicted layer (y), a raster map defining the strata (stratum), and the sequenc...
/rAA_0.0-1/man/FigQAmultiRes.Rd
no_license
amsantac/rsensing
R
false
false
1,662
rd
\name{FigQAmultiRes} \alias{FigQAmultiRes} \title{ Quantity Allocation at multi-resolution } \description{ This function determines the Quantity Allocation error at a multi-resolution. The user must indicate the reference layer (x), the predicted layer (y), a raster map defining the strata (stratum), and the sequenc...
library(ggplot2) ###-buffalo--### #percentage data.merge.all <- read.table("/mnt/raid7/wangteng/buffalo/MEABDT/test_files/CAZy_percentage.txt",header = T,sep = "\t") data.merge.all$Source <- factor(data.merge.all$Source, levels=c("all","Rectum","Intestines","Stomachs"),order=T) pdf("CAZy_percentage.pdf") p <- ggplot( d...
/Scripts/CAZy_percentage.R
no_license
GaoData/MEABDT
R
false
false
3,776
r
library(ggplot2) ###-buffalo--### #percentage data.merge.all <- read.table("/mnt/raid7/wangteng/buffalo/MEABDT/test_files/CAZy_percentage.txt",header = T,sep = "\t") data.merge.all$Source <- factor(data.merge.all$Source, levels=c("all","Rectum","Intestines","Stomachs"),order=T) pdf("CAZy_percentage.pdf") p <- ggplot( d...
library(spatstat) ### Name: markcrosscorr ### Title: Mark Cross-Correlation Function ### Aliases: markcrosscorr ### Keywords: spatial nonparametric ### ** Examples # The dataset 'betacells' has two columns of marks: # 'type' (factor) # 'area' (numeric) if(interactive()) plot(betacells) plot(ma...
/data/genthat_extracted_code/spatstat/examples/markcrosscorr.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
347
r
library(spatstat) ### Name: markcrosscorr ### Title: Mark Cross-Correlation Function ### Aliases: markcrosscorr ### Keywords: spatial nonparametric ### ** Examples # The dataset 'betacells' has two columns of marks: # 'type' (factor) # 'area' (numeric) if(interactive()) plot(betacells) plot(ma...
testlist <- list(testX = c(191493125665849920, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), trainX ...
/dann/inst/testfiles/calc_distance_C/AFL_calc_distance_C/calc_distance_C_valgrind_files/1609867878-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
1,199
r
testlist <- list(testX = c(191493125665849920, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), trainX ...
# install.packages('keras') # install.packages('purrr') # install.packages('functional') library(e1071) #bs library(MASS) library(caret) library(fGarch) library(fitdistrplus) library(pracma) library(BBmisc) library(functional) library(dplyr) library(keras) library(lubridate) library(tensorflow) Sys.sleep(5) install_ten...
/bs1/Model2_large100.R
no_license
paai-lab/Online-Anomaly-Detection-Extension-2021
R
false
false
16,589
r
# install.packages('keras') # install.packages('purrr') # install.packages('functional') library(e1071) #bs library(MASS) library(caret) library(fGarch) library(fitdistrplus) library(pracma) library(BBmisc) library(functional) library(dplyr) library(keras) library(lubridate) library(tensorflow) Sys.sleep(5) install_ten...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ConvertParam.r \name{ConvertParam} \alias{ConvertParam} \title{Convert ALMaSS config parameter to a meaningful character string} \usage{ ConvertParam(param = NULL) } \arguments{ \item{param}{character The input parameter} } \value{ character ...
/man/ConvertParam.Rd
no_license
jamesHwilliams/ralmass
R
false
true
530
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ConvertParam.r \name{ConvertParam} \alias{ConvertParam} \title{Convert ALMaSS config parameter to a meaningful character string} \usage{ ConvertParam(param = NULL) } \arguments{ \item{param}{character The input parameter} } \value{ character ...
library(DescriptiveStats.OBeu) ### Name: ds.box ### Title: Boxplot Parameters of a numeric vector ### Aliases: ds.box ### ** Examples # with vector as an input and the default parameters vec <- as.vector(iris$Sepal.Width) ds.box(vec) # with vector as an input and the different parameters vec <- as.vector(iris$Sepa...
/data/genthat_extracted_code/DescriptiveStats.OBeu/examples/ds.box.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
528
r
library(DescriptiveStats.OBeu) ### Name: ds.box ### Title: Boxplot Parameters of a numeric vector ### Aliases: ds.box ### ** Examples # with vector as an input and the default parameters vec <- as.vector(iris$Sepal.Width) ds.box(vec) # with vector as an input and the different parameters vec <- as.vector(iris$Sepa...
# analysis of Mesothelioma dataset using iGC using Oncodrive Input library(iGC) rm(list = ls()) # load data load("/home/anita/Benchmarking/two_omics/MesotheliomaCompleteDataAnalysis/MesotheliomaRawDataset_OncodriveCISInput.Rdata") meso.cnv[meso.cnv==2] <- 1 meso.cnv[meso.cnv==-2] <- -1 meso.cnv <- cbind(rownames(meso...
/Multi-staged tools/Mesothelioma/iGC/iGC_MESO_Analysis_OncodriveInput.R
no_license
AtinaSat/Evaluation-of-integration-tools
R
false
false
1,572
r
# analysis of Mesothelioma dataset using iGC using Oncodrive Input library(iGC) rm(list = ls()) # load data load("/home/anita/Benchmarking/two_omics/MesotheliomaCompleteDataAnalysis/MesotheliomaRawDataset_OncodriveCISInput.Rdata") meso.cnv[meso.cnv==2] <- 1 meso.cnv[meso.cnv==-2] <- -1 meso.cnv <- cbind(rownames(meso...
difGenLord<-function (Data, group, focal.names, model, c = NULL, engine = "ltm", discr = 1, irtParam = NULL, nrFocal = 2, same.scale = TRUE, anchor = NULL, alpha = 0.05, purify = FALSE, nrIter = 10, p.adjust.method = NULL, save.output = FALSE, output = c("out", "default")) { internalGLord <- fun...
/R/difGenLord.r
no_license
cran/difR
R
false
false
20,982
r
difGenLord<-function (Data, group, focal.names, model, c = NULL, engine = "ltm", discr = 1, irtParam = NULL, nrFocal = 2, same.scale = TRUE, anchor = NULL, alpha = 0.05, purify = FALSE, nrIter = 10, p.adjust.method = NULL, save.output = FALSE, output = c("out", "default")) { internalGLord <- fun...
klist <- c(1,2,4,8) i <- 1 f1 <- f for (k in (1:max(klist))){ f1 <- tW %*% f1 if (k == klist[i]){ my_cmap <- cbind(f1,f1,f1) points3D(matrix(X0[1,]), matrix(X0[2,]), matrix(X0[3,]),cex=0.05, axis=FALSE, grid=FALSE, box=FALSE,colkey=FALSE, type="p", pch=20, col=as.color(f1)) i <- i+1 } }
/numerical-tours/r/nt_solutions/meshproc_3_denoising/exo1.R
permissive
ZichaoDi/Di_MATLABTool
R
false
false
310
r
klist <- c(1,2,4,8) i <- 1 f1 <- f for (k in (1:max(klist))){ f1 <- tW %*% f1 if (k == klist[i]){ my_cmap <- cbind(f1,f1,f1) points3D(matrix(X0[1,]), matrix(X0[2,]), matrix(X0[3,]),cex=0.05, axis=FALSE, grid=FALSE, box=FALSE,colkey=FALSE, type="p", pch=20, col=as.color(f1)) i <- i+1 } }
##preparing data setwd("C:\\Users\\gido282\\OneDrive - PNNL\\Documents\\Data") #set working directory data <- read.csv(file.choose(), row.names = 1) #load in peak data bad <- read.csv(file.choose(), header = FALSE) #load in peaks that need removed tree <- read.tree(file.choose()) #load in tree peak.data <- d...
/bMNTD_nulls.R
no_license
gido-pnnl/gido-SULI
R
false
false
1,676
r
##preparing data setwd("C:\\Users\\gido282\\OneDrive - PNNL\\Documents\\Data") #set working directory data <- read.csv(file.choose(), row.names = 1) #load in peak data bad <- read.csv(file.choose(), header = FALSE) #load in peaks that need removed tree <- read.tree(file.choose()) #load in tree peak.data <- d...
##This function creates a special "matrix" object that can cache its inverse - it's rather a list of functions makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) {x <<- y inv <<- NULL } get <- function() x set.inverse <- function(inverse) inv <<- inverse get.inverse <- function() i...
/cachematrix.R
no_license
merienka/ProgrammingAssignment2
R
false
false
926
r
##This function creates a special "matrix" object that can cache its inverse - it's rather a list of functions makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) {x <<- y inv <<- NULL } get <- function() x set.inverse <- function(inverse) inv <<- inverse get.inverse <- function() i...
#' Get descriptive stats & remove outliers #' #' This function loads a file as a matrix. It assumes that the first column #' contains the rownames and the subsequent columns are the sample identifiers. #' Any rows with duplicated row names will be dropped with the first one being #' kepted. #' #' @param filename Path t...
/eyelinkR/R/clean_data.R
no_license
gavin-ng/eye-movements-efficient-search
R
false
false
2,749
r
#' Get descriptive stats & remove outliers #' #' This function loads a file as a matrix. It assumes that the first column #' contains the rownames and the subsequent columns are the sample identifiers. #' Any rows with duplicated row names will be dropped with the first one being #' kepted. #' #' @param filename Path t...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 96524 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 76044 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 76044 c c Input Parameter (command line, ...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Kronegger-Pfandler-Pichler/dungeon/dungeon_i10-m10-u5-v0.pddl_planlen=180/dungeon_i10-m10-u5-v0.pddl_planlen=180.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
116,221
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 96524 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 76044 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 76044 c c Input Parameter (command line, ...
#' Convert prediction output into dataframes. #' #' \code{prep_prediction} converts prediction output into dataframes #' #' #' @param object a prediction object #' prep_prediction <- function(object){ pred <- object pred_cat <- pred[[1]] #extract predicted categories pred_box <- pred[[2]] #extract predict...
/R/prep_prediction.R
permissive
bogsnork/nectarvision
R
false
false
719
r
#' Convert prediction output into dataframes. #' #' \code{prep_prediction} converts prediction output into dataframes #' #' #' @param object a prediction object #' prep_prediction <- function(object){ pred <- object pred_cat <- pred[[1]] #extract predicted categories pred_box <- pred[[2]] #extract predict...
## ----sfs----------------------------------------------------------------- sfs <- c(112, 57, 24, 34, 16, 29, 8, 10, 15) ## ----model setup--------------------------------------------------------- library(coala) model <- coal_model(10, 50) + feat_mutation(par_prior("theta", runif(1, 1, 5))) + sumstat_sfs() ## ---...
/data/genthat_extracted_code/coala/vignettes/coala-abc.R
no_license
surayaaramli/typeRrh
R
false
false
950
r
## ----sfs----------------------------------------------------------------- sfs <- c(112, 57, 24, 34, 16, 29, 8, 10, 15) ## ----model setup--------------------------------------------------------- library(coala) model <- coal_model(10, 50) + feat_mutation(par_prior("theta", runif(1, 1, 5))) + sumstat_sfs() ## ---...
library(tuneR) library(seewave) songObject <- readWave("song.wav") print(songObject) songSpectrogram <- spectro(songObject, plot = FALSE, complex = TRUE, norm = FALSE, dB = NULL) print(songSpectrogram) dput(songSpectrogram, file = "spectrogram.txt") newSongObject <- istft(songSpectrogram$amp, f=songObject@samp.rate,...
/sound-to-spectrogram.R
no_license
alexskoropletov/Spectrogram2Wave
R
false
false
398
r
library(tuneR) library(seewave) songObject <- readWave("song.wav") print(songObject) songSpectrogram <- spectro(songObject, plot = FALSE, complex = TRUE, norm = FALSE, dB = NULL) print(songSpectrogram) dput(songSpectrogram, file = "spectrogram.txt") newSongObject <- istft(songSpectrogram$amp, f=songObject@samp.rate,...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{nps.var} \alias{nps.var} \title{Calculate the variance of a Net Promoter Score} \usage{ nps.var(x, breaks = list(0:6, 7:8, 9:10)) } \arguments{ \item{x}{A vector of \emph{Recommend} scores} \item{breaks}{A \code{list} of length three, giving the inte...
/man/nps.var.Rd
no_license
cran/NPS
R
false
false
853
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{nps.var} \alias{nps.var} \title{Calculate the variance of a Net Promoter Score} \usage{ nps.var(x, breaks = list(0:6, 7:8, 9:10)) } \arguments{ \item{x}{A vector of \emph{Recommend} scores} \item{breaks}{A \code{list} of length three, giving the inte...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/load.R \name{load_all_modules} \alias{load_all_modules} \title{Load All Modules.} \usage{ load_all_modules(path = root_config$get_all()[[1L]], pattern = "[^_]\\\\.[Rr](?:md|nw)?$", full.names = TRUE, recursive = TRUE, strict = TRUE, ...) ...
/man/load_all_modules.Rd
permissive
aclemen1/modulr
R
false
true
1,889
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/load.R \name{load_all_modules} \alias{load_all_modules} \title{Load All Modules.} \usage{ load_all_modules(path = root_config$get_all()[[1L]], pattern = "[^_]\\\\.[Rr](?:md|nw)?$", full.names = TRUE, recursive = TRUE, strict = TRUE, ...) ...
#' Compute the median unit value of the transaction. #' #' The median unit value is calculated in a specific-to-generic fashion: #' 1) by HS-reporter; 2) by HS8-reporter; by HS6-reporter; 3) by HS; #' 4) by FCL; 5) by flow. #' The first available of these options will be used (for HS, HS8 and HS6 #' only when there are...
/R/computeMedianUnitValue.R
no_license
SWS-Methodology/faoswsTrade
R
false
false
3,339
r
#' Compute the median unit value of the transaction. #' #' The median unit value is calculated in a specific-to-generic fashion: #' 1) by HS-reporter; 2) by HS8-reporter; by HS6-reporter; 3) by HS; #' 4) by FCL; 5) by flow. #' The first available of these options will be used (for HS, HS8 and HS6 #' only when there are...
#' Parse roxygen comments into text #' #' Used to parse roxygen code examples. Removes line break before #' `\\dontrun{...}` and friends because it does not occur for segments other #' than `\\dont{...}` and friends. #' @param roxygen Roxygen comments. #' @examples #' styler:::parse_roxygen(c( #' "#' @examples", #' ...
/R/roxygen-examples-parse.R
permissive
jonkeane/styler
R
false
false
5,393
r
#' Parse roxygen comments into text #' #' Used to parse roxygen code examples. Removes line break before #' `\\dontrun{...}` and friends because it does not occur for segments other #' than `\\dont{...}` and friends. #' @param roxygen Roxygen comments. #' @examples #' styler:::parse_roxygen(c( #' "#' @examples", #' ...
library(mlbench) library(rpart) library(randomForest) library(mlr) #Dividing train dataset to mytrain and mytest divide <- function(data){ someindex <- sample(1:nrow(data), 0.2*nrow(data)) mytest <<- data[someindex,] mytrain <<- data[-someindex,] colnames(mytrain)[11] <<- "Result" colnames(train)[11] <<- "Re...
/DA-predictions.R
no_license
DenisNepomnyashchikh/DA_predictions
R
false
false
5,282
r
library(mlbench) library(rpart) library(randomForest) library(mlr) #Dividing train dataset to mytrain and mytest divide <- function(data){ someindex <- sample(1:nrow(data), 0.2*nrow(data)) mytest <<- data[someindex,] mytrain <<- data[-someindex,] colnames(mytrain)[11] <<- "Result" colnames(train)[11] <<- "Re...
#' Smoothing map with R package CARBayrs and BYM model #' #' @param formula a formula in one of the form ##' \itemize{ ##' \item{}{observed ~ expected + region_ID} ##' } #' @param data data.frame corresponding to formula #' @param shapefile of class SpatialPolygonsDataFrame (see package sp), #' where ...
/compareBYMimplementations/R/smooth_rpkg.R
no_license
jmtttt/compareBYMimplementations
R
false
false
3,483
r
#' Smoothing map with R package CARBayrs and BYM model #' #' @param formula a formula in one of the form ##' \itemize{ ##' \item{}{observed ~ expected + region_ID} ##' } #' @param data data.frame corresponding to formula #' @param shapefile of class SpatialPolygonsDataFrame (see package sp), #' where ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/clean.R \name{get_fcf} \alias{get_fcf} \title{Calculate Free Cash Flows from Financial Data} \usage{ get_fcf(df_in) } \arguments{ \item{df_in}{Prepped data frame as returned by \code{\link[=prep_financials]{prep_financials()}}.} } \descriptio...
/man/get_fcf.Rd
no_license
ryapric/fcf
R
false
true
371
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/clean.R \name{get_fcf} \alias{get_fcf} \title{Calculate Free Cash Flows from Financial Data} \usage{ get_fcf(df_in) } \arguments{ \item{df_in}{Prepped data frame as returned by \code{\link[=prep_financials]{prep_financials()}}.} } \descriptio...
#' MOEA/D #' #' MOEA/D implementation in R #' #' Component-wise implementation of the Multiobjective Evolutionary Algorithm #' based on decomposition - MOEA/D. #' #' @section Problem Description: #' The `problem` parameter consists of a list with all necessary #' definitions for the multiobjective optimization problem ...
/R/moead.R
no_license
caranha/MOEADr
R
false
false
19,395
r
#' MOEA/D #' #' MOEA/D implementation in R #' #' Component-wise implementation of the Multiobjective Evolutionary Algorithm #' based on decomposition - MOEA/D. #' #' @section Problem Description: #' The `problem` parameter consists of a list with all necessary #' definitions for the multiobjective optimization problem ...
# author: Robert Haase # load packages library("caret") library("plyr") library("dplyr") #library("foreach") library("DataCombine") library("data.table") # showing training log # set seed for random number generator set.seed(1188) # enable multicore/parallel computation and potentially show training log in con...
/[2016] Predicting Red Hat Business Value/scripts/script_numeric.R
no_license
r-haase/Kaggle
R
false
false
13,215
r
# author: Robert Haase # load packages library("caret") library("plyr") library("dplyr") #library("foreach") library("DataCombine") library("data.table") # showing training log # set seed for random number generator set.seed(1188) # enable multicore/parallel computation and potentially show training log in con...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/run_mbo.R \name{kill_parallel_core} \alias{kill_parallel_core} \title{kill_parallel_core} \usage{ kill_parallel_core(parallel) } \description{ stop parallel processing }
/man/kill_parallel_core.Rd
no_license
systats/tidyMBO
R
false
true
248
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/run_mbo.R \name{kill_parallel_core} \alias{kill_parallel_core} \title{kill_parallel_core} \usage{ kill_parallel_core(parallel) } \description{ stop parallel processing }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/unCalibrate.R \name{unCalibrate} \alias{unCalibrate} \title{Uncalibrate a Radiocarbon date} \usage{ unCalibrate(calAges, calCurve = "intcal13", type = c("samples", "ages"), pathToCalCurves = system.file("data", package = "Bchron"), ...) } \...
/man/unCalibrate.Rd
no_license
ercrema/Bchron
R
false
true
1,773
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/unCalibrate.R \name{unCalibrate} \alias{unCalibrate} \title{Uncalibrate a Radiocarbon date} \usage{ unCalibrate(calAges, calCurve = "intcal13", type = c("samples", "ages"), pathToCalCurves = system.file("data", package = "Bchron"), ...) } \...
#Script to stack the Multispectra bands from the Autopano mosaic #Names should be like: # m[date][trial]pno-0.tif # m[date][trial]pno-1.tif # e.g. m160204bw8pno-1.tif # The required input is: date and trial and the working directory #This is assuming the name formatting of the greenplane #0. First step : load packages ...
/r/image_processing_aux/stackMCAbandsAsExportedFromAutopanoFolder.R
no_license
Lorenagzp/Scripts
R
false
false
1,649
r
#Script to stack the Multispectra bands from the Autopano mosaic #Names should be like: # m[date][trial]pno-0.tif # m[date][trial]pno-1.tif # e.g. m160204bw8pno-1.tif # The required input is: date and trial and the working directory #This is assuming the name formatting of the greenplane #0. First step : load packages ...
\name{Lab5-package} \alias{Lab5-package} \alias{Lab5} \docType{package} \title{ \packageTitle{Lab5} } \description{ \packageDescription{Lab5} } \details{ The DESCRIPTION file: \packageDESCRIPTION{Lab5} \packageIndices{Lab5} ~~ An overview of how to use the package, including the most important functions ~~ } \author{ ...
/Lab5/man/Lab5-package.Rd
no_license
5uriya/Lab5
R
false
false
760
rd
\name{Lab5-package} \alias{Lab5-package} \alias{Lab5} \docType{package} \title{ \packageTitle{Lab5} } \description{ \packageDescription{Lab5} } \details{ The DESCRIPTION file: \packageDESCRIPTION{Lab5} \packageIndices{Lab5} ~~ An overview of how to use the package, including the most important functions ~~ } \author{ ...
library(shiny) library(shinydashboard) library(shinyalert) library(leaflet) library(rvest) library(shinythemes) library(ggmap) library(chron) library(stringr) library(dplyr) library(readr) #Live scrape weather information to guide user link = read_html("https://weather.com/weather/today/l/USIL0225:1:US") h...
/ui.R
no_license
zhangyidavidfan/Ride_Share_Price_Dashboard_Source_Code
R
false
false
11,854
r
library(shiny) library(shinydashboard) library(shinyalert) library(leaflet) library(rvest) library(shinythemes) library(ggmap) library(chron) library(stringr) library(dplyr) library(readr) #Live scrape weather information to guide user link = read_html("https://weather.com/weather/today/l/USIL0225:1:US") h...