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
############################# FIFA 2021 Players value Prediction ######################## ######### Introduction ####### #Required Packages options(warn=-1) if(!require(tidyverse)) install.packages("tidyverse", repos = "http://cran.us.r-project.org") if(!require(readxl)) install.packages("readxl", repos = "http://cra...
/FIFA 2021 Player Ratings_Sedrati.R
no_license
Bintess-Anass/FIFA-2021-Player-Ratings
R
false
false
22,006
r
############################# FIFA 2021 Players value Prediction ######################## ######### Introduction ####### #Required Packages options(warn=-1) if(!require(tidyverse)) install.packages("tidyverse", repos = "http://cran.us.r-project.org") if(!require(readxl)) install.packages("readxl", repos = "http://cra...
rm(list = ls()) source("W_preamble_BT.R") load("W_data.Rdata") # Correct time Span #### fin <- window(as.ts(finmarketsM_adj), start = c(1999, 1), end = c(2019, 9), freq = 12) labor <- window(as.ts(laborM_adj), start = c(1999, 1), end = c(2019, 9), freq = 12) prices <- window(as.ts(pricesM...
/Working Files/W_CODE_1_emAlgorithm_25Fact.R
no_license
tjruesch/monetarypolicythesis
R
false
false
5,192
r
rm(list = ls()) source("W_preamble_BT.R") load("W_data.Rdata") # Correct time Span #### fin <- window(as.ts(finmarketsM_adj), start = c(1999, 1), end = c(2019, 9), freq = 12) labor <- window(as.ts(laborM_adj), start = c(1999, 1), end = c(2019, 9), freq = 12) prices <- window(as.ts(pricesM...
#ggplot #pass these 4 values #data -requires data for which graph should be creates #aesthethics:- size,shap,x,y,color #coordinates:- will be optional field which would be use to create cartien,polar,maps #Geometry:- point,line,bar,pie,lag #response come to y axis and first arg of plot is always response libra...
/ggplot2.R
no_license
VinayRana5674/R-Programming
R
false
false
781
r
#ggplot #pass these 4 values #data -requires data for which graph should be creates #aesthethics:- size,shap,x,y,color #coordinates:- will be optional field which would be use to create cartien,polar,maps #Geometry:- point,line,bar,pie,lag #response come to y axis and first arg of plot is always response libra...
# get the occurrence image data. Could probably be turned into a download getImageData = function(friendlyName = "Frogs",friendlyKey = "952",Step=10,maxPages=2) { totalCount = GET("http://api.gbif.org/v1/occurrence/search?media_type=StillImage&taxon_key=" %+% friendlyKey) %>% content() %>% pluck("count") ...
/R/gbifimagedata/R/getImageData.R
permissive
gbif/machine-vision
R
false
false
2,150
r
# get the occurrence image data. Could probably be turned into a download getImageData = function(friendlyName = "Frogs",friendlyKey = "952",Step=10,maxPages=2) { totalCount = GET("http://api.gbif.org/v1/occurrence/search?media_type=StillImage&taxon_key=" %+% friendlyKey) %>% content() %>% pluck("count") ...
wptstat <- function(XYP, XU, YU, nperm) { N3 <- dim(XYP)[1] N1 <- dim(XU)[1] N2 <- dim(YU)[1] N <- N1 + N2 + N3 XP <- XYP[, 1] YP <- XYP[, 2] ## evaluate the weighted test variancemlp <- var(XP - YP) if (variancemlp == 0) { variancemlp <- 0.01 } a <- 2 * N3 / (N + N3...
/R/WPT-statistics.R
no_license
lubnaamro/MissPair
R
false
false
1,475
r
wptstat <- function(XYP, XU, YU, nperm) { N3 <- dim(XYP)[1] N1 <- dim(XU)[1] N2 <- dim(YU)[1] N <- N1 + N2 + N3 XP <- XYP[, 1] YP <- XYP[, 2] ## evaluate the weighted test variancemlp <- var(XP - YP) if (variancemlp == 0) { variancemlp <- 0.01 } a <- 2 * N3 / (N + N3...
library(gpuR) context("vclMatrix Correlations") # set seed set.seed(123) ORDER_X <- 4 ORDER_Y <- 5 # Base R objects A <- matrix(rnorm(ORDER_X*ORDER_Y), nrow=ORDER_X, ncol=ORDER_Y) C <- cov(A) test_that("vclMatrix Single Precision Pearson Covariance", { has_gpu_skip() fgpuX <- vclMatrix(A, type="float...
/inst/testWithGPU/testthat/test_vclMatrix_cov.R
no_license
bryant1410/gpuR
R
false
false
853
r
library(gpuR) context("vclMatrix Correlations") # set seed set.seed(123) ORDER_X <- 4 ORDER_Y <- 5 # Base R objects A <- matrix(rnorm(ORDER_X*ORDER_Y), nrow=ORDER_X, ncol=ORDER_Y) C <- cov(A) test_that("vclMatrix Single Precision Pearson Covariance", { has_gpu_skip() fgpuX <- vclMatrix(A, type="float...
setwd("/Users/matteo/Desktop/") library("Gviz") library("DESeq2") options(ucscChromosomeNames=FALSE) #make genomic ranges #to mach gene physical position with fold change in gene expression value #Hmel2.5 genome assembly/annotation annotation<-read.table("gene_info.txt",header=TRUE) annotation <- annotation[order(ann...
/Supporting_figure_2_mapping_to_melpomene:cydno_genomes.R
no_license
SpeciationBehaviour/neural_genes_heliconius
R
false
false
13,424
r
setwd("/Users/matteo/Desktop/") library("Gviz") library("DESeq2") options(ucscChromosomeNames=FALSE) #make genomic ranges #to mach gene physical position with fold change in gene expression value #Hmel2.5 genome assembly/annotation annotation<-read.table("gene_info.txt",header=TRUE) annotation <- annotation[order(ann...
hello <- function(){ print(" Hello World Xfer Test") }
/Subdirectory_Test_Folder/hello_world.R
no_license
pbinns/test_repo2
R
false
false
56
r
hello <- function(){ print(" Hello World Xfer Test") }
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(url, destfile="electric.zip",method="libcurl") unzip("electric.zip") install.packages("sqldf") library(sqldf) df<- read.csv.sql("household_power_consumption.txt", sql = 'select * from file where Date in( "1/2/2...
/plot4.R
no_license
soaringeagle/ExData_Plotting1
R
false
false
1,412
r
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(url, destfile="electric.zip",method="libcurl") unzip("electric.zip") install.packages("sqldf") library(sqldf) df<- read.csv.sql("household_power_consumption.txt", sql = 'select * from file where Date in( "1/2/2...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/network_utils.R \name{plot_modules} \alias{plot_modules} \title{Loop through each of the modules and connect the adjacent ones which is only allow.gap away from each other} \usage{ plot_modules(core_sub_jaccard_dist, final_genelist, allow.gap...
/man/plot_modules.Rd
no_license
ishspsy/sake
R
false
true
740
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/network_utils.R \name{plot_modules} \alias{plot_modules} \title{Loop through each of the modules and connect the adjacent ones which is only allow.gap away from each other} \usage{ plot_modules(core_sub_jaccard_dist, final_genelist, allow.gap...
library(shiny) shinyServer(function(input,output){ output$plot1 <- renderPlot({ set.seed(2016-05-25) #get the number of points from numeric input number_of_points <- input$numeric minX <- input$sliderX[1] maxX <- input$sliderX[2] minY <- input$sliderY[1] ...
/PlotRandomNumbers/server.R
no_license
NizarMazlan/myShinyApp
R
false
false
745
r
library(shiny) shinyServer(function(input,output){ output$plot1 <- renderPlot({ set.seed(2016-05-25) #get the number of points from numeric input number_of_points <- input$numeric minX <- input$sliderX[1] maxX <- input$sliderX[2] minY <- input$sliderY[1] ...
context("seqCompareAsInput calculation") library(gscVisualizer) test_that("function running correctly", { seqInfo <- seqCompareAsInput(ID = "hsa-let-7b", ref = "CGGGGUGAGGUAGUAGGUUGUGUGGUUUCAGGGCAGUGAUGU UGCCCCUCGGAAGAUAACUAUACAACCUACUGCCUUCCCUG", ...
/tests/testthat/test-test-seqCompareAsInput.R
permissive
Deemolotus/gscVisualizer
R
false
false
2,888
r
context("seqCompareAsInput calculation") library(gscVisualizer) test_that("function running correctly", { seqInfo <- seqCompareAsInput(ID = "hsa-let-7b", ref = "CGGGGUGAGGUAGUAGGUUGUGUGGUUUCAGGGCAGUGAUGU UGCCCCUCGGAAGAUAACUAUACAACCUACUGCCUUCCCUG", ...
#' 加载单个库文件 #' #' @param lib 文件名 #' #' @return 返回值 #' #' @examples singleLoadLib('reshape2'); singleLoadLib <- function(lib){ if(!require(lib,character.only = TRUE)){ install.packages(lib); } #require(lib,character.only = T); library(lib,character.only = T); } #' 批量加载库文件 #' #' @param libs 所有的库文件名 #' #' @re...
/R/libraryEx.R
no_license
takewiki/tstk
R
false
false
574
r
#' 加载单个库文件 #' #' @param lib 文件名 #' #' @return 返回值 #' #' @examples singleLoadLib('reshape2'); singleLoadLib <- function(lib){ if(!require(lib,character.only = TRUE)){ install.packages(lib); } #require(lib,character.only = T); library(lib,character.only = T); } #' 批量加载库文件 #' #' @param libs 所有的库文件名 #' #' @re...
comparison_growth_to_transition<-function(Agrowth,Atransition,PlotFileName,PlotTitle){ #################################################################################### # fuction calculates time_cut_of where Agrowth/Atranstion=1 # i.e the impact on two channeal to Atotal growthing became the same # che...
/Model_with_cellulose_profile/Deepening_pit/11.12.2019_calculation_WaWs_scan_Fscan_D0.1/Data_analysis/comparison_growth_to_transition.R
no_license
t-fenestra/Diffusion_Absorption_model
R
false
false
1,534
r
comparison_growth_to_transition<-function(Agrowth,Atransition,PlotFileName,PlotTitle){ #################################################################################### # fuction calculates time_cut_of where Agrowth/Atranstion=1 # i.e the impact on two channeal to Atotal growthing became the same # che...
# Author: Babak Naimi, naimi.b@gmail.com # Date : August 2014 # Version 1.0 # Licence GPL v3 setMethod ('show' , 'Entrogram', function(object) { cat('class :' , class(object), '\n') cat('---------------------------------------\n') cat('Width...
/R/show.R
no_license
babaknaimi/elsa
R
false
false
827
r
# Author: Babak Naimi, naimi.b@gmail.com # Date : August 2014 # Version 1.0 # Licence GPL v3 setMethod ('show' , 'Entrogram', function(object) { cat('class :' , class(object), '\n') cat('---------------------------------------\n') cat('Width...
#!/home/statsadmin/R/bin/Rscript source('Step_0_init.R') args <- commandArgs() idx <- as.numeric(args[length(args)]) .libPaths('ysidi/lib') ################# ### CCA #### ################# dt.miss <- readRDS(file = sprintf('dtwaldxm30mar415_%d.rds',idx)) cca.anal <- cca.wald.anal(dt.miss)%>% mutate(type = '...
/Step3_2_cca_miss/wald/step_3_2_type_waldxm30_missing_mar4_percent_15.R
no_license
yuliasidi/Binomial_PE_Progs
R
false
false
429
r
#!/home/statsadmin/R/bin/Rscript source('Step_0_init.R') args <- commandArgs() idx <- as.numeric(args[length(args)]) .libPaths('ysidi/lib') ################# ### CCA #### ################# dt.miss <- readRDS(file = sprintf('dtwaldxm30mar415_%d.rds',idx)) cca.anal <- cca.wald.anal(dt.miss)%>% mutate(type = '...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hhh4lag_oneStepAhead.R \name{oneStepAhead_hhh4lag} \alias{oneStepAhead_hhh4lag} \title{Predictive Model Assessment for hhh4_lag Models} \usage{ oneStepAhead_hhh4lag( result, tp, type = c("rolling", "first", "final"), refit_par_lag = F...
/man/oneStepAhead_hhh4lag.Rd
no_license
jbracher/hhh4addon
R
false
true
796
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hhh4lag_oneStepAhead.R \name{oneStepAhead_hhh4lag} \alias{oneStepAhead_hhh4lag} \title{Predictive Model Assessment for hhh4_lag Models} \usage{ oneStepAhead_hhh4lag( result, tp, type = c("rolling", "first", "final"), refit_par_lag = F...
##runs rfPermute on the Chemerin dataset setwd("/home/shared/hackathon/tables_and_metadata/Chemerin") mean_decrease_accuracy<- rfP_test("Chemerin_ASVs_filt_subset.tsv", "Chemerin_metadata.txt", "Facility") setwd("/home/jocelyn/results/rfPermute") write.table(mean_decrease_accuracy, "Chemerin_rfP.txt", quote = FALSE, co...
/rfPermute_script.R
no_license
jnmacdonald/differential-abundance-analysis
R
false
false
2,232
r
##runs rfPermute on the Chemerin dataset setwd("/home/shared/hackathon/tables_and_metadata/Chemerin") mean_decrease_accuracy<- rfP_test("Chemerin_ASVs_filt_subset.tsv", "Chemerin_metadata.txt", "Facility") setwd("/home/jocelyn/results/rfPermute") write.table(mean_decrease_accuracy, "Chemerin_rfP.txt", quote = FALSE, co...
#' @include FetAnnClass.R #' @title degree2compeak #' @name degree2compeak #' @rdname degree2compeak-methods #' @export degree2compeak setGeneric(name = 'degree2compeak', def = function(degree.obj, compeakF, inputconfig) { standardGeneric("degree2compeak") } ) setMethod(f = "degree2compeak", signature = c("d...
/R/FetAnnMethods.R
no_license
ericaenjoy3/FetAnn
R
false
false
4,135
r
#' @include FetAnnClass.R #' @title degree2compeak #' @name degree2compeak #' @rdname degree2compeak-methods #' @export degree2compeak setGeneric(name = 'degree2compeak', def = function(degree.obj, compeakF, inputconfig) { standardGeneric("degree2compeak") } ) setMethod(f = "degree2compeak", signature = c("d...
library(rmarkdown) render("vignettes/jug.Rmd", # output_format = "html_document", # output_file = "index.html", # output_dir = getwd(), html_document(toc=TRUE, theme="flatly")) file.copy("vignettes/jug.html", "../j...
/var/built_readme.R
no_license
mmilleruva/jug
R
false
false
604
r
library(rmarkdown) render("vignettes/jug.Rmd", # output_format = "html_document", # output_file = "index.html", # output_dir = getwd(), html_document(toc=TRUE, theme="flatly")) file.copy("vignettes/jug.html", "../j...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rbin-quantile.R \name{rbin_quantiles} \alias{rbin_quantiles} \alias{plot.rbin_quantiles} \title{Quantile binning} \usage{ rbin_quantiles( data = NULL, response = NULL, predictor = NULL, bins = 10, include_na = TRUE ) \method{plot}{...
/man/rbin_quantiles.Rd
permissive
rsquaredacademy/rbin
R
false
true
993
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rbin-quantile.R \name{rbin_quantiles} \alias{rbin_quantiles} \alias{plot.rbin_quantiles} \title{Quantile binning} \usage{ rbin_quantiles( data = NULL, response = NULL, predictor = NULL, bins = 10, include_na = TRUE ) \method{plot}{...
set.seed(1) #definição de semente Q = runif(1000,8000,12000) #distribuição uniforme: tamanho amostra, mínimo, máximo hist(Q,nclass=10) #histograma: variável, número de classes~ CV = rnorm(1000,7,2) CV = ifelse(CV<=1,1,CV) CV = ifelse(CV>=10,10,CV) hist(CV,nclass=10) P = rnorm(1000,10,2) P = ifelse(P<=3.5,3.5,P) hist(P...
/exemplo_simulacao.R
no_license
ralbino/ead-5917
R
false
false
485
r
set.seed(1) #definição de semente Q = runif(1000,8000,12000) #distribuição uniforme: tamanho amostra, mínimo, máximo hist(Q,nclass=10) #histograma: variável, número de classes~ CV = rnorm(1000,7,2) CV = ifelse(CV<=1,1,CV) CV = ifelse(CV>=10,10,CV) hist(CV,nclass=10) P = rnorm(1000,10,2) P = ifelse(P<=3.5,3.5,P) hist(P...
# @file Fit.R # # Copyright 2019 Observational Health Data Sciences and Informatics # # This file is part of CohortMethod # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.ap...
/ohdsi/PatientLevelPrediction_v3.0.8/R/Fit.R
permissive
CHUNGGAK/research
R
false
false
10,401
r
# @file Fit.R # # Copyright 2019 Observational Health Data Sciences and Informatics # # This file is part of CohortMethod # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.ap...
library(shiny) library(shinythemes) library("rjags") library("car") library(shiny) library(shinythemes) library(DT) library(ggplot2) library(car) library(nortest) library(tseries) library(RcmdrMisc) library(lmtest) data("Leinhardt") Leinhardt$loginfant = log(Leinhardt$infant) Leinhardt$logincome = log(Le...
/template.R
no_license
uttasarga9067/Hierarchical-Modelling-Application
R
false
false
4,506
r
library(shiny) library(shinythemes) library("rjags") library("car") library(shiny) library(shinythemes) library(DT) library(ggplot2) library(car) library(nortest) library(tseries) library(RcmdrMisc) library(lmtest) data("Leinhardt") Leinhardt$loginfant = log(Leinhardt$infant) Leinhardt$logincome = log(Le...
#' Produces the reference of the feuille corresponding to the point #' #' @param banRmatrix matrix given out by banR #' @param cadastre_sheet_feuilles corresponding cadaster_sheet in dataframe form #' #' @return integer #' @import sf #' @export #' #' @examples \dontrun{ #' point_feuille(geocode_address("youradrress"),f...
/R/point_feuille.R
no_license
hamzasen/artemis
R
false
false
1,205
r
#' Produces the reference of the feuille corresponding to the point #' #' @param banRmatrix matrix given out by banR #' @param cadastre_sheet_feuilles corresponding cadaster_sheet in dataframe form #' #' @return integer #' @import sf #' @export #' #' @examples \dontrun{ #' point_feuille(geocode_address("youradrress"),f...
/MacOSX10.8.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/HILittleArrows.r
no_license
alexey-lysiuk/macos-sdk
R
false
false
706
r
createIntermediateTables <- function(schema_dev, table_census_pop, table_households_pop, table_geo_sec, table_geo_loc, table_geo_secdis){ drv <- dbDriver("PostgreSQL") con <- dbConnect(drv, dbname = dbname, host = host, port = port, user = user, password = pwd) query...
/sql_r/ec/demography/createIntermediateTables.R
no_license
Telefonica/rural-planner
R
false
false
1,924
r
createIntermediateTables <- function(schema_dev, table_census_pop, table_households_pop, table_geo_sec, table_geo_loc, table_geo_secdis){ drv <- dbDriver("PostgreSQL") con <- dbConnect(drv, dbname = dbname, host = host, port = port, user = user, password = pwd) query...
########################################################### # ---------------- Aplicación Shiny --------------------- # ########################################################### # Desde RStudio, pulsa "Run app" arriba a la derecha o ejecuta el script entero. # El working directory debe ser la base de CongestionHosp...
/CongestionHospitalariaApp/app.R
no_license
Pablo-Aja-Macaya/CongestionHospitalaria
R
false
false
78,942
r
########################################################### # ---------------- Aplicación Shiny --------------------- # ########################################################### # Desde RStudio, pulsa "Run app" arriba a la derecha o ejecuta el script entero. # El working directory debe ser la base de CongestionHosp...
# Load packages ----------------------------------------------------------- PKGS <- c( "undi", "assertthat", "forcats", "lubridate", "lazyeval", "tidyverse", "furrr" ) suppressMessages( PKGS <- sapply(PKGS, library, character.only = TRUE, logical.return = TRUE) ) if (any(PKGS == FALSE)) { print(PKGS...
/src/pkgs.R
no_license
stanford-policylab/risk-adjusted-regression
R
false
false
426
r
# Load packages ----------------------------------------------------------- PKGS <- c( "undi", "assertthat", "forcats", "lubridate", "lazyeval", "tidyverse", "furrr" ) suppressMessages( PKGS <- sapply(PKGS, library, character.only = TRUE, logical.return = TRUE) ) if (any(PKGS == FALSE)) { print(PKGS...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/_data_prep_old.R, R/data_prep.R \name{text_to_seq} \alias{text_to_seq} \alias{text_to_seq} \title{text_to_seq} \usage{ text_to_seq(container) text_to_seq(container) } \arguments{ \item{container}{...} \item{text}{...} \item{container}{...}...
/man/text_to_seq.Rd
no_license
systats/tidyMBO
R
false
true
449
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/_data_prep_old.R, R/data_prep.R \name{text_to_seq} \alias{text_to_seq} \alias{text_to_seq} \title{text_to_seq} \usage{ text_to_seq(container) text_to_seq(container) } \arguments{ \item{container}{...} \item{text}{...} \item{container}{...}...
# slice the shape on the highest dimension mx.model.slice.shape <- function(shape, nsplit) { ndim <- length(shape) batchsize <- shape[[ndim]] step <- as.integer((batchsize + nsplit - 1) / nsplit) lapply(0:(nsplit - 1), function(k) { begin = min(k * step, batchsize) end = min((k + 1) * step, batchsize) ...
/R-package/R/model.R
permissive
withinnoitatpmet/mxnetsource
R
false
false
21,248
r
# slice the shape on the highest dimension mx.model.slice.shape <- function(shape, nsplit) { ndim <- length(shape) batchsize <- shape[[ndim]] step <- as.integer((batchsize + nsplit - 1) / nsplit) lapply(0:(nsplit - 1), function(k) { begin = min(k * step, batchsize) end = min((k + 1) * step, batchsize) ...
#' Forces an update to a player's score without simulating a throw. #' #' This is useful if you want to stage a specific scenario to simulate. #' #' @param gm a cricket game object initialized by set_cricket_game #' @param player_id either 1 or 2 to signify which shooter's score will be updated #' @param bed_val vector...
/R/force_score_cricket.R
no_license
chringer-git/cricketmodel
R
false
false
1,744
r
#' Forces an update to a player's score without simulating a throw. #' #' This is useful if you want to stage a specific scenario to simulate. #' #' @param gm a cricket game object initialized by set_cricket_game #' @param player_id either 1 or 2 to signify which shooter's score will be updated #' @param bed_val vector...
library(dataRetrieval) library(tidyverse) #------------------------------------------------------------------------------ gages.df <- data.table::fread("misc/potomac_usgs_gages.csv") %>% mutate(gage = paste0("0", gage)) gages.vec <- unique(gages.df$gage) #-------------------------------------------------------------...
/misc/nwis_param_summary.R
no_license
zsmith27/pull_flow
R
false
false
1,609
r
library(dataRetrieval) library(tidyverse) #------------------------------------------------------------------------------ gages.df <- data.table::fread("misc/potomac_usgs_gages.csv") %>% mutate(gage = paste0("0", gage)) gages.vec <- unique(gages.df$gage) #-------------------------------------------------------------...
testlist <- list(Beta = 0, CVLinf = 86341236051411296, FM = 1.53632495265886e-311, L50 = 0, L95 = 0, LenBins = c(2.0975686864138e+162, -2.68131210337361e-144, -1.11215735981244e+199, -4.48649879577108e+143, 1.6611802228813e+218, 900371.947279558, 1.07063092954708e+238, 2.88003257377011e-142, 1.29554...
/DLMtool/inst/testfiles/LBSPRgen/AFL_LBSPRgen/LBSPRgen_valgrind_files/1615832591-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
2,048
r
testlist <- list(Beta = 0, CVLinf = 86341236051411296, FM = 1.53632495265886e-311, L50 = 0, L95 = 0, LenBins = c(2.0975686864138e+162, -2.68131210337361e-144, -1.11215735981244e+199, -4.48649879577108e+143, 1.6611802228813e+218, 900371.947279558, 1.07063092954708e+238, 2.88003257377011e-142, 1.29554...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/databasemigrationservice_operations.R \name{databasemigrationservice_delete_certificate} \alias{databasemigrationservice_delete_certificate} \title{Deletes the specified certificate} \usage{ databasemigrationservice_delete_certificate(Certifi...
/paws/man/databasemigrationservice_delete_certificate.Rd
permissive
johnnytommy/paws
R
false
true
780
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/databasemigrationservice_operations.R \name{databasemigrationservice_delete_certificate} \alias{databasemigrationservice_delete_certificate} \title{Deletes the specified certificate} \usage{ databasemigrationservice_delete_certificate(Certifi...
library(Quandl); library(rstan); library(dplyr); library(reshape2); library(stringr) cc <- function(x) x[complete.cases(x),] key <- read.csv("~/Documents/quandl_key.csv", header = F)[1] key <- key[1,1] %>% as.character() Quandl.api_key(key) aapl <- Quandl("YAHOO/AAPL", collapse = "weekly") ibm <- Quandl("YAHOO/IBM",...
/run_cccgarch.R
no_license
Allisterh/tvp_bvar-Thesis_work
R
false
false
2,651
r
library(Quandl); library(rstan); library(dplyr); library(reshape2); library(stringr) cc <- function(x) x[complete.cases(x),] key <- read.csv("~/Documents/quandl_key.csv", header = F)[1] key <- key[1,1] %>% as.character() Quandl.api_key(key) aapl <- Quandl("YAHOO/AAPL", collapse = "weekly") ibm <- Quandl("YAHOO/IBM",...
# Gains gains <- read.csv("gainz.csv") library(ggplot2) gainsplot <- ggplot(gains, aes(x = Days.Elapsed, y = Weight)) gainsplot <- gainsplot + geom_line(colour = "red", size = 1) + geom_smooth(method = "auto", se = F, colour = "green") + geom_smooth(method = "lm", se = F) gainsplot <- gainsplot + geom_hline(yi...
/Gains.R
no_license
e3vanz7/gains
R
false
false
2,528
r
# Gains gains <- read.csv("gainz.csv") library(ggplot2) gainsplot <- ggplot(gains, aes(x = Days.Elapsed, y = Weight)) gainsplot <- gainsplot + geom_line(colour = "red", size = 1) + geom_smooth(method = "auto", se = F, colour = "green") + geom_smooth(method = "lm", se = F) gainsplot <- gainsplot + geom_hline(yi...
# Q.7 # 7-1 mpg_n = mpg %>% mutate(total_y = cty + hwy) # 7-2 mpg_n = mpg_n %>% mutate(mean_y = total_y/2) # 7-3 mpg_n %>% arrange(desc(mean_y)) %>% head(3) # 7-4 mpg %>% mutate(total_y = cty + hwy) %>% mutate(mean_y = total_y/2) %>% arrange(desc(mean_y)) %>% head(3) # Q.8 # 8-1 mpg %>% gr...
/R_training/실습제출/박우찬/191105/dplyr_lab3.R
no_license
BaeYS-marketing/R
R
false
false
2,243
r
# Q.7 # 7-1 mpg_n = mpg %>% mutate(total_y = cty + hwy) # 7-2 mpg_n = mpg_n %>% mutate(mean_y = total_y/2) # 7-3 mpg_n %>% arrange(desc(mean_y)) %>% head(3) # 7-4 mpg %>% mutate(total_y = cty + hwy) %>% mutate(mean_y = total_y/2) %>% arrange(desc(mean_y)) %>% head(3) # Q.8 # 8-1 mpg %>% gr...
context("Test simple") setup_files <- function() { test_dir <- tempfile("test_rmdpartials") stopifnot(dir.create(test_dir)) setwd(test_dir) test_dir <- getwd() # dumb trick to get a proper path without double slashes test_dir } test_that("enlarge_plot", { test_dir <- setup_files() on.exit({ unlink(...
/tests/testthat/test_included_examples.R
no_license
rubenarslan/rmdpartials
R
false
false
1,228
r
context("Test simple") setup_files <- function() { test_dir <- tempfile("test_rmdpartials") stopifnot(dir.create(test_dir)) setwd(test_dir) test_dir <- getwd() # dumb trick to get a proper path without double slashes test_dir } test_that("enlarge_plot", { test_dir <- setup_files() on.exit({ unlink(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/create.R \name{create_Stations} \alias{create_Stations} \title{Create Stations} \usage{ create_Stations( Poly, Bathy, Depths, N = NA, Nauto = NA, dist = NA, Buf = 1000, ShowProgress = FALSE ) } \arguments{ \i...
/man/create_Stations.Rd
no_license
cran/CCAMLRGIS
R
false
true
3,385
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/create.R \name{create_Stations} \alias{create_Stations} \title{Create Stations} \usage{ create_Stations( Poly, Bathy, Depths, N = NA, Nauto = NA, dist = NA, Buf = 1000, ShowProgress = FALSE ) } \arguments{ \i...
## ----global_options, include = FALSE------------------------------------------------------------------- try(source("../../.Rprofile")) ## ------------------------------------------------------------------------------------------------------ # Sting data inputs ls_st_abc <- c('a', 'b', 'c') ls_st_efg <- c('e', 'f', ...
/amto/tibble/htmlpdfr/fs_tib_string.R
permissive
FanWangEcon/R4Econ
R
false
false
1,158
r
## ----global_options, include = FALSE------------------------------------------------------------------- try(source("../../.Rprofile")) ## ------------------------------------------------------------------------------------------------------ # Sting data inputs ls_st_abc <- c('a', 'b', 'c') ls_st_efg <- c('e', 'f', ...
## plot2.R library(dplyr) ## Read the data inputdata = read.table("household_power_consumption.txt", stringsAsFactors = FALSE, na.strings = "?", sep = ";", header = TRUE) inputdata$Date = as.Date(inputdata$Date, format = "%d/%m/%Y") ## Subsetting the data to 2007-02-01 and 2007-02-02 subset.data = subset(inputdata, ...
/plot2.R
no_license
hungenlai90/ExData_Plotting1
R
false
false
810
r
## plot2.R library(dplyr) ## Read the data inputdata = read.table("household_power_consumption.txt", stringsAsFactors = FALSE, na.strings = "?", sep = ";", header = TRUE) inputdata$Date = as.Date(inputdata$Date, format = "%d/%m/%Y") ## Subsetting the data to 2007-02-01 and 2007-02-02 subset.data = subset(inputdata, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/workerfunctions.R \name{.is} \alias{.is} \title{Check if input is a raster and convert to matrix if it is} \usage{ .is(r) } \description{ Check if input is a raster and convert to matrix if it is }
/man/dot-is.Rd
no_license
vilnat/microclimf
R
false
true
276
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/workerfunctions.R \name{.is} \alias{.is} \title{Check if input is a raster and convert to matrix if it is} \usage{ .is(r) } \description{ Check if input is a raster and convert to matrix if it is }
library(data.table) library(lubridate) ## Calculte the rough memory needed to load the data rough_memory <- 2075259 * 9 * 8 ## read the data data <- fread("household_power_consumption.txt", skip = "1/2/2007", nrows = 2880) ## Cheack if the data right head(data) tail(data) ## Give names to column names(data) <- c("D...
/plot1.R
no_license
catlaughing/ExData_Plotting1
R
false
false
757
r
library(data.table) library(lubridate) ## Calculte the rough memory needed to load the data rough_memory <- 2075259 * 9 * 8 ## read the data data <- fread("household_power_consumption.txt", skip = "1/2/2007", nrows = 2880) ## Cheack if the data right head(data) tail(data) ## Give names to column names(data) <- c("D...
## Creates a folder to download the zip file. if(!file.exists("./project")){dir.create("./project")} ##download the zip file and save it in the directory created. fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(fileUrl,destfile="./project/Dataset.zip") ...
/run_analysis.R
no_license
aubuchonc/Getting-and-Cleaning-Data-Project
R
false
false
2,797
r
## Creates a folder to download the zip file. if(!file.exists("./project")){dir.create("./project")} ##download the zip file and save it in the directory created. fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(fileUrl,destfile="./project/Dataset.zip") ...
\name{concerto5-package} \alias{concerto5-package} \docType{package} \title{ Package for Concerto platform test logic R code. } \description{ Contains all required functions by Concerto platform. } \details{ \tabular{ll}{ Package: \tab concerto5\cr Type: \tab Package\cr Version: \tab 0.30.16\cr ...
/src/Concerto/TestBundle/Resources/R/concerto5/man/concerto-package.Rd
permissive
wilhadams/concerto-platform
R
false
false
519
rd
\name{concerto5-package} \alias{concerto5-package} \docType{package} \title{ Package for Concerto platform test logic R code. } \description{ Contains all required functions by Concerto platform. } \details{ \tabular{ll}{ Package: \tab concerto5\cr Type: \tab Package\cr Version: \tab 0.30.16\cr ...
# # This test file has been generated by kwb.test::create_test_files() # launched by user mrustl on 2021-02-26 14:17:34. # Your are strongly encouraged to modify the dummy functions # so that real cases are tested. You should then delete this comment. # test_that("check_or_create_export_dir() works", { f <- kwb.pilo...
/tests/testthat/test-function-check_or_create_export_dir.R
permissive
KWB-R/kwb.pilot
R
false
false
431
r
# # This test file has been generated by kwb.test::create_test_files() # launched by user mrustl on 2021-02-26 14:17:34. # Your are strongly encouraged to modify the dummy functions # so that real cases are tested. You should then delete this comment. # test_that("check_or_create_export_dir() works", { f <- kwb.pilo...
# setwd("") source("R/modelling_utils.R") get.predictions <- function(model, all.data, train.filter) { covariates <- 2:length(names(all.data)) predictions <- list() predictions$train <- as.vector(predict(model, all.data[train.filter, covariates], type = "response")) predictions$test <- as.vector(predict(...
/R/prediction_model_creation/02_looking_at_different_models/poisson_glm.R
no_license
AmirAl-Jumaily/BSc-Project---Football-Match-Simulation
R
false
false
2,759
r
# setwd("") source("R/modelling_utils.R") get.predictions <- function(model, all.data, train.filter) { covariates <- 2:length(names(all.data)) predictions <- list() predictions$train <- as.vector(predict(model, all.data[train.filter, covariates], type = "response")) predictions$test <- as.vector(predict(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cognitoidentity_operations.R \name{cognitoidentity_set_identity_pool_roles} \alias{cognitoidentity_set_identity_pool_roles} \title{Sets the roles for an identity pool} \usage{ cognitoidentity_set_identity_pool_roles(IdentityPoolId, Roles, R...
/cran/paws.security.identity/man/cognitoidentity_set_identity_pool_roles.Rd
permissive
TWarczak/paws
R
false
true
1,783
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cognitoidentity_operations.R \name{cognitoidentity_set_identity_pool_roles} \alias{cognitoidentity_set_identity_pool_roles} \title{Sets the roles for an identity pool} \usage{ cognitoidentity_set_identity_pool_roles(IdentityPoolId, Roles, R...
#' @title pro.lst #' #' @description Interface to download and process tile-wise Land Surface Temperature (LST) data. #' @param tile \emph{character} vector specifying the target MODIS tile (e.g. "h01v01") #' @param date a vector of class \emph{Date} containing the target download dates. #' @param data.path Output data...
/R/pro.lst.R
no_license
RRemelgado/iDivR
R
false
false
3,690
r
#' @title pro.lst #' #' @description Interface to download and process tile-wise Land Surface Temperature (LST) data. #' @param tile \emph{character} vector specifying the target MODIS tile (e.g. "h01v01") #' @param date a vector of class \emph{Date} containing the target download dates. #' @param data.path Output data...
#if running TopHat with --fusion-search sampleIDs = c("","","","") alignmentFolder = "../hg19_TopHat_Alignment" #use IGV coordinates TMPRSS2.chr = "chr21" TMPRSS2.start = 42834478 TMPRSS2.stop = 42880085 ERG.chr = "chr21" ERG.start = 39737183 ERG.stop = 40035618 #try switching coordinates ERG.start = 42834478 ERG...
/Splicing_Workflow/parse_TopHat_fusions.R
no_license
cwarden45/RNAseq_templates
R
false
false
2,074
r
#if running TopHat with --fusion-search sampleIDs = c("","","","") alignmentFolder = "../hg19_TopHat_Alignment" #use IGV coordinates TMPRSS2.chr = "chr21" TMPRSS2.start = 42834478 TMPRSS2.stop = 42880085 ERG.chr = "chr21" ERG.start = 39737183 ERG.stop = 40035618 #try switching coordinates ERG.start = 42834478 ERG...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/database.R \name{ed_db_download} \alias{ed_db_download} \title{Download EIDITH data to local storage} \usage{ ed_db_download(verbose = interactive()) } \arguments{ \item{verbose}{Show messages while in progress?} } \description{ This function...
/man/ed_db_download.Rd
permissive
nistara/eidith
R
false
true
1,677
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/database.R \name{ed_db_download} \alias{ed_db_download} \title{Download EIDITH data to local storage} \usage{ ed_db_download(verbose = interactive()) } \arguments{ \item{verbose}{Show messages while in progress?} } \description{ This function...
#reading the data datos=read.table('C:/Users/Martin/Downloads/household_power_consumption.txt',h=T,sep=';',fill=T) #subsetting dato=rbind(datos[datos$Date=='1/2/2007',],datos[datos$Date=='2/2/2007',]) #pass to character for(i in 1:2){ dato[,i]=as.character(dato[,i]) } #pass to numeric for(i in 3:ncol(dato)){ dato[,i]=a...
/figure/plot2.R
no_license
msy89/ExData_Plotting1
R
false
false
552
r
#reading the data datos=read.table('C:/Users/Martin/Downloads/household_power_consumption.txt',h=T,sep=';',fill=T) #subsetting dato=rbind(datos[datos$Date=='1/2/2007',],datos[datos$Date=='2/2/2007',]) #pass to character for(i in 1:2){ dato[,i]=as.character(dato[,i]) } #pass to numeric for(i in 3:ncol(dato)){ dato[,i]=a...
\name{Email} \alias{Email} %- Also NEED an '\alias' for EACH other topic documented here. \title{ %% ~~function to do ... ~~ Email } \description{ %% ~~ A concise (1-5 lines) description of what the function does. ~~ } \usage{ Email() } %- maybe also 'usage' for other objects documented here. \details{ %% ~~ If nece...
/man/Email.Rd
no_license
pingqingsheng/Robot0001
R
false
false
2,662
rd
\name{Email} \alias{Email} %- Also NEED an '\alias' for EACH other topic documented here. \title{ %% ~~function to do ... ~~ Email } \description{ %% ~~ A concise (1-5 lines) description of what the function does. ~~ } \usage{ Email() } %- maybe also 'usage' for other objects documented here. \details{ %% ~~ If nece...
# # This is the user-interface definition of a Shiny web application. You can # run the application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(shinydashboard) library(leaflet) library(tidyverse) #library(shinyjs...
/ui.R
permissive
medewitt/wspd_scanner
R
false
false
15,825
r
# # This is the user-interface definition of a Shiny web application. You can # run the application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(shinydashboard) library(leaflet) library(tidyverse) #library(shinyjs...
library(ggplot2) setwd("/home/alf/Scrivania/lav_perugia/twitter_social") numerosity=read.csv("numerosity.csv") p_rep <- qplot(sem_con_cat ,repubblica_freq,data=numerosity[2:7,],label=words_meteo) + geom_text(check_overlap = F) + stat_smooth()+xlab("Semantic Connection \n From babelnet.org Semantic Category Meteorolo...
/code&data/graph_words.r
no_license
alfcrisci/ogrs_2016_weathersocial_paper
R
false
false
1,302
r
library(ggplot2) setwd("/home/alf/Scrivania/lav_perugia/twitter_social") numerosity=read.csv("numerosity.csv") p_rep <- qplot(sem_con_cat ,repubblica_freq,data=numerosity[2:7,],label=words_meteo) + geom_text(check_overlap = F) + stat_smooth()+xlab("Semantic Connection \n From babelnet.org Semantic Category Meteorolo...
library("knitr") library("rgl") #knit("Anilazine.Rmd") #markdownToHTML('Anilazine.md', 'Anilazine.html', options=c("use_xhml")) #system("pandoc -s Anilazine.html -o Anilazine.pdf") knit2html('Anilazine.Rmd')
/FDA_Pesticide_Glossary/Anilazine.R
permissive
andrewdefries/andrewdefries.github.io
R
false
false
210
r
library("knitr") library("rgl") #knit("Anilazine.Rmd") #markdownToHTML('Anilazine.md', 'Anilazine.html', options=c("use_xhml")) #system("pandoc -s Anilazine.html -o Anilazine.pdf") knit2html('Anilazine.Rmd')
context("model-init") if (not_on_cran()) { set_cmdstan_path() mod <- testing_model("bernoulli") data_list <- testing_data("bernoulli") mod_logistic <- testing_model("logistic") data_list_logistic <- testing_data("logistic") } # these create _relative_ paths to init files init_json_1 <- test_path("resources...
/tests/testthat/test-model-init.R
permissive
johnlees/cmdstanr
R
false
false
6,126
r
context("model-init") if (not_on_cran()) { set_cmdstan_path() mod <- testing_model("bernoulli") data_list <- testing_data("bernoulli") mod_logistic <- testing_model("logistic") data_list_logistic <- testing_data("logistic") } # these create _relative_ paths to init files init_json_1 <- test_path("resources...
% % Copyright 2007-2019 by the individuals mentioned in the source code history % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % % http://www.apache.org/licenses/LICENSE-2.0 ...
/fuzzedpackages/OpenMx/man/mxPath.Rd
no_license
akhikolla/testpackages
R
false
false
8,264
rd
% % Copyright 2007-2019 by the individuals mentioned in the source code history % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % % http://www.apache.org/licenses/LICENSE-2.0 ...
setwd("~/GitHub/datasciencecoursera/5-reproducible-research/assessment1/") library(plyr) library(ggplot2); library(scales) ## Loading and preprocessing the data if(!file.exists("activity.csv")) unzip("activity.zip") df <- read.csv("activity.csv") df <- mutate(df, date = as.Date(date), inte...
/5-reproducible-research/assessment1/PA1-codes.R
no_license
fattyfook2015/datasciencecoursera-1
R
false
false
2,694
r
setwd("~/GitHub/datasciencecoursera/5-reproducible-research/assessment1/") library(plyr) library(ggplot2); library(scales) ## Loading and preprocessing the data if(!file.exists("activity.csv")) unzip("activity.zip") df <- read.csv("activity.csv") df <- mutate(df, date = as.Date(date), inte...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/durationFreq.R \name{durationFreq} \alias{durationFreq} \alias{make_durationFreqCont} \alias{make_durationFreqDisc} \title{Models of Sampling and Extinction for Taxonomic Duration Datasets} \usage{ make_durationFreqCont(timeData, grou...
/man/durationFreq.Rd
permissive
pnovack-gottshall/paleotree
R
false
false
9,705
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/durationFreq.R \name{durationFreq} \alias{durationFreq} \alias{make_durationFreqCont} \alias{make_durationFreqDisc} \title{Models of Sampling and Extinction for Taxonomic Duration Datasets} \usage{ make_durationFreqCont(timeData, grou...
# Copyright (c) 2019 ISciences, LLC. # All rights reserved. # # WSIM is licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. You may # obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. # # Unless required by applicab...
/wsim.io/R/nmme.R
permissive
isciences/wsim
R
false
false
7,351
r
# Copyright (c) 2019 ISciences, LLC. # All rights reserved. # # WSIM is licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. You may # obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. # # Unless required by applicab...
#' Proceed only when edges are spatially explicit #' #' @param x An object of class \code{\link{sfnetwork}}. #' #' @return Nothing when the edges of x are spatially explicit, an error message #' otherwise. #' #' @details Require will be called when the function needs spatially explicit #' edges no matter which element ...
/R/require.R
permissive
anhnguyendepocen/sfnetworks
R
false
false
3,303
r
#' Proceed only when edges are spatially explicit #' #' @param x An object of class \code{\link{sfnetwork}}. #' #' @return Nothing when the edges of x are spatially explicit, an error message #' otherwise. #' #' @details Require will be called when the function needs spatially explicit #' edges no matter which element ...
data(mtcars) plot(mtcars$cyl)
/mtcars_test.R
no_license
tmaldreis/temporary_add_to_version_control
R
false
false
31
r
data(mtcars) plot(mtcars$cyl)
# Script to generate a chart of the base distribution by cycle # @author Nils Homer # Parse the arguments args <- commandArgs(trailing=T); metricsFile <- args[1]; outputFile <- args[2]; bamFile <- args[3]; subtitle <- ifelse(length(args) < 4, "", args[4]); # Figure out where the metrics and the histogram are in ...
/src/main/resources/picard/analysis/baseDistributionByCycle.R
permissive
broadinstitute/picard
R
false
false
1,444
r
# Script to generate a chart of the base distribution by cycle # @author Nils Homer # Parse the arguments args <- commandArgs(trailing=T); metricsFile <- args[1]; outputFile <- args[2]; bamFile <- args[3]; subtitle <- ifelse(length(args) < 4, "", args[4]); # Figure out where the metrics and the histogram are in ...
library(glmnet) mydata = read.table("./TrainingSet/LassoBIC/oesophagus.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.3,family="gaussian",standardize=FALSE) sink('./Model/EN/Lasso/oesophagus/oesophagus_042.txt'...
/Model/EN/Lasso/oesophagus/oesophagus_042.R
no_license
leon1003/QSMART
R
false
false
363
r
library(glmnet) mydata = read.table("./TrainingSet/LassoBIC/oesophagus.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.3,family="gaussian",standardize=FALSE) sink('./Model/EN/Lasso/oesophagus/oesophagus_042.txt'...
# INSTEAD OF IT, USE CDS.ALL.FA # SUBSEQ SEQUENCE BASED ON COORDINATES CLOSE TO UTR-TARGET SITES # PREPARE KNOW ANNOTATION SEQUENCES TO RERUN BLAST AND RETRIVE GENE ONTOLOGIES library(tidyverse) rm(list = ls()) if(!is.null(dev.list())) dev.off() options(stringsAsFactors = FALSE, readr.show_col_types = FALSE) wd ...
/DOWNSTREAM/DIFFEXP/KNOWN_DNA_PREP.R
no_license
RJEGR/Small-RNASeq-data-analysis
R
false
false
2,312
r
# INSTEAD OF IT, USE CDS.ALL.FA # SUBSEQ SEQUENCE BASED ON COORDINATES CLOSE TO UTR-TARGET SITES # PREPARE KNOW ANNOTATION SEQUENCES TO RERUN BLAST AND RETRIVE GENE ONTOLOGIES library(tidyverse) rm(list = ls()) if(!is.null(dev.list())) dev.off() options(stringsAsFactors = FALSE, readr.show_col_types = FALSE) wd ...
## An implementation of ## "A Resampling Approach for Correcting Systematic Spatiotemporal Biases for Multiple Variables in a Changing Climate" ## by Mehrotra and Sharma (2019), Water Resources Research, 55(1), pp.754-770, doi: 10.1029/2018WR023270 ## Refered to as 3DBC (3-dimensional bias-correction), as it keeps inte...
/HADGEM_RCA/RCP85/3DBC_hurs_HADGEM_RCA_APP_template.R
no_license
doblerone/3DBC
R
false
false
5,035
r
## An implementation of ## "A Resampling Approach for Correcting Systematic Spatiotemporal Biases for Multiple Variables in a Changing Climate" ## by Mehrotra and Sharma (2019), Water Resources Research, 55(1), pp.754-770, doi: 10.1029/2018WR023270 ## Refered to as 3DBC (3-dimensional bias-correction), as it keeps inte...
### Tiempo de Compra ### #### Carga de librerias y paquetes #### install.packages("shiny") install.packages("dplyr") if(!require("tidyverse")) { install.packages("tidyverse", repos="https://cloud.r-project.org/", quiet=TRUE, type="binary") library("tidyverse") } install.packages("chron") library...
/TiempoDeCompra_Prova01.R
no_license
rogercristobal5/Practica2_BIA
R
false
false
358
r
### Tiempo de Compra ### #### Carga de librerias y paquetes #### install.packages("shiny") install.packages("dplyr") if(!require("tidyverse")) { install.packages("tidyverse", repos="https://cloud.r-project.org/", quiet=TRUE, type="binary") library("tidyverse") } install.packages("chron") library...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/clean_claims.R \name{clean_claims} \alias{clean_claims} \title{Clean claims} \usage{ clean_claims(claims, colmap = NULL) } \arguments{ \item{claims}{data.table object} \item{colmap}{a mapping of column names in the form of a named character ...
/man/clean_claims.Rd
no_license
ben519/claimz
R
false
true
921
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/clean_claims.R \name{clean_claims} \alias{clean_claims} \title{Clean claims} \usage{ clean_claims(claims, colmap = NULL) } \arguments{ \item{claims}{data.table object} \item{colmap}{a mapping of column names in the form of a named character ...
library(tidyverse) #library(ggplot2) var <- factorial(3) vec <- c(1,2,3) v_list <- list(Nums = 1:5,"apple",c(TRUE,FALSE)) v_list$Nums mpgint ggplot(data=mpg) + geom_point(mapping = aes(x = displ, y=hwy))
/Analysis/Rtutorial/Rtut.r
no_license
Ravinderjit-S/Stim_Analysis
R
false
false
213
r
library(tidyverse) #library(ggplot2) var <- factorial(3) vec <- c(1,2,3) v_list <- list(Nums = 1:5,"apple",c(TRUE,FALSE)) v_list$Nums mpgint ggplot(data=mpg) + geom_point(mapping = aes(x = displ, y=hwy))
getPackage <- function(x) { x <- as.character(match.call()[[2]]) writeLines(sprintf('Testing %s is installed...', x)) if (!require(x, character.only = TRUE)) { writeLines(sprintf('\tInstalling...', x)) install.packages(pkgs = x, repos = "http://cran.r-project.org") require(x, character.only = TRUE) ...
/courses/johnhopkins-datascience/reproducible.research.week01.R
permissive
xunilrj/sandbox
R
false
false
3,065
r
getPackage <- function(x) { x <- as.character(match.call()[[2]]) writeLines(sprintf('Testing %s is installed...', x)) if (!require(x, character.only = TRUE)) { writeLines(sprintf('\tInstalling...', x)) install.packages(pkgs = x, repos = "http://cran.r-project.org") require(x, character.only = TRUE) ...
#!/usr/bin/Rscript # This script converts a mappings file (of e.g. shRNA) to a fully-fledged expression file to be used in processes # which accept `data:expression` data. This script is part of the functionality provided by shRNAde::summaryTable() # which works on a batch of files. # Input parameters to this script a...
/resolwe_bio/tools/mapped_species_to_expression.R
permissive
genialis/resolwe-bio
R
false
false
3,973
r
#!/usr/bin/Rscript # This script converts a mappings file (of e.g. shRNA) to a fully-fledged expression file to be used in processes # which accept `data:expression` data. This script is part of the functionality provided by shRNAde::summaryTable() # which works on a batch of files. # Input parameters to this script a...
# Set example hub for testing example_hub <- "swmc" # Test metadata configuration if(example_hub == "kisters"){ test_group_id = '21219' test_ts_group_id = "11919" test_stn_id = '23438' test_ts_ids = c("231042", "244042") } if(example_hub == "swmc"){ test_group_id = '518247' test_ts_group_id =...
/tests/testthat/helper-kiwisR.R
permissive
cran/kiwisR
R
false
false
764
r
# Set example hub for testing example_hub <- "swmc" # Test metadata configuration if(example_hub == "kisters"){ test_group_id = '21219' test_ts_group_id = "11919" test_stn_id = '23438' test_ts_ids = c("231042", "244042") } if(example_hub == "swmc"){ test_group_id = '518247' test_ts_group_id =...
library("dplyr") library("tidyr") library("wbstats") library("ggplot2") library("stringr") library("maps") library("mapproj") library("scales") ############################################## # # Load in all data # ############################################## options(scipen = 999) # Load in corruption data file_loca...
/analysis.R
no_license
brianjlee11/data-analysis-report
R
false
false
24,059
r
library("dplyr") library("tidyr") library("wbstats") library("ggplot2") library("stringr") library("maps") library("mapproj") library("scales") ############################################## # # Load in all data # ############################################## options(scipen = 999) # Load in corruption data file_loca...
## pakiety library(jsonlite) library(tidyverse) library(dplyr) ## pobieram listę krajów Substinable_cities <- function() { ## pobieram dane dla okreslonego kraju ## trzeba ustawiac argumenty zapytania przez page, pageSize, czyli to co jest opisane w Parameters if(have_ip() == T) { tryCatc...
/Substinable_cities.R
no_license
KonradJadwizyc/BazaDanychDoAplikacji
R
false
false
1,105
r
## pakiety library(jsonlite) library(tidyverse) library(dplyr) ## pobieram listę krajów Substinable_cities <- function() { ## pobieram dane dla okreslonego kraju ## trzeba ustawiac argumenty zapytania przez page, pageSize, czyli to co jest opisane w Parameters if(have_ip() == T) { tryCatc...
#' dataset-name #' #' Dataset description and link to source #' library(SCRCdataAPI) library(SCRCdata) # Download a key from https://data.scrc.uk and store it somewhere safe! key <- read.table("token.txt") # The product_name is used to identify the data product and will be used to # generate various file locations...
/inst/templates/upload_data_product.R
no_license
ciaranmcmonagle/SCRCdata
R
false
false
2,423
r
#' dataset-name #' #' Dataset description and link to source #' library(SCRCdataAPI) library(SCRCdata) # Download a key from https://data.scrc.uk and store it somewhere safe! key <- read.table("token.txt") # The product_name is used to identify the data product and will be used to # generate various file locations...
number_topic<-c(5,10,15,20,25,35,40,50,60) gibbs_lda<-list() for(gibbs_idx in 1:length(number_topic)){ gibbs_lda[[gibbs_idx]]<-LDA(dtm_training, k=number_topic[gibbs_idx], method="Gibbs", control=list(seed=seed, burnin=1000, thin=100, iter=2000)); } per_lda5<-vector("numeric",length(g)) for(per_i in 1:length(g)){ ...
/1.R
no_license
hly89/topicmodels
R
false
false
1,491
r
number_topic<-c(5,10,15,20,25,35,40,50,60) gibbs_lda<-list() for(gibbs_idx in 1:length(number_topic)){ gibbs_lda[[gibbs_idx]]<-LDA(dtm_training, k=number_topic[gibbs_idx], method="Gibbs", control=list(seed=seed, burnin=1000, thin=100, iter=2000)); } per_lda5<-vector("numeric",length(g)) for(per_i in 1:length(g)){ ...
#' @export #' @rdname splitData splitData = function (demo, group = NULL, trim = 0.8) { assertthat::assert_that(!is.null(group), msg = "Please provide a group argument (must be a column name in demo)") assertthat::assert_that(group %in% colnames(demo), msg = "group must be present in the demographics dataset.") ...
/R/metadata_helperFunctions.R
permissive
singha53/geomxCloud
R
false
false
8,962
r
#' @export #' @rdname splitData splitData = function (demo, group = NULL, trim = 0.8) { assertthat::assert_that(!is.null(group), msg = "Please provide a group argument (must be a column name in demo)") assertthat::assert_that(group %in% colnames(demo), msg = "group must be present in the demographics dataset.") ...
##' Return All Media of a Media Tag ##' ##' Fetch data on all media outlets corresponding to a given media tag via the api/v2/media/list method of the MediaCloud API. ##' @usage grab_media_mediatag(tags_id_media, last_media_id = 0, rows = 100, max_calls=NULL, name = NULL, tag_name = NULL, tags_id=NULL, q=NULL, timespa...
/R/grab_media_mediatag.R
no_license
umatter/mediacloudr
R
false
false
6,905
r
##' Return All Media of a Media Tag ##' ##' Fetch data on all media outlets corresponding to a given media tag via the api/v2/media/list method of the MediaCloud API. ##' @usage grab_media_mediatag(tags_id_media, last_media_id = 0, rows = 100, max_calls=NULL, name = NULL, tag_name = NULL, tags_id=NULL, q=NULL, timespa...
diff_Chao2bc <- function(ksi, s) { D12 <- ksi[1] f11 <- ksi[2] fp1 <- ksi[3] f1p <- ksi[4] fp2 <- ksi[5] f2p <- ksi[6] K1 <- ksi[8] K2 <- ksi[9] if (s == 1){ d <- 1 } else if (s == 2) { d <- K1 * K2 * f1p * fp1 / (4 * (f2p + 1) * (fp2 + 1)) } else if (s == 3) { d <- K1 * K2 * f11 * ...
/R/diff_Chao2bc.R
no_license
JohnsonHsieh/SpadeR
R
false
false
818
r
diff_Chao2bc <- function(ksi, s) { D12 <- ksi[1] f11 <- ksi[2] fp1 <- ksi[3] f1p <- ksi[4] fp2 <- ksi[5] f2p <- ksi[6] K1 <- ksi[8] K2 <- ksi[9] if (s == 1){ d <- 1 } else if (s == 2) { d <- K1 * K2 * f1p * fp1 / (4 * (f2p + 1) * (fp2 + 1)) } else if (s == 3) { d <- K1 * K2 * f11 * ...
\name{rnddist} \alias{rnddist} \title{Random Distance} \usage{rnddist(size, method='metric', sat = 1.0, upper=FALSE, diag=FALSE)} \description{Calculates a random distance matrix for use in null model analysis.} \arguments{ \item{size}{the number of items to calculate the distances for} \item{method}{the des...
/man/rnddist.Rd
no_license
cran/labdsv
R
false
false
1,250
rd
\name{rnddist} \alias{rnddist} \title{Random Distance} \usage{rnddist(size, method='metric', sat = 1.0, upper=FALSE, diag=FALSE)} \description{Calculates a random distance matrix for use in null model analysis.} \arguments{ \item{size}{the number of items to calculate the distances for} \item{method}{the des...
library(pwr) # power analysis # compare with pwr.t.test() # case1 : d=.2 alpha=.01 beta =? n=100 pwr.t.test(n=100, d=.2, sig.level=.01) # -> 0.12034 # case2 : d=.5 alpha=.05 beta =? n=100 pwr.t.test(n=100, d=.5, sig.level=.05) # -> 0.9404 # case3 : d=.3 alpha=.05 beta =? n=100 pwr.t.test(n=100, d=.3, sig.level=.03...
/Stats/powerAnalysis.R
no_license
cottalucas/ds-2017
R
false
false
641
r
library(pwr) # power analysis # compare with pwr.t.test() # case1 : d=.2 alpha=.01 beta =? n=100 pwr.t.test(n=100, d=.2, sig.level=.01) # -> 0.12034 # case2 : d=.5 alpha=.05 beta =? n=100 pwr.t.test(n=100, d=.5, sig.level=.05) # -> 0.9404 # case3 : d=.3 alpha=.05 beta =? n=100 pwr.t.test(n=100, d=.3, sig.level=.03...
setwd("~/Progetti_R/progetti_r_new/script_vecchi_tutorial/ProgrammingAssignment6") if (!exists("NEI")) {source("Read_data.R")} # SIX PLOT NEI_Balt=NEI[NEI$fips=="24510",] NEI_Balt=NEI_Balt[NEI_Balt$type=='ON-ROAD',] NEI_LosA=NEI[NEI$fips=="06037",] NEI_LosA=NEI_LosA[NEI_LosA$type=='ON-ROAD',] year<-as.numeric(levels...
/plot6.r
no_license
viviasub/ProgrammingAssignment6
R
false
false
1,566
r
setwd("~/Progetti_R/progetti_r_new/script_vecchi_tutorial/ProgrammingAssignment6") if (!exists("NEI")) {source("Read_data.R")} # SIX PLOT NEI_Balt=NEI[NEI$fips=="24510",] NEI_Balt=NEI_Balt[NEI_Balt$type=='ON-ROAD',] NEI_LosA=NEI[NEI$fips=="06037",] NEI_LosA=NEI_LosA[NEI_LosA$type=='ON-ROAD',] year<-as.numeric(levels...
# Exploitation des données du COG 2018 pour les remettre sur le périmètre 2019 library(sf) library(tidyverse) load("data/table_passage_com_historique.rda") load("data/communes_info_supra.rda") com_metro<- st_read("data-raw/source/2018/adminexpress/metro/COMMUNE_CARTO.shp") %>% st_set_crs(2154) origine_metro <- c(st_...
/data-raw/admin-express.R
no_license
jengelaere/COGiter
R
false
false
2,892
r
# Exploitation des données du COG 2018 pour les remettre sur le périmètre 2019 library(sf) library(tidyverse) load("data/table_passage_com_historique.rda") load("data/communes_info_supra.rda") com_metro<- st_read("data-raw/source/2018/adminexpress/metro/COMMUNE_CARTO.shp") %>% st_set_crs(2154) origine_metro <- c(st_...
testlist <- list(A = structure(c(2.31584307392677e+77, 9.53818252170364e+295, 6.97731901596449e-310, 4.12396251261199e-221, 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), .Dim = c(5L, 7L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_row...
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613102670-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
343
r
testlist <- list(A = structure(c(2.31584307392677e+77, 9.53818252170364e+295, 6.97731901596449e-310, 4.12396251261199e-221, 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), .Dim = c(5L, 7L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_row...
source("./constants.R") install_if_missing_and_load("caret") install_if_missing_and_load("DMwR") clean <- function(data) { msg_1 <- "No. observations initial:" msg_2 <- "No. observations non-NAs:" print_n_obs_after_message__(data, msg_1) data <- invalid_values_as_missing__(data) data <- impute_mi...
/clean.R
no_license
joshua-farrell/student-satisfaction
R
false
false
9,345
r
source("./constants.R") install_if_missing_and_load("caret") install_if_missing_and_load("DMwR") clean <- function(data) { msg_1 <- "No. observations initial:" msg_2 <- "No. observations non-NAs:" print_n_obs_after_message__(data, msg_1) data <- invalid_values_as_missing__(data) data <- impute_mi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{otu_mini_cont_results_glmnet} \alias{otu_mini_cont_results_glmnet} \title{Results from running the pipeline with glmnet on \code{otu_mini_bin} with \code{Otu00001} as the outcome} \format{ An object of class \code{...
/man/otu_mini_cont_results_glmnet.Rd
permissive
SchlossLab/mikropml
R
false
true
520
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{otu_mini_cont_results_glmnet} \alias{otu_mini_cont_results_glmnet} \title{Results from running the pipeline with glmnet on \code{otu_mini_bin} with \code{Otu00001} as the outcome} \format{ An object of class \code{...
# The `Card` class for Klondike. setClass( "Card", slots = c(rank = "numeric", suit = "character") ) Card <- function(rank, suit) { new("Card", rank = rank, suit = stringr::str_to_upper(suit)) } setMethod("print", "Card", function(x) { print(paste(x@rank, x@suit, sep = "-")) })
/R-implementation/Card.R
no_license
jhrcook/codekata-klondike
R
false
false
315
r
# The `Card` class for Klondike. setClass( "Card", slots = c(rank = "numeric", suit = "character") ) Card <- function(rank, suit) { new("Card", rank = rank, suit = stringr::str_to_upper(suit)) } setMethod("print", "Card", function(x) { print(paste(x@rank, x@suit, sep = "-")) })
makew <- function(shpfile=NULL,coormat=NULL,method="queen", knum=10,ringdist=.25,kern="tcub",window=.10,eigenvalues=FALSE) { library(spdep) if (!identical(shpfile,NULL)) {coormat <- coordinates(shpfile) } n = nrow(coormat) wmat <- array(0,dim=c(n,n)) eigvar <- NULL contig = TRUE if (method=="rook") {c...
/McSpatial/R/makew.R
no_license
albrizre/spatstat.revdep
R
false
false
1,985
r
makew <- function(shpfile=NULL,coormat=NULL,method="queen", knum=10,ringdist=.25,kern="tcub",window=.10,eigenvalues=FALSE) { library(spdep) if (!identical(shpfile,NULL)) {coormat <- coordinates(shpfile) } n = nrow(coormat) wmat <- array(0,dim=c(n,n)) eigvar <- NULL contig = TRUE if (method=="rook") {c...
#get the tes info test_x <- read.csv("getdata-projectfiles-UCI HAR Dataset/UCI HAR Dataset/test/X_test.txt", sep="", header=FALSE) test_y <- read.csv("getdata-projectfiles-UCI HAR Dataset/UCI HAR Dataset/test/Y_test.txt", sep="", header=FALSE) test_subject <- read.csv("getdata-projectfiles-UCI HAR Dataset/UCI HAR Datas...
/run_analysis.R
no_license
MathSic/GettingAndCleaningData
R
false
false
2,000
r
#get the tes info test_x <- read.csv("getdata-projectfiles-UCI HAR Dataset/UCI HAR Dataset/test/X_test.txt", sep="", header=FALSE) test_y <- read.csv("getdata-projectfiles-UCI HAR Dataset/UCI HAR Dataset/test/Y_test.txt", sep="", header=FALSE) test_subject <- read.csv("getdata-projectfiles-UCI HAR Dataset/UCI HAR Datas...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/divide.R \name{flatten} \alias{flatten} \title{"Flatten" a ddf Subset} \usage{ flatten(x) } \arguments{ \item{x}{a value of a key-value pair} } \description{ Add split variables and BSVs (if any) as columns to a subset of a ddf. } \se...
/man/flatten.Rd
permissive
jrounds/datadr
R
false
false
380
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/divide.R \name{flatten} \alias{flatten} \title{"Flatten" a ddf Subset} \usage{ flatten(x) } \arguments{ \item{x}{a value of a key-value pair} } \description{ Add split variables and BSVs (if any) as columns to a subset of a ddf. } \se...
## loading data dat <- read.table(header = TRUE,"household_power_consumption.txt",sep = ";",stringsAsFactors = FALSE) dat$Date <- as.Date(dat$Date,format = "%d/%m/%Y") dat_tmp <-dat[dat$Date >= as.Date("2007-02-01") & dat$Date <= as.Date("2007-02-02"), ] ## ploting plot1 png("plot1.png",width = 480,height = 480) pl...
/plot1.R
no_license
MIAOKUI/ExData_Plotting1
R
false
false
509
r
## loading data dat <- read.table(header = TRUE,"household_power_consumption.txt",sep = ";",stringsAsFactors = FALSE) dat$Date <- as.Date(dat$Date,format = "%d/%m/%Y") dat_tmp <-dat[dat$Date >= as.Date("2007-02-01") & dat$Date <= as.Date("2007-02-02"), ] ## ploting plot1 png("plot1.png",width = 480,height = 480) pl...
# Relational operator ' Relational operators (comparison operators), are for evaluating R objects in relation to one another it can be used with all data types and larger structures like matrices and data frames ' # == Equal to # != Not equal to exclamation marks # < LESS THEN # > GREATER THEN # <= LESS THEN EQ...
/1. R-Basics/6. Relational Operator.R
no_license
Shubham3016/R-Basic-Bootcamp
R
false
false
999
r
# Relational operator ' Relational operators (comparison operators), are for evaluating R objects in relation to one another it can be used with all data types and larger structures like matrices and data frames ' # == Equal to # != Not equal to exclamation marks # < LESS THEN # > GREATER THEN # <= LESS THEN EQ...
setwd("/media/arun/myprojects/scm_github/kaggle_titanic/") train <- read.csv("/media/arun/myprojects/scm_github/kaggle_titanic/train.csv") test <- read.csv("/media/arun/myprojects/scm_github/kaggle_titanic/test.csv") #prop.table(table(train$Sex, train$Survived), 1) test$Survived <- 0 test$Survived[test$Sex == 'female']...
/tutorial2.R
no_license
arundhaj/kaggle_titanic_tutorial
R
false
false
1,468
r
setwd("/media/arun/myprojects/scm_github/kaggle_titanic/") train <- read.csv("/media/arun/myprojects/scm_github/kaggle_titanic/train.csv") test <- read.csv("/media/arun/myprojects/scm_github/kaggle_titanic/test.csv") #prop.table(table(train$Sex, train$Survived), 1) test$Survived <- 0 test$Survived[test$Sex == 'female']...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/illustrate.R \name{illustrate} \alias{illustrate} \title{Illustrate basic and composite relations} \usage{ illustrate(relations = "basic", ...) } \arguments{ \item{relations}{One of: \describe{ \item{basic}{show the 13 basic Allen relations (...
/man/illustrate.Rd
no_license
tsdye/allen.archaeology
R
false
true
2,868
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/illustrate.R \name{illustrate} \alias{illustrate} \title{Illustrate basic and composite relations} \usage{ illustrate(relations = "basic", ...) } \arguments{ \item{relations}{One of: \describe{ \item{basic}{show the 13 basic Allen relations (...
\name{mean.se} \alias{mean.se} \title{Calculate mean and standard error (se) of continuous variables among different factors from a data.frame.} \usage{ mean.se(data,...) } \description{ This function can be used to calculate mean and standard error (se) of continuous variables among different factors from a data.frame...
/man/mean.se.Rd
no_license
liuguofang/figsci
R
false
false
569
rd
\name{mean.se} \alias{mean.se} \title{Calculate mean and standard error (se) of continuous variables among different factors from a data.frame.} \usage{ mean.se(data,...) } \description{ This function can be used to calculate mean and standard error (se) of continuous variables among different factors from a data.frame...
library(shiny) shinyUI(fluidPage( titlePanel("Predict Horsepower from MPG"), sidebarLayout( sidebarPanel( h3("Slope"), textOutput("slopeOut"), h3("Intercept"), textOutput("intOut"), sliderInput("sliderMPG", "What is the MPG of the car?", 10, 35, value = 20), check...
/ui.R
no_license
mveerara/DDProduct-project-final-
R
false
false
765
r
library(shiny) shinyUI(fluidPage( titlePanel("Predict Horsepower from MPG"), sidebarLayout( sidebarPanel( h3("Slope"), textOutput("slopeOut"), h3("Intercept"), textOutput("intOut"), sliderInput("sliderMPG", "What is the MPG of the car?", 10, 35, value = 20), check...
/Tarea/E2/TE2.R
no_license
GonzaloBuenoB/Notas
R
false
false
2,156
r
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_maxquant_proteingroupfile.R \name{read_maxquant_proteingroupfile} \alias{read_maxquant_proteingroupfile} \title{Read protein quantification table from MaxQuant output file proteinGroups.txt} \usage{ read_maxquant_proteingroupfile( prot...
/man/read_maxquant_proteingroupfile.Rd
no_license
CUOldLab/itsar
R
false
true
2,573
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_maxquant_proteingroupfile.R \name{read_maxquant_proteingroupfile} \alias{read_maxquant_proteingroupfile} \title{Read protein quantification table from MaxQuant output file proteinGroups.txt} \usage{ read_maxquant_proteingroupfile( prot...