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
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common get_config new_operation new_request send_request #' @include redshift_service.R NULL #' Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to #' the configuration (term, payment type, or number of nodes) and ...
/cran/paws.database/R/redshift_operations.R
permissive
williazo/paws
R
false
false
387,997
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 redshift_service.R NULL #' Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to #' the configuration (term, payment type, or number of nodes) and ...
## ----setup, include = FALSE--------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ---- echo=FALSE, results="hide", warning=FALSE, message=FALSE---------------- library(did) # Source the currently version of the did package (based on our Dropbox) # fldr <- ...
/inst/doc/pre-testing.R
no_license
cran/did
R
false
false
7,532
r
## ----setup, include = FALSE--------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ---- echo=FALSE, results="hide", warning=FALSE, message=FALSE---------------- library(did) # Source the currently version of the did package (based on our Dropbox) # fldr <- ...
#!/usr/bin/env Rscript #' report calculate result #' @export #' @param workshop_dir Directory of workshop #' @param csv_file The file which will contain the output result (CSV format) report_analysis <- function(workshop_dir, csv_file) { db_object <- connect_database(workshop_dir) sql_string_bare <- "SELECT * ...
/src/R/report_analysis.R
no_license
howl-anderson/sdmanalysis
R
false
false
630
r
#!/usr/bin/env Rscript #' report calculate result #' @export #' @param workshop_dir Directory of workshop #' @param csv_file The file which will contain the output result (CSV format) report_analysis <- function(workshop_dir, csv_file) { db_object <- connect_database(workshop_dir) sql_string_bare <- "SELECT * ...
# Visualization #ggplot2 install.packages("ggplot2") library(ggplot2) data(ChickWeight) head(ChickWeight) ggplot(ChickWeight, aes(x=Time, y=weight, colour=Diet, group=Chick)) + geom_line() # geom_point() : scatter plot, geom_smooth(): 배경색상 투명도(alpah), 평균 값 선 굵기(size) 조정 ggplot(ChickWeight, aes(x=Time, y=weight, colo...
/visualization_basics.R
no_license
hwang-dasom/adp_r_practices
R
false
false
6,004
r
# Visualization #ggplot2 install.packages("ggplot2") library(ggplot2) data(ChickWeight) head(ChickWeight) ggplot(ChickWeight, aes(x=Time, y=weight, colour=Diet, group=Chick)) + geom_line() # geom_point() : scatter plot, geom_smooth(): 배경색상 투명도(alpah), 평균 값 선 굵기(size) 조정 ggplot(ChickWeight, aes(x=Time, y=weight, colo...
#' Returns the number of chunks in a disk.frame #' @param df a disk.frame #' @param skip.ready.check NOT implemented #' @param ... not used #' @export #' @examples #' cars.df = as.disk.frame(cars) #' #' # return the number of chunks #' nchunks(cars.df) #' nchunk(cars.df) #' #' # clean up cars.df #' delet...
/fuzzedpackages/disk.frame/R/nchunks.r
no_license
akhikolla/testpackages
R
false
false
929
r
#' Returns the number of chunks in a disk.frame #' @param df a disk.frame #' @param skip.ready.check NOT implemented #' @param ... not used #' @export #' @examples #' cars.df = as.disk.frame(cars) #' #' # return the number of chunks #' nchunks(cars.df) #' nchunk(cars.df) #' #' # clean up cars.df #' delet...
rm(list=ls()) library(shiny) setwd("C:/Users/bclamber/Desktop/distribution-viewer") runApp("App-1", launch.browser = T) runApp(list( ui = bootstrapPage( sliderInput("mu", "Mean", min=-30, max=30, value=0, step=0.2), uiOutput('chunk') ), server = function(input, output) { output$chunk <- renderUI({ ...
/s_Distributions_test.R
no_license
ben18785/distribution-zoo
R
false
false
8,000
r
rm(list=ls()) library(shiny) setwd("C:/Users/bclamber/Desktop/distribution-viewer") runApp("App-1", launch.browser = T) runApp(list( ui = bootstrapPage( sliderInput("mu", "Mean", min=-30, max=30, value=0, step=0.2), uiOutput('chunk') ), server = function(input, output) { output$chunk <- renderUI({ ...
context("Setting and getting node attributes") test_that("setting node attributes is possible", { # Create a graph graph <- create_graph() %>% add_path(8) # Set attribute for node `1` graph_set_a <- set_node_attrs( graph, nodes = 1, node_attr = "value", values = 5) # Ex...
/tests/testthat/test-set_get_node_edge_attrs.R
no_license
yflyzhang/DiagrammeR
R
false
false
8,975
r
context("Setting and getting node attributes") test_that("setting node attributes is possible", { # Create a graph graph <- create_graph() %>% add_path(8) # Set attribute for node `1` graph_set_a <- set_node_attrs( graph, nodes = 1, node_attr = "value", values = 5) # Ex...
#packages library(tidyverse) library(data.table) #Set nga_data_layers git repo as working directory ######################### # Exploratory Process # ######################### # Start with phone and mobile data to explore NGA General Household Survey dataset # develop data cleaning process lga_labels <- fread('./da...
/src/data_processing/nga_mobile_data.R
permissive
catalyst-offgrid/nga_data_layers
R
false
false
1,203
r
#packages library(tidyverse) library(data.table) #Set nga_data_layers git repo as working directory ######################### # Exploratory Process # ######################### # Start with phone and mobile data to explore NGA General Household Survey dataset # develop data cleaning process lga_labels <- fread('./da...
\name{plotmap} \alias{levelplot} \alias{levelplot,formula,hyperSpec-method} \alias{levelplot,hyperSpec,missing-method} \alias{map.identify} \alias{plotmap} \alias{plotvoronoi} \title{Plot a Map and Identify/Select Spectra in the Map \code{\link[lattice]{levelplot}} functions for hyperSpec objects. An image or map of a...
/man/levelplot.Rd
no_license
fornasaros/hyperSpec
R
false
false
5,848
rd
\name{plotmap} \alias{levelplot} \alias{levelplot,formula,hyperSpec-method} \alias{levelplot,hyperSpec,missing-method} \alias{map.identify} \alias{plotmap} \alias{plotvoronoi} \title{Plot a Map and Identify/Select Spectra in the Map \code{\link[lattice]{levelplot}} functions for hyperSpec objects. An image or map of a...
#' knitr::opts_chunk$set(tidy=TRUE) #' # `mediate()` #' mediation::mediate #' #'\newpage #' # `polr()` MASS::polr logis.cdf <- function(x) expression(over(1, 1+e^(-(over(x-mu, s)))))
/CLASS-CDA-ToDo/syntax/mediations.R
no_license
EccRiley/CLASS-CDA
R
false
false
184
r
#' knitr::opts_chunk$set(tidy=TRUE) #' # `mediate()` #' mediation::mediate #' #'\newpage #' # `polr()` MASS::polr logis.cdf <- function(x) expression(over(1, 1+e^(-(over(x-mu, s)))))
#dplyr and Git beginner tutorial #University of Delaware #Last updated: September 7, 2015 #Ian Rambo # ____ _ _ _ _ _ _ # | _ \(_) | | | | | | | | | # | |_) |_ __| | __| | | ___ | | __ _| |__ # | _ <| |/ _` |/ _` | |/ _ \ | | / _` | '_ \ # | |_) | | (_...
/dplyr_git_tutorial_master.R
no_license
jfbiddle/biddle-lab
R
false
false
7,232
r
#dplyr and Git beginner tutorial #University of Delaware #Last updated: September 7, 2015 #Ian Rambo # ____ _ _ _ _ _ _ # | _ \(_) | | | | | | | | | # | |_) |_ __| | __| | | ___ | | __ _| |__ # | _ <| |/ _` |/ _` | |/ _ \ | | / _` | '_ \ # | |_) | | (_...
############################################################################################## # Load the profile and access data ahead of all the tests # skip_on_cran()
/tests/testthat/test-aaaaaaaaaaa.R
no_license
CharlesCara/DatastreamDSWS2R
R
false
false
172
r
############################################################################################## # Load the profile and access data ahead of all the tests # skip_on_cran()
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/print.crm.r \name{print.crm} \alias{print.crm} \title{Print model results} \usage{ \method{print}{crm}(x,...) } \arguments{ \item{x}{crm model result or list of model results} \item{...}{generic arguments not used here} }...
/marked/man/print.crm.Rd
no_license
bmcclintock/marked
R
false
false
558
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/print.crm.r \name{print.crm} \alias{print.crm} \title{Print model results} \usage{ \method{print}{crm}(x,...) } \arguments{ \item{x}{crm model result or list of model results} \item{...}{generic arguments not used here} }...
## Straightforwardly, apply some function (`transformation`) ## to every terminal node in the stagerunner. This is useful for ## simple debugging and monitoring. For example, if we wish to ## print the variables currently in the context of stagerunner ## prior to executing each stage, we can call ## ## ```r ## runner$...
/R/stagerunner-transform.R
permissive
syberia/stagerunner
R
false
false
1,004
r
## Straightforwardly, apply some function (`transformation`) ## to every terminal node in the stagerunner. This is useful for ## simple debugging and monitoring. For example, if we wish to ## print the variables currently in the context of stagerunner ## prior to executing each stage, we can call ## ## ```r ## runner$...
library("DEP") library("dplyr") library("EnrichmentBrowser") library("limma") library("Biobase") library("dendextend") library("RSkittleBrewer") library("preprocessCore") library("vsn") library("broom") library("snpStats") library("sva") library("genefilter") #Read proteinGroups file proteinGroups <- read.table(fi...
/itsar 2/Rwork/KrisWebb/20200424_limma_DSM_SVA_Organoid_Orange_vs_Vehicle.R
no_license
Linux-U/itsar_working
R
false
false
9,008
r
library("DEP") library("dplyr") library("EnrichmentBrowser") library("limma") library("Biobase") library("dendextend") library("RSkittleBrewer") library("preprocessCore") library("vsn") library("broom") library("snpStats") library("sva") library("genefilter") #Read proteinGroups file proteinGroups <- read.table(fi...
library(snpStats) ## SnpMatrix class quiet <- suppressWarnings test_gSM_array_GT <- function() { mat <- matrix(c(".|.", "0|0", "0|1", "1|0", "1|1", "./.", "0/0", "0/1", "1/0", "1/1"), ncol=2, dimnames=list(1:5,1:2)) sm <- new("SnpMatrix", matrix(as.raw(c(0, 1...
/VariantAnnotation/inst/unitTests/test_genotypeToSnpMatrix.R
no_license
smgogarten/VCF_projects
R
false
false
6,425
r
library(snpStats) ## SnpMatrix class quiet <- suppressWarnings test_gSM_array_GT <- function() { mat <- matrix(c(".|.", "0|0", "0|1", "1|0", "1|1", "./.", "0/0", "0/1", "1/0", "1/1"), ncol=2, dimnames=list(1:5,1:2)) sm <- new("SnpMatrix", matrix(as.raw(c(0, 1...
##### Unit Testing in R: testthat() #### # To illustrate unit testing in R, we will utilize the testthat package. (You get one guess as to who developed it. No, not me.) # A part of a code base. Think of a situation where this is written off-the-cuff, without much thought. char2int = function(character) { which(letter...
/UnitTesting.R
no_license
rubysheng/stats-R
R
false
false
3,337
r
##### Unit Testing in R: testthat() #### # To illustrate unit testing in R, we will utilize the testthat package. (You get one guess as to who developed it. No, not me.) # A part of a code base. Think of a situation where this is written off-the-cuff, without much thought. char2int = function(character) { which(letter...
context("Gather") test_that("gather all columns when ... is empty", { df <- data.frame( x = 1:5, y = 6:10 ) out <- gather(df, key, val) expect_equal(nrow(out), 10) expect_equal(names(out), c("key", "val")) }) test_that("gather returns input if no columns gathered", { df <- data.frame(x = 1:2, y = ...
/tests/testthat/test-gather.R
no_license
yifeizhang/tidyr
R
false
false
3,010
r
context("Gather") test_that("gather all columns when ... is empty", { df <- data.frame( x = 1:5, y = 6:10 ) out <- gather(df, key, val) expect_equal(nrow(out), 10) expect_equal(names(out), c("key", "val")) }) test_that("gather returns input if no columns gathered", { df <- data.frame(x = 1:2, y = ...
library(ivpack) scaling = function (mat, pop,th=30,delta=0,useIv=FALSE,dropMissingIv=FALSE) { d = NULL mat = as.matrix(mat) mat = get.list(mat) mat = merge (mat, pop, by.x = 1, by.y = 1) if (useIv){ colnames (mat) = c("geo", "Industry", "Count", "pop",'pop.iv') if (dropMissingIv){ mat <- m...
/2.Functions/crunching.R
no_license
crisjf/comp-scaling
R
false
false
3,283
r
library(ivpack) scaling = function (mat, pop,th=30,delta=0,useIv=FALSE,dropMissingIv=FALSE) { d = NULL mat = as.matrix(mat) mat = get.list(mat) mat = merge (mat, pop, by.x = 1, by.y = 1) if (useIv){ colnames (mat) = c("geo", "Industry", "Count", "pop",'pop.iv') if (dropMissingIv){ mat <- m...
# DATA READIN ------------------------------------------------------------- dataset = read.csv("winemag-data-130k-v2.csv") dataset[dataset==""]=NA dataset = na.omit(dataset) dataset=dataset[,-c(1,6,7,8)] choiceWines = c("Pinot Gris","Pinot Noir","Cabernet Sauvignon","Chardonnay","Malbec","Zinfandel","Rieslin...
/wineReviews.R
no_license
NicholasNikolov/2018-WineClassifier
R
false
false
32,453
r
# DATA READIN ------------------------------------------------------------- dataset = read.csv("winemag-data-130k-v2.csv") dataset[dataset==""]=NA dataset = na.omit(dataset) dataset=dataset[,-c(1,6,7,8)] choiceWines = c("Pinot Gris","Pinot Noir","Cabernet Sauvignon","Chardonnay","Malbec","Zinfandel","Rieslin...
##Getting data, project R-code ## read the training data ## read features, remove those symbols folder <- paste(getwd(), "/UCI HAR Dataset", sep = "") Variables <- read.table(paste(folder, "/features.txt", sep = "")) Var <- Variables$V2 Var <- gsub("-", "", Var) Var <- gsub("[(]", "", Var) Var <- gsub("[)]", "", Var)...
/run_analysis.r
no_license
jhzhao/GettingData
R
false
false
2,666
r
##Getting data, project R-code ## read the training data ## read features, remove those symbols folder <- paste(getwd(), "/UCI HAR Dataset", sep = "") Variables <- read.table(paste(folder, "/features.txt", sep = "")) Var <- Variables$V2 Var <- gsub("-", "", Var) Var <- gsub("[(]", "", Var) Var <- gsub("[)]", "", Var)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slice.R \name{step_slice} \alias{step_slice} \title{Filter rows by position using dplyr} \usage{ step_slice( recipe, ..., role = NA, trained = FALSE, inputs = NULL, skip = TRUE, id = rand_id("slice") ) } \arguments{ \item{recipe...
/man/step_slice.Rd
permissive
tidymodels/recipes
R
false
true
3,804
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slice.R \name{step_slice} \alias{step_slice} \title{Filter rows by position using dplyr} \usage{ step_slice( recipe, ..., role = NA, trained = FALSE, inputs = NULL, skip = TRUE, id = rand_id("slice") ) } \arguments{ \item{recipe...
url <- 'https://www.imdb.com/search/title/?count=100&release_date=2016,2016&title_type=feature' read_html(url) -> webpage #Using CSS selectors to scrape the rankings section rank_data_html <- html_nodes(webpage,'.text-primary') rank_data <- html_text(rank_data_html) head(rank_data) #Data preprocessing as.numeri...
/Web scrapping.R
no_license
prats556/Web_Scrapping_of_IMDB-
R
false
false
3,233
r
url <- 'https://www.imdb.com/search/title/?count=100&release_date=2016,2016&title_type=feature' read_html(url) -> webpage #Using CSS selectors to scrape the rankings section rank_data_html <- html_nodes(webpage,'.text-primary') rank_data <- html_text(rank_data_html) head(rank_data) #Data preprocessing as.numeri...
library(shiny) library(dygraphs) library(datasets) library(xts) library(plyr) ##---functions---------- ## any functions goes here ##---end of functions------- ## Define server logic required to generate and plot a random distribution shinyServer(function(input,output) { dataset <- reactive({ if(input$file_ch...
/server.r
no_license
akshara-chukkannagari/Gis_Project
R
false
false
17,624
r
library(shiny) library(dygraphs) library(datasets) library(xts) library(plyr) ##---functions---------- ## any functions goes here ##---end of functions------- ## Define server logic required to generate and plot a random distribution shinyServer(function(input,output) { dataset <- reactive({ if(input$file_ch...
########################################################### #SARS-CoV-2 mutation spectrum ########################################################### #color and themes library(RColorBrewer) brewer.pal(12, name="Paired") Self1<-c("#1F78B4","#A6CEE3","#33A02C","#B2DF8A","#E31A1C","#FB9A99","#FF7F00","#FDBF6F"...
/Plot/Script/Fig1.R
no_license
kjshan/SARS-CoV-2-Mutation-Spectrum
R
false
false
19,936
r
########################################################### #SARS-CoV-2 mutation spectrum ########################################################### #color and themes library(RColorBrewer) brewer.pal(12, name="Paired") Self1<-c("#1F78B4","#A6CEE3","#33A02C","#B2DF8A","#E31A1C","#FB9A99","#FF7F00","#FDBF6F"...
##' Starts GUI ##' ##' Start a web-based Graphical User Interface (GUI) to perform some analyses that the rhr package provides. ##' @title rhrGUI ##' @export rhrGUI <- function() { shiny::runApp(system.file('gui', package='rhr')) }
/R/rhrGUI.R
no_license
jmsigner/rhr
R
false
false
240
r
##' Starts GUI ##' ##' Start a web-based Graphical User Interface (GUI) to perform some analyses that the rhr package provides. ##' @title rhrGUI ##' @export rhrGUI <- function() { shiny::runApp(system.file('gui', package='rhr')) }
with(a84621d596bbd47ab9fecf15f5a2b2595, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/75a73e73-db77-4861-bc03-c0f1aeb0de8b';rm(list=ls())});
/75a73e73-db77-4861-bc03-c0f1aeb0de8b/R/Temp/aATvheaBlGQ9z.R
no_license
ayanmanna8/test
R
false
false
212
r
with(a84621d596bbd47ab9fecf15f5a2b2595, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/75a73e73-db77-4861-bc03-c0f1aeb0de8b';rm(list=ls())});
# KRUSKAL-WALLIS TEST : Group_native <- c(8,5,7,11,9,6) Group_water <- c(10,12,11,9,13,12) Group_fertilizer <- c(11,14,10,16,17,12) Group_water_fertilizer <- c(18,20,16,15,14,22) Group <-data.frame(Group_native,Group_water,Group_fertilizer,Group_water_fertilizer) Group # alpha = .01, critical value : qchis...
/Business_Statistics_For_Contemporary_Decision_Making_by_Ken_Black/CH17/EX17.4/Ex17_4.R
permissive
FOSSEE/R_TBC_Uploads
R
false
false
958
r
# KRUSKAL-WALLIS TEST : Group_native <- c(8,5,7,11,9,6) Group_water <- c(10,12,11,9,13,12) Group_fertilizer <- c(11,14,10,16,17,12) Group_water_fertilizer <- c(18,20,16,15,14,22) Group <-data.frame(Group_native,Group_water,Group_fertilizer,Group_water_fertilizer) Group # alpha = .01, critical value : qchis...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/model_plots.R \name{mplot_density} \alias{mplot_density} \title{Density plot for discrete and continuous values} \usage{ mplot_density( tag, score, thresh = 6, model_name = NA, subtitle = NA, save = FALSE, subdir = NA, file_na...
/man/mplot_density.Rd
no_license
laresbernardo/lares
R
false
true
1,868
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/model_plots.R \name{mplot_density} \alias{mplot_density} \title{Density plot for discrete and continuous values} \usage{ mplot_density( tag, score, thresh = 6, model_name = NA, subtitle = NA, save = FALSE, subdir = NA, file_na...
file <- read.table("household_power_consumption.txt", header = TRUE, sep=";", stringsAsFactors=F, na.strings="?") twoday <- file[file$Date %in% c("1/2/2007","2/2/2007"),] time <- strptime(paste(twoday$Date, twoday$Time, sep=" "), "%d/%m/%Y %H:%M:%S") #Plot3 Sub1 <- as.numeric(twoday$Sub_metering_1) Sub2 <- as.numeric(...
/Plot3.R
no_license
ggggia/ExData_Plotting1
R
false
false
695
r
file <- read.table("household_power_consumption.txt", header = TRUE, sep=";", stringsAsFactors=F, na.strings="?") twoday <- file[file$Date %in% c("1/2/2007","2/2/2007"),] time <- strptime(paste(twoday$Date, twoday$Time, sep=" "), "%d/%m/%Y %H:%M:%S") #Plot3 Sub1 <- as.numeric(twoday$Sub_metering_1) Sub2 <- as.numeric(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trial_image_slider_response.R \name{trial_image_slider_response} \alias{trial_image_slider_response} \title{Specify an image trial with slider bar response} \usage{ trial_image_slider_response( stimulus, stimulus_height = NULL, stimulus...
/man/trial_image_slider_response.Rd
permissive
djnavarro/jaysire
R
false
true
11,270
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trial_image_slider_response.R \name{trial_image_slider_response} \alias{trial_image_slider_response} \title{Specify an image trial with slider bar response} \usage{ trial_image_slider_response( stimulus, stimulus_height = NULL, stimulus...
options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) #options(prompt = "\033[1;34mR>\033[0m ") options(prompt = "R> ") options(continue=" ")
/.Rprofile
no_license
andy1li/dotfiles
R
false
false
163
rprofile
options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) #options(prompt = "\033[1;34mR>\033[0m ") options(prompt = "R> ") options(continue=" ")
library(bnlearn) library(igraph) library(Rgraphviz) library(sna) load('RData/experiment.missing.data.RData') find.score = NULL find.score$capri$id = 0 find.score$capri$score = NA find.score$caprese$id = 0 find.score$caprese$score = NA find.score$prim$id = 0 find.score$prim$score = NA find.score$chowliu$id = 0 find.sc...
/old/experiment_missing_data_2/find.score.R
no_license
BIMIB-DISCo/MST
R
false
false
6,399
r
library(bnlearn) library(igraph) library(Rgraphviz) library(sna) load('RData/experiment.missing.data.RData') find.score = NULL find.score$capri$id = 0 find.score$capri$score = NA find.score$caprese$id = 0 find.score$caprese$score = NA find.score$prim$id = 0 find.score$prim$score = NA find.score$chowliu$id = 0 find.sc...
## ## Script name: nuts.R ## ## Purpose of script: implements the No-U-Turn sampler by Hoffmann and Gelman (2014) with dual averaging and mass matrix adaption for ## Bayesian Conditional transformation models; imitates the output style of # rstan (Stan Development Team, 2020) and...
/nuts/nuts.R
no_license
manucarl/bctm_showcase
R
false
false
16,182
r
## ## Script name: nuts.R ## ## Purpose of script: implements the No-U-Turn sampler by Hoffmann and Gelman (2014) with dual averaging and mass matrix adaption for ## Bayesian Conditional transformation models; imitates the output style of # rstan (Stan Development Team, 2020) and...
#Greg Kelly #libraries used in this script library(tidyverse) library(readxl) library(readr) library(lubridate) library(rio) library(dplyr) library(plyr) #change the working directory setwd('..') brings you out of that folder, up one directory level #getwd() #setwd("DublinAQData/") #read in all files from a directo...
/DublinAQData.R
no_license
gklen/airquality
R
false
false
111,375
r
#Greg Kelly #libraries used in this script library(tidyverse) library(readxl) library(readr) library(lubridate) library(rio) library(dplyr) library(plyr) #change the working directory setwd('..') brings you out of that folder, up one directory level #getwd() #setwd("DublinAQData/") #read in all files from a directo...
#import data dataset = read.csv('Social_Network_Ads.csv') dataset = dataset[3:5] #encode factor dataset$Purchased = factor(dataset$Purchased, levels = c(0,1)) #split data to train and test set library(caTools) set.seed(123) split = sample.split(dataset$Purchased, SplitRatio = 0.75) training_set = subset(dataset, spli...
/NB.R
no_license
abhimanyudwivedi/weirdMLinR
R
false
false
2,080
r
#import data dataset = read.csv('Social_Network_Ads.csv') dataset = dataset[3:5] #encode factor dataset$Purchased = factor(dataset$Purchased, levels = c(0,1)) #split data to train and test set library(caTools) set.seed(123) split = sample.split(dataset$Purchased, SplitRatio = 0.75) training_set = subset(dataset, spli...
plotly <- read.csv("~/Dropbox/Documents/ifpa/2016/writing_papers/ESEJb/data/forks/plotly.js.csv", header=TRUE) atom <- read.csv("~/Dropbox/Documents/ifpa/2016/writing_papers/ESEJb/data/forks/atom.csv", header=TRUE) swift <- read.csv("~/Dropbox/Documents/ifpa/2016/writing_papers/ESEJb/data/forks/swift.csv", header=TRUE)...
/data/forks/forks.R
no_license
gustavopinto/migration-to-oss
R
false
false
3,522
r
plotly <- read.csv("~/Dropbox/Documents/ifpa/2016/writing_papers/ESEJb/data/forks/plotly.js.csv", header=TRUE) atom <- read.csv("~/Dropbox/Documents/ifpa/2016/writing_papers/ESEJb/data/forks/atom.csv", header=TRUE) swift <- read.csv("~/Dropbox/Documents/ifpa/2016/writing_papers/ESEJb/data/forks/swift.csv", header=TRUE)...
testlist <- list(n = 825556992L) result <- do.call(breakfast:::setBitNumber,testlist) str(result)
/breakfast/inst/testfiles/setBitNumber/libFuzzer_setBitNumber/setBitNumber_valgrind_files/1609960494-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
97
r
testlist <- list(n = 825556992L) result <- do.call(breakfast:::setBitNumber,testlist) str(result)
\name{Socatt} \alias{Socatt} \docType{data} \title{Social Attitudes Survey} \description{ These data come from the British Social Attitudes (BSA) Survey started in 1983. The eligible persons were all adults aged 18 or over living in private households in Britain. The data consist of completed results o...
/man/Socatt.Rd
no_license
cran/mlmRev
R
false
false
1,777
rd
\name{Socatt} \alias{Socatt} \docType{data} \title{Social Attitudes Survey} \description{ These data come from the British Social Attitudes (BSA) Survey started in 1983. The eligible persons were all adults aged 18 or over living in private households in Britain. The data consist of completed results o...
#' @include RcppExports.R marxan-internal.R misc.R generics.R MarxanOpts.R MarxanData.R MarxanUnsolved.R MarxanResults.R MarxanSolved.R NULL #' General Marxan Function #' #' This is a general function to create Marxan objects from scratch and run the Marxan program to generate solutions. #' #' @param x generic argumen...
/R/marxan.R
no_license
jeffreyhanson/marxan
R
false
false
2,514
r
#' @include RcppExports.R marxan-internal.R misc.R generics.R MarxanOpts.R MarxanData.R MarxanUnsolved.R MarxanResults.R MarxanSolved.R NULL #' General Marxan Function #' #' This is a general function to create Marxan objects from scratch and run the Marxan program to generate solutions. #' #' @param x generic argumen...
# Plotting networks from mdine fit using igraph pacakge library(igraph) library(phyloseq) library(mdine) # BE SURE TO SET YOUR WORKING DIRECTORY: # setwd("~") source("sim_eval_functions.R") source('plot_networks.R') load("cleaned_data_ileum.RData") #Family analysis -- choosing top (named) families n.fam = 15 named...
/plot_mdine_networks.R
no_license
kevinmcgregor/crohns_analysis
R
false
false
4,318
r
# Plotting networks from mdine fit using igraph pacakge library(igraph) library(phyloseq) library(mdine) # BE SURE TO SET YOUR WORKING DIRECTORY: # setwd("~") source("sim_eval_functions.R") source('plot_networks.R') load("cleaned_data_ileum.RData") #Family analysis -- choosing top (named) families n.fam = 15 named...
local({ # the requested version of renv version <- "0.12.2" # the project directory project <- getwd() # avoid recursion if (!is.na(Sys.getenv("RENV_R_INITIALIZING", unset = NA))) return(invisible(TRUE)) # signal that we're loading renv during R startup Sys.setenv("RENV_R_INITIALIZING" = "true"...
/makescore/renv/activate.R
permissive
mpinese/nimpress
R
false
false
10,374
r
local({ # the requested version of renv version <- "0.12.2" # the project directory project <- getwd() # avoid recursion if (!is.na(Sys.getenv("RENV_R_INITIALIZING", unset = NA))) return(invisible(TRUE)) # signal that we're loading renv during R startup Sys.setenv("RENV_R_INITIALIZING" = "true"...
source("UI/ui_overview.R", local = TRUE) source("UI/ui_about.R", local = TRUE) ui <- fluidPage( title = "COVID-19 Dashboard", tags$style(type = "text/css", ".container-fluid {padding-left: 0px; padding-right: 0px !important;}"), tags$style(type = "text/css", ".navbar {margin-bottom: 0px; background-color: #8B00...
/ui.R
no_license
xfinalangelx/COVID-19-Dashboard
R
false
false
1,000
r
source("UI/ui_overview.R", local = TRUE) source("UI/ui_about.R", local = TRUE) ui <- fluidPage( title = "COVID-19 Dashboard", tags$style(type = "text/css", ".container-fluid {padding-left: 0px; padding-right: 0px !important;}"), tags$style(type = "text/css", ".navbar {margin-bottom: 0px; background-color: #8B00...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aiplatform_functions.R \name{projects.locations.tensorboards.get} \alias{projects.locations.tensorboards.get} \title{Gets a Tensorboard.} \usage{ projects.locations.tensorboards.get(name) } \arguments{ \item{name}{Required} } \description{ Au...
/googleaiplatformv1.auto/man/projects.locations.tensorboards.get.Rd
no_license
justinjm/autoGoogleAPI
R
false
true
923
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aiplatform_functions.R \name{projects.locations.tensorboards.get} \alias{projects.locations.tensorboards.get} \title{Gets a Tensorboard.} \usage{ projects.locations.tensorboards.get(name) } \arguments{ \item{name}{Required} } \description{ Au...
library(dataverse) library(lubridate) ?datasets::beaver2 b <- datasets::beaver2 b <- b %>% mutate(date = make_datetime(year=1990, hour=time %/% 100, min=time %% 100)) %>% mutate(date = date + days(day)) data <- tibble(mins = mins, temp = b$temp) ggplot(b, aes(x = date, y = temp, color=activ)) + geom_line() b
/Exercise07/R/Task07/kai.R
no_license
kai-dat18/advanced_scripting_github
R
false
false
320
r
library(dataverse) library(lubridate) ?datasets::beaver2 b <- datasets::beaver2 b <- b %>% mutate(date = make_datetime(year=1990, hour=time %/% 100, min=time %% 100)) %>% mutate(date = date + days(day)) data <- tibble(mins = mins, temp = b$temp) ggplot(b, aes(x = date, y = temp, color=activ)) + geom_line() b
# Packages ---------------------------------------------------------------- library(tidyverse) library(ggrepel) library(readxl) library(scales) library(extrafont) library(janitor) library(tigris) library(here) # Load stuff -------------------------------------------------------------- source(here("R", "tfff-themes....
/R/tribes.R
no_license
dgkeyes/obtn-2019
R
false
false
1,243
r
# Packages ---------------------------------------------------------------- library(tidyverse) library(ggrepel) library(readxl) library(scales) library(extrafont) library(janitor) library(tigris) library(here) # Load stuff -------------------------------------------------------------- source(here("R", "tfff-themes....
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/happiness.R \docType{data} \name{happiness} \alias{happiness} \title{Happiness Dataset} \format{ A data frame with 460 rows and 11 variables: \describe{ \item{\code{ID}}{character. A unique identifier.} \item{\code{Date}}{date. Date of the in...
/man/happiness.Rd
permissive
Rkabacoff/edatools
R
false
true
1,341
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/happiness.R \docType{data} \name{happiness} \alias{happiness} \title{Happiness Dataset} \format{ A data frame with 460 rows and 11 variables: \describe{ \item{\code{ID}}{character. A unique identifier.} \item{\code{Date}}{date. Date of the in...
# ==================================================================================================== # Author: Aaron # Function: WGCNA for caudate # Several parameters of blockwiseModules can be changed to get better performance # 1. high minKMEtostay will make module smaller and module genes w...
/6_WGCNA/6.3_WGCNA_covar_caudate.R
no_license
ZedekiahZhou/T2D_Brain
R
false
false
6,385
r
# ==================================================================================================== # Author: Aaron # Function: WGCNA for caudate # Several parameters of blockwiseModules can be changed to get better performance # 1. high minKMEtostay will make module smaller and module genes w...
library(shiny) shinyUI(fluidPage( titlePanel("Next Word Predictor App"), sidebarLayout( sidebarPanel( h5('Start entering your sentence. Please enter space after last word and wait for your results.'), textInput(inputId="text1", label = "Your Input", "This is a beautiful "), submitButton('Submit') ...
/ui.R
no_license
GauravTejwani/capstoneprojectapp
R
false
false
403
r
library(shiny) shinyUI(fluidPage( titlePanel("Next Word Predictor App"), sidebarLayout( sidebarPanel( h5('Start entering your sentence. Please enter space after last word and wait for your results.'), textInput(inputId="text1", label = "Your Input", "This is a beautiful "), submitButton('Submit') ...
#' Error measures #' #' Functions allow to calculate different types of errors for point and #' interval predictions: #' \enumerate{ #' \item MAE - Mean Absolute Error, #' \item MSE - Mean Squared Error, #' \item MRE - Mean Root Error (Kourentzes, 2014), #' \item MIS - Mean Interval Score (Gneiting & Raftery, 2007), #'...
/R/error-measures.R
no_license
rohitpandey13/greybox
R
false
false
24,632
r
#' Error measures #' #' Functions allow to calculate different types of errors for point and #' interval predictions: #' \enumerate{ #' \item MAE - Mean Absolute Error, #' \item MSE - Mean Squared Error, #' \item MRE - Mean Root Error (Kourentzes, 2014), #' \item MIS - Mean Interval Score (Gneiting & Raftery, 2007), #'...
getNOAA.bathy <- function(lon1,lon2,lat1,lat2, resolution = 4, keep=FALSE, antimeridian=FALSE){ if (lon1 == lon2) stop("The longitudinal range defined by lon1 and lon2 is incorrect") if (lat1 == lat2) stop("The latitudinal range defined by lat1 and lat2 is incorrect") if (lat1 > 90 | lat1 < -90 | lat2 > 90 | lat2 <...
/R/getNOAA.bathy.R
no_license
jdpye/marmap
R
false
false
3,385
r
getNOAA.bathy <- function(lon1,lon2,lat1,lat2, resolution = 4, keep=FALSE, antimeridian=FALSE){ if (lon1 == lon2) stop("The longitudinal range defined by lon1 and lon2 is incorrect") if (lat1 == lat2) stop("The latitudinal range defined by lat1 and lat2 is incorrect") if (lat1 > 90 | lat1 < -90 | lat2 > 90 | lat2 <...
## cachematrix.R ## ## Create a cache marix object that can be used to ## repeatably solve the inverse of the marix, but only ## calculates the inverse once. ## ## Usage: ## M <- matrix(c(1, 2, 3, 4), nrow=2, ncol=2) ## cacheMatrix <- makeCacheMatrix(M) ## cacheSolve(cacheMatrix) ## ## cacheMatrix$set(M) # Cha...
/02_R_Programming/programming-assignment2/cacheMatrix.R
no_license
paviana/Coursera-Data_Science_Specialization
R
false
false
1,452
r
## cachematrix.R ## ## Create a cache marix object that can be used to ## repeatably solve the inverse of the marix, but only ## calculates the inverse once. ## ## Usage: ## M <- matrix(c(1, 2, 3, 4), nrow=2, ncol=2) ## cacheMatrix <- makeCacheMatrix(M) ## cacheSolve(cacheMatrix) ## ## cacheMatrix$set(M) # Cha...
#' @importFrom ggplot2 theme_get theme theme_set element_text #' @export font_size <- function(fs_title, fs_axis_title.x, fs_axis_title.y, fs_labels.x, fs_labels.y) { # get current theme cur.theme <- ggplot2::theme_get() if (!missing(fs_title)) { cur.theme <- cur.theme + ggplot2::theme(title = ggplot2:...
/R/font_size.R
no_license
stefanfritsch/sjPlot
R
false
false
983
r
#' @importFrom ggplot2 theme_get theme theme_set element_text #' @export font_size <- function(fs_title, fs_axis_title.x, fs_axis_title.y, fs_labels.x, fs_labels.y) { # get current theme cur.theme <- ggplot2::theme_get() if (!missing(fs_title)) { cur.theme <- cur.theme + ggplot2::theme(title = ggplot2:...
####################################################################################### ############### ############### AntMAN Package ############### ############### ####################################################################################### #' S3 class AM_mcmc_output #' @description Output type of return ...
/AntMAN/R/AM_mcmc.R
no_license
bbodin/AntMAN
R
false
false
15,242
r
####################################################################################### ############### ############### AntMAN Package ############### ############### ####################################################################################### #' S3 class AM_mcmc_output #' @description Output type of return ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/word_position.R \name{word_position} \alias{word_position} \title{Word Position} \usage{ word_position( text.var, match.terms, digits = 2, percent = TRUE, zero.replace = 0, ... ) } \arguments{ \item{text.var}{The text variable.} ...
/man/word_position.Rd
no_license
cran/qdap
R
false
true
5,919
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/word_position.R \name{word_position} \alias{word_position} \title{Word Position} \usage{ word_position( text.var, match.terms, digits = 2, percent = TRUE, zero.replace = 0, ... ) } \arguments{ \item{text.var}{The text variable.} ...
globalVariables(c("str", ".", "str_is_run")) image_entry <- function(src, width, height){ x <- data.frame(image_src = src, width = width, height = height, stringsAsFactors = FALSE) class(x) <- c( "image_entry", class(x) ) x } format.image_entry = function (x, type = "console", ...){ stopifnot( length(type) =...
/R/utils.R
no_license
ThiAmm/flextable
R
false
false
5,931
r
globalVariables(c("str", ".", "str_is_run")) image_entry <- function(src, width, height){ x <- data.frame(image_src = src, width = width, height = height, stringsAsFactors = FALSE) class(x) <- c( "image_entry", class(x) ) x } format.image_entry = function (x, type = "console", ...){ stopifnot( length(type) =...
library(ape) testtree <- read.tree("4172_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="4172_0_unrooted.txt")
/codeml_files/newick_trees_processed/4172_0/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("4172_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="4172_0_unrooted.txt")
library(cluster) library(Biobase) library(qvalue) library(fastcluster) options(stringsAsFactors = FALSE) NO_REUSE = F # try to reuse earlier-loaded data if possible if (file.exists("Pocillopora_acuta_PredGenes_experimental_v1.transcripts.cds.fna.salmon.allSamples.numreads.matrix.RData") && ! NO_REUSE) { print('RES...
/Genotype_Analysis/Pacuta/Read_Mapping/PredGenes_Pacuta_experimental_CDS_RNAseq_Salmon/gene_correlation/Pocillopora_acuta_PredGenes_experimental_v1.transcripts.cds.fna.salmon.allSamples.numreads.matrix.Step2.R
no_license
hputnam/Coral_Stress_Phenome
R
false
false
4,442
r
library(cluster) library(Biobase) library(qvalue) library(fastcluster) options(stringsAsFactors = FALSE) NO_REUSE = F # try to reuse earlier-loaded data if possible if (file.exists("Pocillopora_acuta_PredGenes_experimental_v1.transcripts.cds.fna.salmon.allSamples.numreads.matrix.RData") && ! NO_REUSE) { print('RES...
########################################################################### ## The use of the term ‘limnology’ and its scientometrics consequences #### ## Diego Fontaneto, Alejandro Martínez, Stefano Mammola, Aldo Marchetto ### ########################################################################### ## R code to...
/lib/limnology/limnology review.R
permissive
JNUWWB/metaR
R
false
false
41,600
r
########################################################################### ## The use of the term ‘limnology’ and its scientometrics consequences #### ## Diego Fontaneto, Alejandro Martínez, Stefano Mammola, Aldo Marchetto ### ########################################################################### ## R code to...
integration.constant <- function( density, w.lo, w.hi, ... ){ # # Return the scalar so that integral from 0 to w of underlying density # is 1.0 # # Input: # density = a function to compute integration constant for. # this function must be capable of evaluating values from 0 to w # w = upper limi...
/Rdistance/R/integration.constant.R
no_license
ingted/R-Examples
R
false
false
895
r
integration.constant <- function( density, w.lo, w.hi, ... ){ # # Return the scalar so that integral from 0 to w of underlying density # is 1.0 # # Input: # density = a function to compute integration constant for. # this function must be capable of evaluating values from 0 to w # w = upper limi...
# Data frames: adding and removing columns dat <- data.frame(x=LETTERS[1:3], y=1:3) dat dat[,1] dat$x dat$z <- dat$y^2 dat$name <- c("Cat", "Vic", "Osc") dat$y<-NULL dat # Mergin data frames dat1 <- data.frame(name=c("Cat", "Vic", "Osc"), age=c(9,7,4)) dat1 dat2 <- data.frame(names=c("Vic","Cat", "Osc"), gender=c...
/3.0 Working with Data/Working with Data.R
permissive
riyaaditya/Data-Science-Using-R
R
false
false
2,450
r
# Data frames: adding and removing columns dat <- data.frame(x=LETTERS[1:3], y=1:3) dat dat[,1] dat$x dat$z <- dat$y^2 dat$name <- c("Cat", "Vic", "Osc") dat$y<-NULL dat # Mergin data frames dat1 <- data.frame(name=c("Cat", "Vic", "Osc"), age=c(9,7,4)) dat1 dat2 <- data.frame(names=c("Vic","Cat", "Osc"), gender=c...
library(data.table) library(tidyverse) library(scales) library(extrafont) setwd("/Volumes/Macintosh HD/Users/au460892/Desktop/R-projects/DDR_project_Jan_2021/") data = fread("Data/LOF_all.tsv") all_samples = fread("Data/all_donors.tsv") features = fread("Data/COMBINED_featureCounts.tsv") colnames(features) = str_repla...
/Code/Old/Figures/Fig2-4/Old/Vignettes/ATRX/ATRX_new_figure.R
no_license
SimonGrund/DDR_Predict
R
false
false
5,684
r
library(data.table) library(tidyverse) library(scales) library(extrafont) setwd("/Volumes/Macintosh HD/Users/au460892/Desktop/R-projects/DDR_project_Jan_2021/") data = fread("Data/LOF_all.tsv") all_samples = fread("Data/all_donors.tsv") features = fread("Data/COMBINED_featureCounts.tsv") colnames(features) = str_repla...
selectmap <- function(var1, var2, obs, Xpoly, Ypoly, method = "") { #################################################### # selection of a point #################################################### if (method == "point") { diff <- abs(var1 - as.numeric(Xpoly)) * (max(var2) - min(var2)) + abs(var2 - as.numer...
/R/selectmap.R
no_license
tibo31/GeoXp
R
false
false
1,181
r
selectmap <- function(var1, var2, obs, Xpoly, Ypoly, method = "") { #################################################### # selection of a point #################################################### if (method == "point") { diff <- abs(var1 - as.numeric(Xpoly)) * (max(var2) - min(var2)) + abs(var2 - as.numer...
library(snow) testFunction<-function(x) { for (i in 1:20){ temp <- rnorm(10000) a<- mean(temp) b<-median(temp) result = a * temp + b fit <- lm(result~temp) } return(1) } testparallel <- function(cores=1){ cl <- makeCluster(cores,type="SOCK") elapsed <- system.time(clusterApply(cl, 1:12...
/CommentedCode/02-Samplers/Benchmarks/SnowBenchmark.R
no_license
ghislainv/LearningBayes
R
false
false
662
r
library(snow) testFunction<-function(x) { for (i in 1:20){ temp <- rnorm(10000) a<- mean(temp) b<-median(temp) result = a * temp + b fit <- lm(result~temp) } return(1) } testparallel <- function(cores=1){ cl <- makeCluster(cores,type="SOCK") elapsed <- system.time(clusterApply(cl, 1:12...
# Downloading the data if(!file.exists('data.zip')){ url<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(url,destfile = "data.zip") } unzip("data.zip") # Reading the data NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") str(NEI...
/Exploratory Data Analysis/Assignment2/Assignment2.R
no_license
LeaLGgit/datasciencecoursera
R
false
false
4,569
r
# Downloading the data if(!file.exists('data.zip')){ url<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(url,destfile = "data.zip") } unzip("data.zip") # Reading the data NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") str(NEI...
# Lecture 7 - Introduction to Machine Learning # ============================================ # 1. Introduction # --------------- # In the previous lectures we learned about basic mechanics of R. Knowledge in # itself is almost never a goal, but the application of knowledge. In this # lecture we will provide overv...
/lectures/10 Lecture 9 - Introduction to Machine Learning (Theory).R
no_license
DrRoad/Data-science-tutorial
R
false
false
18,508
r
# Lecture 7 - Introduction to Machine Learning # ============================================ # 1. Introduction # --------------- # In the previous lectures we learned about basic mechanics of R. Knowledge in # itself is almost never a goal, but the application of knowledge. In this # lecture we will provide overv...
#Name: Anbarasan #StudentID: 1508153 complete <- function(directory, id=1:332) { ## directory is location of the csv files ## id is the montior ID number to be used ## Return a data frame of the form: ## id nobs ## 1 117 ## 2 1047 ## .. ## Where 'id' is the monitor ID number and 'nobs' is the no. of c...
/Part A/complete.R
no_license
anbarisker/datascienceunitec
R
false
false
1,166
r
#Name: Anbarasan #StudentID: 1508153 complete <- function(directory, id=1:332) { ## directory is location of the csv files ## id is the montior ID number to be used ## Return a data frame of the form: ## id nobs ## 1 117 ## 2 1047 ## .. ## Where 'id' is the monitor ID number and 'nobs' is the no. of c...
### TO MODIFY #################################################################################################################### library(raster); library(foreign); library(rgdal); library(gdalUtils) wd <- '/vol/milkun3/Valerio/FLO1K_1.1/' wd.old <- '/vol/milkun3/Valerio/FLO1K/' source(paste0(wd,'scripts/funct...
/scripts/covar.dyn.CRU.pet.R
no_license
vbarbarossa/flo1k
R
false
false
5,317
r
### TO MODIFY #################################################################################################################### library(raster); library(foreign); library(rgdal); library(gdalUtils) wd <- '/vol/milkun3/Valerio/FLO1K_1.1/' wd.old <- '/vol/milkun3/Valerio/FLO1K/' source(paste0(wd,'scripts/funct...
#!/usr/bin/env Rscript # Parse user input rm(list=ls()) args = commandArgs(trailingOnly=TRUE) input_file = args[1] output_file = paste0(input_file, ".categorized") # Load data #data = read.table("03-analyses/01-snp_duplication/capelin_47006_overmerged_loci.txt", header=T, stringsAsFactors=F) data = read.table(input_fi...
/04_day4/02-CNVs/00-scripts/00-corrections_scripts/03.1-snp_categorization_correction.R
no_license
AdamStuckert/physalia_adaptation_course
R
false
false
2,841
r
#!/usr/bin/env Rscript # Parse user input rm(list=ls()) args = commandArgs(trailingOnly=TRUE) input_file = args[1] output_file = paste0(input_file, ".categorized") # Load data #data = read.table("03-analyses/01-snp_duplication/capelin_47006_overmerged_loci.txt", header=T, stringsAsFactors=F) data = read.table(input_fi...
test_that("appDir must be an existing directory", { expect_snapshot(error = TRUE, { deployApp(1) deployApp("doesntexist") }) }) test_that("single document appDir is deprecated", { skip_on_cran() expect_snapshot(error = TRUE, { deployApp("foo.Rmd") }) }) test_that("appPrimaryDoc must exist, if su...
/tests/testthat/test-deployApp.R
no_license
rstudio/rsconnect
R
false
false
3,085
r
test_that("appDir must be an existing directory", { expect_snapshot(error = TRUE, { deployApp(1) deployApp("doesntexist") }) }) test_that("single document appDir is deprecated", { skip_on_cran() expect_snapshot(error = TRUE, { deployApp("foo.Rmd") }) }) test_that("appPrimaryDoc must exist, if su...
adapted.cmh.test <- function(freq, coverage, Ne, gen, repl, poolSize=NULL, mincov=1, MeanStart=TRUE, IntGen=FALSE, TA=FALSE, order=0, correct = FALSE, RetVal=0){ if(!RetVal==0 && !RetVal==1 && !RetVal==2){ stop("(", RetVal, ") is not a valid choice for RetVal. RetVal needs to be 0 (p-value) or 1 (test s...
/R/adapted.cmh.test.R
no_license
MartaPelizzola/ACER
R
false
false
21,396
r
adapted.cmh.test <- function(freq, coverage, Ne, gen, repl, poolSize=NULL, mincov=1, MeanStart=TRUE, IntGen=FALSE, TA=FALSE, order=0, correct = FALSE, RetVal=0){ if(!RetVal==0 && !RetVal==1 && !RetVal==2){ stop("(", RetVal, ") is not a valid choice for RetVal. RetVal needs to be 0 (p-value) or 1 (test s...
### R code from vignette source 'landscape_simulation-knitr.Rnw' ################################################### ### code chunk number 1: landscape_simulation-knitr.Rnw:23-28 ################################################### library(MetaLandSim) rl <- rland.graph(mapsize = 1000, dist_m = 60, ...
/inst/doc/landscape_simulation-knitr.R
no_license
cran/MetaLandSim
R
false
false
1,887
r
### R code from vignette source 'landscape_simulation-knitr.Rnw' ################################################### ### code chunk number 1: landscape_simulation-knitr.Rnw:23-28 ################################################### library(MetaLandSim) rl <- rland.graph(mapsize = 1000, dist_m = 60, ...
with(af1c5edee200f4273b7460be6c765d341, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';source("D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/R/Recommendations/advanced_federation_blend.r");a2Hrpdwy3col1<- as...
/80bb2a25-ac5d-47d0-abfc-b3f3811f0936/R/Temp/ayrOxjGcuzayj.R
no_license
ayanmanna8/test
R
false
false
850
r
with(af1c5edee200f4273b7460be6c765d341, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';source("D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/R/Recommendations/advanced_federation_blend.r");a2Hrpdwy3col1<- as...
batteryFile <- read.csv("C:/Users/Dharam/Downloads/microEMA/StudyFiles/Responses_uEMA/Battery/uema01_bat/battery.csv", header = TRUE, sep = ",") batteryFile$BATTERY_LEVEL <- as.numeric(batteryFile$BATTERY_LEVEL) batteryFile$START_TIME <- as.POSIXct(batteryFile$START_TIME, format = "%Y-%m-%d %H:%M:%OS") library(plot...
/readBatteryFile.R
no_license
adityaponnada/Battery-Performance-Visualization
R
false
false
537
r
batteryFile <- read.csv("C:/Users/Dharam/Downloads/microEMA/StudyFiles/Responses_uEMA/Battery/uema01_bat/battery.csv", header = TRUE, sep = ",") batteryFile$BATTERY_LEVEL <- as.numeric(batteryFile$BATTERY_LEVEL) batteryFile$START_TIME <- as.POSIXct(batteryFile$START_TIME, format = "%Y-%m-%d %H:%M:%OS") library(plot...
### Terrence D. Jorgensen ### Last updated: 4 April 2017 ### semTools functions for Nesting and Equivalence Testing ## ----------------- ## Class and Methods ## ----------------- #' Class For the Result of Nesting and Equivalence Testing #' #' This class contains the results of nesting and equivalence testing among...
/semTools/R/NET.R
no_license
jknowles/semTools
R
false
false
10,156
r
### Terrence D. Jorgensen ### Last updated: 4 April 2017 ### semTools functions for Nesting and Equivalence Testing ## ----------------- ## Class and Methods ## ----------------- #' Class For the Result of Nesting and Equivalence Testing #' #' This class contains the results of nesting and equivalence testing among...
# distribution = gl$multiple_comparison$visibility$uncorrected$distribution # sdistribution = gl$multiple_comparison$visibility$uncorrected$sdistribution # threshold = gl$multiple_comparison$visibility$slope$threshold # aggr_FUN = sum # bw = bw # alternative = "two.sided" # compute_clustermass_slopebinder <- function...
/R/compute_clustermass_slopebinder.R
no_license
jaromilfrossard/permucoSlope
R
false
false
4,412
r
# distribution = gl$multiple_comparison$visibility$uncorrected$distribution # sdistribution = gl$multiple_comparison$visibility$uncorrected$sdistribution # threshold = gl$multiple_comparison$visibility$slope$threshold # aggr_FUN = sum # bw = bw # alternative = "two.sided" # compute_clustermass_slopebinder <- function...
###Final Project library("tidyr") library("fOptions") library("dplyr") library("fGarch") library("rmgarch") ##assupmtion: ##initial date: 06/27/2019 ##one-month libor rate(annualized) on initial date was 2.40238%(Sources: Fred Economics Data) r_f = 2.40238/100 ##the sources of historical stock price data co...
/final project R code_Ruixin Zhang.R
no_license
RuixinZhangMarty/FIN-514-Final-Project--dispersion-trade
R
false
false
21,275
r
###Final Project library("tidyr") library("fOptions") library("dplyr") library("fGarch") library("rmgarch") ##assupmtion: ##initial date: 06/27/2019 ##one-month libor rate(annualized) on initial date was 2.40238%(Sources: Fred Economics Data) r_f = 2.40238/100 ##the sources of historical stock price data co...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_features.R \name{plot_features} \alias{plot_features} \alias{plot_feature_bars} \alias{plot_feature_profiles} \alias{plot_feature_distributions} \alias{plot_feature_boxes} \title{Plot features} \usage{ plot_features( object, geom = d...
/autonomics.plot/man/plot_features.Rd
no_license
metabdel/autonomics
R
false
true
2,856
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_features.R \name{plot_features} \alias{plot_features} \alias{plot_feature_bars} \alias{plot_feature_profiles} \alias{plot_feature_distributions} \alias{plot_feature_boxes} \title{Plot features} \usage{ plot_features( object, geom = d...
# Task 1f: Code that simulates Markov chain Yn for n = 300 steps. N <- 1000 # Individuals. Y0 <- c(950, 50, 0) # Starting state. # Probabilities (to begin with). gamma <- 0.10 alpha <- 0.01 beta <- function(Y){ return (0.5*Y[2]/N) } n <- 300 # Time steps. values <- matrix(data=NA,nrow=3,ncol=n) # Preallocate matr...
/Project1/onef.R
no_license
alexaoh/stochmod
R
false
false
1,249
r
# Task 1f: Code that simulates Markov chain Yn for n = 300 steps. N <- 1000 # Individuals. Y0 <- c(950, 50, 0) # Starting state. # Probabilities (to begin with). gamma <- 0.10 alpha <- 0.01 beta <- function(Y){ return (0.5*Y[2]/N) } n <- 300 # Time steps. values <- matrix(data=NA,nrow=3,ncol=n) # Preallocate matr...
# server.R library(shiny) library(datasets) # datasets Author: R Core Team and contributors worldwide library(ggplot2) ui_smooth_line <- TRUE uismoothShadedCR <- TRUE tgAll <- ToothGrowth set.seed(52315) fitAll <- lm(len~dose+supp, data=tgAll) uismoothing <- 'lm' uiloess <- FALSE uicrlevel <- .90 shinyServer(func...
/server.R
no_license
Roman-Rudensky/DataProducts
R
false
false
4,185
r
# server.R library(shiny) library(datasets) # datasets Author: R Core Team and contributors worldwide library(ggplot2) ui_smooth_line <- TRUE uismoothShadedCR <- TRUE tgAll <- ToothGrowth set.seed(52315) fitAll <- lm(len~dose+supp, data=tgAll) uismoothing <- 'lm' uiloess <- FALSE uicrlevel <- .90 shinyServer(func...
\name{subangular} \alias{subangular} \docType{data} \title{ Dataset of coordinates for a subangula-shaped skeleton unit %% ~~ data name/kind ... ~~ } \description{ Dataset of coordinates for a subangula-shaped skeleton unit %% ~~ A concise (1-5 lines) description of the dataset. ~~ } \usage{data(subangular)} \form...
/man/subangular.Rd
no_license
cran/soilprofile
R
false
false
443
rd
\name{subangular} \alias{subangular} \docType{data} \title{ Dataset of coordinates for a subangula-shaped skeleton unit %% ~~ data name/kind ... ~~ } \description{ Dataset of coordinates for a subangula-shaped skeleton unit %% ~~ A concise (1-5 lines) description of the dataset. ~~ } \usage{data(subangular)} \form...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/feature_migration.R \name{feat_migration} \alias{feat_migration} \title{Feature: Migration/Gene Flow} \usage{ feat_migration(rate, pop_from = NULL, pop_to = NULL, symmetric = FALSE, time = "0", locus_group = "all") } \arguments{ \item{rate}...
/man/feat_migration.Rd
no_license
gtonkinhill/coala
R
false
true
2,990
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/feature_migration.R \name{feat_migration} \alias{feat_migration} \title{Feature: Migration/Gene Flow} \usage{ feat_migration(rate, pop_from = NULL, pop_to = NULL, symmetric = FALSE, time = "0", locus_group = "all") } \arguments{ \item{rate}...
#' @title N days #' @description Function to count the sample size (number of days) used in the calculation of the indices #' @template templateMeasureParams #' @param dates dates #' @return An integer corresponding to the counts #' @author J. Bedia, D. San-Martin #' @export measure.nDays <- function(indexObs = NULL, ...
/R/measure.nDays.R
no_license
SantanderMetGroup/R_VALUE
R
false
false
376
r
#' @title N days #' @description Function to count the sample size (number of days) used in the calculation of the indices #' @template templateMeasureParams #' @param dates dates #' @return An integer corresponding to the counts #' @author J. Bedia, D. San-Martin #' @export measure.nDays <- function(indexObs = NULL, ...
#' @include class_AmChart.R class_AmStockChart.R NULL setClassUnion(name = "AmCharts", members = c("AmChart", "AmStockChart")) #' @title Setters for AmChart and AmStockChart. #' @description These methods can be used both for AmChart and AmStockChart. #' There are general for some first-level properties. #' @param .O...
/R/union_AmCharts.R
no_license
msabr027/rAmCharts
R
false
false
20,954
r
#' @include class_AmChart.R class_AmStockChart.R NULL setClassUnion(name = "AmCharts", members = c("AmChart", "AmStockChart")) #' @title Setters for AmChart and AmStockChart. #' @description These methods can be used both for AmChart and AmStockChart. #' There are general for some first-level properties. #' @param .O...
#' @title Push local files to a remote server #' #' @description \code{push} makes a remote copy of a new or updated local file(s) #' #' @param path Character string for path to be pushed, or path containing file to be pushed. If \code{path2} is specified, \code{path} refers only to local source path. #' @param remot...
/R/prp.R
no_license
rBatt/rbLib
R
false
false
6,942
r
#' @title Push local files to a remote server #' #' @description \code{push} makes a remote copy of a new or updated local file(s) #' #' @param path Character string for path to be pushed, or path containing file to be pushed. If \code{path2} is specified, \code{path} refers only to local source path. #' @param remot...
summary.cnapath <- function(object, ..., pdb = NULL, label = NULL, col = NULL, plot = FALSE, concise = FALSE, cutoff = 0.1, normalize = TRUE) { pa <- list(object, ...) if(!all(sapply(pa, inherits, "cnapath"))) stop("Input pa is not a 'cnapath' object") if(is.null(labe...
/bio3d/R/summary.cnapath.R
no_license
ingted/R-Examples
R
false
false
5,690
r
summary.cnapath <- function(object, ..., pdb = NULL, label = NULL, col = NULL, plot = FALSE, concise = FALSE, cutoff = 0.1, normalize = TRUE) { pa <- list(object, ...) if(!all(sapply(pa, inherits, "cnapath"))) stop("Input pa is not a 'cnapath' object") if(is.null(labe...
#reading data from source (txt file) data <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", na.strings ="?", stringsAsFactors = FALSE) #subsetting the data for desired dates (1/2/2007 - 2/2/2007) subdata <- data[(data$Date=="1/2/2007" | data$Date=="2/2/2007"),3] #opening graphics device...
/plot1.R
no_license
867-5309/ExData_Plotting1
R
false
false
527
r
#reading data from source (txt file) data <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", na.strings ="?", stringsAsFactors = FALSE) #subsetting the data for desired dates (1/2/2007 - 2/2/2007) subdata <- data[(data$Date=="1/2/2007" | data$Date=="2/2/2007"),3] #opening graphics device...
# Libreria sencilla library(R6)
/R/tests/file0010.R
no_license
Grandez/umlrcpp
R
false
false
31
r
# Libreria sencilla library(R6)
library(shiny) #Define UI for application that draws a histogram shinyUI(fluidPage( # Application title titlePanel("Hello Shiny!"), # Sidebar with a slider input for the number of bins sidebarLayout( sidebarPanel( sliderInput("bin1s", "Number of bins:", min =...
/Week11/shinytrials_week11/UI.R
no_license
Mamasquee/LetsCode-Contents
R
false
false
681
r
library(shiny) #Define UI for application that draws a histogram shinyUI(fluidPage( # Application title titlePanel("Hello Shiny!"), # Sidebar with a slider input for the number of bins sidebarLayout( sidebarPanel( sliderInput("bin1s", "Number of bins:", min =...
sql <- list( channel = odbcConnect("WSHSQLGP"), query = list()) # consumer demograhic sql$query$address <- sprintf("select distinct CMH.county, CMH.case_no, ltrim(rtrim(address.AD_ADDR1)) as Address_line1, ltrim(rtrim(address.AD_ADDR2)) as Address_line2, ltrim(rtrim(C.CL_FNAME)) as Client_First, ...
/Misc/Addresses/Code/error/1_sql_error_address.R
no_license
JamesDalrymple/CMH
R
false
false
3,638
r
sql <- list( channel = odbcConnect("WSHSQLGP"), query = list()) # consumer demograhic sql$query$address <- sprintf("select distinct CMH.county, CMH.case_no, ltrim(rtrim(address.AD_ADDR1)) as Address_line1, ltrim(rtrim(address.AD_ADDR2)) as Address_line2, ltrim(rtrim(C.CL_FNAME)) as Client_First, ...
pacman::p_load(rio, tidyverse, magrittr, sf, tmap, raster, fasterize, tictoc, future, furrr, haven, stargazer, fixest, ...
/scripts/4 dist_all.R
no_license
jvieroe/ALineInTheSand
R
false
false
4,436
r
pacman::p_load(rio, tidyverse, magrittr, sf, tmap, raster, fasterize, tictoc, future, furrr, haven, stargazer, fixest, ...
// ARM922T CP15 Register Definition File // INCLUDE "armbase32.rd" REG=cp15_cpuid 0x00000000 COPROC15 4 // c15_0_o0_0 (c15_0) : CPU ID REG=cp15_cache 0x00000040 COPROC15 4 // c15_0_o1_0 : Cache Type Register REG=cp15_cntrl 0x00000004 COPROC15 4 // c15_1_o0_0 (c15_1) : Control Register REG=cp15_ttb...
/i686-pc-linux-gnu/arm-xilinx-linux-gnueabi/mep/bin/arm/arm922t.rd
permissive
Kayuii/arm_xilinx_linux_gnueabi
R
false
false
2,255
rd
// ARM922T CP15 Register Definition File // INCLUDE "armbase32.rd" REG=cp15_cpuid 0x00000000 COPROC15 4 // c15_0_o0_0 (c15_0) : CPU ID REG=cp15_cache 0x00000040 COPROC15 4 // c15_0_o1_0 : Cache Type Register REG=cp15_cntrl 0x00000004 COPROC15 4 // c15_1_o0_0 (c15_1) : Control Register REG=cp15_ttb...
#some functions getNonHAEIdx_iter <- function(iter, trainIdxIterIDNonHAE){ nonHAE_idx <- unlist(lapply(trainIdxIterIDNonHAE, function(x){ idx_iter <- x[x[, 2]==iter, 1] return(idx_iter) })) #9860 return(nonHAE_idx) } createCurve <- function(resp, pred, recall_tar){ predob...
/codess/SVM/before_Jan01/RBF/svm_subFunc_Dec03_normByRow_rbf.R
no_license
jzhao0802/ShireHAE
R
false
false
36,381
r
#some functions getNonHAEIdx_iter <- function(iter, trainIdxIterIDNonHAE){ nonHAE_idx <- unlist(lapply(trainIdxIterIDNonHAE, function(x){ idx_iter <- x[x[, 2]==iter, 1] return(idx_iter) })) #9860 return(nonHAE_idx) } createCurve <- function(resp, pred, recall_tar){ predob...
\name{fitCBB} \alias{fitCBB} %- Also NEED an '\alias' for EACH other topic documented here. \title{fitCBB} \description{Fitting an specific generalized archimedean copula } \usage{ fitCBB(x, y, theta0, delta0, copulamodel = c("pCBB1", "pCBB2", "pCBB3", "pCBB4", "pCBB5", "pCBB6", "pCBB7", "pCMax", "pCMin"), m, step, d...
/man/fitCBB.Rd
no_license
cran/fgac
R
false
false
4,597
rd
\name{fitCBB} \alias{fitCBB} %- Also NEED an '\alias' for EACH other topic documented here. \title{fitCBB} \description{Fitting an specific generalized archimedean copula } \usage{ fitCBB(x, y, theta0, delta0, copulamodel = c("pCBB1", "pCBB2", "pCBB3", "pCBB4", "pCBB5", "pCBB6", "pCBB7", "pCMax", "pCMin"), m, step, d...
#' naniar #' #' naniar is a package to make it easier to summarise and handle missing values #' in R. It strives to do this in a way that is as consistent with tidyverse #' principles as possible. The work is fully discussed at Tierney & Cook (2023) #' <doi:10.18637/jss.v105.i07>. #' #' @name naniar #' @docType packag...
/R/naniar-package.R
no_license
cran/naniar
R
false
false
2,138
r
#' naniar #' #' naniar is a package to make it easier to summarise and handle missing values #' in R. It strives to do this in a way that is as consistent with tidyverse #' principles as possible. The work is fully discussed at Tierney & Cook (2023) #' <doi:10.18637/jss.v105.i07>. #' #' @name naniar #' @docType packag...
n1 <- 1-exp(-5.2/7) n2 <- -log(0.89)*7 n3 <- 1-exp(-8.7/7)-(1-exp(-6.7/7)) n4 <- function(u) {if(u>0) {(2/7)*u*exp(-(u^2)/7)} else 0} print(n1) print(n2) print(n3) print(n4(1))
/R/2019-05-02 Statistica exercise.r
no_license
MarcoDiFrancesco/LittleProjects
R
false
false
177
r
n1 <- 1-exp(-5.2/7) n2 <- -log(0.89)*7 n3 <- 1-exp(-8.7/7)-(1-exp(-6.7/7)) n4 <- function(u) {if(u>0) {(2/7)*u*exp(-(u^2)/7)} else 0} print(n1) print(n2) print(n3) print(n4(1))
# MIT License # # Copyright (c) 2018 Diviyan Kalainathan # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify,...
/cam/cam_with_score.R
permissive
jcai-sc/dcdi
R
false
false
25,477
r
# MIT License # # Copyright (c) 2018 Diviyan Kalainathan # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify,...
require(shiny) require(shinyjs) require(r4ss) require(plyr) require(dplyr) require(ggplot2) require(reshape2) require(data.table) require(tidyr) require(rlist) require(viridis) require(sss) require(shinyWidgets) require(shinyFiles) require(HandyCode) require(nwfscDiag) require(shinybusy) require(truncnorm) require(flex...
/.history/server_20230517153602.r
no_license
shcaba/SS-DL-tool
R
false
false
237,705
r
require(shiny) require(shinyjs) require(r4ss) require(plyr) require(dplyr) require(ggplot2) require(reshape2) require(data.table) require(tidyr) require(rlist) require(viridis) require(sss) require(shinyWidgets) require(shinyFiles) require(HandyCode) require(nwfscDiag) require(shinybusy) require(truncnorm) require(flex...
#' Colour key #' #' Display a colour key based on the most recent trapping records for a given #' grid and year. #' #' @param con Connection to KRSP database #' @param grid character; grid to display colour key for. #' @param year integer; year to display colour key for. Defaults to current year. #' #' @return A data f...
/R/krsp-colours.r
no_license
KluaneRedSquirrelProject/krsp
R
false
false
5,752
r
#' Colour key #' #' Display a colour key based on the most recent trapping records for a given #' grid and year. #' #' @param con Connection to KRSP database #' @param grid character; grid to display colour key for. #' @param year integer; year to display colour key for. Defaults to current year. #' #' @return A data f...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fitequation.R \name{fitequation} \alias{fitequation} \title{fit equation} \usage{ fitequation(input) } \arguments{ \item{input}{(-) input data as dataframe} } \value{ the equation of the fit as character } \description{ this function retrieve...
/man/fitequation.Rd
no_license
yoavbendor1/LakeN
R
false
true
380
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fitequation.R \name{fitequation} \alias{fitequation} \title{fit equation} \usage{ fitequation(input) } \arguments{ \item{input}{(-) input data as dataframe} } \value{ the equation of the fit as character } \description{ this function retrieve...