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
#' @title calcKristWettedSA #' #'@description Calculate hull wetted surface area (\code{wettedSA}) (m^2) #' using the Kristensen method. #' #' @param shipType Ship type (vector of strings, see \code{\link{calcShipType}}). #' Must align with \code{paxTugShipTypes}, #'\code{tankerBulkCarrierGCargoShipTypes}, and \code{co...
/ShipPowerModel/R/calcKristWettedSA.r
permissive
Misterfluff/Marine_Emissions_Tools
R
false
false
5,537
r
#' @title calcKristWettedSA #' #'@description Calculate hull wetted surface area (\code{wettedSA}) (m^2) #' using the Kristensen method. #' #' @param shipType Ship type (vector of strings, see \code{\link{calcShipType}}). #' Must align with \code{paxTugShipTypes}, #'\code{tankerBulkCarrierGCargoShipTypes}, and \code{co...
library(mgwrsar) ### Name: MGWRSAR ### Title: Estimation of linear and local linear model with spatial ### autocorrelation model (mgwrsar). ### Aliases: MGWRSAR ### ** Examples ## No test: data(data_mgwrsar) coord=as.matrix(mydata[,c("x_lat","y_lon")]) model_GWR<-MGWRSAR(formula = 'Y_gwr~X1+X2+X3', data = mydata...
/data/genthat_extracted_code/mgwrsar/examples/MGWRSAR.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
711
r
library(mgwrsar) ### Name: MGWRSAR ### Title: Estimation of linear and local linear model with spatial ### autocorrelation model (mgwrsar). ### Aliases: MGWRSAR ### ** Examples ## No test: data(data_mgwrsar) coord=as.matrix(mydata[,c("x_lat","y_lon")]) model_GWR<-MGWRSAR(formula = 'Y_gwr~X1+X2+X3', data = mydata...
#' @export scTenifoldKnk #' @importFrom Matrix Matrix rowMeans rowSums #' @importFrom RSpectra svds #' @importFrom scTenifoldNet makeNetworks tensorDecomposition manifoldAlignment #' @author Daniel Osorio <dcosorioh@tamu.edu> #' @title scTenifoldKNK #' @description Predict gene perturbations #' @param countMatri...
/R/scTenifoldKnk.R
no_license
cran/scTenifoldKnk
R
false
false
4,159
r
#' @export scTenifoldKnk #' @importFrom Matrix Matrix rowMeans rowSums #' @importFrom RSpectra svds #' @importFrom scTenifoldNet makeNetworks tensorDecomposition manifoldAlignment #' @author Daniel Osorio <dcosorioh@tamu.edu> #' @title scTenifoldKNK #' @description Predict gene perturbations #' @param countMatri...
###################################################################################################################### # Function: CreateDataStructure. # Argument: Data model. # Description: This function is based on the old data_model_extract function. It performs error checks in the data model # and creates a "data ...
/R/CreateDataStructure.R
no_license
gpaux/Mediana
R
false
false
12,474
r
###################################################################################################################### # Function: CreateDataStructure. # Argument: Data model. # Description: This function is based on the old data_model_extract function. It performs error checks in the data model # and creates a "data ...
### USE UTF-8 Encoding To See Chinese ###Video4 WHO <- read.csv("WHO.csv") str(WHO) summary(WHO) WHO_EUROPE <- subset(WHO, Region=="Europe") str(WHO_EUROPE) summary(WHO_EUROPE) write.csv(WHO_EUROPE,"WHO_Europe.csv") ls() rm(WHO_EUROPE) ls() ### Video5 WHO$Under15 mean(WHO$Under15) sd(WHO$Under15) summary(WHO$Under15) ...
/Unit 1/unit1.R
no_license
theacat/AnalyticsEdge
R
false
false
5,101
r
### USE UTF-8 Encoding To See Chinese ###Video4 WHO <- read.csv("WHO.csv") str(WHO) summary(WHO) WHO_EUROPE <- subset(WHO, Region=="Europe") str(WHO_EUROPE) summary(WHO_EUROPE) write.csv(WHO_EUROPE,"WHO_Europe.csv") ls() rm(WHO_EUROPE) ls() ### Video5 WHO$Under15 mean(WHO$Under15) sd(WHO$Under15) summary(WHO$Under15) ...
data <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?") data07 <- rbind(data[data$Date == "1/2/2007",], data[data$Date == "2/2/2007",]) data07$Date <- as.Date(data07$Date, "%d/%m/%Y") data07 <- cbind(data07, "Datetime07" = as.POSIXct(paste(data07$Date, data07$Time))) plot(...
/plot2.R
no_license
pierrelam0301/ExData_Plotting1
R
false
false
502
r
data <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?") data07 <- rbind(data[data$Date == "1/2/2007",], data[data$Date == "2/2/2007",]) data07$Date <- as.Date(data07$Date, "%d/%m/%Y") data07 <- cbind(data07, "Datetime07" = as.POSIXct(paste(data07$Date, data07$Time))) plot(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/exports-base.R \name{parenthesize} \alias{parenthesize} \alias{parenthesise} \title{Wrap a string in brackets} \description{ See \code{\link[assertive.base]{parenthesize}}. }
/man/parenthesize.Rd
no_license
cran/assertive
R
false
true
253
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/exports-base.R \name{parenthesize} \alias{parenthesize} \alias{parenthesise} \title{Wrap a string in brackets} \description{ See \code{\link[assertive.base]{parenthesize}}. }
setwd("C:/Users/fer2_/Documents/GitHub/Hospitales") rankingcompleto <- function(resultado, num = "mejor") { outcome <- read.csv("outcome-of-care-measures.csv") if (resultado == "ataque"){ }else if (resultado == "falla") { }else if (resultado == "neumonia"){ ...
/Caso2/rankingcompleto.R
no_license
FernandoLuna1997/Software-Acturarial-III
R
false
false
1,425
r
setwd("C:/Users/fer2_/Documents/GitHub/Hospitales") rankingcompleto <- function(resultado, num = "mejor") { outcome <- read.csv("outcome-of-care-measures.csv") if (resultado == "ataque"){ }else if (resultado == "falla") { }else if (resultado == "neumonia"){ ...
\name{Rcpp_DNL-class} \Rdversion{1.1} \docType{class} \alias{Rcpp_DNL-class} \title{Class \code{"Rcpp_DNL"}} \description{ Class for definition of linear programs with non-linear constraints. } \section{Extends}{ Class \code{"\linkS4class{C++Object}"}, directly. All reference classes extend and inherit methods fro...
/man/Rcpp_DNL-class.Rd
no_license
bpfaff/cccp
R
false
false
1,238
rd
\name{Rcpp_DNL-class} \Rdversion{1.1} \docType{class} \alias{Rcpp_DNL-class} \title{Class \code{"Rcpp_DNL"}} \description{ Class for definition of linear programs with non-linear constraints. } \section{Extends}{ Class \code{"\linkS4class{C++Object}"}, directly. All reference classes extend and inherit methods fro...
#has.singular <- function(){ # if(Sys.info()[['sysname']]=="Windows"){ # a <- system("bash.exe Singular -c 'quit;' -q -t --no-out --no-warn", # show.output.on.console=FALSE,minimized=TRUE,invisible=TRUE) # } else { # a <- system("Singular -c 'quit;' -q -t --no-out --no-warn", # ignore.stdout=TRU...
/R/singular.R
no_license
cran/mfr
R
false
false
3,357
r
#has.singular <- function(){ # if(Sys.info()[['sysname']]=="Windows"){ # a <- system("bash.exe Singular -c 'quit;' -q -t --no-out --no-warn", # show.output.on.console=FALSE,minimized=TRUE,invisible=TRUE) # } else { # a <- system("Singular -c 'quit;' -q -t --no-out --no-warn", # ignore.stdout=TRU...
####################################################################### # seriation - Infrastructure for seriation # Copyright (C) 2011 Michael Hahsler, Christian Buchta and Kurt Hornik # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
/R/seriate.R
no_license
cran/seriation
R
false
false
30,240
r
####################################################################### # seriation - Infrastructure for seriation # Copyright (C) 2011 Michael Hahsler, Christian Buchta and Kurt Hornik # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
#2 # Using taiwan_real_estate, plot price_twd_msq vs. n_convenience ggplot(taiwan_real_estate, aes(n_convenience, price_twd_msq)) + # Add a point layer geom_point() + # Add a smooth trend line using linear regr'n, no ribbon geom_smooth(method = "lm", se = FALSE) # Using taiwan_real_estate, plot price_twd_...
/intermediate regression in r/parallel slopes/2.R
no_license
SaiSharanyaY/DataCamp-Data-Scientist-with-R-Track.
R
false
false
452
r
#2 # Using taiwan_real_estate, plot price_twd_msq vs. n_convenience ggplot(taiwan_real_estate, aes(n_convenience, price_twd_msq)) + # Add a point layer geom_point() + # Add a smooth trend line using linear regr'n, no ribbon geom_smooth(method = "lm", se = FALSE) # Using taiwan_real_estate, plot price_twd_...
library(RcppCNPy) edge_names= c( "white-white", "black-white", "hispanic-white", "black-black", "hispanic-black", "hispanic-hispanic") for (edge in edge_names) { filename = paste(edge, '.npy', sep = '') print(npyLoad(filename)) }
/analysis/slides.R
no_license
fgregg/race-potts
R
false
false
264
r
library(RcppCNPy) edge_names= c( "white-white", "black-white", "hispanic-white", "black-black", "hispanic-black", "hispanic-hispanic") for (edge in edge_names) { filename = paste(edge, '.npy', sep = '') print(npyLoad(filename)) }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rmc.R \name{rmc} \alias{rmc} \title{Regression for Multiple Comparison} \usage{ rmc(data, distribution = c("dlnorm", "dnorm", "dfnorm"), level = 0.95, outplot = c("mcb", "lines", "none"), select = NULL, ...) } \arguments{ \item{data}{Matrix...
/man/rmc.Rd
no_license
rohitpandey13/greybox
R
false
true
7,015
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rmc.R \name{rmc} \alias{rmc} \title{Regression for Multiple Comparison} \usage{ rmc(data, distribution = c("dlnorm", "dnorm", "dfnorm"), level = 0.95, outplot = c("mcb", "lines", "none"), select = NULL, ...) } \arguments{ \item{data}{Matrix...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-movie.R \docType{data} \name{movie_170} \alias{movie_170} \title{Clerks.} \format{igraph object} \source{ https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/T4HBA3 https://www.imdb.com/title/tt0109445 } \usage{ mov...
/man/movie_170.Rd
permissive
kjhealy/networkdata
R
false
true
995
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-movie.R \docType{data} \name{movie_170} \alias{movie_170} \title{Clerks.} \format{igraph object} \source{ https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/T4HBA3 https://www.imdb.com/title/tt0109445 } \usage{ mov...
#download file download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip","getdata-projectfiles-UCI HAR Dataset.zip") #Unzip the file system("unzip getdata-projectfiles-UCI HAR Dataset.zip") #read table train.data <- read.table("UCI HAR Dataset/train/X_train.txt",head...
/run_analysis.R
no_license
418704194/Getdata-033_project
R
false
false
2,012
r
#download file download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip","getdata-projectfiles-UCI HAR Dataset.zip") #Unzip the file system("unzip getdata-projectfiles-UCI HAR Dataset.zip") #read table train.data <- read.table("UCI HAR Dataset/train/X_train.txt",head...
test_that("fitprobit() returns the right kind of object", { toxdat <- data.frame( dose=c(0.05, 0.0625, 0.125, 0.25, 0.5, 1), ntot=rep(8, 6), nfx = c(0, 1, 4, 4, 6, 8)) fit <- fitprobit(toxdat) expect_that(fit, is_a("glm")) })
/tests/testthat/test-fitprobit.R
no_license
JVAdams/LW1949
R
false
false
245
r
test_that("fitprobit() returns the right kind of object", { toxdat <- data.frame( dose=c(0.05, 0.0625, 0.125, 0.25, 0.5, 1), ntot=rep(8, 6), nfx = c(0, 1, 4, 4, 6, 8)) fit <- fitprobit(toxdat) expect_that(fit, is_a("glm")) })
#' priorFn #' @description A utility function to help set up the \code{prior} slot in \code{biodyn}. #' #' @param ... any one of \code{r,k,p,b0,msy,bmsy,fmsy} #' #' #' @return \code{list} with om, ... #' #' @export #' @rdname priorFn #' #' @seealso \code{\link{biodyn}} #' #' @examples #' \dontrun{ #'...
/R/biodyn-priors.R
no_license
atidd/biodyn
R
false
false
2,143
r
#' priorFn #' @description A utility function to help set up the \code{prior} slot in \code{biodyn}. #' #' @param ... any one of \code{r,k,p,b0,msy,bmsy,fmsy} #' #' #' @return \code{list} with om, ... #' #' @export #' @rdname priorFn #' #' @seealso \code{\link{biodyn}} #' #' @examples #' \dontrun{ #'...
# This is the server logic for a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shiny) shinyServer(function(input, output) { output$distPlot <- renderPlot({ # generate bins based on input$bins from ui.R x <- faithful[,...
/R-script/shiny/app10/server.R
no_license
ssxk4393/Rwork_II
R
false
false
1,698
r
# This is the server logic for a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shiny) shinyServer(function(input, output) { output$distPlot <- renderPlot({ # generate bins based on input$bins from ui.R x <- faithful[,...
/Kim/data_analysis1.R
permissive
ByungjooCho/RegressionAnalysis_KingCounty
R
false
false
4,128
r
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/miss_mech_params.R \name{miss_mech_params} \alias{miss_mech_params} \title{Compute missing-mechanism parameters} \usage{ miss_mech_params(y, prob) } \arguments{ \item{y:}{(y_lo, y_center, y_hi)} \item{prob:}{(p_lo, p_center, p_hi)} } \descri...
/cytof/src/model3/cytof3/man/miss_mech_params.Rd
no_license
luiarthur/ucsc_litreview
R
false
true
366
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/miss_mech_params.R \name{miss_mech_params} \alias{miss_mech_params} \title{Compute missing-mechanism parameters} \usage{ miss_mech_params(y, prob) } \arguments{ \item{y:}{(y_lo, y_center, y_hi)} \item{prob:}{(p_lo, p_center, p_hi)} } \descri...
setMethod("show", "effectlite", function(object) { ng <- object@input@ng nk <- object@input@nk nz <- object@input@nz vnames <- object@input@vnames vlevels <- object@input@vlevels gammas <- object@parnames@gammas gammalabels <- object@parnames@gammalabels label.g.function <- "(K,Z)"...
/EffectLiteR/R/00methods.R
no_license
ingted/R-Examples
R
false
false
6,970
r
setMethod("show", "effectlite", function(object) { ng <- object@input@ng nk <- object@input@nk nz <- object@input@nz vnames <- object@input@vnames vlevels <- object@input@vlevels gammas <- object@parnames@gammas gammalabels <- object@parnames@gammalabels label.g.function <- "(K,Z)"...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/analysis_tools.R \name{split_frequencies} \alias{split_frequencies} \title{Calculate which features the forest split on at each depth.} \usage{ split_frequencies(forest, max.depth = 4) } \arguments{ \item{forest}{The trained forest.} \item{m...
/fuzzedpackages/drf/man/split_frequencies.Rd
no_license
akhikolla/testpackages
R
false
true
841
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/analysis_tools.R \name{split_frequencies} \alias{split_frequencies} \title{Calculate which features the forest split on at each depth.} \usage{ split_frequencies(forest, max.depth = 4) } \arguments{ \item{forest}{The trained forest.} \item{m...
# Author: Ana Poets # Description: Plot Fst results #################################################################################################################### rm(list=ls()) NAMES_results<-c("Fst_SPRING_vs_WINTER_all","Fst_average_80samp_10iter") for (i in 1:length(NAMES_results)){ Results_all_genmap <-read...
/script/Fst/Fst_byGrowthType/Step2_Plot_Fst_GH.R
no_license
MorrellLAB/Env_Assoc
R
false
false
4,750
r
# Author: Ana Poets # Description: Plot Fst results #################################################################################################################### rm(list=ls()) NAMES_results<-c("Fst_SPRING_vs_WINTER_all","Fst_average_80samp_10iter") for (i in 1:length(NAMES_results)){ Results_all_genmap <-read...
library(caret) library(shiny) library(LiblineaR) library(readr) library(ggplot2) load("RegularizedLogisticRegression.rda") # Load saved model source("featureMapping.R") # a function for feature engineering. # You can inclu...
/server.R
no_license
100rabh1401/R_Shiny_Machine_Learning
R
false
false
3,372
r
library(caret) library(shiny) library(LiblineaR) library(readr) library(ggplot2) load("RegularizedLogisticRegression.rda") # Load saved model source("featureMapping.R") # a function for feature engineering. # You can inclu...
## code to prepare `asrbody` dataset goes here asrbody <- read.csv("data-raw/asrbody.csv") usethis::use_data(asrbody, overwrite = TRUE)
/data-raw/asrbody.R
permissive
mladenjovanovic/athletemonitoring
R
false
false
138
r
## code to prepare `asrbody` dataset goes here asrbody <- read.csv("data-raw/asrbody.csv") usethis::use_data(asrbody, overwrite = TRUE)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{prob_k_seen} \alias{prob_k_seen} \title{Assessing likelihood of different clue search results given prior} \usage{ prob_k_seen(model, k = c(1, 1, 1, 1)) } \arguments{ \item{model}{Prior (or posterior, given XY)} \item{k}{A ...
/man/prob_k_seen.Rd
no_license
macartan/biqq
R
false
true
645
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{prob_k_seen} \alias{prob_k_seen} \title{Assessing likelihood of different clue search results given prior} \usage{ prob_k_seen(model, k = c(1, 1, 1, 1)) } \arguments{ \item{model}{Prior (or posterior, given XY)} \item{k}{A ...
/AppWarrior/Source/Libs/QuickTime/RIncludes/Sound.r
no_license
NebuHiiEjamu/Openline
R
false
false
9,586
r
# temp script for dta_hmd extracting by categories tmp <- dta_hmd %>% filter(country %in% c("gbr_sco", "gbrcenw")) %>% filter(year == 2011) %>% filter(sex != "total") %>% group_by(year, age, sex) %>% summarise( population_count = sum(population_count, na.rm=T), death_count = sum(death_count, na...
/over_under/quick_script.R
no_license
JonMinton/Statistical_Sculpture
R
false
false
933
r
# temp script for dta_hmd extracting by categories tmp <- dta_hmd %>% filter(country %in% c("gbr_sco", "gbrcenw")) %>% filter(year == 2011) %>% filter(sex != "total") %>% group_by(year, age, sex) %>% summarise( population_count = sum(population_count, na.rm=T), death_count = sum(death_count, na...
context("mtc.model.consistency") test_that("func.param.matrix was implemented correctly", { model <- list( 'type'='consistency', 'tree'=igraph::make_graph(c('A','B','A','C','B','D'))) expect_equal(matrix(0, nrow=3, dimnames=list(NULL, 'd.A.A')), mtc.model.call('func.param.matrix', model, t1...
/tests/testthat/test-unit-mtc.model.consistency.R
no_license
cran/gemtc
R
false
false
1,384
r
context("mtc.model.consistency") test_that("func.param.matrix was implemented correctly", { model <- list( 'type'='consistency', 'tree'=igraph::make_graph(c('A','B','A','C','B','D'))) expect_equal(matrix(0, nrow=3, dimnames=list(NULL, 'd.A.A')), mtc.model.call('func.param.matrix', model, t1...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Process_ACC.R \name{getDBA} \alias{getDBA} \title{Calculate dynamic body acceleration} \usage{ getDBA(X, Y, Z = NULL, time, window, frequency = NULL, partial = F) } \arguments{ \item{X}{Vector of accelerometer X value} \item{Y}{Vector of acc...
/man/getDBA.Rd
no_license
allisonglider/seabiRds
R
false
true
782
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Process_ACC.R \name{getDBA} \alias{getDBA} \title{Calculate dynamic body acceleration} \usage{ getDBA(X, Y, Z = NULL, time, window, frequency = NULL, partial = F) } \arguments{ \item{X}{Vector of accelerometer X value} \item{Y}{Vector of acc...
# CSR Test setwd("/Users/CGrisoni/Documents/workspace/TM Jasmine/src") data = read.csv( "/Users/CGrisoni/Documents/workspace/TM Jasmine/02_Extraction des données NIST/data_all.csv" ) library(ggplot2) library(spatstat) library(gridExtra) library(plotrix) # calculs de base sur la liste des données---- data = mutate( ...
/CSR_Test.R
no_license
CGrisoni/R_TMJasmine
R
false
false
45,803
r
# CSR Test setwd("/Users/CGrisoni/Documents/workspace/TM Jasmine/src") data = read.csv( "/Users/CGrisoni/Documents/workspace/TM Jasmine/02_Extraction des données NIST/data_all.csv" ) library(ggplot2) library(spatstat) library(gridExtra) library(plotrix) # calculs de base sur la liste des données---- data = mutate( ...
require(readr) require(stringr) require(tm) tbl <- read_tsv("/home/jule/labs/karpov/3grams-3.txt", col_names = F)[,-c(3,5)] tbl$X1 <- tbl$X1/sum(tbl$X1) tbl$three_grams <- paste(tbl$X2, tbl$X4, tbl$X6, sep = " ") colnames(tbl)[1] <- "prob" tbl <- subset(tbl, select = c(prob, three_grams)) saveRDS(tbl, "/home/jule/lab...
/Laryushina/perplexity_class3.R
no_license
artezio-kseniav/15-MAG-PMI
R
false
false
2,708
r
require(readr) require(stringr) require(tm) tbl <- read_tsv("/home/jule/labs/karpov/3grams-3.txt", col_names = F)[,-c(3,5)] tbl$X1 <- tbl$X1/sum(tbl$X1) tbl$three_grams <- paste(tbl$X2, tbl$X4, tbl$X6, sep = " ") colnames(tbl)[1] <- "prob" tbl <- subset(tbl, select = c(prob, three_grams)) saveRDS(tbl, "/home/jule/lab...
#Extra COXEN related functions # Kristen Brown # Collapse repeated probesets/RNAs #collapse.probes<-function(genematrix,method="max",) # Convert probe IDs to gene Names for Human-Canine COXEN #gene.convert<-function() # Select max differentially expressed genes using SAMR degs.select<-function(genematrix,...
/R/extra.coxen.functions.R
permissive
biokcb/coxen
R
false
false
3,934
r
#Extra COXEN related functions # Kristen Brown # Collapse repeated probesets/RNAs #collapse.probes<-function(genematrix,method="max",) # Convert probe IDs to gene Names for Human-Canine COXEN #gene.convert<-function() # Select max differentially expressed genes using SAMR degs.select<-function(genematrix,...
plotdata <- "./data/household_power_consumption.txt" # read and filter data for 1/2/2007 and 2/2/2007 data <- read.table(plotdata, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") subSetData <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] datetime <- strptime(paste(subSetData$Date, subSetData$Time, sep=" "...
/plot2.R
no_license
Sreehariks/ExData_Plotting1
R
false
false
553
r
plotdata <- "./data/household_power_consumption.txt" # read and filter data for 1/2/2007 and 2/2/2007 data <- read.table(plotdata, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") subSetData <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] datetime <- strptime(paste(subSetData$Date, subSetData$Time, sep=" "...
#!usr/bin/env Rscript library(methods) library(Matrix) library(MASS) #library(Rcpp) library(lme4) # Read in your data as an R dataframe basedir <- c("/seastor/helenhelen/ISR_2015") resultdir <- paste(basedir,"/me/tmap/results/mem",sep="/") setwd(resultdir) r.itemInfo <- matrix(data=NA, nr=2, nc=4) ## read data #get dat...
/ROI_based/me/mem/itemInfo_RANG_LANG.R
no_license
QQXiao/ISR_2015
R
false
false
1,628
r
#!usr/bin/env Rscript library(methods) library(Matrix) library(MASS) #library(Rcpp) library(lme4) # Read in your data as an R dataframe basedir <- c("/seastor/helenhelen/ISR_2015") resultdir <- paste(basedir,"/me/tmap/results/mem",sep="/") setwd(resultdir) r.itemInfo <- matrix(data=NA, nr=2, nc=4) ## read data #get dat...
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source("../../../scripts/h2o-r-test-setup.R") testMaxRGLMCoeffs <- function() { bhexFV <- h2o.uploadFile(locate("smalldata/logreg/prostate.csv")) Y <- "GLEASON" X <- c("AGE","RACE","CAPSULE","DCAPS","PSA","VOL","DPROS") Log.info("Build the ...
/h2o-r/tests/testdir_algos/maxrglm/runit_PUBDEV_8427_maxrglm_coeffs.R
permissive
paulo-amaral/h2o-3
R
false
false
1,165
r
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source("../../../scripts/h2o-r-test-setup.R") testMaxRGLMCoeffs <- function() { bhexFV <- h2o.uploadFile(locate("smalldata/logreg/prostate.csv")) Y <- "GLEASON" X <- c("AGE","RACE","CAPSULE","DCAPS","PSA","VOL","DPROS") Log.info("Build the ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/net.R \name{net_version} \alias{net_version} \title{Current network id.} \usage{ net_version() } \value{ String - Current network id. } \description{ \code{net_version} returns the current network id. } \examples{ \donttest{ n...
/man/net_version.Rd
no_license
cran/gethr
R
false
true
484
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/net.R \name{net_version} \alias{net_version} \title{Current network id.} \usage{ net_version() } \value{ String - Current network id. } \description{ \code{net_version} returns the current network id. } \examples{ \donttest{ n...
initialPopulation <- function(numVar, stringSize, longitudinal, consMatrix) { # how many models representing the whole range of model complexity numModels <- (numVar * (numVar + 1 ) / 2) - numVar # whether this condition or not; both lower and upper combined # thus, that is possibly of cyclic model, need to c...
/R/initialPopulation.R
no_license
rahmarid/stablespec
R
false
false
3,720
r
initialPopulation <- function(numVar, stringSize, longitudinal, consMatrix) { # how many models representing the whole range of model complexity numModels <- (numVar * (numVar + 1 ) / 2) - numVar # whether this condition or not; both lower and upper combined # thus, that is possibly of cyclic model, need to c...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/densplot.R \name{densplot} \alias{densplot} \title{densplot} \usage{ densplot(object, Total = TRUE, top = NA, densargs = NA, compare = NA, labels = NA, ...) } \arguments{ \item{object}{Either a \code{data.frame} which is the output of the \...
/man/densplot.Rd
no_license
govtmirror/NPSForVeg
R
false
true
3,117
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/densplot.R \name{densplot} \alias{densplot} \title{densplot} \usage{ densplot(object, Total = TRUE, top = NA, densargs = NA, compare = NA, labels = NA, ...) } \arguments{ \item{object}{Either a \code{data.frame} which is the output of the \...
\name{ZrehenMeasure4All} \alias{ZrehenMeasure4All} \title{ A generalized version of the zrehen-measure which defines the neighbourhood by gabrielgraph and is therefore not restricted to grid-based projections.} \arguments{ \item{weights[1:n,1:m]}{n points in input room with m attributes} \item{points[1:n,1:3]}{...
/DbtTools/Projections/man/ZrehenMeasure4All.Rd
no_license
markus-flicke/KD_Projekt_1
R
false
false
1,111
rd
\name{ZrehenMeasure4All} \alias{ZrehenMeasure4All} \title{ A generalized version of the zrehen-measure which defines the neighbourhood by gabrielgraph and is therefore not restricted to grid-based projections.} \arguments{ \item{weights[1:n,1:m]}{n points in input room with m attributes} \item{points[1:n,1:3]}{...
library(testthat) library(rdist) test_check("rdist")
/tests/testthat.R
no_license
cran/rdist
R
false
false
58
r
library(testthat) library(rdist) test_check("rdist")
library(sf) library(ggplot2) library(data.table) library(mgcv) acc <- fread("/media/sergio/ext4/MOBILAB/02) CET_Acidentes_SAT/Acidentes2018_Fev.csv", stringsAsFactors = F) acc <- acc[!is.na(acc$longitude), ] acc$time <- as.POSIXct(paste(acc$data, acc$hora), format = "%d/%m/%Y %H:%M", tz = "America/Sao_Paulo") acc$dia ...
/radartona/analizing_v5_acc.R
no_license
ibarraespinosa/mobilab_desafio4
R
false
false
1,692
r
library(sf) library(ggplot2) library(data.table) library(mgcv) acc <- fread("/media/sergio/ext4/MOBILAB/02) CET_Acidentes_SAT/Acidentes2018_Fev.csv", stringsAsFactors = F) acc <- acc[!is.na(acc$longitude), ] acc$time <- as.POSIXct(paste(acc$data, acc$hora), format = "%d/%m/%Y %H:%M", tz = "America/Sao_Paulo") acc$dia ...
########################################################################################## # Designed and developed by Tinniam V Ganesh # Date : 26 Nov 2021 # Function: teamRunSRDeathOversPlotAllOppnAllMatches # This function plot the runs vs SR for the team batsman during death overs against all opposition in # in al...
/R/teamRunSRDeathOversPlotAllOppnAllMatches.R
no_license
tvganesh/yorkr
R
false
false
3,866
r
########################################################################################## # Designed and developed by Tinniam V Ganesh # Date : 26 Nov 2021 # Function: teamRunSRDeathOversPlotAllOppnAllMatches # This function plot the runs vs SR for the team batsman during death overs against all opposition in # in al...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/source.R \name{summary_statistics} \alias{summary_statistics} \title{Get the summary statistics for} \usage{ summary_statistics(username, dates = NULL, round_aggregate = TRUE) } \arguments{ \item{username}{A vector of one or more usernames} ...
/man/summary_statistics.Rd
no_license
lejarx/Rnumerai
R
false
true
521
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/source.R \name{summary_statistics} \alias{summary_statistics} \title{Get the summary statistics for} \usage{ summary_statistics(username, dates = NULL, round_aggregate = TRUE) } \arguments{ \item{username}{A vector of one or more usernames} ...
library(ranger) library(dplyr) library(readr) library(Pomona) library(tibble) set.seed(as.numeric(snakemake@wildcards[['seed']])) counts <- readRDS(snakemake@input[['counts']]) %>% as.data.frame() %>% # transform to dataframe column_to_rownames("ts_sum_id") # set sample as rownames ## make classi...
/rna_seq/site_seeds/scripts/variable_selection_site.R
no_license
montpetitlab/Reiter_et_al_2020_SigofSite
R
false
false
1,411
r
library(ranger) library(dplyr) library(readr) library(Pomona) library(tibble) set.seed(as.numeric(snakemake@wildcards[['seed']])) counts <- readRDS(snakemake@input[['counts']]) %>% as.data.frame() %>% # transform to dataframe column_to_rownames("ts_sum_id") # set sample as rownames ## make classi...
## Check for data directory and create directory if it doesn't exist if (!file.exists("Assignment_Data")) { dir.create("Assignment_Data") } ## Download the data set, unzip the file and read the data to a data frame zip_URL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip...
/plot1.R
no_license
atwellke1984/ExData_Plotting1
R
false
false
1,047
r
## Check for data directory and create directory if it doesn't exist if (!file.exists("Assignment_Data")) { dir.create("Assignment_Data") } ## Download the data set, unzip the file and read the data to a data frame zip_URL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip...
## @knitr litters-code littersCode <- nimbleCode({ for (i in 1:G) { for (j in 1:N) { # likelihood (data model) r[i,j] ~ dbin(p[i,j], n[i,j]) # latent process (random effects) p[i,j] ~ dbeta(a[i], b[i]) } # prior for hyperparameters a[i] ~ dgamma(1, .001) b[i] ~ dgamma...
/modules/chunks_litters.R
no_license
nimble-dev/nimble-outreach
R
false
false
1,020
r
## @knitr litters-code littersCode <- nimbleCode({ for (i in 1:G) { for (j in 1:N) { # likelihood (data model) r[i,j] ~ dbin(p[i,j], n[i,j]) # latent process (random effects) p[i,j] ~ dbeta(a[i], b[i]) } # prior for hyperparameters a[i] ~ dgamma(1, .001) b[i] ~ dgamma...
PELT = function(sumstat, pen=0, cost_func = "mean.norm", shape = 1, minseglen = 1){ # function that uses the PELT method to calculate changes in mean where the segments in the data are assumed to be Normal n = length(sumstat[,1])-1 m = length(sumstat[1,]) tol = 0 if(cost_func == "mean.norm" || cost_func == "v...
/R/PELT_one_func_minseglen.R
no_license
AndreyAkinshin/changepoint-new
R
false
false
1,918
r
PELT = function(sumstat, pen=0, cost_func = "mean.norm", shape = 1, minseglen = 1){ # function that uses the PELT method to calculate changes in mean where the segments in the data are assumed to be Normal n = length(sumstat[,1])-1 m = length(sumstat[1,]) tol = 0 if(cost_func == "mean.norm" || cost_func == "v...
setwd("D:/analysis") library(pheatmap) data_pos<-read.csv("data/duishu_pos.csv",header = T,row.names = 1,sep="\t",encoding = "UTF-8") pheatmap(data_pos,cluster_col = FALSE,filename = "img/retu_pos.pdf",cellwidth = 40, cellheight = 15,fontsize = 12) data_neg<-read.csv("data/duishu_neg.csv",header = T,row.names...
/analysis/retu.R
no_license
bioWzz/Lijian
R
false
false
471
r
setwd("D:/analysis") library(pheatmap) data_pos<-read.csv("data/duishu_pos.csv",header = T,row.names = 1,sep="\t",encoding = "UTF-8") pheatmap(data_pos,cluster_col = FALSE,filename = "img/retu_pos.pdf",cellwidth = 40, cellheight = 15,fontsize = 12) data_neg<-read.csv("data/duishu_neg.csv",header = T,row.names...
setwd("F:/Twitter") ## Install/Load all relevant packages. #install.packages("twitteR") #install.packages("RCurl") #install.packages("ROAuth") #install.packages("plyr") #install.packages("wordcloud") #install.packages("devtools") #install.packages("tm") #library library(base64enc) library(twitteR) libr...
/sentiment.R
no_license
Malakondhaiah/Sentiment-Analysis
R
false
false
2,703
r
setwd("F:/Twitter") ## Install/Load all relevant packages. #install.packages("twitteR") #install.packages("RCurl") #install.packages("ROAuth") #install.packages("plyr") #install.packages("wordcloud") #install.packages("devtools") #install.packages("tm") #library library(base64enc) library(twitteR) libr...
% Generated by roxygen2 (4.0.1): do not edit by hand \name{check_adv} \alias{check_adv} \title{performs user-specified checks on adv data} \usage{ check_adv(chunk.adv, tests = "all", verbose = FALSE, ...) } \arguments{ \item{chunk.adv}{a data.frame created with load.ADV, with the window.idx column} \item{tests}{a char...
/man/check_adv.Rd
permissive
govtmirror/GDopp
R
false
false
2,343
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{check_adv} \alias{check_adv} \title{performs user-specified checks on adv data} \usage{ check_adv(chunk.adv, tests = "all", verbose = FALSE, ...) } \arguments{ \item{chunk.adv}{a data.frame created with load.ADV, with the window.idx column} \item{tests}{a char...
test_that("ibdsim() returns objects of correct class", { x = nuclearPed(1) sim = ibdsim(x, N=1, verbose=F, map=uniformMap(1), model="haldane") expect_is(sim, "genomeSimList") }) test_that("Full sib mating yields all 9 jaquard states", { x = fullSibMating(1) sim = ibdsim(x, N=1, ids = 5:6, map=unifo...
/ibdsim2/tests/testthat/test-ibdsim.R
no_license
akhikolla/TestedPackages-NoIssues
R
false
false
402
r
test_that("ibdsim() returns objects of correct class", { x = nuclearPed(1) sim = ibdsim(x, N=1, verbose=F, map=uniformMap(1), model="haldane") expect_is(sim, "genomeSimList") }) test_that("Full sib mating yields all 9 jaquard states", { x = fullSibMating(1) sim = ibdsim(x, N=1, ids = 5:6, map=unifo...
#' tidy all importFrom statements #' #' When this function is run then all `#' @importFrom package function` #' statements, in the `R` in the current working directory, will be moved #' to a file `R/0_imports.R`, cleaned and sorted. #' #' @export #' #' @examples #' \dontrun{ #' tidy_importfrom() #' } tidy_importfrom <-...
/R/tidy_importfrom.R
permissive
EmilHvitfeldt/emiladdins
R
false
false
1,898
r
#' tidy all importFrom statements #' #' When this function is run then all `#' @importFrom package function` #' statements, in the `R` in the current working directory, will be moved #' to a file `R/0_imports.R`, cleaned and sorted. #' #' @export #' #' @examples #' \dontrun{ #' tidy_importfrom() #' } tidy_importfrom <-...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/assertions.R \name{is_simsx1} \alias{is_simsx1} \title{Check if simulations for individual values for x1 are present in sim.out} \usage{ is_simsx1(x, fail = TRUE) } \arguments{ \item{x}{a sim.out method} \item{fail}{logical whether to retu...
/man/is_simsx1.Rd
no_license
IQSS/Zelig
R
false
true
462
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/assertions.R \name{is_simsx1} \alias{is_simsx1} \title{Check if simulations for individual values for x1 are present in sim.out} \usage{ is_simsx1(x, fail = TRUE) } \arguments{ \item{x}{a sim.out method} \item{fail}{logical whether to retu...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/out_saveReport.R \name{saveReport} \alias{saveReport} \title{Save a report based on a dataCompareR object} \usage{ saveReport( compareObject, reportName, reportLocation = ".", HTMLReport = TRUE, showInViewer = TRUE, st...
/man/saveReport.Rd
permissive
cran/dataCompareR
R
false
true
1,921
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/out_saveReport.R \name{saveReport} \alias{saveReport} \title{Save a report based on a dataCompareR object} \usage{ saveReport( compareObject, reportName, reportLocation = ".", HTMLReport = TRUE, showInViewer = TRUE, st...
\name{Subset.Growth.Season} \alias{Subset.Growth.Season} %- Also NEED an '\alias' for EACH other topic documented here. \title{ ~~function to do ... ~~ } \description{ ~~ A concise (1-5 lines) description of what the function does. ~~ } \usage{ Subset.Growth.Season(RowCrop, energycrops = FALSE) } %- maybe also 'usage...
/man/Subset.Growth.Season.Rd
no_license
DDorch/CropWatR
R
false
false
8,083
rd
\name{Subset.Growth.Season} \alias{Subset.Growth.Season} %- Also NEED an '\alias' for EACH other topic documented here. \title{ ~~function to do ... ~~ } \description{ ~~ A concise (1-5 lines) description of what the function does. ~~ } \usage{ Subset.Growth.Season(RowCrop, energycrops = FALSE) } %- maybe also 'usage...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/optimize.portfolio.R \name{trim_portfolio} \alias{trim_portfolio} \title{helper function to trim a portfolio containing missing assets within the interval of interest} \usage{ trim_portfolio(portfolio, returns, start = NULL, end = NULL, minco...
/man/trim_portfolio.Rd
no_license
michaelhallquist/PortfolioAnalytics
R
false
true
2,271
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/optimize.portfolio.R \name{trim_portfolio} \alias{trim_portfolio} \title{helper function to trim a portfolio containing missing assets within the interval of interest} \usage{ trim_portfolio(portfolio, returns, start = NULL, end = NULL, minco...
alpha_ <- 0.05 beta_ <- 0.2 St.n <- 1-0.25 # krankheitsfreie Überlebensrate zum Zeitpunkt t in der Novumgruppe St.c <- 1-0.3 # krankheitsfreie Überlebensrate zum Zeitpunkt t in der Kontrollgruppe n.c <- 1 n.e <- 1 N = 100 eta.e = 0.025 eta.c = 0.025 lambda.e=0.2 lambda.c=0.3 R=3 g=-0.5 S = 8 t_ = 5 test_that("correct ...
/inst/tests/test-all.r
permissive
thomaskern/surviveR
R
false
false
1,181
r
alpha_ <- 0.05 beta_ <- 0.2 St.n <- 1-0.25 # krankheitsfreie Überlebensrate zum Zeitpunkt t in der Novumgruppe St.c <- 1-0.3 # krankheitsfreie Überlebensrate zum Zeitpunkt t in der Kontrollgruppe n.c <- 1 n.e <- 1 N = 100 eta.e = 0.025 eta.c = 0.025 lambda.e=0.2 lambda.c=0.3 R=3 g=-0.5 S = 8 t_ = 5 test_that("correct ...
context("Labelled") test_that("x must be numeric or character", { expect_error(labelled(TRUE), "must be a numeric or a character vector") }) test_that("x and labels must be compatible", { expect_error(labelled(1, "a"), "must be same type") expect_error(labelled(1, c(female = 2L, male = 1L)), NA) expect_error(...
/tests/testthat/test-labelled.R
no_license
HughParsonage/haven
R
false
false
1,581
r
context("Labelled") test_that("x must be numeric or character", { expect_error(labelled(TRUE), "must be a numeric or a character vector") }) test_that("x and labels must be compatible", { expect_error(labelled(1, "a"), "must be same type") expect_error(labelled(1, c(female = 2L, male = 1L)), NA) expect_error(...
## reading the data into data frame format setwd("D:/Mislav/Data Science spec/4_ExploratoryDataAnalysis/ExData_Plotting1") library(data.table) data <- fread("household_power_consumption.txt", header=TRUE, sep=";", na.strings='?', data.table=FALSE) ##extracting specific dates, converting date into POS...
/plot4.R
no_license
macman123/ExData_Plotting1
R
false
false
1,319
r
## reading the data into data frame format setwd("D:/Mislav/Data Science spec/4_ExploratoryDataAnalysis/ExData_Plotting1") library(data.table) data <- fread("household_power_consumption.txt", header=TRUE, sep=";", na.strings='?', data.table=FALSE) ##extracting specific dates, converting date into POS...
setwd("C:\\Users\\Triveni\\Desktop\\MSDSBA\\Winter 2020\\DSA 6000 Data #Science and Analytics\\HW\\Lab\\Flights Project\\flight-delays") mod2 <- source("Flights_QDA.R") scores<-function(newdata = test_fligts_rf) { model_pred<-predict(model_qda_cv, newdata,type="prob") return(model_pred) } pre...
/Flight_Cancellation_Prediction_R/Flights_Functions_Final.R
no_license
gargeyibaipa/Data-Science-Projects
R
false
false
552
r
setwd("C:\\Users\\Triveni\\Desktop\\MSDSBA\\Winter 2020\\DSA 6000 Data #Science and Analytics\\HW\\Lab\\Flights Project\\flight-delays") mod2 <- source("Flights_QDA.R") scores<-function(newdata = test_fligts_rf) { model_pred<-predict(model_qda_cv, newdata,type="prob") return(model_pred) } pre...
# R --no-save -f qraw.R --args pa1 facet # R --no-save -f qraw.R --args pa1 pa2 facet rcd <- read.csv("rawData.csv") palist <- sort(unique(c(as.character(rcd$pa1), as.character(rcd$pa2)))) facetNames <- colnames(rcd[-1:-4]) args <- commandArgs(trailingOnly = TRUE) #args <- c('soccer', 'basketball', 'predict') ax <- ...
/rcpa/qraw.R
permissive
jpritikin/ties
R
false
false
1,361
r
# R --no-save -f qraw.R --args pa1 facet # R --no-save -f qraw.R --args pa1 pa2 facet rcd <- read.csv("rawData.csv") palist <- sort(unique(c(as.character(rcd$pa1), as.character(rcd$pa2)))) facetNames <- colnames(rcd[-1:-4]) args <- commandArgs(trailingOnly = TRUE) #args <- c('soccer', 'basketball', 'predict') ax <- ...
\name{rrCI} \alias{rrCI} \title{ Compute Approximate Confidence Interval for RR. } \description{ The function computes an approximate confidence interval for the relative risk (RR). } \usage{ rrCI(a, b, c, d, conf.level = 0.95) } \arguments{ \item{a}{ integer: events in exposed group.} \item{b}{ integer: non-ev...
/man/rrCI.Rd
no_license
stamats/MKmisc
R
false
false
1,348
rd
\name{rrCI} \alias{rrCI} \title{ Compute Approximate Confidence Interval for RR. } \description{ The function computes an approximate confidence interval for the relative risk (RR). } \usage{ rrCI(a, b, c, d, conf.level = 0.95) } \arguments{ \item{a}{ integer: events in exposed group.} \item{b}{ integer: non-ev...
renv_parse <- function(file = "", text = NULL, encoding = "UTF-8", ...) { # handle NULL text specifically if (!missing(text) && is.null(text)) return(NULL) # suppress warnings during parse suppressWarnings(parse(file = file, text = text, encoding = encoding, ...)) } renv_deparse <- function(expr, width...
/R/parse.R
no_license
shrektan/renv
R
false
false
425
r
renv_parse <- function(file = "", text = NULL, encoding = "UTF-8", ...) { # handle NULL text specifically if (!missing(text) && is.null(text)) return(NULL) # suppress warnings during parse suppressWarnings(parse(file = file, text = text, encoding = encoding, ...)) } renv_deparse <- function(expr, width...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/metrics_dist.R \name{smis} \alias{smis} \title{scaled Mean Interval Score (sMIS)} \usage{ smis(data, actual, lower, upper, m, level) } \arguments{ \item{data}{time series (only train set)} \item{actual}{actual values (Equivalent of upper/low...
/man/smis.Rd
permissive
thfuchs/tsRNN
R
false
true
1,869
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/metrics_dist.R \name{smis} \alias{smis} \title{scaled Mean Interval Score (sMIS)} \usage{ smis(data, actual, lower, upper, m, level) } \arguments{ \item{data}{time series (only train set)} \item{actual}{actual values (Equivalent of upper/low...
args <- (commandArgs(trailingOnly = TRUE)) for (i in seq_len(length(args))) { eval(parse(text = args[[i]])) } print(outtxt) print(annotation) print(organism) print(ncores) (mirror <- getOption("repos")) ## Function to install packages that are not installed usePackage <- function(pkgs) { ## Install Bioc...
/scripts/install_pkgs.R
permissive
ymoon06/ARMOR
R
false
false
2,124
r
args <- (commandArgs(trailingOnly = TRUE)) for (i in seq_len(length(args))) { eval(parse(text = args[[i]])) } print(outtxt) print(annotation) print(organism) print(ncores) (mirror <- getOption("repos")) ## Function to install packages that are not installed usePackage <- function(pkgs) { ## Install Bioc...
### mlab-data-by-boundingbox.r # # This example uses the functioon, pull_ndt_by_boundingbox, to obtain NDT data from within a geographic area # defined by a bounding box - two pairs of latitude/longitude coordinates defining the south west and north east # corners of a geographic area. The function requires the followi...
/R/mlab-data-by-boundingbox.r
permissive
spencerpease/data-support
R
false
false
1,745
r
### mlab-data-by-boundingbox.r # # This example uses the functioon, pull_ndt_by_boundingbox, to obtain NDT data from within a geographic area # defined by a bounding box - two pairs of latitude/longitude coordinates defining the south west and north east # corners of a geographic area. The function requires the followi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getPackagedLayer.R \name{getPackagedLayer} \alias{getPackagedLayer} \title{Get a spatial layer (as a \pkg{sf} dataframe) stored with this package} \usage{ getPackagedLayer(layerName) } \arguments{ \item{layerName}{\itemize{ \item name of laye...
/man/getPackagedLayer.Rd
permissive
wStockhausen/wtsGIS
R
false
true
1,432
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getPackagedLayer.R \name{getPackagedLayer} \alias{getPackagedLayer} \title{Get a spatial layer (as a \pkg{sf} dataframe) stored with this package} \usage{ getPackagedLayer(layerName) } \arguments{ \item{layerName}{\itemize{ \item name of laye...
expected_values[[runno]] <- list(lik = c(-42959.45, 85936.9, 85998.53), param = c(1.2372, 4.3677, 2.4646, 3.8019, 0.44981), stdev_param = c(0.27943, 0.2215, 0.15494, 0.12082, NA), sigma = c(prop.err = 0.44981), parFixedDf = structure(list( Estimate = c(lCl = 1.23718725491078, lVc = 4.36766400869235, lQ = 2.4...
/inst/models/values-1.1.1.3-U049_solve_saem-unix.R
no_license
nlmixrdevelopment/nlmixr.examples
R
false
false
1,968
r
expected_values[[runno]] <- list(lik = c(-42959.45, 85936.9, 85998.53), param = c(1.2372, 4.3677, 2.4646, 3.8019, 0.44981), stdev_param = c(0.27943, 0.2215, 0.15494, 0.12082, NA), sigma = c(prop.err = 0.44981), parFixedDf = structure(list( Estimate = c(lCl = 1.23718725491078, lVc = 4.36766400869235, lQ = 2.4...
\name{CalcRepeatability} \alias{CalcRepeatability} \title{Parametric per trait Repeatabilities} \usage{ CalcRepeatability(ID, ind.data) } \arguments{ \item{ID}{indentity of individuals} \item{ind.data}{individual measurments} } \value{ vector of repeatabilities } \description{ Estimates the variance in the sample ...
/man/CalcRepeatability.Rd
permissive
tafinha/Morphometrics
R
false
false
758
rd
\name{CalcRepeatability} \alias{CalcRepeatability} \title{Parametric per trait Repeatabilities} \usage{ CalcRepeatability(ID, ind.data) } \arguments{ \item{ID}{indentity of individuals} \item{ind.data}{individual measurments} } \value{ vector of repeatabilities } \description{ Estimates the variance in the sample ...
library(sp) library(rgeos) library(maptools) library(rgdal) tau = 2*pi world_shp = readShapePoly("~/Google Drive/dStd.at/2016-10-02-roundest_rectangular_countries/roundest-or-rectangular-countries/ne_10m_admin_0_sovereignty.shp") world_shp = world_shp[which(world_shp$TYPE %in% c("Country", "Sovereign country", "Dispu...
/roundest_countries.R
no_license
geraldgartner/roundest-or-rectangular-countries
R
false
false
14,250
r
library(sp) library(rgeos) library(maptools) library(rgdal) tau = 2*pi world_shp = readShapePoly("~/Google Drive/dStd.at/2016-10-02-roundest_rectangular_countries/roundest-or-rectangular-countries/ne_10m_admin_0_sovereignty.shp") world_shp = world_shp[which(world_shp$TYPE %in% c("Country", "Sovereign country", "Dispu...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pop.ecdf.R \name{pop.ecdf} \alias{pop.ecdf} \title{Draw an Ecdf plot comparing distributions of scores in selected demographic groups} \usage{ pop.ecdf(scores, pcts, pops, allothers = TRUE, col = "red", main = "", weights, subtitles = FALSE...
/man/pop.ecdf.Rd
permissive
HKCaesar/ejanalysis
R
false
true
5,187
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pop.ecdf.R \name{pop.ecdf} \alias{pop.ecdf} \title{Draw an Ecdf plot comparing distributions of scores in selected demographic groups} \usage{ pop.ecdf(scores, pcts, pops, allothers = TRUE, col = "red", main = "", weights, subtitles = FALSE...
#'@title read CLF-formatted logs #'@description Read a file of request logs stored in the #'\href{https://en.wikipedia.org/wiki/Common_Log_Format}{Common Log Format}. #' #'@details the CLF is a standardised format for web request logs. It consists of the fields: #' #'\itemize{ #' \item{ip_address:} {the IP address of ...
/R/readers.R
permissive
Ironholds/webreadr
R
false
false
18,069
r
#'@title read CLF-formatted logs #'@description Read a file of request logs stored in the #'\href{https://en.wikipedia.org/wiki/Common_Log_Format}{Common Log Format}. #' #'@details the CLF is a standardised format for web request logs. It consists of the fields: #' #'\itemize{ #' \item{ip_address:} {the IP address of ...
install.packages("ggplot2") install.packages("dplyr") install.packages("wordcloud") install.packages("tm") install.packages("leaflet") install.packages("knitr") install.packages("mapview") webshot::install_phantomjs() #?em?lapio eksportavimui #--------------------------------Libraries library(dplyr) library(ggplot2)...
/Hotel reviews.R
no_license
donkratas/Hotel-reviews
R
false
false
11,148
r
install.packages("ggplot2") install.packages("dplyr") install.packages("wordcloud") install.packages("tm") install.packages("leaflet") install.packages("knitr") install.packages("mapview") webshot::install_phantomjs() #?em?lapio eksportavimui #--------------------------------Libraries library(dplyr) library(ggplot2)...
##' Class "gseaResult" ##' This class represents the result of GSEA analysis ##' ##' ##' @name gseaResult-class ##' @aliases gseahResult-class ##' show,gseaResult-method summary,gseaResult-method ##' plot,gseaResult-method ##' ##' @docType class ##' @slot result GSEA anaysis ##' @slot geneSets geneSets ##' @slot ge...
/2X/2.13/DOSE/R/gseAnalyzer.R
no_license
GuangchuangYu/bioc-release
R
false
false
7,566
r
##' Class "gseaResult" ##' This class represents the result of GSEA analysis ##' ##' ##' @name gseaResult-class ##' @aliases gseahResult-class ##' show,gseaResult-method summary,gseaResult-method ##' plot,gseaResult-method ##' ##' @docType class ##' @slot result GSEA anaysis ##' @slot geneSets geneSets ##' @slot ge...
library(networkDynamic) ### Name: print.networkDynamic ### Title: Provide a view of a networkDynamic object including timing ### information ### Aliases: print.networkDynamic ### ** Examples library(networkDynamic) data(flo) net1 <- network(flo) activate.edges(net1, onset=1:20, terminus=101:120) activat...
/data/genthat_extracted_code/networkDynamic/examples/print.networkDynamic.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
370
r
library(networkDynamic) ### Name: print.networkDynamic ### Title: Provide a view of a networkDynamic object including timing ### information ### Aliases: print.networkDynamic ### ** Examples library(networkDynamic) data(flo) net1 <- network(flo) activate.edges(net1, onset=1:20, terminus=101:120) activat...
fileHandle <- file("grid.txt", open="r") table <- read.table(fileHandle) #table <- table[7:8,7:8] # Number of consecutive numbers, in any direction, to find the highest product of prod_len <- 4 highest_prod <- 1 num_rows = nrow(table) num_cols = ncol(table) # Up/down for(i in 1:(num_rows-prod_len+1)){ ...
/grid_product/largest_prod.R
no_license
Jeffrey-Ede/Miscellaneous
R
false
false
1,893
r
fileHandle <- file("grid.txt", open="r") table <- read.table(fileHandle) #table <- table[7:8,7:8] # Number of consecutive numbers, in any direction, to find the highest product of prod_len <- 4 highest_prod <- 1 num_rows = nrow(table) num_cols = ncol(table) # Up/down for(i in 1:(num_rows-prod_len+1)){ ...
context("wordwrap") library(plyr) test_that("wordwrap format always adds \n", { expect_equal(wordwrap("a balloon"), "a\nballoon") expect_equal(wordwrap("a"), "a") })
/data/genthat_extracted_code/optiRum/tests/test-wordwrap.R
no_license
surayaaramli/typeRrh
R
false
false
170
r
context("wordwrap") library(plyr) test_that("wordwrap format always adds \n", { expect_equal(wordwrap("a balloon"), "a\nballoon") expect_equal(wordwrap("a"), "a") })
#---------------------------------------------------------------------------------- # Leontine Alkema # F_readdata.R #---------------------------------------------------------------------------------- # Contains: # general math functions # function to read in data, and make summary tables (plots) # functions to read/su...
/R/F_readdata.R
no_license
ncahill89/ContraceptiveUse_MWRA
R
false
false
34,125
r
#---------------------------------------------------------------------------------- # Leontine Alkema # F_readdata.R #---------------------------------------------------------------------------------- # Contains: # general math functions # function to read in data, and make summary tables (plots) # functions to read/su...
# This file sets the important directories and global variables. It then calls, # one by one, all script files that calculate the topic scores. # Each script file roughly corresponds to a slide on the PowerPoint # presentation prepared by Enis Dogan. ############ # Preamble # ############ # Make sure there are no...
/Code/1. Run_2011_Grd4_General.R
no_license
JGerezAIR/TIMSS_topic_october
R
false
false
3,532
r
# This file sets the important directories and global variables. It then calls, # one by one, all script files that calculate the topic scores. # Each script file roughly corresponds to a slide on the PowerPoint # presentation prepared by Enis Dogan. ############ # Preamble # ############ # Make sure there are no...
data <- read.delim( "http://pmsi-alignalytics.github.io/dimple/data/example_data.tsv" ) ### eliminate . to avoid confusion in javascript colnames(data) <- gsub("[.]","",colnames(data)) require(rCharts) d1 <- dPlot( SalesValue~Price, groups = c("SKU", "Channel", "Owner"), data = subset(data, Date == "01/12/2012...
/wip/rCharts with Legend.R
no_license
AJAWVK87/UN-MyWorld-Project
R
false
false
2,603
r
data <- read.delim( "http://pmsi-alignalytics.github.io/dimple/data/example_data.tsv" ) ### eliminate . to avoid confusion in javascript colnames(data) <- gsub("[.]","",colnames(data)) require(rCharts) d1 <- dPlot( SalesValue~Price, groups = c("SKU", "Channel", "Owner"), data = subset(data, Date == "01/12/2012...
## Brownian motion model from Luke's geiger package, so that I can use ## this without loading the entire package (and also have some more ## fun with different models in the future). ## This is actually slightly slower than Luke's version at the ## moment, which might be due to the shift from a log basis to a ## line...
/fuzzedpackages/diversitree/R/model-bm-vcv.R
no_license
akhikolla/testpackages
R
false
false
1,407
r
## Brownian motion model from Luke's geiger package, so that I can use ## this without loading the entire package (and also have some more ## fun with different models in the future). ## This is actually slightly slower than Luke's version at the ## moment, which might be due to the shift from a log basis to a ## line...
/code/EmRa.R
no_license
gongxiaobo2006/EmRa
R
false
false
9,556
r
##The first function, makeCacheMatrix creates a special “matrix”, which is really a list containing a function to: ##set the value of the matrix ##get the value of the matrix ##set the value of the inverse ##get the value of the inverse makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { ...
/cachematrix.R
no_license
coolgithubbot/ProgrammingAssignment2
R
false
false
1,020
r
##The first function, makeCacheMatrix creates a special “matrix”, which is really a list containing a function to: ##set the value of the matrix ##get the value of the matrix ##set the value of the inverse ##get the value of the inverse makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{NAtT} \alias{NAtT} \title{Number of Cells at Time t} \usage{ NAtT(k, n0, r, t) } \arguments{ \item{k}{The carrying capacity} \item{n0}{The initial population size (absorbance or individuals)} \item{r}{The exponential "growth r...
/man/NAtT.Rd
no_license
sprouffske/growthcurver
R
false
true
570
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{NAtT} \alias{NAtT} \title{Number of Cells at Time t} \usage{ NAtT(k, n0, r, t) } \arguments{ \item{k}{The carrying capacity} \item{n0}{The initial population size (absorbance or individuals)} \item{r}{The exponential "growth r...
library(testthat) library(torro) test_check("torro")
/tests/testthat.R
no_license
bdemeshev/torro
R
false
false
54
r
library(testthat) library(torro) test_check("torro")
# --------------------MICE.IMPUTE.NORM---------------------------------- #'Imputation by Bayesian linear regression #' #'Imputes univariate missing data using Bayesian linear regression analysis #' #'Draws values of \code{beta} and \code{sigma} for Bayesian linear regression #'imputation of \code{y} given \code{x} acc...
/R/mice.impute.norm.r
no_license
cksun/mice
R
false
false
3,693
r
# --------------------MICE.IMPUTE.NORM---------------------------------- #'Imputation by Bayesian linear regression #' #'Imputes univariate missing data using Bayesian linear regression analysis #' #'Draws values of \code{beta} and \code{sigma} for Bayesian linear regression #'imputation of \code{y} given \code{x} acc...
#! /usr/bin/env Rscript # Licensed Materials - Property of IBM # 5737-C49 # 5737-B37 # 5737-D37 # (C) Copyright IBM Corp. 2020 All Rights Reserved. # US Government Users Restricted Rights - Use, duplication or disclosure # restricted by GSA ADP Schedule Contract with IBM Corp. # Test script for R x <- 5 print(x) #...
/assets/rstudio/test_rscript_sample1.R
no_license
mahesh2013/MkGitHubProject6
R
false
false
1,172
r
#! /usr/bin/env Rscript # Licensed Materials - Property of IBM # 5737-C49 # 5737-B37 # 5737-D37 # (C) Copyright IBM Corp. 2020 All Rights Reserved. # US Government Users Restricted Rights - Use, duplication or disclosure # restricted by GSA ADP Schedule Contract with IBM Corp. # Test script for R x <- 5 print(x) #...
# 數字 (只有一個元素的向量) 27 * 1.8 + 32 # 向量 (一維的容器) temp <- c(27, 29, 23, 14) temp * 1.8 + 32 temp[4] temp[c(1,2,3)] temp[-4] temp > 20 temp[temp > 20] temp[temp > mean(temp)] # 矩陣 (二為的容器) vector <- 1:12 matrix1 <- matrix(vector, nrow=3, ncol=4, byrow=FALSE) vec1 <- 1:3 vec2 <- 4:6 vec3 <- 7:9 matrix1 <- cbind(vec1, vec2...
/r-in-data-science/src/ch2.Rd
no_license
hugolu/learn-R
R
false
false
1,862
rd
# 數字 (只有一個元素的向量) 27 * 1.8 + 32 # 向量 (一維的容器) temp <- c(27, 29, 23, 14) temp * 1.8 + 32 temp[4] temp[c(1,2,3)] temp[-4] temp > 20 temp[temp > 20] temp[temp > mean(temp)] # 矩陣 (二為的容器) vector <- 1:12 matrix1 <- matrix(vector, nrow=3, ncol=4, byrow=FALSE) vec1 <- 1:3 vec2 <- 4:6 vec3 <- 7:9 matrix1 <- cbind(vec1, vec2...
library(readstata13) library(data.table) library(magrittr) enem18dic = read.dta13("201812_enemdu.dta", convert.factors = F) enem18dic.var.labels = attr(enem18dic,"var.labels") enem18dic.var.labels = data.table(VarName = names(enem18dic), VarLabel = enem18dic.var.labels) enem18...
/fromStata.R
no_license
DiegoDVillacreses/PobrezaMultidimensional_con_ItemResponseTheory
R
false
false
601
r
library(readstata13) library(data.table) library(magrittr) enem18dic = read.dta13("201812_enemdu.dta", convert.factors = F) enem18dic.var.labels = attr(enem18dic,"var.labels") enem18dic.var.labels = data.table(VarName = names(enem18dic), VarLabel = enem18dic.var.labels) enem18...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/freq_table.R \name{freq_table} \alias{freq_table} \title{Estimate Counts, Percentages, and Confidence Intervals in dplyr Pipelines} \usage{ freq_table(.data, ..., percent_ci = 95, ci_type = "logit", drop = FALSE) } \arguments{ \item{.data}{A ...
/man/freq_table.Rd
no_license
brad-cannell/freqtables
R
false
true
9,084
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/freq_table.R \name{freq_table} \alias{freq_table} \title{Estimate Counts, Percentages, and Confidence Intervals in dplyr Pipelines} \usage{ freq_table(.data, ..., percent_ci = 95, ci_type = "logit", drop = FALSE) } \arguments{ \item{.data}{A ...
library(readstata13) choiceData <- read.dta13("~/R projects/R Seminar/choice.dta") testData <- choiceData[1:3,] testX <- t(matrix(cbind(testData$sex, testData$income, testData$dealer), nrow=3)) testBetas <- matrix(rep(1,6), nrow=3) testBetas <- cbind(c(0,0,0), testBetas) for(iden in 1:(nrow(choiceData)/3)){ record <...
/R/Rprojects/Rseminar/choice_example.R
no_license
dillon4287/CodeProjects
R
false
false
954
r
library(readstata13) choiceData <- read.dta13("~/R projects/R Seminar/choice.dta") testData <- choiceData[1:3,] testX <- t(matrix(cbind(testData$sex, testData$income, testData$dealer), nrow=3)) testBetas <- matrix(rep(1,6), nrow=3) testBetas <- cbind(c(0,0,0), testBetas) for(iden in 1:(nrow(choiceData)/3)){ record <...
require(rgrass7) library(RCurl) library(repmis) require(xtable) geolegendeng <- read.table(text=getURL("https://raw.githubusercontent.com/fernstgruber/p2/master/data2017/geolegendeng.txt"),sep="\t",header=T) myfunctions <- getURL("https://raw.githubusercontent.com/fernstgruber/Rstuff/master/fabiansandrossitersfunctions...
/createdisposition.R
no_license
fernstgruber/ERODYNSCRIPTS
R
false
false
1,456
r
require(rgrass7) library(RCurl) library(repmis) require(xtable) geolegendeng <- read.table(text=getURL("https://raw.githubusercontent.com/fernstgruber/p2/master/data2017/geolegendeng.txt"),sep="\t",header=T) myfunctions <- getURL("https://raw.githubusercontent.com/fernstgruber/Rstuff/master/fabiansandrossitersfunctions...
source("loadData.R") with(consumption, hist(Global_active_power, col = "red", main = "Global Active Power", xlab = "Global Active Power (kilowatts)")) dev.copy(png, filename = "plot1.png") dev.off ()
/plot1.R
no_license
marciogualtieri/ExData_Plotting1
R
false
false
232
r
source("loadData.R") with(consumption, hist(Global_active_power, col = "red", main = "Global Active Power", xlab = "Global Active Power (kilowatts)")) dev.copy(png, filename = "plot1.png") dev.off ()
# Clean data for COVID presentation # Author: Rebecca Barter # Date: 3/31/2020 library(tidyverse) library(lubridate) library(scales) ## Load data ##---------------------------------------------------------------- data <- read_csv("../data/line_plots.csv") ## clean data ##------------------------------------------...
/viz/figs_rebecca/r/01_clean_data.R
permissive
rahul263-stack/covid19-severity-prediction
R
false
false
4,630
r
# Clean data for COVID presentation # Author: Rebecca Barter # Date: 3/31/2020 library(tidyverse) library(lubridate) library(scales) ## Load data ##---------------------------------------------------------------- data <- read_csv("../data/line_plots.csv") ## clean data ##------------------------------------------...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CORE_clustering.R \name{SubClustering_scGPS} \alias{SubClustering_scGPS} \title{Subclustering for selected cells} \usage{ SubClustering_scGPS(object = NULL, ngenes = 1500, windows = seq(0.025:1, by = 0.025), select_cell_index = NULL) } \arg...
/man/SubClustering_scGPS.Rd
no_license
quanaibn/scGPS
R
false
true
665
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CORE_clustering.R \name{SubClustering_scGPS} \alias{SubClustering_scGPS} \title{Subclustering for selected cells} \usage{ SubClustering_scGPS(object = NULL, ngenes = 1500, windows = seq(0.025:1, by = 0.025), select_cell_index = NULL) } \arg...
extract_matrix.RowLinkedMatrix <- function(x, i, j, ...) { # Handle x[FALSE, ] if (length(i) == 0L) { Z <- matrix(data = integer(), nrow = 0L, ncol = length(j), dimnames = list(NULL, colnames(x)[j])) } else { # Determine nodes and node boundaries for query index <- index(x, i = i, so...
/R/RowLinkedMatrix.R
no_license
QuantGen/LinkedMatrix
R
false
false
9,808
r
extract_matrix.RowLinkedMatrix <- function(x, i, j, ...) { # Handle x[FALSE, ] if (length(i) == 0L) { Z <- matrix(data = integer(), nrow = 0L, ncol = length(j), dimnames = list(NULL, colnames(x)[j])) } else { # Determine nodes and node boundaries for query index <- index(x, i = i, so...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ggiraph.R \name{ggiraph} \alias{ggiraph} \title{create a ggiraph object} \usage{ ggiraph(code, ggobj = NULL, pointsize = 12, width = 0.75, width_svg = 6, height_svg = 5, tooltip_extra_css = NULL, hover_css = NULL, tooltip_opacity = 0.9, t...
/man/ggiraph.Rd
no_license
iMarcello/ggiraph
R
false
true
3,198
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ggiraph.R \name{ggiraph} \alias{ggiraph} \title{create a ggiraph object} \usage{ ggiraph(code, ggobj = NULL, pointsize = 12, width = 0.75, width_svg = 6, height_svg = 5, tooltip_extra_css = NULL, hover_css = NULL, tooltip_opacity = 0.9, t...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dfareporting_functions.R \name{postalCodes.get} \alias{postalCodes.get} \title{Gets one postal code by ID.} \usage{ postalCodes.get(profileId, code) } \arguments{ \item{profileId}{User profile ID associated with this request} \item{code}{Pos...
/googledfareportingv26.auto/man/postalCodes.get.Rd
permissive
Phippsy/autoGoogleAPI
R
false
true
855
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dfareporting_functions.R \name{postalCodes.get} \alias{postalCodes.get} \title{Gets one postal code by ID.} \usage{ postalCodes.get(profileId, code) } \arguments{ \item{profileId}{User profile ID associated with this request} \item{code}{Pos...