content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dataImport.R \name{read.idat.files2} \alias{read.idat.files2} \title{read.idat.files2} \usage{ read.idat.files2(base.dir, barcodes = NULL, sample.sheet = NULL, sep.samples = rnb.getOption("import.table.separator"), load.chunk = NULL, keep...
/man/read.idat.files2.Rd
no_license
cirruswolke/RnBeads
R
false
true
2,822
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dataImport.R \name{read.idat.files2} \alias{read.idat.files2} \title{read.idat.files2} \usage{ read.idat.files2(base.dir, barcodes = NULL, sample.sheet = NULL, sep.samples = rnb.getOption("import.table.separator"), load.chunk = NULL, keep...
#' Calculate geodesic distances between cells in a trajectory #' #' Will calculate geodesic distances between cells within a trajectory. To speed things up, only the distances with a set of waypoint cells are calculated. #' #' The geodesic distance takes into account the length of an edge regions of delayed commitment....
/R/calculate_geodesic_distances.R
permissive
dynverse/dynwrap
R
false
false
9,424
r
#' Calculate geodesic distances between cells in a trajectory #' #' Will calculate geodesic distances between cells within a trajectory. To speed things up, only the distances with a set of waypoint cells are calculated. #' #' The geodesic distance takes into account the length of an edge regions of delayed commitment....
library(shiny) library(shinyWidgets) library(data.table) library(stringr) library(qdapRegex) #read all th n-gram tables fifth <- fread("5gram.txt", key = "n-1") fourth <- fread("4gram.txt", key = c("n-1","n")) tri <- fread("trigram.txt", key = c("n-1","n")) bi <- fread("bigram.txt", key =c("n-1","n")) uni <- fread(...
/Capstone/global.R
no_license
AmandineLigot/Capstone-Coursera
R
false
false
445
r
library(shiny) library(shinyWidgets) library(data.table) library(stringr) library(qdapRegex) #read all th n-gram tables fifth <- fread("5gram.txt", key = "n-1") fourth <- fread("4gram.txt", key = c("n-1","n")) tri <- fread("trigram.txt", key = c("n-1","n")) bi <- fread("bigram.txt", key =c("n-1","n")) uni <- fread(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mask_combinations.R \name{best_masked_correlation} \alias{best_masked_correlation} \title{Compute correlations for the largest possible mask given the input vectors,} \usage{ best_masked_correlation(vs, mask_ranges) } \arguments{ \item{vs}{In...
/man/best_masked_correlation.Rd
no_license
mkuhn/maskedCorr
R
false
true
565
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mask_combinations.R \name{best_masked_correlation} \alias{best_masked_correlation} \title{Compute correlations for the largest possible mask given the input vectors,} \usage{ best_masked_correlation(vs, mask_ranges) } \arguments{ \item{vs}{In...
rm(list = ls()) basedir='/storage/zhang/mfMap.py/' setwd(basedir) oo=c("data", "logs", "results", "ssd", "table") organs=c("COADREAD") for(x in oo){ if(dir.exists(x)) unlink(x,recursive=T) for(y in organs){ dir.create(file.path(basedir,x,y),recursive = T) } } gen_data=function(){ n=1000;f=500 sample...
/gen_exmple_data.R
no_license
mcmzxx/mfMap.py
R
false
false
1,356
r
rm(list = ls()) basedir='/storage/zhang/mfMap.py/' setwd(basedir) oo=c("data", "logs", "results", "ssd", "table") organs=c("COADREAD") for(x in oo){ if(dir.exists(x)) unlink(x,recursive=T) for(y in organs){ dir.create(file.path(basedir,x,y),recursive = T) } } gen_data=function(){ n=1000;f=500 sample...
library(biomaRt) geneIds <- read.csv("target38.txt", stringsAsFactors = FALSE, header = FALSE) mart <- useDataset("hsapiens_gene_ensembl", useMart("ensembl")) sequences <- getBM(filters= "ensembl_gene_id", attributes=c("ensembl_gene_id", "5utr"),values=geneIds, mart=mart) write.table(sequences, "target38_sequences.tsv...
/vcap/target2sequences.R
no_license
timlai4/taylor_ERG
R
false
false
385
r
library(biomaRt) geneIds <- read.csv("target38.txt", stringsAsFactors = FALSE, header = FALSE) mart <- useDataset("hsapiens_gene_ensembl", useMart("ensembl")) sequences <- getBM(filters= "ensembl_gene_id", attributes=c("ensembl_gene_id", "5utr"),values=geneIds, mart=mart) write.table(sequences, "target38_sequences.tsv...
tagList( #shinythemes::themeSelector(), navbarPage( theme = shinytheme("cerulean"), "Machine Learning Project", ## L'Analyse Univariee tabPanel("Univariate Analysis", sidebarPanel( selectInput("type","Select the type of the variable", choices = ...
/Shiny_german_credits/ui.R
no_license
saramadani/academic_projects
R
false
false
4,551
r
tagList( #shinythemes::themeSelector(), navbarPage( theme = shinytheme("cerulean"), "Machine Learning Project", ## L'Analyse Univariee tabPanel("Univariate Analysis", sidebarPanel( selectInput("type","Select the type of the variable", choices = ...
/기술통계분석.R
no_license
yoseobcha/2018bigcontest
R
false
false
659
r
#' estimate Glomerular Filtration Rate (GFR) using the RF Scr equation #' #' @param data A data frame for GFR estimation. It should contain following 3 variables: age (years), serum creatinine (mg/dL) #' and a male indicator (0 or 1), which need to be named exactly as age, scr and male. age and scr should...
/R/rf_egfr.R
permissive
Jennazhu/mlegfr
R
false
false
1,386
r
#' estimate Glomerular Filtration Rate (GFR) using the RF Scr equation #' #' @param data A data frame for GFR estimation. It should contain following 3 variables: age (years), serum creatinine (mg/dL) #' and a male indicator (0 or 1), which need to be named exactly as age, scr and male. age and scr should...
\name{bmn.ir} \alias{bmn.ir} \docType{data} \title{ Iran Broad Mony data. } \description{ Iran Broad Mony data. Broad money (current LCU) } \usage{bmn.ir} \format{ The format is: chr "bmn.ir" \itemize{ \item{year}{year} \item{bmn} {Broad money} } } \details{ Iran Broad Mony data. Broad money...
/man/bmn.ir.Rd
no_license
Allisterh/nlr
R
false
false
516
rd
\name{bmn.ir} \alias{bmn.ir} \docType{data} \title{ Iran Broad Mony data. } \description{ Iran Broad Mony data. Broad money (current LCU) } \usage{bmn.ir} \format{ The format is: chr "bmn.ir" \itemize{ \item{year}{year} \item{bmn} {Broad money} } } \details{ Iran Broad Mony data. Broad money...
#' Get current season data #' #' @param df the results dataset #' @param division division to add #' @param tier tier to add #' @param Season Season to get current data for #' @return a tibble with results for current season #' @export getCurrentData <- function(df, division, tier, Season) { tibble(Date = as.charac...
/R/getCurrentData.R
no_license
nturaga/engsoccerdata
R
false
false
925
r
#' Get current season data #' #' @param df the results dataset #' @param division division to add #' @param tier tier to add #' @param Season Season to get current data for #' @return a tibble with results for current season #' @export getCurrentData <- function(df, division, tier, Season) { tibble(Date = as.charac...
loadOptClust = function(file_path, sep="\t") { require(stringr) require(plyr) opt_clust = read.table(file_path, sep=sep, header=TRUE) # Remove erroneous comparison, from samples.yaml configuration # Due to input error when typing in the configuration file opt_clust = opt_clust[opt_clust$barcode != "RG19-N", ] ...
/Scripts/4/4/lib/parse.R
no_license
hegu2692/HGSOC_TME_Heterogeneity
R
false
false
7,520
r
loadOptClust = function(file_path, sep="\t") { require(stringr) require(plyr) opt_clust = read.table(file_path, sep=sep, header=TRUE) # Remove erroneous comparison, from samples.yaml configuration # Due to input error when typing in the configuration file opt_clust = opt_clust[opt_clust$barcode != "RG19-N", ] ...
#' Train a model locally #' #' Train a model locally, using the `gcloud` command line #' utility. This can be used as a testing bed for TensorFlow #' applications which you want to later run on Google Cloud, #' submitted using [cloudml_train()]. #' #' @inheritParams cloudml_train #' #' @export local_train <- function(a...
/R/local.R
no_license
hytsang/cloudml
R
false
false
1,439
r
#' Train a model locally #' #' Train a model locally, using the `gcloud` command line #' utility. This can be used as a testing bed for TensorFlow #' applications which you want to later run on Google Cloud, #' submitted using [cloudml_train()]. #' #' @inheritParams cloudml_train #' #' @export local_train <- function(a...
#' Fill DESCRIPTION file of the package #' #' @param pkg Path to package #' @param overwrite Whether to overwrite existing DESCRIPTION #' @param fields A named list of fields to add to DESCRIPTION, potentially #' overriding default values. See \code{\link[usethis]{use_description}} for how you can set #' personalized...
/R/fill_description.R
permissive
golddragonfly/fusen
R
false
false
1,877
r
#' Fill DESCRIPTION file of the package #' #' @param pkg Path to package #' @param overwrite Whether to overwrite existing DESCRIPTION #' @param fields A named list of fields to add to DESCRIPTION, potentially #' overriding default values. See \code{\link[usethis]{use_description}} for how you can set #' personalized...
#!/usr/bin/env Rscript out <- styler::style_text(readLines('stdin'), scope = "line_breaks") write(out, stdout())
/bin/formatr
no_license
joshdpark/dotfiles
R
false
false
113
#!/usr/bin/env Rscript out <- styler::style_text(readLines('stdin'), scope = "line_breaks") write(out, stdout())
setwd("C:\\DS") pcs<-read.csv("C:\\DS\\household_power_consumption.csv", sep=";", dec=".", stringsAsFactors= FALSE, na.strings = "?", colClasses=c("character", "character", "numeric", "numeric", "numeric", "numeric","numeric", "nume...
/Plot1.R
no_license
rkbnair7/ExData_Plotting1
R
false
false
594
r
setwd("C:\\DS") pcs<-read.csv("C:\\DS\\household_power_consumption.csv", sep=";", dec=".", stringsAsFactors= FALSE, na.strings = "?", colClasses=c("character", "character", "numeric", "numeric", "numeric", "numeric","numeric", "nume...
## Draw a variable-width curve based on control points and ## explicit widths at the control points grid.vwXspline <- function(...) { grid.draw(vwXsplineGrob(...)) } vwXsplineGrob <- function(x, y, w, default.units="npc", shape=1, open=TRUE, repEnds=TRUE, angle="perp", ...
/pkg/R/vwxspline.R
no_license
pmur002/vwline
R
false
false
7,921
r
## Draw a variable-width curve based on control points and ## explicit widths at the control points grid.vwXspline <- function(...) { grid.draw(vwXsplineGrob(...)) } vwXsplineGrob <- function(x, y, w, default.units="npc", shape=1, open=TRUE, repEnds=TRUE, angle="perp", ...
#!/usr/bin/env Rscript library('ggplot2') read_input <- function (path) { data.raw <- read.table(input, header=TRUE) sdev <- function (x) sqrt(var(x)) data.mean <- aggregate(time ~ sched + name + threads, data.raw, mean) data.sdev <- aggregate(time ~ sched + name + threads, data.raw, sdev) data <...
/benchmarks/plor.r
permissive
rkuchumov/staccato
R
false
false
1,711
r
#!/usr/bin/env Rscript library('ggplot2') read_input <- function (path) { data.raw <- read.table(input, header=TRUE) sdev <- function (x) sqrt(var(x)) data.mean <- aggregate(time ~ sched + name + threads, data.raw, mean) data.sdev <- aggregate(time ~ sched + name + threads, data.raw, sdev) data <...
\name{dataCollapser} \alias{dataCollapser} %- Also NEED an '\alias' for EACH other topic documented here. \title{Collapse Accelerometer Data to a Dataset with a Longer Epoch} \description{ The function collapses counts in data collected with a short epoch to make a data set with a longer epoch. For example, this functi...
/src/wear_nonwear_R_package/man/dataCollapser.Rd
no_license
matinkh/03_Time-Domain-feature-extraction
R
false
false
1,587
rd
\name{dataCollapser} \alias{dataCollapser} %- Also NEED an '\alias' for EACH other topic documented here. \title{Collapse Accelerometer Data to a Dataset with a Longer Epoch} \description{ The function collapses counts in data collected with a short epoch to make a data set with a longer epoch. For example, this functi...
library(survival) set.seed(100) N = 50 r = abs(rnorm(N,mean=2,sd=0.8)) d = r/10 rc = abs(rnorm(N,mean=0.2,sd=0.08)) dc = abs(rnorm(N,mean=4.9,sd=1)) a = abs(rnorm(N,mean=0.84,sd=0.42)) bseq = c(0.01,0.05,0.1,0.2,0.3,0.5) b = matrix(nrow=N,ncol=length(bseq)) for (i in 1:length(bseq)) { b[,i] = bseq[i]*a } ac = a bc =...
/Robustness_test/2019-06-22 Hazard ratios with b.R
permissive
Shengqing-Stan-Gu/2021_HGSC_math_modeling
R
false
false
2,747
r
library(survival) set.seed(100) N = 50 r = abs(rnorm(N,mean=2,sd=0.8)) d = r/10 rc = abs(rnorm(N,mean=0.2,sd=0.08)) dc = abs(rnorm(N,mean=4.9,sd=1)) a = abs(rnorm(N,mean=0.84,sd=0.42)) bseq = c(0.01,0.05,0.1,0.2,0.3,0.5) b = matrix(nrow=N,ncol=length(bseq)) for (i in 1:length(bseq)) { b[,i] = bseq[i]*a } ac = a bc =...
dat <- read.csv(file='/Users/kbottenh/Dropbox/Projects/physics-retrieval/data/output/acc+conn~iq-mediation_edges-KNN.csv', header = T, sep="\t") cols <- names(dat) library(lavaan) smallDat <- dat[,c("Mod", "F", "FSIQ2", "Age", "Strt_Level", "post_phys_fci_fd", "FCIPhyAcc2")] smallDat$F = smallDat$F smallDat$Mod = small...
/idconn/statistics/mediation.R
permissive
NBCLab/IDConn
R
false
false
2,723
r
dat <- read.csv(file='/Users/kbottenh/Dropbox/Projects/physics-retrieval/data/output/acc+conn~iq-mediation_edges-KNN.csv', header = T, sep="\t") cols <- names(dat) library(lavaan) smallDat <- dat[,c("Mod", "F", "FSIQ2", "Age", "Strt_Level", "post_phys_fci_fd", "FCIPhyAcc2")] smallDat$F = smallDat$F smallDat$Mod = small...
#' Tidying methods for Spark ML linear models #' #' These methods summarize the results of Spark ML models into tidy forms. #' #' @param x a Spark ML model. #' @param ... extra arguments (not used.) #' @name ml_glm_tidiers NULL get_stats <- function(stats, model) { stats %>% purrr::map(~ ml_summary(model, .x, al...
/R/tidiers_ml_linear_models.R
permissive
sunxiaomeiwendy/sparklyr
R
false
false
5,306
r
#' Tidying methods for Spark ML linear models #' #' These methods summarize the results of Spark ML models into tidy forms. #' #' @param x a Spark ML model. #' @param ... extra arguments (not used.) #' @name ml_glm_tidiers NULL get_stats <- function(stats, model) { stats %>% purrr::map(~ ml_summary(model, .x, al...
library(stringi) library(stringr) library(dplyr) library(ggplot2) # Reading csv team_totals<-read.csv("E:/ODI Scores/Data/Team_totals.csv",stringsAsFactors = FALSE) # Cleaning data team_totals<-team_totals[,-c(1,2,11)] team_totals<-team_totals[-which(is.na(team_totals$Inns)),] # Reassigning column names colnames(...
/Codes/Median_score.R
no_license
Rahulpodi/Evolution-of-ODI-Scores
R
false
false
1,875
r
library(stringi) library(stringr) library(dplyr) library(ggplot2) # Reading csv team_totals<-read.csv("E:/ODI Scores/Data/Team_totals.csv",stringsAsFactors = FALSE) # Cleaning data team_totals<-team_totals[,-c(1,2,11)] team_totals<-team_totals[-which(is.na(team_totals$Inns)),] # Reassigning column names colnames(...
library(R6) library(adabag) ## # ## AdaBoost <- R6Class("AdaBoost", public = list( ## # Initializes the model instance. # Default parameter values are those from LiblineaR. ## initialize = function(mfinal=100, coeflearn='Zhu', pickOne=FALSE, maxdepth=5) {...
/models/adaboost/adaboost.R
no_license
karenenes/selectiveharvesting
R
false
false
2,420
r
library(R6) library(adabag) ## # ## AdaBoost <- R6Class("AdaBoost", public = list( ## # Initializes the model instance. # Default parameter values are those from LiblineaR. ## initialize = function(mfinal=100, coeflearn='Zhu', pickOne=FALSE, maxdepth=5) {...
#' Peak Functions for Peak Detection in Univariate Time Series #' #' scorepeak package provides several types of peak function. See the vignette "Introduction to scorepeak" for detail. #' #' @name peak_functions #' @inheritParams detect_localmaxima #' @return a numeric vector #' @author Shota Ochi #' @export #' @exampl...
/R/peak_functions.R
no_license
cran/scorepeak
R
false
false
1,543
r
#' Peak Functions for Peak Detection in Univariate Time Series #' #' scorepeak package provides several types of peak function. See the vignette "Introduction to scorepeak" for detail. #' #' @name peak_functions #' @inheritParams detect_localmaxima #' @return a numeric vector #' @author Shota Ochi #' @export #' @exampl...
# reading the data houselc <- read.csv2("household_power_consumption.txt", colClasses = "character") # get only data between the 01/02 and 02/02 2007 houselc$Date <- as.Date(houselc$Date, "%d/%m/%Y") i <- which(houselc$Date <= "2007/02/02" & houselc$Date >= "2007/02/01") dataelec <- houselc[i,] ...
/plot4.R
no_license
JawadRouen/ExData_Plotting1
R
false
false
1,602
r
# reading the data houselc <- read.csv2("household_power_consumption.txt", colClasses = "character") # get only data between the 01/02 and 02/02 2007 houselc$Date <- as.Date(houselc$Date, "%d/%m/%Y") i <- which(houselc$Date <= "2007/02/02" & houselc$Date >= "2007/02/01") dataelec <- houselc[i,] ...
# Loads all the data from a folder and extracts the features for each file # # Parameters: # folderPath: Path to the folder where the data (.mat files) of a subject is located # loadTestData: Flag indicating if test data should be loaded as well # transformations: Precalculated ICA/PCA tran...
/src/features/extractFeaturesForSubject.R
no_license
gianba/SeizureDetection
R
false
false
1,909
r
# Loads all the data from a folder and extracts the features for each file # # Parameters: # folderPath: Path to the folder where the data (.mat files) of a subject is located # loadTestData: Flag indicating if test data should be loaded as well # transformations: Precalculated ICA/PCA tran...
### Jinliang Yang ### plot and explore res <- read.csv("cache/stat_exon_mean_var.csv") hist(res$mm, breaks=50, main="Avg. Levels of Gbm", xlab="Ratio of Gene Body Methylation") subset(res, mm > 0.8) %>% nrow hist(res$mv, breaks=50, main="Var of Gbm") ########## Exp geno <- read.csv("~/Documents/Github/Misc/larg...
/profiling/1.data_description/1.B.5_bcf_RA_plot.R
no_license
RILAB/methylation
R
false
false
1,550
r
### Jinliang Yang ### plot and explore res <- read.csv("cache/stat_exon_mean_var.csv") hist(res$mm, breaks=50, main="Avg. Levels of Gbm", xlab="Ratio of Gene Body Methylation") subset(res, mm > 0.8) %>% nrow hist(res$mv, breaks=50, main="Var of Gbm") ########## Exp geno <- read.csv("~/Documents/Github/Misc/larg...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/siunitx_g.R \name{replace_all_kg} \alias{replace_all_kg} \title{Replace all "kg" to tex siunitx command} \usage{ replace_all_kg(string) } \arguments{ \item{string}{text} } \description{ Replace all "kg" to tex siunitx command } \examples{ rep...
/man/replace_all_kg.Rd
no_license
t-arae/prtclmisc
R
false
true
346
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/siunitx_g.R \name{replace_all_kg} \alias{replace_all_kg} \title{Replace all "kg" to tex siunitx command} \usage{ replace_all_kg(string) } \arguments{ \item{string}{text} } \description{ Replace all "kg" to tex siunitx command } \examples{ rep...
#' Identify Datasets with a Degree Conversion Error #' #' This test flags datasets where a significant fraction of records has #' been subject to a common degree minute to decimal degree conversion error, #' where the degree sign is recognized as decimal delimiter. #' #' If the degree sign is recognized as decimal de...
/R/cd_ddmm.R
no_license
ropensci/CoordinateCleaner
R
false
false
7,472
r
#' Identify Datasets with a Degree Conversion Error #' #' This test flags datasets where a significant fraction of records has #' been subject to a common degree minute to decimal degree conversion error, #' where the degree sign is recognized as decimal delimiter. #' #' If the degree sign is recognized as decimal de...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ShedsHT.R \name{eval.factors} \alias{eval.factors} \title{eval.factors} \usage{ eval.factors(r, q, ef) } \arguments{ \item{r}{Vector of row numbers, equivalent to the number of theoretical people in the model sample. This input is created int...
/Source/man/eval.factors.Rd
no_license
HumanExposure/SHEDSHTRPackage
R
false
true
1,762
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ShedsHT.R \name{eval.factors} \alias{eval.factors} \title{eval.factors} \usage{ eval.factors(r, q, ef) } \arguments{ \item{r}{Vector of row numbers, equivalent to the number of theoretical people in the model sample. This input is created int...
test <- 1
/RScripts/test.R
no_license
cwq9999/BikeShare
R
false
false
9
r
test <- 1
library(RProbSup) ### Name: Ord2 ### Title: Ord2 ### Aliases: Ord2 ### ** Examples x1 <- rnorm(25) x2 <- x1 - rnorm(25, mean = 1) x3 <- x2 - rnorm(25, mean = 1) y <- cbind(x1, x2, x3) Ord2(y)
/data/genthat_extracted_code/RProbSup/examples/Ord2.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
199
r
library(RProbSup) ### Name: Ord2 ### Title: Ord2 ### Aliases: Ord2 ### ** Examples x1 <- rnorm(25) x2 <- x1 - rnorm(25, mean = 1) x3 <- x2 - rnorm(25, mean = 1) y <- cbind(x1, x2, x3) Ord2(y)
suppressMessages(library(caret)) suppressMessages(library(ggplot2)) suppressMessages(library(dplyr)) suppressMessages(library(gridExtra)) suppressMessages(library(gmodels)) suppressMessages(library(ggparallel)) suppressMessages(library(rpart.plot)) suppressMessages(library(sqldf)) suppressMessages(library(tidyverse)) s...
/code/script.R
no_license
acgroba/Mushroom
R
false
false
16,088
r
suppressMessages(library(caret)) suppressMessages(library(ggplot2)) suppressMessages(library(dplyr)) suppressMessages(library(gridExtra)) suppressMessages(library(gmodels)) suppressMessages(library(ggparallel)) suppressMessages(library(rpart.plot)) suppressMessages(library(sqldf)) suppressMessages(library(tidyverse)) s...
test_that("test the main functions (gplsim) with binary case", { library(gplsim) # parameter settings n=5000 true.theta = c(1, 1, 1)/sqrt(3) # Generating data (binary case) # This function generates a sin bump model as in Yu et al. (2007). # You may use your data instead. data <- generate_data(n,true.th...
/tests/testthat/test-gplsim.r
no_license
zzz1990771/gplsim
R
false
false
7,153
r
test_that("test the main functions (gplsim) with binary case", { library(gplsim) # parameter settings n=5000 true.theta = c(1, 1, 1)/sqrt(3) # Generating data (binary case) # This function generates a sin bump model as in Yu et al. (2007). # You may use your data instead. data <- generate_data(n,true.th...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mosaicList.R \name{mosaicList} \alias{mosaicList} \title{Generate raster mosaic from a list of files} \usage{ mosaicList(rasList) } \arguments{ \item{rasList}{a list of raster objects} } \value{ a mosaiced raster object } \description{ Mosaic...
/man/mosaicList.Rd
no_license
Tomhigg/zebu
R
false
true
792
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mosaicList.R \name{mosaicList} \alias{mosaicList} \title{Generate raster mosaic from a list of files} \usage{ mosaicList(rasList) } \arguments{ \item{rasList}{a list of raster objects} } \value{ a mosaiced raster object } \description{ Mosaic...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/metapen_tau.R \name{metapen.tau} \alias{metapen.tau} \title{Obtain the results of the penalization method by tuning tau} \usage{ metapen.tau(y, s2, tau2.re, upp, n.cand = 100, tol = 10^(-10)) } \arguments{ \item{y}{an observed effect size vec...
/man/metapen.tau.Rd
no_license
Yipeng-maker/Gator_MetaPenalty
R
false
true
1,314
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/metapen_tau.R \name{metapen.tau} \alias{metapen.tau} \title{Obtain the results of the penalization method by tuning tau} \usage{ metapen.tau(y, s2, tau2.re, upp, n.cand = 100, tol = 10^(-10)) } \arguments{ \item{y}{an observed effect size vec...
################################################# #' @title Upper Missouri Basin Study - Canyon Ferry #' Figures #' @author Dan Broman #' @description Summary figures for the Upper Missouri #' Basin Study, Canyon Ferry Strategy #' Last Modified June 11 2018 ################################################# library(tidy...
/AdaptationStrategies/src/CanyonFerrySummary.r
no_license
usbr/UpperMissouri
R
false
false
8,128
r
################################################# #' @title Upper Missouri Basin Study - Canyon Ferry #' Figures #' @author Dan Broman #' @description Summary figures for the Upper Missouri #' Basin Study, Canyon Ferry Strategy #' Last Modified June 11 2018 ################################################# library(tidy...
## 1975 crime data ## thesis ## ## andrew wolff ## 6 april 2018 # initial settings -------------------------------------------------------- source("functions/total_75_offense_data.R") source("functions/ucr_county.R") source("functions/county_populations.R") # crime data --------------------------------------------...
/crime/crime_data1975_1976.R
no_license
awolff1110/thesis
R
false
false
8,874
r
## 1975 crime data ## thesis ## ## andrew wolff ## 6 april 2018 # initial settings -------------------------------------------------------- source("functions/total_75_offense_data.R") source("functions/ucr_county.R") source("functions/county_populations.R") # crime data --------------------------------------------...
#ch3 lab-------------------------------------------------------- library(MASS) library(ISLR) data(Boston) lm.fit=lm(medv~stat ,data=Boston ) plot(lstat,medv);abline(lm.fit) abline(lm.fit,lwd=3) abline(lm.fit,lwd=3,col="red") plot(lstat,medv,col="red") plot(lstat,medv,pch=20) plot(lstat,medv,pch="+") plot(1:20,1:20,pch=...
/2019-03 Class/Data Mining/ISLR_HW/hw3_ch3.R
no_license
serah1107/Statistics-Graduate
R
false
false
4,694
r
#ch3 lab-------------------------------------------------------- library(MASS) library(ISLR) data(Boston) lm.fit=lm(medv~stat ,data=Boston ) plot(lstat,medv);abline(lm.fit) abline(lm.fit,lwd=3) abline(lm.fit,lwd=3,col="red") plot(lstat,medv,col="red") plot(lstat,medv,pch=20) plot(lstat,medv,pch="+") plot(1:20,1:20,pch=...
### 第一部分,用RAxML建树 # 数据来源 # Kress, W. J., Erickson, D. L., Jones, F. A., Swenson, N. G., Perez, R., Sanjur, O., & Bermingham, E. (2009). Plant DNA barcodes and a community phylogeny of a tropical forest dynamics plot in Panama. Proceedings of the National Academy of Sciences, 106(44), 18621–18626. # https://www.pnas.org...
/练习/ex1 data preparation and RAxML/training.R
no_license
helixcn/phylolecture_huankeyuan
R
false
false
5,868
r
### 第一部分,用RAxML建树 # 数据来源 # Kress, W. J., Erickson, D. L., Jones, F. A., Swenson, N. G., Perez, R., Sanjur, O., & Bermingham, E. (2009). Plant DNA barcodes and a community phylogeny of a tropical forest dynamics plot in Panama. Proceedings of the National Academy of Sciences, 106(44), 18621–18626. # https://www.pnas.org...
###########################################################################/** # @RdocFunction jpeg2 # # @title "A JPEG device for Bitmap Files via GhostScript" # # \description{ # @get "title". # } # # @synopsis # # \arguments{ # \item{filename}{The name of the file to be produced.} # \item{width, height}{The widt...
/R/jpeg2.R
no_license
gara-z/R.devices
R
false
false
1,210
r
###########################################################################/** # @RdocFunction jpeg2 # # @title "A JPEG device for Bitmap Files via GhostScript" # # \description{ # @get "title". # } # # @synopsis # # \arguments{ # \item{filename}{The name of the file to be produced.} # \item{width, height}{The widt...
######for kaps plot ###### load("4.model/kaps/for.kaps.classification.output.k2-4.RData") fitkaps #### head(kaps.td) table(kaps.td$kaps.group.three) aa=kaps.td aa$kaps.group.two=cut(aa$z.of.mean.exp, breaks = c(min(aa$z.of.mean.exp),0.0128,max(aa$z.of.mean.exp)), labels = c(...
/4.model/kaps/kaps.k.selection/kaps.k.selection.R
no_license
LovelyMonkey123/immune.overdrive
R
false
false
6,824
r
######for kaps plot ###### load("4.model/kaps/for.kaps.classification.output.k2-4.RData") fitkaps #### head(kaps.td) table(kaps.td$kaps.group.three) aa=kaps.td aa$kaps.group.two=cut(aa$z.of.mean.exp, breaks = c(min(aa$z.of.mean.exp),0.0128,max(aa$z.of.mean.exp)), labels = c(...
\name{mid} \alias{mid} \title{Militarized Interstate Disputes} \description{ A small sample from the militarized interstate disputes (MID) database. } \usage{data(mid)} \format{ A table containing 6 variables ("conflict", "major", "contig", "power", "maxdem", "mindem", and "years") and 3,126 observations. ...
/man/mid.Rd
no_license
IQSS/Zelig
R
false
false
887
rd
\name{mid} \alias{mid} \title{Militarized Interstate Disputes} \description{ A small sample from the militarized interstate disputes (MID) database. } \usage{data(mid)} \format{ A table containing 6 variables ("conflict", "major", "contig", "power", "maxdem", "mindem", and "years") and 3,126 observations. ...
################################################## ## Extract bioclim variables and save as tif ## ## Author: N. Castaneda ## ## Date: 2012-07-09 ## ################################################## maskVariables <- function(crop_dir, env_dir, eco_dir){ out_...
/R/extractVariables.R
no_license
npcastaneda/gapAnalysis_exsitu
R
false
false
1,517
r
################################################## ## Extract bioclim variables and save as tif ## ## Author: N. Castaneda ## ## Date: 2012-07-09 ## ################################################## maskVariables <- function(crop_dir, env_dir, eco_dir){ out_...
library(BioStatR) ### Name: cvar ### Title: Coefficient de variation ### Aliases: cvar ### Keywords: univar ### ** Examples data(Europe) cvar(Europe[,2])
/data/genthat_extracted_code/BioStatR/examples/cvar.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
161
r
library(BioStatR) ### Name: cvar ### Title: Coefficient de variation ### Aliases: cvar ### Keywords: univar ### ** Examples data(Europe) cvar(Europe[,2])
### R code from vignette source 'reporttools.Rnw' ################################################### ### code chunk number 1: reporttools.Rnw:75-82 ################################################### ## save initial options o1 <- getOption("prompt") o2 <- getOption("continue") o3 <- getOption("width") o4 <...
/inst/doc/reporttools.R
no_license
cran/reporttools
R
false
false
6,460
r
### R code from vignette source 'reporttools.Rnw' ################################################### ### code chunk number 1: reporttools.Rnw:75-82 ################################################### ## save initial options o1 <- getOption("prompt") o2 <- getOption("continue") o3 <- getOption("width") o4 <...
# R programming, Week_2, pollutantmean.R # Author: X.Li # Time: 11/04/2017 #nums<- c(2, 6, 3, 2, 5, 6) #dup <- numeric() #numeric(0) #for (num in nums){ # dup <- c(dup,num) #} rm(list = ls()) setwd("/Users/xiuyuanli/Documents/Data Science/R_programing/") pollutantmean <- function(directory, pollutant, id=1:332){ ...
/pollutantmean.R
no_license
Xiuyuan8/Coursera-DataScience-RProgramming
R
false
false
839
r
# R programming, Week_2, pollutantmean.R # Author: X.Li # Time: 11/04/2017 #nums<- c(2, 6, 3, 2, 5, 6) #dup <- numeric() #numeric(0) #for (num in nums){ # dup <- c(dup,num) #} rm(list = ls()) setwd("/Users/xiuyuanli/Documents/Data Science/R_programing/") pollutantmean <- function(directory, pollutant, id=1:332){ ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/prim.R \name{one.dropping.prog} \alias{one.dropping.prog} \title{Perform dropping one time in prognostic case.} \usage{ one.dropping.prog(d.inside, d.outside, trace.inside.condition, yvar, censorvar, g.str, l.str, type, des.res) } ...
/man/one.dropping.prog.Rd
no_license
xhuang4/SubgrpID
R
false
true
1,169
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/prim.R \name{one.dropping.prog} \alias{one.dropping.prog} \title{Perform dropping one time in prognostic case.} \usage{ one.dropping.prog(d.inside, d.outside, trace.inside.condition, yvar, censorvar, g.str, l.str, type, des.res) } ...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/makeMBOControl.R \name{print.MBOControl} \alias{print.MBOControl} \title{Print mbo control object.} \usage{ \method{print}{MBOControl}(x, ...) } \arguments{ \item{x}{[\code{\link{MBOControl}}]\cr Control object.} \item{...}{[any]\cr ...
/man/print.MBOControl.Rd
no_license
mapleyustat/mlrMBO
R
false
false
376
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/makeMBOControl.R \name{print.MBOControl} \alias{print.MBOControl} \title{Print mbo control object.} \usage{ \method{print}{MBOControl}(x, ...) } \arguments{ \item{x}{[\code{\link{MBOControl}}]\cr Control object.} \item{...}{[any]\cr ...
#' Write InfoStat and InfoGen files #' #' Write InfoStat IDB2 and InfoGen IGDB files. #' #' @param x The object to be written, must be a data frame. #' @param file The file to create. Remember that InfoStat handles .idb2 and InfoGen .igdb files. #' @param sep The separators to use in numerical (real) vectors. Default i...
/R/write.IDB.R
no_license
tokuretsu/read.IDB
R
false
false
1,673
r
#' Write InfoStat and InfoGen files #' #' Write InfoStat IDB2 and InfoGen IGDB files. #' #' @param x The object to be written, must be a data frame. #' @param file The file to create. Remember that InfoStat handles .idb2 and InfoGen .igdb files. #' @param sep The separators to use in numerical (real) vectors. Default i...
# This script scrapes the DEP data for phosphorus measurements # and does a trend analysis on the entire dataset and the last 10 years # DJW 20MAY20 library(readxl) library(dplyr) library(lubridate) library(tidyr) library(stringr) library(ggplot2) library(broom) library(Kendall) # Load secchi data from LSM filepa...
/Historical-R/Togus/v1/Color_historical_trends.R
no_license
djwain/7LA-Colby-WQI
R
false
false
2,083
r
# This script scrapes the DEP data for phosphorus measurements # and does a trend analysis on the entire dataset and the last 10 years # DJW 20MAY20 library(readxl) library(dplyr) library(lubridate) library(tidyr) library(stringr) library(ggplot2) library(broom) library(Kendall) # Load secchi data from LSM filepa...
testlist <- list(AgeVector = c(-4.73074171454048e-167, 2.2262381097027e-76, -9.12990429452974e-204, 5.97087417427845e-79, 4.7390525269307e-300, 6.58361441690132e-121, 3.58611068565168e-154, -2.94504776827523e-186, 2.62380314702636e-116, -6.78950518864266e+23, 6.99695749856012e-167, 86485.676793021, 1.11271562183704...
/myTAI/inst/testfiles/cpp_bootMatrix/AFL_cpp_bootMatrix/cpp_bootMatrix_valgrind_files/1615767611-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
1,803
r
testlist <- list(AgeVector = c(-4.73074171454048e-167, 2.2262381097027e-76, -9.12990429452974e-204, 5.97087417427845e-79, 4.7390525269307e-300, 6.58361441690132e-121, 3.58611068565168e-154, -2.94504776827523e-186, 2.62380314702636e-116, -6.78950518864266e+23, 6.99695749856012e-167, 86485.676793021, 1.11271562183704...
# install.packages("zoo") # install.packages("roll") library(gotmtools) library(LakeEnsemblR) library(ggplot2) library(LakeEnsemblR) library(ggpubr) library(dplyr) library(rLakeAnalyzer) library(reshape) library(reshape2) library(RColorBrewer) library(lubridate) library(Metrics) library(zoo) # moving averages ...
/scripts/stepthrough/step_6_study_results_figures/s6.6_figure7.R
no_license
jacob8776/sunapee_LER_projections
R
false
false
14,870
r
# install.packages("zoo") # install.packages("roll") library(gotmtools) library(LakeEnsemblR) library(ggplot2) library(LakeEnsemblR) library(ggpubr) library(dplyr) library(rLakeAnalyzer) library(reshape) library(reshape2) library(RColorBrewer) library(lubridate) library(Metrics) library(zoo) # moving averages ...
library(dplyr) library(cluster) library(NbClust) #Para determinar el no de clusters optimos library(fpc) library(mclust) library(e1071)#para cmeans library(corrplot) library(factoextra) #Cargando data movies <- read.csv("tmdb-movies.csv") #Para obtener las graficas de codo data <- select(movies, popularity, budget, r...
/hoja2.R
no_license
ivettemar16020/HT2_Clustering
R
false
false
4,435
r
library(dplyr) library(cluster) library(NbClust) #Para determinar el no de clusters optimos library(fpc) library(mclust) library(e1071)#para cmeans library(corrplot) library(factoextra) #Cargando data movies <- read.csv("tmdb-movies.csv") #Para obtener las graficas de codo data <- select(movies, popularity, budget, r...
\name{bin2} \alias{bin2} \title{2D binning} \description{ Bin bivariate data x } \usage{ bin2(x, ab, nbin) } \arguments{ \item{x}{ (input matrix with 2 columns) data sample } \item{ab}{ (input 2 x 2 matrix) rows 1 and 2 contain x and y axis bin intervals, respectively. If not specified, the ranges are stretched by 5\%...
/man/bin2.Rd
no_license
cran/ash
R
false
false
927
rd
\name{bin2} \alias{bin2} \title{2D binning} \description{ Bin bivariate data x } \usage{ bin2(x, ab, nbin) } \arguments{ \item{x}{ (input matrix with 2 columns) data sample } \item{ab}{ (input 2 x 2 matrix) rows 1 and 2 contain x and y axis bin intervals, respectively. If not specified, the ranges are stretched by 5\%...
# TODO こちらのページの内容ではないから別のところに移動すべき、厚労省もまとめてくれないので、削除するのもあり output$detail <- renderDataTable({ datatable( detail, colnames = lang[[langCode]][37:48], rownames = NULL, caption = "データの正確性を確保するため、厚生労働省の報道発表資料のみ参照するので、遅れがあります(土日更新しない模様)。", filter = "top", escape = 11, selection = "none", op...
/03_Components/Main/SummaryTable.server.R
permissive
peppy/2019-ncov-japan
R
false
false
17,615
r
# TODO こちらのページの内容ではないから別のところに移動すべき、厚労省もまとめてくれないので、削除するのもあり output$detail <- renderDataTable({ datatable( detail, colnames = lang[[langCode]][37:48], rownames = NULL, caption = "データの正確性を確保するため、厚生労働省の報道発表資料のみ参照するので、遅れがあります(土日更新しない模様)。", filter = "top", escape = 11, selection = "none", op...
testlist <- list(m = NULL, repetitions = -304992360L, in_m = structure(c(1.72723467253359e-77, 9.53818252170339e+295, 1.22810536108214e+146), .Dim = c(3L, 1L ))) result <- do.call(CNull:::communities_individual_based_sampling_alpha,testlist) str(result)
/CNull/inst/testfiles/communities_individual_based_sampling_alpha/AFL_communities_individual_based_sampling_alpha/communities_individual_based_sampling_alpha_valgrind_files/1615785405-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
254
r
testlist <- list(m = NULL, repetitions = -304992360L, in_m = structure(c(1.72723467253359e-77, 9.53818252170339e+295, 1.22810536108214e+146), .Dim = c(3L, 1L ))) result <- do.call(CNull:::communities_individual_based_sampling_alpha,testlist) str(result)
##Salary Increase By Major dataset analysis ##Ramesh K Patil # Load or install relevant packages required for our analysis # Note: this process could take a couple of minutes #Make sure we get all required packages else get those installed if(!require(rvest)) install.packages("rvest", repos = "http://cran.us.r-p...
/MajorThatPayback.R
no_license
patilram/SalaryIncreaseByMajor
R
false
false
7,561
r
##Salary Increase By Major dataset analysis ##Ramesh K Patil # Load or install relevant packages required for our analysis # Note: this process could take a couple of minutes #Make sure we get all required packages else get those installed if(!require(rvest)) install.packages("rvest", repos = "http://cran.us.r-p...
/valida.r
no_license
ecastellon/mag
R
false
false
5,150
r
# Retrieve EUr/CHF currency exchange data from ECB library(tidyverse) library(xml2) library(writexl) url <- "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/chf.xml" pg <- read_html(url) # extract obesrvations obs_raw <- pg %>% xml_find_all(".//obs") %>% # more than th...
/ecb_eurchf.R
no_license
aledallas/ecb-eurchf
R
false
false
668
r
# Retrieve EUr/CHF currency exchange data from ECB library(tidyverse) library(xml2) library(writexl) url <- "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/chf.xml" pg <- read_html(url) # extract obesrvations obs_raw <- pg %>% xml_find_all(".//obs") %>% # more than th...
##################################################################### qcMetric_MSMS_MSMSDecal = setRefClass( "qcMetric_MSMS_MSMSDecal", contains = "qcMetric", methods = list(initialize=function() { callSuper( helpTextTemplate = "MS/MS decalibration metric. If most of the fragments are within tighte...
/R/qcMetric_MSMS.R
no_license
jschmacht/PTXQC_mzTab
R
false
false
9,388
r
##################################################################### qcMetric_MSMS_MSMSDecal = setRefClass( "qcMetric_MSMS_MSMSDecal", contains = "qcMetric", methods = list(initialize=function() { callSuper( helpTextTemplate = "MS/MS decalibration metric. If most of the fragments are within tighte...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RtestingHelpers.R \name{testmeEnvInit} \alias{testmeEnvInit} \title{Initialize testing environment} \usage{ testmeEnvInit( expectationsFolder = Sprintf("\%{d}s/RtestsExpectations", d = tempdir()), logger = LogAt1 ) } \arguments{ \item{exp...
/man/testmeEnvInit.Rd
no_license
sboehringer/testme
R
false
true
1,030
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RtestingHelpers.R \name{testmeEnvInit} \alias{testmeEnvInit} \title{Initialize testing environment} \usage{ testmeEnvInit( expectationsFolder = Sprintf("\%{d}s/RtestsExpectations", d = tempdir()), logger = LogAt1 ) } \arguments{ \item{exp...
library(DRIAD) suppressMessages(library( purrr )) future::plan( future::multiprocess ) ## Evaluates a gene set from a GMT file ## fnGMT - filename of gene set in a .gmt format ## fnData - filename of a wrangled AMP-AD dataset ## task - one of {AB, AC, BC} evalGMTset <- function( fnGMT, fnData, task ) { stopifno...
/analyses/predict/dge.R
permissive
clemenshug/DRIADrc
R
false
false
1,480
r
library(DRIAD) suppressMessages(library( purrr )) future::plan( future::multiprocess ) ## Evaluates a gene set from a GMT file ## fnGMT - filename of gene set in a .gmt format ## fnData - filename of a wrangled AMP-AD dataset ## task - one of {AB, AC, BC} evalGMTset <- function( fnGMT, fnData, task ) { stopifno...
# This scripts download COVID-19 data from # https://data.world/covid-19-data-resource-hub/covid-19-case-counts library("data.world") library(xlsx) library(readr) library(dplyr) df <- query(qry_sql("SELECT * FROM covid_19_cases"), dataset = "covid-19-data-resource-hub/covid-19-case-counts") # Sve to exp...
/scripts/download/Download_Data.R
no_license
JunyanHuang0224/COVID-19-Investigation
R
false
false
470
r
# This scripts download COVID-19 data from # https://data.world/covid-19-data-resource-hub/covid-19-case-counts library("data.world") library(xlsx) library(readr) library(dplyr) df <- query(qry_sql("SELECT * FROM covid_19_cases"), dataset = "covid-19-data-resource-hub/covid-19-case-counts") # Sve to exp...
\name{cpm} \alias{cpm} \alias{cpm.DGEList} \alias{cpm.default} \alias{rpkm} \title{Counts per Million or Reads per Kilobase per Million} \description{Computes counts per million (CPM) or reads per kilobase per million (RPKM) values.} \usage{ \method{cpm}{DGEList}(x, normalized.lib.sizes=TRUE, log=FALSE, p...
/man/cpm.Rd
no_license
genome-vendor/r-bioc-edger
R
false
false
1,883
rd
\name{cpm} \alias{cpm} \alias{cpm.DGEList} \alias{cpm.default} \alias{rpkm} \title{Counts per Million or Reads per Kilobase per Million} \description{Computes counts per million (CPM) or reads per kilobase per million (RPKM) values.} \usage{ \method{cpm}{DGEList}(x, normalized.lib.sizes=TRUE, log=FALSE, p...
eap17c <- function (mu, RES, lam, vres, nodos1, nodos2){ RES<-as.matrix(RES) n<-size(RES)[1] m<-size(RES)[2] if (n>m){ ni <- n } else { ni <- m } k <- dim(nodos1)[1] p <- matrix(0,ni) L1 <- matrix(0,k,k) L2 <- matrix(0,k,k) deno <- 0 nume1 <- 0 nume2 <- 0 ...
/R/eap17c.R
no_license
cran/InDisc
R
false
false
1,408
r
eap17c <- function (mu, RES, lam, vres, nodos1, nodos2){ RES<-as.matrix(RES) n<-size(RES)[1] m<-size(RES)[2] if (n>m){ ni <- n } else { ni <- m } k <- dim(nodos1)[1] p <- matrix(0,ni) L1 <- matrix(0,k,k) L2 <- matrix(0,k,k) deno <- 0 nume1 <- 0 nume2 <- 0 ...
setwd('~/Documents/RNAdata/danBatch1/bowtieGem/revHTSeq/') geneData = read.delim('GLMedgeR/output/131021_shortVSlongLiberalDE.txt', row.names=1) networkData = read.delim('networks/tabdelimited.H69__C2Mdbfx.txt') geneData$description = gsub('Source:HGNC Symbol;Acc', '', geneData$description) nw = networkData[,c(1,2,15...
/PhD/rnaSeqBatch1/131025_buildCytoscapeNetwork.R
no_license
dvbrown/Rscripts
R
false
false
1,234
r
setwd('~/Documents/RNAdata/danBatch1/bowtieGem/revHTSeq/') geneData = read.delim('GLMedgeR/output/131021_shortVSlongLiberalDE.txt', row.names=1) networkData = read.delim('networks/tabdelimited.H69__C2Mdbfx.txt') geneData$description = gsub('Source:HGNC Symbol;Acc', '', geneData$description) nw = networkData[,c(1,2,15...
#' @title FUNCTION_TITLE #' @description FUNCTION_DESCRIPTION #' @param run_date PARAM_DESCRIPTION #' @param indicator PARAM_DESCRIPTION #' @param indicator_group PARAM_DESCRIPTION #' @param return_graph PARAM_DESCRIPTION, Default: F #' @return OUTPUT_DESCRIPTION #' @details DETAILS #' @examples #' \dontrun{ #' if (int...
/mbg/mbg_core_code/mbg_central/LBDCore/R/graph_run_summary.R
no_license
The-Oxford-GBD-group/typhi_paratyphi_modelling_code
R
false
false
3,088
r
#' @title FUNCTION_TITLE #' @description FUNCTION_DESCRIPTION #' @param run_date PARAM_DESCRIPTION #' @param indicator PARAM_DESCRIPTION #' @param indicator_group PARAM_DESCRIPTION #' @param return_graph PARAM_DESCRIPTION, Default: F #' @return OUTPUT_DESCRIPTION #' @details DETAILS #' @examples #' \dontrun{ #' if (int...
''' Q1 mpg 데이터의 cty(도시 연비) hwy(고속연비)를 이용해서 x 축은 cty, y 축은 hwy 로 된 산점도를 생성하세요. ''' .libPaths("D:/library") library(ggplot2) mpg <- as.data.frame(mpg) ggplot(mpg, aes(x = cty, y=hwy)) + geom_point() ''' Q2 미국 지역별 인구통계 정보를 담은 ggplot2 패키지의 midwest 데이터를 이용합니다 x 축은 poptotal(전체 인구), y 축은 popasian(아시아인 인구)으로 된 산점도를 만들어 보세요...
/basic_r/code/03ggplot2/script04(문제).R
no_license
a3coo3a/RStudy
R
false
false
2,687
r
''' Q1 mpg 데이터의 cty(도시 연비) hwy(고속연비)를 이용해서 x 축은 cty, y 축은 hwy 로 된 산점도를 생성하세요. ''' .libPaths("D:/library") library(ggplot2) mpg <- as.data.frame(mpg) ggplot(mpg, aes(x = cty, y=hwy)) + geom_point() ''' Q2 미국 지역별 인구통계 정보를 담은 ggplot2 패키지의 midwest 데이터를 이용합니다 x 축은 poptotal(전체 인구), y 축은 popasian(아시아인 인구)으로 된 산점도를 만들어 보세요...
## Create an object that will speed up the delivery of the invert ## of a matrix using lexical scoping. ## Usage : # > v <- makeCacheMatrix() # > v$set(matrix(rnorm(1000000),1000,1000)) # > inverted_m <- cacheSolve(v) # Computed inverted matrix in 2.169 (secs) # > inverted_m <- cacheSolve(v) # getting cached matrix in...
/cachematrix.R
no_license
mgiannak/ProgrammingAssignment2
R
false
false
2,919
r
## Create an object that will speed up the delivery of the invert ## of a matrix using lexical scoping. ## Usage : # > v <- makeCacheMatrix() # > v$set(matrix(rnorm(1000000),1000,1000)) # > inverted_m <- cacheSolve(v) # Computed inverted matrix in 2.169 (secs) # > inverted_m <- cacheSolve(v) # getting cached matrix in...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slingshot_curves.R \name{prepare_trajectory} \alias{prepare_trajectory} \title{Prepare trajectories for usage} \usage{ prepare_trajectory(curve, target_length) } \arguments{ \item{curve}{\code{principal_curve} object} \item{target_length}{ta...
/eSVD/man/prepare_trajectory.Rd
permissive
linnykos/esvd
R
false
true
757
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slingshot_curves.R \name{prepare_trajectory} \alias{prepare_trajectory} \title{Prepare trajectories for usage} \usage{ prepare_trajectory(curve, target_length) } \arguments{ \item{curve}{\code{principal_curve} object} \item{target_length}{ta...
testlist <- list(G = numeric(0), Rn = numeric(0), atmp = c(3.97314911878724e-307, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), relh = c(1.46950620900256e+302, 4.11932782999429e-175, -3.8...
/meteor/inst/testfiles/ET0_PriestleyTaylor/AFL_ET0_PriestleyTaylor/ET0_PriestleyTaylor_valgrind_files/1615843879-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
2,231
r
testlist <- list(G = numeric(0), Rn = numeric(0), atmp = c(3.97314911878724e-307, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), relh = c(1.46950620900256e+302, 4.11932782999429e-175, -3.8...
/teams/ConsumeT1/Créations d'entreprises annuelles par zones d'emploi.R
no_license
LOS-ESSnet/Paris-Hackathon
R
false
false
2,061
r
# Shiny Gadjet 2 ---------------------------------------------------------- library(shiny) library(miniUI) multiplyNumbers <- function(numbers1, numbers2) { ui <- miniPage ( gadgetTitleBar("Multiply Two Numbers"), miniContentPanel( selectInput("num1", "First Number", choices=numbers1)...
/shinyGadget2.R
no_license
PraveenSebastian/Developing-Data-Products
R
false
false
644
r
# Shiny Gadjet 2 ---------------------------------------------------------- library(shiny) library(miniUI) multiplyNumbers <- function(numbers1, numbers2) { ui <- miniPage ( gadgetTitleBar("Multiply Two Numbers"), miniContentPanel( selectInput("num1", "First Number", choices=numbers1)...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/extension.R \name{mysqlClientLibraryVersions} \alias{mysqlClientLibraryVersions} \title{MySQL Check for Compiled Versus Loaded Client Library Versions} \usage{ mysqlClientLibraryVersions() } \value{ A named integer vector of length tw...
/man/mysqlClientLibraryVersions.Rd
no_license
stevenranney/RMySQL
R
false
false
589
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/extension.R \name{mysqlClientLibraryVersions} \alias{mysqlClientLibraryVersions} \title{MySQL Check for Compiled Versus Loaded Client Library Versions} \usage{ mysqlClientLibraryVersions() } \value{ A named integer vector of length tw...
library("dygraphs") library("janitor") library("tidyverse") library("xts") library(shiny) # Define UI for application that draws a histogram shinyUI(fluidPage( # Application title titlePanel("Tijdseries"), # Sidebar sidebarLayout( sidebarPanel( ), # Show a plot of the time serie...
/apps/time_lines/ui.R
no_license
BorisStapel/znstd_shiny_pilot
R
false
false
381
r
library("dygraphs") library("janitor") library("tidyverse") library("xts") library(shiny) # Define UI for application that draws a histogram shinyUI(fluidPage( # Application title titlePanel("Tijdseries"), # Sidebar sidebarLayout( sidebarPanel( ), # Show a plot of the time serie...
library(FatTailsR) ### Name: fatreturns ### Title: Simple and Elaborated Prices to Returns ### Aliases: fatreturns logreturns replaceNA ### ** Examples fatreturns(extractData()) logreturns(getDSdata())
/data/genthat_extracted_code/FatTailsR/examples/fatreturns.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
211
r
library(FatTailsR) ### Name: fatreturns ### Title: Simple and Elaborated Prices to Returns ### Aliases: fatreturns logreturns replaceNA ### ** Examples fatreturns(extractData()) logreturns(getDSdata())
setwd('/Volumes/Padlock/TOLSURF') subjects = read.table('filtered_data.txt', sep='\t', header=TRUE) set.seed(100) train_size = floor(0.75 * nrow(subjects)) train_ind = sample(seq_len(nrow(subjects)), size = train_size) train = subjects[train_ind, ] test = subjects[-train_ind, ] mylogit = glm(bpd36.die ~ afr + nam + ...
/log_reg.R
no_license
jeanmico/2018-spring
R
false
false
726
r
setwd('/Volumes/Padlock/TOLSURF') subjects = read.table('filtered_data.txt', sep='\t', header=TRUE) set.seed(100) train_size = floor(0.75 * nrow(subjects)) train_ind = sample(seq_len(nrow(subjects)), size = train_size) train = subjects[train_ind, ] test = subjects[-train_ind, ] mylogit = glm(bpd36.die ~ afr + nam + ...
#' Add a scrollbar to R output #' #' Determine a maximum height that R console output should be and if output is #' larger than that value, make it scrollable. #' #' To run this hook, call the \code{output_max_height()} function and then you #' can either set a global maximum height #' #' \code{ #' knitr::opts_chunk$se...
/R/hooks.R
permissive
nathaneastwood/knitrhooks
R
false
false
5,806
r
#' Add a scrollbar to R output #' #' Determine a maximum height that R console output should be and if output is #' larger than that value, make it scrollable. #' #' To run this hook, call the \code{output_max_height()} function and then you #' can either set a global maximum height #' #' \code{ #' knitr::opts_chunk$se...
\name{ancestral} \alias{ancestral} \title{ Estimation of traits ancestral states. } \description{ Reconstruct the ancestral states at each node of a phylogenetic tree from models fit obtained using the \code{mvgls} function. For models of the class \code{mvXX} this is a wrapper to the function \code{estim}} \usage{ a...
/man/ancestral.Rd
no_license
JClavel/mvMORPH
R
false
false
2,850
rd
\name{ancestral} \alias{ancestral} \title{ Estimation of traits ancestral states. } \description{ Reconstruct the ancestral states at each node of a phylogenetic tree from models fit obtained using the \code{mvgls} function. For models of the class \code{mvXX} this is a wrapper to the function \code{estim}} \usage{ a...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sc_sample_data.R \docType{data} \name{sc_sample_data} \alias{sc_sample_data} \title{a small sample scRNA-seq counts dataset to demonstrate capabilities of scPipe} \format{a matrix instance, one row per gene.} \source{ Christin Biben (WEHI). ...
/man/sc_sample_data.Rd
no_license
Bioinfomatics/scPipe
R
false
true
1,320
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sc_sample_data.R \docType{data} \name{sc_sample_data} \alias{sc_sample_data} \title{a small sample scRNA-seq counts dataset to demonstrate capabilities of scPipe} \format{a matrix instance, one row per gene.} \source{ Christin Biben (WEHI). ...
rm(list=ls()) setwd("C:/Users/Sharath P Dandamudi/Desktop/Titanic") # ************************Importing and exporting excel files library(readxl) df1 <- read_excel("train.xlsx", sheet = "Sheet1") Sys.setenv(JAVA_HOME='C:\\Program Files\\Java\\jre1.8.0_131') library(rJava) library(xlsx) write.xls...
/Importing and exporting data.R
no_license
consultsd/Knowledge
R
false
false
584
r
rm(list=ls()) setwd("C:/Users/Sharath P Dandamudi/Desktop/Titanic") # ************************Importing and exporting excel files library(readxl) df1 <- read_excel("train.xlsx", sheet = "Sheet1") Sys.setenv(JAVA_HOME='C:\\Program Files\\Java\\jre1.8.0_131') library(rJava) library(xlsx) write.xls...
#Exploratory Data Analysis Week 1 ; Plot 4 #point to our data and download it setwd("C:/Users/Paul/Desktop/DataScienceProg/ExploratoryDataAnalysis") allData<-read.table("household_power_consumption.txt",header=T,sep=";") transform(allData, Date = as.Date(Date)) transform(allData,Time=strptime(Time)) data<-sub...
/Plot4.R
no_license
paccardi/ExData_Plotting1
R
false
false
1,398
r
#Exploratory Data Analysis Week 1 ; Plot 4 #point to our data and download it setwd("C:/Users/Paul/Desktop/DataScienceProg/ExploratoryDataAnalysis") allData<-read.table("household_power_consumption.txt",header=T,sep=";") transform(allData, Date = as.Date(Date)) transform(allData,Time=strptime(Time)) data<-sub...
setwd("C:/Users/priya/Desktop/project2.md") if(!file.exists("./dataStore")){dir.create("./dataStore")} get.data.project <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(get.data.project,destfile="./dataStore/exdata-data-NEI_data.zip",method="auto") check.url <- file(get.data.proje...
/plot2.R
no_license
SaiKumarAdduri/project2.md
R
false
false
2,078
r
setwd("C:/Users/priya/Desktop/project2.md") if(!file.exists("./dataStore")){dir.create("./dataStore")} get.data.project <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(get.data.project,destfile="./dataStore/exdata-data-NEI_data.zip",method="auto") check.url <- file(get.data.proje...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/dse15e.R \docType{data} \name{dse15e} \alias{dse15e} \title{Dataset for Exercise E, Chapter 15} \format{A \code{data.frame} with 90 rows and 8 variables: \describe{ \item{y}{} \item{x1}{} \item{x2}{} \item{x3}{} \item{x4}{} \item{x5}{...
/man/dse15e.Rd
no_license
danielgil1/aprean3
R
false
false
553
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/dse15e.R \docType{data} \name{dse15e} \alias{dse15e} \title{Dataset for Exercise E, Chapter 15} \format{A \code{data.frame} with 90 rows and 8 variables: \describe{ \item{y}{} \item{x1}{} \item{x2}{} \item{x3}{} \item{x4}{} \item{x5}{...
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common get_config new_operation new_request send_request #' @include swf_service.R NULL #' Returns the number of closed workflow executions within the given domain #' that meet the specified filtering criteria #' #' Returns the number ...
/cran/paws.application.integration/R/swf_operations.R
permissive
johnnytommy/paws
R
false
false
136,157
r
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common get_config new_operation new_request send_request #' @include swf_service.R NULL #' Returns the number of closed workflow executions within the given domain #' that meet the specified filtering criteria #' #' Returns the number ...
############## #-Problema 1-# ############## datos<-read.csv("problema1.csv",header=T) datos$control<-as.factor(datos$control) datos$levorphanol<-as.factor(datos$levorphanol) datos$epinephrine<-as.factor(datos$epinephrine) #Observamos la media de cada factor tapply(datos$stress,list(datos$levorphanol,datos$epinephrine...
/Talleres de R/Laboratorio IV.R
no_license
daczarne/udelar_modelos_lineales
R
false
false
2,083
r
############## #-Problema 1-# ############## datos<-read.csv("problema1.csv",header=T) datos$control<-as.factor(datos$control) datos$levorphanol<-as.factor(datos$levorphanol) datos$epinephrine<-as.factor(datos$epinephrine) #Observamos la media de cada factor tapply(datos$stress,list(datos$levorphanol,datos$epinephrine...
## 根重密度推定例, 根研50, 2019/11/24 田島亮介 ## ライブラリの読み込み library(rstan) library(inline) library(Rcpp) ## Stanモデル Model<- " data { int<lower=0> NT; int<lower=0> ND; real<lower=0> D[ND]; int<lower=0> RN[NT]; real<lower=0> S[NT, ND]; } parameters { real<lower=0> b0; real<lower=0> b1...
/Model.r
no_license
blukaniro/RWDP191124
R
false
false
1,410
r
## 根重密度推定例, 根研50, 2019/11/24 田島亮介 ## ライブラリの読み込み library(rstan) library(inline) library(Rcpp) ## Stanモデル Model<- " data { int<lower=0> NT; int<lower=0> ND; real<lower=0> D[ND]; int<lower=0> RN[NT]; real<lower=0> S[NT, ND]; } parameters { real<lower=0> b0; real<lower=0> b1...
library(deSolve) library(shiny) library(TSA) library(Rcpp) sourceCpp("modGMS.cpp") ui <- fluidPage( tabsetPanel( id="panels", tabPanel(title = strong("Baseline"), column(3, sliderInput(inputId="API", label = "baseline API", value = 10, min=1, max=100,step=0.5), ...
/simplified_v8_20170620 last working shiny version.R
no_license
SaiTheinThanTun/PSA-of-Savannakhet-model
R
false
false
16,787
r
library(deSolve) library(shiny) library(TSA) library(Rcpp) sourceCpp("modGMS.cpp") ui <- fluidPage( tabsetPanel( id="panels", tabPanel(title = strong("Baseline"), column(3, sliderInput(inputId="API", label = "baseline API", value = 10, min=1, max=100,step=0.5), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/land.R \name{\%land\%} \alias{\%->\%} \alias{\%->_\%} \alias{\%land\%} \alias{\%land_\%} \title{Land a value to variable from a pipeline.} \usage{ value \%land\% name value \%->\% name value \%->_\% name value \%land_\% name } \arguments{ ...
/man/grapes-land-grapes.Rd
no_license
bluelou/replyr
R
false
true
958
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/land.R \name{\%land\%} \alias{\%->\%} \alias{\%->_\%} \alias{\%land\%} \alias{\%land_\%} \title{Land a value to variable from a pipeline.} \usage{ value \%land\% name value \%->\% name value \%->_\% name value \%land_\% name } \arguments{ ...
library(testthat) context("Read Oneshot") credential <- REDCapR::retrieve_credential_local( path_credential = base::file.path(pkgload::inst(name="REDCapR"), "misc/example.credentials"), project_id = 153 ) test_that("Smoke Test", { testthat::skip_on_cran() expect_message( returned_object <- redcap_rea...
/tests/testthat/test-read-oneshot.R
no_license
hatemhosny/REDCapR
R
false
false
46,319
r
library(testthat) context("Read Oneshot") credential <- REDCapR::retrieve_credential_local( path_credential = base::file.path(pkgload::inst(name="REDCapR"), "misc/example.credentials"), project_id = 153 ) test_that("Smoke Test", { testthat::skip_on_cran() expect_message( returned_object <- redcap_rea...
cminput2bed<-function(cminput,memo){ CHR=paste("chr",cminput$Chromosome,sep="") START=paste(cminput$Position-1) END=paste(cminput$Position) SNP=paste(cminput$SNP) P=paste(cminput$trait1) bed<-data.frame(CHR,START,END,SNP,P) filename=paste(memo,".bed",sep="") write.table(bed,file=filename,quote=F,col.names=F,row.names=F...
/cminput2bed.R
no_license
Shicheng-Guo/GscRbasement
R
false
false
333
r
cminput2bed<-function(cminput,memo){ CHR=paste("chr",cminput$Chromosome,sep="") START=paste(cminput$Position-1) END=paste(cminput$Position) SNP=paste(cminput$SNP) P=paste(cminput$trait1) bed<-data.frame(CHR,START,END,SNP,P) filename=paste(memo,".bed",sep="") write.table(bed,file=filename,quote=F,col.names=F,row.names=F...
#' Operations on blob leases #' #' Manage leases for blobs and blob containers. #' #' @param container A blob container object. #' @param blob The name of an individual blob. If not supplied, the lease applies to the entire container. #' @param duration For `acquire_lease`, The duration of the requested lease. For an i...
/R/blob_lease.R
permissive
Azure/AzureStor
R
false
false
3,389
r
#' Operations on blob leases #' #' Manage leases for blobs and blob containers. #' #' @param container A blob container object. #' @param blob The name of an individual blob. If not supplied, the lease applies to the entire container. #' @param duration For `acquire_lease`, The duration of the requested lease. For an i...
\alias{gtkToolbarInsertStock} \name{gtkToolbarInsertStock} \title{gtkToolbarInsertStock} \description{ Inserts a stock item at the specified position of the toolbar. If \code{stock.id} is not a known stock item ID, it's inserted verbatim, except that underscores used to mark mnemonics are removed. \strong{WARNING: \co...
/RGtk2/man/gtkToolbarInsertStock.Rd
no_license
lawremi/RGtk2
R
false
false
1,408
rd
\alias{gtkToolbarInsertStock} \name{gtkToolbarInsertStock} \title{gtkToolbarInsertStock} \description{ Inserts a stock item at the specified position of the toolbar. If \code{stock.id} is not a known stock item ID, it's inserted verbatim, except that underscores used to mark mnemonics are removed. \strong{WARNING: \co...
runcodeServer() output$diag <- renderPrint({ }) output$tester <- renderPlot({ print(input$tester$click) plot(1:5,c(1,3,2,1,4)) }) observeEvent(input$tester_click,{ print("click") }) observeEvent(input$tester_dblclick,{ print("dblclick") })
/inst/MosaicApp/main/modules_nonformal/diagnostics_server.R
no_license
JasonBason/Mosaic
R
false
false
270
r
runcodeServer() output$diag <- renderPrint({ }) output$tester <- renderPlot({ print(input$tester$click) plot(1:5,c(1,3,2,1,4)) }) observeEvent(input$tester_click,{ print("click") }) observeEvent(input$tester_dblclick,{ print("dblclick") })
setwd("/home/s/Dokumente/R&D/IoTTrace/data/") data <- read.csv("taxi-medium-small.csv") names(data) <- c("id","taxiid","longitude","latitude","speed","angle","datetime","status","extendedstatus","reversed") dataorig <- data datacount <- nrow(data) #number of read observations datacount #bullshit value filtering data <...
/R/consistency.r
no_license
trepolus/IoTTrace
R
false
false
4,094
r
setwd("/home/s/Dokumente/R&D/IoTTrace/data/") data <- read.csv("taxi-medium-small.csv") names(data) <- c("id","taxiid","longitude","latitude","speed","angle","datetime","status","extendedstatus","reversed") dataorig <- data datacount <- nrow(data) #number of read observations datacount #bullshit value filtering data <...
############################################################################## ### ### MST ### ### Generate SCITE Input ### ############################################################################## ### Copyright (c) 2015-2018, The TRONCO Team (www.troncopackage.org) ### email: tronco@disco.unimib.it ### All rights...
/experiment_real_data/multiple_biospy/crc_multiregion_you-wang/generate.scite.input.R
no_license
BIMIB-DISCo/MST
R
false
false
3,759
r
############################################################################## ### ### MST ### ### Generate SCITE Input ### ############################################################################## ### Copyright (c) 2015-2018, The TRONCO Team (www.troncopackage.org) ### email: tronco@disco.unimib.it ### All rights...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{mideast} \alias{mideast} \title{[Dataset] For- and Against- Relationship in Mid-east (2013)} \format{A matrix (16 * 16) \cr Mutual attitude of the political powers (for or against/weight)} \description{ A matrix of...
/man/mideast.Rd
permissive
xwydq/recharts-1
R
false
true
575
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{mideast} \alias{mideast} \title{[Dataset] For- and Against- Relationship in Mid-east (2013)} \format{A matrix (16 * 16) \cr Mutual attitude of the political powers (for or against/weight)} \description{ A matrix of...
setwd("D:/HDF/hdfco") library(gdalUtils) library(rgdal) library("rhdf5") library(raster) library(sp) library(raster) library(sf) ##for reading shp file library(raster) ##creating rasters library(rasterVis) ## To visiualize the rasters library(sommer) ## for theme sds <- get_subdatasets("AIRS.2019.04.01.L...
/code/co/aprband2019.R
no_license
samyam200200/AQI-Indian-Subcontinent
R
false
false
2,498
r
setwd("D:/HDF/hdfco") library(gdalUtils) library(rgdal) library("rhdf5") library(raster) library(sp) library(raster) library(sf) ##for reading shp file library(raster) ##creating rasters library(rasterVis) ## To visiualize the rasters library(sommer) ## for theme sds <- get_subdatasets("AIRS.2019.04.01.L...