blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ceac77721fe9bb94296f7ebc03c7bc8103b3c09 | 6b9a398030a320ca38a3ff8c11adbb235deddcdf | /Analysis/Bootstrap/bootstrapSPE18Streams.R | 6d27281f82f645fa7c253c88872644b239a97217 | [
"MIT",
"CC-BY-4.0"
] | permissive | alexholcombe/nStream | ffb9dc89eaec1222b957d44c634aad68282b8f51 | fddf0ad89a5a2353f0f76fef70923500d6cad628 | refs/heads/master | 2020-05-23T08:09:21.402053 | 2019-12-12T04:35:40 | 2019-12-12T04:35:40 | 80,474,968 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 10,019 | r | bootstrapSPE18Streams.R | library(ggplot2)
library(dplyr)
library(magrittr)
library(mixRSVP)
library(reshape2)
setwd('~/gitCode/nStream/')
allErrors <- read.csv('Analysis/allErrors18Streams.txt', header = T, stringsAsFactors = F)
runAnyway <- FALSE
plotExample <- FALSE #Generates the components of the bootstrap explainer plot
xDomain <- -4:4
... |
777339c4c08039c656f60ddbc3b2eee91cf7d2a5 | d05d9c914636747e125b33e28279ec43971fa7ae | /Models/26jan17/R-utils/harmfill.r | fa365b0dce8e687d1f231e13d23d0f592218e05f | [] | no_license | hamiddashti/ED_BSU | 802b256362e83f0db63b8386edb45df3f13b1bdf | 2ff3bf81c63d5b089321aabce6c74f7a3e261836 | refs/heads/master | 2022-02-25T21:38:00.385292 | 2019-10-17T21:17:44 | 2019-10-17T21:17:44 | 105,049,937 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 34,488 | r | harmfill.r | #==========================================================================================#
#==========================================================================================#
# This function fills all gaps in a time series, by using an iterative Fourier #
# analysis of the time series. Keep i... |
fcdd3933dc5670abfe225a2acfcfd3f8170a3066 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/crimelinkage/examples/clusterPath.Rd.R | 16daf48499bd58e0f6b56c113fb3e193c329261b | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 217 | r | clusterPath.Rd.R | library(crimelinkage)
### Name: clusterPath
### Title: Follows path of one crime up a dendrogram
### Aliases: clusterPath
### ** Examples
# See vignette: "Crime Series Identification and Clustering" for usage.
|
040ea59beabdcd9ed00c26f1633cf0fc996b93c9 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_ThornthwaiteWilmott/libFuzzer_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1612736198-test.R | e8aa4e1ab642d0835ae8d2cd30d928dacc2f7752 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 418 | r | 1612736198-test.R | testlist <- list(doy = c(-5.48612930076931e+303, NaN, NaN, 6.4757678266058e-319, 1.49552342554576e-305, -5.90834448102331e+303, 1.51170009278853e+164 ), latitude = numeric(0), temp = c(-5.48612930076931e+303, -5.51157045666091e+303, NaN, NaN, NaN, 2.12199579047121e-314, 0, -5.48612406879369e+303, 6.88345878187749e-3... |
e95db1f2c1f041eb894ded139cd0770204e88e74 | 95855078928f5e12530f5b7f8956ec06c795b746 | /01_merge-data-sets.R | fdf527fea68a990e3b01e67c93c8a3cd016dbb24 | [] | no_license | gaborstats/roma-discrimination | 76155234d810d234a96b4440449ef16314e29380 | f5a38d1573471789c9c908722575c08b6a49ebc5 | refs/heads/master | 2023-01-08T02:55:22.227688 | 2020-11-07T20:54:05 | 2020-11-07T20:54:05 | 296,667,398 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,070 | r | 01_merge-data-sets.R | ###############################
# adatbazisok osszkapcsolasa #
###############################
# TARTALOM
# 1. az adatbazist kiegeszitettem az ocr utjabn pdf-bol kinyert valaszokkal
# 2. elmentettem a valaszokat nehany egyeb valtozoval egyutt
getwd()
setwd("C:/Users/Gabor/Documents/01_ELTE/00_szakdoga/03_Ad... |
d70598ecfe16486426977ff4a3e7510f25880b42 | cd875a9d426f4697267113768f6d02721ab611c3 | /man/deal_stages_history.Rd | a9a838c93de345a7a5c6a91dbdbe3b78e06371a0 | [
"MIT"
] | permissive | entr0py43/hubspot | e36b629f46f41dc4013a280821fd9ed69c575da5 | dfa51817500971efc947d2bfcb81687489be6125 | refs/heads/master | 2020-08-06T06:20:20.308770 | 2019-07-28T12:30:47 | 2019-07-28T12:30:47 | 212,869,283 | 0 | 1 | NOASSERTION | 2019-10-04T17:31:24 | 2019-10-04T17:31:23 | null | UTF-8 | R | false | true | 596 | rd | deal_stages_history.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deal_stages_history.R
\name{deal_stages_history}
\alias{deal_stages_history}
\title{Retrieve the version history of deal stages}
\usage{
deal_stages_history(deals = get_deals(properties = "dealstage",
property_history = "true", associations... |
60c2ed8f61cca086428cd530944f756b96467bdc | 91bb175a2ddc9534b52035e93b67670cd8e068e1 | /R/summarize.R | bd806b2e564bfdffe89ce84638e94331686c3760 | [] | no_license | ekstroem/dataMaid | 5db604991c52e957b14edac146c20f206f1bc2ff | d7571007db8f6f530ce9dd6cd4978c526eb2cb8f | refs/heads/master | 2022-02-06T20:29:39.941918 | 2022-01-25T10:21:01 | 2022-01-25T10:21:01 | 69,242,550 | 154 | 30 | null | 2019-10-19T15:48:22 | 2016-09-26T11:15:17 | HTML | UTF-8 | R | false | false | 18,545 | r | summarize.R | #' @title Summarize a variable/dataset
#'
#' @description Generic shell function that produces a summary of a variable (or for each
#' variable in an entire dataset), given a number of summary functions and
#' depending on its data class.
#'
#' @param v The variable (vector) or dataset (data.frame) to be summarized.
#... |
592ee86ee5ff7864bc4f1c2b18c7054bd14ed7f8 | 4a352d4507772e6cffedd5de126a4b4dcaaa59e0 | /hampl.R | 7c27a527d141040ae1efcb43a2e616d66234ba8c | [] | no_license | hpsprecher/PT | fee05d2dde833c0ec9d549efe11a073ce57cc293 | cda42d0386bb256f7b410142f7a9d4ed7f34e426 | refs/heads/master | 2020-03-29T00:29:06.614170 | 2018-10-09T17:43:16 | 2018-10-09T17:43:16 | 149,341,564 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | r | hampl.R | hampl<- function(x, maxiter= 25, s_method="MAD", na.rm=TRUE) {
if(na.rm==TRUE)
x<-na.omit(x)
x_star<- median(x)
if(s_method=="MAD")
s_star<- mad(x)
if(s_method=="nIQR")
s_star<- 0.7413* IQR(x)
if(s_method=="Qn")
{
library(robustbase)
s_star<- Qn(x)}
dif<- max(x)-min(x)
iter<- 0
... |
0029c89cac84d12e081ddf6daa3eba5fdec2c3ca | a938cac574809e32fe405378eebad102fe8cfeb2 | /cachematrix.R | a838104815541c39c234fd94341b7cd4c750417b | [] | no_license | Steven217/ProgrammingAssignment2 | 80497dbc70afe33c19a1e8082f30b358e63ef446 | c5fba4d47ed6a855f7a54c8e5d301f45ed410099 | refs/heads/master | 2021-01-19T13:06:15.338351 | 2017-08-19T21:28:01 | 2017-08-19T21:28:01 | 100,811,039 | 0 | 0 | null | 2017-08-19T17:40:21 | 2017-08-19T17:40:20 | null | UTF-8 | R | false | false | 1,762 | r | cachematrix.R | ## The functions below can be used to create a special "matrix" object that can
## cache the inverse of a matrix rather than compute it repeatedly
## This function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
InverseMatrix <- NULL
# store th... |
291f42e6232085725883ee5d8af3a224150a1ff1 | 1b4ec904d9267f9a06cc4bd576d6d6dda0767e4e | /man/get_article_location_data.Rd | 33e08cd5fcff450f8d684413dec7d0d6e256e590 | [] | no_license | rOpenHealth/rpubmed | a455c8c5535c407e76214dec0bcafc9025efef6e | 840315df5dbc3de7f3ed069906b5d767e13d3a1e | refs/heads/master | 2021-01-23T12:48:30.056889 | 2017-05-08T13:49:01 | 2017-05-08T13:49:01 | 7,855,530 | 30 | 18 | null | 2022-01-04T15:28:18 | 2013-01-27T17:46:10 | R | UTF-8 | R | false | false | 602 | rd | get_article_location_data.Rd | \name{get_article_location_data}
\alias{get_article_location_data}
\title{Extracts addresses of affiliated departments from Pubmed metadata
email addresses are cleaned out.}
\usage{
get_article_location_data(abstracts)
}
\arguments{
\item{abstracts}{A list of Pubmed records. e.g. from
fetch_in_chunks()}
}
\value{
c... |
2f52a133a2cbcf63ac228db970b023ef24156d62 | 9d13550ab15bee71e95326a1513d4b62c62197b0 | /man/trim.Rd | 3f88e05aedbcb7dd90140e879606610d9be766fb | [] | no_license | cran/genoPlotR | 8612232d2992605511e71b74bced5378841f66d0 | 3887f91ed718b7df935c11d1a84e9276f4f6b01c | refs/heads/master | 2021-07-21T15:01:58.200076 | 2021-01-07T14:00:02 | 2021-01-07T14:00:02 | 17,696,331 | 4 | 5 | null | null | null | null | UTF-8 | R | false | false | 2,995 | rd | trim.Rd | \name{trim}
\alias{trim}
\alias{trim.default}
\alias{trim.dna_seg}
\alias{trim.comparison}
\alias{trim.annotation}
\alias{trim.seg_plot}
\title{
Trimming data frames or more complex objects with >= 2 numeric columns
}
\description{
Trims data frames with 2 or more numeric columns using a
xlim. \code{xlim}(s) are... |
3b85450044dd3df67731c54a9100ce1cd79f68c5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pbdNCDF4/examples/ncvar_def.Rd.R | 70716e35f9d9db9f98459605c9132f6cc026ed72 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,288 | r | ncvar_def.Rd.R | library(pbdNCDF4)
### Name: ncvar_def
### Title: Define a netCDF Variable
### Aliases: ncvar_def
### Keywords: utilities
### ** Examples
## Not run:
##D # Define an integer dimension
##D dimState <- ncdim_def( "StateNo", "count", 1:50 )
##D
##D # Make an integer variable. Note that an integer variable can have
... |
86f3a203f8205b852a5fb7d1fe8cad56069c55b1 | 99226b385e059d258074aba150c62a30f3ec5040 | /getNearestSegmentParallel.R | 6b5aeacb105f6d60e0882c111b3112817dc7fc6c | [] | no_license | jzwart/2wp-temp-observations | 368e9599123f165b9187faa42d03b83c3cf47ff0 | 3c5ecc7e27b48d148243f0de32d8015ae91898cd | refs/heads/master | 2020-07-09T19:17:10.141125 | 2019-10-15T18:47:13 | 2019-10-15T18:47:13 | 204,059,749 | 0 | 0 | null | 2019-08-23T19:39:18 | 2019-08-23T19:39:17 | null | UTF-8 | R | false | false | 4,090 | r | getNearestSegmentParallel.R | library(scipiper)
library(feather)
library(rgdal)
library(geosphere)
library(dplyr)
library(raster)
library(sf)
library(googledrive)
library(parallel)
#' @param sites the file path for an inventory file with MonitoringLocationIdentifier, latitude, and longitude at a minimum
#' @param reaches the file path to a shapefi... |
cca4c8e9f476d9557c8ed7d39f59898e7d7ee009 | ab1a3abc8788e25b4242d49b50cd6d954b99553f | /午後002.R | 27c768ed6113f0b100041e42a4bc466a5995633b | [] | no_license | tateishih/2021R-practice | cfaf0249e012d6364b3361613cae1388903ed6a2 | 7aea63df7eda6f9f0ad8705fe08d26203a251dfd | refs/heads/main | 2023-06-11T14:17:04.156910 | 2021-06-29T08:52:55 | 2021-06-29T08:52:55 | 381,294,756 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,738 | r | 午後002.R | # 2021 R 研修会
# データロガーの読み込みと作図
# Hiroto Tateishi
# 2021 / 06 / 29
##################################################################
# Load packages
library(tidyverse)
library(lubridate) #時刻
library(gnnlab) #lab
library(magick)
library(showtext)
library(readxl) #Excel読み込みパッケージ
library(patchwork)
# Plotの設定
color = vir... |
c4ed515330f5a11cae7edcc7ec20694eda5558fa | a037bb09139c03c9f74c97a4c99c79e5f8726b25 | /QB Mixed Effect Model.R | de244bc38655bac8135bac02b2d24ea042686e01 | [] | no_license | CFBNumbers/College-QB-Mixed-Model | ab584fd4bc804112f1873c4704aaf239eff7df84 | d9a4668a5b29d5c93fbb0cde3b2b36dd0e109c6c | refs/heads/main | 2023-03-03T02:50:34.779298 | 2021-02-09T22:51:27 | 2021-02-09T22:51:27 | 337,552,952 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,347 | r | QB Mixed Effect Model.R | library(tidyverse)
library(dplyr)
library(cfbscrapR)
library(lme4)
seasons <- 2014:2020
pbp <- purrr::map_df(seasons, function(x) {
readRDS(
url(
glue::glue("https://raw.githubusercontent.com/saiemgilani/cfbscrapR-data/master/data/rds/pbp_players_pos_{x}.rds")
)
)
})
pbp <- pbp_2020 %>%
mutate(p... |
e36422a0621caa1878e56dbc328a1f8f2998ac02 | 9de3b2b8b28f89cfb13723b6be99f157fc13a313 | /3_Analysis/1_Social/1_Experimental_analyses/Synergies_tradeoffs/Scripts for reference/Gov_social_data.R | 6cb2b9260da7bef156fd8b0bfb6377f32e53fd97 | [] | no_license | WWF-ConsEvidence/MPAMystery | 0e730dd4d0e39e6c44b36d5f9244a0bfa0ba319b | 6201c07950206a4eb92531ff5ebb9a30c4ec2de9 | refs/heads/master | 2023-06-22T04:39:12.209784 | 2021-07-20T17:53:51 | 2021-07-20T19:34:34 | 84,862,221 | 8 | 1 | null | 2019-07-24T08:21:16 | 2017-03-13T18:43:30 | R | UTF-8 | R | false | false | 30,891 | r | Gov_social_data.R | #install.packages('pacman')
pacman::p_load(rio,skimr,cowplot,corrgram,corrr,psych,tidyverse)
today.date <- gsub("-","",Sys.Date())
last.file <- function(dir.nam,nam){
import(paste0(dir.nam,last(sort(grep(nam,list.files(dir.nam), value=T)))))
}
#--Create path to folder that holds multiple .csv files
wd <- getwd()
dro... |
8ac95f93542ceb96960a98854df63f140272a44e | 2d17676e1fb7dd3cc012d46d7f553e9b63e10424 | /Pooling_covid_functions.R | 02b2a0125b1fa25c0d8fc63cca51a15548e3e2cb | [] | no_license | ericxbcheng/pooling_new | 6000768b6b0feba6fcbcf51b222c0bc177240e0a | 461928ba6fce259f3c9e4f330cfa7629470a3a3a | refs/heads/master | 2022-11-26T10:54:22.420062 | 2020-08-05T23:42:46 | 2020-08-05T23:42:46 | 285,337,142 | 0 | 1 | null | 2020-08-05T18:55:20 | 2020-08-05T15:52:32 | R | UTF-8 | R | false | false | 7,319 | r | Pooling_covid_functions.R | make_samples = function(n, n_pos){
stopifnot(n >= n_pos)
a = rep.int(x = 1, times = n_pos)
b = vector(mode = "numeric", length = n - n_pos)
return(sample(x = c(a,b), size = n, replace = FALSE))
}
make_pool_idx = function(n, pool_size, for2D = FALSE){
quotient = n %/% pool_size
modulo = n %% poo... |
2083b48b4e89e1167e3df1fdc6c21ddcdbcb4a21 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/seewave/examples/wav2flac.Rd.R | 7918104b904377e1a9111582bad2cc9e4579106c | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 534 | r | wav2flac.Rd.R | library(seewave)
### Name: wav2flac
### Title: wav-flac file conversion
### Aliases: wav2flac
### Keywords: IO
### ** Examples
## Not run:
##D # synthesis of a 1kHz sound
##D a<-synth(d=10,f=8000,cf=1000)
##D # save it as a .wav file in the default working directory
##D savewav(a,f=8000)
##D # compress it to FLAC ... |
4c01c9a431ecbc8c9f67941767f485b7e28a8a3a | adde50f644a2ed67c261fb9bc2a0e67821189978 | /man/b_rename.Rd | b5a65c93d0cee3cf8322914a475afad91a904585 | [] | no_license | peterwsetter/bplyr | de8dc87b7c14c9e9f8dd70f2f1f14b40da05195d | 553f658e10cf50f32bdaeaed0b0117df8c5f0952 | refs/heads/master | 2022-04-11T20:09:54.957640 | 2020-02-18T02:10:13 | 2020-02-18T02:10:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 477 | rd | b_rename.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rename.R
\name{b_rename}
\alias{b_rename}
\title{rename variables by name}
\usage{
b_rename(.data, ...)
}
\arguments{
\item{.data}{data.frame}
\item{...}{variables to rename}
}
\value{
data.frame
}
\description{
Mimics dplyr::rename using ba... |
bcfe10a1894b6dbd47c89267f5119d94ef937c24 | 8204f0abe97c1b5162c41fccf7574c8c9936b585 | /plot2.R | dd531341156aa0ad45e99d89d9b36dd9b1ac4a32 | [] | no_license | flyingrat42/ExData_Plotting1 | ad56bd9c5656e5c6c8be0c107d3cdbe678142e05 | a929b146b033b0396a9c0589977bbcb57f62347f | refs/heads/master | 2020-12-27T15:20:30.243326 | 2015-06-03T02:07:31 | 2015-06-03T02:07:31 | 36,665,375 | 0 | 0 | null | 2015-06-01T14:17:29 | 2015-06-01T14:17:29 | null | UTF-8 | R | false | false | 304 | r | plot2.R | plot2 <- function () {
source("loadData.R")
#Get data
powerdata<-loadData()
png(filename= "plot2.png", width = 480, height = 480, bg = "transparent")
with(powerdata, plot(x=DateTime, y=Global_active_power,type="l", xlab = "", ylab = "Global active power (kilowatts)"))
dev.off()
} |
a09ca411bf6af3fec3f0d7aac39b2bf79e9f9aa8 | 4573415414b0c12d8be0930ab4ee3a0434dcdbe8 | /man/MakePriorityPrunerInputFile.Rd | cb432f367e4e232b9700848b8b5b6d2a40a7624b | [] | no_license | bbanbury/bb_gecco | fb3b277ce1f34c24599d0c07f535ef0de5bf5488 | 81740295d4908ae94500cbf7dcc97e6e23843e2f | refs/heads/master | 2020-05-20T15:40:39.095515 | 2015-05-26T15:08:32 | 2015-05-26T15:08:32 | 33,628,901 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,889 | rd | MakePriorityPrunerInputFile.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/SearchFunctions.R
\name{MakePriorityPrunerInputFile}
\alias{MakePriorityPrunerInputFile}
\title{Make PriorityPruner Input File}
\usage{
MakePriorityPrunerInputFile(snplist, pvals = "gigsv2", forceSelect = NULL,
designScore = NULL, c... |
2595baf05cb280203797f4361defc01ccc41676d | 0e6446212f2bcf34c2512cbb241e84149bde4152 | /kNN - 19042020.R | 45b45e8323db60492e709148faa5c97fdfa78633 | [] | no_license | shishir247/ML-algorithm-with-R | de70ac96ae41fc967d09a3497eecf107a658fb87 | e8ca2789e107c1d8720bb87c63c4ddee8ad40516 | refs/heads/master | 2022-12-09T23:59:12.400394 | 2020-09-18T14:14:01 | 2020-09-18T14:14:01 | 295,944,075 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,314 | r | kNN - 19042020.R | rm(list=ls())
library(mlbench)
library(class)
# Loading dataset
?PimaIndiansDiabetes
data("PimaIndiansDiabetes")
data <- PimaIndiansDiabetes
head(data)
summary(data)
str(data)
diabetes <- data$diabetes
normalize <- function(x) {
num <- x - min(x)
denom <- max(x) - min(x)
return(num/denom)
}
dim(data)
mod... |
5f1d5e922c98c57b0c9cef2bb16aa53ee8b742c4 | df9fb162c8a135c1336f7209c6fd0978d5d9062a | /man/AppUI.Rd | 0b2a0e39d75f6765caaf489cef198091fa491fe6 | [] | no_license | alexthie/FCBapp5 | 1593b928e34fd3851d7cec5dc871091dc887e39f | 831ca46f4a7bf59d20bf8dbe3b2f339616342218 | refs/heads/master | 2022-11-02T07:56:30.871275 | 2020-06-17T04:45:09 | 2020-06-17T04:45:09 | 272,878,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 293 | rd | AppUI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AppUI.R
\docType{data}
\name{AppUI}
\alias{AppUI}
\title{Shiny app server object}
\format{An object of class \code{shiny.tag} of length 3.}
\usage{
AppUI
}
\description{
Shiny app server object
}
\keyword{datasets}
|
5f7012fc4a87188984129eaa9c5b11bd54cd5a03 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NCSampling/examples/Check.pop.Rd.R | b12edc9d152beb623bcd5d6f0b721518d242146a | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 151 | r | Check.pop.Rd.R | library(NCSampling)
### Name: Check.pop
### Title: Check population file
### Aliases: Check.pop
### ** Examples
## Check.pop(popfile, desvars)
|
f6c58f7f7ed45029b50bf04bdfba7df68bfa4d19 | c4cb920902a96270eabe14349daada9269dad185 | /R/build.R | cdc672f22e3933d528e351b81e1bd23be3f32a7a | [] | no_license | ashbaldry/vstsr | d224187bde2f3694cb63ce8dd1bf5a3b535a54dd | 76111d35ddb7650eb6d602b6acc60f95925cbb03 | refs/heads/main | 2023-08-30T21:38:13.389355 | 2023-08-20T10:18:21 | 2023-08-20T10:18:21 | 117,109,966 | 4 | 2 | null | 2023-08-20T10:15:49 | 2018-01-11T14:19:14 | R | UTF-8 | R | false | false | 1,392 | r | build.R | #' Azure DevOps Project Build Definition Information
#'
#' @description
#' These functions will allow you to scrape build definition information from Azure DevOps.
#'
#' @details
#' For more information about the build definition API calls check
#' \url{https://docs.microsoft.com/en-us/rest/api/azure/devops/build/defin... |
7aea8f717c7c198f97e243f714b57522ca716c22 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/yhat/examples/plotCI.yhat.rd.R | a36d643eef55ae499e6fdc2ed6570044dd5d3c7c | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,020 | r | plotCI.yhat.rd.R | library(yhat)
### Name: plotCI.yhat
### Title: Plot CIs from yhat
### Aliases: plotCI.yhat
### Keywords: models regression
### ** Examples
## Bootstrap regression results predicting paragraph
## comprehension based on three verbal tests: general info,
## sentence comprehension, & word classification
... |
14b5fc907da81e25c4f2df944488d81c1e952831 | 6fe8911fff7c35b25a27b67bfd152429e695de54 | /bak_bioinformatics3_perl_scripts/perl_scripts/R_code/meth_eadge_3par.R | c0c09e50109aa4e8e2ec8a28070eb8dd1169ee20 | [] | no_license | KaoruTSai/CAU_PhD_scripts | 01a93fc5dce6f18c30eb3afd5e7d2391bf24be97 | 4868d3e10bf03badc4cb051a3e09d2694da94dce | refs/heads/master | 2022-01-07T23:47:47.318915 | 2019-04-17T02:53:37 | 2019-04-17T02:53:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 858 | r | meth_eadge_3par.R | meth_eadge_3par<-function(cpg,chg,chh){
# pdf(OUT,width=6,height=8)
#exp
cpg<-read.table(cpg)
chg<-read.table(chg)
chh<-read.table(chh)
par(mfrow=c(3,1))
plot(lowess(cpg[1:201,3],f=0.05),type="l",xlim=c(0,450),col="red",xlab="CpG",ylab="Methylation Level")
abline(v=101,lty="dashed")... |
f554e724250dfb6a6ecbe35724ffeaa803b9953a | 09a628049984b5c939aef8f1cfd8bc71cdb4735b | /R/setEmptyCellsValue.R | 56f60aafce41e3b9c4b58335932e34fcebd3daa5 | [] | no_license | mathphysmx/cleanTable | 471d5e7db64e2b2b128fee3f5483d1b4728d478f | 17bb71242a7c07bc5760ed6210eef037c4eb6906 | refs/heads/master | 2021-09-23T18:04:49.268573 | 2018-09-26T08:43:43 | 2018-09-26T08:43:43 | 115,658,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,304 | r | setEmptyCellsValue.R | #' @title Changes multiple invalid values for a unique invalid value
#' @param ef Empty Flag number,character, symbol ("", "(N/A)", NA, ...), etc. What is meant to be "empty". \code{flag} could be a vector but all of itS elements must be different of the posible valid values of \code{x}.
#' @param x Vector with multi... |
42db382622153298028d0af69dce668b86af0e68 | 883a4a0c1eae84485e1d38e1635fcae6ecca1772 | /nCompiler/man/nCompile_nClass.Rd | a3d7da8f605186fd8bd4b312af2dc62823edd100 | [
"BSD-3-Clause"
] | permissive | nimble-dev/nCompiler | 6d3a64d55d1ee3df07775e156064bb9b3d2e7df2 | 392aabaf28806827c7aa7b0b47f535456878bd69 | refs/heads/master | 2022-10-28T13:58:45.873095 | 2022-10-05T20:14:58 | 2022-10-05T20:14:58 | 174,240,931 | 56 | 7 | BSD-3-Clause | 2022-05-07T00:25:21 | 2019-03-07T00:15:35 | R | UTF-8 | R | false | true | 1,070 | rd | nCompile_nClass.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NC_Compile.R
\name{nCompile_nClass}
\alias{nCompile_nClass}
\title{Compile a nClass.}
\usage{
nCompile_nClass(
NC,
dir = file.path(tempdir(), "nCompiler_generatedCode"),
cacheDir = file.path(tempdir(), "nCompiler_RcppCache"),
env = pa... |
ea8652f4d41d8aa3739fabd32478d75ca53d4611 | 29585dff702209dd446c0ab52ceea046c58e384e | /gdimap/R/gqi.odfpeaks.R | 399637286778d5dba2b65e2ac870807c057fa806 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,456 | r | gqi.odfpeaks.R | ## GQI volume processing
## fslview-compatible gfa-map and V1 volumes
gqi.odfpeaks <-
function(gdi="gqi", fbase=NULL, rg=NULL, swap=FALSE, lambda=NULL, depth=3, btoption=2, threshold=0.4, showglyph=FALSE, bview="coronal", savedir=tempdir(), aniso=NULL)
{
gdimethods <- c("gqi", "gqi2")
gdimethod <- match(gdi, gdim... |
da3ba617a4a454518f18c58456f157c65194c5f7 | 0f5847a777e01692b0fa2580f0e39aa048c32acb | /R/KScollect.R | 076ad114e120b67481cd325607be88ef92b28fd1 | [] | no_license | geanes/KScollect | 4eb0a6fee4639fdfd8cf3f45bf5c543f6c9ecb82 | d8a5e5b0aa046e437c791b396d5ffe1a16e2a1ed | refs/heads/master | 2021-01-17T23:27:31.669432 | 2018-10-10T18:20:33 | 2018-10-10T18:20:33 | 46,076,351 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 700 | r | KScollect.R | #' KScollect: Shiny application to collect data for future inclusion in the
#' KidStats package.
#'
#' \code{KScollect} Purpose built Shiny application to collect data.
#'
#' @docType package
#' @name KScollect
NULL
#' @import shiny shinyFiles
NULL
#' KScollect shiny app call
#' @examples
#' KScollect()
#' @export
KS... |
dc6d00e8faf9e478beb8854a09ff7ec8df1460c0 | a36ee60ef3673d4af1980f9a5151a68b63ce3cea | /inst/doc/ex3_RetrievingRegressionCoefficients.R | 2181f963507b815323b37a4265aa625a601e8b68 | [] | no_license | cran/lsasim | 36c042b64d96e3ae78745874a962b3a9b6c0ab34 | 86d89294245c04db04ccf9ce15a50c70b229bade | refs/heads/master | 2023-03-31T18:30:22.208960 | 2023-03-28T10:10:02 | 2023-03-28T10:10:02 | 82,914,843 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,393 | r | ex3_RetrievingRegressionCoefficients.R | ## ----setup, include = FALSE, warning = FALSE--------------------------------------------
library(knitr)
options(width = 90, tidy = TRUE, warning = FALSE, message = FALSE)
opts_chunk$set(comment = "", warning = FALSE, message = FALSE,
echo = TRUE, tidy = TRUE)
## ----load-------------------------------... |
7642003bc86de2f931c38dc0f2f1c489f9d9f546 | a920451b755817c085ecf925aba7e5f7b8137bb4 | /res/bg/mail2/messy-mergingv2.R | af26815a4612b88cd1b0bcbe31965e2accc3a0b7 | [] | no_license | lucienbaumgartner/ddj18 | 5c6c0216cfcd48c5bc9bda27ed941a4f5bde89de | 889f353571355320a7c6d84782549a15673e275b | refs/heads/master | 2020-03-29T20:18:48.294509 | 2019-01-14T11:53:31 | 2019-01-14T11:53:31 | 150,297,669 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,102 | r | messy-mergingv2.R | library(dplyr)
library(reshape2)
rm(list = ls())
setwd('~/ddj18/res/bg/mail2/csv')
dfl <- lapply(grep('Table\\s1', list.files(), value = T), function(x){
tmp <- read.csv(x, stringsAsFactors = F, header = T, skip = 4) %>%
as_tibble %>%
.[,sapply(.[1:ncol(.)], function(x) any(grepl('[0-9]|[A-z]', x))... |
9b7ba798aa8d70be5d70d790a62066b9cae11b34 | 47225532fed76248f3a4a6a9d4073a8a6d4c3e91 | /plot4.R | 01bb5bd2d39d9d80533e22f0330106e45fb28bfb | [] | no_license | sndofconfusion/ExData_Plotting1 | 28c4650296d98a31872c250022699c94ffdf5e68 | d240d1fd57d14d3b1518eece9efda32b43ef435c | refs/heads/master | 2021-01-15T11:25:08.585972 | 2015-12-13T10:54:44 | 2015-12-13T10:54:44 | 47,915,268 | 0 | 0 | null | 2015-12-13T10:51:00 | 2015-12-13T10:50:59 | null | UTF-8 | R | false | false | 1,403 | r | plot4.R | #load libraries
library(data.table)
library(dplyr)
#load file
power <- fread("./household_power_consumption.txt", na.strings = "?")
#add datetime column
power <- mutate(
power,
datetime = as.POSIXct(
paste(power$Date,power$Time),
format="%d/%m/%Y %H:%M:%S"
)
)
#filter for data between "2007-02-01"... |
a98d38d606939a54dd88646b463332241c645f3c | fd0ecf7fc0940ff086025602749062f20b68f751 | /.Rprofile | e761ccf83ff3da1b9dcae397d18000c9fd66b8fa | [] | no_license | maurogm/proyectoAB | e1540aa9f8710cfa5c7104bbf347847de0457d29 | 0381ef020beaeb7aaaecd6bde29dc12cc667cf2d | refs/heads/master | 2022-08-24T00:47:02.777559 | 2020-05-27T15:01:22 | 2020-05-27T15:01:22 | 241,650,136 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,924 | rprofile | .Rprofile |
exports_code_in_Rmd_as_script <- function(path, input_file_name, output_file_name = NA, documentation = 1) {
if (is.na(output_file_name)) output_file_name <- paste0(input_file_name, '_rscript')
knitr::purl(paste0(path, '/', input_file_name, '.Rmd'),
paste0(path, '/', output_file_name, '.R'),
... |
1e17296fa9d4d54854710e0ce604a0e1b8f4944a | 5ae9dc9e4052d7e6117c76fbf08041b3871b2e5e | /Analysis/sce_clustering_umap_spatial.R | eb59c7563b979726fe65c519de1da1cd8ecaf692 | [] | no_license | LieberInstitute/HumanPilot | 110074304e850b5110d70067d8022c0be31cb352 | eca2070bcd09282a8adbdc3de310084834b7cd9e | refs/heads/master | 2023-04-13T13:14:41.101756 | 2023-02-10T16:25:59 | 2023-02-10T16:25:59 | 225,910,046 | 50 | 25 | null | null | null | null | UTF-8 | R | false | false | 4,501 | r | sce_clustering_umap_spatial.R | # Script to calculate clustering
# using small number of UMAP dimensions plus 2 spatial dimensions
# Lukas Weber, Dec 2019
library(SingleCellExperiment)
library(uwot)
library(scran)
library(scater)
library(ggplot2)
library(RColorBrewer)
# ---------
# load data
# ---------
# load scran output file (containing top 5... |
a63c2543f9f080918e84f0c8b65291380be69246 | 860fbdf856ee98ae047700df64f41cd2f6811cc4 | /R/parser.R | fb7f42a3f11ee30e1aea69339acd7a5c0cf88ef8 | [] | no_license | cran/knitr | 9409a87da280b3845545ce67840bf0725250d4fa | d33e12f849224506d0a33fd10d0eb4225e693ab5 | refs/heads/master | 2023-06-07T18:02:02.216980 | 2023-05-25T08:20:08 | 2023-05-25T08:20:08 | 17,696,927 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 34,208 | r | parser.R | ## adapted from Hadley's decumar: https://github.com/hadley/decumar
# split input document into groups containing chunks and other texts
# (may contain inline R code)
split_file = function(lines, set.preamble = TRUE, patterns = knit_patterns$get()) {
n = length(lines)
chunk.begin = patterns$chunk.begin; chunk.end ... |
b147cf20b52f91a74185a588871972496bd33bfe | 8c64577dff8fadca97574f5919a26b4e6b50bbbd | /JASA_Supplement_Burkina_Faso/Simulation_Study_RunOnce.R | 1272da43d73da977ad3aaa67ebcff656a6762f14 | [] | no_license | VanFerreira/Bayesian-Reconstruction | fb9958239bf5d621da5f6f3d2b2004076d0b07fa | d52d187ca1ef846462b9d66f29d2821fc9b283b6 | refs/heads/master | 2020-09-25T06:30:08.813105 | 2019-01-26T20:40:27 | 2019-01-26T20:40:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,790 | r | Simulation_Study_RunOnce.R | ################################################################################
###
### TITLE: Simulation_Study_RunOnce.R
###
### DATE: 23 May 2012
###
### AUTHOR: Mark C. Wheldon
###
### DESC: Run one replicate of the simulation study in
### "Re... |
ab4a6cf0b5fc479ff8e7082988e3d73ad4aefc63 | f871ea0fdfc0ba93e65037f28090fb0a60513bec | /DIST_EffectSize/effectSize4.22.R | f629ab5427b9eab3ce373c2e5dd489bc07d38195 | [] | no_license | jcooperdevlin/RewildedMice | 8b838ff2831ea5f3e8432859dbb8c1631ab142c5 | fd95ba111a3c2127939c85e336091de78fa724c1 | refs/heads/master | 2023-03-07T08:45:19.141349 | 2020-04-06T14:16:53 | 2020-04-06T14:16:53 | 340,936,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,039 | r | effectSize4.22.R | #### Making Principle Coordinate plots and analyzing effect sizes
#### 4.22
library(ggplot2)
library(circlize)
library(gridExtra)
library(reshape)
library(ape)
library(scales)
library(ggrepel)
library(MDMR)
library(ggsci)
library(ggsignif)
setwd("/Volumes/lokep01lab/lokep01labspace/Rewilding_Data")
type_cols <- c(D... |
af631943ef83f2d288522304c12ba10cb17515fa | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/12377_0/rinput.R | 816977e94fdd0a4afe4711eddd0a71016d28369a | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("12377_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="12377_0_unrooted.txt") |
3690ba063d4762449dceab007acf329a1231eb9f | 87b115897644454429c5d5bdf34266131a5dc8b9 | /ui.R | 67de906a700264fee445d46a645c41aac50aaaa0 | [] | no_license | mtganalyze/curve_evaluation | 1f4a5f6e5fcb1da589bdd18300f547839d85a9db | d8a2f80246fd6bc304455e9a16c9cf2e36bf4036 | refs/heads/master | 2020-03-24T19:23:08.564636 | 2018-07-30T20:12:38 | 2018-07-30T20:12:38 | 142,923,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,806 | r | ui.R |
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
library(shiny)
library(ggplot2)
library(plotly)
library(dplyr)
library(magrittr)
shinyUI(fluidPage(
# Application title
titlePanel("Curve Eval... |
86333e1e425539e39ad3bcdd04746dd52045daea | ddce5d8a142724f15d1ed302b2dc15bc640adcd2 | /sheet06.R | 47d95e655d86ae5c61d150b0c3680721d24d1a58 | [] | no_license | MoonRiyadh/Stat-with-R | e9c8ee1e8fe38eb5f72d89cb6e92da63caf12d7f | 90a0ef3becebc347b842305852dcef3437cefe38 | refs/heads/master | 2022-04-08T20:43:38.767200 | 2020-03-25T21:23:20 | 2020-03-25T21:23:20 | 250,092,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,389 | r | sheet06.R | ### Stats with R Exercise sheet 6
##########################
#Week 7: Correlation and Regression
##########################
## This exercise sheet contains the exercises that you will need to complete and
## submit by 23:55 on Monday, December 9. Write the code below the questions.
## If you need to provi... |
fdee71da2e55fdf2d8c9e0291c66c4379df4db10 | d426aa790bdbeac9a62fc3ad5cbb58d3384bf593 | /man/pslScore.Rd | 08e7e9e6586730aef3ec24c27089e56e3c172994 | [] | no_license | drmjc/blat | 0977e4ae82ed2751c2f8922b6d79b6ed4607e792 | 84400169501b6f7e4e1e6ec9d88b27a53410f776 | refs/heads/master | 2020-05-31T05:03:53.663159 | 2013-08-29T00:17:06 | 2013-08-29T00:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 837 | rd | pslScore.Rd | \name{pslScore}
\alias{pslScore}
\title{calculate the score from a psl alignment}
\usage{
pslScore(psl, isMrna = !pslIsProtein(psl[1, ]))
}
\arguments{
\item{psl}{a PSL object}
\item{isMrna}{logical: protein scores are 3x size of
mrna/nucleotide scores.}
}
\value{
vector psl alignment score
}
\description{
... |
b6136f861e64d45d802a100330d96aeffcecb9bf | 075a98b418bed4056b0a2b234044582152bee08b | /man/ExpTwoPlots.Rd | 0cae2dea7cb5aa9f45f6a3e2147d398e97ea3513 | [] | no_license | daya6489/SmartEDA | f6493f9707c28c5bf5d6a079a992761e10305955 | c72fa59fc9fdff7190c8bbe06dce3914ac840ba9 | refs/heads/master | 2022-12-11T19:29:18.814913 | 2022-12-03T09:44:54 | 2022-12-03T09:44:54 | 184,899,407 | 35 | 12 | null | null | null | null | UTF-8 | R | false | true | 2,973 | rd | ExpTwoPlots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fn_exp_ExpCompViz.R
\name{ExpTwoPlots}
\alias{ExpTwoPlots}
\title{Function to create two independent plots side by side for the same variable}
\usage{
ExpTwoPlots(
data,
plot_type = "numeric",
iv_variables = NULL,
target = NULL,
lp_... |
79006eb663a38347f78a9e573a9bda6d2fadf030 | cc1a7d384cf35f5e2c5710deffd3095606cee52e | /man/Kfactor.Rd | bc1ca551a0662f66e250999653768909589af972 | [] | no_license | cran/tolerance | dd98abd74329c9c1fb9f3a13a433e7cbca88aaab | 057076b0cb32882c2874503c65b68dbb13102402 | refs/heads/master | 2021-01-22T08:59:48.693139 | 2020-02-05T12:10:05 | 2020-02-05T12:10:05 | 17,700,545 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,708 | rd | Kfactor.Rd | \name{K.factor}
\title{Estimating K-factors for Tolerance Intervals Based on Normality}
\alias{K.factor}
\usage{
K.factor(n, f = NULL, alpha = 0.05, P = 0.99, side = 1,
method = c("HE", "HE2", "WBE", "ELL", "KM", "EXACT",
"OCT"), m = 50)
}
\description{
Estimates k-factors for tolerance in... |
1036094cfd8939d96fcfc9ec4c0e232bb2594f90 | 68c3ba9a769f6ab9be05bbee19c550a972f5ddc3 | /2020.06.10.case_when_tutorial.R | 4a58142e852977fc61c5989f1d8c6fbb7a8bae35 | [] | no_license | KROVINSKI/2020.06.10_case_when.Tutorials | ba5166721c129366f7a7729a880477a0012df959 | 908c6af4bc3a94ffc9067140dd71f4c78988ec8f | refs/heads/master | 2022-10-10T10:05:58.874856 | 2020-06-12T00:15:33 | 2020-06-12T00:15:33 | 271,384,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,904 | r | 2020.06.10.case_when_tutorial.R | # Hello World
# Below is a case when tutorial
#********************************
# Libraries
#********************************
library(dplyr)
# _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
#********************************
# Table of Contents
#********************************
# 1.0 Int... |
d197d6b88003baa6b1507279c2b900f881d55f11 | 3a4fc4a6c3c8e641de7218827e55d604103e3610 | /Shiny/calculate_duration_code.R | d40f23a88e0ea531a667497f8a2849ab2756bc31 | [] | no_license | IUResearchApplications/GruberProject | 5cbc0b7bcd456776f7d926df720e6280fbbdc6dc | 5e2d0d593681c7bf1995dbbd65e808da127e5e0b | refs/heads/master | 2021-06-14T16:52:42.880865 | 2017-04-06T17:56:51 | 2017-04-06T17:56:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,931 | r | calculate_duration_code.R | library(shiny)
library(shinyTime)
library(ggplot2)
library(plyr)
library(data.table)
library(lubridate)
library(scales)
library(RMySQL)
setwd("~/Fitbit_project/Code")
config <- read.table('rshiny.cnf.txt')
#
mydb <- dbConnect(MySQL(), user=as.character(config[1,2]), password=as.character(config[2,2]),
... |
379aacc6552a803aac6f52c8b70b19ee4558c47d | 71f59cdc233491fb589630293c2379dcabd62c20 | /cachematrix.R | e4f218c949a4281eed8aea2a57439408736e4f90 | [] | no_license | jynkim/ProgrammingAssignment2 | 69ebb4e925f4761659be432d662db21f307446af | ac5bcc7aa169633f96c1076f50d5811c831304a7 | refs/heads/master | 2021-01-18T11:13:04.389534 | 2016-02-22T06:08:09 | 2016-02-22T06:08:09 | 52,246,190 | 0 | 0 | null | 2016-02-22T04:07:19 | 2016-02-22T04:07:18 | null | UTF-8 | R | false | false | 1,029 | r | cachematrix.R | ## As shown in the example with vectors, makeCacheMatrix function
## will be list of 4 functions that set the value of the matrix, get the value of the matrix
## and do the same for the inverse - using solve() function
## this function will take premade invertible matrix to cache the inversion
makeCacheMatrix <- functi... |
ad3d49b1953e0781c0119d09b03e249bdb35e649 | d3f20ed2a13eb9ca153094f15c2e351e2642cb19 | /analytics/vidooly_analytics/vidooly_stats_timeseries.R | 90bc5281466831cfc874668997c61ae98a21d1dc | [] | no_license | apoorvakarn/R-in-Action | b7d0003d9d0be0755b7710903fb56984a59dda9b | 923dfe1f12cecfdd1511d2d55e4a4796499f9c82 | refs/heads/master | 2021-09-11T19:49:45.127777 | 2018-04-11T18:01:48 | 2018-04-11T18:01:48 | 100,679,882 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,225 | r | vidooly_stats_timeseries.R | #Assignment - 2
#Forecasting of channel stats of a Youtube channel
data=read.csv("C:/rWork/rProjects/R-in-Action/analytics/vidooly_analytics/oct_march.csv",stringsAsFactors = FALSE)
str(data)
#Converting date column into date format
data$date=as.Date(data$date,format="%d-%m-%Y")
data$date
#Forecasting views
omn=as.da... |
93fc29e9f98ce38cf9bb72a28ee35d646bb94494 | 5f1ad26538589accf8eac161f6584c2ddc300f00 | /GARP.Rcheck/00_pkg_src/GARP/man/prepare4ColList.Rd | 1a453c7072fefd0ef2fe9d7d9304b102ee9f44f7 | [] | no_license | nunngm/StatAnalysis | a9ea2518531b67a724d376dd199fdb7d2d800e1d | 66e133e69544851c93e527cb1e333c501e8d1fc5 | refs/heads/master | 2021-07-11T04:30:53.987054 | 2020-06-23T17:39:51 | 2020-06-23T17:39:51 | 158,037,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 571 | rd | prepare4ColList.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aheatmap.R
\name{prepare4ColList}
\alias{prepare4ColList}
\title{given a list of barColors and phenoData, prepare a list of colors that can be passed to aheatmap}
\usage{
prepare4ColList(barColList = NULL, phenoDat)
}
\arguments{
\item{barCol... |
52d9560503e87c9e81b0a720460fa5e8832b02cc | 37ce38ba0eff95451aebea810a1e2ab119f89a85 | /man/decimal.WY.Rd | 2267101e7c93158951afd386493002b92f95c7e6 | [
"MIT"
] | permissive | SwampThingPaul/AnalystHelper | 39fdd58dc4c7300b6e72ff2713316809793236ce | eb570b69d7ea798facaf146d80bc40269a3d5028 | refs/heads/master | 2023-07-21T00:19:21.162374 | 2023-07-11T17:24:36 | 2023-07-11T17:24:36 | 179,672,539 | 1 | 0 | MIT | 2020-03-21T20:05:31 | 2019-04-05T11:53:19 | R | UTF-8 | R | false | true | 590 | rd | decimal.WY.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/decimal.WY.R
\name{decimal.WY}
\alias{decimal.WY}
\title{Decimal water year from a date field}
\usage{
decimal.WY(date, WY.type = "FL")
}
\arguments{
\item{date}{Date in as.POSIXct or as.Date format}
\item{WY.type}{Specifies Federal ("Fed") ... |
d810e1975a230689c2259b054a070143c6f5461b | 2ad3de8c74bf18501daf2793db46cf45c6ed9b03 | /plot3.R | 05b31e1dfc057ba4063acda84777d43749c7dc4e | [] | no_license | jincera/ExData_Plotting1 | b62fca03060c459c2037e0fa466a5f5adeacb8b3 | aa621d7ff41d0942a3472f163ef9ca4d65c8df2f | refs/heads/master | 2020-04-07T16:53:54.601366 | 2015-03-07T19:43:31 | 2015-03-07T19:43:34 | 31,577,854 | 0 | 0 | null | 2015-03-03T03:41:01 | 2015-03-03T03:41:01 | null | UTF-8 | R | false | false | 1,609 | r | plot3.R | #Exploratory Data Analysis
# Course project 1
# Code for Plot 3
# The code assumes that the file "household_power_consumption.txt" is
# already in the working directory. As stated in the instructions, this
# data file can be downloaded from_:
# https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_co... |
d44af21eb74a3142264fb48d13fa89b56cd2620c | 432d68b44e60d0fa1c23efb71ffa69933aa89f8a | /R/Chapter 8/exercise-7.R | 9b92649c81a1804578e6b97d3ee40212b76e0682 | [] | no_license | ShilpaGopal/ISLR-exercise | 5a5951118a33ef7dd8a9b3a6f7493bfd7b89b5ff | 9705905d36bd74086b133e4a5f937e7a4ab18e5e | refs/heads/master | 2020-12-04T11:12:01.024951 | 2020-03-21T10:23:12 | 2020-03-21T10:23:12 | 231,741,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 984 | r | exercise-7.R | library(MASS)
library(randomForest)
set.seed(1101)
names(Boston)
train=sample(dim(Boston)[1],dim(Boston)[1]/2)
X.train=Boston[train, -14]
X.test= Boston[-train, -14]
Y.train=Boston[train, 14]
Y.test=Boston[-train, 14]
p=dim(Boston)[2]-1
p.2=p/2
p.sq=sqrt(p)
rf.boston.p= randomForest(X.train, Y.train, xtest=X.test, y... |
58f48640c4d442b9cfe24355e1f59d9cffa763c3 | 8bd4a967307b4185ce6e6fcdd8732cb258171b2c | /real/zeisel/pics/make_plots.R | f89ae16bb9b90f85f51e811d93fadf30cf1995c6 | [] | no_license | donkang75/MatrixEval2017 | 620ee9447d873b3a0e2a3e426458d1e127b054d8 | a4c79e49d1a8ad62bfe7c9b3d0273aa199716c71 | refs/heads/master | 2020-04-26T11:47:21.594624 | 2018-08-08T11:37:58 | 2018-08-08T11:37:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,301 | r | make_plots.R | # This makes bar plots of row/column access times.
colors <- c(`ordinary`="darkblue",
`sparse`="blue",
`HDF5 (column)`="dodgerblue",
`HDF5 (rectangle)`="lightblue")
pdf("zeisel_col.pdf")
par(mar=c(7.1, 5.1, 2.1, 2.1))
col.times <- read.table("../timings_col.txt", header=TRUE, sep="... |
048b22a41e87c090a654b70bdc3f072ffb6f276b | 7ed4f875a449f41e89f2032e161c9554fc63c9ac | /count_reads.R | dd90b8996247cc64f00ee83f9f184beb29ec4191 | [] | no_license | elpsakkas/R_code_bioionformatics | 31c62191e5bfbb219f4d3a8af6ac9ff3f881605f | a0893d3495315d6d6641b49c8cd3a34ddb8fc5dd | refs/heads/master | 2021-01-20T06:05:33.070692 | 2017-04-30T10:40:53 | 2017-04-30T10:40:53 | 89,843,754 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 786 | r | count_reads.R | library("Rsamtools")
library("GenomicFeatures")
library("GenomicAlignments")
library("BiocParallel")
dir <- "/Volumes/My Passport for Mac/Treutlein_E18/"
sampleTable <- read.csv(file.choose(),row.names=1)
filenames <- file.path(dir, paste0(sampleTable$cell, ".merge.sort.bam"))
file.exists(filenames)
bamfiles <- Ba... |
e806f04beb0ef9e77bbb8f3455733f8cb2761fe8 | a760871d2655f42d4c4e9fe8b198f1fd7ca3751b | /Data_Analytics-Assignment2/Retention.R | 28520811dc0850dbdd0715fb3cdf3e36e4e39501 | [] | no_license | LTille/Data-Analytics | 2237ff4bbaeb45e6ee8612a58b36a5956255dc6c | d860d98d3440fe7ddaa2d54d74a453953be3416f | refs/heads/master | 2020-12-05T14:53:41.279798 | 2016-09-01T14:38:48 | 2016-09-01T14:38:48 | 67,138,254 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,424 | r | Retention.R | retention = read.csv("/Users/Tillie/Desktop/retention.csv", header=TRUE)
retention[1:3,]
summary(retention)
rm=(list=ls())
#list all the statistical information for variables
Rowname = c("spend","apret","top10","rejr","tstsc","pacc","strat","salar");
Columname = c("Min","1stQuartile","Median","Mean","3rdQuartile","Max... |
aafb370dfca4b1892645cf903cc59202994fa1b0 | 21910d6b591aaafe801138753a038bd73e3eccac | /plot3.R | e32908267b47dc54c103b9f4ed4bfe7343011d3d | [] | no_license | bgyarno/ExData_Plotting1 | 164e0a42b9bfaadcc4a47e8552bc27a728edb512 | f5df834577667a60b38463548ba72deb6e9ae3f9 | refs/heads/master | 2021-01-21T16:53:29.299229 | 2017-05-22T02:39:37 | 2017-05-22T02:39:37 | 91,914,870 | 0 | 0 | null | 2017-05-20T20:33:40 | 2017-05-20T20:33:39 | null | UTF-8 | R | false | false | 1,025 | r | plot3.R | ##Assignment 1
data <- read.csv('household_power_consumption.txt', sep = ";", header = TRUE, stringsAsFactors = FALSE)
##Convert Date string to POSIXlt
data$Date <- strptime(data$Date, "%e/%m/%Y")
##subset data for 2007-02-01 and 2007-02-02
data <- subset(data, data$Date == strptime("2007-02-01", "%Y-%m-%d") |... |
0abe6d2b5f221408f6d58343db42518414dbeb11 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/segclust2d/examples/segmentation-class.Rd.R | a1414a0fa40e5da8f044000195e502afa5c793d0 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,327 | r | segmentation-class.Rd.R | library(segclust2d)
### Name: segmentation-class
### Title: segmentation class description
### Aliases: segmentation-class print.segmentation plot.segmentation
### likelihood.segmentation plot_likelihood get_likelihood
### logLik.segmentation plot_BIC BIC.segmentation stateplot states
### segment augment.segmen... |
0120c254dba8cfea3080fcb9d3dcf00150517c5d | d5cef95958632a73ea141236aea6a487ed6a3ee0 | /Lab08Marker.R | 6d2a10b3ff88972741dedb3e6cd4ceb351ca8d43 | [] | no_license | joyhumin/Marking-tool-for-stats220 | 1275b054bf4afb2930f645a0bd70b5ab72c1e7c2 | a9318ee15a66a166844a1e38bbb4a7cfcecf27e5 | refs/heads/master | 2021-04-23T19:15:45.639728 | 2020-06-20T09:16:47 | 2020-06-20T09:16:47 | 249,978,497 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,352 | r | Lab08Marker.R | # read student file
student.df <- read.csv("lab08-marks-c-1.csv")
student.num <- nrow(student.df)
# mark.df <- data.frame(matrix(NA, nrow = student.num, ncol = ncol(student.df)))
# colnames(mark.df) <- colnames(student.df)
mark.df <- read.csv("/Users/Joy/Documents/UoA/lab08-marks-c-1.csv")
# student.num = 2
# redo = c... |
6a43774f5ad98c728a86788c678965a17e16503b | dc3f1a4ba2311b757ba72072f4c54af961ffcc86 | /RF_check/get_models.R | cbce180724aba3743a6cf0adfd6a7f2ba5b2884f | [] | no_license | sebastianduchene/virus_analyses | 2d002ee383af98d92eca126d15603bf9343ae41f | b35b13f8e2634badb9a7100c4dedea9c045896fc | refs/heads/master | 2020-04-04T12:29:35.336776 | 2015-08-04T08:56:17 | 2015-08-04T08:56:17 | 19,427,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 162 | r | get_models.R | # write function to run model generator and get BIC model
# run loop over complete and pruned data sets
# read trees and get mean rates with and without prunning |
6b496daf5adbd5687375d3f1504dcc9caa922307 | e8ea229abea92cf55b29e1c6efe36924a9b0d2e8 | /stock.r | 958d8d3cab5f99e3f8e042ac968b2c22b1c7de84 | [] | no_license | Roboer/stockpredict | 097f220eab928652ee92106426c6eda1e5e80bae | 38ad88c99c4a863be46f0ab6619838d86b49a7fa | refs/heads/master | 2021-01-23T11:04:10.191214 | 2015-01-28T07:52:45 | 2015-01-28T07:52:45 | 29,715,769 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,674 | r | stock.r | library(xts)
company <- read.table("company_data.csv",sep='|')
updown <- read.table("God_File.csv",sep='')
t = with(company, as.POSIXct(V4) )
company$pTime = t
companydata <- company[,c(1,8,7)]
#c1.q1 <- companydata[(companydata$V1 == 'c1') & (companydata$pTime <= '2011-04-15'),]
#c1q5.xts <- as.xts(c1.q5$V7,order.b... |
34c575ef332717c489a92887700fc913dfc9c950 | 170893806806dc601c61a5f95dd26490e164cc02 | /tests/testthat/data_helpers.R | d06027de3da371f92a375092c6812260e7f285ab | [
"MIT"
] | permissive | jtannen/svdcov | e9b28f5c1263f24f546373d96e42900203d78f41 | 24bae25ecb2cbfff7af69e5691635bc61b5106a1 | refs/heads/master | 2023-03-26T11:00:54.444289 | 2021-03-08T13:24:59 | 2021-03-08T13:24:59 | 345,179,936 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,154 | r | data_helpers.R | generate_cov_data <- function(
row_means,
col_means,
cov_mat
){
x <- t(
MASS::mvrnorm(
n = length(col_means),
mu = row_means,
Sigma = cov_mat
) + col_means
)
row.names(x) <- seq_along(row_means)
colnames(x) <- seq_along(col_means)
x
}
get_mat_diag <- function(mat){
return(... |
147fb838686a5101cc605cc74f212e6acccecce5 | cbf2d312bbe49c0aaf4a95ee3765103eab6e260f | /man/sf_DKOS_Electoral_College_Map_v1.Rd | a6023b074db5819c39bdd7a135e095b225f5b2f7 | [
"MIT"
] | permissive | bhaskarvk/tilegramsR | 4e8d0433e5bd84ca665085896afb38a07e0ff700 | 09b86496cca55880c0f2d8a844f2f0b1359b5dea | refs/heads/master | 2021-10-12T06:26:12.338679 | 2021-09-30T14:42:12 | 2021-09-30T14:42:12 | 70,617,531 | 55 | 3 | null | null | null | null | UTF-8 | R | false | true | 851 | rd | sf_DKOS_Electoral_College_Map_v1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tilegrams.R
\docType{data}
\name{sf_DKOS_Electoral_College_Map_v1}
\alias{sf_DKOS_Electoral_College_Map_v1}
\alias{sf_DKOS_Electoral_College_Map_v1.states}
\alias{sf_DKOS_Electoral_College_Map_v1.centers}
\title{sf_DKOS_Electoral_College_Map_... |
9bf31737f4ea8435c038abd0d49720f26451b17d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MASS/examples/gamma.shape.glm.Rd.R | 02687785d5b59b4f48252e758157a32349f6e1ad | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 676 | r | gamma.shape.glm.Rd.R | library(MASS)
### Name: gamma.shape
### Title: Estimate the Shape Parameter of the Gamma Distribution in a GLM
### Fit
### Aliases: gamma.shape gamma.shape.glm print.gamma.shape
### Keywords: models
### ** Examples
clotting <- data.frame(
u = c(5,10,15,20,30,40,60,80,100),
lot1 = c(118,58,42,35,27,25,21,1... |
4b453faad370721d1c728ff76aa1172191e9d349 | f3631dc4bfba98dc99578185684b6737fc7a84c5 | /osd2014_16S_asv/osd2014_fuzzyforests.R | 78805a8f2418e0aa8a6a686b41835b05b6e81435 | [] | no_license | genomewalker/osd2014_analysis | a458f51dfee671a2cbc83e0d0d1f3e0cd33d53f5 | 5709ff15621a18696a34bdbf0d3332b2a73ce88e | refs/heads/master | 2021-08-16T13:28:37.426404 | 2020-04-02T13:21:58 | 2020-04-02T13:21:58 | 145,523,004 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,290 | r | osd2014_fuzzyforests.R | library(fuzzyforest)
library(tidyverse)
library(randomForest)
library(caret)
library(phyloseq)
library(igraph)
library(tidygraph)
library(ggraph)
source("osd2014_16S_asv/lib/fuzzyforest_lib.R")
# BEGIN: WARNING!!!! -------------------------------------------------------------
# You can access to the data used in this... |
afd83e230a18e24a788a9639f7bb2cb61ef45323 | 179211fef98e5123a3c27f11ae5385420be9adcf | /bootstrap/ICES_ecoregions.R | 99472539ac768b21b24052c522569f67bc6930c9 | [
"MIT"
] | permissive | ices-taf/2020_ETC_fish-distribution-indicator | c5ef25824be96b4a30c7d0caa31d8a7b94c33d7a | 017110e99467ef5bad9a3e903339590fe773b47b | refs/heads/main | 2023-01-22T10:03:35.730327 | 2020-12-06T09:51:17 | 2020-12-06T09:51:17 | 309,326,384 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 220 | r | ICES_ecoregions.R |
library(icesTAF)
taf.library(icesFO)
ecoregion <- icesFO::load_ecoregion("Greater North Sea")
sf::st_write(ecoregion, "ecoregion.csv",
layer_options = "GEOMETRY=AS_WKT",
delete_layer = TRUE)
|
8b3f611465f0148a18d45f0674418a56d4c00653 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/netCoin/examples/timeCoin.Rd.R | 72fb1f0b85920137ab8e3569c1ebb165de1eb6d5 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 313 | r | timeCoin.Rd.R | library(netCoin)
### Name: timeCoin
### Title: Networked coincidences.
### Aliases: timeCoin
### ** Examples
# Database of 19th century sociologists
data(sociologists)
timeCoin(sociologists,"name","birth","death","birthcountry",
dir = "./timeline", show = FALSE) # See ./timeline/index.html file
|
7e1c3941364ea5401ed2d9980614e9b9b2a5e2e2 | bffd306bf0053643aa812dac62303ad9be4e56f0 | /tests/testthat/test-multi-umap.R | 88490f1f396a18e697b4595e421150e8e3f11902 | [] | no_license | LTLA/mumosa | 3734bdd80abee135894fb1070588d35ed2853c6e | 6d61b526172271f4bc6cca573863247e0fbff903 | refs/heads/master | 2023-03-17T03:06:00.062638 | 2023-03-14T04:55:38 | 2023-03-14T04:55:38 | 310,972,661 | 0 | 0 | null | 2020-12-09T05:49:19 | 2020-11-08T02:47:32 | R | UTF-8 | R | false | false | 1,226 | r | test-multi-umap.R | # This tests the multi-UMAP code.
# library(testthat); library(mumosa); source("test-multi-umap.R")
stuff <- matrix(rnorm(10000), ncol=50)
things <- list(stuff, stuff[,1:5], stuff[,1:20])
test_that("metrics assembly works as expected", {
metrics <- mumosa:::.compute_multi_modal_metrics(things)
expect_equal(na... |
83fae3826cfc3ccc8d14839b1168d6fff33d0cef | 5858bac2996c3aed34487f76655d4e1cafe72287 | /R/leaf_spot.R | b7692b4b0361a632292973f5bb80ca3acdb7ae3c | [] | no_license | walmes/RDASC | 33f5070216bd4c92c29ad592ba9c26db00d845c7 | a4d98d803996b54eb51857eb11abd48e98fee0d9 | refs/heads/master | 2021-01-21T19:05:40.701103 | 2021-01-08T14:24:13 | 2021-01-08T14:24:13 | 92,110,481 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,760 | r | leaf_spot.R | #' @name leaf_spot
#' @title Progresso da Mancha Foliar de \emph{Glomerella} em Macieira
#' no Estado do Paran\enc{á}{a}
#' @description Avaliação da severidade (\% de área com lesão no limbo
#' foliar) da mancha foliar de \emph{Glomerella} em duas áreas de
#' pomar comercial. Para cada área foram escolhid... |
b4ee985436b6384d26c8f62eaac8a40a88213813 | 613abf9af1b78007993b3138c9e678aacf4aa09c | /script_backup/16S/Tax4Fun/SILVA123/InfoFiles/KEGGBacArchTaxInformation.Rd | b59399f27825ccdec47c82a2ead44e2ac59c659d | [] | no_license | kent5438/sharing-github | f02124f94d71c910bca2e5d4fa86376c1817cab5 | 2195a2cf033d6ac59099b22cea21051357b0876c | refs/heads/master | 2021-06-25T22:13:33.257507 | 2020-12-31T08:20:14 | 2020-12-31T08:20:14 | 168,316,249 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 224,366 | rd | KEGGBacArchTaxInformation.Rd | \name{KEGGBacArchTaxInformation}
\alias{KEGGBacArchTaxInformation}
\docType{data}
\title{
%% ~~ data name/kind ... ~~
}
\description{
%% ~~ A concise (1-5 lines) description of the dataset. ~~
}
\usage{data(KEGGBacArchTaxInformation)}
\format{
A data frame with 1943 observations on the following 20 variables.
\d... |
1338caf6ded117ec9e3e334553bdb199972daa0d | edc914203a9a25f422c6e85c53c92362cb144011 | /man/find.mindist.block.Rd | 118d4d40e50148f41e826a88da48f4236297ad71 | [] | no_license | seonjoo/clustest | 8e3686b929fa65ea64e5b5162ee0d313310530a8 | 8ca36631157629f0f19b1de9d6fd2d82b77b4492 | refs/heads/main | 2022-12-27T22:00:07.800589 | 2020-10-08T18:51:06 | 2020-10-08T18:51:06 | 302,422,329 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 812 | rd | find.mindist.block.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/find.mindist.block.R
\name{find.mindist.block}
\alias{find.mindist.block}
\title{Compute the minimum distance between data block.}
\usage{
find.mindist.block(dat, indx1, indx2, seg.length = 100, n.cores = 4)
}
\arguments{
\item{dat}{: n x p m... |
9900ac3e6794861c4455b38bc3a52ee89991f0c1 | 02c37615762af39de855590a40efd5d29858c9fc | /man/WPSA.Rd | 8506c1bf3e56297a3fac518da7c489c09809c910 | [] | no_license | ericdunipace/WpProj | d950d1f8e36094b1b93cd2bb62e99fc1b9ec3aef | 6039e5ce8c5d3386e776fc1e6784807411805889 | refs/heads/master | 2023-03-27T19:23:12.132980 | 2021-04-02T21:32:56 | 2021-04-02T21:32:56 | 229,637,281 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,797 | rd | WPSA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WPsimulatedAnnealing.R
\name{WPSA}
\alias{WPSA}
\title{p-Wasserstein distance projections using simulated annealing}
\usage{
WPSA(
X,
Y = NULL,
theta,
force = NULL,
p = 2,
ground_p = 2,
model.size = 3,
iter = 1,
temps = 1000... |
dc5cc8e7123d9f182ea03fa7beeeb3fe436f29ab | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PowerUpR/examples/bcra4r3.Rd.R | 169f09931f53f0c972034490aeb572959900b08a | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 520 | r | bcra4r3.Rd.R | library(PowerUpR)
### Name: bcra4r3
### Title: Four-Level Blocked Cluster-level Random Assignment Design,
### Treatment at Level 3
### Aliases: bcra4r3 mdes.bcra4r3 power.bcra4r3 mrss.bcra4r3
### ** Examples
# cross-checks
mdes.bcra4r3(rho4=.05, rho3=.15, rho2=.15,
omega4=.50, n=10, J=4, K=4, L=20)
p... |
8c2d892c89095f29d2484cf1a9695e5f3cdf758f | efa8c7bf003496e7f0414dfe68b2667df2bca25d | /lab3/p8.R | 25eba64f145e5c4a384595e4ebd1e910b4d1e8fd | [] | no_license | ShashankSirmour/RLab | 55d7d9bcfb67a494c75a32dcd587e392caa9708d | 0b3073556d102566014d1dc659ccecef0fce4b49 | refs/heads/master | 2020-12-19T14:58:42.006462 | 2020-01-23T10:02:25 | 2020-01-23T10:02:25 | 235,767,240 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 113 | r | p8.R |
fact<-function(x)
{
if(x==1){
return (1)
}
else{
return (x*fact(x-1))
}
}
print(fact(5)) |
f02839dee134dcb4d2f1c8ec61c651b6be6a5f0c | 1175e1cd2c18a5c8bc0ce240b7d6c5a39635c03b | /plot4.R | ecea29c51e754bf3149364f46a1051b5eb48f79d | [] | no_license | BenCoppola/ExData_Plotting1 | 9924791d0a54b476a995001a71fe0085c1219206 | 0bc625c13caec440acc8f800c0460df616a3e49d | refs/heads/master | 2021-01-18T04:37:48.883225 | 2015-03-07T17:24:19 | 2015-03-07T17:24:19 | 31,720,505 | 0 | 0 | null | 2015-03-05T15:25:49 | 2015-03-05T15:25:47 | null | UTF-8 | R | false | false | 2,630 | r | plot4.R | #clear the environment
rm(list=ls())
#change the working directory
setwd('C:/Users/coppab01/Documents/Coursera/Exploratory Data Analysis/Project 1')
# load up useful packages
library(dplyr)
tab5rows <- read.table("household_power_consumption.txt", header = TRUE, nrows = 5, sep=";")
classes <- sapply(tab5rows, class... |
bad01d31fa3cb76b1e4b8068d6b645cbee3c9bf0 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.machine.learning/man/sagemaker_list_trials.Rd | 9b91e41fb1ae9e426edaf6d0b536747d3d159a4f | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,791 | rd | sagemaker_list_trials.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sagemaker_operations.R
\name{sagemaker_list_trials}
\alias{sagemaker_list_trials}
\title{Lists the trials in your account}
\usage{
sagemaker_list_trials(
ExperimentName = NULL,
TrialComponentName = NULL,
CreatedAfter = NULL,
CreatedBe... |
2c128b374789c50fa0265cd336cb9d8739f77dbe | 9995fdb4f2b2341db3a9f7e2b036b656e802e38c | /man/passthroughConceptProcessor.Rd | 78a4bd406c6460aa5d6c497d6826342b46b24e31 | [
"Apache-2.0"
] | permissive | sverchkov/BaselineRegularization | 100f8c647199ae58ecc0281e2b8cf598525e8d4a | d3c208b543104ae63609fe1320a68ed2015b1e79 | refs/heads/master | 2021-07-04T18:33:11.068161 | 2019-02-12T19:37:56 | 2019-02-12T19:37:56 | 112,363,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 710 | rd | passthroughConceptProcessor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/passthroughConceptProcessor.R
\name{passthroughConceptProcessor}
\alias{passthroughConceptProcessor}
\title{Passthrough concept processor}
\usage{
passthroughConceptProcessor(record_table,
record_table_column = "concept_id", out_column = re... |
8462a32d10261be69733d697c3c0a548c403b32d | 6b2ceb82d28058ce11e5557d07caa00929726c3b | /man/guide_legend_interactive.Rd | daa0ca62d29fbb06237884a3dbbf846ae57a4198 | [] | no_license | krishnapsrinivasan/ggiraph | aff4de22801b019f601cd4410c411cdf93ca63a8 | fec5ac510710e45eec1dc19f9b0e4e51b8a53a13 | refs/heads/master | 2020-07-25T11:33:18.462968 | 2019-09-03T15:10:26 | 2019-09-03T15:10:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 406 | rd | guide_legend_interactive.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/guide_legend_interactive.R
\name{guide_legend_interactive}
\alias{guide_legend_interactive}
\title{interactive legend guide}
\usage{
guide_legend_interactive(...)
}
\arguments{
\item{...}{arguments passed to guide_legend.}
}
\description{
an ... |
6638dc001ef63222eba454c2d30f1bff319289ff | c048b06205170c1eae99e34aec414967874ccce0 | /plot2.R | 9212b5e31f6a143398107ad389ddc02182a66133 | [] | no_license | jayant-singh/Assignment-1-for-Exploratory-Data-Analysis-in-R | efe780ea9a5865263ec21bccad90c205b16f5ccb | f2f1e2033cfeb0c451328d0d7ba11aec1007f1b2 | refs/heads/master | 2021-01-10T10:37:18.962970 | 2016-03-03T20:27:27 | 2016-03-03T20:27:27 | 53,079,500 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 853 | r | plot2.R | # Here, we give the code to plot values of Global active power vs. Datetime.
#This plot gives the consumption trend on those two days, Thursday and Friday.
###########################################################################
data_new=read.table("household_power_consumption.txt",sep=";",header=TRUE)
data_two_... |
1ddbf71d7e601dce1f92c2c6c4ef2c3bb3992638 | 942d40cffac9a26fb6a195d0b535eeb4ecc9c786 | /man/process_contact_matrix_scaled_age.Rd | e6396df98b621509b58d8eef4eb19cce9a862fd1 | [
"MIT"
] | permissive | willpearse/squire | 7652a94bd2c75e75fbe24ff3e421c87ac02fa018 | c33ff50849f2d0886423bc7887e972ac3e0f99ec | refs/heads/master | 2022-11-06T14:11:54.940845 | 2020-06-16T15:28:19 | 2020-06-16T15:28:19 | 270,962,087 | 0 | 0 | MIT | 2020-06-09T09:39:49 | 2020-06-09T09:39:48 | null | UTF-8 | R | false | true | 483 | rd | process_contact_matrix_scaled_age.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/contact_matrices.R
\name{process_contact_matrix_scaled_age}
\alias{process_contact_matrix_scaled_age}
\title{Process a contact matrix with an extra}
\usage{
process_contact_matrix_scaled_age(contact_matrix, population)
}
\arguments{
\item{con... |
f40450075fef6e3b191f31b254a1c1578f8c3c5d | 2abfdd54a8e36e67aa5dea6567bfd1058b86f580 | /Part2/Question3.7 - FoodDrinkRules.R | 79b0debf0e0271ad5c3b0254eebc6026deab2c17 | [
"Apache-2.0"
] | permissive | JosePedro90/DataMiningAssig | e9302d58b86256a5029d349d1d49107897b08bd6 | 244e01c0a57d4896acc48ce2b6e599bafd0ff90d | refs/heads/master | 2021-01-25T00:56:50.926470 | 2017-02-03T16:30:48 | 2017-02-03T16:30:48 | 94,704,101 | 1 | 0 | null | 2017-06-18T18:01:25 | 2017-06-18T18:01:24 | null | UTF-8 | R | false | false | 2,140 | r | Question3.7 - FoodDrinkRules.R | # Question 3 - Association Rule Mining
library(arules)
library(arulesViz)
## 7. Association rules include only both food and drink
# Create an empty logical isFoodAndDrink column
indexToName <- function(ItemIndex) {
itemName = as.character(goods$ItemName[ItemIndex + 1]) # R is not zero-index based
itemType = as.c... |
e748557984ff147479e52d2d01fbbc4161e643e5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/galgo/examples/summary.World.Rd.R | 8a492ad7d1ea6326b639a2d1afa116aa251f03be | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 439 | r | summary.World.Rd.R | library(galgo)
### Name: summary.World
### Title: Prints the representation and statistics of the world object
### Aliases: summary.World World.summary summary.World summary,World-method
### Keywords: methods internal print
### ** Examples
cr <- Chromosome(genes=newCollection(Gene(shape1=1, shape2=100),5))
ni <... |
072926781a43f03e656f276b74f5dc702c6697ef | 5d6beae57500eeb415219ae512b6f1716aea2f36 | /RFsp.R | 4fc052fecb09e4c985e093bad05cd48ef12ab4cd | [] | no_license | ycm961120/py-used-for-zju | f36a5e99099919bb9dd5ce602d4eca2588936f65 | fde67db8ed47818e04e8d6ad555a009bb6c1ee4a | refs/heads/master | 2021-07-22T05:52:29.984379 | 2020-09-27T13:19:47 | 2020-09-27T13:19:47 | 218,698,902 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 236 | r | RFsp.R | library(gstat)
library(GSIF)
library(sp)
library(rgdal)
library(raster)
library(geoR)
library(ranger)
library(intamap)
library(plyr)
library(plotKML)
library(scales)
library(RCurl)
library(parallel)
library(lattice)
library(gridExtra)
|
f1840e553613465bf097f2611fed602fa09d4b76 | 17702ad07b28844fda4799bba3da728bfdc5704b | /db/man/check.lists.Rd | cecaf81c04ee84e23503d71b33d1277c7f45019d | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yogeshdarji/pecan | c4d620590f37ab3928f1d28b006456fee0b96b7b | 109381603fab9f9927ad18c95b9389cea68deef1 | refs/heads/master | 2021-06-15T05:56:03.976607 | 2017-03-25T17:33:58 | 2017-03-25T17:33:58 | 86,267,939 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 440 | rd | check.lists.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get.trait.data.R
\name{check.lists}
\alias{check.lists}
\title{Compares two lists}
\usage{
check.lists(x, y)
}
\arguments{
\item{x}{first list}
\item{y}{second list}
}
\value{
true if two list are the same
}
\description{
Check two lists. Id... |
456f0195a3403d3d3db71710a31aeb2dc4b2a7fb | 516180dc556ee75e61d7a5684444d8d7d0d9746a | /man/myGGplot.Rd | 7bbafa9354c69bf93831cd48337213ca47985cd3 | [] | no_license | power502/PowerKyleTools | 57075862a3df8d8d4aaf8e5dcfe47d3feb17a2c6 | 7dc36531188b8e5f678b9d6b71433f756b9972f3 | refs/heads/master | 2021-04-26T23:50:25.940370 | 2018-03-06T20:09:05 | 2018-03-06T20:09:05 | 123,866,863 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 341 | rd | myGGplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/myGGplot.R
\name{myGGplot}
\alias{myGGplot}
\title{Wrapper function for ggplot2 for data d}
\usage{
myGGplot(x)
}
\arguments{
\item{x}{data.frame}
}
\value{
ggplot2
}
\description{
Computes the mean, variance and sd of a vector
}
\examples{
d... |
766a012f4c8bacf133e342fb1bada52301ee402c | 15d030eb134e7bd16ceacca7feae5b6f9705d53c | /Uebungen/2020/02_Uebung.R | 487ece75b67432f644a17502378340c0fc017345 | [] | no_license | m-Py/Testtheorie-R | c4e525c6d0861e3351740436d1dc71cf8b81dd33 | efea9e6f7735945470fe7379aae201fbe9969463 | refs/heads/master | 2023-06-09T18:41:48.319171 | 2023-06-01T13:54:36 | 2023-06-01T13:54:36 | 142,132,705 | 11 | 3 | null | 2020-06-02T08:33:11 | 2018-07-24T09:00:46 | R | UTF-8 | R | false | false | 8,082 | r | 02_Uebung.R |
##########################
# Termin 2 Uebungsblatt ##
##########################
############################################
## Vor den naechsten Aufgaben kommen neue ##
## Inhalte: 1. Logisches UND / ODER ##
############################################
# Logisches UND
TRUE & TRUE
TRUE & FALSE
FALSE & FALS... |
a3e2a65e3641379e381890ebe96cf9d1c2840f9b | 8d2106d12a3daca1516d34b83c46aedc25e2e18a | /MitochondriaSim.R | d970e58ba12a183b69a490ed5d4bb1cb70e4874c | [] | no_license | snaketron/MitochondrionVolume | a4fbf621367f28181f3982d6822bf03a492f4807 | fe06e21dae7505c8c4730aabbf2147e8d0d25a8e | refs/heads/master | 2020-07-07T19:38:37.413701 | 2019-08-28T18:10:05 | 2019-08-28T18:10:05 | 203,456,882 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,382 | r | MitochondriaSim.R | require(parallel)
require(ggplot2)
S <- 30 # side dimension
Nmb <- 1000 # number of Mb in cell
Nb <- 100
masses <- c(1, 10, 100, 1000, 10000, 100000)
# Assumption:
# Mb density ~ 0.3*Mass^(-1/4)
mitdens.allometry <- function(m, n) {
return(ceiling(x = 0.2*m^(-1/4)*n))
}
getMinDist1D <- function(mass, S, Nb, N, N... |
3f2e714714612950c9d1e048ccba660bcb7ec606 | 570112006c0e12d873f6cfcdec7ee7d846f8250e | /ui.R | 594f94285df262629d503065edfcf54148f2b99e | [] | no_license | kitoogofred/Capstone-Project | 8821f160ae94680828c3b6a44fd9aea6e9046140 | 5bd4657d1c91e70f516991263e45be36996e6b53 | refs/heads/master | 2021-09-02T09:13:39.887511 | 2018-01-01T09:37:08 | 2018-01-01T09:37:08 | 115,869,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,526 | r | ui.R | ## Final Capstone Project
## Data Science Specialization
## Fredrick Edward Kitoogo
library(shiny)
library(markdown)
shinyUI(fluidPage(
titlePanel("Next Word Text Predicting App"),
sidebarLayout(
sidebarPanel(
h4('Instructions'),
h5('1. Enter a word or sentence.'... |
b5dca15fd3505ec2788b39fd1c477a4696830c64 | e0b0ddad937ce559aba8ce8e0ef2d5432ed839c9 | /temp/real_fit_0707.R | d9d24f724602e8b29851fe198e4913e3dccc21fa | [] | no_license | jenjong/RankConsistency | 968b4dfb7f5a43b33ad8bc0a8d872dbb4d6a24f5 | ad262789e833757e2437fb2423ca71e7ce89793c | refs/heads/master | 2020-03-11T01:21:25.848962 | 2019-04-08T11:11:15 | 2019-04-08T11:11:15 | 129,689,557 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,574 | r | real_fit_0707.R | rm(list = ls())
gc()
# training code
# set path
if (Sys.info()[1] == "Linux") {
setwd("/home/jeon/Documents/Github/RankConsistency")
} else {
setwd('C:/Users/Jeon/Documents/GitHub/RankConsistency')
}
# load car segmentation
load("Real_BT_gBT2_cv5_all_data.rdata")
i_1 = 1
i_2 = 13
sel_idx = which(BT_est_rank >= i_1 ... |
02add9800ddb0bc5cc3e10cbddaf8649bf649589 | 620c119a14451f184885ba212c11a8b243a583f6 | /data/facets/facet_data_prep.R | 7243f4477cb4d420e8acabff6fcffbc2017b0432 | [] | no_license | matthewkling/cappa | 12c7a47c3523675af5cbf5d994baf9bba49384d0 | 1ec5914cbe2990a7b317e1f4f8c15ad2a18a196b | refs/heads/master | 2022-02-23T13:14:57.075256 | 2019-09-17T21:16:01 | 2019-09-17T21:16:01 | 139,507,435 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,415 | r | facet_data_prep.R |
library(tidyverse)
library(ape)
library(raster)
library(phytools)
library(ggtree)
select <- dplyr::select
indir <- "e:/phycon/002_sxt/pred_s25km"
outdir <- "e:/phycon/results/pred_s25km"
setwd(outdir)
r <- readRDS("optimization_results.rds")
d <- r[sapply(r, class)=="data.frame"] %>%
do.call("rbind", .) %>%... |
2a1de5549d084d47f1ccb9cfa6f73a97c2c1a0e1 | bae1ceee3b44cf4816e329bc0322540c7524770f | /R/New_NEMURO Analysis.R | f811139a3f4ffae39d38dcf7316c29341e60f300 | [] | no_license | tbrycekelly/Lateral-connectivity-in-the-gom | bc8c71a209e8501b9e4092afb4b331c99db0c451 | 4259cd01af5ad09db283b838cd2cc2dfb385a431 | refs/heads/master | 2023-04-10T16:26:58.463885 | 2021-04-07T19:36:14 | 2021-04-07T19:36:14 | 321,499,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,844 | r | New_NEMURO Analysis.R | library(TheSource)
library(ncdf4)
source('RX/source.r')
source('RX/NEMURO.source.r')
## Load in a NEMURO File
raw.files = list.files('Z:/Data/Taylor/gom_data/may_runs_nemuro_gom', pattern = '.nc', full.names = T, recursive = T)
raw.files = raw.files[!grepl('raw', raw.files)]
raw.files = raw.files[grepl('2002', raw.fil... |
f08daa021f39d8ab1fbf1de4de2885a39636fc19 | 8e08e6016b00581ee99bb6fda6646206013cafff | /pollutantmean.R | e5c896c70921ca3441094625660fc8fcfb4686f5 | [] | no_license | LemonCanon/datasciencecoursera | 00b47d74bbcc54980d7e0eb1315459b46c913057 | c86c33aa0a8e93859afb30d8cac0dd276fd44b52 | refs/heads/master | 2021-01-10T16:57:43.942356 | 2016-02-19T14:29:40 | 2016-02-19T14:29:40 | 51,541,176 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,183 | r | pollutantmean.R | pollutanmean <- function(directory, polutant, id = 1:332) {
##'directory' is a character vector of length 1indicating
##'the location of the CSV files
##'pollutant' is a character vector of length 1 indicating
##'the name of the pollutant for which we will calculate the
##'mean; either "sulfate... |
3d6c04b7549a7399fc2a09ec0f2fdd76d75eed98 | 056f795d9a0d8b602de4399426fb82b4583f3c34 | /Crime_SPC/Scripts/Projections/2_Simulations_for_Remainder_of_Year.R | e65f4a4f12dd9ae570c6ac08c0461a9bdd8717d5 | [] | no_license | RPD-OBI1/Crime_SPC | c25b9e7bf477fffde84e2b817ad4c95a1076f16f | 7a525489dd77c26e182e38fd9c67bac8c39471b4 | refs/heads/master | 2022-09-02T14:29:15.699779 | 2022-07-21T14:56:55 | 2022-07-21T14:56:55 | 194,919,015 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,760 | r | 2_Simulations_for_Remainder_of_Year.R | ### This Script calls upon a variety of functions to make calculations from summarized data to create other necessary summary tables
# First set the working directory to the project folder that contains the folders "Data", "Functions" and "Scripts"
# The "Data" folder should contain the raw data used, "Functions" s... |
bae5423d09f53e3a50dc02b59a1059c892cbf779 | 5722c4e256abf33f361b571047d9b1074a85cbaf | /figures/svpop-figures.R | d2bf1e606734f35404d40c4f9a324a77c824cf21 | [
"CC0-1.0",
"CC-BY-4.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jmonlong/manu-vgsv | f4ea0ce4d12b7165f3c72ac1b26da0e7ed734cc6 | 525c3717f15cb2257f0b8c7e101b2fa6afa567d4 | refs/heads/master | 2022-04-06T16:53:14.704254 | 2020-02-24T05:40:06 | 2020-02-24T05:40:06 | 166,314,077 | 9 | 2 | NOASSERTION | 2019-10-23T21:18:13 | 2019-01-17T23:52:55 | HTML | UTF-8 | R | false | false | 3,165 | r | svpop-figures.R | library(ggplot2)
library(dplyr)
library(ggrepel)
library(knitr)
source('colors-functions.R')
## HG00514/HG00733/NA19240 reads, but processed with 15-sample graph of SMRT-SV v2 discovery data from Audano et. al 2019
## There are no genotypes for this data, but there are a few inversions
## Method names and renaming ve... |
8fd4c6a0b0e041ed54a6ba44f231dc21b1151484 | bf0af8599a868c4c066caf37630d22bf31135ea3 | /man/find_last_commit.Rd | 78c8a71be3e19784ff7c0ff31434bea0fb88247b | [
"MIT"
] | permissive | lorenzwalthert/gitsum | 5e49f0e8ac4344832b1f6ae6baedbe91c04812fa | 33555bc87854212f4f37a37ab9c22c043e9b85eb | refs/heads/master | 2021-01-21T15:19:22.677699 | 2021-01-16T17:14:09 | 2021-01-16T17:14:09 | 91,839,782 | 50 | 7 | MIT | 2021-01-16T17:14:10 | 2017-05-19T19:41:04 | R | UTF-8 | R | false | true | 485 | rd | find_last_commit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io.R
\name{find_last_commit}
\alias{find_last_commit}
\title{Find the last commit in a repo}
\usage{
find_last_commit(path = ".", update_dump = FALSE)
}
\arguments{
\item{path}{The path to the git directory one wants to create summaries for.}... |
c3608de129d01fef44c725190b2f8765f4d62fa3 | 2bcebe837e572741007abe14f95150ba4cdb6de8 | /VisionCredit/www/Scripts/varcuant.R | 98a0d32f9135ff92f131d1c52c25f80e3efeaa6b | [] | no_license | synergyvision/Riesgo-de-Credito | cdeda5e113d6784d38ce33eed16d105857cfc1ef | 8add90a8389d50ef224cc30ceca1df9d05e81f49 | refs/heads/master | 2021-04-25T08:04:59.738160 | 2020-04-04T01:14:08 | 2020-04-04T01:14:08 | 122,198,136 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 672 | r | varcuant.R |
library(readr)
datos <- read_csv("~/Riesgo_de_Credito/App/appTemplate/data/datos_completos.csv")
D<- datos
M <- c()
for (i in 1:length(names(datos))) {
if(summary(as.factor(D[[i]]))<=10){
M[length(M)+1] <- i
}
}
M
D1 <- D[,c(1,M)]
D1
pval <- NULL
nomb <- colnames(D1)
for (i in 2:length(nomb)... |
02146658dca3113691087271850485cede2502f7 | 8911516df63a06e0dd7795a26ff14ab1bcef0171 | /sim.R | 277793c906ed61686b7c8c6b2049e7915b386aba | [] | no_license | AnieBee/ACES | 1a85c5e6eca47041df5076f03c8e8f370ef3a4ac | dab8dfabd9c580ce3a20e7b25ebbe31ef7a7f86d | refs/heads/master | 2021-01-20T05:26:37.118358 | 2017-04-29T12:03:45 | 2017-04-29T12:03:45 | 89,782,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,060 | r | sim.R | install.packages("BayesFactor", repos = "https://cloud.r-project.org/", type="source", dependencies = T)
library(BayesFactor)
options(scipen = 1)
N = c(20, 40, 80) # sample size, index with n
ES = c(0, .2, .5) # effect size, index with e (is mean, sd is always 1)
Trails = c(2, 3, 5) # number of Trails, index with t
... |
f1c7555200e52fcec83ed1f44458ef920713dc46 | 31f3d6031b5ac2310317b72a20ef8f2c29d55049 | /r/src/error_functions/cal.met.wind.asos.r | 44b49283637e339dba8120b0d08d54cc9be58711 | [] | no_license | uataq/X-STILT | 638c3c76e6e396c0939c85656a53eb20a1eaba74 | eaa7cfabfc13569a9e598c90593f6418bc9113d5 | refs/heads/master | 2023-07-22T03:14:50.992219 | 2023-07-14T16:40:55 | 2023-07-14T16:40:55 | 128,477,511 | 12 | 5 | null | 2023-06-19T22:57:03 | 2018-04-06T22:46:36 | R | UTF-8 | R | false | false | 5,538 | r | cal.met.wind.asos.r | # script to interpolate the winds from GDAS, using trajwind() for each receptor based on asosiosonde data
# read output model-data comparisons and make plots
# written by DW, 05/15/2017
# Add temporal interpolation of GDAS winds, DW, 05/26/2017
# optimize and convert original script to subroutine, DW, 08/29/2018
#
# '... |
04604de1f3ce23fe1fec8ee1dbf25beedcbc543d | a845a15920e9e4b094434d8c7eeacff3e99a0aa1 | /LR - updated.R | ce4e368e8784794300100744609ae9f036d476fe | [] | no_license | gyz0807/R-works | f3dcd3ffb96d7ea4631508a96ac14f318d8b3740 | 3c66dee5aab4c94c6786c2e0f00477c9513d28b2 | refs/heads/master | 2021-01-10T11:00:21.558924 | 2016-03-15T05:51:19 | 2016-03-15T05:51:19 | 53,918,499 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,576 | r | LR - updated.R | ################################## Data Preparation ##################################
## Walking Distance
W.Data <- read.xlsx("Data1.xlsx", 1)
W.GC <- read.xlsx("Data2.xlsx", 1)
W.Zipcodes <- read.xlsx("Data3.xlsx", 1)
W.Counts <- read.xlsx("Data4.xlsx", 1)
AllData <- read.xlsx("Data5.xlsx", 1)
## Commute... |
06ea2b539a9a8e60f82130c25e66a4dc779888f0 | 500edfa818d623e6be6788073ed51b473b0d4d0b | /man/dyad.sim.Rd | 553be4d3edc105a8ff75b4124b4128ebb651b4cc | [] | no_license | prodriguezsosa/dyadRobust | 639e13046764e6275285895d447367525b9b36b7 | 8bb28eecffca3e663d2209e76a08c4749d4f78ba | refs/heads/master | 2022-04-01T17:49:14.939665 | 2019-12-14T18:19:36 | 2019-12-14T18:19:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 926 | rd | dyad.sim.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim-dat.R
\docType{data}
\name{dyad.sim}
\alias{dyad.sim}
\title{Simulated dyadic data from \code{\href{https://arxiv.org/pdf/1312.3398.pdf}{Aronow, Peter M., Cyrus Samii, and Valentina A. Assenova. "Cluster-robust variance estimation fo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.