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/NrlsDb.r \name{setupNrlsConn} \alias{setupNrlsConn} \title{Setup NRLS Database Connection} \usage{ setupNrlsConn(db_user_name, db_conn_text, db_pass = NULL) } \arguments{ \item{db_user_name}{The user name to log into Oracle with} \item{db_co...
/man/setupNrlsConn.Rd
permissive
Pacific-salmon-assess/iRecAnalysisPkg
R
false
true
545
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/NrlsDb.r \name{setupNrlsConn} \alias{setupNrlsConn} \title{Setup NRLS Database Connection} \usage{ setupNrlsConn(db_user_name, db_conn_text, db_pass = NULL) } \arguments{ \item{db_user_name}{The user name to log into Oracle with} \item{db_co...
#' @title EC2 API Requests #' @description Execute an EC2 API Request #' @param query A named list of query string parameters. #' @param dryrun An optional logical specifying whether to execute a consequence-free \dQuote{dry run} of the request. #' @param region A character string containing the AWS region. If missing,...
/R/http.r
no_license
CDC/aws.ec2
R
false
false
3,272
r
#' @title EC2 API Requests #' @description Execute an EC2 API Request #' @param query A named list of query string parameters. #' @param dryrun An optional logical specifying whether to execute a consequence-free \dQuote{dry run} of the request. #' @param region A character string containing the AWS region. If missing,...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{rand_test} \alias{rand_test} \title{Gets the Random Numbers} \usage{ rand_test(nTry, seed, k) } \arguments{ \item{nTry}{number of observations} \item{seed}{seed to configure RNG} \item{k}{DX parameter} } \value{ nTry ran...
/man/rand_test.Rd
no_license
bobmonkey/DX_generator
R
false
true
374
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{rand_test} \alias{rand_test} \title{Gets the Random Numbers} \usage{ rand_test(nTry, seed, k) } \arguments{ \item{nTry}{number of observations} \item{seed}{seed to configure RNG} \item{k}{DX parameter} } \value{ nTry ran...
#2-2-2 (2) ggplot(a01, aes(x=A, y=B)) + geom_line() + labs(x= "height", y="weight") + theme(text = element_text(size=16) )
/Data/A02P03.R
no_license
Naoya323150403/R_University_Practice
R
false
false
129
r
#2-2-2 (2) ggplot(a01, aes(x=A, y=B)) + geom_line() + labs(x= "height", y="weight") + theme(text = element_text(size=16) )
library(tidyverse); library(here) library(sf) library(rnaturalearth) data <- tidytuesdayR::tt_load(2021, week = 19) water <- data$water glimpse(water) info_df <- function(df){ df %>% map_df(~ data.frame(na_count= sum(is.na(.x)), class = class(.x), dis...
/2021-05-04/2021-05-04.R
no_license
NurlanAhmad/tidytuesday
R
false
false
2,813
r
library(tidyverse); library(here) library(sf) library(rnaturalearth) data <- tidytuesdayR::tt_load(2021, week = 19) water <- data$water glimpse(water) info_df <- function(df){ df %>% map_df(~ data.frame(na_count= sum(is.na(.x)), class = class(.x), dis...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/estimate.R \name{cestimate} \alias{cestimate} \title{Function for Estimating Causal Effects with \code{cbal}.} \usage{ cestimate(obj, Y, method = c("sandwich", "bootstrap"), boot_iter = 1000, ...) } \arguments{ \item{obj}{object of class "c...
/man/cestimate.Rd
no_license
dewittpe/cbal-v1
R
false
true
687
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/estimate.R \name{cestimate} \alias{cestimate} \title{Function for Estimating Causal Effects with \code{cbal}.} \usage{ cestimate(obj, Y, method = c("sandwich", "bootstrap"), boot_iter = 1000, ...) } \arguments{ \item{obj}{object of class "c...
#!/usr/bin/env Rscript #SBATCH --partition=milkun #SBATCH --mail-type=FAIL #SBATCH --mail-user=mirzaceng@gmail.com #SBATCH --time=48:00:00 #SBATCH --output /Logs/Get_changes_fit_10.log #SBATCH -n 20 #SBATCH --mem=20G library(Rahat) changes_type <- "Fit" category <- "10" n_cores <- 20 script_to_source <- "Get_agri_cha...
/code/Data_processing/Calculate_changes/Run_fit_10.R
no_license
MirzaCengic/agriculture_suitability
R
false
false
353
r
#!/usr/bin/env Rscript #SBATCH --partition=milkun #SBATCH --mail-type=FAIL #SBATCH --mail-user=mirzaceng@gmail.com #SBATCH --time=48:00:00 #SBATCH --output /Logs/Get_changes_fit_10.log #SBATCH -n 20 #SBATCH --mem=20G library(Rahat) changes_type <- "Fit" category <- "10" n_cores <- 20 script_to_source <- "Get_agri_cha...
# # Vom Status "Sale" in Kredit Smart zur Provisionszahlung - wieviele Tage liegen dazwischen? # # Datenimport data <- fread(paste0(getwd(),"/data/ds_rk_gmbh_gesamt.txt")) umsatz <- read_xlsx(paste0(getwd(),"/data/Zahlen.xlsx"), sheet = "Daten") ds_data <- data %>% filter(StatusVonDatum > "2019-12-31" & i...
/pay_duration.R
no_license
VolkerInTheField/github_privat_01
R
false
false
1,042
r
# # Vom Status "Sale" in Kredit Smart zur Provisionszahlung - wieviele Tage liegen dazwischen? # # Datenimport data <- fread(paste0(getwd(),"/data/ds_rk_gmbh_gesamt.txt")) umsatz <- read_xlsx(paste0(getwd(),"/data/Zahlen.xlsx"), sheet = "Daten") ds_data <- data %>% filter(StatusVonDatum > "2019-12-31" & i...
#' Join sql tbls. #' #' See \code{\link{join}} for a description of the general purpose of the #' functions. #' #' @section Implementation notes: #' #' Semi-joins are implemented using \code{WHERE EXISTS}, and anti-joins with #' \code{WHERE NOT EXISTS}. Support for semi-joins is somewhat partial: you #' can only create...
/R/join-sql.r
no_license
mnel/dplyr
R
false
false
6,288
r
#' Join sql tbls. #' #' See \code{\link{join}} for a description of the general purpose of the #' functions. #' #' @section Implementation notes: #' #' Semi-joins are implemented using \code{WHERE EXISTS}, and anti-joins with #' \code{WHERE NOT EXISTS}. Support for semi-joins is somewhat partial: you #' can only create...
#Use this script to create an RData file for a list of drivers data.dir <- "c:/NO_BACKUP/kaggle/telematics/drivers" trip.dir <- "c:/NO_BACKUP/kaggle/telematics/trip_chunks" data.fn <- "c:/NO_BACKUP/kaggle/telematics/telematics.Rdata" drivers.dir <- dir(data.dir) set.seed(2349) random.driver <- order(runif(1:length(d...
/make_rdata_by_drivers.R
no_license
dsdaveh/telemetrics
R
false
false
1,110
r
#Use this script to create an RData file for a list of drivers data.dir <- "c:/NO_BACKUP/kaggle/telematics/drivers" trip.dir <- "c:/NO_BACKUP/kaggle/telematics/trip_chunks" data.fn <- "c:/NO_BACKUP/kaggle/telematics/telematics.Rdata" drivers.dir <- dir(data.dir) set.seed(2349) random.driver <- order(runif(1:length(d...
# Plotting frass density or mass over time library(gsheet) library(dplyr) library(tidyr) # Function for reading in frass data from GoogleDoc # *if aim is to backup GoogleDoc and write to disk only, then open =F and write = T # *if aim is to use data without writing to disk, then open = T and write = F frassData = fu...
/frass.r
no_license
hurlbertlab/frass
R
false
false
20,091
r
# Plotting frass density or mass over time library(gsheet) library(dplyr) library(tidyr) # Function for reading in frass data from GoogleDoc # *if aim is to backup GoogleDoc and write to disk only, then open =F and write = T # *if aim is to use data without writing to disk, then open = T and write = F frassData = fu...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/auxiliares.R \name{checa} \alias{checa} \title{Wrap de stringr} \usage{ checa(string, pattern, ignore_case = TRUE, ...) } \arguments{ \item{string}{Variável a ser analisada} \item{pattern}{Regex} \item{ignore_case}{TRUE por padrão.} \item{...
/man/checa.Rd
permissive
rfdornelles/penitenciaR
R
false
true
486
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/auxiliares.R \name{checa} \alias{checa} \title{Wrap de stringr} \usage{ checa(string, pattern, ignore_case = TRUE, ...) } \arguments{ \item{string}{Variável a ser analisada} \item{pattern}{Regex} \item{ignore_case}{TRUE por padrão.} \item{...
g <- function(x, v){ return(x * v) } # weight w <- c(20,18,14,12,10,16,22,24) # value v <- c(72,60,40,27,20,50,85,96) # we have N types of items N <- length(w) # consider a case with two functions Z <- seq(1, 100, 1) # get the maximum Z zMax <- 100 # we need the value function f f <- matrix(0, zMax, N + 1) # +...
/cargoAllocationProcess.R
no_license
lukaszgatarek/reinforcementLearning
R
false
false
2,592
r
g <- function(x, v){ return(x * v) } # weight w <- c(20,18,14,12,10,16,22,24) # value v <- c(72,60,40,27,20,50,85,96) # we have N types of items N <- length(w) # consider a case with two functions Z <- seq(1, 100, 1) # get the maximum Z zMax <- 100 # we need the value function f f <- matrix(0, zMax, N + 1) # +...
as.data.frame.survTP <- function(x, ..., package="TPmsm") { if ( missing(x) ) stop("Argument 'x' is missing, with no default") if ( !is.survTP(x) ) stop("Argument 'x' must be of class 'survTP'") package <- match.arg(arg=package, choices=c("TPmsm", "p3state.msm", "etm"), several.ok=FALSE) func <- switch(package, "TP...
/TPmsm/R/as.data.frame.survTP.R
no_license
ingted/R-Examples
R
false
false
406
r
as.data.frame.survTP <- function(x, ..., package="TPmsm") { if ( missing(x) ) stop("Argument 'x' is missing, with no default") if ( !is.survTP(x) ) stop("Argument 'x' must be of class 'survTP'") package <- match.arg(arg=package, choices=c("TPmsm", "p3state.msm", "etm"), several.ok=FALSE) func <- switch(package, "TP...
#' @title Set labels for the points #' @description Set labels for the points of the convex polyeder #' @aliases setLabels #' @importFrom graphics text #' @template param/A #' @param pointsToDraw contains the points to draw #' @param name set a name for the label #' @template author/FM setLabels <- function...
/CoopGame/R/setLabels.R
no_license
anwanjohannes/CoopGame
R
false
false
2,120
r
#' @title Set labels for the points #' @description Set labels for the points of the convex polyeder #' @aliases setLabels #' @importFrom graphics text #' @template param/A #' @param pointsToDraw contains the points to draw #' @param name set a name for the label #' @template author/FM setLabels <- function...
### ### R routines for the R package mvmeta (c) # simulate.mvmeta <- function(object, nsim=1, seed=NULL, ...) { # ################################################################################ # # ERROR FOR FUTURE IMPLEMENTATION OF MIKE'S MODEL if(!object$method%in%c("fixed","ml","reml","mm","vc")) ...
/R/simulate.mvmeta.R
no_license
cran/mvmeta
R
false
false
1,497
r
### ### R routines for the R package mvmeta (c) # simulate.mvmeta <- function(object, nsim=1, seed=NULL, ...) { # ################################################################################ # # ERROR FOR FUTURE IMPLEMENTATION OF MIKE'S MODEL if(!object$method%in%c("fixed","ml","reml","mm","vc")) ...
################################################################################ #TEMPLATE_FOR _META_ANALYSIS_OF_DIAGNOSTIC_ACCURACY# #this script follows a combination of guidelines proposed by Doebler and Holling, according to (http://cran.r-project.org/web/packages/mada/vignettes/mada.pdf)# # # #####################...
/consults/[CONSULTATION] servico_tais.R
no_license
souzajvp/analytical_codes
R
false
false
17,916
r
################################################################################ #TEMPLATE_FOR _META_ANALYSIS_OF_DIAGNOSTIC_ACCURACY# #this script follows a combination of guidelines proposed by Doebler and Holling, according to (http://cran.r-project.org/web/packages/mada/vignettes/mada.pdf)# # # #####################...
NEI <- readRDS("./Exploratory Data Project 2/summarySCC_PM25.rds") SRC <- readRDS("./Exploratory Data Project 2/Source_Classification_Code.rds") # Create Plot Data VEH <- grep("vehicle",SRC$EI.Sector,value=T,ignore.case=T) SRC.VEH <- subset(SRC, SRC$EI.Sector %in% VEH, select=SCC) BC.LA <- subset(NEI, fips == "245...
/plot6.R
no_license
IKhushi1/Exploratory-Data-Analysis-Project-2
R
false
false
916
r
NEI <- readRDS("./Exploratory Data Project 2/summarySCC_PM25.rds") SRC <- readRDS("./Exploratory Data Project 2/Source_Classification_Code.rds") # Create Plot Data VEH <- grep("vehicle",SRC$EI.Sector,value=T,ignore.case=T) SRC.VEH <- subset(SRC, SRC$EI.Sector %in% VEH, select=SCC) BC.LA <- subset(NEI, fips == "245...
#SNA #Liubomyr Bregman #Lviv DS summer school #################################### # Centralities # #################################### library(igraph) library(readr) library(ggplot2) g <- graph.formula( Andriy----Katia:Dima:Fedir:Kuzma, Katia--Andriy:Dima:Geo...
/SNA.R
no_license
LuboBreg/CustomerAnalytics
R
false
false
4,324
r
#SNA #Liubomyr Bregman #Lviv DS summer school #################################### # Centralities # #################################### library(igraph) library(readr) library(ggplot2) g <- graph.formula( Andriy----Katia:Dima:Fedir:Kuzma, Katia--Andriy:Dima:Geo...
add2 <- function(x, y){ x + y } adove10 <- function(x){ use <- x > 10 x[use] } adove <- function(x, n = 10){ use <- x > n x[use] } columMean <- function(y, removeNA = TRUE){ nc <- ncol(y) means <- numeric(nc) for(i in 1:nc){ means[i] <- mean(y[,i], na.rm = removeNA) } means } y <- 10 ...
/SandBox/funciones.R
no_license
NicolasPresta/DataScienceCourse
R
false
false
386
r
add2 <- function(x, y){ x + y } adove10 <- function(x){ use <- x > 10 x[use] } adove <- function(x, n = 10){ use <- x > n x[use] } columMean <- function(y, removeNA = TRUE){ nc <- ncol(y) means <- numeric(nc) for(i in 1:nc){ means[i] <- mean(y[,i], na.rm = removeNA) } means } y <- 10 ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gevcTrain.R \name{gevcTrain} \alias{gevcTrain} \title{GEV Classifier - training} \usage{ gevcTrain(train) } \arguments{ \item{train}{a data matrix containing the train data. Class labels should not be included.} } \value{ A numeri...
/man/gevcTrain.Rd
no_license
cran/evtclass
R
false
true
1,176
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gevcTrain.R \name{gevcTrain} \alias{gevcTrain} \title{GEV Classifier - training} \usage{ gevcTrain(train) } \arguments{ \item{train}{a data matrix containing the train data. Class labels should not be included.} } \value{ A numeri...
## File Name: L0_polish.R ## File Version: 0.12 L0_polish <- function(x, tol, conv=0.01, maxiter=30, type=1, verbose=TRUE) { res <- list(x_update=x, iterate_further=TRUE) #-- iterate while(res$iterate_further){ res <- L0_polish_one_iteration(x=res$x_update, tol=tol, type=type, eps=conv) if...
/R/L0_polish.R
no_license
seonghobae/sirt
R
false
false
593
r
## File Name: L0_polish.R ## File Version: 0.12 L0_polish <- function(x, tol, conv=0.01, maxiter=30, type=1, verbose=TRUE) { res <- list(x_update=x, iterate_further=TRUE) #-- iterate while(res$iterate_further){ res <- L0_polish_one_iteration(x=res$x_update, tol=tol, type=type, eps=conv) if...
setwd("C:/Users/wjssm/Desktop/0.graduate/3rd/Datamining/lab") ###1.Fitting Classification Trees### library(tree);library(ISLR) attach(Carseats) High <- ifelse(Sales <= 8,'No','Yes') Carseats <- data.frame(Carseats, High) tree.carseats <- tree(High~.-Sales, Carseats) summary(tree.carseats) plot(tree.cars...
/Datamining/lab/lab_ch8.R
no_license
miniii222/study_in_graduate
R
false
false
3,799
r
setwd("C:/Users/wjssm/Desktop/0.graduate/3rd/Datamining/lab") ###1.Fitting Classification Trees### library(tree);library(ISLR) attach(Carseats) High <- ifelse(Sales <= 8,'No','Yes') Carseats <- data.frame(Carseats, High) tree.carseats <- tree(High~.-Sales, Carseats) summary(tree.carseats) plot(tree.cars...
library(fracprolif) ### Name: qsurvival.nllik ### Title: Negative Log-Likelihood of a Survival Function ### Aliases: qsurvival.nllik ### ** Examples data(ca1d.erlotinib) mitotic.lifespans <- subset(ca1d.erlotinib, !End.of.Expt & !Death & !is.na(...
/data/genthat_extracted_code/fracprolif/examples/qsurvival.nllik.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
879
r
library(fracprolif) ### Name: qsurvival.nllik ### Title: Negative Log-Likelihood of a Survival Function ### Aliases: qsurvival.nllik ### ** Examples data(ca1d.erlotinib) mitotic.lifespans <- subset(ca1d.erlotinib, !End.of.Expt & !Death & !is.na(...
ErrorCheck<-function(n=1000,Atype="D",Mtype="C",Ytype="C",Ctype="C",Utype="C", interact=FALSE,muC=0,varC=1,muU=0,varU=1,gamma0=0,gammaC=0, gammaU=0,varA=1,alpha0=0,alphaA=0,alphaC=0,alphaU=0,varM=1, beta0=0,betaA=0,betaM=0,betaI=0,betaC=0,betaU=0,varY=1,alp...
/R/ErrorCheck.R
no_license
SharonLutz/UmediationThread
R
false
false
5,673
r
ErrorCheck<-function(n=1000,Atype="D",Mtype="C",Ytype="C",Ctype="C",Utype="C", interact=FALSE,muC=0,varC=1,muU=0,varU=1,gamma0=0,gammaC=0, gammaU=0,varA=1,alpha0=0,alphaA=0,alphaC=0,alphaU=0,varM=1, beta0=0,betaA=0,betaM=0,betaI=0,betaC=0,betaU=0,varY=1,alp...
df0 <- data.frame(x = 1:4, y = c(2, 0, 5, 8), z = c(0.5, 1, 0.8, 1.08)) %>% mutate(z.mean= mean(z), z.dev=z-z.mean) breakv <- seq(-0.5, 0.35, by=0.025) df0$cutv <- cut(df0$z.dev, breakv)#, labels=FALSE) colv <- colorRampPalette(brewer.pal(9,"RdYlBu"))(length(breakv))[df0$cutv] colv...
/ggplot-point-size-scale.r
no_license
lauratboyer/model-range-contrxn
R
false
false
761
r
df0 <- data.frame(x = 1:4, y = c(2, 0, 5, 8), z = c(0.5, 1, 0.8, 1.08)) %>% mutate(z.mean= mean(z), z.dev=z-z.mean) breakv <- seq(-0.5, 0.35, by=0.025) df0$cutv <- cut(df0$z.dev, breakv)#, labels=FALSE) colv <- colorRampPalette(brewer.pal(9,"RdYlBu"))(length(breakv))[df0$cutv] colv...
## this function creates df that contains pts columns for each quarter and overtime createQtrOtPtsDf <- function(df, qtrPtsCol) { ## create of list of quarter points qtrPtsLst <- strsplit(df[ , qtrPtsCol], split='-') ## calculate maximum number of combined quarters and overtimes max <- max(unlist(lapply(...
/code/decommissioned/preprocessing/helper/createQtrOtPtsDf.R
no_license
Basketball4Nerds/nba_basketball_research
R
false
false
1,164
r
## this function creates df that contains pts columns for each quarter and overtime createQtrOtPtsDf <- function(df, qtrPtsCol) { ## create of list of quarter points qtrPtsLst <- strsplit(df[ , qtrPtsCol], split='-') ## calculate maximum number of combined quarters and overtimes max <- max(unlist(lapply(...
# @file MultiAnalysesVignetteDataFetch.R # # Copyright 2017 Observational Health Data Sciences and Informatics # # This file is part of CaseControl # # 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 Licens...
/extras/MultiAnalysesVignetteDataFetch.R
permissive
krfeeney89/CaseControl
R
false
false
10,577
r
# @file MultiAnalysesVignetteDataFetch.R # # Copyright 2017 Observational Health Data Sciences and Informatics # # This file is part of CaseControl # # 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 Licens...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{probTTree} \alias{probTTree} \title{Calculates the log-probability of a transmission tree} \usage{ probTTree(ttree, rOff, pOff, pi, shGen, scGen, shSam, scSam, dateT, delta_t = 0.05) } \arguments{ \item{ttree}{Transmissi...
/man/probTTree.Rd
no_license
donkeyshot/TransPhylo
R
false
true
1,225
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{probTTree} \alias{probTTree} \title{Calculates the log-probability of a transmission tree} \usage{ probTTree(ttree, rOff, pOff, pi, shGen, scGen, shSam, scSam, dateT, delta_t = 0.05) } \arguments{ \item{ttree}{Transmissi...
# This R script is for a simulation study # to make a comparason between # Bellavia's and Valeri's decomposition (BV method) and our proposed decomposition # in a non-sequential two-mediator scenario setwd("D:/JCI/Again_JCI/New_Sub/Simulation_BV_Our") #######################################################...
/simulation_study.R
no_license
flourish-727/data_analysis
R
false
false
32,190
r
# This R script is for a simulation study # to make a comparason between # Bellavia's and Valeri's decomposition (BV method) and our proposed decomposition # in a non-sequential two-mediator scenario setwd("D:/JCI/Again_JCI/New_Sub/Simulation_BV_Our") #######################################################...
context("cat") test_that("break text", { expect_length(break_text("text with words", "with"), 3) expect_length(break_text("longer text with many words", c("text", "many")), 5) }) test_that("colourize", { input <- "text with words" output <- colorize(input, yellow = "with") if (crayon::has_color()) { #...
/tests/testthat/test-cat.R
permissive
lbartnik/utilities
R
false
false
479
r
context("cat") test_that("break text", { expect_length(break_text("text with words", "with"), 3) expect_length(break_text("longer text with many words", c("text", "many")), 5) }) test_that("colourize", { input <- "text with words" output <- colorize(input, yellow = "with") if (crayon::has_color()) { #...
suppressMessages(library(doParallel)) registerDoParallel(makeCluster(detectCores() - 1)) for (replicas in 1:ciclos){ for (k in vark){ for (n in varn){ source('~/GitHub/Simulacion/Simulacion/P11/P11.R') paralelo<-cbind("original",replicas,k,n,t) source('~/GitHub/Simulacion/Simula...
/P1/Codigos/Comparacion.R
no_license
angelesmttz/Simulacion
R
false
false
555
r
suppressMessages(library(doParallel)) registerDoParallel(makeCluster(detectCores() - 1)) for (replicas in 1:ciclos){ for (k in vark){ for (n in varn){ source('~/GitHub/Simulacion/Simulacion/P11/P11.R') paralelo<-cbind("original",replicas,k,n,t) source('~/GitHub/Simulacion/Simula...
## This File is Written by m1gao #' plot the current weather condition based on the object of class \code{\link{PWS-class}} #' #' \code{plotPWS} plots the current weather conditions for original search location and the nearby PWS's that are contained in an object of class \code{\link{PWS-class}}. It gets the weather ...
/R/plotPWScurrent.R
no_license
mengyigao/PWS
R
false
false
4,344
r
## This File is Written by m1gao #' plot the current weather condition based on the object of class \code{\link{PWS-class}} #' #' \code{plotPWS} plots the current weather conditions for original search location and the nearby PWS's that are contained in an object of class \code{\link{PWS-class}}. It gets the weather ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/boruta.R \name{process_importances} \alias{process_importances} \title{process_importances} \usage{ process_importances(importances) } \arguments{ \item{importances}{a list of xgboost style importances} } \description{ A function to aggregate...
/man/process_importances.Rd
permissive
gm209/gmtools
R
false
true
446
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/boruta.R \name{process_importances} \alias{process_importances} \title{process_importances} \usage{ process_importances(importances) } \arguments{ \item{importances}{a list of xgboost style importances} } \description{ A function to aggregate...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sayHello.R \name{sayHello} \alias{sayHello} \title{A function for say hello.} \usage{ sayHello(txt = "Hello") } \arguments{ \item{txt}{a txt or char.} } \description{ A function for say hello. }
/man/sayHello.Rd
no_license
IWMHUST/PackageDemo
R
false
true
273
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sayHello.R \name{sayHello} \alias{sayHello} \title{A function for say hello.} \usage{ sayHello(txt = "Hello") } \arguments{ \item{txt}{a txt or char.} } \description{ A function for say hello. }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tempflow-predicates.R \name{reachable.tempflow} \alias{reachable.tempflow} \title{Is a function that takes a 'tempflow'-object and two point-names (or point-ids) and tests whether one point ("endPoint") can be reached from the other ("startPo...
/man/reachable.tempflow.Rd
no_license
KonstantinRK/tempnetwork
R
false
true
1,156
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tempflow-predicates.R \name{reachable.tempflow} \alias{reachable.tempflow} \title{Is a function that takes a 'tempflow'-object and two point-names (or point-ids) and tests whether one point ("endPoint") can be reached from the other ("startPo...
#' A S4 class to analyze spatial properties in 2D environments #' #' Use to get firing rate maps of neurons in an open field. #' It can get information scores, sparsity, etc. #' You can use it to analyze the firing properties of grid cells or border cells. #' Can do some shuffling to get the spatial properties that yo...
/R/SpatialProperties2d.R
no_license
Antoniahg/relectro
R
false
false
100,650
r
#' A S4 class to analyze spatial properties in 2D environments #' #' Use to get firing rate maps of neurons in an open field. #' It can get information scores, sparsity, etc. #' You can use it to analyze the firing properties of grid cells or border cells. #' Can do some shuffling to get the spatial properties that yo...
#' Use a specific plan for a future assignment #' #' @usage fassignment \%plan\% strategy #' #' @param fassignment The future assignment, e.g. #' \code{x \%<-\% \{ expr \}}. #' @param strategy The mechanism for how the future should be #' resolved. See \code{\link{plan}()} for further details. #' #' @seea...
/R/plan_OP.R
no_license
DarwinAwardWinner/future
R
false
false
880
r
#' Use a specific plan for a future assignment #' #' @usage fassignment \%plan\% strategy #' #' @param fassignment The future assignment, e.g. #' \code{x \%<-\% \{ expr \}}. #' @param strategy The mechanism for how the future should be #' resolved. See \code{\link{plan}()} for further details. #' #' @seea...
# Intrinio API # # Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://i...
/R/ApiResponseSecurityStockPrices.r
no_license
federico-700/r-sdk
R
false
false
5,312
r
# Intrinio API # # Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://i...
hpc <- read.table("household_power_consumption.txt", sep = ";", header = TRUE, na.strings = "?") hpc$dt <- strptime(paste(hpc$Date, hpc$Time), "%d/%m/%Y %H:%M:%S") hpc$Date <- as.Date(hpc$Date, "%d/%m/%Y") hpc_sub <- subset(hpc, Date >= as.Date("2007-02-01") & Date <= as.Date("2007-02-02")) ## graph 1 hist(hpc_s...
/C4 W1 project.R
no_license
rosebane/ExData_Plotting1
R
false
false
1,738
r
hpc <- read.table("household_power_consumption.txt", sep = ";", header = TRUE, na.strings = "?") hpc$dt <- strptime(paste(hpc$Date, hpc$Time), "%d/%m/%Y %H:%M:%S") hpc$Date <- as.Date(hpc$Date, "%d/%m/%Y") hpc_sub <- subset(hpc, Date >= as.Date("2007-02-01") & Date <= as.Date("2007-02-02")) ## graph 1 hist(hpc_s...
library(tidyverse) # Load and rename variables definitions <- read.table("UCI HAR Dataset/features.txt") activities <- read.table("UCI HAR Dataset/activity_labels.txt") test_data <- read.table("UCI HAR Dataset/test/X_test.txt") test_label <- read.table("UCI HAR Dataset/test/Y_test.txt") test_sub <- read.table...
/run_analysis.R
no_license
gmvitz/getting_and_cleaning_data_pr
R
false
false
2,360
r
library(tidyverse) # Load and rename variables definitions <- read.table("UCI HAR Dataset/features.txt") activities <- read.table("UCI HAR Dataset/activity_labels.txt") test_data <- read.table("UCI HAR Dataset/test/X_test.txt") test_label <- read.table("UCI HAR Dataset/test/Y_test.txt") test_sub <- read.table...
path <- file.path("..", "household_power_consumption.txt") header <- read.table(path, sep = ";", nrow = 1) df <- read.table(path, sep = ";", skip = 66637, nrow = 2880) colnames(df) <- sapply(header, as.character) df$Date <- as.Date(df$Date, "%d/%m/%Y") df[] <- sapply(df, as.character) df[,3:9] <- sapply(df[,3:9], as.nu...
/plot2.R
no_license
bxleo/ExData_Plotting1
R
false
false
576
r
path <- file.path("..", "household_power_consumption.txt") header <- read.table(path, sep = ";", nrow = 1) df <- read.table(path, sep = ";", skip = 66637, nrow = 2880) colnames(df) <- sapply(header, as.character) df$Date <- as.Date(df$Date, "%d/%m/%Y") df[] <- sapply(df, as.character) df[,3:9] <- sapply(df[,3:9], as.nu...
library(SentimentAnalysis) context("Dictionary generation") library(tm) library(spikeslab) test_that("dictionary generations works correctly", { # Create a vector of strings documents <- c("This is a good thing!", "This is a very good thing!", "This is okay.", ...
/tests/testthat/test.generateDictionary.R
permissive
Keveene/SentimentAnalysis
R
false
false
2,572
r
library(SentimentAnalysis) context("Dictionary generation") library(tm) library(spikeslab) test_that("dictionary generations works correctly", { # Create a vector of strings documents <- c("This is a good thing!", "This is a very good thing!", "This is okay.", ...
library(ggplot2) leg <- theme(legend.text = element_text(size = 12), legend.title=element_blank(), plot.title = element_text(size = 16, face="bold"), plot.subtitle = element_text(size = 12),axis.title.x = element_text(size=12), axis.text.x = element_text(size=12), axis.title.y = element_text(size=12), axis.text.y = el...
/exper/exp0045/exp0045Printa.R
no_license
jbrowne6/exper
R
false
false
733
r
library(ggplot2) leg <- theme(legend.text = element_text(size = 12), legend.title=element_blank(), plot.title = element_text(size = 16, face="bold"), plot.subtitle = element_text(size = 12),axis.title.x = element_text(size=12), axis.text.x = element_text(size=12), axis.title.y = element_text(size=12), axis.text.y = el...
# This program contains code as well as responses to Linear Models Lab 6. # Please note, there is no LM 5 # # @author Sarah Stepak # @program Stepak LM6.R # @since 04.23.2021 # @dataset Credit_version_2.csv # Import statements library(ggplot2) credit <- CreditV2 #imports the dataset # Fits a model to predict...
/Labs/Linear Models/Stepak LM6.R
no_license
dusteenie/MAT-328
R
false
false
1,071
r
# This program contains code as well as responses to Linear Models Lab 6. # Please note, there is no LM 5 # # @author Sarah Stepak # @program Stepak LM6.R # @since 04.23.2021 # @dataset Credit_version_2.csv # Import statements library(ggplot2) credit <- CreditV2 #imports the dataset # Fits a model to predict...
\alias{GdkScreen} \name{GdkScreen} \title{GdkScreen} \description{Object representing a physical screen} \section{Methods and Functions}{ \code{\link{gdkScreenGetDefault}()}\cr \code{\link{gdkScreenGetDefaultColormap}(object)}\cr \code{\link{gdkScreenSetDefaultColormap}(object, colormap)}\cr \code{\link{gdkScreenGetSys...
/man/GdkScreen.Rd
no_license
cran/RGtk2
R
false
false
4,429
rd
\alias{GdkScreen} \name{GdkScreen} \title{GdkScreen} \description{Object representing a physical screen} \section{Methods and Functions}{ \code{\link{gdkScreenGetDefault}()}\cr \code{\link{gdkScreenGetDefaultColormap}(object)}\cr \code{\link{gdkScreenSetDefaultColormap}(object, colormap)}\cr \code{\link{gdkScreenGetSys...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lengths_linter.R \name{lengths_linter} \alias{lengths_linter} \title{Require usage of \code{lengths()} where possible} \usage{ lengths_linter() } \description{ \code{\link[=lengths]{lengths()}} is a function that was added to base R in versio...
/man/lengths_linter.Rd
permissive
cordis-dev/lintr
R
false
true
1,003
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lengths_linter.R \name{lengths_linter} \alias{lengths_linter} \title{Require usage of \code{lengths()} where possible} \usage{ lengths_linter() } \description{ \code{\link[=lengths]{lengths()}} is a function that was added to base R in versio...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/render.R \name{render} \alias{render} \title{Simplified Rmarkdown rendering} \usage{ render(file, quiet) } \arguments{ \item{file}{A character string path to the file that is to be rendered. This file must be of type Rmarkdown (.Rmd)} \item{...
/man/render.Rd
no_license
ekstroem/dataMaid
R
false
true
1,019
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/render.R \name{render} \alias{render} \title{Simplified Rmarkdown rendering} \usage{ render(file, quiet) } \arguments{ \item{file}{A character string path to the file that is to be rendered. This file must be of type Rmarkdown (.Rmd)} \item{...
all_R_files <- list.files(path = ".", pattern = "R$") ith_file <- all_R_files[5] print(ith_file) sapply(all_R_files, function(ith_file) { print(ith_file) sum(nchar(readLines(ith_file))) }) jth_file <- all_R_files[5] sapply(all_R_files, function(ith_file) { print(jth_file) sum(nchar(readLines(jth_file))) }) l...
/petle.R
no_license
michbur/R-with-Kasia
R
false
false
2,860
r
all_R_files <- list.files(path = ".", pattern = "R$") ith_file <- all_R_files[5] print(ith_file) sapply(all_R_files, function(ith_file) { print(ith_file) sum(nchar(readLines(ith_file))) }) jth_file <- all_R_files[5] sapply(all_R_files, function(ith_file) { print(jth_file) sum(nchar(readLines(jth_file))) }) l...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sec2hms.R \name{sec2hms} \alias{sec2hms} \alias{min2hms} \title{Convert decimal times to h:mm:ss format} \usage{ sec2hms(x, nearest = T) min2hms(x, nearest = T) } \arguments{ \item{x}{Decimal number to be converted.} \item{nearest}{Whether ...
/man/sec2hms.Rd
permissive
bldavies/bldr
R
false
true
676
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sec2hms.R \name{sec2hms} \alias{sec2hms} \alias{min2hms} \title{Convert decimal times to h:mm:ss format} \usage{ sec2hms(x, nearest = T) min2hms(x, nearest = T) } \arguments{ \item{x}{Decimal number to be converted.} \item{nearest}{Whether ...
## Exploratory Data Analysis - Week1- Assigmnent 1 ## Code by : Sudipto Mitra ## File Name : Plot2.R ## Purpose : Plotting "Global Active Power" to Frequency for Period of 01-02 Feb 2007 ## Dataset : Uc Irvine Machine Learning Dataset #########################################################################...
/plot2.R
no_license
sudiptomitra/ExData_Plotting1
R
false
false
2,071
r
## Exploratory Data Analysis - Week1- Assigmnent 1 ## Code by : Sudipto Mitra ## File Name : Plot2.R ## Purpose : Plotting "Global Active Power" to Frequency for Period of 01-02 Feb 2007 ## Dataset : Uc Irvine Machine Learning Dataset #########################################################################...
# Function to create a lattice with random connections from a lattice with # weighted conenctions # Date: 030419 # name of teh file: create_random_Wlattice_net_function.R # Note: # 18-mar-19: # # Inputs: xy = layout of the lattice # edg = edgelist with the weights # p = probability of ...
/create_random_Wlattice_net_function.R
no_license
MAValle/Percolation_data_code
R
false
false
1,367
r
# Function to create a lattice with random connections from a lattice with # weighted conenctions # Date: 030419 # name of teh file: create_random_Wlattice_net_function.R # Note: # 18-mar-19: # # Inputs: xy = layout of the lattice # edg = edgelist with the weights # p = probability of ...
## our problem is to write a pair of functions that cache the inverse of a matrix ## makeCacheMatrix: This function creates a special "matrix" object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- functi...
/cachematrix.R
no_license
tik0099/ProgrammingAssignment2
R
false
false
1,058
r
## our problem is to write a pair of functions that cache the inverse of a matrix ## makeCacheMatrix: This function creates a special "matrix" object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- functi...
numPerPatch10282 <- c(2488,2512)
/NatureEE-data-archive/Run203021/JAFSdata/JAFSnumPerPatch10282.R
no_license
flaxmans/NatureEE2017
R
false
false
33
r
numPerPatch10282 <- c(2488,2512)
## @knitr setup knitr::opts_chunk$set(echo = FALSE) knitr::opts_chunk$set(warning = FALSE) knitr::opts_chunk$set(message = FALSE) # set any missing NAs in tables to blank options(knitr.kable.NA = '') # load R packages library(fivethirtyeight) library(tidyverse) library(knitr) library(kableExtra) library(ggthemes) li...
/code/setup.R
no_license
tfpeterson/Module5_project1
R
false
false
558
r
## @knitr setup knitr::opts_chunk$set(echo = FALSE) knitr::opts_chunk$set(warning = FALSE) knitr::opts_chunk$set(message = FALSE) # set any missing NAs in tables to blank options(knitr.kable.NA = '') # load R packages library(fivethirtyeight) library(tidyverse) library(knitr) library(kableExtra) library(ggthemes) li...
# App backend for projects by user # Change date selection for appropriate table updateDateRangeInput(session = session, inputId = "dates", start = as_tibble(dbGetQuery(db, "SELECT MIN(day) FROM project_users"))$`MIN(day)`, end = as_tibble(dbGetQuery(db, "SELECT MAX(day) ...
/app_project_users.R
no_license
OSU-HPCC/log_stats
R
false
false
1,215
r
# App backend for projects by user # Change date selection for appropriate table updateDateRangeInput(session = session, inputId = "dates", start = as_tibble(dbGetQuery(db, "SELECT MIN(day) FROM project_users"))$`MIN(day)`, end = as_tibble(dbGetQuery(db, "SELECT MAX(day) ...
`p.filter` <- function(idir, odir) { cur = getwd() Ppath = system.file("perl", package="CNsolidate") setwd(Ppath) command = paste("perl makeFilter.pl ", idir, " ", odir, sep="") system(command) setwd(cur) }
/R/p.filter.R
no_license
tf2/CNsolidate
R
false
false
229
r
`p.filter` <- function(idir, odir) { cur = getwd() Ppath = system.file("perl", package="CNsolidate") setwd(Ppath) command = paste("perl makeFilter.pl ", idir, " ", odir, sep="") system(command) setwd(cur) }
#' Arrange rows by column values #' #' @description #' This is an method for the dplyr [arrange()] generic. It generates #' the `ORDER BY` clause of the SQL query. It also affects the #' [window_order()] of windowed expressions in [mutate.tbl_lazy()]. #' #' Note that `ORDER BY` clauses can not generally appear in subqu...
/R/verb-arrange.R
permissive
tidyverse/dbplyr
R
false
false
3,153
r
#' Arrange rows by column values #' #' @description #' This is an method for the dplyr [arrange()] generic. It generates #' the `ORDER BY` clause of the SQL query. It also affects the #' [window_order()] of windowed expressions in [mutate.tbl_lazy()]. #' #' Note that `ORDER BY` clauses can not generally appear in subqu...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BanzhafConcept.R \name{rawBanzhafValue} \alias{rawBanzhafValue} \title{Compute raw Banzhaf Value} \usage{ rawBanzhafValue(v) } \arguments{ \item{v}{Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU ...
/man/rawBanzhafValue.Rd
no_license
cran/CoopGame
R
false
true
960
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BanzhafConcept.R \name{rawBanzhafValue} \alias{rawBanzhafValue} \title{Compute raw Banzhaf Value} \usage{ rawBanzhafValue(v) } \arguments{ \item{v}{Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU ...
## ----setup, include = FALSE--------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>", dev = "svg", fig.show='hold', fig.keep='all' ) library(knitr) local({ hook_plot = knit_hooks$get('plot') knit_hooks$set(plot = function(x, options) { x ...
/fuzzedpackages/nVennR/inst/doc/nVennR.R
no_license
akhikolla/testpackages
R
false
false
2,800
r
## ----setup, include = FALSE--------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>", dev = "svg", fig.show='hold', fig.keep='all' ) library(knitr) local({ hook_plot = knit_hooks$get('plot') knit_hooks$set(plot = function(x, options) { x ...
#' Logger Tree #' #' Displays a tree structure of all registered Loggers. #' #' @section Symbology: #' #' * unconfigured Loggers are displayed in gray (if your terminal supports #' colors and you have the package \pkg{crayon} installed). #' * If a logger's `threshold` is set, it is displayed in square bracket...
/R/logger_tree.R
no_license
cran/lgr
R
false
false
4,511
r
#' Logger Tree #' #' Displays a tree structure of all registered Loggers. #' #' @section Symbology: #' #' * unconfigured Loggers are displayed in gray (if your terminal supports #' colors and you have the package \pkg{crayon} installed). #' * If a logger's `threshold` is set, it is displayed in square bracket...
# title : sp500.R # date : 2020.7.25 # updated : 2022.11.24 # author : Ming-Chang Lee # email : alan9956@gmail.com # RWEPA : http://rwepa.blogspot.tw/ # Encoding : UTF-8 # sp500 資料處理與視覺化 # source: https://github.com/rwepa/DataDemo/blob/master/sp500.RData library(zoo) library(tidyverse) load("sp500....
/sp500.R
no_license
rwepa/DataDemo
R
false
false
852
r
# title : sp500.R # date : 2020.7.25 # updated : 2022.11.24 # author : Ming-Chang Lee # email : alan9956@gmail.com # RWEPA : http://rwepa.blogspot.tw/ # Encoding : UTF-8 # sp500 資料處理與視覺化 # source: https://github.com/rwepa/DataDemo/blob/master/sp500.RData library(zoo) library(tidyverse) load("sp500....
# # Phoenix R Users Group # June 21, 2017 # # Shiny Application Development - Part II # Example 4 # # Author: Charles Bradbury # # About: # ui.R: Presentation layer for the application. # # Load the shinydashboard package. We will use this # as opposed to the "shiny" package in the examples # for Part I. This will gi...
/Example_4/ui.R
no_license
cabradbury/shiny-apps-part2
R
false
false
906
r
# # Phoenix R Users Group # June 21, 2017 # # Shiny Application Development - Part II # Example 4 # # Author: Charles Bradbury # # About: # ui.R: Presentation layer for the application. # # Load the shinydashboard package. We will use this # as opposed to the "shiny" package in the examples # for Part I. This will gi...
library(shiny) library(shinydashboard) library(e1071) library(randomForest) library(rpart) library(party) library(rpart.plot) library(rattle) # pal <- c('lightgray', 'darkblue', 'red') # # def <- par(bty="l", # las=1, # bg="#F0F0F0", # col.axis="#434343", # col.main="#34343...
/presentation/global.R
permissive
AbdouSeck/neair-predictives
R
false
false
5,777
r
library(shiny) library(shinydashboard) library(e1071) library(randomForest) library(rpart) library(party) library(rpart.plot) library(rattle) # pal <- c('lightgray', 'darkblue', 'red') # # def <- par(bty="l", # las=1, # bg="#F0F0F0", # col.axis="#434343", # col.main="#34343...
# ====================================== # Comparing features of two sets of E-G predictions # ====================================== # Work in progress # Required columns: # chr # start [element start pos] # end [element end pos] # CellType # TargetGene [gene symbol] # startTSS [target gene TSS pos] # If a cell typ...
/comparePredictions.R
no_license
heinin/EG_predictions
R
false
false
35,288
r
# ====================================== # Comparing features of two sets of E-G predictions # ====================================== # Work in progress # Required columns: # chr # start [element start pos] # end [element end pos] # CellType # TargetGene [gene symbol] # startTSS [target gene TSS pos] # If a cell typ...
library(Rcompression) docx = system.file("sampleData", "XML.docx", package = "Rcompression") a = zipArchive(docx) doc = a[["word/document.xml"]] dir = tempdir() system(paste("cd", dir, "; unzip -o", docx)) txt = paste(readLines(paste(dir, "word/document.xml", sep = .Platform$file.sep)), collapse = "\r\n") txt == doc...
/tests/zip.R
permissive
omegahat/Rcompression
R
false
false
1,099
r
library(Rcompression) docx = system.file("sampleData", "XML.docx", package = "Rcompression") a = zipArchive(docx) doc = a[["word/document.xml"]] dir = tempdir() system(paste("cd", dir, "; unzip -o", docx)) txt = paste(readLines(paste(dir, "word/document.xml", sep = .Platform$file.sep)), collapse = "\r\n") txt == doc...
generate_walk <- function(positions, biased, noValSeries, jumpSize, biasPerBiasedBreak) { breakSignal <- vector("numeric", length=noValSeries) * 0 if(length(positions)>0) { # positions <- brk$index[indexWalk] temp <- sort(positions, index.return=TRUE, decreasing=TRUE) positions <- temp$x indices...
/generate_walk.R
permissive
SurfaceTemp/ISTI_Error_Worlds
R
false
false
812
r
generate_walk <- function(positions, biased, noValSeries, jumpSize, biasPerBiasedBreak) { breakSignal <- vector("numeric", length=noValSeries) * 0 if(length(positions)>0) { # positions <- brk$index[indexWalk] temp <- sort(positions, index.return=TRUE, decreasing=TRUE) positions <- temp$x indices...
#### Methods for PositionDataFrame #### ## ------------------------------------ setMethod("initialize", "PositionDataFrame", function(.Object, ..., coord, run) { if ( missing(coord) ) coord <- .Object@coord if ( missing(run) ) run <- .Object@run if ( length(run) != nrow(coord) ) run <- rep(run, length...
/R/methods2-PositionDataFrame.R
no_license
EmilySekera/Cardinal
R
false
false
8,092
r
#### Methods for PositionDataFrame #### ## ------------------------------------ setMethod("initialize", "PositionDataFrame", function(.Object, ..., coord, run) { if ( missing(coord) ) coord <- .Object@coord if ( missing(run) ) run <- .Object@run if ( length(run) != nrow(coord) ) run <- rep(run, length...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/guardduty_operations.R \name{guardduty_get_member_detectors} \alias{guardduty_get_member_detectors} \title{Describes which data sources are enabled for the member account's detector} \usage{ guardduty_get_member_detectors(DetectorId, AccountI...
/cran/paws.security.identity/man/guardduty_get_member_detectors.Rd
permissive
paws-r/paws
R
false
true
696
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/guardduty_operations.R \name{guardduty_get_member_detectors} \alias{guardduty_get_member_detectors} \title{Describes which data sources are enabled for the member account's detector} \usage{ guardduty_get_member_detectors(DetectorId, AccountI...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gene76.R \name{gene76} \alias{gene76} \title{Function to compute the Relapse Score as published by Wang et al. 2005} \usage{ gene76(data, er) } \arguments{ \item{data}{Matrix of gene expressions with samples in rows and probes in columns, dim...
/man/gene76.Rd
no_license
bhklab/genefu
R
false
true
1,402
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gene76.R \name{gene76} \alias{gene76} \title{Function to compute the Relapse Score as published by Wang et al. 2005} \usage{ gene76(data, er) } \arguments{ \item{data}{Matrix of gene expressions with samples in rows and probes in columns, dim...
library(scds) library(SingleCellExperiment) library(rsvd) library(Rtsne) library("scater") sce <- SingleCellExperiment(list(counts=as.matrix(seu@assays$RNA@counts))) colData(sce)<-DataFrame(seu@meta.data) logcounts(sce) = log1p(counts(sce)) vrs = apply(logcounts(sce),1,var) pc = rsvd::rpca(t(log...
/scds.doublets.R
no_license
chansigit/scSnippet
R
false
false
1,227
r
library(scds) library(SingleCellExperiment) library(rsvd) library(Rtsne) library("scater") sce <- SingleCellExperiment(list(counts=as.matrix(seu@assays$RNA@counts))) colData(sce)<-DataFrame(seu@meta.data) logcounts(sce) = log1p(counts(sce)) vrs = apply(logcounts(sce),1,var) pc = rsvd::rpca(t(log...
library(spam) ### Name: permutation ### Title: Permute a matrix ### Aliases: permutation permutation.spam permutation,spam-method ### permutation,matrix-method ### Keywords: array ### ** Examples A <- spam(1:12,3) P <- c(3,1,2) Q <- c(2,3,1,4) permutation(A,P,Q)-A[order(P),order(Q)] permutation(A,P,Q,ind=TRUE)-...
/data/genthat_extracted_code/spam/examples/permutation.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
331
r
library(spam) ### Name: permutation ### Title: Permute a matrix ### Aliases: permutation permutation.spam permutation,spam-method ### permutation,matrix-method ### Keywords: array ### ** Examples A <- spam(1:12,3) P <- c(3,1,2) Q <- c(2,3,1,4) permutation(A,P,Q)-A[order(P),order(Q)] permutation(A,P,Q,ind=TRUE)-...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 5446 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 5260 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 5260 c c Input Parameter (command line, fil...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Herbstritt/blackbox-01X-QBF/biu.mv.xl_ao.bb-b003-p020-MIF04-c05.blif-biu.inv.prop.bb-bmc.conf04.01X-QBF.BB1-01X.BB2-01X.BB3-Zi.with-IOC.unfold-003/biu.mv.xl_ao.bb-b003-p020-MIF04-c05.blif-biu.inv.prop.bb-bmc.conf04.01X-QBF.BB1-01X.BB2-01X.BB3-Zi.with-IOC.unf...
no_license
arey0pushpa/dcnf-autarky
R
false
false
1,778
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 5446 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 5260 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 5260 c c Input Parameter (command line, fil...
library(foreign) smoke = read.xport('SMQ_I.xpt') d = read.csv('matched_design2.csv') matches <- NULL for(g in 1:max(d$gp)){ temp = d[d$gp==g, c('X','treatment')] matches <- rbind(matches, temp$X[order(temp$treatment)]) } d$edu_5 = 1*(d$edu==5) library(plyr) d1 <- join(d, smoke[,c('SEQN', 'SMQ900'...
/Section 5/tables2_2.R
no_license
bikram12345k/BlockingAlgo
R
false
false
1,884
r
library(foreign) smoke = read.xport('SMQ_I.xpt') d = read.csv('matched_design2.csv') matches <- NULL for(g in 1:max(d$gp)){ temp = d[d$gp==g, c('X','treatment')] matches <- rbind(matches, temp$X[order(temp$treatment)]) } d$edu_5 = 1*(d$edu==5) library(plyr) d1 <- join(d, smoke[,c('SEQN', 'SMQ900'...
library(tidyverse) library(theme538) library(teamcolors) elo_by_week <- read_csv("data/nflelo.csv") montana_weeks <- elo_by_week %>% filter(qb1 == "Joe Montana") %>% arrange(date) %>% mutate(game_num = row_number()) young_weeks <- elo_by_week %>% filter(qb1 == "Steve Young") %>% arrange(date) %>% m...
/chart.R
no_license
friscojosh/montana_young_elo
R
false
false
1,854
r
library(tidyverse) library(theme538) library(teamcolors) elo_by_week <- read_csv("data/nflelo.csv") montana_weeks <- elo_by_week %>% filter(qb1 == "Joe Montana") %>% arrange(date) %>% mutate(game_num = row_number()) young_weeks <- elo_by_week %>% filter(qb1 == "Steve Young") %>% arrange(date) %>% m...
hsales <- ts(c(55, 60, 68, 63, 65, 61, 54, 52, 46, 42, 37, 30, 37, 44, 55, 53, 58, 50, 48, 45, 41, 34, 30, 24, 29, 34, 44, 54, 57, 51, 51, 53, 46, 46, 46, 39, 41, 53, 55, 62, 55, 56, 57, 59, 58, 55, 49, 47, 57, 68, 84, 81, 78, 74, 64, 74, 71, 63, 55, 51, 57, 63, 75, 85, 80, 77, 68, 72, 68, 70, 53, 50, 53, 58, 7...
/data/hsales.R
no_license
byuidatascience/fma
R
false
false
1,163
r
hsales <- ts(c(55, 60, 68, 63, 65, 61, 54, 52, 46, 42, 37, 30, 37, 44, 55, 53, 58, 50, 48, 45, 41, 34, 30, 24, 29, 34, 44, 54, 57, 51, 51, 53, 46, 46, 46, 39, 41, 53, 55, 62, 55, 56, 57, 59, 58, 55, 49, 47, 57, 68, 84, 81, 78, 74, 64, 74, 71, 63, 55, 51, 57, 63, 75, 85, 80, 77, 68, 72, 68, 70, 53, 50, 53, 58, 7...
#' Dygraph: add (multiple) horizontal lines to plot #' #' @param dygraph a dygraph object where (possibly) multiple horizontal lines #' should be added #' @param limits_df dataframe containing the limits information to be added to #' the dygraph (e.g. as retrieved by function get_thresholds()) #' @param col_limits colu...
/R/dygraph_add_limits.R
permissive
KWB-R/kwb.pilot
R
false
false
1,377
r
#' Dygraph: add (multiple) horizontal lines to plot #' #' @param dygraph a dygraph object where (possibly) multiple horizontal lines #' should be added #' @param limits_df dataframe containing the limits information to be added to #' the dygraph (e.g. as retrieved by function get_thresholds()) #' @param col_limits colu...
\name{OVpossum} \alias{OVpossum} \alias{OVpossumCH} \docType{data} \title{Orongorongo Valley Brushtail Possums} \description{ A dataset from long-term capture-recapture trapping of brushtail possums \emph{Trichosurus vulpecula} in New Zealand. } \usage{OVpossumCH} \format{ A multi-session cap...
/man/OVpossum.Rd
no_license
cran/secr
R
false
false
5,299
rd
\name{OVpossum} \alias{OVpossum} \alias{OVpossumCH} \docType{data} \title{Orongorongo Valley Brushtail Possums} \description{ A dataset from long-term capture-recapture trapping of brushtail possums \emph{Trichosurus vulpecula} in New Zealand. } \usage{OVpossumCH} \format{ A multi-session cap...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/calendar.R \name{getCalendarData} \alias{getCalendarData} \title{Return calendar events from Trading Economics API} \usage{ getCalendarData( country = NULL, indicator = NULL, id = NULL, ticker = NULL, initDate = NULL, endDate = NU...
/R/tradingeconomics/man/getCalendarData.Rd
no_license
Lingliyao/tradingeconomics
R
false
true
2,198
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/calendar.R \name{getCalendarData} \alias{getCalendarData} \title{Return calendar events from Trading Economics API} \usage{ getCalendarData( country = NULL, indicator = NULL, id = NULL, ticker = NULL, initDate = NULL, endDate = NU...
rm(list=ls()) library(zoo) library(anytime) library(schoolmath) require(data.table) require(dplyr) library(lubridate) library(jsonlite) library(RCurl) library(httr) #----------------------------------- #SP15 Forecast #----------------------------------- ## Grab SP15 Forecast. This data is pulled fr...
/NegativePriceForecastAlgorithm/Rscripts/generate_price_forecast.R
no_license
ewandersonUCDavis/REnewALL
R
false
false
7,270
r
rm(list=ls()) library(zoo) library(anytime) library(schoolmath) require(data.table) require(dplyr) library(lubridate) library(jsonlite) library(RCurl) library(httr) #----------------------------------- #SP15 Forecast #----------------------------------- ## Grab SP15 Forecast. This data is pulled fr...
rm(list=ls()) setwd("~") library(ggplot2) library(tidyverse) library(dplyr) library(lattice) library(C50) library(caret) library(gmodels) library(irr) library(psych) library(kknn) library(randomForest) library(e1071) library(caTools) library(mlbench) library(ranger) library(ROCR) library(pROC) library(kknn) library(a...
/CODE/rstudio/compara_radios.R
permissive
Daro05/tesis_accidentes
R
false
false
7,383
r
rm(list=ls()) setwd("~") library(ggplot2) library(tidyverse) library(dplyr) library(lattice) library(C50) library(caret) library(gmodels) library(irr) library(psych) library(kknn) library(randomForest) library(e1071) library(caTools) library(mlbench) library(ranger) library(ROCR) library(pROC) library(kknn) library(a...
#ML0 colors <- c("setosa" = "red", "versicolor" = "green3", "virginica" = "blue") plot(iris[, 3:4], pch = 21, bg = colors[iris$Species], col = colors[iris$Species]) euclideanDistance <- function(u, v) { sqrt(sum((u - v)^2)) } sortObjectsByDist <- function(xl, z, metricFunction = euclideanDistance) { l <- di...
/1NN.R
no_license
serega14736/ML0
R
false
false
1,031
r
#ML0 colors <- c("setosa" = "red", "versicolor" = "green3", "virginica" = "blue") plot(iris[, 3:4], pch = 21, bg = colors[iris$Species], col = colors[iris$Species]) euclideanDistance <- function(u, v) { sqrt(sum((u - v)^2)) } sortObjectsByDist <- function(xl, z, metricFunction = euclideanDistance) { l <- di...
# clear all rm( list = ls() ) #--------------------------------------------------------------------- # aqui utilizei uma função para aumentar as amostra em 100 vezes # não será necessário porque vocês tem que fazer em função de um número # de épocas muito grande repmat = function(X,m,n){ ##R equivalent of r...
/MLP.r
no_license
rfsbarreto/Topicos-IA
R
false
false
2,826
r
# clear all rm( list = ls() ) #--------------------------------------------------------------------- # aqui utilizei uma função para aumentar as amostra em 100 vezes # não será necessário porque vocês tem que fazer em função de um número # de épocas muito grande repmat = function(X,m,n){ ##R equivalent of r...
# compare model simulations with vector data using z-scores ----------------------------------- rm(list=ls()) #remove previous variable assignments # load data --------------------------------------------------------------- trait.df <- read.csv("Kenya/Concatenated_Data/SEI-SEIR/SEI-SEIR_simulations_with_trait_variatio...
/Codes/compare_vector_data_with_model_z_scores.R
no_license
jms5151/EVP
R
false
false
3,136
r
# compare model simulations with vector data using z-scores ----------------------------------- rm(list=ls()) #remove previous variable assignments # load data --------------------------------------------------------------- trait.df <- read.csv("Kenya/Concatenated_Data/SEI-SEIR/SEI-SEIR_simulations_with_trait_variatio...
# Objective: Exploratory views of household_power_consumption.txt data set. #------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------ #----------------------------------------------...
/plot2.R
no_license
lauratim/datasciencecoursera
R
false
false
1,736
r
# Objective: Exploratory views of household_power_consumption.txt data set. #------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------ #----------------------------------------------...
#En el aprendizaje automático, los datos vienen en la forma del resultado que queremos predecir y las características que usaremos para predecir el resultado. #Queremos construir un algoritmo que tome el valor de la característica como entrada y devuelva una predicción para el resultado cuando no lo sepamos. #El enfo...
/HC_SeccionN01/HC_Intro_01.R
no_license
wparedesgt/MachineLearning
R
false
false
4,312
r
#En el aprendizaje automático, los datos vienen en la forma del resultado que queremos predecir y las características que usaremos para predecir el resultado. #Queremos construir un algoritmo que tome el valor de la característica como entrada y devuelva una predicción para el resultado cuando no lo sepamos. #El enfo...
#' Extract the STT median from the output of \code{\link{DAISIE_sim}} #' @param island_replicates the result of \code{\link{DAISIE_sim}} #' @param Tpars A named list containing diversification rates considering two trait states: #' \itemize{ #' \item{[1]:A numeric with the per capita transition rate with state1} #' ...
/R/DAISIE_extract_stt_median.R
no_license
xieshu95/Test-Trasie
R
false
false
2,924
r
#' Extract the STT median from the output of \code{\link{DAISIE_sim}} #' @param island_replicates the result of \code{\link{DAISIE_sim}} #' @param Tpars A named list containing diversification rates considering two trait states: #' \itemize{ #' \item{[1]:A numeric with the per capita transition rate with state1} #' ...
load("cad1.RData") install.packages("bnlearn") source("http://bioconductor.org/biocLite.R") biocLite(c("graph", "Rgraphviz", "RBGL")) install.packages("gRain") library(gRain) #library(RHugin) library(Rgraphviz) library(gRbase) library(ggm) library(gRim) library(bnlearn) library(igraph) cad.bn <- hc(cad1) net <- as(am...
/HW4/hw41.R
permissive
limeonion/Statistical-Data-Mining-II
R
false
false
5,076
r
load("cad1.RData") install.packages("bnlearn") source("http://bioconductor.org/biocLite.R") biocLite(c("graph", "Rgraphviz", "RBGL")) install.packages("gRain") library(gRain) #library(RHugin) library(Rgraphviz) library(gRbase) library(ggm) library(gRim) library(bnlearn) library(igraph) cad.bn <- hc(cad1) net <- as(am...
############################### ####### CHI SQUARE DEMO ####### ############################### #Adapted from Max Mansolf's script (250A 2016) ?chisq.test #This function perform a chi-square test #It needs two things: observed cell counts (from data) and #expected cell counts (from theory), in the form of probabilit...
/chisq_demo.R
no_license
jguassimoreira/ucla_250_series
R
false
false
1,222
r
############################### ####### CHI SQUARE DEMO ####### ############################### #Adapted from Max Mansolf's script (250A 2016) ?chisq.test #This function perform a chi-square test #It needs two things: observed cell counts (from data) and #expected cell counts (from theory), in the form of probabilit...
library(lmtest) library(plotly) library(gridExtra) library(grid) # Autocorrelación ?acf df = read.csv("base_sin_tend.txt", sep = "\t") head(df) par(mfrow=c(2,4)) plot( df$Fecha, df$BITCOIN_COINDESK_sintend, type="l" ) plot( df$Fecha, df$USD_EUR_sintend, type="l" ) plot( df$Fecha, df$USD_EUR_sintend, type="l" ) lag...
/series/bitcoin_correlacionar.r
no_license
macramole/dataminingGrupo
R
false
false
2,293
r
library(lmtest) library(plotly) library(gridExtra) library(grid) # Autocorrelación ?acf df = read.csv("base_sin_tend.txt", sep = "\t") head(df) par(mfrow=c(2,4)) plot( df$Fecha, df$BITCOIN_COINDESK_sintend, type="l" ) plot( df$Fecha, df$USD_EUR_sintend, type="l" ) plot( df$Fecha, df$USD_EUR_sintend, type="l" ) lag...
\name{strsplit1} \alias{strsplit1} \title{ Split the first field } \description{ Split the first field from \code{x}, identified as all the characters preceding the first unquoted occurrence of \code{split}. } \usage{ strsplit1(x, split=',', Quote='"', ...) } \arguments{ \item{x}{ a character vect...
/man/strsplit1.Rd
no_license
sbgraves237/Ecfun
R
false
false
2,505
rd
\name{strsplit1} \alias{strsplit1} \title{ Split the first field } \description{ Split the first field from \code{x}, identified as all the characters preceding the first unquoted occurrence of \code{split}. } \usage{ strsplit1(x, split=',', Quote='"', ...) } \arguments{ \item{x}{ a character vect...
##-------------------------------------------- ## ## Counting/Probability R code (lecture 5) ## ## Class: PCE Data Science Methods Class ## ## Contains examples of: ## ## -More on Regression (and graph algorithms) ## ##-------------------------------------------- setwd('E:/Work/Teaching/PCE_Data_Science/5_...
/qtr2/hw5/R_Examples_Lecture5.R
no_license
kniemann/data-projects
R
false
false
9,215
r
##-------------------------------------------- ## ## Counting/Probability R code (lecture 5) ## ## Class: PCE Data Science Methods Class ## ## Contains examples of: ## ## -More on Regression (and graph algorithms) ## ##-------------------------------------------- setwd('E:/Work/Teaching/PCE_Data_Science/5_...
library(tidyverse) MechaCar_table <- read.csv(file='MechaCar_mpg.csv') lm(mpg ~ vehicle_length + vehicle_weight + spoiler_angle + ground_clearance + AWD,data=MechaCar_table) summary(lm(mpg ~ vehicle_length + vehicle_weight + spoiler_angle + ground_clearance + AWD,data=MechaCar_table)) Suspension_Coil <- read.csv(fi...
/MechaCarChallenge.RScript.R
no_license
alexabezzone/MechaCar_Statistical_Analysis
R
false
false
905
r
library(tidyverse) MechaCar_table <- read.csv(file='MechaCar_mpg.csv') lm(mpg ~ vehicle_length + vehicle_weight + spoiler_angle + ground_clearance + AWD,data=MechaCar_table) summary(lm(mpg ~ vehicle_length + vehicle_weight + spoiler_angle + ground_clearance + AWD,data=MechaCar_table)) Suspension_Coil <- read.csv(fi...
\name{PREDAResults-class} \Rdversion{1.1} \docType{class} \alias{PREDAResults-class} \title{Class "PREDAResults" ~is used to manage the PREDA analysis output } \description{this class is used to manage the basic PREDA analysis output including smoothened statistic, pvalues and qvalues.} \section{Objects from the Class}...
/man/PREDAResults-class.Rd
no_license
bernatgel/PREDAsam
R
false
false
7,887
rd
\name{PREDAResults-class} \Rdversion{1.1} \docType{class} \alias{PREDAResults-class} \title{Class "PREDAResults" ~is used to manage the PREDA analysis output } \description{this class is used to manage the basic PREDA analysis output including smoothened statistic, pvalues and qvalues.} \section{Objects from the Class}...
library(dplyr) # Windows 7 filepaths # Mac OSX filepaths # create R dataframes from csv files # setwd("C:\\Users\\m\\workspace\\blocks\\close-votes-uk\\data-prep\\output-areas-to-built-up-areas") setwd("~/workspace/blocks/close-votes-uk/data-prep/geography/output-areas-to-built-up-areas") # Where 'oa' abbreviates 'o...
/data-prep/99/00-assemble-dataset.R
no_license
micahstubbs/close-votes-uk
R
false
false
5,586
r
library(dplyr) # Windows 7 filepaths # Mac OSX filepaths # create R dataframes from csv files # setwd("C:\\Users\\m\\workspace\\blocks\\close-votes-uk\\data-prep\\output-areas-to-built-up-areas") setwd("~/workspace/blocks/close-votes-uk/data-prep/geography/output-areas-to-built-up-areas") # Where 'oa' abbreviates 'o...
suppressPackageStartupMessages(library(stars)) tif = system.file("tif/L7_ETMs.tif", package = "stars") r = read_stars(list(a = c(tif,tif), b = c(tif, tif)), proxy = TRUE) (xx = st_redimension(r, along = list(foo = 1:4))) (rr = c(xx, xx)) st_as_stars(rr) (rrr = st_redimension(rr, along = list(bar = as.Date(c("2001-01-01...
/tests/redimension.R
permissive
Nowosad/stars
R
false
false
469
r
suppressPackageStartupMessages(library(stars)) tif = system.file("tif/L7_ETMs.tif", package = "stars") r = read_stars(list(a = c(tif,tif), b = c(tif, tif)), proxy = TRUE) (xx = st_redimension(r, along = list(foo = 1:4))) (rr = c(xx, xx)) st_as_stars(rr) (rrr = st_redimension(rr, along = list(bar = as.Date(c("2001-01-01...
#' K-means optimal cluster calculation using elbow method #' #' Low-stats NbClust instability solved for data frames with less than 5 rows #' #' @param x x coordinate #' @param y y coordinate #' @param k.max max k clusters that can be generated (Default=6). #' @return kmeans cluster object, containing means, clustering...
/R/algos.R
no_license
cchoe/numerator
R
false
false
1,407
r
#' K-means optimal cluster calculation using elbow method #' #' Low-stats NbClust instability solved for data frames with less than 5 rows #' #' @param x x coordinate #' @param y y coordinate #' @param k.max max k clusters that can be generated (Default=6). #' @return kmeans cluster object, containing means, clustering...
require(plyr) #Utils: function add suffix addSuffix<- function(x, suffix) { if (!(x %in% c("Subject","Activity"))) { paste(x,suffix, sep="") } else{ x } } #Get data pathfile<-file.path(getwd(),"UCI HAR Dataset") pathfiletest<-file.path(pathfile, "test") pathfiletrain<-file.path(pathfi...
/run_analysis.R.r
no_license
faisalkabir198/run_analysis.R
R
false
false
2,515
r
require(plyr) #Utils: function add suffix addSuffix<- function(x, suffix) { if (!(x %in% c("Subject","Activity"))) { paste(x,suffix, sep="") } else{ x } } #Get data pathfile<-file.path(getwd(),"UCI HAR Dataset") pathfiletest<-file.path(pathfile, "test") pathfiletrain<-file.path(pathfi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geoLet.wrappingFunctions.R \name{GLT.rotateToAlign} \alias{GLT.rotateToAlign} \title{Remap the ROI points according to the raster geomery of image} \usage{ GLT.rotateToAlign(obj.geoLet, ROIName) } \arguments{ \item{obj.geoLet}{the object geoL...
/man/GLT.rotateToAlign.Rd
no_license
robertogattabs/RadAgent
R
false
true
929
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geoLet.wrappingFunctions.R \name{GLT.rotateToAlign} \alias{GLT.rotateToAlign} \title{Remap the ROI points according to the raster geomery of image} \usage{ GLT.rotateToAlign(obj.geoLet, ROIName) } \arguments{ \item{obj.geoLet}{the object geoL...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/QCcorrectionMultiLOESS.R \name{QCcorrectionMultiLOESS} \alias{QCcorrectionMultiLOESS} \title{Generate values for metabolites normalization} \usage{ QCcorrectionMultiLOESS(LCdata) } \arguments{ \item{LCdata}{Matrix of data obtained (m...
/man/QCcorrectionMultiLOESS.Rd
no_license
cran/MetaboQC
R
false
true
883
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/QCcorrectionMultiLOESS.R \name{QCcorrectionMultiLOESS} \alias{QCcorrectionMultiLOESS} \title{Generate values for metabolites normalization} \usage{ QCcorrectionMultiLOESS(LCdata) } \arguments{ \item{LCdata}{Matrix of data obtained (m...