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
## Install and load packages if needed pkg <- c("dplyr", "readr", "googlesheets", "rhandsontable") new.pkg <- pkg[!(pkg %in% installed.packages())] if (length(new.pkg)) { install.packages(new.pkg, repos = "https://cran.rstudio.com") } lapply(X = pkg, FUN = library, character.only = TRUE) shinyServer(function(input,...
/indian_plum_shiny/server.R
no_license
ismayc/interactive_bio_tables
R
false
false
4,071
r
## Install and load packages if needed pkg <- c("dplyr", "readr", "googlesheets", "rhandsontable") new.pkg <- pkg[!(pkg %in% installed.packages())] if (length(new.pkg)) { install.packages(new.pkg, repos = "https://cran.rstudio.com") } lapply(X = pkg, FUN = library, character.only = TRUE) shinyServer(function(input,...
#' server_func #' #' Creates and exports the app's main server #' #' @return server, the main server #' @export #' #' @import shiny #' server_func <- function(){ server <- function(input, output){ output <- DataVisServer(input,output) output <- ModellingServer(input, output) output ...
/babyShiny/R/server.R
no_license
TomHSY/babyShiny
R
false
false
386
r
#' server_func #' #' Creates and exports the app's main server #' #' @return server, the main server #' @export #' #' @import shiny #' server_func <- function(){ server <- function(input, output){ output <- DataVisServer(input,output) output <- ModellingServer(input, output) output ...
rm(list=ls()) ptm <- proc.time() options(stringsAsFactors = F) args<-commandArgs(TRUE) library("magrittr") library("org.Hs.eg.db") #------------------source functions below--------------------------------------- conversion_table_path.TCGA <- file.path(getwd(), "function_scripts_directory", "mRNA_names_and_En...
/03.GO_similarity.01.calculation.R
no_license
BaiLab/MWMM
R
false
false
4,439
r
rm(list=ls()) ptm <- proc.time() options(stringsAsFactors = F) args<-commandArgs(TRUE) library("magrittr") library("org.Hs.eg.db") #------------------source functions below--------------------------------------- conversion_table_path.TCGA <- file.path(getwd(), "function_scripts_directory", "mRNA_names_and_En...
rm(list=ls()) library(readr) library(stringr) r=2 for (i in 1:22){ tmp <- try(read.table(paste0("/dcs04/nilanjan/data/jzhang2/pwas/pipeline/Results_GRCh38/White/pQTL/White_matchNblack/Random_10times/conditional/",r,"/chr",i,"/conditional.txt")), silent=TRUE) if ('try-error' %in% class(tmp)) { print(paste0("...
/pQTL/4_White_matchNblack/all_sample_peers/3_results.R
no_license
Jingning-Zhang/PlasmaProtein
R
false
false
1,160
r
rm(list=ls()) library(readr) library(stringr) r=2 for (i in 1:22){ tmp <- try(read.table(paste0("/dcs04/nilanjan/data/jzhang2/pwas/pipeline/Results_GRCh38/White/pQTL/White_matchNblack/Random_10times/conditional/",r,"/chr",i,"/conditional.txt")), silent=TRUE) if ('try-error' %in% class(tmp)) { print(paste0("...
require(rbenchmark) install.packages(file.path("~/src/ash/package/ashr_0.1.tar.gz"),repos=NULL,type="source") install.packages(file.path("~/src/multiseq/package/multiseq.tar.gz"),repos=NULL,type="source") library(multiseq) #load data from gene OAS1 data(OAS1,package="multiseq") M <- OAS1$M g <- OAS1$g read...
/package/multiseq.Rcheck/00_pkg_src/multiseq/tests/test_multiseq.cxx.R
no_license
esterpantaleo/multiseq
R
false
false
1,171
r
require(rbenchmark) install.packages(file.path("~/src/ash/package/ashr_0.1.tar.gz"),repos=NULL,type="source") install.packages(file.path("~/src/multiseq/package/multiseq.tar.gz"),repos=NULL,type="source") library(multiseq) #load data from gene OAS1 data(OAS1,package="multiseq") M <- OAS1$M g <- OAS1$g read...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/polya.r \name{dpolya} \alias{dpolya} \title{Compute multivariate Polya probabilities} \usage{ dpolya(x, alphas, log = TRUE) } \arguments{ \item{x}{A vector of integers representing the number of times each outcome was observed. The length m...
/man/dpolya.Rd
no_license
kylebittinger/polyafit
R
false
true
1,080
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/polya.r \name{dpolya} \alias{dpolya} \title{Compute multivariate Polya probabilities} \usage{ dpolya(x, alphas, log = TRUE) } \arguments{ \item{x}{A vector of integers representing the number of times each outcome was observed. The length m...
############################################################################# # # XLConnect # Copyright (C) 2010-2018 Mirai Solutions GmbH # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation...
/inst/unitTests/runit.workbook.writeWorksheet.R
no_license
gnbrganchan/xlconnect
R
false
false
2,133
r
############################################################################# # # XLConnect # Copyright (C) 2010-2018 Mirai Solutions GmbH # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation...
######################################## #제 3부 텍스트 데이터 분석 및 결과제시## #01 텍스트 데이터에 대한 기술통계분석### ######################################## # setwd("D:/data/code") #tm 패키지 함수를 설명했던 dtm.e 오브젝트를 사용할 것이다. #먼저 단어의 발현빈도를 구해보자. library('tm') library('stringr') #앞서 작업했던 사전처리 영어 말뭉치와 한국어 말뭉치를 불러오자. corpus.e.pp <- readRDS("Corp...
/papers/papers/Code/제3부_01_텍스트_데이터에_대한_기술통계분석.R
no_license
ingu627/R
R
false
false
14,252
r
######################################## #제 3부 텍스트 데이터 분석 및 결과제시## #01 텍스트 데이터에 대한 기술통계분석### ######################################## # setwd("D:/data/code") #tm 패키지 함수를 설명했던 dtm.e 오브젝트를 사용할 것이다. #먼저 단어의 발현빈도를 구해보자. library('tm') library('stringr') #앞서 작업했던 사전처리 영어 말뭉치와 한국어 말뭉치를 불러오자. corpus.e.pp <- readRDS("Corp...
################################################################################ ##' @title produce models projections and ensemble projections ##' ##' @author Damien G. ##' @date 10/09/2015 ##' @author damien.georges2 at gmail.com ##' ##' @description ##' This script will produce projections of species distribut...
/scripts/1_pure_climate_modelling/shrubs_pure_climat_invdist_projections.R
no_license
DamienGeorges/briscahub
R
false
false
7,710
r
################################################################################ ##' @title produce models projections and ensemble projections ##' ##' @author Damien G. ##' @date 10/09/2015 ##' @author damien.georges2 at gmail.com ##' ##' @description ##' This script will produce projections of species distribut...
#' @title Determines how many threads to use in forked applications #' #' @description #' \code{get_max_forked_threads()} Determines how many threads to give forked #' applications (like \code{mclapply()}). #' #' @author Ian M. Davis, \email{imdavis\@uw.edu} #' #' @details #' When using \code{mclapply()} we should only...
/antibiotic_usage/mbg_central/LBDCore/R/get_max_forked_threads.R
no_license
The-Oxford-GBD-group/antibiotic_modelling_code
R
false
false
2,416
r
#' @title Determines how many threads to use in forked applications #' #' @description #' \code{get_max_forked_threads()} Determines how many threads to give forked #' applications (like \code{mclapply()}). #' #' @author Ian M. Davis, \email{imdavis\@uw.edu} #' #' @details #' When using \code{mclapply()} we should only...
## This file contains two R functions that provide the ability to ## cache the inverse of a matrix ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<- NU...
/cachematrix.R
no_license
PhilTel/ProgrammingAssignment2
R
false
false
1,115
r
## This file contains two R functions that provide the ability to ## cache the inverse of a matrix ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<- NU...
#' Define simple shapes for line capping #' #' This set of functions makes it easy to define shapes at the terminal points #' of edges that are used to shorten the edges. The shapes themselves are not #' drawn, but the edges will end at the boundary of the shape rather than at #' the node position. This is especially r...
/R/geometry.R
permissive
schochastics/ggraph
R
false
false
6,721
r
#' Define simple shapes for line capping #' #' This set of functions makes it easy to define shapes at the terminal points #' of edges that are used to shorten the edges. The shapes themselves are not #' drawn, but the edges will end at the boundary of the shape rather than at #' the node position. This is especially r...
exp1raw<-read.csv("workers/experiment1_workers.csv") exp2raw<-read.csv("workers/experiment2_workers.csv") exp1raw<-exp1raw[exp1raw$judgments_count>0,] exp2raw<-exp2raw[exp2raw$judgments_count>0,] exp1<-read.csv2("experiment1/comprehension_filtered_fromoo.csv") exp2<-read.csv2("experiment2/experiment2_filter_headmoveme...
/RuntimeAndExperiment/study/checkduplicates_filtered.r
no_license
herwinvw/VisualProsody
R
false
false
987
r
exp1raw<-read.csv("workers/experiment1_workers.csv") exp2raw<-read.csv("workers/experiment2_workers.csv") exp1raw<-exp1raw[exp1raw$judgments_count>0,] exp2raw<-exp2raw[exp2raw$judgments_count>0,] exp1<-read.csv2("experiment1/comprehension_filtered_fromoo.csv") exp2<-read.csv2("experiment2/experiment2_filter_headmoveme...
# This file test on Leun's MDA model: W(M) = k * nu ^M # Get all tau and v information for different nus source("./SupportFunctions/ErrorRateFunction.R") # Function: get_error_diagrams # Input: # time: time for each earthquake in days # magnitude: the magnitude of corresponding earthquakes # nus: a vector of differ...
/skeleton/MDA/MDAModelGetData.R
no_license
tristantao/tristan_quakers
R
false
false
1,026
r
# This file test on Leun's MDA model: W(M) = k * nu ^M # Get all tau and v information for different nus source("./SupportFunctions/ErrorRateFunction.R") # Function: get_error_diagrams # Input: # time: time for each earthquake in days # magnitude: the magnitude of corresponding earthquakes # nus: a vector of differ...
Equipo 3 entre 7 y 8, 8 y 8.5 8 8 8-8.5 7.75 Equipo 4 8.5 8.5 8 8 8 8.2 Equipo 5 8 8 8 8 7 7 7.75 Equipo 1 7 7 7 7 7 Equipo 2 9 9 9 8 8 8.25
/codigo_clustering.R
no_license
hectorgvl/Codes
R
false
false
188
r
Equipo 3 entre 7 y 8, 8 y 8.5 8 8 8-8.5 7.75 Equipo 4 8.5 8.5 8 8 8 8.2 Equipo 5 8 8 8 8 7 7 7.75 Equipo 1 7 7 7 7 7 Equipo 2 9 9 9 8 8 8.25
## Business Statistics: Hwk3 ##--------------------------------- # set your working directory # setwd("~/....") #------------------------------ # Buffett vs Keynes #------------------------------ buffett = read.csv("http://vsokolov.org/courses/41000/data/buffett.csv",header=T) attach(buffett) # Plot the data ...
/courses/41000/code/hwk3s.R
no_license
VadimSokolov/vadimsokolov.github.io
R
false
false
3,673
r
## Business Statistics: Hwk3 ##--------------------------------- # set your working directory # setwd("~/....") #------------------------------ # Buffett vs Keynes #------------------------------ buffett = read.csv("http://vsokolov.org/courses/41000/data/buffett.csv",header=T) attach(buffett) # Plot the data ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gen_category.R \name{gen_category} \alias{gen_category} \title{return one of the data} \usage{ gen_category(V1, ref, V1_vname) } \arguments{ \item{V1_vname}{} } \value{ character } \description{ }
/man/gen_category.Rd
no_license
nonki1974/synthpopJP
R
false
true
276
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gen_category.R \name{gen_category} \alias{gen_category} \title{return one of the data} \usage{ gen_category(V1, ref, V1_vname) } \arguments{ \item{V1_vname}{} } \value{ character } \description{ }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dataops_subset.R \name{drSubset} \alias{drSubset} \title{Subsetting Distributed Data Frames} \usage{ drSubset(data, subset = NULL, select = NULL, drop = FALSE, preTransFn = NULL, maxRows = 5e+05, params = NULL, packages = NULL, control = ...
/man/drSubset.Rd
permissive
lhsego/datadr
R
false
true
1,752
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dataops_subset.R \name{drSubset} \alias{drSubset} \title{Subsetting Distributed Data Frames} \usage{ drSubset(data, subset = NULL, select = NULL, drop = FALSE, preTransFn = NULL, maxRows = 5e+05, params = NULL, packages = NULL, control = ...
library(tidyverse) library(shiny) library(usmap) library(ggplot2) cTable <- read.csv("cTable.csv",header=TRUE) # Define UI for application that draws the maps ui <- navbarPage("My Map", tabPanel("Interactive Map", # Sidebar with a slider input for States sidebarLayout( sidebarPanel( ...
/app.R
no_license
Maggieer01/Extended-Mapping-Assignment
R
false
false
3,189
r
library(tidyverse) library(shiny) library(usmap) library(ggplot2) cTable <- read.csv("cTable.csv",header=TRUE) # Define UI for application that draws the maps ui <- navbarPage("My Map", tabPanel("Interactive Map", # Sidebar with a slider input for States sidebarLayout( sidebarPanel( ...
library(iglu) data_test = c(101,121,141,151,161,171,191,201,231,251) test_that("igc returns true value for vector", { expect_equal((igc(data_test)),8.443412, tolerance = 1e-04) expect_equal((igc(c(40,60, data_test[3:10]))), 25.77675, tolerance = 1e-04) }) num_vec_test = rnorm(10) test_that("igc returns same value...
/tests/testthat/test-igc.R
no_license
trippsapientae/iglu
R
false
false
455
r
library(iglu) data_test = c(101,121,141,151,161,171,191,201,231,251) test_that("igc returns true value for vector", { expect_equal((igc(data_test)),8.443412, tolerance = 1e-04) expect_equal((igc(c(40,60, data_test[3:10]))), 25.77675, tolerance = 1e-04) }) num_vec_test = rnorm(10) test_that("igc returns same value...
par(mar=c(1,4,1,1)) galls<-read.csv("~/Dropbox/Courses/Popgen_teaching_Notes/Journal_figs/Quant_gen/Weis_Gorman_gall_size_stablizing_sel/gall_size.csv") d<-seq(5,40,length=1000) fitness.ind.surf<-0.21+0.42*exp(-0.5*((d-24.3)/3.84)^2) wbar<-sapply(d,function(my.xbar){ my.norm<-dnorm(d,mean=my.xbar,sd=4) mean(my.n...
/Journal_figs/Quant_gen/Weis_Gorman_gall_size_stablizing_sel/gall_size_fitness_landscape.R
permissive
OasisYE/popgen-notes
R
false
false
1,997
r
par(mar=c(1,4,1,1)) galls<-read.csv("~/Dropbox/Courses/Popgen_teaching_Notes/Journal_figs/Quant_gen/Weis_Gorman_gall_size_stablizing_sel/gall_size.csv") d<-seq(5,40,length=1000) fitness.ind.surf<-0.21+0.42*exp(-0.5*((d-24.3)/3.84)^2) wbar<-sapply(d,function(my.xbar){ my.norm<-dnorm(d,mean=my.xbar,sd=4) mean(my.n...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MoveNetCreateHi.R \name{MoveNetCreateHi} \alias{MoveNetCreateHi} \title{MoveNetCreate} \usage{ MoveNetCreateHi( data, intwindow, mindate, maxdate, netwindow, overlap, nextonly = FALSE, index = FALSE ) } \arguments{ \item{data}...
/man/MoveNetCreateHi.Rd
no_license
matthewsilk/CMRnet
R
false
true
3,080
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MoveNetCreateHi.R \name{MoveNetCreateHi} \alias{MoveNetCreateHi} \title{MoveNetCreate} \usage{ MoveNetCreateHi( data, intwindow, mindate, maxdate, netwindow, overlap, nextonly = FALSE, index = FALSE ) } \arguments{ \item{data}...
utils::globalVariables(c("normalizer","constantValue","constantRequired","constantEstimate","C", "ARValue","ARRequired","AREstimate","MAValue","MARequired","MAEstimate", "yForecastStart","nonZeroARI","nonZeroMA")); #' Multiple Seasonal ARIMA #' #' Function constructs M...
/R/msarima.R
no_license
AlephNotation/smooth
R
false
false
38,645
r
utils::globalVariables(c("normalizer","constantValue","constantRequired","constantEstimate","C", "ARValue","ARRequired","AREstimate","MAValue","MARequired","MAEstimate", "yForecastStart","nonZeroARI","nonZeroMA")); #' Multiple Seasonal ARIMA #' #' Function constructs M...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geometrical_data_analysis.R \name{ggmca} \alias{ggmca} \alias{ggmca_data} \alias{ggmca_plot} \title{Readable and Interactive graph for multiple correspondence analysis} \usage{ ggmca( res.mca = res.mca, sup_vars, tooltip_vars...
/man/ggmca.Rd
no_license
cran/ggfacto
R
false
true
8,749
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geometrical_data_analysis.R \name{ggmca} \alias{ggmca} \alias{ggmca_data} \alias{ggmca_plot} \title{Readable and Interactive graph for multiple correspondence analysis} \usage{ ggmca( res.mca = res.mca, sup_vars, tooltip_vars...
library(umx) ### Name: umx_standardize_IP ### Title: umx_standardize_IP ### Aliases: umx_standardize_IP ### ** Examples ## Not run: ##D model = umx_standardize_IP(model) ## End(Not run)
/data/genthat_extracted_code/umx/examples/umx_standardize_IP.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
194
r
library(umx) ### Name: umx_standardize_IP ### Title: umx_standardize_IP ### Aliases: umx_standardize_IP ### ** Examples ## Not run: ##D model = umx_standardize_IP(model) ## End(Not run)
##Have total emissions from PM2.5 decreased in the Baltimore City, Maryland (fips == "24510") from 1999 to 2008? ##Use the base plotting system to make a plot answering this question. #Setting working directory setwd("C:/Users/User/exploratory_data_analysis_project2") # Load the data sets from working directory NE...
/plot2.R
no_license
sr-thapa/exploratory_data_analysis_project2
R
false
false
876
r
##Have total emissions from PM2.5 decreased in the Baltimore City, Maryland (fips == "24510") from 1999 to 2008? ##Use the base plotting system to make a plot answering this question. #Setting working directory setwd("C:/Users/User/exploratory_data_analysis_project2") # Load the data sets from working directory NE...
#' Given the identifier for a data object, return all metadata about the object #' #' @export #' @param id (character) The EOL data object identifier #' @param taxonomy (logical) Whether to return any taxonomy details from different #' taxon hierarchy providers, in an array named \code{taxonconcepts} #' @param usekey (...
/R/eol_dataobjects.R
permissive
jimmyodonnell/taxize
R
false
false
1,573
r
#' Given the identifier for a data object, return all metadata about the object #' #' @export #' @param id (character) The EOL data object identifier #' @param taxonomy (logical) Whether to return any taxonomy details from different #' taxon hierarchy providers, in an array named \code{taxonconcepts} #' @param usekey (...
#! 5 + 2 seq(from = 0, to = 100, by = 2) 10 - 3 # subtraction 10 * 3 # multiplication 10 ^ 3 # exponentiation 10 / 3 # division 10 %% 3 # modulo 10 %/% 3 # integer division 5 > 2 # 5 greater than 2? 5 < 2 # 5 less than 2? 5 == 2 # 5 equal to 2? 5 != 2 # 5 not equal to 2? 5 <= 2 # 5 less than or equal...
/msds/msds401/04_The R Console and Our First R Objects-1-1.R
no_license
uberj/School
R
false
false
1,302
r
#! 5 + 2 seq(from = 0, to = 100, by = 2) 10 - 3 # subtraction 10 * 3 # multiplication 10 ^ 3 # exponentiation 10 / 3 # division 10 %% 3 # modulo 10 %/% 3 # integer division 5 > 2 # 5 greater than 2? 5 < 2 # 5 less than 2? 5 == 2 # 5 equal to 2? 5 != 2 # 5 not equal to 2? 5 <= 2 # 5 less than or equal...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get.R \name{make_ramlegacy} \alias{make_ramlegacy} \title{Make a local sqlite3 database with the RAM Legacy Stock Stock Assessment Database} \usage{ make_ramlegacy(zip_file = "RLSADB_v4.3_(assessment_data_only)_access.zip", acc_file = "RLSA...
/man/make_ramlegacy.Rd
no_license
seananderson/ramlegacy
R
false
true
1,362
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get.R \name{make_ramlegacy} \alias{make_ramlegacy} \title{Make a local sqlite3 database with the RAM Legacy Stock Stock Assessment Database} \usage{ make_ramlegacy(zip_file = "RLSADB_v4.3_(assessment_data_only)_access.zip", acc_file = "RLSA...
colourlist=c("black", "red", "blue", "green", "magenta", "brown"); #testtable4 <- read.table("testall.dat", header=TRUE, sep ="\t", comment.char = "") testtable4a <- read.table("up-tt20000-tu100-te1-ni100-na100-pr0.01-mr4r9999t20000.tdatanh.dat", header=TRUE, sep ="\t", comment.char = "", fill=TRUE) lowerlist <- list(...
/networks/CopyModel/R/test4nlm.r
no_license
xuzhikethinker/PRG
R
false
false
638
r
colourlist=c("black", "red", "blue", "green", "magenta", "brown"); #testtable4 <- read.table("testall.dat", header=TRUE, sep ="\t", comment.char = "") testtable4a <- read.table("up-tt20000-tu100-te1-ni100-na100-pr0.01-mr4r9999t20000.tdatanh.dat", header=TRUE, sep ="\t", comment.char = "", fill=TRUE) lowerlist <- list(...
#just looking at various old RoS files to sanity-check the regist field library(readstata13) RoS_oldcheckz <- read.dta13("JessieExtDrive/STATA_analysis/RoS/dataset_RoS_version1_inclseller.dta") #again, missing regists. About the same number. length(RoS_oldcheckz$regist[RoS_oldcheckz$regist==""])
/checkRoSold.R
no_license
DanOlner/housingdata
R
false
false
300
r
#just looking at various old RoS files to sanity-check the regist field library(readstata13) RoS_oldcheckz <- read.dta13("JessieExtDrive/STATA_analysis/RoS/dataset_RoS_version1_inclseller.dta") #again, missing regists. About the same number. length(RoS_oldcheckz$regist[RoS_oldcheckz$regist==""])
#Calculating weights for convenient sample ##See also tutorial: see: http://tophcito.blogspot.com/2014/04/survey-computing-your-own-post.html setwd("C:/Users/vrw657/Dropbox/Data") library(survey) library(readxl) conv <- read_excel("Data stripped of free text/KUSUND_1805_AJM.xlsx") #Age table(conv$q2, useNA="always") ...
/weights_Lifelines.R
no_license
Tirgit/KU-COVID-19
R
false
false
2,851
r
#Calculating weights for convenient sample ##See also tutorial: see: http://tophcito.blogspot.com/2014/04/survey-computing-your-own-post.html setwd("C:/Users/vrw657/Dropbox/Data") library(survey) library(readxl) conv <- read_excel("Data stripped of free text/KUSUND_1805_AJM.xlsx") #Age table(conv$q2, useNA="always") ...
/DbtTools/Projections/man/MeanRelativeRankError.Rd
no_license
markus-flicke/KD_Projekt_1
R
false
false
550
rd
\name{CovMMest-class} \Rdversion{1.1} \docType{class} \alias{CovMMest-class} \title{ MM Estimates of Multivariate Location and Scatter } \description{ This class, derived from the virtual class \code{"CovRobust"} accomodates MM Estimates of multivariate location and scatter.} \section{Objects from the Clas...
/man/CovMMest-class.Rd
no_license
armstrtw/rrcov
R
false
false
2,176
rd
\name{CovMMest-class} \Rdversion{1.1} \docType{class} \alias{CovMMest-class} \title{ MM Estimates of Multivariate Location and Scatter } \description{ This class, derived from the virtual class \code{"CovRobust"} accomodates MM Estimates of multivariate location and scatter.} \section{Objects from the Clas...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ZIP_test.R \name{ZIP_test} \alias{ZIP_test} \title{A differential abundance test function} \usage{ ZIP_test(nondisp_OTU, class, log_sizefactor) } \arguments{ \item{nondisp_OTU}{non-overdispersed OTU table in form of OTUs x samples} \item{cla...
/man/ZIP_test.Rd
no_license
dgtraining2021/RioNorm2
R
false
true
609
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ZIP_test.R \name{ZIP_test} \alias{ZIP_test} \title{A differential abundance test function} \usage{ ZIP_test(nondisp_OTU, class, log_sizefactor) } \arguments{ \item{nondisp_OTU}{non-overdispersed OTU table in form of OTUs x samples} \item{cla...
############################################### #Funktion um die Events zu speichern event<-function(pfad="C:/Users/ThinkPad/Documents/Masterarbeit/daten/events/"){ #package für datumsformatierung library(lubridate) #package um .xlsx dateien einzulesen library(readxl) #einlesen der eventstabelle event<-re...
/event.R
no_license
laurin-f/durchf-hrung
R
false
false
807
r
############################################### #Funktion um die Events zu speichern event<-function(pfad="C:/Users/ThinkPad/Documents/Masterarbeit/daten/events/"){ #package für datumsformatierung library(lubridate) #package um .xlsx dateien einzulesen library(readxl) #einlesen der eventstabelle event<-re...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.iot_operations.R \name{get_ota_update} \alias{get_ota_update} \title{Gets an OTA update} \usage{ get_ota_update(otaUpdateId) } \arguments{ \item{otaUpdateId}{[required] The OTA update ID.} } \description{ Gets an OTA update. } \section{A...
/service/paws.iot/man/get_ota_update.Rd
permissive
CR-Mercado/paws
R
false
true
403
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.iot_operations.R \name{get_ota_update} \alias{get_ota_update} \title{Gets an OTA update} \usage{ get_ota_update(otaUpdateId) } \arguments{ \item{otaUpdateId}{[required] The OTA update ID.} } \description{ Gets an OTA update. } \section{A...
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 find_incomplete_blocks <- function(mat) { .Call('_ascr_find_incomplete_blocks', PACKAGE = 'ascr', mat) } blockify <- function(block, reqss) { .Call('_ascr_blockify', PACKAGE = 'ascr', ...
/R/RcppExports.R
no_license
b-steve/ascr
R
false
false
2,790
r
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 find_incomplete_blocks <- function(mat) { .Call('_ascr_find_incomplete_blocks', PACKAGE = 'ascr', mat) } blockify <- function(block, reqss) { .Call('_ascr_blockify', PACKAGE = 'ascr', ...
support_files <- "/Users/scott/Google Drive/PEPFAR/COP Targets/COP 19/3) Testing & Deployment/Support Files" output_path <- "/Users/scott/Google Drive/PEPFAR/COP Targets/COP 19/5) Maintenance & Support/Final Data Packs/Outputs" secrets <- "/Users/scott/.secrets/triage.json" ### END EDITS ##### # devtools::install_git(...
/data-raw/run.R
permissive
Solanrewaju/datapackr
R
false
false
2,578
r
support_files <- "/Users/scott/Google Drive/PEPFAR/COP Targets/COP 19/3) Testing & Deployment/Support Files" output_path <- "/Users/scott/Google Drive/PEPFAR/COP Targets/COP 19/5) Maintenance & Support/Final Data Packs/Outputs" secrets <- "/Users/scott/.secrets/triage.json" ### END EDITS ##### # devtools::install_git(...
###################################################### # Purpose: Run all necessary scripts after an update in one of the table of the database # Developped by: Valentine Herrmann - HerrmannV@si.edu # R version 3.5.1 (2018-07-02) ###################################################### # Clean environment #### rm(list...
/ForC-master/scripts/0_Run_All.R
no_license
mingkaijiang/ForC_analysis
R
false
false
1,822
r
###################################################### # Purpose: Run all necessary scripts after an update in one of the table of the database # Developped by: Valentine Herrmann - HerrmannV@si.edu # R version 3.5.1 (2018-07-02) ###################################################### # Clean environment #### rm(list...
# correlation library(dplyr) # select only Numeric variables data3 %>% select_if(is.numeric) -> data_num1 # select only factors variable data3 %>% select_if(is.factor) -> data_fact1 # correlation matrix cor<-round(cor(data_num1, method = "pearson", use = "complete.obs"),2) library(ggcorrplot) ggcorrplo...
/Donation_statistical part.R
no_license
nehwal512/Optimizing-the-Marketing-Campaign
R
false
false
781
r
# correlation library(dplyr) # select only Numeric variables data3 %>% select_if(is.numeric) -> data_num1 # select only factors variable data3 %>% select_if(is.factor) -> data_fact1 # correlation matrix cor<-round(cor(data_num1, method = "pearson", use = "complete.obs"),2) library(ggcorrplot) ggcorrplo...
# Load the libraries library(arules) library(arulesViz) library(datasets) # Load the data set data(Groceries) #Lets explore the data before we make any rules: # Create an item frequency plot for the top 20 items itemFrequencyPlot(Groceries,topN=20,type="absolute") #You will always have to pass the...
/market_basket_analysis.r
no_license
harshal-mohagaonkar/MLcodes
R
false
false
1,609
r
# Load the libraries library(arules) library(arulesViz) library(datasets) # Load the data set data(Groceries) #Lets explore the data before we make any rules: # Create an item frequency plot for the top 20 items itemFrequencyPlot(Groceries,topN=20,type="absolute") #You will always have to pass the...
#' @importFrom magrittr "%>%" NULL #' @importFrom stats cor NULL #' @importFrom methods .valueClassTest NULL #' @importFrom methods new NULL # `.` <- NULL utils::globalVariables(c(".", ".data"), package = "parn94")
/R/imports.R
permissive
pmcharrison/parn94
R
false
false
220
r
#' @importFrom magrittr "%>%" NULL #' @importFrom stats cor NULL #' @importFrom methods .valueClassTest NULL #' @importFrom methods new NULL # `.` <- NULL utils::globalVariables(c(".", ".data"), package = "parn94")
#install.packages("googledrive") #install.packages("tidyverse") require(tidyverse) require(googledrive) require(stringr) require(lubridate) require(reshape) require(gtools) require(dplyr) #get folder URL from google drive with discharge data folder_url<-"https://drive.google.com/drive/folders/19lemMC09T1kajzryEx5RUoOs...
/WRTDS_prep_GD.R
permissive
kathijo/SiSyn
R
false
false
4,808
r
#install.packages("googledrive") #install.packages("tidyverse") require(tidyverse) require(googledrive) require(stringr) require(lubridate) require(reshape) require(gtools) require(dplyr) #get folder URL from google drive with discharge data folder_url<-"https://drive.google.com/drive/folders/19lemMC09T1kajzryEx5RUoOs...
.onAttach <- function(libname, pkgname) { packageStartupMessage("This is MicrobeR 0.3.2. See https://jbisanz.github.io/MicrobeR/ for usage information.") }
/R/onAttach.R
no_license
amandapeters001/MicrobeR
R
false
false
158
r
.onAttach <- function(libname, pkgname) { packageStartupMessage("This is MicrobeR 0.3.2. See https://jbisanz.github.io/MicrobeR/ for usage information.") }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plausible_values.R \name{plausible_values} \alias{plausible_values} \title{Draw plausible values} \usage{ plausible_values( dataSrc, parms = NULL, predicate = NULL, covariates = NULL, nPV = 1, use_draw = NULL, prior...
/man/plausible_values.Rd
no_license
cran/dexter
R
false
true
3,142
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plausible_values.R \name{plausible_values} \alias{plausible_values} \title{Draw plausible values} \usage{ plausible_values( dataSrc, parms = NULL, predicate = NULL, covariates = NULL, nPV = 1, use_draw = NULL, prior...
#' Prepares the cgroup argument #' #' Due to the complicated structure of multilevel cgroups there #' some preparation for the cgroup options is required. #' #' @inheritParams htmlTable #' @return `list(cgroup, n.cgroup, align.cgroup, cgroup_spacer_cells)` #' @keywords internal #' @family hidden helper functions for h...
/R/htmlTable_helpers_prepareCgroup.R
no_license
gforge/htmlTable
R
false
false
8,565
r
#' Prepares the cgroup argument #' #' Due to the complicated structure of multilevel cgroups there #' some preparation for the cgroup options is required. #' #' @inheritParams htmlTable #' @return `list(cgroup, n.cgroup, align.cgroup, cgroup_spacer_cells)` #' @keywords internal #' @family hidden helper functions for h...
context("Dirichlet Non Conjugate Functions") num_test_points = 10 data_test = rweibull(num_test_points, 1,1) priorParameters_test = matrix(c(1,1,1), ncol=3) weibull_object_test <- WeibullMixtureCreate(priorParameters_test, 1) test_that("Dirichlet Nonconjugate Class", { dpobj <- DirichletProcessCreate(data_test, ...
/tests/testthat/test_nonconjugate.R
no_license
cran/dirichletprocess
R
false
false
1,982
r
context("Dirichlet Non Conjugate Functions") num_test_points = 10 data_test = rweibull(num_test_points, 1,1) priorParameters_test = matrix(c(1,1,1), ncol=3) weibull_object_test <- WeibullMixtureCreate(priorParameters_test, 1) test_that("Dirichlet Nonconjugate Class", { dpobj <- DirichletProcessCreate(data_test, ...
library(tidyLPA) ### Name: print.tidyLPA ### Title: Print tidyLPA ### Aliases: print.tidyLPA ### ** Examples ## Not run: ##D if(interactive()){ ##D iris %>% ##D select(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) %>% ##D estimate_profiles(3) ##D } ## End(Not run)
/data/genthat_extracted_code/tidyLPA/examples/print.tidyLPA.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
289
r
library(tidyLPA) ### Name: print.tidyLPA ### Title: Print tidyLPA ### Aliases: print.tidyLPA ### ** Examples ## Not run: ##D if(interactive()){ ##D iris %>% ##D select(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) %>% ##D estimate_profiles(3) ##D } ## End(Not run)
#' Summarize a plate and a add a column for the normalized population #' #' This function takes a list of plates as input and returns a single data frame with data summarized for each well/condition pair. As input, this function takes a two element list, with the first element being a data frame consisting of all of th...
/R/summarizeSorted.R
no_license
TShimko126/SorterDataAssemblr
R
false
false
1,739
r
#' Summarize a plate and a add a column for the normalized population #' #' This function takes a list of plates as input and returns a single data frame with data summarized for each well/condition pair. As input, this function takes a two element list, with the first element being a data frame consisting of all of th...
# Function Gen_formula --------------------------------------------------------- GenFormula <- function(vars, logs, p = 5, q = 5, form = c("plm", "dynlm")){ # Function to create formula for ARDL/ECM model # input: # vars...list with variable names as characters # assume data ...
/2_data/src/fun/fun_genformula.R
no_license
lude-ethz/mscthesis
R
false
false
2,779
r
# Function Gen_formula --------------------------------------------------------- GenFormula <- function(vars, logs, p = 5, q = 5, form = c("plm", "dynlm")){ # Function to create formula for ARDL/ECM model # input: # vars...list with variable names as characters # assume data ...
#' @title Fit a z-curve #' #' @description \code{zcurve} is used to fit z-curve models. The function #' takes input of z-statistics or two-sided p-values and returns object of #' class \code{"zcurve"} that can be further interrogated by summary and plot #' function. It default to EM model, but different version o...
/zcurve/R/main.R
no_license
akhikolla/TestedPackages-NoIssues
R
false
false
25,544
r
#' @title Fit a z-curve #' #' @description \code{zcurve} is used to fit z-curve models. The function #' takes input of z-statistics or two-sided p-values and returns object of #' class \code{"zcurve"} that can be further interrogated by summary and plot #' function. It default to EM model, but different version o...
#------------------------------------------------------------------- # FileName: B2B_CF_Person.R # INPUT: The User Business Review Score CSV file # OUTPUT: Two graphs giving # Use: To perform Item-Item Collaborative Filtering using Pearson Similarity # We have used Pearson Similarity with Weighted prediction...
/Task1/R/B2B_CF_Pearson.R
no_license
Jivitesh-Poojary-zz/Information-Retrieval
R
false
false
4,494
r
#------------------------------------------------------------------- # FileName: B2B_CF_Person.R # INPUT: The User Business Review Score CSV file # OUTPUT: Two graphs giving # Use: To perform Item-Item Collaborative Filtering using Pearson Similarity # We have used Pearson Similarity with Weighted prediction...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/api_jt.R \name{print.jt} \alias{print.jt} \title{A print method for junction trees} \usage{ \method{print}{jt}(x, ...) } \arguments{ \item{x}{A junction tree object, \code{jt}.} \item{...}{For S3 compatability. Not used.} } \description{ A p...
/fuzzedpackages/jti/man/print.jt.Rd
no_license
akhikolla/testpackages
R
false
true
382
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/api_jt.R \name{print.jt} \alias{print.jt} \title{A print method for junction trees} \usage{ \method{print}{jt}(x, ...) } \arguments{ \item{x}{A junction tree object, \code{jt}.} \item{...}{For S3 compatability. Not used.} } \description{ A p...
# ***Use For Reconciling Student Drops and Adds Before Student Surveys are Released*** # Author: Aaron G. Baca, UNM/IT, 6/12/17 # Step 1. Download the 'UserExport_2017SummerCourses' from your EvaluationKIT project, that you want to update drop/add student info to; # Step 2. Upldate line '24' with the exact name of the...
/R Prog - Reconciles Student Drop Adds - Creates Upload File-1.0.R
no_license
aarongbaca/Data-Cleansing
R
false
false
13,627
r
# ***Use For Reconciling Student Drops and Adds Before Student Surveys are Released*** # Author: Aaron G. Baca, UNM/IT, 6/12/17 # Step 1. Download the 'UserExport_2017SummerCourses' from your EvaluationKIT project, that you want to update drop/add student info to; # Step 2. Upldate line '24' with the exact name of the...
testlist <- list(doy = -1.72131968218895e+83, latitude = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), temp = c(8.5728629954997e-312, 1.56898424048198e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, 2.6...
/meteor/inst/testfiles/ET0_ThornthwaiteWilmott/AFL_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1615831763-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
734
r
testlist <- list(doy = -1.72131968218895e+83, latitude = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), temp = c(8.5728629954997e-312, 1.56898424048198e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, 2.6...
if(file.exists("~/Projects/DFS/")) { setwd("~/Projects/DFS/") } else { setwd("~/Documents/DFS/") } ### Save DFS Directory Path original_wd <- getwd() ### Load all Scraping Functions setwd('scrapingContestData') file.sources = list.files(pattern="*.R") sapply(file.sources,source,.GlobalEnv) setwd(original_wd...
/NBA/NBA_scrape_all_files.R
no_license
alandu20/dailyfantasy
R
false
false
2,900
r
if(file.exists("~/Projects/DFS/")) { setwd("~/Projects/DFS/") } else { setwd("~/Documents/DFS/") } ### Save DFS Directory Path original_wd <- getwd() ### Load all Scraping Functions setwd('scrapingContestData') file.sources = list.files(pattern="*.R") sapply(file.sources,source,.GlobalEnv) setwd(original_wd...
context("filter proposed points") test_that("filter proposed points", { lrn = makeLearner("regr.km", predict.type = "se") # check that flag is not in optpath if not enabled ctrl = makeMBOControl() ctrl = setMBOControlTermination(ctrl, iters = 1L) ctrl = setMBOControlInfill(ctrl, filter.proposed.points = FAL...
/tests/testthat/test_filter_proposed.R
no_license
DanielKuehn87/mlrMBO
R
false
false
1,258
r
context("filter proposed points") test_that("filter proposed points", { lrn = makeLearner("regr.km", predict.type = "se") # check that flag is not in optpath if not enabled ctrl = makeMBOControl() ctrl = setMBOControlTermination(ctrl, iters = 1L) ctrl = setMBOControlInfill(ctrl, filter.proposed.points = FAL...
################################# #### Single Sort #### Not Adjusted by FF3F load("F:/我的论文/第五篇/RData/da_all_m.RData") load("F:/我的论文/第五篇/主代码/individual investor preference/RData/da_breadth_5y.RData") load("F:/我的论文/第五篇/RData/FF3F_A_nm.RData") da_all_m <- da_all_m[,.(ym,SecCode,ret_e,size)] da_m <- merge(da_all_m,da_brea...
/稳健性检验/breadth/single_sort_breadth_5y.R
no_license
jaynewton/paper_6
R
false
false
2,787
r
################################# #### Single Sort #### Not Adjusted by FF3F load("F:/我的论文/第五篇/RData/da_all_m.RData") load("F:/我的论文/第五篇/主代码/individual investor preference/RData/da_breadth_5y.RData") load("F:/我的论文/第五篇/RData/FF3F_A_nm.RData") da_all_m <- da_all_m[,.(ym,SecCode,ret_e,size)] da_m <- merge(da_all_m,da_brea...
library(readr) library(dplyr) library(DT) library(knitr) library(forecast) library(fpp2) library(ggfortify) directory <- "D:/data_analytics/nyse/prices.csv" fundamentals_dir <- "D:/data_analytics/nyse/fundamentals.csv" nyse_data <- read_csv(directory) fundamentals_data <- read_csv(fundamentals_dir) dim(nyse_data) co...
/Apple_NYSE/nyse/ARIMA - NYSE Forescating.R
no_license
kprakhar27/data_analytics-IITB
R
false
false
2,608
r
library(readr) library(dplyr) library(DT) library(knitr) library(forecast) library(fpp2) library(ggfortify) directory <- "D:/data_analytics/nyse/prices.csv" fundamentals_dir <- "D:/data_analytics/nyse/fundamentals.csv" nyse_data <- read_csv(directory) fundamentals_data <- read_csv(fundamentals_dir) dim(nyse_data) co...
library(shiny) shinyUI(fluidPage(theme = shinytheme("cerulean"), titlePanel("Slovensko vinogradništvo"), tabsetPanel( tabPanel("Države in avtohtone trtne sorte ", sidebarPanel(selectInput(inputId = "drzava", ...
/shiny/ui.R
permissive
mpracek/APPR-2017-18
R
false
false
2,077
r
library(shiny) shinyUI(fluidPage(theme = shinytheme("cerulean"), titlePanel("Slovensko vinogradništvo"), tabsetPanel( tabPanel("Države in avtohtone trtne sorte ", sidebarPanel(selectInput(inputId = "drzava", ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_connections.R \name{get_connections} \alias{get_connections} \title{Call that lists out the connections of a superhero.} \usage{ get_connections(access_token = Sys.getenv("SUPERHERO_TOKEN"), character_id) } \arguments{ \item{access_token}...
/man/get_connections.Rd
permissive
Edgar-Zamora/superheroR
R
false
true
730
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_connections.R \name{get_connections} \alias{get_connections} \title{Call that lists out the connections of a superhero.} \usage{ get_connections(access_token = Sys.getenv("SUPERHERO_TOKEN"), character_id) } \arguments{ \item{access_token}...
source("incl/start.R") message("*** availableCores() ...") ## detectCores() may return NA_integer_ n <- parallel::detectCores() message(sprintf("detectCores() = %d", n)) stopifnot(length(n) == 1, is.numeric(n)) ## Default n <- availableCores() message(sprintf("availableCores() = %d", n)) stopifnot(length(n) == 1, is...
/tests/availableCores.R
no_license
MINATILO/parallelly
R
false
false
2,083
r
source("incl/start.R") message("*** availableCores() ...") ## detectCores() may return NA_integer_ n <- parallel::detectCores() message(sprintf("detectCores() = %d", n)) stopifnot(length(n) == 1, is.numeric(n)) ## Default n <- availableCores() message(sprintf("availableCores() = %d", n)) stopifnot(length(n) == 1, is...
# sgejobs::job_loop( # loops = list(spetype = c( # "wholegenome", "targeted" # )), # name = "BayesSpace_k_search", # create_shell = TRUE, # queue = "bluejay", # memory = "100G", # task_num = 28 # ) ## Required libraries library("getopt") ## Specify parameters spec <- matrix(c( ...
/code/08_harmony_BayesSpace/02_BayesSpace_k_search.R
no_license
LieberInstitute/Visium_SPG_AD
R
false
false
2,641
r
# sgejobs::job_loop( # loops = list(spetype = c( # "wholegenome", "targeted" # )), # name = "BayesSpace_k_search", # create_shell = TRUE, # queue = "bluejay", # memory = "100G", # task_num = 28 # ) ## Required libraries library("getopt") ## Specify parameters spec <- matrix(c( ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/import_kinpairs.R \name{df_to_kinpair} \alias{df_to_kinpair} \title{Convert dataframe or tibble to \code{\link{KinPairData}} class} \usage{ df_to_kinpair(data, kinship = NULL, lifestage = NULL, lifecheck = TRUE) } \arguments{ \item{d...
/man/df_to_kinpair.Rd
no_license
cran/kindisperse
R
false
true
1,927
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/import_kinpairs.R \name{df_to_kinpair} \alias{df_to_kinpair} \title{Convert dataframe or tibble to \code{\link{KinPairData}} class} \usage{ df_to_kinpair(data, kinship = NULL, lifestage = NULL, lifecheck = TRUE) } \arguments{ \item{d...
## Packages and themes library(tidyverse) library(readxl) library(mgcv) theme_clean <- theme_bw(base_family="Calibri") + theme(legend.position = "top", legend.title = element_text(size = 12), legend.text = element_text(size = 12), plot.title = element_text(size = 18, face = "bold"), ...
/House Effects/House Effects.R
no_license
anthonybmasters/rstudio-cloud
R
false
false
5,216
r
## Packages and themes library(tidyverse) library(readxl) library(mgcv) theme_clean <- theme_bw(base_family="Calibri") + theme(legend.position = "top", legend.title = element_text(size = 12), legend.text = element_text(size = 12), plot.title = element_text(size = 18, face = "bold"), ...
## Program for caching the inverse of a matrix ## ## Given the fact that calculating the inverse of a matrix ## can result in a costly computation, caching the inverse ## of the matrix gives some benefits in avoiding repeated ## calculation. The two following functions cache the inverse ## of a matrix. ## Given a ma...
/cachematrix.R
no_license
pajolma/ProgrammingAssignment2
R
false
false
1,255
r
## Program for caching the inverse of a matrix ## ## Given the fact that calculating the inverse of a matrix ## can result in a costly computation, caching the inverse ## of the matrix gives some benefits in avoiding repeated ## calculation. The two following functions cache the inverse ## of a matrix. ## Given a ma...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/timeline.R \name{timeline} \alias{timeline} \title{Create an timeline information for the main body of a dashboard.} \usage{ timeline(timeline_df = NULL) } \description{ An information timeline } \examples{ ## Only run this example in interac...
/man/timeline.Rd
no_license
jeevanyue/ShinyFuncs
R
false
true
848
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/timeline.R \name{timeline} \alias{timeline} \title{Create an timeline information for the main body of a dashboard.} \usage{ timeline(timeline_df = NULL) } \description{ An information timeline } \examples{ ## Only run this example in interac...
#' Conversion table of Datastream to ISO currency codes #' @format A data frame with 161 rows and 3 variables: #' \describe{ #' \item{dsCode}{the datastream code} #' \item{isoCode}{the ISO code for the currency} #' \item{primeCode}{primaryCode for currency or alternative} #' \item{Multiplier}{the units of the c...
/R/data.R
permissive
GreenGrassBlueOcean/DatastreamDSWS2R
R
false
false
350
r
#' Conversion table of Datastream to ISO currency codes #' @format A data frame with 161 rows and 3 variables: #' \describe{ #' \item{dsCode}{the datastream code} #' \item{isoCode}{the ISO code for the currency} #' \item{primeCode}{primaryCode for currency or alternative} #' \item{Multiplier}{the units of the c...
#' Get metadata for objects in the Metropolitan Museum of Art. #' #' @importFrom httr GET content stop_for_status config #' @importFrom jsonlite fromJSON #' @importFrom XML xpathApply xpathSApply xmlValue htmlParse xmlChildren xmlGetAttr readHTMLTable #' xmlToList #' @importFrom xml2 read_html xml_find_first xml_text x...
/R/met.R
permissive
histlib/musemeta
R
false
false
2,119
r
#' Get metadata for objects in the Metropolitan Museum of Art. #' #' @importFrom httr GET content stop_for_status config #' @importFrom jsonlite fromJSON #' @importFrom XML xpathApply xpathSApply xmlValue htmlParse xmlChildren xmlGetAttr readHTMLTable #' xmlToList #' @importFrom xml2 read_html xml_find_first xml_text x...
#' Title #' #' @param mu #' @param sigma #' @param distribution #' @param age #' @param tL #' @param tU #' #' @return NULL #' @export #' #' @examples #' \dontrun{ #' #' BearingCage.ld <- frame.to.ld(bearingcage, #' response.column = 1, #' censor.column...
/R/CondProbInterval.R
no_license
anhnguyendepocen/SMRD
R
false
false
1,660
r
#' Title #' #' @param mu #' @param sigma #' @param distribution #' @param age #' @param tL #' @param tU #' #' @return NULL #' @export #' #' @examples #' \dontrun{ #' #' BearingCage.ld <- frame.to.ld(bearingcage, #' response.column = 1, #' censor.column...
library(ape) testtree <- read.tree("2428_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="2428_0_unrooted.txt")
/codeml_files/newick_trees_processed/2428_0/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("2428_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="2428_0_unrooted.txt")
# Springboard: Foundations of Data Science Workshop # Data Wrangling Exercise 2 # Author Dora L. Borg library(dplyr) library(tidyr) titanic_original <- read.csv("titanic_original.csv") titanic <- titanic_original # replace missing value in embarked colomn with S (embarked at Southampton) titanic$embarked[titanic$em...
/titanic_datawrangling_code.R
no_license
doralborg/DataWranglingTask2
R
false
false
725
r
# Springboard: Foundations of Data Science Workshop # Data Wrangling Exercise 2 # Author Dora L. Borg library(dplyr) library(tidyr) titanic_original <- read.csv("titanic_original.csv") titanic <- titanic_original # replace missing value in embarked colomn with S (embarked at Southampton) titanic$embarked[titanic$em...
# server. library(shiny) library(httr) shinyServer(function(input, output) { data <- reactive({ subset(TeamData, TeamName==input$var) }) output$plot <- reactivePlot(function(){ graphData <- data() if (nrow(graphData)==0) return() boxplot(salary/1000 ~ yearID, type = 'lineChart', graphData, ...
/server.R
no_license
SherylPeril/DevelopingDataProducts
R
false
false
377
r
# server. library(shiny) library(httr) shinyServer(function(input, output) { data <- reactive({ subset(TeamData, TeamName==input$var) }) output$plot <- reactivePlot(function(){ graphData <- data() if (nrow(graphData)==0) return() boxplot(salary/1000 ~ yearID, type = 'lineChart', graphData, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lw.R \name{lw} \alias{lw} \title{Abbreviation for \code{length(which(x))}} \usage{ lw(x) } \arguments{ \item{x}{A logical} } \value{ The length of the \code{TRUE} values in \code{x} } \description{ \code{lw} takes a logical vector, \code{x}, ...
/man/lw.Rd
no_license
carolineshep/tcpl-toxcast-info
R
false
true
508
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lw.R \name{lw} \alias{lw} \title{Abbreviation for \code{length(which(x))}} \usage{ lw(x) } \arguments{ \item{x}{A logical} } \value{ The length of the \code{TRUE} values in \code{x} } \description{ \code{lw} takes a logical vector, \code{x}, ...
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.32784507357645e-308, 9.53818252170339e+295, 1.22821294154358e+146, 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))) result <- do.call(CNull:::communities_individual...
/CNull/inst/testfiles/communities_individual_based_sampling_beta/AFL_communities_individual_based_sampling_beta/communities_individual_based_sampling_beta_valgrind_files/1615832801-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
362
r
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.32784507357645e-308, 9.53818252170339e+295, 1.22821294154358e+146, 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))) result <- do.call(CNull:::communities_individual...
set.seed( 45 ) library(mvtnorm) library(fields) library(Rcpp) library(mclust) library(kernlab) library(ConsensusClusterPlus) simu=function(s){ prob_glcm<-function(c,s=s,mc=30000){ mu<-c(2+c,14-c) sigma<-matrix(s*c(1,-0.7,-0.7,1),nrow=2) elip<-rmvnorm(mc,mu,sigma) # par(xaxs='i',yaxs='i') ...
/s=12/simu_45.R
no_license
mguindanigroup/Radiomics-Hierarchical-Rounded-Gaussian-Spatial-Dirichlet-Process
R
false
false
9,293
r
set.seed( 45 ) library(mvtnorm) library(fields) library(Rcpp) library(mclust) library(kernlab) library(ConsensusClusterPlus) simu=function(s){ prob_glcm<-function(c,s=s,mc=30000){ mu<-c(2+c,14-c) sigma<-matrix(s*c(1,-0.7,-0.7,1),nrow=2) elip<-rmvnorm(mc,mu,sigma) # par(xaxs='i',yaxs='i') ...
.onAttach <- function(libname, pkgname) { dataPkg <- try(XML::xmlParse("http://cran.r-project.org/package=everest", isHTML=T), silent=T) currVersion <- as.character(utils::packageVersion("everest")) everest.logo <- paste0(" __ Everest R package ___ _ _...
/R/zzz.R
no_license
xdomingoal/everest
R
false
false
1,817
r
.onAttach <- function(libname, pkgname) { dataPkg <- try(XML::xmlParse("http://cran.r-project.org/package=everest", isHTML=T), silent=T) currVersion <- as.character(utils::packageVersion("everest")) everest.logo <- paste0(" __ Everest R package ___ _ _...
## These two fail when length(x) == 0 {but are short and nice otherwise} himed <- function(x) { n2 <- 1 + length(x) %/% 2; sort(x, partial = n2)[n2] } lomed <- function(x) { n2 <- (1+ length(x))%/% 2; sort(x, partial = n2)[n2] } ## From package 'limma' : ~/R/BioCore/madman/Rpacks/limma/R/weightedmedian.R weighted.medi...
/R-Portable-Mac/library/robustbase/xtraR/ex-funs.R
permissive
sdownin/sequencer
R
false
false
2,258
r
## These two fail when length(x) == 0 {but are short and nice otherwise} himed <- function(x) { n2 <- 1 + length(x) %/% 2; sort(x, partial = n2)[n2] } lomed <- function(x) { n2 <- (1+ length(x))%/% 2; sort(x, partial = n2)[n2] } ## From package 'limma' : ~/R/BioCore/madman/Rpacks/limma/R/weightedmedian.R weighted.medi...
library(tidyverse) cities <- c("berlin","detroit","glasgow","la","london","madrid","manchester","milan","newcastle","nyc","paris","rome","stockholm") first_month <- "06" get_characteristics_city <- function(data_city) { dta_chracteristics <- data_city %>% select(id,name,master_category,address,reviews_06_2020,...
/code/1_data_cleaning/high_st_closures_get_characteristics.R
no_license
wolfgangrid/high_street_analysis
R
false
false
2,603
r
library(tidyverse) cities <- c("berlin","detroit","glasgow","la","london","madrid","manchester","milan","newcastle","nyc","paris","rome","stockholm") first_month <- "06" get_characteristics_city <- function(data_city) { dta_chracteristics <- data_city %>% select(id,name,master_category,address,reviews_06_2020,...
library(oro.dicom) library(oro.nifti) library(shiny) library(shinyapps) library(shinyIncubator) ### make shiny max request size 30MB options(shiny.maxRequestSize=30*1024^2) shinyServer(function(input, output, session) { # output$filetable <- renderTable({ makenii = reactive({ rimg = c(0, 100) nii = NUL...
/server.R
no_license
muschellij2/dcm2nii_shiny
R
false
false
4,295
r
library(oro.dicom) library(oro.nifti) library(shiny) library(shinyapps) library(shinyIncubator) ### make shiny max request size 30MB options(shiny.maxRequestSize=30*1024^2) shinyServer(function(input, output, session) { # output$filetable <- renderTable({ makenii = reactive({ rimg = c(0, 100) nii = NUL...
library(shiny) source('df2html.R') shinyServer(function(input, output, session) { # generates test data frame testdf <- reactive({if (input$btnGen!=0) data.frame(year = 2000:2013, value = runif(14,-1,1)) }) # prints plain table output$testTbl1 <- renderText({ i...
/inst/server.R
no_license
ksavin/SelectableRows
R
false
false
1,576
r
library(shiny) source('df2html.R') shinyServer(function(input, output, session) { # generates test data frame testdf <- reactive({if (input$btnGen!=0) data.frame(year = 2000:2013, value = runif(14,-1,1)) }) # prints plain table output$testTbl1 <- renderText({ i...
fusions <- read.csv("/mnt/projects/jaffa/results/jaffa_results.csv", stringsAsFactors = F, check.names = F) ann <- read.delim("/mnt/projects/jaffa/data/sample-annotation.tsv", stringsAsFactors = F, check.names = F) ann$Filename <- gsub("(.bam|.txt.gz|.fastq.gz)", "", basename(ann$Filename)) fusions <- merge(fusions, a...
/annotate_fusions.R
no_license
Gig77/ccri-jaffa
R
false
false
501
r
fusions <- read.csv("/mnt/projects/jaffa/results/jaffa_results.csv", stringsAsFactors = F, check.names = F) ann <- read.delim("/mnt/projects/jaffa/data/sample-annotation.tsv", stringsAsFactors = F, check.names = F) ann$Filename <- gsub("(.bam|.txt.gz|.fastq.gz)", "", basename(ann$Filename)) fusions <- merge(fusions, a...
library(betategarch) ### Name: tegarchSim ### Title: Simulate from a first order Beta-Skew-t-EGARCH model ### Aliases: tegarchSim ### Keywords: Statistical Models ### ** Examples ##1-component specification: simulate series with 500 observations: set.seed(123) y <- tegarchSim(500, omega=0.01, phi1=0.9, kappa1=0.1, ...
/data/genthat_extracted_code/betategarch/examples/tegarchSim.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
834
r
library(betategarch) ### Name: tegarchSim ### Title: Simulate from a first order Beta-Skew-t-EGARCH model ### Aliases: tegarchSim ### Keywords: Statistical Models ### ** Examples ##1-component specification: simulate series with 500 observations: set.seed(123) y <- tegarchSim(500, omega=0.01, phi1=0.9, kappa1=0.1, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/train.R \name{crf.nll} \alias{crf.nll} \title{Calculate CRF negative log likelihood} \usage{ crf.nll(par, crf, instances, node.fea = NULL, edge.fea = NULL, node.ext = NULL, edge.ext = NULL, infer.method = infer.chain, ...) } \arguments{ \it...
/man/crf.nll.Rd
no_license
plr123/CRF
R
false
true
1,517
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/train.R \name{crf.nll} \alias{crf.nll} \title{Calculate CRF negative log likelihood} \usage{ crf.nll(par, crf, instances, node.fea = NULL, edge.fea = NULL, node.ext = NULL, edge.ext = NULL, infer.method = infer.chain, ...) } \arguments{ \it...
library("ggplot2") library(dplyr) library(gridExtra) library(grid) library(lubridate) library(tidyr) library(reshape2) dir_plots = "C:\\Users\\benne\\PycharmProjects\\temoatools\\projects\\puerto_rico_stoch\\results" #=================================================================== # Case-based results #==========...
/projects/puerto_rico_stoch/results/Fig6A_V300.R
no_license
vaduraes/TemoaHurricane_V1
R
false
false
6,164
r
library("ggplot2") library(dplyr) library(gridExtra) library(grid) library(lubridate) library(tidyr) library(reshape2) dir_plots = "C:\\Users\\benne\\PycharmProjects\\temoatools\\projects\\puerto_rico_stoch\\results" #=================================================================== # Case-based results #==========...
library(uiucthemes) ### Name: latex_journal_format ### Title: UIUC Class Journal Format ### Aliases: latex_journal_format ### ** Examples ## Not run: ##D library(rmarkdown) ##D draft("MyArticle.Rmd", template = "latex_journal_format", package = "uiucthemes") ## End(Not run)
/data/genthat_extracted_code/uiucthemes/examples/latex_journal_format.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
285
r
library(uiucthemes) ### Name: latex_journal_format ### Title: UIUC Class Journal Format ### Aliases: latex_journal_format ### ** Examples ## Not run: ##D library(rmarkdown) ##D draft("MyArticle.Rmd", template = "latex_journal_format", package = "uiucthemes") ## End(Not run)
\name{monomial} \alias{monomial} \title{ Evaluate Monomial Basis } \description{ Computes the values of the powers of argument t. } \usage{ monomial(evalarg, exponents, nderiv=0) } \arguments{ \item{evalarg}{ a vector of argument values. } \item{exponents}{ a vector of nonnegative integer values specifying the powers...
/man/monomial.Rd
no_license
drtagkim/mcgillfdar
R
false
false
959
rd
\name{monomial} \alias{monomial} \title{ Evaluate Monomial Basis } \description{ Computes the values of the powers of argument t. } \usage{ monomial(evalarg, exponents, nderiv=0) } \arguments{ \item{evalarg}{ a vector of argument values. } \item{exponents}{ a vector of nonnegative integer values specifying the powers...
# Load packages etc. ------------------------------------------------------ setwd("AHW/") library(ggplot2) library(plyr) library(dplyr) library(reshape2) library(lubridate) library(zoo) library(FNN) library(FedData) library(doMC); doMC::registerDoMC(cores = 4) source("func/metaTemp.R") # Afunction that calculates meta-...
/old/prep/NOAA_meta_data.R
no_license
robwschlegel/AHW
R
false
false
1,882
r
# Load packages etc. ------------------------------------------------------ setwd("AHW/") library(ggplot2) library(plyr) library(dplyr) library(reshape2) library(lubridate) library(zoo) library(FNN) library(FedData) library(doMC); doMC::registerDoMC(cores = 4) source("func/metaTemp.R") # Afunction that calculates meta-...
library(yll) ### Name: avg_yll ### Title: Compute average years of life lost (YLL) ### Aliases: avg_yll ### ** Examples # For 100 deaths with an average age of death of 60 years # and an expected remaining number of years to live of 20 years: avg_yll(100, 60, 20) # Without discounting: avg_yll(100, 60, 20, disco...
/data/genthat_extracted_code/yll/examples/avg_yll.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
584
r
library(yll) ### Name: avg_yll ### Title: Compute average years of life lost (YLL) ### Aliases: avg_yll ### ** Examples # For 100 deaths with an average age of death of 60 years # and an expected remaining number of years to live of 20 years: avg_yll(100, 60, 20) # Without discounting: avg_yll(100, 60, 20, disco...
# 以列表显示元素 list_1 <- list("a","b",c(11,22,33),123,51.23,119.1) print(list_1) # 列表内可内嵌列表 list.2 <- list(c("perfect","show"),matrix(c(1,2,3,4,5,6),nrow = 2),list("jodan","kobe")) # 对列表进行命名 names(list.2) <- c("sow","matrix","basketball") list.2[4] <- "bulloon" # 可以用list <- NULL 删除元素 print(list.2) print(list.2[1]) # 访问列表的第一...
/list.R
no_license
lefpoem/R_log
R
false
false
679
r
# 以列表显示元素 list_1 <- list("a","b",c(11,22,33),123,51.23,119.1) print(list_1) # 列表内可内嵌列表 list.2 <- list(c("perfect","show"),matrix(c(1,2,3,4,5,6),nrow = 2),list("jodan","kobe")) # 对列表进行命名 names(list.2) <- c("sow","matrix","basketball") list.2[4] <- "bulloon" # 可以用list <- NULL 删除元素 print(list.2) print(list.2[1]) # 访问列表的第一...
#' # Creating TCGA cohorts (part 1) #' #' This notebook will show you how to create a TCGA cohort using the publicly available TCGA BigQuery tables that the ISB-CGC project has produced based on the open-access TCGA data available at the Data Portal. You will need to have access to a Google Cloud Platform (GCP) projec...
/inst/doc/Creating_TCGA_cohorts_part_1.R
permissive
deflaux/examples-R
R
false
false
11,610
r
#' # Creating TCGA cohorts (part 1) #' #' This notebook will show you how to create a TCGA cohort using the publicly available TCGA BigQuery tables that the ISB-CGC project has produced based on the open-access TCGA data available at the Data Portal. You will need to have access to a Google Cloud Platform (GCP) projec...
#' Generalized differencing methods #' #' This function uses generalized differencing method for correction autocorrelation. #' @param x series name, #' @param y series name #' @keywords Autocorrelation #' @references #' Selahattin Güriş, Ebru Çağlayan Akay, Burak Güriş, R ile Temel Ekonometri, DER Yayinevi, 202...
/R/Gfdiff.R
no_license
cran/EwR
R
false
false
866
r
#' Generalized differencing methods #' #' This function uses generalized differencing method for correction autocorrelation. #' @param x series name, #' @param y series name #' @keywords Autocorrelation #' @references #' Selahattin Güriş, Ebru Çağlayan Akay, Burak Güriş, R ile Temel Ekonometri, DER Yayinevi, 202...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 49566 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 49566 c c Input Parameter (command line, file): c input filename QBFLIB/Miller-Marin/incrementer-encoder/incrementer-enc07-uni...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Miller-Marin/incrementer-encoder/incrementer-enc07-uniform-depth-26/incrementer-enc07-uniform-depth-26.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
704
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 49566 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 49566 c c Input Parameter (command line, file): c input filename QBFLIB/Miller-Marin/incrementer-encoder/incrementer-enc07-uni...
#' MCMC Summary #' #' TreeBUGS-specific MCMC summary for \code{mcmc.list}-objects. #' #' @param mcmc a \code{\link[coda]{mcmc.list}} object #' @param batchSize size of batches of parameters used to reduce memory load #' when computing posterior summary statistics (including Rhat and effective #' sample size). #' @p...
/R/summarizeMCMC.R
no_license
mariusbarth/TreeBUGS
R
false
false
2,634
r
#' MCMC Summary #' #' TreeBUGS-specific MCMC summary for \code{mcmc.list}-objects. #' #' @param mcmc a \code{\link[coda]{mcmc.list}} object #' @param batchSize size of batches of parameters used to reduce memory load #' when computing posterior summary statistics (including Rhat and effective #' sample size). #' @p...
checkModelMCMCInputParameters = function(numberOfSamples, burnin, thin) { if(numberOfSamples < 1) stop("Error: The number of samples cannot be less than 1!") if(burnin < 0) stop("Error: The length of burnin cannot be negative!") if(thin < 0) stop("Error: The thinning parameter cannot be negativ...
/R/checkModelMCMCInputParameters.R
no_license
GNG3/modelSoftwareMVBSN
R
false
false
460
r
checkModelMCMCInputParameters = function(numberOfSamples, burnin, thin) { if(numberOfSamples < 1) stop("Error: The number of samples cannot be less than 1!") if(burnin < 0) stop("Error: The length of burnin cannot be negative!") if(thin < 0) stop("Error: The thinning parameter cannot be negativ...
## Script for albedo model ##PACKAGES ---------------------------------------------------------------------------------------- #Packages for data processing + visualization library(dplyr) library(tidyr) library(ggplot2) library(gridExtra) library(cowplot) libra...
/1_Albedo_Exclosures/1_Data_Processing/5_Albedo_Model/Scripts/albedo_model_a.R
permissive
JamesDMSpeed/MooseAlbedo-C
R
false
false
29,667
r
## Script for albedo model ##PACKAGES ---------------------------------------------------------------------------------------- #Packages for data processing + visualization library(dplyr) library(tidyr) library(ggplot2) library(gridExtra) library(cowplot) libra...
\name{NISTgrainPerGallonTOmilligramPerLiter} \alias{NISTgrainPerGallonTOmilligramPerLiter} \title{Convert grain per gallon to milligram per liter } \usage{NISTgrainPerGallonTOmilligramPerLiter(grainPerGallon)} \description{\code{NISTgrainPerGallonTOmilligramPerLiter} converts from grain per gallon (U.S.) (gr/gal) to m...
/man/NISTgrainPerGallonTOmilligramPerLiter.Rd
no_license
cran/NISTunits
R
false
false
940
rd
\name{NISTgrainPerGallonTOmilligramPerLiter} \alias{NISTgrainPerGallonTOmilligramPerLiter} \title{Convert grain per gallon to milligram per liter } \usage{NISTgrainPerGallonTOmilligramPerLiter(grainPerGallon)} \description{\code{NISTgrainPerGallonTOmilligramPerLiter} converts from grain per gallon (U.S.) (gr/gal) to m...
## Put comments here that give an overall description of what your ## functions do ## esta função cria um objeto matriz especial que pode ser invertida makeCacheMatrix <- function(x = matrix()) { m<-NULL set<-function(y){ x<<-y m<<-NULL } get<-function() x setmatrix<-function(solve) m<<- solve getmatrix<-func...
/cachematrix.R
no_license
mrsacpr/ProgrammingAssignment2
R
false
false
717
r
## Put comments here that give an overall description of what your ## functions do ## esta função cria um objeto matriz especial que pode ser invertida makeCacheMatrix <- function(x = matrix()) { m<-NULL set<-function(y){ x<<-y m<<-NULL } get<-function() x setmatrix<-function(solve) m<<- solve getmatrix<-func...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/alleleotype_genepop.R \name{alleleotype_genepop} \alias{alleleotype_genepop} \title{Alleleotype -> GENEPOP format} \usage{ alleleotype_genepop(input, numsim = 100, path) } \arguments{ \item{input}{path to input file (csv) containing major all...
/man/alleleotype_genepop.Rd
no_license
rystanley/genepopedit
R
false
true
859
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/alleleotype_genepop.R \name{alleleotype_genepop} \alias{alleleotype_genepop} \title{Alleleotype -> GENEPOP format} \usage{ alleleotype_genepop(input, numsim = 100, path) } \arguments{ \item{input}{path to input file (csv) containing major all...