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
## ----setup------------------------------------------------------------------------------------------------------------------------- #set working directory path_to_code<-rstudioapi::getActiveDocumentContext()$path main_directory<-strsplit(path_to_code,"/[a-zA-Z0-9_-]*.R$")[[1]] setwd(main_directory) #Set time variable...
/charls.R
no_license
lt2710/parental-wealth-impact
R
false
false
31,017
r
## ----setup------------------------------------------------------------------------------------------------------------------------- #set working directory path_to_code<-rstudioapi::getActiveDocumentContext()$path main_directory<-strsplit(path_to_code,"/[a-zA-Z0-9_-]*.R$")[[1]] setwd(main_directory) #Set time variable...
rm(list = ls()) library(foreach) library(doParallel) #********Data Storing************************** outputnumber = '2' setwd("~/density_estimation") outputfilecsv = paste("diffq",outputnumber,".csv",sep="") outputfile = paste("diffq",outputnumber,".Rdata",sep="") #************Data Simulation parameters**********...
/diffq_exam2.R
no_license
shyamalendusinha/density_estimation
R
false
false
33,378
r
rm(list = ls()) library(foreach) library(doParallel) #********Data Storing************************** outputnumber = '2' setwd("~/density_estimation") outputfilecsv = paste("diffq",outputnumber,".csv",sep="") outputfile = paste("diffq",outputnumber,".Rdata",sep="") #************Data Simulation parameters**********...
# # This is the user-interface definition of a Shiny web application. You can # run the application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Define UI shinyUI(fluidPage( # Application title titlePanel("Visualiz...
/code/app_check_submission_eu/ui.R
permissive
NSSAC/covid19-forecast-hub-europe
R
false
false
2,918
r
# # This is the user-interface definition of a Shiny web application. You can # run the application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Define UI shinyUI(fluidPage( # Application title titlePanel("Visualiz...
library(shiny) library(miniUI) multiplyNumbers <- function(numbers1, numbers2){ ui <- miniPage( gadgetTitleBar("Multiply Two Numbers"), miniContentPanel( selectInput("num1","First Number", choices = numbers1), ...
/9-Developing Data Products/Scripts/Gadget_shiny_2.R
no_license
jtellez93/Data-Science
R
false
false
755
r
library(shiny) library(miniUI) multiplyNumbers <- function(numbers1, numbers2){ ui <- miniPage( gadgetTitleBar("Multiply Two Numbers"), miniContentPanel( selectInput("num1","First Number", choices = numbers1), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/factorize_codelist.R \name{factorize_codelist.character} \alias{factorize_codelist.character} \title{Coerce Character with Codelist to Factor} \usage{ \method{factorize_codelist}{character}(x, ...) } \arguments{ \item{x}{character} \item{......
/man/factorize_codelist.character.Rd
no_license
romainfrancois/yamlet
R
false
true
825
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/factorize_codelist.R \name{factorize_codelist.character} \alias{factorize_codelist.character} \title{Coerce Character with Codelist to Factor} \usage{ \method{factorize_codelist}{character}(x, ...) } \arguments{ \item{x}{character} \item{......
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/document_package.R \name{document_package} \alias{document_package} \title{Get R6 skeleton for a package} \usage{ document_package(pkg_name, out_dir = file.path(getwd(), "roxy_docsy")) } \arguments{ \item{pkg_name}{Name of the package to docu...
/man/document_package.Rd
permissive
jameslamb/rsixygen
R
false
true
603
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/document_package.R \name{document_package} \alias{document_package} \title{Get R6 skeleton for a package} \usage{ document_package(pkg_name, out_dir = file.path(getwd(), "roxy_docsy")) } \arguments{ \item{pkg_name}{Name of the package to docu...
library(officer) library(mschart) library(tidyverse) library(incidence) library(rvg) my_pres <- read_pptx() my_pres <- my_pres %>% add_slide(layout = "Title and Content", master = "Office Theme") my_pres <- my_pres %>% ph_with_text(type = "title", str = "A title") %>% ph_with_text(type = "ftr", str = "A foot...
/R/pptx_example.R
no_license
RECON-gathering-March-2018/wordexcel-reports
R
false
false
2,003
r
library(officer) library(mschart) library(tidyverse) library(incidence) library(rvg) my_pres <- read_pptx() my_pres <- my_pres %>% add_slide(layout = "Title and Content", master = "Office Theme") my_pres <- my_pres %>% ph_with_text(type = "title", str = "A title") %>% ph_with_text(type = "ftr", str = "A foot...
# System Settings Sys.setlocale("LC_TIME", locale = "C") # Data Input inputFilePath <- "../household_power_consumption.txt" selectedData <- read.table(pipe(paste('grep "^[12]/2/2007" ', inputFilePath)), sep = ";"); header <- c("Date", "Time", "Global_active_power", "Global_reactive_power", ...
/plot4.R
no_license
echonesis/ExData_Plotting1
R
false
false
1,541
r
# System Settings Sys.setlocale("LC_TIME", locale = "C") # Data Input inputFilePath <- "../household_power_consumption.txt" selectedData <- read.table(pipe(paste('grep "^[12]/2/2007" ', inputFilePath)), sep = ";"); header <- c("Date", "Time", "Global_active_power", "Global_reactive_power", ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/formatting_p.R \name{s_unique} \alias{s_unique} \title{unique values sorted} \usage{ s_unique(x, decreasing = FALSE) } \description{ unique values sorted }
/man/s_unique.Rd
no_license
nickytong/GenAnalysis
R
false
true
235
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/formatting_p.R \name{s_unique} \alias{s_unique} \title{unique values sorted} \usage{ s_unique(x, decreasing = FALSE) } \description{ unique values sorted }
\name{voronoi} \alias{delaunay} \alias{voronoi} \alias{voronoi,SpatVector-method} \alias{delaunay,SpatVector-method} \title{Voronoi diagram and Delaunay triangles} \description{ Get a Voronoi diagram or Delaunay triangles for points, or the nodes of lines or polygons } \usage{ \S4method{voronoi}{Spa...
/man/voronoi.Rd
no_license
cran/terra
R
false
false
1,316
rd
\name{voronoi} \alias{delaunay} \alias{voronoi} \alias{voronoi,SpatVector-method} \alias{delaunay,SpatVector-method} \title{Voronoi diagram and Delaunay triangles} \description{ Get a Voronoi diagram or Delaunay triangles for points, or the nodes of lines or polygons } \usage{ \S4method{voronoi}{Spa...
# Ref.) https://developer.riotgames.com/api-methods/#league-v4/GET_getAllLeaguePositionsForSummoner # Get summoner's rank game position(tier) # @param gotSummoner : result of getSummoner() # Return type : tibble, data.frame # note) This function requires 'getSummoner' function first. getTier <- function(gotSummoner) {...
/functions/getTier.R
no_license
Gwangil/C.I.GG
R
false
false
647
r
# Ref.) https://developer.riotgames.com/api-methods/#league-v4/GET_getAllLeaguePositionsForSummoner # Get summoner's rank game position(tier) # @param gotSummoner : result of getSummoner() # Return type : tibble, data.frame # note) This function requires 'getSummoner' function first. getTier <- function(gotSummoner) {...
\name{assoc} \alias{assoc} \alias{assoc,GPA-method} \title{ Association mapping } \description{ Association mapping. } \usage{ assoc( object, ... ) \S4method{assoc}{GPA}( object, FDR=0.05, fdrControl="global", pattern=NULL ) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{object}{GPA mo...
/man/assoc.Rd
no_license
jtnedoctor/GPA
R
false
false
2,544
rd
\name{assoc} \alias{assoc} \alias{assoc,GPA-method} \title{ Association mapping } \description{ Association mapping. } \usage{ assoc( object, ... ) \S4method{assoc}{GPA}( object, FDR=0.05, fdrControl="global", pattern=NULL ) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{object}{GPA mo...
\name{Viterbi_algorithm} \alias{Viterbi_algorithm} \title{ Algorithm for Decoding Hidden Markov Models (global) } \description{ The function decodes a trainded hidden Markov model into a most likely sequence of hidden states. Different to the \code{\link{local_decoding_algorithm}}, this algorithm determines the...
/man/Viterbi_algorithm.Rd
no_license
cran/HMMpa
R
false
false
5,170
rd
\name{Viterbi_algorithm} \alias{Viterbi_algorithm} \title{ Algorithm for Decoding Hidden Markov Models (global) } \description{ The function decodes a trainded hidden Markov model into a most likely sequence of hidden states. Different to the \code{\link{local_decoding_algorithm}}, this algorithm determines the...
7.1.4: #~ #1# Modify the script TreeHeight.R to do the following: #~ a~ Loads trees.csv and calculates tree heights for all trees in the data. Distances = meters. #~ b~ Creates a csv output called TreeHts.csv in Results that contains the calculated tree heights w/ original data in the following format: "Specie...
/Week3/Code/TreeHeight.R
no_license
TomDavy95ICL/CMEECourseWork
R
false
false
1,515
r
7.1.4: #~ #1# Modify the script TreeHeight.R to do the following: #~ a~ Loads trees.csv and calculates tree heights for all trees in the data. Distances = meters. #~ b~ Creates a csv output called TreeHts.csv in Results that contains the calculated tree heights w/ original data in the following format: "Specie...
testlist <- list(Beta = 0, CVLinf = -1.37672045511449e-268, FM = 3.81959242373749e-313, L50 = 0, L95 = 0, LenBins = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), SL50 = 9.9794...
/DLMtool/inst/testfiles/LBSPRgen/AFL_LBSPRgen/LBSPRgen_valgrind_files/1615829169-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
489
r
testlist <- list(Beta = 0, CVLinf = -1.37672045511449e-268, FM = 3.81959242373749e-313, L50 = 0, L95 = 0, LenBins = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), SL50 = 9.9794...
# Tests queryAnnoy(). # library(BiocNeighbors); library(testthat); source("setup.R"); source("test-query-annoy.R") set.seed(1001) test_that("queryAnnoy() behaves correctly with queries", { library(RcppAnnoy) REFFUN <- function(X, Y, k, ntrees=50) { a <- new(AnnoyEuclidean, ncol(X)) for (i in se...
/tests/testthat/test-query-annoy.R
no_license
lorenzonegro/BiocNeighbors
R
false
false
7,889
r
# Tests queryAnnoy(). # library(BiocNeighbors); library(testthat); source("setup.R"); source("test-query-annoy.R") set.seed(1001) test_that("queryAnnoy() behaves correctly with queries", { library(RcppAnnoy) REFFUN <- function(X, Y, k, ntrees=50) { a <- new(AnnoyEuclidean, ncol(X)) for (i in se...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/usehelp-package.R \docType{package} \name{usehelp-package} \alias{usehelp} \alias{usehelp-package} \title{usehelp: Use Help Text in Post, Presentation, etc} \description{ What the package does (one paragraph). } \author{ \strong{Maintainer}: ...
/man/usehelp-package.Rd
permissive
mrchypark/usehelp
R
false
true
405
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/usehelp-package.R \docType{package} \name{usehelp-package} \alias{usehelp} \alias{usehelp-package} \title{usehelp: Use Help Text in Post, Presentation, etc} \description{ What the package does (one paragraph). } \author{ \strong{Maintainer}: ...
#' Convert CSV values for precipitation and snowfall to numeric and logical #' #' `convertCsvToNumericAndLogical` adds extra variables to express #' `CsvPrecipitation` and `CsvSnowfall` in numeric and logical #' variables. #' #' The variables added are: #' #' * `PrecipitationInches`: The precipitation, accurate to t...
/orfwx/R/convertcsvtonumericandlogical.R
no_license
verumsolum/orf_weather
R
false
false
2,747
r
#' Convert CSV values for precipitation and snowfall to numeric and logical #' #' `convertCsvToNumericAndLogical` adds extra variables to express #' `CsvPrecipitation` and `CsvSnowfall` in numeric and logical #' variables. #' #' The variables added are: #' #' * `PrecipitationInches`: The precipitation, accurate to t...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hello.R, R/menzerathfunctions.R \name{seqsize} \alias{seqsize} \title{seqsize function} \usage{ seqsize(xs) } \arguments{ \item{xs}{A single imported audio file or a list of imported audio files} } \value{ A list of the number of vocalizati...
/man/seqsize.Rd
no_license
saracooper921/menzerathslawR
R
false
true
407
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hello.R, R/menzerathfunctions.R \name{seqsize} \alias{seqsize} \title{seqsize function} \usage{ seqsize(xs) } \arguments{ \item{xs}{A single imported audio file or a list of imported audio files} } \value{ A list of the number of vocalizati...
#This file compares SAS_gs, SAS_gss, sparse Kmeans and IFPCA under the regime in section 4.3. #Also need to call hill_climb and hill_climb_GSS before running this code. require(parcor) require(clusterGeneration) require(sparcl) require(bootSVD) set.seed(123) Rand_hill = rep(0,50) sdiff_hill = rep(0,50) Rand_gss = rep(...
/Table3.R
no_license
victorpu/SAS_Hill_Climb
R
false
false
3,323
r
#This file compares SAS_gs, SAS_gss, sparse Kmeans and IFPCA under the regime in section 4.3. #Also need to call hill_climb and hill_climb_GSS before running this code. require(parcor) require(clusterGeneration) require(sparcl) require(bootSVD) set.seed(123) Rand_hill = rep(0,50) sdiff_hill = rep(0,50) Rand_gss = rep(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/likebut.R \name{errors} \alias{errors} \title{Get Errors} \usage{ errors(x, ...) } \arguments{ \item{x}{object} \item{...}{passed arguments} } \description{ Gets errors. } \seealso{ Other errors: \code{\link{errors.character}()}, \code{\lin...
/man/errors.Rd
no_license
bergsmat/nonmemica
R
false
true
379
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/likebut.R \name{errors} \alias{errors} \title{Get Errors} \usage{ errors(x, ...) } \arguments{ \item{x}{object} \item{...}{passed arguments} } \description{ Gets errors. } \seealso{ Other errors: \code{\link{errors.character}()}, \code{\lin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aiplatform_objects.R \name{GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus} \alias{GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus} \title{GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus Object} \usage{ Goo...
/googleaiplatformv1.auto/man/GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus.Rd
no_license
justinjm/autoGoogleAPI
R
false
true
737
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aiplatform_objects.R \name{GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus} \alias{GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus} \title{GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus Object} \usage{ Goo...
# plot 1 #download and unzip the dataset setwd("F:/Data Science/Exploratory Data Analysis/Data") fileUrl<-"http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download(fileUrl,destfile="exdata-data-household_power_consumption.zip") unzip("exdata-data-household_power_consumption.zip",ju...
/plot1.R
no_license
wangbo2020/ExData_Plotting1
R
false
false
1,079
r
# plot 1 #download and unzip the dataset setwd("F:/Data Science/Exploratory Data Analysis/Data") fileUrl<-"http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download(fileUrl,destfile="exdata-data-household_power_consumption.zip") unzip("exdata-data-household_power_consumption.zip",ju...
largest_series_product <- function(digits, span){ }
/exercises/practice/largest-series-product/largest-series-product.R
permissive
exercism/r
R
false
false
53
r
largest_series_product <- function(digits, span){ }
########################## # Genetic Matching 03.04 # ########################## data <- read.csv("covid.csv") ## # 1. Preprocess ## source("preprocess/preprocess.0304.R") ## # 2. Genetic Matching ## # Matching m.out <- matchit(treat ~ control + pref.dummy + data.analysis$lon + data.analysis$lat...
/Fukumoto2021/do_files/do.0304.R
permissive
akira-endo/reanalysis_Fukumoto2021
R
false
false
1,329
r
########################## # Genetic Matching 03.04 # ########################## data <- read.csv("covid.csv") ## # 1. Preprocess ## source("preprocess/preprocess.0304.R") ## # 2. Genetic Matching ## # Matching m.out <- matchit(treat ~ control + pref.dummy + data.analysis$lon + data.analysis$lat...
library(animation) ### Name: iatemp ### Title: Average yearly temperatures in central Iowa ### Aliases: iatemp ### ** Examples plot(iatemp)
/data/genthat_extracted_code/animation/examples/iatemp.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
147
r
library(animation) ### Name: iatemp ### Title: Average yearly temperatures in central Iowa ### Aliases: iatemp ### ** Examples plot(iatemp)
# Wuhan coronavirus epidemic # Jan 29, 2020 # (c) Horace W. Tso today = Sys.Date() today.ch = as.character(today) if ( file.exists("CoronaV.RData") ) load("CoronaV.RData") rm(data_path, plot_path, csv_file, dat, model, last.t, latest.date) home = getwd() cat("home : ", home) data_path = paste(home, "/data/", sep=""...
/coronavirus.R
permissive
caot/Coronavirus_Epidemic
R
false
false
5,754
r
# Wuhan coronavirus epidemic # Jan 29, 2020 # (c) Horace W. Tso today = Sys.Date() today.ch = as.character(today) if ( file.exists("CoronaV.RData") ) load("CoronaV.RData") rm(data_path, plot_path, csv_file, dat, model, last.t, latest.date) home = getwd() cat("home : ", home) data_path = paste(home, "/data/", sep=""...
sink("diagnostics/geo_lmer.txt") library("lme4") library("nortest") library("RPostgreSQL") #library("sp") drv <- dbDriver("PostgreSQL") con <- dbConnect(drv,host="localhost",port="5432",dbname="basketball-m") query <- dbSendQuery(con, " select r.game_id, r.year, r.field as field, --site.longitude as site_long, --s...
/ncaa/sos/geo_lmer.R
no_license
tkthomas27/basketball-m
R
false
false
4,283
r
sink("diagnostics/geo_lmer.txt") library("lme4") library("nortest") library("RPostgreSQL") #library("sp") drv <- dbDriver("PostgreSQL") con <- dbConnect(drv,host="localhost",port="5432",dbname="basketball-m") query <- dbSendQuery(con, " select r.game_id, r.year, r.field as field, --site.longitude as site_long, --s...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \name{demo_DNA.seq} \alias{demo_DNA.seq} \title{A demo of DNA sequences} \format{ A list contains 10 DNA sequences. \describe{ The sequences are loaded by function \code{\link[seqinr]{read.fasta}}. } } \source{ DNA sequence...
/man/demo_DNA.seq.Rd
no_license
cran/LncFinder
R
false
true
441
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \name{demo_DNA.seq} \alias{demo_DNA.seq} \title{A demo of DNA sequences} \format{ A list contains 10 DNA sequences. \describe{ The sequences are loaded by function \code{\link[seqinr]{read.fasta}}. } } \source{ DNA sequence...
codeBMI <- function(mainTab) { mainTab[, 'bmi'] <- NA mainTab[which(mainTab$BMXBMI < 18.5), 'bmi'] <- 1 mainTab[which(mainTab$BMXBMI >= 18.5 & mainTab$BMXBMI < 25), 'bmi'] <- 2 mainTab[which(mainTab$BMXBMI >= 25 & mainTab$BMXBMI < 30), 'bmi'] <- 3 mainTab[which(mainTab$BMXBMI >= 30 & mainTab$BMXBMI < 35), 'bmi'] <...
/nhanes_vibration/utility.R
permissive
chiragjp/voe
R
false
false
1,000
r
codeBMI <- function(mainTab) { mainTab[, 'bmi'] <- NA mainTab[which(mainTab$BMXBMI < 18.5), 'bmi'] <- 1 mainTab[which(mainTab$BMXBMI >= 18.5 & mainTab$BMXBMI < 25), 'bmi'] <- 2 mainTab[which(mainTab$BMXBMI >= 25 & mainTab$BMXBMI < 30), 'bmi'] <- 3 mainTab[which(mainTab$BMXBMI >= 30 & mainTab$BMXBMI < 35), 'bmi'] <...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/random_number_generator.R \name{RPois} \alias{RPois} \title{Simulate random number from the Poisson distribution.} \usage{ RPois(n, lambda) } \arguments{ \item{n}{number of random values to return. If \code{length(n) > 1}, the length is taken...
/man/RPois.Rd
permissive
k-silva/amss
R
false
true
773
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/random_number_generator.R \name{RPois} \alias{RPois} \title{Simulate random number from the Poisson distribution.} \usage{ RPois(n, lambda) } \arguments{ \item{n}{number of random values to return. If \code{length(n) > 1}, the length is taken...
library(dplyr) library(stringr) library(tidyr) library(lubridate) #setwd("C:/Users/602770/Downloads/volunteer/wec/Term-Dates/Raw") setwd("/Users/Daniel/Documents/volunteer/data") df <- read.csv("2000-2020 Semester Start and End Dates.csv", header=FALSE, stringsAsFactors = FALSE) #V7 - year column is messed up, will ...
/Data Preparation/Historical/Students/Archive/2020-03-27_term-dates.R
no_license
danielsnyder116/wec-code
R
false
false
1,573
r
library(dplyr) library(stringr) library(tidyr) library(lubridate) #setwd("C:/Users/602770/Downloads/volunteer/wec/Term-Dates/Raw") setwd("/Users/Daniel/Documents/volunteer/data") df <- read.csv("2000-2020 Semester Start and End Dates.csv", header=FALSE, stringsAsFactors = FALSE) #V7 - year column is messed up, will ...
= セキュリティモデル RubyにはCGI等のプログラミングを安全に行うことを助ける為に、セキュリティ 機構が備わっています。 Rubyのセキュリティモデルは「オブジェクトの汚染」と「セーフレベル」という 仕組みによってなりたっています。 === オブジェクトの汚染 Rubyではオブジェクトは「汚染されている」とみなされることがあります。この しくみは大きく分けて二つの使われ方をします。 ひとつ目は、信用できない入力をもとに作られたオブジェクトを「汚染されてい る」とみなし、「危険な操作」の引数として使えないようにすることです。悪意 あるデータによって、プログラムが意図しない動作をする事を防ぐことを目的と しています。 ...
/refm/doc/spec/safelevel.rd
permissive
foomin10/doctree
R
false
false
11,016
rd
= セキュリティモデル RubyにはCGI等のプログラミングを安全に行うことを助ける為に、セキュリティ 機構が備わっています。 Rubyのセキュリティモデルは「オブジェクトの汚染」と「セーフレベル」という 仕組みによってなりたっています。 === オブジェクトの汚染 Rubyではオブジェクトは「汚染されている」とみなされることがあります。この しくみは大きく分けて二つの使われ方をします。 ひとつ目は、信用できない入力をもとに作られたオブジェクトを「汚染されてい る」とみなし、「危険な操作」の引数として使えないようにすることです。悪意 あるデータによって、プログラムが意図しない動作をする事を防ぐことを目的と しています。 ...
test_that("bpc returns a bpc object the bt model", { skip_on_cran() test_bt <- load_testdata('test_bt') m1 <- bpc( data = test_bt, player0 = 'player0', player1 = 'player1', result_column = 'y', model_type = 'bt', solve_ties = 'random', win_score = 'higher', iter = 1000, warmup ...
/fuzzedpackages/bpcs/tests/testthat/test-stan_bt.R
permissive
akhikolla/testpackages
R
false
false
861
r
test_that("bpc returns a bpc object the bt model", { skip_on_cran() test_bt <- load_testdata('test_bt') m1 <- bpc( data = test_bt, player0 = 'player0', player1 = 'player1', result_column = 'y', model_type = 'bt', solve_ties = 'random', win_score = 'higher', iter = 1000, warmup ...
is.plotly <- function(x) { inherits(x, "plotly") } is.formula <- function(f) { inherits(f, "formula") } is.colorbar <- function(tr) { inherits(tr, "plotly_colorbar") } is.bare.list <- function(x) { is.list(x) && !is.data.frame(x) } "%||%" <- function(x, y) { if (length(x) > 0 || is_blank(x)) x else y } #...
/plotly-master/R/utils.R
no_license
franciscorichter/dmea
R
false
false
22,892
r
is.plotly <- function(x) { inherits(x, "plotly") } is.formula <- function(f) { inherits(f, "formula") } is.colorbar <- function(tr) { inherits(tr, "plotly_colorbar") } is.bare.list <- function(x) { is.list(x) && !is.data.frame(x) } "%||%" <- function(x, y) { if (length(x) > 0 || is_blank(x)) x else y } #...
#' A simple alternative to proportional Venn diagrams #' #' A Venn diagram is a useful tool to visualise the overlap between sets of elements. #' However, often the proportions of the overlaps are not accurately depicted by the #' areas on the figure. In fact, for some configurations of the 3 sets it is even #' impo...
/R/bvenn-package.r
no_license
raivokolde/bvenn
R
false
false
1,351
r
#' A simple alternative to proportional Venn diagrams #' #' A Venn diagram is a useful tool to visualise the overlap between sets of elements. #' However, often the proportions of the overlaps are not accurately depicted by the #' areas on the figure. In fact, for some configurations of the 3 sets it is even #' impo...
shinyUI(fluidPage( titlePanel("Global Childhood Malnourishment"), sidebarLayout( sidebarPanel( helpText("Select region, gender and time range of interest"), selectInput("reg", label = "Region", choices = list("Africa", "Americas", "Easter...
/HungerApp/ui.r
no_license
Apeder/DataProducts
R
false
false
1,849
r
shinyUI(fluidPage( titlePanel("Global Childhood Malnourishment"), sidebarLayout( sidebarPanel( helpText("Select region, gender and time range of interest"), selectInput("reg", label = "Region", choices = list("Africa", "Americas", "Easter...
#' A helper function for ordering window function output #' #' This function makes it possible to control the ordering of window functions #' in R that don't have a specific ordering parameter. When translated to SQL #' it will modify the order clause of the OVER function. #' #' This function works by changing the `cal...
/R/order-by.R
permissive
tidyverse/dplyr
R
false
false
2,093
r
#' A helper function for ordering window function output #' #' This function makes it possible to control the ordering of window functions #' in R that don't have a specific ordering parameter. When translated to SQL #' it will modify the order clause of the OVER function. #' #' This function works by changing the `cal...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/claim.R \name{jwt_claim} \alias{jwt_claim} \title{Generate claim} \usage{ jwt_claim(iss = NULL, sub = NULL, aud = NULL, exp = NULL, nbf = NULL, iat = unclass(Sys.time()), jti = NULL, ...) } \arguments{ \item{iss}{(Issuer) Claim, should be r...
/man/jwt_claim.Rd
no_license
carlganz/jose
R
false
true
997
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/claim.R \name{jwt_claim} \alias{jwt_claim} \title{Generate claim} \usage{ jwt_claim(iss = NULL, sub = NULL, aud = NULL, exp = NULL, nbf = NULL, iat = unclass(Sys.time()), jti = NULL, ...) } \arguments{ \item{iss}{(Issuer) Claim, should be r...
#https://www.kaggle.com/c/bnp-paribas-cardif-claims-management svmdataset <- read.csv("C:/Users/John/Documents/AI/Trainsvm.csv", na.strings=c(".", "NA", "", "?"), strip.white=TRUE, encoding="UTF-8") svmdataset summary(svmdataset) # Build the training + tests. set.seed(1234) svmnobs <- nrow(svmdataset) svmsample <- s...
/support-vector-machine-data-prep.r
no_license
JJRyan0/code-R-notebooks-Rshiny-apps
R
false
false
9,102
r
#https://www.kaggle.com/c/bnp-paribas-cardif-claims-management svmdataset <- read.csv("C:/Users/John/Documents/AI/Trainsvm.csv", na.strings=c(".", "NA", "", "?"), strip.white=TRUE, encoding="UTF-8") svmdataset summary(svmdataset) # Build the training + tests. set.seed(1234) svmnobs <- nrow(svmdataset) svmsample <- s...
# global.R # Contains objects for ui.R and server.R # Richard A. Lent, Friday, October 25, 2019 at 8:23 AM library(shiny) library(plotly) library(googlesheets4) library(dplyr) library(tidyr) library(DT) library(readr) library(superheat) library(htmltools) library(plotly) library(vegan)
/STEMviz/global.R
no_license
richardlent/concept-mapping
R
false
false
289
r
# global.R # Contains objects for ui.R and server.R # Richard A. Lent, Friday, October 25, 2019 at 8:23 AM library(shiny) library(plotly) library(googlesheets4) library(dplyr) library(tidyr) library(DT) library(readr) library(superheat) library(htmltools) library(plotly) library(vegan)
context("Checking as.tdm") test_that("as.tdm, as.dtm, as.DocumentTermMatrix, and as.TermDocumentMatrix convert wfm, character and existing TermDocumentMatrix/DocumentTermMatrix",{ expect_true(inherits(as.dtm(DATA$state, DATA$person), "DocumentTermMatrix")) expect_true(inherits(as.tdm(DATA$state, ...
/qdap/tests/testthat/test-as.tdm.R
no_license
ingted/R-Examples
R
false
false
3,511
r
context("Checking as.tdm") test_that("as.tdm, as.dtm, as.DocumentTermMatrix, and as.TermDocumentMatrix convert wfm, character and existing TermDocumentMatrix/DocumentTermMatrix",{ expect_true(inherits(as.dtm(DATA$state, DATA$person), "DocumentTermMatrix")) expect_true(inherits(as.tdm(DATA$state, ...
library(knitr) knit2pdf("SchmidtmannKonstantinidesBinderBiomJ-R3.rnw", output = "SchmidtmannKonstantinidesBinderBiomJ-R3.tex") purl("SchmidtmannKonstantinidesBinderBiomJ-R3.rnw", documentation = 1, output = "GlobalRankTest.R") sessionInfo()
/20180826_Extract_TeX_and_R_code.R
no_license
IreneSchmidtmann/GlobalRankTest
R
false
false
241
r
library(knitr) knit2pdf("SchmidtmannKonstantinidesBinderBiomJ-R3.rnw", output = "SchmidtmannKonstantinidesBinderBiomJ-R3.tex") purl("SchmidtmannKonstantinidesBinderBiomJ-R3.rnw", documentation = 1, output = "GlobalRankTest.R") sessionInfo()
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.R \name{coef.l0ara} \alias{coef.l0ara} \title{print coefficients from a "l0ara" object.} \usage{ \method{coef}{l0ara}(object, ...) } \arguments{ \item{object}{Fitted "l0ara" object.} \item{...}{Not used argument.} } \value{ The objec...
/fuzzedpackages/l0ara/man/coef.l0ara.Rd
no_license
akhikolla/testpackages
R
false
true
699
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.R \name{coef.l0ara} \alias{coef.l0ara} \title{print coefficients from a "l0ara" object.} \usage{ \method{coef}{l0ara}(object, ...) } \arguments{ \item{object}{Fitted "l0ara" object.} \item{...}{Not used argument.} } \value{ The objec...
gwfa.Accumvar_max.calc <- function(bw, x ,dp.locat, k, robust, kernel, adaptive, p, theta, longlat, dMat,vars, n.obs, fm, rotate,scores, oblique.scores=FALSE, timeout, foreach){ requireNamespace("dplyr") temp0 <- tryCatch({ R.utils::withTimeout( fa(data.frame(x) %>% data.frame() %>% dplyr::select(vars) , ...
/R/gwfa_Accumcar_max.R
no_license
naru-T/gwefa
R
false
false
921
r
gwfa.Accumvar_max.calc <- function(bw, x ,dp.locat, k, robust, kernel, adaptive, p, theta, longlat, dMat,vars, n.obs, fm, rotate,scores, oblique.scores=FALSE, timeout, foreach){ requireNamespace("dplyr") temp0 <- tryCatch({ R.utils::withTimeout( fa(data.frame(x) %>% data.frame() %>% dplyr::select(vars) , ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_stf_parties.R \name{read_stf_parties} \alias{read_stf_parties} \title{Reads docket parties names.} \usage{ read_stf_parties(files = NULL, path = ".") } \arguments{ \item{files}{Paths to files.} \item{path}{Where to find the htmls if fil...
/man/read_stf_parties.Rd
permissive
leofn/stf
R
false
true
507
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_stf_parties.R \name{read_stf_parties} \alias{read_stf_parties} \title{Reads docket parties names.} \usage{ read_stf_parties(files = NULL, path = ".") } \arguments{ \item{files}{Paths to files.} \item{path}{Where to find the htmls if fil...
#' Apply a S3 filter object to an MSomics S3 object #' #' This function takes a filter object of class 'cvFilt', 'rmdFilt', 'moleculeFilt', 'proteomicsFilt', 'imdanovaFilt', or 'customFilt' and applies the filter to a dataset of class \code{pepData}, \code{proData}, \code{lipidData}, or \code{metabData}. #' #' @param ...
/R/applyFilt.R
no_license
NatalieHeller/pmartRqc
R
false
false
47,928
r
#' Apply a S3 filter object to an MSomics S3 object #' #' This function takes a filter object of class 'cvFilt', 'rmdFilt', 'moleculeFilt', 'proteomicsFilt', 'imdanovaFilt', or 'customFilt' and applies the filter to a dataset of class \code{pepData}, \code{proData}, \code{lipidData}, or \code{metabData}. #' #' @param ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mxr_create_annovar_inputs.R \name{mxr_create_annovar_inputs} \alias{mxr_create_annovar_inputs} \title{Create Input File for Annovar.} \usage{ mxr_create_annovar_inputs(target_list = "", alleles_from_reference = "", out_prefix = "", verbose ...
/man/mxr_create_annovar_inputs.Rd
no_license
roslen/mxr
R
false
true
1,050
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mxr_create_annovar_inputs.R \name{mxr_create_annovar_inputs} \alias{mxr_create_annovar_inputs} \title{Create Input File for Annovar.} \usage{ mxr_create_annovar_inputs(target_list = "", alleles_from_reference = "", out_prefix = "", verbose ...
get.basemap <- function(source, type, lonBounds, latBounds) { map <- get_map(location = c(mean(lonBounds), mean(latBounds)), source = source, maptype = type, zoom = 6) map <- ggmap(map) map <- map + scale_x_continuous(limits = lonBounds, expand = c(0, 0)) map <- map + scale_y_continuous(limits ...
/scripts/functions.R
no_license
wsdaniels/DJemissions
R
false
false
12,069
r
get.basemap <- function(source, type, lonBounds, latBounds) { map <- get_map(location = c(mean(lonBounds), mean(latBounds)), source = source, maptype = type, zoom = 6) map <- ggmap(map) map <- map + scale_x_continuous(limits = lonBounds, expand = c(0, 0)) map <- map + scale_y_continuous(limits ...
'data.world-r Copyright 2017 data.world, Inc. 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 applicable law or agreed to in writing, ...
/R/addFilesBySource.R
permissive
mrhelmus/data.world-r
R
false
false
3,789
r
'data.world-r Copyright 2017 data.world, Inc. 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 applicable law or agreed to in writing, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/diagnostyka_wiele_fun_pom.R \name{model_map} \alias{model_map} \title{Mapowanie zmiennych dla modelu z interakcjami} \usage{ model_map(model, zmiennaWielomianowa) } \arguments{ \item{model}{parametr klasy 'lmerMod' lub 'lm'.} \item{zmiennaWi...
/man/model_map.Rd
permissive
tzoltak/EWDwskazniki
R
false
true
713
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/diagnostyka_wiele_fun_pom.R \name{model_map} \alias{model_map} \title{Mapowanie zmiennych dla modelu z interakcjami} \usage{ model_map(model, zmiennaWielomianowa) } \arguments{ \item{model}{parametr klasy 'lmerMod' lub 'lm'.} \item{zmiennaWi...
\name{smd.vcov} \alias{smd.vcov} \title{Computing Variance-Covariance Matrices for Standardized Mean Differences} \author{ Min Lu } \usage{ smd.vcov(nt, nc, d, r, n_rt = NA, n_rc = NA, name = NULL) } \description{ The function \code{lgOR.vcov} computes effect sizes and variance-covariance matrix for multivariate meta-a...
/man/smd.vcov.Rd
no_license
cran/metavcov
R
false
false
4,740
rd
\name{smd.vcov} \alias{smd.vcov} \title{Computing Variance-Covariance Matrices for Standardized Mean Differences} \author{ Min Lu } \usage{ smd.vcov(nt, nc, d, r, n_rt = NA, n_rc = NA, name = NULL) } \description{ The function \code{lgOR.vcov} computes effect sizes and variance-covariance matrix for multivariate meta-a...
#' Generate a GRanges rda savefile from a gff file. #' #' There is not too much else to say. This uses import.gff from rtracklayer. #' I should probably steal my code from hpgltools to make this work for any #' version of a gff file, but the eupathdb is good about keeping consistent on #' this front. #' #' @param entry...
/R/make_eupath_granges.R
no_license
khughitt/EuPathDB
R
false
false
2,693
r
#' Generate a GRanges rda savefile from a gff file. #' #' There is not too much else to say. This uses import.gff from rtracklayer. #' I should probably steal my code from hpgltools to make this work for any #' version of a gff file, but the eupathdb is good about keeping consistent on #' this front. #' #' @param entry...
#' @title Automatically loops through the image registration process #' @description User friendly code to alter atlas to image registration. #' When run with defaults, this function will automatically create a list called *regis* with the length of setup$regi_z. #' Each element of that list will be NULL until manual ...
/R/regi_loop.R
no_license
ashekara/ratSMART
R
false
false
13,791
r
#' @title Automatically loops through the image registration process #' @description User friendly code to alter atlas to image registration. #' When run with defaults, this function will automatically create a list called *regis* with the length of setup$regi_z. #' Each element of that list will be NULL until manual ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/helper_functions.R \name{capitalize.caller} \alias{capitalize.caller} \alias{capitalise.caller} \title{capitalize.caller} \usage{ capitalize.caller(caller) capitalise.caller(caller) } \arguments{ \item{caller}{Character vector of callers to ...
/man/capitalize.caller.Rd
no_license
cran/varitas
R
false
true
472
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/helper_functions.R \name{capitalize.caller} \alias{capitalize.caller} \alias{capitalise.caller} \title{capitalize.caller} \usage{ capitalize.caller(caller) capitalise.caller(caller) } \arguments{ \item{caller}{Character vector of callers to ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_data.R \name{get_data} \alias{get_data} \title{Download and format coutours} \usage{ get_data() } \description{ Accesses and formats spatial data that I use frequently for static mapping }
/man/get_data.Rd
no_license
david-beauchesne/basemap
R
false
true
271
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_data.R \name{get_data} \alias{get_data} \title{Download and format coutours} \usage{ get_data() } \description{ Accesses and formats spatial data that I use frequently for static mapping }
logSumExp <- function(x) { ##========================================================= # Function to compute the log sum exp trick for avoiding # # numeric underflow and have numeric stability in the # # computations of really small numbers. # ##=========================================...
/lib/logSumExp.R
no_license
andreaskapou/Mixture-Models
R
false
false
431
r
logSumExp <- function(x) { ##========================================================= # Function to compute the log sum exp trick for avoiding # # numeric underflow and have numeric stability in the # # computations of really small numbers. # ##=========================================...
\name{fillNA2.randomUniformForest} \alias{fillNA2.randomUniformForest} \alias{rufImpute} %- Also NEED an '\alias' for EACH other topic documented here. \title{Missing values imputation by randomUniformForest} \description{ Impute missing values using randomUniformForest. Each variable containing missing values...
/man/fillNA2.randomUniformForest.Rd
no_license
cran/randomUniformForest
R
false
false
6,815
rd
\name{fillNA2.randomUniformForest} \alias{fillNA2.randomUniformForest} \alias{rufImpute} %- Also NEED an '\alias' for EACH other topic documented here. \title{Missing values imputation by randomUniformForest} \description{ Impute missing values using randomUniformForest. Each variable containing missing values...
" Elaborado por: Eduard Martinez Fecha: 12/08/2020 Nota: Para evitar conflictos entre los diferentes sistema operativos, no se usan acentos ni caracteres especiales a lo largo de este script " #++++++++++++++++++++++++++++++# # Lenguaje orientado a objetos # #++++++++++++++++++++++++++++++# a = 2 b = seq(1,10,1) #++...
/codes/Clase 1.R
no_license
jd-quintero/Clase_1
R
false
false
5,027
r
" Elaborado por: Eduard Martinez Fecha: 12/08/2020 Nota: Para evitar conflictos entre los diferentes sistema operativos, no se usan acentos ni caracteres especiales a lo largo de este script " #++++++++++++++++++++++++++++++# # Lenguaje orientado a objetos # #++++++++++++++++++++++++++++++# a = 2 b = seq(1,10,1) #++...
#Workhorse Function for the STM model #compared to the original we have more initializations, # more explicit options, trimmed fat, memoization stm.control <- function(documents, vocab, settings, model=NULL) { globaltime <- proc.time() verbose <- settings$verbose ########## #Step 1: Initialize Parameters ...
/R/stm.control.R
no_license
anhnguyendepocen/stm
R
false
false
6,560
r
#Workhorse Function for the STM model #compared to the original we have more initializations, # more explicit options, trimmed fat, memoization stm.control <- function(documents, vocab, settings, model=NULL) { globaltime <- proc.time() verbose <- settings$verbose ########## #Step 1: Initialize Parameters ...
require(VGAM) modccdfCal <- function(xmin, raw_dat){ dif <- raw_dat$value - xmin u <- which(dif > 0)[1] l <- max(u - 1, 1) x_dif <- raw_dat$value[l] - raw_dat$value[u] y_dif <- raw_dat$ccdf[l] - raw_dat$ccdf[u] scale <- raw_dat$ccdf[l] - y_dif*(xmin - raw_dat$value[l]...
/plaw.R
no_license
rwchan13/ddp-app
R
false
false
2,219
r
require(VGAM) modccdfCal <- function(xmin, raw_dat){ dif <- raw_dat$value - xmin u <- which(dif > 0)[1] l <- max(u - 1, 1) x_dif <- raw_dat$value[l] - raw_dat$value[u] y_dif <- raw_dat$ccdf[l] - raw_dat$ccdf[u] scale <- raw_dat$ccdf[l] - y_dif*(xmin - raw_dat$value[l]...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/periodic-times.R \name{full_seq} \alias{full_seq} \title{Create the full sequence of values in a vector} \usage{ full_seq(x, period, ...) } \arguments{ \item{x}{a numeric or date vector} \item{period}{Gap between each observation. The existi...
/man/full_seq.Rd
permissive
bristol-vaccine-centre/growthrates
R
false
true
694
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/periodic-times.R \name{full_seq} \alias{full_seq} \title{Create the full sequence of values in a vector} \usage{ full_seq(x, period, ...) } \arguments{ \item{x}{a numeric or date vector} \item{period}{Gap between each observation. The existi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/seurat.R \name{setup} \alias{setup} \title{Setup Seurat object} \usage{ setup(object, project, min.cells = 3, min.genes = 2500, is.expr = 1, do.scale = TRUE, do.center = TRUE, names.field = 1, names.delim = "_", meta.data = NULL, save.raw...
/man/setup.Rd
no_license
paodan/studySeu
R
false
true
1,617
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/seurat.R \name{setup} \alias{setup} \title{Setup Seurat object} \usage{ setup(object, project, min.cells = 3, min.genes = 2500, is.expr = 1, do.scale = TRUE, do.center = TRUE, names.field = 1, names.delim = "_", meta.data = NULL, save.raw...
# check an object of class bn. check.bn = function(bn) { if (missing(bn)) stop("an object of class 'bn' is required.") if (!is(bn, "bn")) { stop(sprintf("%s must be an object of class 'bn'.", deparse(substitute(bn)))) }#THEN }#CHECK.BN # check two bn's against each other. match.bn = funct...
/R/sanitization-models.R
no_license
MariusDanner/bnlearn
R
false
false
3,529
r
# check an object of class bn. check.bn = function(bn) { if (missing(bn)) stop("an object of class 'bn' is required.") if (!is(bn, "bn")) { stop(sprintf("%s must be an object of class 'bn'.", deparse(substitute(bn)))) }#THEN }#CHECK.BN # check two bn's against each other. match.bn = funct...
library(rbvs) ### Name: subsample ### Title: Generates subsamples. ### Aliases: subsample ### ** Examples subsample(10,5,2) subsample(10,3,10)
/data/genthat_extracted_code/rbvs/examples/subsample.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
150
r
library(rbvs) ### Name: subsample ### Title: Generates subsamples. ### Aliases: subsample ### ** Examples subsample(10,5,2) subsample(10,3,10)
# script na naplnanie databazy #vymaze vsetko okrem funkcii #rm(list = setdiff(ls(), lsf.str())) options(digits = 6) library("RPostgreSQL") library("neuralnet") library("sirad") library('plyr') library("randomForest") source('~/GitHub/baka/R source/funkcie.R') # nastavenia a premenne { e <- list() e$gho <- TRUE ...
/R source/predikcia.R
no_license
olimora/baka
R
false
false
6,320
r
# script na naplnanie databazy #vymaze vsetko okrem funkcii #rm(list = setdiff(ls(), lsf.str())) options(digits = 6) library("RPostgreSQL") library("neuralnet") library("sirad") library('plyr') library("randomForest") source('~/GitHub/baka/R source/funkcie.R') # nastavenia a premenne { e <- list() e$gho <- TRUE ...
context("Test skyscraper shape") test_that("skyscraper is 100 rows by 9 columns", { expect_equal(nrow(skyscraper), 100) expect_equal(ncol(skyscraper), 9) })
/tests/testthat/test-skyscraper.R
no_license
csiu/skyscraper
R
false
false
162
r
context("Test skyscraper shape") test_that("skyscraper is 100 rows by 9 columns", { expect_equal(nrow(skyscraper), 100) expect_equal(ncol(skyscraper), 9) })
# makeCacheMatrix and cacheSolve are functions that can be used to create a # named matrix, for which the inverse matrix wil be cached the first time the # calculation of the inverse is invoked. Subsequent invocations will generate # the result from cache, thereby preventing the cost of a renewed calculation. # makeC...
/cachematrix.R
no_license
mawest/ProgrammingAssignment2
R
false
false
1,396
r
# makeCacheMatrix and cacheSolve are functions that can be used to create a # named matrix, for which the inverse matrix wil be cached the first time the # calculation of the inverse is invoked. Subsequent invocations will generate # the result from cache, thereby preventing the cost of a renewed calculation. # makeC...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filtering.R \name{strain-filtering} \alias{strain-filtering} \alias{minfilt} \alias{minfilt.default} \title{Minimum phase filtering} \usage{ minfilt(y, scenario = c("ones_to_fivem", "fivem_to_onehr"), verbose = TRUE) \method{minfilt}{default...
/man/strain-filtering.Rd
no_license
abarbour/strain
R
false
true
882
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filtering.R \name{strain-filtering} \alias{strain-filtering} \alias{minfilt} \alias{minfilt.default} \title{Minimum phase filtering} \usage{ minfilt(y, scenario = c("ones_to_fivem", "fivem_to_onehr"), verbose = TRUE) \method{minfilt}{default...
description <- function(x) attr(x, "description") "description<-" <- function(x, value){ if(is.character(value) && nchar(value) == 0) value <- NULL attr(x, "description") <- value invisible(x) } documentation <- function(x) attr(x, "documentation") "documentation<-" <- function(x, value){ if(is.character...
/R/description.R
no_license
cran/tis
R
false
false
417
r
description <- function(x) attr(x, "description") "description<-" <- function(x, value){ if(is.character(value) && nchar(value) == 0) value <- NULL attr(x, "description") <- value invisible(x) } documentation <- function(x) attr(x, "documentation") "documentation<-" <- function(x, value){ if(is.character...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/taucharts.R \name{tau_guide_y} \alias{tau_guide_y} \title{Control y-axis padding, label, scale & tick format} \usage{ tau_guide_y(tau, padding = NULL, label = NULL, label_padding = NULL, auto_scale = TRUE, tick_period = NULL, tick_f...
/man/tau_guide_y.Rd
no_license
ThoDuyNguyen/taucharts
R
false
false
1,223
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/taucharts.R \name{tau_guide_y} \alias{tau_guide_y} \title{Control y-axis padding, label, scale & tick format} \usage{ tau_guide_y(tau, padding = NULL, label = NULL, label_padding = NULL, auto_scale = TRUE, tick_period = NULL, tick_f...
library(RCurl) library(rjson) library(pbapply) library(plyr) library(ggplot2) library(lubridate) library(reshape2) apikey <- 'missing' group <- 'LondonQS' depth <- 1 #uncover the dynamics of a meetup group #depth=1 default, only retrieves events and rsvps relative to the group #depth=2 retrieves members...
/R/meetup.r
permissive
ANB2/meetup
R
false
false
12,652
r
library(RCurl) library(rjson) library(pbapply) library(plyr) library(ggplot2) library(lubridate) library(reshape2) apikey <- 'missing' group <- 'LondonQS' depth <- 1 #uncover the dynamics of a meetup group #depth=1 default, only retrieves events and rsvps relative to the group #depth=2 retrieves members...
## This files defines three functions ## makeCacheMatrix takes an invertible matrix as input and reurns a list of functions ## cacheSolve takes a special invertible matrix as a parameter and returns its inverse ## testCase is a test case for the above functions ## makeCacheMatrix takes an invertible matrix as input ...
/cachematrix.R
no_license
alavingi/ProgrammingAssignment2
R
false
false
2,138
r
## This files defines three functions ## makeCacheMatrix takes an invertible matrix as input and reurns a list of functions ## cacheSolve takes a special invertible matrix as a parameter and returns its inverse ## testCase is a test case for the above functions ## makeCacheMatrix takes an invertible matrix as input ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print_data_objects.R \name{print.dataRes} \alias{print.dataRes} \title{print.dataRes} \usage{ \method{print}{dataRes}(dataRes) } \description{ For printing an S3 object of class 'dataRes': }
/man/print-dataRes.Rd
permissive
rarichardson92/pmartR
R
false
true
269
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print_data_objects.R \name{print.dataRes} \alias{print.dataRes} \title{print.dataRes} \usage{ \method{print}{dataRes}(dataRes) } \description{ For printing an S3 object of class 'dataRes': }
# Exercise 1: ggplot2 basics # Install and load `ggplot2` # You will also want to load `dplyr` library(ggplot2) library(dplyr) # For this exercise you'll be working with the `diamonds` data set included in the ggplot2 library # Use `?diamonds` to get more information about this data set (including the column descript...
/exercise-1/exercise.R
permissive
KinsTran/m14-ggplot2
R
false
false
4,579
r
# Exercise 1: ggplot2 basics # Install and load `ggplot2` # You will also want to load `dplyr` library(ggplot2) library(dplyr) # For this exercise you'll be working with the `diamonds` data set included in the ggplot2 library # Use `?diamonds` to get more information about this data set (including the column descript...
#' @export #' newTree.default <- function(input) { arbol <- tstTree() contador <- 0 if(!file.exists(input)[1]){ for (word in input) { arbol <- addWord(arbol,as.character(word)) contador <- contador + 1 if (contador %% 10000 == 0) { print(contador) } } } ...
/TSTr/R/newTree.default.R
no_license
ingted/R-Examples
R
false
false
710
r
#' @export #' newTree.default <- function(input) { arbol <- tstTree() contador <- 0 if(!file.exists(input)[1]){ for (word in input) { arbol <- addWord(arbol,as.character(word)) contador <- contador + 1 if (contador %% 10000 == 0) { print(contador) } } } ...
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #' Dig Into UTF-8 Byte Codes #' #' @title halfwidthr-debug #' @name halfwidthr-debug #' #' @description #' \code{hexdump} prints a given UTF-8 string in hex format. #' #' \code{hexinterpret}...
/R/RcppExports.R
no_license
yutannihilation/halfwidthr
R
false
false
1,646
r
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #' Dig Into UTF-8 Byte Codes #' #' @title halfwidthr-debug #' @name halfwidthr-debug #' #' @description #' \code{hexdump} prints a given UTF-8 string in hex format. #' #' \code{hexinterpret}...
#' Carrots soil requirement for land evaluation #' #' A dataset containing the soil characteristics of the crop requirements for farming Banana. #' #' @details #' The following are the factors for evaluation: #' #' \itemize{ #' \item CFragm - Coarse fragment (Vol.\%) #' \item SoilDpt - Soil ...
/RDOCS/CARROTSSoil.R
no_license
alstat/ALUES_dataprep
R
false
false
994
r
#' Carrots soil requirement for land evaluation #' #' A dataset containing the soil characteristics of the crop requirements for farming Banana. #' #' @details #' The following are the factors for evaluation: #' #' \itemize{ #' \item CFragm - Coarse fragment (Vol.\%) #' \item SoilDpt - Soil ...
library(ISLR) set.seed(2) train=sample(392,196) #to split teh set of observations #?sample lm.fit=lm(mpg~horsepower,data=Auto,subset=train) #subset option in lm() to fit a linear regression using only #observations corresponding to the training set. attach(Auto) mean((mpg-predict(lm.fit,Auto))[-train]^2) #predict(...
/Module6_lab_ex/M6_lab.r
no_license
pkakria/249P_AppliedDataAnalytics-
R
false
false
3,468
r
library(ISLR) set.seed(2) train=sample(392,196) #to split teh set of observations #?sample lm.fit=lm(mpg~horsepower,data=Auto,subset=train) #subset option in lm() to fit a linear regression using only #observations corresponding to the training set. attach(Auto) mean((mpg-predict(lm.fit,Auto))[-train]^2) #predict(...
library(RNetCDF) library(ncdf4) library(sf) check_geom <- function(data, returndata) { expect_equal(nrow(data), nrow(returndata)) expect_equal(sf::st_coordinates(returndata), sf::st_coordinates(data)) } is_hole <- function(x) { one <- seq(1, nrow(x)) two <- c(nrow(x), se...
/tests/testthat/helper-functions.R
permissive
cran/ncdfgeom
R
false
false
4,729
r
library(RNetCDF) library(ncdf4) library(sf) check_geom <- function(data, returndata) { expect_equal(nrow(data), nrow(returndata)) expect_equal(sf::st_coordinates(returndata), sf::st_coordinates(data)) } is_hole <- function(x) { one <- seq(1, nrow(x)) two <- c(nrow(x), se...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_fl_hist.R \name{fl.hist} \alias{fl.hist} \title{fl.hist} \usage{ fl.hist(species, my125) } \arguments{ \item{species}{three digit species code (e.g. '081')} \item{my125}{the location of the FN125 data (e.g. fndata$FN125)} } \description...
/man/fl.hist.Rd
no_license
sarbeech/gfsR
R
false
true
346
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_fl_hist.R \name{fl.hist} \alias{fl.hist} \title{fl.hist} \usage{ fl.hist(species, my125) } \arguments{ \item{species}{three digit species code (e.g. '081')} \item{my125}{the location of the FN125 data (e.g. fndata$FN125)} } \description...
make_map <- function(filename, sample_info, thresh_dat) { get_flowlines <- function(streamorder, mapRange){ postURL <- "https://cida.usgs.gov/nwc/geoserver/nhdplus/ows" filterXML <- paste0('<?xml version="1.0"?>', '<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" xmlns:x...
/4_summarize_data/src/map_thresholds.R
no_license
limnoliver/pah_glri
R
false
false
8,803
r
make_map <- function(filename, sample_info, thresh_dat) { get_flowlines <- function(streamorder, mapRange){ postURL <- "https://cida.usgs.gov/nwc/geoserver/nhdplus/ows" filterXML <- paste0('<?xml version="1.0"?>', '<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" xmlns:x...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/xregMultiplier.R \name{xregMultiplier} \alias{xregMultiplier} \title{Exogenous variables cross-products} \usage{ xregMultiplier(xreg, silent = TRUE, ...) } \arguments{ \item{xreg}{matrix or data.frame, containing variables that need to be exp...
/man/xregMultiplier.Rd
no_license
rohitpandey13/greybox
R
false
true
1,382
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/xregMultiplier.R \name{xregMultiplier} \alias{xregMultiplier} \title{Exogenous variables cross-products} \usage{ xregMultiplier(xreg, silent = TRUE, ...) } \arguments{ \item{xreg}{matrix or data.frame, containing variables that need to be exp...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getWeights.R \name{getWeights} \alias{getWeights} \title{Return weights calculated using raking algorism} \usage{ getWeights(inds, cons, feat, tols = 0.0115) } \arguments{ \item{inds}{a dataframe of individual survey data, in the form of indi...
/man/getWeights.Rd
no_license
xinBrueck/raking
R
false
true
977
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getWeights.R \name{getWeights} \alias{getWeights} \title{Return weights calculated using raking algorism} \usage{ getWeights(inds, cons, feat, tols = 0.0115) } \arguments{ \item{inds}{a dataframe of individual survey data, in the form of indi...
library(Seurat) library(scran) library(ggplot2) library(gplots) library(ggbiplot) library(cluster) c1llu <- read.table("/data/tri_data/primary/2018_03_10XGenomics_SLE_whole_blood_MiSeq/biyx/FDA/subsampleing/WaferGen/Seq2/10K/counts_hcc1395bl.txt",header=T,stringsAsFactors = FALSE,sep="\t", quote="") c1llu2 <- read.tab...
/3_Normalization/Code/HCC1395BL/seurat_run/waferGen.seurat.seq2.R
no_license
oxwang/fda_scRNA-seq
R
false
false
6,964
r
library(Seurat) library(scran) library(ggplot2) library(gplots) library(ggbiplot) library(cluster) c1llu <- read.table("/data/tri_data/primary/2018_03_10XGenomics_SLE_whole_blood_MiSeq/biyx/FDA/subsampleing/WaferGen/Seq2/10K/counts_hcc1395bl.txt",header=T,stringsAsFactors = FALSE,sep="\t", quote="") c1llu2 <- read.tab...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/utilities.R \name{texture} \alias{texture} \title{Convert an image file or uri to a three.js texture} \usage{ texture(data) } \arguments{ \item{data}{A character string file name referring to an image file, or referring to an image ur...
/man/texture.Rd
permissive
sdwfrost/epiwidgets
R
false
false
1,683
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/utilities.R \name{texture} \alias{texture} \title{Convert an image file or uri to a three.js texture} \usage{ texture(data) } \arguments{ \item{data}{A character string file name referring to an image file, or referring to an image ur...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/schemas_operations.R \name{schemas_get_discovered_schema} \alias{schemas_get_discovered_schema} \title{Get the discovered schema that was generated based on sampled events} \usage{ schemas_get_discovered_schema(Events, Type) } \arguments{ \it...
/paws/man/schemas_get_discovered_schema.Rd
permissive
johnnytommy/paws
R
false
true
648
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/schemas_operations.R \name{schemas_get_discovered_schema} \alias{schemas_get_discovered_schema} \title{Get the discovered schema that was generated based on sampled events} \usage{ schemas_get_discovered_schema(Events, Type) } \arguments{ \it...
library(shiny) library(shinydashboard) library(dplyr) library(tidyr) library(plotly) library(dygraphs) library(xts) library(DT) # Function to get the first day of the month, given a date monthStart <- function(x) { x <- as.POSIXlt(x) x$mday <- 1 as.Date(x) } # Local path # setwd("~/Documents/NYCDSA/Project 2") ...
/MigrationPattern - Shiny app/global.R
no_license
SwarnenduSengupta/Projects
R
false
false
2,651
r
library(shiny) library(shinydashboard) library(dplyr) library(tidyr) library(plotly) library(dygraphs) library(xts) library(DT) # Function to get the first day of the month, given a date monthStart <- function(x) { x <- as.POSIXlt(x) x$mday <- 1 as.Date(x) } # Local path # setwd("~/Documents/NYCDSA/Project 2") ...
library(officer) ### Name: ph_add_fpar ### Title: append fpar ### Aliases: ph_add_fpar ### ** Examples library(magrittr) bold_face <- shortcuts$fp_bold(font.size = 30) bold_redface <- update(bold_face, color = "red") fpar_ <- fpar(ftext("Hello ", prop = bold_face), ftext("World", prop = bold_redface ), ftext(...
/data/genthat_extracted_code/officer/examples/ph_add_fpar.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
592
r
library(officer) ### Name: ph_add_fpar ### Title: append fpar ### Aliases: ph_add_fpar ### ** Examples library(magrittr) bold_face <- shortcuts$fp_bold(font.size = 30) bold_redface <- update(bold_face, color = "red") fpar_ <- fpar(ftext("Hello ", prop = bold_face), ftext("World", prop = bold_redface ), ftext(...
clusternumbers <- function (data, cls = NULL, max.nc, index = 'all', min.nc = 2, print.status = FALSE, method = NULL) { # berechnet die Kennzah...
/DbtTools/ClusteringAlgorithms/R/clusternumbers.R
no_license
markus-flicke/KD_Projekt_1
R
false
false
46,939
r
clusternumbers <- function (data, cls = NULL, max.nc, index = 'all', min.nc = 2, print.status = FALSE, method = NULL) { # berechnet die Kennzah...
#' @export makeRLearner.classif.ranger = function() { makeRLearnerClassif( cl = "classif.ranger", package = "ranger", par.set = makeParamSet( makeIntegerLearnerParam(id = "num.trees", lower = 1L, default = 500L), makeIntegerLearnerParam(id = "mtry", lower = 1L), makeNumericLearnerParam(...
/R/RLearner_classif_ranger.R
no_license
dagola/mlr
R
false
false
3,827
r
#' @export makeRLearner.classif.ranger = function() { makeRLearnerClassif( cl = "classif.ranger", package = "ranger", par.set = makeParamSet( makeIntegerLearnerParam(id = "num.trees", lower = 1L, default = 500L), makeIntegerLearnerParam(id = "mtry", lower = 1L), makeNumericLearnerParam(...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 19878 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 19878 c c Input Parameter (command line, file): c input filename QBFLIB/Tentrup/mult-matrix/mult_bool_matrix_8_6_9.sat.qdimacs...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Tentrup/mult-matrix/mult_bool_matrix_8_6_9.sat/mult_bool_matrix_8_6_9.sat.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
659
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 19878 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 19878 c c Input Parameter (command line, file): c input filename QBFLIB/Tentrup/mult-matrix/mult_bool_matrix_8_6_9.sat.qdimacs...
window<-gwindow("Long words") mainwindow<-ggroup(horizontal=FALSE,container=window) windowgroup2<-ggroup(horizontal=TRUE,container=mainwindow) label3<-glabel("Enter the lenth of word ",container=windowgroup2) text1<-gedit(container=windowgroup2) windowgroup3<-ggroup(horizontal=TRUE,container=mainwindow) label1<-glabel(...
/longwords_GUI.R
no_license
dependency-injection/NLP
R
false
false
898
r
window<-gwindow("Long words") mainwindow<-ggroup(horizontal=FALSE,container=window) windowgroup2<-ggroup(horizontal=TRUE,container=mainwindow) label3<-glabel("Enter the lenth of word ",container=windowgroup2) text1<-gedit(container=windowgroup2) windowgroup3<-ggroup(horizontal=TRUE,container=mainwindow) label1<-glabel(...
### This script creates an N table by subgroups and examines collinearity ### in proposed predictors. It also outputs a cleaned data.frame. ### ### Ellyn Butler ### May 7, 2020 - May 19, 2020 # Load libraries library('dplyr') library('ggcorrplot') library('ggplot2') library('ggpubr') # Load data full_df <- read.csv("...
/scripts/descriptiveStats.R
no_license
barzilab1/traumaCOVID
R
false
false
5,878
r
### This script creates an N table by subgroups and examines collinearity ### in proposed predictors. It also outputs a cleaned data.frame. ### ### Ellyn Butler ### May 7, 2020 - May 19, 2020 # Load libraries library('dplyr') library('ggcorrplot') library('ggplot2') library('ggpubr') # Load data full_df <- read.csv("...
# The Goldstein-Price function is a global optimization test function. It has only # two variables and the following definition # # f(x1, x2) = [1+(x1 + x2 + 1)^2*(19-14x1 + 3x1 ^ 2 - 14 x2 + 6x1x2 + 3 x2 ^ 2) ] # * [30 + (2x1 - 3x2) ^ 2 * (18-32x1 + 12 x1^2) + 48x2 - 36x1x2 + 27x2^2 ] # # Test area is usua...
/GoldsteinPriceFunction.R
no_license
chapinux/TestFunction_GA
R
false
false
1,145
r
# The Goldstein-Price function is a global optimization test function. It has only # two variables and the following definition # # f(x1, x2) = [1+(x1 + x2 + 1)^2*(19-14x1 + 3x1 ^ 2 - 14 x2 + 6x1x2 + 3 x2 ^ 2) ] # * [30 + (2x1 - 3x2) ^ 2 * (18-32x1 + 12 x1^2) + 48x2 - 36x1x2 + 27x2^2 ] # # Test area is usua...
## DataPrep_03_WRgroups_Summarize-GrowingSeason.R # This script is intended to summarize GrowingSeason ET, land cover, and irrigation status for each WR group. source(file.path("code", "paths+packages.R")) ## load WR groups # output from script DataPrep_02_WRgroups_SummarizeUse+Fields.R wrg_fields <- readr::read_csv(...
/code/old_deprecated/DataPrep_XX_WRgroups_Summarize-GrowingSeason.R
no_license
samzipper/SD-6_MapWaterConservation
R
false
false
3,144
r
## DataPrep_03_WRgroups_Summarize-GrowingSeason.R # This script is intended to summarize GrowingSeason ET, land cover, and irrigation status for each WR group. source(file.path("code", "paths+packages.R")) ## load WR groups # output from script DataPrep_02_WRgroups_SummarizeUse+Fields.R wrg_fields <- readr::read_csv(...
# These functions are # Copyright (C) 1998-2015 T.W. Yee, University of Auckland. # All rights reserved. rcim <- function(y, family = poissonff, Rank = 0, M1 = NULL, weights = NULL, which.linpred = 1, Index.corner = ifelse(is.null(str0)...
/VGAM/R/family.rcim.R
no_license
ingted/R-Examples
R
false
false
33,856
r
# These functions are # Copyright (C) 1998-2015 T.W. Yee, University of Auckland. # All rights reserved. rcim <- function(y, family = poissonff, Rank = 0, M1 = NULL, weights = NULL, which.linpred = 1, Index.corner = ifelse(is.null(str0)...
#bar plot in ggplot2 #mtcars library(ggplot2) library(dplyr) mtcars %>% ggplot(., aes(x=factor(gear))) + geom_bar() mtcars %>% ggplot(., aes(x=factor(gear))) + geom_bar(aes(fill=factor(cyl))) mtcars %>% ggplot(., aes(x=factor(gear))) + geom_bar(aes(fill=factor(cyl))) mtcars %>% ggplot(., aes(x=factor(gear))) + ge...
/34-ggplots/ggbarplots.R
no_license
DUanalytics/rAnalytics
R
false
false
5,951
r
#bar plot in ggplot2 #mtcars library(ggplot2) library(dplyr) mtcars %>% ggplot(., aes(x=factor(gear))) + geom_bar() mtcars %>% ggplot(., aes(x=factor(gear))) + geom_bar(aes(fill=factor(cyl))) mtcars %>% ggplot(., aes(x=factor(gear))) + geom_bar(aes(fill=factor(cyl))) mtcars %>% ggplot(., aes(x=factor(gear))) + ge...
#' Is it Gameday? #' #' This function returns TRUE if your NHL team plays today #' and FALSE otherwise #' #' You know then problem: You're in your office writing R code and #' suddenly have the urge to check whether your NHL team has a game today. #' Before you know it you just wasted 15 minutes browsing the lastest #'...
/R/scores.R
no_license
craigmac2000/gameday
R
false
false
1,498
r
#' Is it Gameday? #' #' This function returns TRUE if your NHL team plays today #' and FALSE otherwise #' #' You know then problem: You're in your office writing R code and #' suddenly have the urge to check whether your NHL team has a game today. #' Before you know it you just wasted 15 minutes browsing the lastest #'...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/AGBChave2005DryHeight.R \name{AGBChv05DH} \alias{AGBChv05DH} \title{Function to estimate tree biomass for dry forests (Chave et al. 2005).Uses diameter, wood density and estimated height (Feldpausch et al. 2011) to estimate biomass.}...
/man/AGBChv05DH.Rd
no_license
geotrb/BiomasaFP
R
false
false
1,930
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/AGBChave2005DryHeight.R \name{AGBChv05DH} \alias{AGBChv05DH} \title{Function to estimate tree biomass for dry forests (Chave et al. 2005).Uses diameter, wood density and estimated height (Feldpausch et al. 2011) to estimate biomass.}...