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
## Get and display exoplanet data ---- ## app pulls data twice, fix to only require one ---- library(DT) library(threejs) ui <- bootstrapPage( tabsetPanel(type = "tabs", tabPanel("Data", DT::dataTableOutput("datatable")), tabPanel("Plot", threejs::scatterplotThreeOutput...
/app.R
no_license
LMDelacour/exoplanet_shiny_app
R
false
false
3,564
r
## Get and display exoplanet data ---- ## app pulls data twice, fix to only require one ---- library(DT) library(threejs) ui <- bootstrapPage( tabsetPanel(type = "tabs", tabPanel("Data", DT::dataTableOutput("datatable")), tabPanel("Plot", threejs::scatterplotThreeOutput...
#' @importFrom grid is.unit unit #' @importFrom digest digest #' @export guide_edge_colourbar <- function(title = waiver(), title.position = NULL, title.theme = NULL, title.hjust = NULL, title.vjust = NULL, label = TRUE, label.position = N...
/R/edge_colourbar.R
no_license
MarkEdmondson1234/ggraph
R
false
false
13,396
r
#' @importFrom grid is.unit unit #' @importFrom digest digest #' @export guide_edge_colourbar <- function(title = waiver(), title.position = NULL, title.theme = NULL, title.hjust = NULL, title.vjust = NULL, label = TRUE, label.position = N...
# Read in the file. # The file hpc-feb2007 was created from the original file # household_power_consumption.txt by # extracting only the data for 1st and 2nd February 2007 # The file hpc-feb2007 is available in the git repository for reference # t <- read.csv2("hpc-feb2007", sep=";", dec=".", na.strings = c("?")) png...
/plot3.R
no_license
regloh/ExData_Plotting1
R
false
false
1,550
r
# Read in the file. # The file hpc-feb2007 was created from the original file # household_power_consumption.txt by # extracting only the data for 1st and 2nd February 2007 # The file hpc-feb2007 is available in the git repository for reference # t <- read.csv2("hpc-feb2007", sep=";", dec=".", na.strings = c("?")) png...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/facet_edges.R \name{facet_edges} \alias{facet_edges} \title{Create small multiples based on edge attributes} \usage{ facet_edges( facets, nrow = NULL, ncol = NULL, scales = "fixed", shrink = TRUE, labeller = "label_value", as.ta...
/man/facet_edges.Rd
permissive
uxproductdesign/ggraph
R
false
true
3,223
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/facet_edges.R \name{facet_edges} \alias{facet_edges} \title{Create small multiples based on edge attributes} \usage{ facet_edges( facets, nrow = NULL, ncol = NULL, scales = "fixed", shrink = TRUE, labeller = "label_value", as.ta...
#clean_env() #source('startup.R') type <- "like" # Read input input <- read_raw_input() target_col <- source_col # Normalize NAs because some are "NA" and others are true NA input2 <- input %>% normalize_na() # Creating final input object to join with final output object final_input <- input2 # Par...
/01 procedure/cache_resultsets/source_each_word_like.R
no_license
meerapatelmd/omop_mapping
R
false
false
1,735
r
#clean_env() #source('startup.R') type <- "like" # Read input input <- read_raw_input() target_col <- source_col # Normalize NAs because some are "NA" and others are true NA input2 <- input %>% normalize_na() # Creating final input object to join with final output object final_input <- input2 # Par...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Internal_functions.R \name{mu.chain.nd} \alias{mu.chain.nd} \title{mu.chain.nd} \usage{ mu.chain.nd(posterior, newdata, link.mu) } \description{ mu.chain.nd } \keyword{internal}
/fuzzedpackages/FlexReg/man/mu.chain.nd.Rd
no_license
akhikolla/testpackages
R
false
true
256
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Internal_functions.R \name{mu.chain.nd} \alias{mu.chain.nd} \title{mu.chain.nd} \usage{ mu.chain.nd(posterior, newdata, link.mu) } \description{ mu.chain.nd } \keyword{internal}
#' A 'ggplot2' geom to add text labels to treemap subgroups. #' #' When `geom_treemap` is used with the `subgroup` aesthetic to subgroup treemap #' tiles, `geom_treemap_subgroup_text` can be used to add a text label to each #' subgroup. #' #' `geom_treemap_subgroup_text` requires `area`, `label` and `subgroup` #' aesth...
/R/geom_treemap_subgroup_text.R
no_license
zhaoxiaohe/treemapify
R
false
false
4,964
r
#' A 'ggplot2' geom to add text labels to treemap subgroups. #' #' When `geom_treemap` is used with the `subgroup` aesthetic to subgroup treemap #' tiles, `geom_treemap_subgroup_text` can be used to add a text label to each #' subgroup. #' #' `geom_treemap_subgroup_text` requires `area`, `label` and `subgroup` #' aesth...
############################################################ # # # PostGRES SQL # # # ############################################################ ##...
/4 PostGres_connect.R
no_license
FrederikTomPetersen/Conflict-Prediction
R
false
false
882
r
############################################################ # # # PostGRES SQL # # # ############################################################ ##...
# # This test file has been generated by kwb.test::create_test_files() # launched by user mrustl on 2021-02-23 15:12:57. # Your are strongly encouraged to modify the dummy functions # so that real cases are tested. You should then delete this comment. # test_that("print_basic_information() works", { f <- kwb.qmra::...
/tests/testthat/test-function-print_basic_information.R
permissive
KWB-R/kwb.qmra
R
false
false
428
r
# # This test file has been generated by kwb.test::create_test_files() # launched by user mrustl on 2021-02-23 15:12:57. # Your are strongly encouraged to modify the dummy functions # so that real cases are tested. You should then delete this comment. # test_that("print_basic_information() works", { f <- kwb.qmra::...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_map_state} \alias{fars_map_state} \title{Plots a map for a specific state} \usage{ fars_map_state(state.num, year) } \arguments{ \item{state.num}{give number of state} \item{year}{a string} } \value{ plots a graph...
/man/fars_map_state.Rd
no_license
jamesbertschy/fars
R
false
true
557
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_map_state} \alias{fars_map_state} \title{Plots a map for a specific state} \usage{ fars_map_state(state.num, year) } \arguments{ \item{state.num}{give number of state} \item{year}{a string} } \value{ plots a graph...
# Author: "Ian Hinds" # Date: 2020-08-11 # Purpose: daily exercise 6: Using ggplot with COVID Data library(tidyverse) url = 'https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv' covid = read_csv(url) head(covid) #1 # Make a faceted line plot (geom_line) of the 6 states with most cases. X a...
/R/ianhinds-day-06.R
no_license
Hindstein/geog176A-daily-exercises
R
false
false
1,108
r
# Author: "Ian Hinds" # Date: 2020-08-11 # Purpose: daily exercise 6: Using ggplot with COVID Data library(tidyverse) url = 'https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv' covid = read_csv(url) head(covid) #1 # Make a faceted line plot (geom_line) of the 6 states with most cases. X a...
#' Solve the model #' #' @param model a named list with params, variables and equations. #' @param scale_alpha a vector of size 1 or the same number of mcc equations. #' The values should be between 0 and 1 and will be used as steplength for updating each undefined variable. #' @param alpha_min a number between 0 and 1...
/R/solve_emr_block.R
no_license
amshew/emr
R
false
false
7,521
r
#' Solve the model #' #' @param model a named list with params, variables and equations. #' @param scale_alpha a vector of size 1 or the same number of mcc equations. #' The values should be between 0 and 1 and will be used as steplength for updating each undefined variable. #' @param alpha_min a number between 0 and 1...
## ------------------------------------------------------------------------ library("knitcitations") cleanbib() ## ------------------------------------------------------------------------ options("citation_format" = "pandoc") ## ----echo=FALSE, include=FALSE, results="hide"--------------------------- ## Dummy block t...
/knitcitations/doc/tutorial.R
no_license
bwtian/rLibLin
R
false
false
562
r
## ------------------------------------------------------------------------ library("knitcitations") cleanbib() ## ------------------------------------------------------------------------ options("citation_format" = "pandoc") ## ----echo=FALSE, include=FALSE, results="hide"--------------------------- ## Dummy block t...
source('../build_dataframes.R', chdir = TRUE) source('../global.R', chdir = TRUE) library(testthat) #' Test builddfBE function in build_dataframes.R #' @example builddfBE(annotation, symbol, connection) # Test with single gene - Symbol test_that("single gene - symbol", { df <- builddfBE("Symbol", "Cyp1a1", dbconn) ...
/app/unit_tests/test_builddfBE.R
no_license
zacharewskilab/FAIRTox
R
false
false
2,565
r
source('../build_dataframes.R', chdir = TRUE) source('../global.R', chdir = TRUE) library(testthat) #' Test builddfBE function in build_dataframes.R #' @example builddfBE(annotation, symbol, connection) # Test with single gene - Symbol test_that("single gene - symbol", { df <- builddfBE("Symbol", "Cyp1a1", dbconn) ...
cluster_pos_graph <- function(theta){ }
/vignettes/test/plot_pos_graph.R
no_license
kkdey/aRchaic-old-2
R
false
false
47
r
cluster_pos_graph <- function(theta){ }
### Repeat find clusster with higher stringency ### Mag.combined<- FindVariableGenes(object = Mag.combined, mean.function = ExpMean, dispersion.function = LogVMR, x.low.cutoff = 0.5, x.high.cutoff = 3, y.cutoff = 1.5) length(Mag.combined@var.genes) Mag.combined <- ScaleData(object = M...
/R_scripts/2018_10_11_Mg_degenes_repeat.R
no_license
AthenACHY/Single-cell-analysis
R
false
false
8,164
r
### Repeat find clusster with higher stringency ### Mag.combined<- FindVariableGenes(object = Mag.combined, mean.function = ExpMean, dispersion.function = LogVMR, x.low.cutoff = 0.5, x.high.cutoff = 3, y.cutoff = 1.5) length(Mag.combined@var.genes) Mag.combined <- ScaleData(object = M...
require(quantmod) require(tseries) sapply(list.files(pattern="[.]R$", path='functions/', full.names=TRUE), source) ## Retrieving Data & Refining file1 <- "./data/pf_opt_data.csv" pf_opt_data <- read.csv(file1) pf_opt_data <- as.xts(pf_opt_data[,-1], order.by=as.POSIXct(pf_opt_data[,1])) prc_pf_opt_data <- pf_o...
/pf_optimizer1.R
no_license
githubfun/ksmv
R
false
false
2,232
r
require(quantmod) require(tseries) sapply(list.files(pattern="[.]R$", path='functions/', full.names=TRUE), source) ## Retrieving Data & Refining file1 <- "./data/pf_opt_data.csv" pf_opt_data <- read.csv(file1) pf_opt_data <- as.xts(pf_opt_data[,-1], order.by=as.POSIXct(pf_opt_data[,1])) prc_pf_opt_data <- pf_o...
### Pitchers library(dplyr) pitchers <- read.csv("pitchers_final.csv", header = TRUE) summary(pitchers) str(pitchers) colSums(is.na(pitchers)) # Let's impute. Get rid of any lines with 0 IP, remove ERA plus, impute missing er with 0, # bb's with 0, and possibly hr's with 0? We need these columns to computer FIP pi...
/Project2-WebScraping/andrewScrapy/baseball/pitchers_glm.R
no_license
xiyuansun/bootcamp009_project
R
false
false
5,261
r
### Pitchers library(dplyr) pitchers <- read.csv("pitchers_final.csv", header = TRUE) summary(pitchers) str(pitchers) colSums(is.na(pitchers)) # Let's impute. Get rid of any lines with 0 IP, remove ERA plus, impute missing er with 0, # bb's with 0, and possibly hr's with 0? We need these columns to computer FIP pi...
\name{ucare.cjs} \alias{ucare.cjs} \title{Goodness-of-fit tests for the Cormack-Jolly-Seber model} \description{ The package \pkg{R2ucare} (Gimenez et al. 2018, 2022) provides the standard tests for CJS models from Burnham et al. (1987) along with tests for multi-state models as described by Pradel et al. (20...
/man/ucare.Rd
no_license
cran/openCR
R
false
false
3,704
rd
\name{ucare.cjs} \alias{ucare.cjs} \title{Goodness-of-fit tests for the Cormack-Jolly-Seber model} \description{ The package \pkg{R2ucare} (Gimenez et al. 2018, 2022) provides the standard tests for CJS models from Burnham et al. (1987) along with tests for multi-state models as described by Pradel et al. (20...
#' Create an R Markdown document from template. #' #' Creates manuscript, slide, poster, or abstract R Markdown files into the doc folder. #' #' @param type The file type (e.g. manuscript, slides, etc.) #' #' @return A created Rmd file. #' #' @examples #' \dontrun{ #' create_manuscript() #' create_poster() #' create_s...
/R/create_doc.R
no_license
pzhaonet/prodigenr
R
false
false
1,767
r
#' Create an R Markdown document from template. #' #' Creates manuscript, slide, poster, or abstract R Markdown files into the doc folder. #' #' @param type The file type (e.g. manuscript, slides, etc.) #' #' @return A created Rmd file. #' #' @examples #' \dontrun{ #' create_manuscript() #' create_poster() #' create_s...
###################################################################################### ###################################################################################### #### Author: Fiammetta Menchetti #### #### ...
/R/mbsts_mcmc.R
no_license
cran/CausalMBSTS
R
false
false
18,248
r
###################################################################################### ###################################################################################### #### Author: Fiammetta Menchetti #### #### ...
library(shinythemes) library(DT) library(shinyjs) ui <- navbarPage( id = "navbar", selected = 'home', header = tagList( tags$head( tags$link(rel="stylesheet", type="text/css",href="style.css"), tags$script(type="text/javascript", src = "busy.js") ) ), theme = shinytheme("cerulean"), tit...
/ui.r
no_license
ScientistJake/LP_BLAT
R
false
false
1,942
r
library(shinythemes) library(DT) library(shinyjs) ui <- navbarPage( id = "navbar", selected = 'home', header = tagList( tags$head( tags$link(rel="stylesheet", type="text/css",href="style.css"), tags$script(type="text/javascript", src = "busy.js") ) ), theme = shinytheme("cerulean"), tit...
#opening the file url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" file <- file.path(getwd(),"household_power_consumption.zip") download.file(url, file, method = "curl") doc <- read.csv(unz(file,"household_power_consumption.txt"), header=T, sep=';', na.strings="?", check.na...
/plot3.R
no_license
pbask/ExData_Plotting1
R
false
false
1,149
r
#opening the file url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" file <- file.path(getwd(),"household_power_consumption.zip") download.file(url, file, method = "curl") doc <- read.csv(unz(file,"household_power_consumption.txt"), header=T, sep=';', na.strings="?", check.na...
hosp_analytic <- readRDS("hospital_analytic.rds") colnames(hosp_analytic) #remove those without outcome nrow(hosp_analytic) hosp <- subset(hosp_analytic, !is.na(CAUTIRateAdj)) nrow(hosp) #make experimental ratio hosp$PatDaysAdmRatio <- hosp$H9NumPatDays/hosp$H9NumAdm #start modeling model1 <- lm(CAUTIRateAdj ~ Teach...
/documentation/400_Hosp linear regression.R
no_license
NatashaDukach/HAI-MA-2019
R
false
false
2,366
r
hosp_analytic <- readRDS("hospital_analytic.rds") colnames(hosp_analytic) #remove those without outcome nrow(hosp_analytic) hosp <- subset(hosp_analytic, !is.na(CAUTIRateAdj)) nrow(hosp) #make experimental ratio hosp$PatDaysAdmRatio <- hosp$H9NumPatDays/hosp$H9NumAdm #start modeling model1 <- lm(CAUTIRateAdj ~ Teach...
library(EngrExpt) ### Name: ccthickn ### Title: Clear coat thickness ### Aliases: ccthickn ### Keywords: datasets ### ** Examples str(ccthickn) densityplot(~ thickness, ccthickn, xlab = "Clear coat thickness (microns)") qqmath(~ thickness, ccthickn, aspect = 1, ylab = "Clear coat thickness (microns)", ...
/data/genthat_extracted_code/EngrExpt/examples/ccthickn.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
500
r
library(EngrExpt) ### Name: ccthickn ### Title: Clear coat thickness ### Aliases: ccthickn ### Keywords: datasets ### ** Examples str(ccthickn) densityplot(~ thickness, ccthickn, xlab = "Clear coat thickness (microns)") qqmath(~ thickness, ccthickn, aspect = 1, ylab = "Clear coat thickness (microns)", ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parallel-bugs.R \name{parallel.bugs} \alias{parallel.bugs} \title{Main function of parallelBugs. Pass parameters that would be passed to R2OpenBUGS::bugs, as well as cpu/host information, to run the model with multiple chains in parallel.} \u...
/parallelBugs/man/parallel.bugs.Rd
permissive
TomWerner/parallel-bugs
R
false
true
2,371
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parallel-bugs.R \name{parallel.bugs} \alias{parallel.bugs} \title{Main function of parallelBugs. Pass parameters that would be passed to R2OpenBUGS::bugs, as well as cpu/host information, to run the model with multiple chains in parallel.} \u...
if(format!="mixup"){ matrixResults <- electronIonInteraction(testAll) testingResults <- electronIonInteraction(testAll_testing) }else{ matrixResults <- electronIonInteraction(testAll) }
/encoding_method/EIIP.R
no_license
yuxuanwu17/m6a_ML
R
false
false
187
r
if(format!="mixup"){ matrixResults <- electronIonInteraction(testAll) testingResults <- electronIonInteraction(testAll_testing) }else{ matrixResults <- electronIonInteraction(testAll) }
# USE THIS EXAMPLE AS REFERENCE -- IMPORTANTZ itemsList<-c('one','two','three','four') server <- function(input, output) { output$sort1<-renderUI({ orderInput(itemsList[1], 'one', items = items()$one, connect= itemsList[itemsList!='items1'], item_class = 'info') }) ou...
/examples/shinyjqui_example_2.R
no_license
tintinthong/word-graph
R
false
false
1,042
r
# USE THIS EXAMPLE AS REFERENCE -- IMPORTANTZ itemsList<-c('one','two','three','four') server <- function(input, output) { output$sort1<-renderUI({ orderInput(itemsList[1], 'one', items = items()$one, connect= itemsList[itemsList!='items1'], item_class = 'info') }) ou...
# basic Simmer simulation for testing integration with Python-Dash # # Input: a csv file with name, time, and priority (model-input.csv) # Ouput: a csv dataframe with some simulation results (model-output.csv) # # Note: no error checking or logging library(simmer) set.seed(1933) model_input <- read_csv("model-in...
/simple_callable_simmer_model.R
no_license
dalefrakes/simpy-perf
R
false
false
1,559
r
# basic Simmer simulation for testing integration with Python-Dash # # Input: a csv file with name, time, and priority (model-input.csv) # Ouput: a csv dataframe with some simulation results (model-output.csv) # # Note: no error checking or logging library(simmer) set.seed(1933) model_input <- read_csv("model-in...
library("knitr") library("rgl") #knit("3,5-dinitro-o-cresol.Rmd") #markdownToHTML('3,5-dinitro-o-cresol.md', '3,5-dinitro-o-cresol.html', options=c("use_xhml")) #system("pandoc -s 3,5-dinitro-o-cresol.html -o 3,5-dinitro-o-cresol.pdf") knit2html('3,5-dinitro-o-cresol.Rmd')
/FDA_Pesticide_Glossary/3,5-dinitro-o-cresol.R
permissive
andrewdefries/andrewdefries.github.io
R
false
false
276
r
library("knitr") library("rgl") #knit("3,5-dinitro-o-cresol.Rmd") #markdownToHTML('3,5-dinitro-o-cresol.md', '3,5-dinitro-o-cresol.html', options=c("use_xhml")) #system("pandoc -s 3,5-dinitro-o-cresol.html -o 3,5-dinitro-o-cresol.pdf") knit2html('3,5-dinitro-o-cresol.Rmd')
# tests for sci2comm fxn in taxize context("sci2comm") tt <- sci2comm(scinames='Helianthus annuus') uu <- sci2comm(scinames='Helianthus annuus', db='itis', verbose=FALSE) test_that("sci2comm returns the correct value", { expect_that(names(tt), equals('Helianthus annuus')) expect_that(names(uu), equals('Helianthus...
/tests/testthat/test-sci2comm.R
permissive
MadeleineMcGreer/taxize
R
false
false
537
r
# tests for sci2comm fxn in taxize context("sci2comm") tt <- sci2comm(scinames='Helianthus annuus') uu <- sci2comm(scinames='Helianthus annuus', db='itis', verbose=FALSE) test_that("sci2comm returns the correct value", { expect_that(names(tt), equals('Helianthus annuus')) expect_that(names(uu), equals('Helianthus...
##' @title Plot sum-of-AIC results ##' ##' @description S3 \code{\link{plot}} method for sum-of-AIC results from \code{\link[optimus]{find_optimal}}. ##' ##' @param x an object of class \code{aicsums}, as produced by \code{\link[optimus]{find_optimal}}. ##' @param col point colour ##' @param pch point type ##' @...
/R/plot.aicsums.R
no_license
cran/optimus
R
false
false
1,821
r
##' @title Plot sum-of-AIC results ##' ##' @description S3 \code{\link{plot}} method for sum-of-AIC results from \code{\link[optimus]{find_optimal}}. ##' ##' @param x an object of class \code{aicsums}, as produced by \code{\link[optimus]{find_optimal}}. ##' @param col point colour ##' @param pch point type ##' @...
##' Create a choropleth map object ##' ##' remapC uses a data frame create a remap object ##' which can be used by plot to see the map by browser ##' ##' mapdata should be a dataframe which including two columns, ##' the first column is the names of places, ##' second column is value. ##' ##' @usage ##' remap...
/R/remapC.R
permissive
aialbert/REmap
R
false
false
9,532
r
##' Create a choropleth map object ##' ##' remapC uses a data frame create a remap object ##' which can be used by plot to see the map by browser ##' ##' mapdata should be a dataframe which including two columns, ##' the first column is the names of places, ##' second column is value. ##' ##' @usage ##' remap...
options(import.path="/homes/hannah/projects/GWAS") ldfilter <- modules::import("LDfilter") context('Read sample data') sig <- as.matrix(read.table("../sample_data/sigChr2.txt", header=FALSE, stringsAsFactors=FALSE)) ld <- read.table("../sample_data/sigChr2_ld.txt", header=FALSE, str...
/GWAS/tests/test_GWAS.R
no_license
meyer-lab-cshl/Genetic-association-studies
R
false
false
1,026
r
options(import.path="/homes/hannah/projects/GWAS") ldfilter <- modules::import("LDfilter") context('Read sample data') sig <- as.matrix(read.table("../sample_data/sigChr2.txt", header=FALSE, stringsAsFactors=FALSE)) ld <- read.table("../sample_data/sigChr2_ld.txt", header=FALSE, str...
# load the libraries library(caret) library(klaR) # load the iris dataset data(iris) # define an 80%/20% train/test split of the dataset split=0.80 trainIndex <- createDataPartition(iris$Species, p=split, list=FALSE) data_train <- iris[ trainIndex,] data_test <- iris[-trainIndex,] # train a naive bayes model model <- N...
/upload/Prithvi22310/hello/naivebayes.R
no_license
prithvisbisht/Drive-sample
R
false
false
527
r
# load the libraries library(caret) library(klaR) # load the iris dataset data(iris) # define an 80%/20% train/test split of the dataset split=0.80 trainIndex <- createDataPartition(iris$Species, p=split, list=FALSE) data_train <- iris[ trainIndex,] data_test <- iris[-trainIndex,] # train a naive bayes model model <- N...
dataFile <- "./data/household_power_consumption.txt" data <- read.table(dataFile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") subsetdata <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] #str(subSetData) datetime <- strptime(paste(subsetdata$Date, subsetdata$Time, sep=" "), "%d/%m/%Y %H:%M:%S") glob...
/plot4.R
no_license
AlaaSubora/Course4_assignment1
R
false
false
1,311
r
dataFile <- "./data/household_power_consumption.txt" data <- read.table(dataFile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") subsetdata <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] #str(subSetData) datetime <- strptime(paste(subsetdata$Date, subsetdata$Time, sep=" "), "%d/%m/%Y %H:%M:%S") glob...
## URL - https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv fileUrl<-"https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv" download.file(fileUrl,"data/acsdata2.csv","curl") list.files("./data") acs<-read.csv("data/acsdata2.csv") elementnames<-names(acs) splitted<-strsplit(elementnames...
/expressions.r
no_license
sayefi/test-repo
R
false
false
1,655
r
## URL - https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv fileUrl<-"https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv" download.file(fileUrl,"data/acsdata2.csv","curl") list.files("./data") acs<-read.csv("data/acsdata2.csv") elementnames<-names(acs) splitted<-strsplit(elementnames...
source("PredNLL.r") set.seed(1001) k.pred <- rbinom(n=30, size=20, prob=0.375) Tpole <- mle2(PredNLL, start= list(p= 0.75), data= list(N= 20, k= k.pred)) Out <- c(coef(Tpole), confint(Tpole)) print(Out) set.seed(1001) x <- seq(1, 25, by=0.5) a = 5.5; b = 0.2 y.det <- a * x * exp(-b*x) ### deterministic model y ...
/main2.R
no_license
melqurashi/Maximum_likelihood_in_R
R
false
false
792
r
source("PredNLL.r") set.seed(1001) k.pred <- rbinom(n=30, size=20, prob=0.375) Tpole <- mle2(PredNLL, start= list(p= 0.75), data= list(N= 20, k= k.pred)) Out <- c(coef(Tpole), confint(Tpole)) print(Out) set.seed(1001) x <- seq(1, 25, by=0.5) a = 5.5; b = 0.2 y.det <- a * x * exp(-b*x) ### deterministic model y ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/benchmark_programming.R, R/benchmarks.R \name{bm_prog_fib} \alias{bm_prog_fib} \alias{bm_prog_hilbert} \alias{bm_prog_gcd} \alias{bm_prog_toeplitz} \alias{bm_prog_escoufier} \alias{benchmark_prog} \title{Programming benchmarks} \usage{ bm_pro...
/man/bm_prog_fib.Rd
no_license
Bhanditz/benchmarkme
R
false
true
1,345
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/benchmark_programming.R, R/benchmarks.R \name{bm_prog_fib} \alias{bm_prog_fib} \alias{bm_prog_hilbert} \alias{bm_prog_gcd} \alias{bm_prog_toeplitz} \alias{bm_prog_escoufier} \alias{benchmark_prog} \title{Programming benchmarks} \usage{ bm_pro...
# Build ZIP Code Data #### ## Load Data #### stl_city <- st_read("https://raw.githubusercontent.com/slu-openGIS/STL_BOUNDARY_ZCTA/master/data/geometries/STL_ZCTA_St_Louis_City.geojson", crs = 4326, stringsAsFactors = FALSE) stl_county <- st_read("https://raw.githubusercontent.com/slu-openGI...
/source/workflow/05_create_zips.R
permissive
CalCraven/MO_HEALTH_Covid_Tracking
R
false
false
7,130
r
# Build ZIP Code Data #### ## Load Data #### stl_city <- st_read("https://raw.githubusercontent.com/slu-openGIS/STL_BOUNDARY_ZCTA/master/data/geometries/STL_ZCTA_St_Louis_City.geojson", crs = 4326, stringsAsFactors = FALSE) stl_county <- st_read("https://raw.githubusercontent.com/slu-openGI...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aggregation.R \name{stkde} \alias{stkde} \title{Map the spatio-temporal intensity of a set of radiocarbon dates} \usage{ stkde(x, coords, sbw, focalyears, tbw, win, cellres, outdir = ".", bins = NA, backsight = NA, maskthresh = 0, changex...
/man/stkde.Rd
no_license
tcwilkinson/rcarbon
R
false
true
4,936
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aggregation.R \name{stkde} \alias{stkde} \title{Map the spatio-temporal intensity of a set of radiocarbon dates} \usage{ stkde(x, coords, sbw, focalyears, tbw, win, cellres, outdir = ".", bins = NA, backsight = NA, maskthresh = 0, changex...
#' 3D interactive plot of the results of a PCoA ordination #' #' This script takes output from the ordination undertaken using gl.pcoa() and plots the individuals in 3D space. The visualisation #' can be rotated with the mouse to examine the structure. #' #' The factor scores are taken from the output of gl.pcoa(), an ...
/R/gl.pcoa.plot.3d.r
no_license
Konoutan/dartR
R
false
false
4,185
r
#' 3D interactive plot of the results of a PCoA ordination #' #' This script takes output from the ordination undertaken using gl.pcoa() and plots the individuals in 3D space. The visualisation #' can be rotated with the mouse to examine the structure. #' #' The factor scores are taken from the output of gl.pcoa(), an ...
library(fmsb) colMax <- function(data) sapply(data, max, na.rm = TRUE) colMin <- function(data) sapply(data, min, na.rm = TRUE) ###chose if relative ou absolute values relative<-TRUE regressors<-c("rf", "svm", "cart") n.regressors<-length(regressors) techs<-c("ST", "MTRS", "ERC", "DRS", "SGSST") n.techs<-length(tec...
/analysis_and_plots/spiderchar.R
no_license
WuzipengYL/mtr-toolkit
R
false
false
7,704
r
library(fmsb) colMax <- function(data) sapply(data, max, na.rm = TRUE) colMin <- function(data) sapply(data, min, na.rm = TRUE) ###chose if relative ou absolute values relative<-TRUE regressors<-c("rf", "svm", "cart") n.regressors<-length(regressors) techs<-c("ST", "MTRS", "ERC", "DRS", "SGSST") n.techs<-length(tec...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/schemas_operations.R \name{schemas_untag_resource} \alias{schemas_untag_resource} \title{Removes tags from a resource} \usage{ schemas_untag_resource(ResourceArn, TagKeys) } \arguments{ \item{ResourceArn}{[required]} \item{TagKeys}{[required...
/paws/man/schemas_untag_resource.Rd
permissive
johnnytommy/paws
R
false
true
518
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/schemas_operations.R \name{schemas_untag_resource} \alias{schemas_untag_resource} \title{Removes tags from a resource} \usage{ schemas_untag_resource(ResourceArn, TagKeys) } \arguments{ \item{ResourceArn}{[required]} \item{TagKeys}{[required...
# default: prcomp, kmeans, hclust, dist, cutree # PCA on US arrest data pr.out <- prcomp(USArrests, scale=TRUE) # Plot first two components biplot(pr.out, scale=0) # PVE of each component # First get variance pr.var <- pr.out$sdev^2 # Then divide by total variance pve <- pr.var/sum(pr.var) plot(pve) # K-means cluster...
/C.8 PCA and Unsupervised Learning.R
no_license
jeffsgrover/cspa-practice
R
false
false
538
r
# default: prcomp, kmeans, hclust, dist, cutree # PCA on US arrest data pr.out <- prcomp(USArrests, scale=TRUE) # Plot first two components biplot(pr.out, scale=0) # PVE of each component # First get variance pr.var <- pr.out$sdev^2 # Then divide by total variance pve <- pr.var/sum(pr.var) plot(pve) # K-means cluster...
rawData<- read.table( file = "household_power_consumption.txt",stringsAsFactors = FALSE , header = TRUE, sep =";" ) subsetData <- subset(rawData,Date == "1/2/2007" | Date =="2/2/2007") png("f:\\Plot1.png", width=480, height=480) with(subsetData, hist(as.numeric(Global_active_power), col="red", main="Global Active Power...
/Plot1.R
no_license
Mahmoud-Elbattah/ExData_Plotting1
R
false
false
373
r
rawData<- read.table( file = "household_power_consumption.txt",stringsAsFactors = FALSE , header = TRUE, sep =";" ) subsetData <- subset(rawData,Date == "1/2/2007" | Date =="2/2/2007") png("f:\\Plot1.png", width=480, height=480) with(subsetData, hist(as.numeric(Global_active_power), col="red", main="Global Active Power...
# Exercise-3: Calling built-in functions # Create a variable `my.name` that contains your name my.name <- "Kyle" # Create a variable `name.length` that holds how many letters are in your name (use the `nchars()` function) name.length <- nchar(my.name) # Print the number of letters in your name print("name.length") ...
/exercise-3/exercise-3.R
permissive
kp1997/module6-functions
R
false
false
1,528
r
# Exercise-3: Calling built-in functions # Create a variable `my.name` that contains your name my.name <- "Kyle" # Create a variable `name.length` that holds how many letters are in your name (use the `nchars()` function) name.length <- nchar(my.name) # Print the number of letters in your name print("name.length") ...
Vater_in_ZHT <- function(ZHT, zaehler, Knoten_max, Wsk, Wsk_Abnahme){ Vaterknoten<- 1 while(zaehler>Vaterknoten && Vaterknoten<(Knoten_max+1)){ Vaterknoten<- Vaterknoten+1 # Links vom Vaterknoten if (runif(1, min=0, max=1)<= Wsk){ zaehler<- zaehler+1 Z <-...
/NHEMOtree/R/Vater_in_ZHT.R
no_license
ingted/R-Examples
R
false
false
1,815
r
Vater_in_ZHT <- function(ZHT, zaehler, Knoten_max, Wsk, Wsk_Abnahme){ Vaterknoten<- 1 while(zaehler>Vaterknoten && Vaterknoten<(Knoten_max+1)){ Vaterknoten<- Vaterknoten+1 # Links vom Vaterknoten if (runif(1, min=0, max=1)<= Wsk){ zaehler<- zaehler+1 Z <-...
#' @description This is a brief description. #' #' @title This is a title #' # @param x explanation of \code{x} # @param ... explanation of \code{...} #' @return The value returned by this function. #' @author Who are you? #' @seealso \code{\link[tools]{file_ext}}, \code{\link[tools]{file_path_sans_ext}} #' @references...
/R/hi.R
no_license
aNing1210/Test1
R
false
false
988
r
#' @description This is a brief description. #' #' @title This is a title #' # @param x explanation of \code{x} # @param ... explanation of \code{...} #' @return The value returned by this function. #' @author Who are you? #' @seealso \code{\link[tools]{file_ext}}, \code{\link[tools]{file_path_sans_ext}} #' @references...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/km_to_mi.r \name{km_to_mi} \alias{km_to_mi} \alias{mi_to_km} \title{Convert between min/km pace and min/mi pace} \usage{ km_to_mi(m, s = 0, d = 1) mi_to_km(m, s = 0, d = 1) } \arguments{ \item{m}{Minutes} \item{s}{Seconds (default: 0)} \it...
/man/km_to_mi.Rd
no_license
pbreheny/breheny
R
false
true
480
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/km_to_mi.r \name{km_to_mi} \alias{km_to_mi} \alias{mi_to_km} \title{Convert between min/km pace and min/mi pace} \usage{ km_to_mi(m, s = 0, d = 1) mi_to_km(m, s = 0, d = 1) } \arguments{ \item{m}{Minutes} \item{s}{Seconds (default: 0)} \it...
#-*- R -*- ########################################################## ### ### ### Script tratti da `Laboratorio di statistica con R' ### ### ### ### Stefano M. Iacus & Guido Masaratto ### ### ...
/inst/scripts/AppA.R
no_license
cran/labstatR
R
false
false
5,051
r
#-*- R -*- ########################################################## ### ### ### Script tratti da `Laboratorio di statistica con R' ### ### ### ### Stefano M. Iacus & Guido Masaratto ### ### ...
# Clear workspace rm(list = ls()) # Setup ################################################################################ # Packages library(stringr) library(readxl) library(tidyverse) # Directories indir <- "data/feed_params/raw" outdir <- "data/feed_params/processed" plotdir <- "data/feed_params/figures" sppdir ...
/data/feed_params/Step2_format_harvest_sizes.R
no_license
cfree14/aquacast
R
false
false
4,987
r
# Clear workspace rm(list = ls()) # Setup ################################################################################ # Packages library(stringr) library(readxl) library(tidyverse) # Directories indir <- "data/feed_params/raw" outdir <- "data/feed_params/processed" plotdir <- "data/feed_params/figures" sppdir ...
#' Compute quantities of interest for ``normal.gee'' Zelig models #' @usage \method{qi}{normal.gee}(obj, x, x1=NULL, y=NULL, num=1000, param=NULL) #' @S3method qi normal.gee #' @param obj a \code{zelig} object #' @param x a 'setx' object or NULL #' @param x1 an optional 'setx' object #' @param y this parameter is reser...
/R/qi.normal.gee.R
no_license
zeligdev/ZeligGEE
R
false
false
744
r
#' Compute quantities of interest for ``normal.gee'' Zelig models #' @usage \method{qi}{normal.gee}(obj, x, x1=NULL, y=NULL, num=1000, param=NULL) #' @S3method qi normal.gee #' @param obj a \code{zelig} object #' @param x a 'setx' object or NULL #' @param x1 an optional 'setx' object #' @param y this parameter is reser...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/combine_predictors.R \name{combine_predictors} \alias{combine_predictors} \alias{generate_formulas} \title{Generate model formulas by combining predictors} \usage{ combine_predictors( dependent, fixed_effects, random_effects = NULL, m...
/man/combine_predictors.Rd
permissive
bbolker/cvms
R
false
true
2,772
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/combine_predictors.R \name{combine_predictors} \alias{combine_predictors} \alias{generate_formulas} \title{Generate model formulas by combining predictors} \usage{ combine_predictors( dependent, fixed_effects, random_effects = NULL, m...
# Question 3 library(caret) library(rattle) library(car) library(ggplot2) # Data from https://archive.ics.uci.edu/ml/datasets/Contraceptive+Method+Choice dat_raw <- read.csv("contraceptive.csv") dat <- dat_raw # Add variable names colnames(dat) <- c("wife_age", "wife_education", "husband_education", ...
/question3/question3.R
no_license
kjspring/incubator
R
false
false
3,442
r
# Question 3 library(caret) library(rattle) library(car) library(ggplot2) # Data from https://archive.ics.uci.edu/ml/datasets/Contraceptive+Method+Choice dat_raw <- read.csv("contraceptive.csv") dat <- dat_raw # Add variable names colnames(dat) <- c("wife_age", "wife_education", "husband_education", ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hexjsonwidget.R \name{hexjsonwidget-shiny} \alias{hexjsonwidget-shiny} \alias{hexjsonwidgetOutput} \alias{renderHexjsonwidget} \title{Shiny bindings for hexjsonwidget} \usage{ hexjsonwidgetOutput(outputId, width = "100\%", height = "400px") ...
/man/hexjsonwidget-shiny.Rd
no_license
psychemedia/htmlwidget-hexjson
R
false
true
1,010
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hexjsonwidget.R \name{hexjsonwidget-shiny} \alias{hexjsonwidget-shiny} \alias{hexjsonwidgetOutput} \alias{renderHexjsonwidget} \title{Shiny bindings for hexjsonwidget} \usage{ hexjsonwidgetOutput(outputId, width = "100\%", height = "400px") ...
rm(list=ls()) #Clear the workspace and load necessary packages ############# #USER INPUTS# ############# #global params ifpdf = FALSE maxyear = 2016 catchtype = "model-lc" #CLB1702 #input files that YOU provide setwd("C:\\zWork\\C&E\\2017 StockCompStacked\\") auxcat = read.delim("CLB1702auxCatc...
/4 Stock Compoistion/CALIBASSESSMENT command file.R
permissive
CTC-PSC/CalibAssessment
R
false
false
1,538
r
rm(list=ls()) #Clear the workspace and load necessary packages ############# #USER INPUTS# ############# #global params ifpdf = FALSE maxyear = 2016 catchtype = "model-lc" #CLB1702 #input files that YOU provide setwd("C:\\zWork\\C&E\\2017 StockCompStacked\\") auxcat = read.delim("CLB1702auxCatc...
library(testthat) library(MutationalPatterns) test_check("MutationalPatterns")
/tests/testthat.R
permissive
UMCUGenetics/MutationalPatterns
R
false
false
80
r
library(testthat) library(MutationalPatterns) test_check("MutationalPatterns")
##Arturo Villalobos 827008236 3(a), 3(b), 3(d), 4 and 5, p. 382. #3A 3B on pages pilot = read.table("/Users/arturovillalobos/Desktop/STAT_212_rcode/hw9/PilotReacTimes.txt",header=T) pilotdata = data.frame(pilot) fitpilot = aov(times~design+pilot,data = pilotdata) anova(fitpilot) #4 TukeyHSD(fitpilot,"design",conf....
/STAT_212/hw9/hw9.r
no_license
arturovilla/STAT404and212
R
false
false
447
r
##Arturo Villalobos 827008236 3(a), 3(b), 3(d), 4 and 5, p. 382. #3A 3B on pages pilot = read.table("/Users/arturovillalobos/Desktop/STAT_212_rcode/hw9/PilotReacTimes.txt",header=T) pilotdata = data.frame(pilot) fitpilot = aov(times~design+pilot,data = pilotdata) anova(fitpilot) #4 TukeyHSD(fitpilot,"design",conf....
#' spiro: Creates spirographs #' #' @docType package #' @name spiro #' @description #' The spiro package creates spirographs in the svg format #' and can create svg animations of spirographs.' #' #' @author W. Joel Schneider #' #' NULL
/R/spiro-package.R
permissive
wlandau-lilly/spiro
R
false
false
236
r
#' spiro: Creates spirographs #' #' @docType package #' @name spiro #' @description #' The spiro package creates spirographs in the svg format #' and can create svg animations of spirographs.' #' #' @author W. Joel Schneider #' #' NULL
\name{probeSmooths} \alias{probeSmooths} \title{For a response in a \code{data.frame} in long format, computes and compares, for sets of smoothing parameters, smooths of the response, possibly along with growth rates calculated from the smooths.} \description{Takes an observed \code{response} and, ...
/man/probeSmooths.Rd
no_license
cran/growthPheno
R
false
false
24,004
rd
\name{probeSmooths} \alias{probeSmooths} \title{For a response in a \code{data.frame} in long format, computes and compares, for sets of smoothing parameters, smooths of the response, possibly along with growth rates calculated from the smooths.} \description{Takes an observed \code{response} and, ...
testlist <- list(holes = integer(0), numholes = integer(0), x = c(1.76692340209787e-284, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
/decido/inst/testfiles/earcut_cpp/libFuzzer_earcut_cpp/earcut_cpp_valgrind_files/1609874089-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
431
r
testlist <- list(holes = integer(0), numholes = integer(0), x = c(1.76692340209787e-284, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
## Simulation data preparation library(tidyverse) # Load simulation data load(file.path("C:/Users/jln54/GoogleDrive/BarleyLab/Projects/SideProjects/Resources/s2_cap_simulation_data.RData")) # Filter for breeding programs relevant to my data s2_cap_genos <- s2_cap_genos[str_detect(string = row.names(s2_cap_genos), pat...
/sandbox/filter_cap_data.R
no_license
neyhartj/pbsimData
R
false
false
884
r
## Simulation data preparation library(tidyverse) # Load simulation data load(file.path("C:/Users/jln54/GoogleDrive/BarleyLab/Projects/SideProjects/Resources/s2_cap_simulation_data.RData")) # Filter for breeding programs relevant to my data s2_cap_genos <- s2_cap_genos[str_detect(string = row.names(s2_cap_genos), pat...
testlist <- list(x = structure(c(1.07155067666995e-101, 7.35158447118107e+228, 4.94065645841247e-324, 8.25679295903193e-317, 6.60757933022299e-304, 5.43230922486616e-312, 7.56693510836327e-307, 5.29589219243796e-304, 7.91948980339311e-304), .Dim = c(1L, 9L))) result <- do.call(multivariance:::doubleCenterBiasCorrect...
/multivariance/inst/testfiles/doubleCenterBiasCorrected/libFuzzer_doubleCenterBiasCorrected/doubleCenterBiasCorrected_valgrind_files/1612735041-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
344
r
testlist <- list(x = structure(c(1.07155067666995e-101, 7.35158447118107e+228, 4.94065645841247e-324, 8.25679295903193e-317, 6.60757933022299e-304, 5.43230922486616e-312, 7.56693510836327e-307, 5.29589219243796e-304, 7.91948980339311e-304), .Dim = c(1L, 9L))) result <- do.call(multivariance:::doubleCenterBiasCorrect...
#' Delete cells #' #' Deletes a range of cells and shifts other cells into the deleted area. There #' are several related tasks that are implemented by other functions: #' * To clear cells of their value and/or format, use [range_clear()]. #' * To delete an entire (work)sheet, use [sheet_delete()]. #' * To change...
/R/range_delete.R
permissive
Hisbald/googlesheets4
R
false
false
4,846
r
#' Delete cells #' #' Deletes a range of cells and shifts other cells into the deleted area. There #' are several related tasks that are implemented by other functions: #' * To clear cells of their value and/or format, use [range_clear()]. #' * To delete an entire (work)sheet, use [sheet_delete()]. #' * To change...
############################################################################### # BoB, data exploration # Fleet dynamics # IJmuiden, IMARES # 20th July 2016 ############################################################################### #============================================================================== # ...
/First version_DISCARDQUOTA/code/5spp_Dyn_LO_Oct20_2012_modelvalidation.R
no_license
JanJaapPoos/Nekane__BoB
R
false
false
6,810
r
############################################################################### # BoB, data exploration # Fleet dynamics # IJmuiden, IMARES # 20th July 2016 ############################################################################### #============================================================================== # ...
# Read SHPs and get info on area # Author: QDR # Project: Aquaxterra # Last modified: 16 Nov 2016 library(rgdal) setwd('/mnt/research/aquaxterra/DATA/reprojected_data') huc12 <- readOGR(dsn = 'BBS_SpatialJoin', layer = 'HUC12') bbsbuffers <- readOGR(dsn = 'BBS_SpatialJoin', layer = 'bbs_buffers_Albers') iws <- readOG...
/code/r_spatial/old/readshps.r
no_license
qdread/aquaxterra
R
false
false
2,768
r
# Read SHPs and get info on area # Author: QDR # Project: Aquaxterra # Last modified: 16 Nov 2016 library(rgdal) setwd('/mnt/research/aquaxterra/DATA/reprojected_data') huc12 <- readOGR(dsn = 'BBS_SpatialJoin', layer = 'HUC12') bbsbuffers <- readOGR(dsn = 'BBS_SpatialJoin', layer = 'bbs_buffers_Albers') iws <- readOG...
library(rgbif) ### Name: wkt_parse ### Title: parse wkt into smaller bits ### Aliases: wkt_parse ### ** Examples wkt <- "POLYGON((13.26349675655365 52.53991761181831,18.36115300655365 54.11445544219924, 21.87677800655365 53.80418956368524,24.68927800655365 54.217364774722455,28.20490300655365 54.320018299365124,30....
/data/genthat_extracted_code/rgbif/examples/wkt_parse.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
3,066
r
library(rgbif) ### Name: wkt_parse ### Title: parse wkt into smaller bits ### Aliases: wkt_parse ### ** Examples wkt <- "POLYGON((13.26349675655365 52.53991761181831,18.36115300655365 54.11445544219924, 21.87677800655365 53.80418956368524,24.68927800655365 54.217364774722455,28.20490300655365 54.320018299365124,30....
#!/usr/bin/Rscript library(R.matlab, quietly=TRUE) library(Coxnet, quietly=TRUE) # paths basePath = "/home/mohamed/Desktop/CooperLab_Research/KNN_Survival/" #basePath = "/home/mtageld/Desktop/KNN_Survival/" # data description sites = c("GBMLGG", "KIPAN") dtypes = c("Integ", "Gene") # Hyperparameters to try alphasAr...
/comparative_methods/CEN.R
no_license
cooperlab/KNN_Survival
R
false
false
3,897
r
#!/usr/bin/Rscript library(R.matlab, quietly=TRUE) library(Coxnet, quietly=TRUE) # paths basePath = "/home/mohamed/Desktop/CooperLab_Research/KNN_Survival/" #basePath = "/home/mtageld/Desktop/KNN_Survival/" # data description sites = c("GBMLGG", "KIPAN") dtypes = c("Integ", "Gene") # Hyperparameters to try alphasAr...
#' Format a Numeric as a String Percentage #' This function formats a decimal number into a string percentage with #' a specific number of decimal places and with a "%" character. #' The function uses formatC from the R base package and #' defaults to formatting the number with 1 digit and with the "f" format #' in the...
/r/qsffiles/QualtricsTools-master/R/results_generation.R
no_license
tszberkowitz/sandbox
R
false
false
55,882
r
#' Format a Numeric as a String Percentage #' This function formats a decimal number into a string percentage with #' a specific number of decimal places and with a "%" character. #' The function uses formatC from the R base package and #' defaults to formatting the number with 1 digit and with the "f" format #' in the...
### nobs.R --- ##---------------------------------------------------------------------- ## Author: Brice Ozenne ## Created: maj 2 2018 (09:15) ## Version: ## Last-Updated: jun 14 2019 (13:41) ## By: Brice Ozenne ## Update #: 3 ##---------------------------------------------------------------------- #...
/fuzzedpackages/lavaSearch2/R/nobs.R
no_license
akhikolla/testpackages
R
false
false
722
r
### nobs.R --- ##---------------------------------------------------------------------- ## Author: Brice Ozenne ## Created: maj 2 2018 (09:15) ## Version: ## Last-Updated: jun 14 2019 (13:41) ## By: Brice Ozenne ## Update #: 3 ##---------------------------------------------------------------------- #...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main.R \name{compute.r} \alias{compute.r} \title{Sample sizes of mixture proportion groups.} \usage{ compute.r(n, m, p, qvs, q.use) } \arguments{ \item{n}{sample size, must be at least 1.} \item{m}{number of different mixture proportions, mu...
/man/compute.r.Rd
no_license
sarahlotspeich/stride
R
false
true
781
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main.R \name{compute.r} \alias{compute.r} \title{Sample sizes of mixture proportion groups.} \usage{ compute.r(n, m, p, qvs, q.use) } \arguments{ \item{n}{sample size, must be at least 1.} \item{m}{number of different mixture proportions, mu...
library(vistributions) library(tibble) library(magrittr) library(ggplot2) shinyServer(function(input, output, session) { source("logic/logic_binom.R", local = T) source("logic/logic_f.R", local = T) source("logic/logic_t.R", local = T) source("logic/logic_norm.R", local = T) source("logic/logic_ch...
/inst/app-vistributions/server.R
permissive
benitezrcamilo/xplorerr
R
false
false
440
r
library(vistributions) library(tibble) library(magrittr) library(ggplot2) shinyServer(function(input, output, session) { source("logic/logic_binom.R", local = T) source("logic/logic_f.R", local = T) source("logic/logic_t.R", local = T) source("logic/logic_norm.R", local = T) source("logic/logic_ch...
testlist <- list(A = structure(c(3.23597851949578e-315, 0, 0), .Dim = c(1L, 3L)), left = 0L, right = 0L, x = numeric(0)) result <- do.call(mgss:::MVP_normalfactor_rcpp,testlist) str(result)
/mgss/inst/testfiles/MVP_normalfactor_rcpp/AFL_MVP_normalfactor_rcpp/MVP_normalfactor_rcpp_valgrind_files/1615951141-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
190
r
testlist <- list(A = structure(c(3.23597851949578e-315, 0, 0), .Dim = c(1L, 3L)), left = 0L, right = 0L, x = numeric(0)) result <- do.call(mgss:::MVP_normalfactor_rcpp,testlist) str(result)
getOptions=function() { control <- nls.lm.control() control$factor <- 1e-2 control$maxiter=500 control$ftol=1e-10 control$ptol=1e-10 # control$diag=scalator return(control) }
/getOptions.R
no_license
user05011988/userproject
R
false
false
196
r
getOptions=function() { control <- nls.lm.control() control$factor <- 1e-2 control$maxiter=500 control$ftol=1e-10 control$ptol=1e-10 # control$diag=scalator return(control) }
# Random Forest Classification # Importing the dataset ds = read.csv('Social_Network_Ads.csv') ds = ds[, 3:5] # Encoding the target feature as factor ds$Purchased = factor(ds$Purchased, levels = c(0, 1)) # Splitting the dataset into a training set and test set # install.packages('caTools') library(caTools) set.seed(...
/Random Forest Classification.R
no_license
X-lem/Machine-Learning
R
false
false
2,333
r
# Random Forest Classification # Importing the dataset ds = read.csv('Social_Network_Ads.csv') ds = ds[, 3:5] # Encoding the target feature as factor ds$Purchased = factor(ds$Purchased, levels = c(0, 1)) # Splitting the dataset into a training set and test set # install.packages('caTools') library(caTools) set.seed(...
\name{GENESIS-package} \alias{GENESIS-package} \alias{GENESIS} \docType{package} \title{ \packageTitle{GENESIS} } \description{ \packageDescription{GENESIS} } \details{ The DESCRIPTION file: \packageDESCRIPTION{GENESIS} \packageIndices{GENESIS} GENetic Effect-Size distribution Inference from Summary-level data } \auth...
/man/GENESIS-package.Rd
no_license
gqi/GENESIS
R
false
false
682
rd
\name{GENESIS-package} \alias{GENESIS-package} \alias{GENESIS} \docType{package} \title{ \packageTitle{GENESIS} } \description{ \packageDescription{GENESIS} } \details{ The DESCRIPTION file: \packageDESCRIPTION{GENESIS} \packageIndices{GENESIS} GENetic Effect-Size distribution Inference from Summary-level data } \auth...
library("recommenderlab") library(caTools) books1 <- read.csv(file.choose()) #removing useless varaible such as Id, User iD books <- books1[-c(1,2)] str(books) # Visulize Histogram for rating hist(books$rating) books_matrix <- as(books, 'realRatingMatrix') movie_recomm_model1 <- Recommender(books_mat...
/Recommendation System/book_recommend_system.R
no_license
devendran08/ExcelR-Data-Science-Assignments
R
false
false
909
r
library("recommenderlab") library(caTools) books1 <- read.csv(file.choose()) #removing useless varaible such as Id, User iD books <- books1[-c(1,2)] str(books) # Visulize Histogram for rating hist(books$rating) books_matrix <- as(books, 'realRatingMatrix') movie_recomm_model1 <- Recommender(books_mat...
## makeCacheMatrix does these 4 specific things ## 1. Sets the value of the matrix ## 2. Gets the value of the matrix ## 3. Sets the inverse of the matrix ## 4. Gets the inverse of a matrix. ## ## The cacheSolve function caluclates the value of the inverse of the matrix ## if that value does not already exists in C...
/cachematrix.R
no_license
DCToddM/ProgrammingAssignment2
R
false
false
1,606
r
## makeCacheMatrix does these 4 specific things ## 1. Sets the value of the matrix ## 2. Gets the value of the matrix ## 3. Sets the inverse of the matrix ## 4. Gets the inverse of a matrix. ## ## The cacheSolve function caluclates the value of the inverse of the matrix ## if that value does not already exists in C...
`HSD.test` <- function (y, trt, DFerror, MSerror, alpha=0.05, group=TRUE,main = NULL,console=FALSE) { name.y <- paste(deparse(substitute(y))) name.t <- paste(deparse(substitute(trt))) if(is.null(main))main<-paste(name.y,"~", name.t) clase<-c("aov","lm") if("aov"%in%class(y) | "lm"%in%class(y)){ if(is.nul...
/R/HSD.test.R
no_license
velanati/agricolae
R
false
false
3,913
r
`HSD.test` <- function (y, trt, DFerror, MSerror, alpha=0.05, group=TRUE,main = NULL,console=FALSE) { name.y <- paste(deparse(substitute(y))) name.t <- paste(deparse(substitute(trt))) if(is.null(main))main<-paste(name.y,"~", name.t) clase<-c("aov","lm") if("aov"%in%class(y) | "lm"%in%class(y)){ if(is.nul...
library(timeSeries) library(fBasics) source("common.R") source("bonds.R") monthly <- toTimeSeries(loadMonthly()) usb <- monthly[,"USBD10Y"] bond.returns <- timeSeries(data=bond.hpr.monthly(usb[-length(usb)], usb[-1]), charvec=rownames(usb)[-1]) names(bond.returns) <- "Bond Returns" sp.retur...
/q36.R
no_license
agamat/portanalysis-approblems
R
false
false
537
r
library(timeSeries) library(fBasics) source("common.R") source("bonds.R") monthly <- toTimeSeries(loadMonthly()) usb <- monthly[,"USBD10Y"] bond.returns <- timeSeries(data=bond.hpr.monthly(usb[-length(usb)], usb[-1]), charvec=rownames(usb)[-1]) names(bond.returns) <- "Bond Returns" sp.retur...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/table.dist.hypergeometric.R \name{table.dist.hypergeometric} \alias{table.dist.hypergeometric} \title{Table of Hypergeometric Distribution} \usage{ table.dist.hypergeometric(pop.success.count, total.count, sample.size) } \arguments{ \item{pop...
/man/table.dist.hypergeometric.Rd
permissive
burrm/lolcat
R
false
true
717
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/table.dist.hypergeometric.R \name{table.dist.hypergeometric} \alias{table.dist.hypergeometric} \title{Table of Hypergeometric Distribution} \usage{ table.dist.hypergeometric(pop.success.count, total.count, sample.size) } \arguments{ \item{pop...
mifun <- function() { cat("HOLA") }
/script.R
no_license
felasa/publico
R
false
false
38
r
mifun <- function() { cat("HOLA") }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bomWater.R \name{get_station_list} \alias{get_station_list} \title{Retrieve water observation stations} \usage{ get_station_list(parameter_type, station_number, bbox, return_fields) } \arguments{ \item{parameter_type}{The parameter for the st...
/man/get_station_list.Rd
permissive
buzacott/bomWater
R
false
true
2,707
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bomWater.R \name{get_station_list} \alias{get_station_list} \title{Retrieve water observation stations} \usage{ get_station_list(parameter_type, station_number, bbox, return_fields) } \arguments{ \item{parameter_type}{The parameter for the st...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/coeff_lasso.R \name{square_df} \alias{square_df} \title{OLS differential} \usage{ square_df(x, y, beta) } \description{ OLS differential }
/man/square_df.Rd
no_license
mcmtroffaes/bootlasso
R
false
true
217
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/coeff_lasso.R \name{square_df} \alias{square_df} \title{OLS differential} \usage{ square_df(x, y, beta) } \description{ OLS differential }
######################################################################## ## Mon Jul 1 09:49:40 PDT 2013 ##Socsim example: The Marriage Squeeze ##After running the simulation with squeeze.sup this code will examine ##the results. The interesting part of the simulation corresponds to ##the years 1950-2028. The mortalit...
/MarriageSqueeze/Rcode/squeeze.r
no_license
jasonhilton/VizSocSim
R
false
false
14,840
r
######################################################################## ## Mon Jul 1 09:49:40 PDT 2013 ##Socsim example: The Marriage Squeeze ##After running the simulation with squeeze.sup this code will examine ##the results. The interesting part of the simulation corresponds to ##the years 1950-2028. The mortalit...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/git_xyz.R \name{git_push} \alias{git_push} \title{Git push} \usage{ git_push(projname = ".") } \arguments{ \item{projname}{path to a folder with a git repository, and a remote cennected. By default "." (current directory)} } \description{ Pus...
/man/git_push.Rd
no_license
AkselA/R-projector
R
false
true
619
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/git_xyz.R \name{git_push} \alias{git_push} \title{Git push} \usage{ git_push(projname = ".") } \arguments{ \item{projname}{path to a folder with a git repository, and a remote cennected. By default "." (current directory)} } \description{ Pus...
# ====Statistician with R ==== ## EOB # ==== Introduction to Data in R ==== ##EOB Introduction to Data in R # ==== Language of data ==== ## Background installed.packages() #lists all insttaled packages # library() library(openintro) #load specfificed packages and atatch to session and s...
/StatisticianWithR.R
no_license
ajk-lab/WsDataCampR
R
false
false
2,262
r
# ====Statistician with R ==== ## EOB # ==== Introduction to Data in R ==== ##EOB Introduction to Data in R # ==== Language of data ==== ## Background installed.packages() #lists all insttaled packages # library() library(openintro) #load specfificed packages and atatch to session and s...
dataset = read.csv(file="/home/arcanin3/dmprac/1ese_final/8tandd/weight.csv", sep=',') #print(dataset) dataTV=dataset$TV print(length(dataTV)) print('T- weight') for(i in 1:length(dataTV)) { print((dataTV[i]/sum(dataTV))*100) } dataPC=dataset$PC print(length(dataPC)) for(i in 1:length(dataPC)) { print(dataPC[i...
/1ese_final/8tandd/tweight (2).r
no_license
abhishekudata/Doc2
R
false
false
572
r
dataset = read.csv(file="/home/arcanin3/dmprac/1ese_final/8tandd/weight.csv", sep=',') #print(dataset) dataTV=dataset$TV print(length(dataTV)) print('T- weight') for(i in 1:length(dataTV)) { print((dataTV[i]/sum(dataTV))*100) } dataPC=dataset$PC print(length(dataPC)) for(i in 1:length(dataPC)) { print(dataPC[i...
# Get the home working route HOME_PATH <- getwd() # Data Path DATA_PATH <- paste(HOME_PATH, "data", sep = "/") # Archive of unique English language tokens UTFILE_EN <- paste(DATA_PATH, "utokens_en.tab.gz", sep = "/") # Archive of unique Spanish language tokens UTFILE_ES <- paste(DATA_PATH, "utokens_es.tab.gz", sep = "/...
/R/rtokens/R/tokens.R
permissive
racherb/tokens
R
false
false
1,282
r
# Get the home working route HOME_PATH <- getwd() # Data Path DATA_PATH <- paste(HOME_PATH, "data", sep = "/") # Archive of unique English language tokens UTFILE_EN <- paste(DATA_PATH, "utokens_en.tab.gz", sep = "/") # Archive of unique Spanish language tokens UTFILE_ES <- paste(DATA_PATH, "utokens_es.tab.gz", sep = "/...
#' renderCustomFragments #' #' Peform the rendering of subfragments for a given report, should return a list of html fragments to #' be available to inject into mustach templates #' #' @param reportData typed report json, the type should be the name of the report #' @return vector of rendered HTML fragments that will...
/R/02-templating-class.R
permissive
mwernimont/repgen
R
false
false
1,319
r
#' renderCustomFragments #' #' Peform the rendering of subfragments for a given report, should return a list of html fragments to #' be available to inject into mustach templates #' #' @param reportData typed report json, the type should be the name of the report #' @return vector of rendered HTML fragments that will...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/transformPhylo.ll.R \name{transformPhylo.ll} \alias{transformPhylo.ll} \title{Log-likelhood for models of trait evolution.} \usage{ transformPhylo.ll(y = NULL, phy, model = NULL, meserr = NULL, kappa = NULL, lambda = NULL, delta = NULL, alp...
/man/transformPhylo.ll.Rd
no_license
cran/motmot.2.0
R
false
true
7,349
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/transformPhylo.ll.R \name{transformPhylo.ll} \alias{transformPhylo.ll} \title{Log-likelhood for models of trait evolution.} \usage{ transformPhylo.ll(y = NULL, phy, model = NULL, meserr = NULL, kappa = NULL, lambda = NULL, delta = NULL, alp...
par(mfrow=c(1, 2), mar=c(4.1, 4.1, 1.1, 1.1)) ## make up data # set.seed(100) # xs <- seq(0, 0.45, by=0.05) # n <- length(xs) # ys <- 3 + 4*xs^2 # ys2 <- ys + runif(n, -1, 1)/10 # plot(xs, ys, xlim=c(0, 0.5), ylim=c(0, 10)) # plot(function(x) 3 + 4*x^2, xlim=c(0, 0.45), add=T) ## enter given data xs <- seq(0, 0.45, by...
/books/ana/output/html/external/4_differentiation/ndiff_study.R
no_license
seanteachesmath/seanteachesmath.github.io
R
false
false
1,081
r
par(mfrow=c(1, 2), mar=c(4.1, 4.1, 1.1, 1.1)) ## make up data # set.seed(100) # xs <- seq(0, 0.45, by=0.05) # n <- length(xs) # ys <- 3 + 4*xs^2 # ys2 <- ys + runif(n, -1, 1)/10 # plot(xs, ys, xlim=c(0, 0.5), ylim=c(0, 10)) # plot(function(x) 3 + 4*x^2, xlim=c(0, 0.45), add=T) ## enter given data xs <- seq(0, 0.45, by...
## ----global_options, include = FALSE--------------------------------------------------------------------------------- try(source("../../.Rprofile")) ## -------------------------------------------------------------------------------------------------------------------- # folder spt_root <- c('C:/Users/fan/R4Econ/pan...
/panel/join/htmlpdfr/fs_join_compare.R
permissive
FanWangEcon/R4Econ
R
false
false
3,942
r
## ----global_options, include = FALSE--------------------------------------------------------------------------------- try(source("../../.Rprofile")) ## -------------------------------------------------------------------------------------------------------------------- # folder spt_root <- c('C:/Users/fan/R4Econ/pan...
smokingGunFinder <- function #Find doppelgangers based on "smoking gun" phenotypes - those that should be unique to each patient. ### Checks all pairwise combinations of samples for values of the ### "smoking" gun phenotypes that are identical. (eset.pair, ### a list of ExpressionSets, with two elements. If the two e...
/1.DataInclusion/doppelgangR-master/R/smokingGunFinder.R
permissive
amyecampbell/clonedHGSCdata
R
false
false
1,983
r
smokingGunFinder <- function #Find doppelgangers based on "smoking gun" phenotypes - those that should be unique to each patient. ### Checks all pairwise combinations of samples for values of the ### "smoking" gun phenotypes that are identical. (eset.pair, ### a list of ExpressionSets, with two elements. If the two e...
##' @param lon site longitude ##' ##' @param lat site latitude ##' @param start_date "YYYY-MM-DD" ##' @param end_date "YYYY-MM-DD" ##' @param gridres taken from input_veg, DEFAULT = 0.075 ##' @param dbparms taken from settings object ##' @param ... Additional parameters ##' ##' @name extract_FIA ##' @title extract_FIA...
/modules/data.land/R/extract_FIA.R
permissive
dlebauer/pecan
R
false
false
7,055
r
##' @param lon site longitude ##' ##' @param lat site latitude ##' @param start_date "YYYY-MM-DD" ##' @param end_date "YYYY-MM-DD" ##' @param gridres taken from input_veg, DEFAULT = 0.075 ##' @param dbparms taken from settings object ##' @param ... Additional parameters ##' ##' @name extract_FIA ##' @title extract_FIA...
\name{GetCommonQtls} \alias{GetCommonQtls} \title{Get common QTLs for phenotypes} \description{Perform joint QTL mapping for phenotypes with marginal LOD peak positions higher than LOD threshold and within set distance of each other } \usage{ GetCommonQtls(cross, pheno1, pheno2, thr = 3, peak.dist = 5, addcov1 = NULL...
/man/GetCommonQtls.Rd
no_license
byandell/qtlhot
R
false
false
1,598
rd
\name{GetCommonQtls} \alias{GetCommonQtls} \title{Get common QTLs for phenotypes} \description{Perform joint QTL mapping for phenotypes with marginal LOD peak positions higher than LOD threshold and within set distance of each other } \usage{ GetCommonQtls(cross, pheno1, pheno2, thr = 3, peak.dist = 5, addcov1 = NULL...
library(dplyr) library(datasets) ## Download File setwd("~/R Class/Exploratory Data Analysis/Project 1") fileURL <-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(fileURL, destfile="household_power_consumption.txt") ## Read table data <- read.table("household_po...
/plot2.R
no_license
kikimeow/ExData_Plotting1
R
false
false
1,656
r
library(dplyr) library(datasets) ## Download File setwd("~/R Class/Exploratory Data Analysis/Project 1") fileURL <-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(fileURL, destfile="household_power_consumption.txt") ## Read table data <- read.table("household_po...
set.seed(120) rlap_data = geoR::grf(50, cov.pars = c(1, 1), nugget = 0.1, messages = FALSE) y = rlap_data$data x = matrix(1, nrow = length(y)) coords = rlap_data$coords d = ganiso_d(rlap_data$coords, coords2 = rlap_data$coords, invert = TRUE) geoR_ml = geoR::likfit(rlap_data, ini = c...
/gear/inst/testdata-raw/create-testdata-ploglik_cmodStd_r_lambda_angle_par3_geoR.R
no_license
akhikolla/InformationHouse
R
false
false
2,803
r
set.seed(120) rlap_data = geoR::grf(50, cov.pars = c(1, 1), nugget = 0.1, messages = FALSE) y = rlap_data$data x = matrix(1, nrow = length(y)) coords = rlap_data$coords d = ganiso_d(rlap_data$coords, coords2 = rlap_data$coords, invert = TRUE) geoR_ml = geoR::likfit(rlap_data, ini = c...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bruker.R \name{read_signal_2d} \alias{read_signal_2d} \title{Read 2D Bruker ser file} \usage{ read_signal_2d(path, acqus.list) } \arguments{ \item{path}{Character string that points to either a ser file or the broader scan directory.} \item{...
/man/read_signal_2d.Rd
no_license
SPKorhonen/rnmrfit
R
false
true
920
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bruker.R \name{read_signal_2d} \alias{read_signal_2d} \title{Read 2D Bruker ser file} \usage{ read_signal_2d(path, acqus.list) } \arguments{ \item{path}{Character string that points to either a ser file or the broader scan directory.} \item{...