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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5cbde3a1b025b6ece34df7731d9d609dfe6f376e | 0a906cf8b1b7da2aea87de958e3662870df49727 | /gjam/inst/testfiles/tnormRcpp/libFuzzer_tnormRcpp/tnormRcpp_valgrind_files/1610044870-test.R | bfc02dd6d41d0f2ba4a007be9b5698cc2dfd008e | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 187 | r | 1610044870-test.R | testlist <- list(hi = 1.12780552972647e+45, lo = 1.12780552972646e+45, mu = 1.12780552972647e+45, sig = 1.12780552972647e+45)
result <- do.call(gjam:::tnormRcpp,testlist)
str(result) |
c288a3c95fae86b949b5a14e135d6981b61529ba | fa703db3c7f0621c2c2656d47aec2364eb51a6d8 | /4_ss21/r/P07-3.R | db7afcbfa229966c80e91d7d81577898371feb2c | [] | no_license | JosuaKugler/uni | f49b8e0d246d031c0feb81705f763859446f9b0f | 7f6ae93a5ef180554c463b624ea79e5fbc485d31 | refs/heads/master | 2023-08-15T01:57:53.927548 | 2023-07-22T10:42:37 | 2023-07-22T10:42:37 | 247,952,933 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,697 | r | P07-3.R | library(R6)
GridPath <- R6Class("GridPath", list(
path = NULL,
dir = "",
rotate_right = function() {
if (self$dir == "N") self$dir <- "E"
else if (self$dir == "E") self$dir <- "S"
else if (self$dir == "S") self$dir <- "W"
else if (self$dir == "W") self$dir <- "N"
... |
22efeb8d62c405db26435647abc2e5448b690480 | 38ccbac05de45e94e9e4385a981ef689bdc2e6e5 | /app.R | 2a8dc63370239d549112c0bcbaf6dee397d3f73d | [
"MIT"
] | permissive | antoniorv6/meteorlandsvis | 9cd8dfb7fcad377344da2e1f1c8e3d6b36a50b5d | 28538e545220ae873eb7e82c51bf1d3a4d1476a0 | refs/heads/main | 2023-03-04T11:27:21.054711 | 2021-02-15T10:23:53 | 2021-02-15T10:23:53 | 337,361,986 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,125 | r | app.R | library(shiny)
library(reshape2)
library(dplyr)
library(xts)
library(dygraphs)
library(rbokeh)
library(shinythemes)
library(shinyWidgets)
library(shinydashboard)
library(ggplot2)
library(plotly)
library(scales)
library(leaflet)
library(leaflet.providers)
library(ggmap)
library(leaflet.extras)
library(magrittr)
library(... |
74a5bbcbc31550267cac4db77b9f40dafbb2f673 | 41373e2c057dccbd5243f6fc0da22781964bb905 | /analysis/analysis_pennsylvania.R | ab1445fe1f956aedc068f524038964ffb72e3103 | [] | no_license | Howard-Center-Investigations/Juvenile-lifers- | e27011cf963fd6ac8c2ccaa22b36aa8875d02260 | 5081d6f1c0b44f768185e1dedda7933dd4ac48a9 | refs/heads/master | 2020-08-27T09:04:21.309156 | 2019-11-13T00:35:14 | 2019-11-13T00:35:14 | 217,311,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,300 | r | analysis_pennsylvania.R | ###Pennsylvania juvenile analysis
###Data acquired from Maryland DOC by Camilla Velloso (camilaspvelloso@gmail.com)
###Analysis by Riin Aljas (aljasriin@gmail.com)
###GET DATA----
###GET DATA----
library(readxl)
library(tidyverse)
library(readr)
library(lubridate)
library(tidycensus)
library(gridExtra)
lifers <- ... |
e8612ab39b9c3ec914aab67370ea426a8faa54b9 | 26d3e98123fe1aa73234849bb90be65d0acd4a3d | /Statistical-Analysis-Multiple-Regression-Model-Prostate-Cancer-main/RCodeProject2.R | 617efdf62e86439a7d53674df4238fe031105ac7 | [
"MIT"
] | permissive | augannan/ML-Algorithms-Implementations-Using-R | 9a6e0bf35d87b077114ee9eefa2c8eb940bc0f07 | 93a873eadf8bff3592c186567af5f52a2c450daa | refs/heads/main | 2023-07-26T22:45:34.444119 | 2021-08-19T18:21:23 | 2021-08-19T18:21:23 | 398,035,591 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,153 | r | RCodeProject2.R | #### Perform an exploratory analysis of data ####
# Understand variables
# Find patterns in data
# Suggest modeling stategies
# Clear console
cat("\014")
# Remove all variables
rm(list=ls(all=TRUE))
# Set working directory
setwd('FolderPath')
# Load Data
pcancer = read.csv("prostate_cancer.csv")
#I... |
c7c14f1dc750a82df6096ee0ac05ec4f78f9b30a | e28041b40405525591643242b91b9f0edb6fd0e5 | /data/complexportal/Functions.R | ae1424e1076fbac34ca94c9f5aabbf9a51161768 | [] | no_license | moghbaie/ComplexPlus | bd403bd29b6311dbf3980819d3bad3db4b19b96e | e709909af991260f4b52124b8544de99ccf64d92 | refs/heads/master | 2020-09-04T21:46:51.415196 | 2019-11-08T23:18:30 | 2019-11-08T23:18:30 | 201,650,525 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,949 | r | Functions.R | # Mehrnoosh Oghbaie
# 08/30/2018
# Repository for all the functions
######################################################################################
# Either download or install the required library from CRAN or bioconductor
#######################################################################################... |
b9cbbf83250b073e53f8e09f5cf3cdbc99378022 | 2f482df1498f7311c70069da6977bd8c47577a56 | /man/call_api.Rd | 8297d7154738212a0f069de2f783e674c54c41ea | [] | no_license | cran/cometr | 179d837d20ab349dcbb5c70d26002c8f936d03de | 45ae44c25f6640576688fac53a34f1cb48287f77 | refs/heads/master | 2022-11-29T23:52:21.356518 | 2020-08-13T16:40:03 | 2020-08-13T16:40:03 | 255,887,004 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,105 | rd | call_api.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api.R
\name{call_api}
\alias{call_api}
\title{Call a Comet REST API endpoint}
\usage{
call_api(
endpoint,
method = c("GET", "POST"),
params = list(),
response_json = TRUE,
api_key = NULL
)
}
\arguments{
\item{endpoint}{The REST API ... |
e33c39a73e3ff41fc0604bc4072b30d271029e74 | 689e60449a13f2eac2cf714ed971f6a224358dfb | /niche_conservatism_test_2019_11_28.R | 73602dd2b6b13d7d836faa313ebe13ab62585f24 | [] | no_license | Eryops1/niche-conservatism | d6833a6251d0520cdaca785fb5de09e520c10408 | 18b6857ab4a41020ec713aef22691fbd6a6fbeca | refs/heads/master | 2020-09-22T22:41:55.275712 | 2019-12-03T14:40:19 | 2019-12-03T14:40:19 | 225,336,586 | 0 | 0 | null | 2019-12-02T09:31:40 | 2019-12-02T09:31:39 | null | UTF-8 | R | false | false | 3,934 | r | niche_conservatism_test_2019_11_28.R | library(BIEN)
library(ape) #Package for working with phylogenies in R
library(maps) #Useful for making quick maps of occurrences
library(sp) #A package for spatial data
library(stringr)
library(rgdal)
library(sp)
test_data<-read.csv("test_data.csv", sep = ";", na.string = "") # species list
map_trf <- readOGR("corlett... |
679b293f9e86d736dabf6afbc33d1e7e28ea665d | d4b18c2a188f6ad0120e07cbd90f1e6cfce84928 | /R/SimRedVsWhiteNoise.R | fd0da19060e891a1b1dcc62cb9fe540cd39bf0be | [] | no_license | kmanlove/BighornIPM | 6b01606af640eac9bce8f8c214e5bed8e422605c | 1f903391b6f76f52db4020a2689eda90c2bcf0d8 | refs/heads/master | 2016-09-06T19:38:25.349407 | 2015-11-12T02:02:46 | 2015-11-12T02:02:46 | 27,792,923 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,013 | r | SimRedVsWhiteNoise.R | SimRedVsWhiteNoise <- function(timesteps,
reps,
alpha.range,
gamma.range,
alpha.steps,
gamma.steps,
samples.to.use.in,
... |
280c6273ce80a43fbbd691eec64d4e2b764a69bc | 5404b977568c52fb729d59223eeebaf2e99dc497 | /R/collapse.R | 52e86c31c45d1b132bafa04ac3e18ee597ac3906 | [
"MIT"
] | permissive | AlexaBennett/featuretable | 6a9d8c1c58d729cd135e74fd03565376615b5c11 | 083f3f506a68762c288fca85a6718eae4d1b2568 | refs/heads/master | 2023-04-18T07:43:20.369518 | 2021-05-04T04:19:31 | 2021-05-04T04:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,662 | r | collapse.R | #' Collapse samples/observations/rows or features/columns based on metadata.
#'
#' @description
#' Collapse samples/observations/rows or features/columns based on metadata. For
#' features/samples, any feature/sample with the same metadata for selected
#' category will be grouped.
#'
#' @details
#' Grouping is done by ... |
11c7b8cd2ea363dd88eaba3397b2e2b3d10bcfb1 | 0d4c1d4a347fbf9202d21aa1710a3b056711cedf | /man/stub.Rd | 211e892bd9ce9e59fb705a71b652d47242160285 | [] | no_license | armenic/reporter | 6a5756977da13340f7bf80cd63d13d340d97d8f9 | 00dc496ca93afef4b6e05f0f24a74dc935e91123 | refs/heads/master | 2023-02-18T06:49:22.454126 | 2021-01-19T14:55:15 | 2021-01-19T14:55:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,174 | rd | stub.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table_spec.R
\name{stub}
\alias{stub}
\title{Defines a report stub}
\usage{
stub(x, vars, label = "", label_align = NULL, align = "left", width = NULL)
}
\arguments{
\item{x}{The table spec.}
\item{vars}{A vector of quoted or unquoted variab... |
1d2c1d6ad8578382f383116e68f8d7dee8a7ea0a | 09efa70ba24c57fa26432d744b6a07fd217d60d5 | /notar.2.3.r | 8c38fafc68d4b54a3f1255dc9719ca15f83072db | [] | no_license | diogro/ex-R | 84412d8e6226c9c9467a728a5dfc65e2aca24402 | 7e9c3d1d56e38d869340c1a764eae66bbd796d1e | refs/heads/master | 2022-04-30T14:59:11.829918 | 2022-04-11T18:49:57 | 2022-04-11T18:49:57 | 8,480,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 219 | r | notar.2.3.r | luz = c( 9839,10149,10486,10746,11264,11684,12082,12599,13004,13350,13717,14052)
luz.cons = diff(luz)
luz.m = mean(luz.cons)
luz.md = median(luz.cons)
luz.v = var(luz.cons)
luz.range = c(min(luz.cons), max(luz.cons))
|
bba1eadd89c86e047da0022b0ee64a0408bcc8b9 | 6d197fdc3050a6f5305b57a20e7e19f8c3fbe757 | /Project.R | dd9b64f97dcc18785ca3416d5edb34f949655f1e | [] | no_license | akshat0905/Classification-algorithm-with-R | 719cb5492e14ccde156faa10dce8f36b31413af9 | 448fc2b1bf8c398931d82370a84e407a88cc3c39 | refs/heads/master | 2020-05-03T05:38:52.051524 | 2019-03-29T18:08:18 | 2019-03-29T18:08:18 | 178,452,744 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,048 | r | Project.R | #For finding out the best predictions in a multi-class classification in such a case when
#where we want to build a model for predicting people who were readmitted in less than 30 days
library(class)
library(caret)
library(ggplot2)
library(rpart)
library(rpart.plot)
library(randomForest)
library(e1071)
s... |
4cea159e909612e7c45b08c8e71139001dd44183 | ca6ee7379ce9c2dcd7249d372d3b08ed3964fcf0 | /sourceScripts/createMutationMatrix.R | 1b6a2f1cafe076f2ceb47f48fa3f031ba7c4da0c | [] | no_license | weiyi-bitw/synapseCCLE | 5457600933de0163c0437af6e0fe241dac8fac92 | ed9f7c17f15e515401566a093936f4778b22c015 | refs/heads/master | 2020-04-12T20:06:34.715798 | 2013-06-07T16:47:02 | 2013-06-07T16:47:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 565 | r | createMutationMatrix.R |
maf = loadClin("CCLE_hybrid_capture1650_hg19_NoCommonSNPs_NoNeutralVariants_CDS_2012.05.07.maf", sep='\t')
mutSamples = sort(unique(maf[,"Tumor_Sample_Barcode"]))
mutEvent = cbind(rownames(maf), maf[,"Tumor_Sample_Barcode"])
mutGenes = sort(unique(mutEvent[,1]))
mutmat = matrix(0, ncol=length(mutSamples), nrow=leng... |
ece4c2850f50c4aec0f343580c66c2b277ffd919 | 189d693b09a7576bec04ea3e336450d01d6fe237 | /diversityAnalyses/windowsOfOverlap.R | 4aaf47793022a467580de974bbbd0f8bcd43bc26 | [] | no_license | AbigailShockey/sputum | 80c1a0daa8f2328cf7a1ce67d035c774364e78a3 | d297c7a391f1a527cf22e4a6b0f6045d6a7eb4b9 | refs/heads/master | 2020-04-23T17:16:13.237640 | 2019-11-05T22:48:56 | 2019-11-05T22:48:56 | 171,325,218 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,264 | r | windowsOfOverlap.R | ######### Overlap in windows of extreme nucleotide diversity
library(ggplot2)
library(magrittr)
library(dplyr)
library(gplots)
library(ggthemes)
library(reshape2)
library(tidyverse)
library(ggsci)
library(plyr)
### Read in slinding-window tables (long format)
inter.intra.df.l <- read.table("/Users/abbas/Do... |
a459cca7abe7d4b5765a18011ba1f960ef9dc819 | ed8c18f106bc266d1a14d5c38d0657aafcfee809 | /tests/testthat.R | 48da8d9cf1d10e817b502a343ee546ec0d5833ab | [] | no_license | mdsumner/wmts | 02abcf357c70fe96e62a0e89b448f5ed9ab267cc | c23d2c114d40a8e0b6856f4deae44894a4199db8 | refs/heads/master | 2021-07-30T05:04:54.069605 | 2021-07-21T03:56:55 | 2021-07-21T03:56:55 | 220,982,958 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 52 | r | testthat.R | library(testthat)
library(wmts)
test_check("wmts")
|
3e3cef1e9997fe40c36db1f8b4b39a1c79b7dddf | 592ff5e324891b94e18686ed96371b170c33481a | /patents/patent_analysis.R | 48c10b1bd0d1e24c77816807e6d0f6f4ba3f4f49 | [] | no_license | fabiorcampos/Innovation-Analysis | fc7965bab49d01ef5bc313764d079b9c523965c7 | 0cfb45f0c100a465b0d6e60840e550eeaf03ed0d | refs/heads/master | 2021-01-01T16:01:58.120243 | 2017-09-13T18:54:11 | 2017-09-13T18:54:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,258 | r | patent_analysis.R | # Load libraries
library(dplyr)
library(stringr)
library(tm)
library(ggplot2)
library(wordcloud)
library(readr)
library(SnowballC)
# Load dataset
pat_072017 <- read_csv("pat_072017.csv")
df <- as.data.frame(pat_072017)
# Analyse Inventors
ae <- as.character(df$AE)
ae <- str_replace(ae, " \\(.*\\)", "") ### Remove de... |
3f82db09c68f032688b7bc17f8470133a9ed7362 | e001240ee58783ccde42861e8d80f643996eb70b | /devstats.R | 8c5af4833ab80d13330ae79d40374730adfc8f10 | [] | no_license | pedrovelho/high-five | 908a799105b030f503a2eb015cee3402bee085f7 | c61e1600bca1a8aba669a0c697827dcc58086e70 | refs/heads/master | 2020-03-11T13:51:57.744919 | 2018-04-18T09:20:29 | 2018-04-18T09:20:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,653 | r | devstats.R | #!/usr/bin/env Rscript
##sudo apt-get install r-base
##sudo apt-get install pandoc pandoc-citeproc
##install.packages("highcharter")
##install.packages("htmlwidgets")
devs <- read.table('sample.data', header=TRUE)
devstats <- data.frame(devs)
devstats$total = devstats$minor + devstats$major + devstats$critical
library... |
cd34cbf29edd1532b3fb568373c319db67e87b0c | 4d216630e99eda5974b2655baf8928ca7da754bd | /drake/functions.R | 9a647910692707b72fc9ace1ddbe18788c214df5 | [] | no_license | ashiklom/edr-da | 467861ec61cd8953eb272e2844414a522db7268f | b092600954b73fa064300c6e7b21d0413d115b94 | refs/heads/master | 2021-07-12T18:59:20.190169 | 2021-04-12T14:00:17 | 2021-04-12T14:00:17 | 71,824,349 | 2 | 5 | null | 2018-02-01T13:29:03 | 2016-10-24T19:26:27 | R | UTF-8 | R | false | false | 18,121 | r | functions.R | last_result_file <- function(basedir = "multi_site_pda_results") {
info <- fs::dir_info(basedir, recurse = TRUE, glob = "*.rds")
info %>%
dplyr::arrange(change_time) %>%
tail(1) %>%
dplyr::pull(path)
}
tidy_prior <- function() {
sites <- readLines(here::here("other_site_data", "site_list"))
nsite <... |
942d6bfe17c6131e407ca60a24f9b74ef17691ec | c6bf3b890f5589eb847493f9d59acf4257c00d08 | /cachematrix.R | 33151fd3561d69688cc3a9ab223d2edcf8897fc9 | [] | no_license | timowlmtn/ProgrammingAssignment2 | 1556c5bbf603e2c5deade4555e7b68af1d757e4f | bb8763fa798d0a195475ee50010dbeb0eb6a3655 | refs/heads/master | 2021-01-09T20:45:43.453926 | 2014-05-25T13:07:25 | 2014-05-25T13:07:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,512 | r | cachematrix.R | # This program demonstrates the use caching in R to create a data structure where the inverse is
# only computed as needed.
#
# To Test:
#
# cachedMatrix <- makeCacheMatrix(matrix(sample(100,16,T),4));
# cacheSolve(cachedMatrix)
#
# Correct result is the identity matrix with ones on diagonal and 0s (with double... |
2d0d0b71891f0b8ec2779c981ab3f600d84ca1aa | 392fe0cc9fac49f1c101d32288aa3f661f4e5a10 | /run.r | c1fe408e8b22ed23395c4eadec0ff671d4b1aaf2 | [] | no_license | mwinnel/ARC-Project | bf3b8c053131cd22622dd81c4b9d290e972de4ce | 879f04cc419fe39d92ae416dfb5217047b12a5fd | refs/heads/master | 2021-01-24T20:25:40.735664 | 2015-04-08T03:41:20 | 2015-04-08T03:41:20 | 28,791,006 | 0 | 0 | null | 2015-03-24T06:04:47 | 2015-01-05T00:42:06 | R | UTF-8 | R | false | false | 166 | r | run.r | # setwd("C:/SentinelTest")
setDir <- "C:/Users/s2783343/Documents/ARC/ARC-Project"
setwd(setDir)
source("data_col.R")
source("start_spot.r")
source("loop.R")
|
3e19a35d21bb5aaf8fae3e1f8f07a5aef92274ef | 28c0bb9cf47bc8a8f629b389ba62c1808fd34691 | /man/lactation.machine.model.Rd | fe61bb48b1784d8041a7c6f899f94d26b87d7bc9 | [] | no_license | gcostaneto/ZeBook | 836e3dc8ab80de9ecce782e809606f4d647f30c0 | b892a7e80a233b1c468526307eb5f7b49d95514d | refs/heads/master | 2020-05-14T08:41:25.584061 | 2018-11-09T16:40:03 | 2018-11-09T16:40:03 | 181,727,649 | 1 | 0 | null | 2019-04-16T16:33:07 | 2019-04-16T16:33:07 | null | UTF-8 | R | false | true | 2,321 | rd | lactation.machine.model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lactation.machine.model.r
\name{lactation.machine.model}
\alias{lactation.machine.model}
\title{The Lactation model with milking machine}
\usage{
lactation.machine.model(cu, kdiv, kdl, kdh, km, ksl, kr, ks, ksm, mh, mm,
p, mum, rma, ... |
56555d78896af984e478b4831dfaa01072999467 | 6436da1c54563dc4589693e396dc679691cbcb4d | /main.R | 9ffcaf45239420d70d510cae8f6923caddb2bec6 | [] | no_license | baidurja/kaggle_GA | 00415bbe827d0d2a0706d2e7059f465bf1f1ecba | 65be50493e11c0df94a564ca4ee89b90728c305a | refs/heads/master | 2020-04-01T07:25:32.658147 | 2018-10-30T01:23:27 | 2018-10-30T01:23:27 | 152,989,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,487 | r | main.R | library(tidyverse)
library(jsonlite)
library(data.table)
theData = read_csv('./data/train.csv')
theData$channelGrouping = as.factor( theData$channelGrouping )
theData$fullVisitorId = as.factor( theData$fullVisitorId )
theData$socialEngagementType = as.factor( theData$socialEngagementType )
totals_col = jso... |
6534a9b6f60efd6da2410b1a8e40f11bb67b398c | 5434a6fc0d011064b575b321e93a3519db5e786a | /man/getAbsSandboxPath.Rd | c6fac9d48f1648c0f6f39a19313d483719190890 | [
"MIT"
] | permissive | cytoscape/RCy3 | 4813de06aacbaa9a3f0269c0ab8824a6e276bad9 | 18d5fac035e1f0701e870150c55231c75309bdb7 | refs/heads/devel | 2023-09-01T18:23:28.246389 | 2023-08-23T07:57:19 | 2023-08-23T07:57:19 | 118,533,442 | 47 | 22 | MIT | 2023-04-03T17:52:34 | 2018-01-23T00:21:43 | R | UTF-8 | R | false | true | 373 | rd | getAbsSandboxPath.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RCy3-sandbox.R
\name{getAbsSandboxPath}
\alias{getAbsSandboxPath}
\title{getAbsSandboxPath}
\usage{
getAbsSandboxPath(fileLocation)
}
\arguments{
\item{fileLocation}{fileLocation}
}
\value{
file location
}
\description{
Get absolute sandbox p... |
4bf5adb35437899abb3912b81c9e92c43b8f8bb5 | 2ab3220d625574d895ce01eeb6a839d4d195fd5e | /man/Genomic.Instability-package.Rd | 559b7cf6bba0e98ff4d1adcfaac1678137aad5fa | [] | no_license | SilvestriMR/Genomic.Instability | 584ada34386cb43c0c6a9fedf3a2747bcccb99d6 | 2660fb4c42c43bb89d9f271b01fb096611638b48 | refs/heads/master | 2020-04-07T20:28:14.989134 | 2019-01-11T13:10:13 | 2019-01-11T13:10:13 | 158,672,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,232 | rd | Genomic.Instability-package.Rd | \name{Genomic.Instability-package}
\alias{Genomic.Instability-package}
\alias{Genomic.Instability}
\docType{package}
\title{
\packageTitle{Genomic.Instability}
}
\description{
\packageDescription{Genomic.Instability}
}
\details{
The DESCRIPTION file:
\packageDESCRIPTION{Genomic.Instability}
\packageIndices{Genomic.Ins... |
d1d30348e9ee0acf8177459ae71c844bb6f94c33 | dd89b14e542e1227b3a63147727be2ec63b4570d | /man/explore.Rd | 4696011e93145aab40ad457bf34f4c3a7c2a8726 | [
"BSD-3-Clause"
] | permissive | MetAnnotate/metannoviz | 79b792432b6b719ba4744c4f252256e24763e46e | d9467dcde72f73edb37ff0149954ca9d1bac8aa0 | refs/heads/master | 2022-11-22T02:44:43.923746 | 2020-07-28T05:41:31 | 2020-07-28T05:41:31 | 264,586,383 | 4 | 0 | BSD-3-Clause | 2020-07-28T05:30:50 | 2020-05-17T04:53:37 | R | UTF-8 | R | false | true | 2,288 | rd | explore.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/explore.R
\name{explore}
\alias{explore}
\alias{explore_metannotate_data}
\title{Explore MetAnnotate data}
\usage{
explore(
metannotate_data,
evalue = 1e-10,
taxon = "Family",
normalizing_HMM = "rpoB",
top_x = 0.02,
percent_mode =... |
2a72bac8c9dda23c655268b71db3a4672f5f6128 | aca02256163fc81fa16fa1b74f1279a347797a65 | /PRCC_function_test.R | f6fe9941c9e9c96cc0b71ac0229b1bfee98b0671 | [] | no_license | jekableka/Gubbins_Sensitivity | 824cd9129cbd28784195ede09dcde9a5074a0c3c | 280590aa2877280aa5cdbb088698a93ee718b97b | refs/heads/master | 2016-09-06T19:02:17.403820 | 2013-07-30T14:19:36 | 2013-07-30T14:19:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 650 | r | PRCC_function_test.R | ## Set seed for random number generator
set.seed(1)
##Load Hmisc package for correlation coeffecient with p values
library("Hmisc")
##Generate random input variables
x <- rnorm(10)
y <- rnorm(10)
z <- rnorm(10)
##Generate random output variable
w <-rnorm(10)
##Rank transform variables
a <- rank(x)
b <- rank(y)
c <... |
55ecc251172cd8b323e95e2c3fa439f0c42bc1d0 | e070f185ceb16706cd691b292352358360e2bc4d | /man/design_matrix.Rd | 7cf90ea09cbe427b594cb0d60732fb5bfe2e1579 | [] | no_license | muschellij2/fmrireg | 39d1a2576c728ec47b6a92e8f239fe767b29cb84 | 634092518a5b647bc0b57ec2368256110daed610 | refs/heads/master | 2021-01-13T09:50:42.755202 | 2016-05-17T11:59:32 | 2016-05-17T11:59:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 279 | rd | design_matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/all_generic.R
\name{design_matrix}
\alias{design_matrix}
\title{design_matrix}
\usage{
design_matrix(x, ...)
}
\arguments{
\item{x}{the term}
}
\description{
construct a design matrix from the term
}
|
d472b44e8c5e648165300b9c183f04de433d64e2 | 996c0e4ae7571e1cb90f02056d7eda404099b9bb | /SummerInern/p-medds-master/pmedds.core/man/mcmc.boxplot.Rd | 5569de2b375336ff9bca38d618ca4e4e40d2e5ee | [] | no_license | yinzhuoding/Internship | 5b351885226a698494fc39b8b3c544b5a445706b | 2389f8b6038916bc807fdf7d33efda1ec51f7531 | refs/heads/master | 2021-01-23T02:24:23.538177 | 2017-03-23T20:14:37 | 2017-03-23T20:14:37 | 85,991,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,535 | rd | mcmc.boxplot.Rd | \name{mcmc.boxplot}
\alias{mcmc.boxplot}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Post-processing of MCMC data.
}
\description{
Post MCMC optimization, consolidates 'R0' and 'pC' values to the form utilized for box-plots in plot.results.mcmc().
}
\usage{
mcmc.boxplot(tab=NULL,model=N... |
e54b457a462d6a674829829f96bfdffbfd859820 | a400213d8441738fa0464fdaff21d39db205aaa4 | /R/graphscan_cluster.R | f762235e47b310c529e4cf3974c847f5cced08fb | [] | no_license | cran/graphscan | 7d57dc13bdc5ba8cdd2222d6cd33d23719dbbce2 | 83036e37d27e5885c70b5b355828d8fbd69674a8 | refs/heads/master | 2020-06-07T09:53:48.244272 | 2016-10-14T16:22:50 | 2016-10-14T16:22:50 | 30,610,972 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,771 | r | graphscan_cluster.R | # ---------------------------------------------------------------
# graphscan : version 1.1
# fonctions cluster, .cluster_1d, .cluster_nd
# lancer les programmes C pour lancer les analyses de détection
# création : 23/10/13
# version du : 18/09/18
# Unité Epidémiologie Animale (UR346)
# Auteurs : Robin Loche, Benoit Gi... |
711f5f1fd95143395817b016d6a4a923dd5c0dbc | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/eqs2lavaan/examples/eqsDesc.Rd.R | 2a9d84b0b48e004cf25d7c023c6d6e9dd85a1ee5 | [] | 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 | 364 | r | eqsDesc.Rd.R | library(eqs2lavaan)
### Name: eqsDesc
### Title: Extract Descriptive Statistics from an EQS Output File
### Aliases: eqsDesc
### Keywords: EQS lavaan desc mean sd kurt skew model CFA dev
### ** Examples
# EQS required to get a necessary .out file
# Run for62.eqs from the EQS examples and save .out to R directory lo... |
3c3635594d43ca09c674dff6ccdc5e7e62de75a9 | e4e9cb2b0972ae42c4fa439e9359b2cdb8dea3d7 | /utils.R | 2e5a60ec85be5e22f509d0b222f019139a57be13 | [] | no_license | gzu300/Internship1 | d4c4d04f0ba50f2e97645bfad8e67534e015c336 | cb4bcee661e8e46d014a9650438d4aa1c41eb197 | refs/heads/master | 2020-04-06T18:43:03.705060 | 2019-03-18T22:12:48 | 2019-03-18T22:12:48 | 157,709,688 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,506 | r | utils.R | #########################data##################
######
#simulation data
######
library(tidyverse)
library(purrr)
#source('simulation_util.R')
source('MaSigPro_util.R')
source('ASCA-genes.1.2.1/sourceASCA.R')
setwd('../')
######
#generate data
######
create.simulation <- function(pat_names.list,ftrs_in_pat.list,repl... |
6507403fe14f857ac9e210feda97ab6ea4bf3bcd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DMwR/examples/dataset-class.Rd.R | 2437ffea87816d75745b6250972bdbcf21fca8ec | [] | 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 | 186 | r | dataset-class.Rd.R | library(DMwR)
### Name: dataset-class
### Title: Class "dataset"
### Aliases: dataset dataset-class show,dataset-method
### Keywords: classes
### ** Examples
showClass("dataset")
|
b399e10a283c441dcbc1a5338b2858eed4ce0943 | c427a5b3c9c434de9765e9cf4c287a711f744d53 | /man/delete_option_list.Rd | 504a03def096d4f27683810c0a72e8e199b4234b | [] | no_license | bdevoe/iformr | 69ac4b6b1e762d4a855b8cd81bf338c33618da36 | fe6cbc4b1334edff5acf84785fc75308f9a8f405 | refs/heads/master | 2021-06-06T01:31:21.954796 | 2019-06-05T18:50:38 | 2019-06-05T18:50:38 | 140,438,573 | 0 | 0 | null | 2018-08-17T19:36:21 | 2018-07-10T13:45:16 | R | UTF-8 | R | false | true | 1,279 | rd | delete_option_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/option_lists.R
\name{delete_option_list}
\alias{delete_option_list}
\title{Delete option list.}
\usage{
delete_option_list(server_name, profile_id, access_token, option_list_id)
}
\arguments{
\item{server_name}{String of the iFormBuilder serv... |
fbbfae051f0767707855034c1d6aa38958432239 | 5543691d5c4bd29023cf42d036c51e5842d2a0a5 | /WorkingWithJoins.R | 0771968af35eeb4bf7505cd94d814a904dd90463 | [] | no_license | BonduMohanSrinivasaSarma/Data-Analytics-R | 218d819ecf95d7eb9969ab322e9c6c38f827bbb8 | 04d23f76c89bfebdc7a30c2f1aa85b9cfa5774f6 | refs/heads/main | 2023-06-11T05:30:26.549712 | 2021-06-27T13:35:10 | 2021-06-27T13:35:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,138 | r | WorkingWithJoins.R | #Creating Buldings Data Frame
buildings<-data.frame(location=c(1:5),name=c('building1','building2','building3','building4','building5'));
View(buildings)
#Creating details Data Frame
details<-data.frame(survey=c(1,1,1,2,2,2),location=c(1,2,3,2,3,1),efficiency=c(51,64,70,71,80,58),Area=c(210,230,310,320,180,270));... |
c07bebc7ec76b841e1e5d5d4bb05dd543b58efeb | 2ea521c969899b6a3b5820e143170c73c96c7e3e | /man/textProcessor.Rd | 4a97a18b62a3320de0b6e9f2e77f06aa2b5384ef | [
"MIT"
] | permissive | jblumenau/stm | 672205ef225f07ed2271f5756e4fd83de6c7bd7a | 275db44759276d9ef588575cc2c010d66584778e | refs/heads/master | 2020-12-31T02:22:32.495581 | 2014-02-24T01:14:01 | 2014-02-24T01:14:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,222 | rd | textProcessor.Rd | \name{textProcessor}
\alias{textProcessor}
\title{
Process a vector of raw texts
}
\description{
Function that takes in a vector of raw texts (in a variety of languages) and performs basic operations. This function is essentially a wrapper \code{tm} package where various user specified options can be selected.
}
\usag... |
7dac8da79ee9b2116bbe0c157a9313a1e91d37a9 | 04ab00f952dafa6ab5d0d110af25ac09095db3ea | /R/rscript_NLBELT_2125.R | 5f904b0649853066b941a65aeea63c134f4e0a25 | [] | no_license | mut8/nlbelt_plfa | b8cb323d9a40f0b2e497a1e5744f993b8aca81f4 | b3c0c79d89e33d7451024877f9db2c558b4a68f3 | refs/heads/master | 2020-04-02T07:29:38.542958 | 2013-11-16T12:36:46 | 2013-11-16T12:36:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 73,190 | r | rscript_NLBELT_2125.R | source("/home/lluc/R_functions/functions.R")
source("~/R_functions/plfaplotfunction.R")
setwd("/home/lluc/Copy/MUN/phd/results/NL-BELT/Batches21-25combined/R")
mols<- data.frame(read.csv("mols.csv"))
fames<- read.csv("fames.csv")
samples<- read.csv("samples.csv")
resp245<-read.csv("respiration.csv")
resp<-r... |
155ecb7a809ec2a29db85ff87da29916a125339e | 4a94afa31e6df0023d28bc66650f7f32f5cb3c0b | /misc/eda.R | 2cbedf3a77152a6862a2297d89696ef2e7c340a8 | [] | no_license | UBC-MDS/DSCI532_Youtube-Trending | cd96d6f90de5b4c25b361a73fcbe23e7be95bbe6 | cab490b79219a50377e86adf623e54de4ffac1cd | refs/heads/master | 2020-04-15T08:04:53.796125 | 2019-01-30T07:40:50 | 2019-01-30T07:40:50 | 164,516,073 | 0 | 3 | null | 2019-01-30T07:40:51 | 2019-01-07T23:51:43 | R | UTF-8 | R | false | false | 1,352 | r | eda.R | library(tidyverse)
library(lubridate)
library(scales)
df <- readRDS("data/clean_df.rds")
df$category <- df$category %>% as_factor()
df %>%
count(category, wt=likes) %>%
arrange(n)
df %>%
group_by(category) %>%
count()
df %>%
select(category, views, likes, dislikes) %>%
filter(category %in% "Nonp... |
020d3c5f65d2ba55c400955331e586a1208a3a2b | 2605ed5c32e799ddfd7b1f739800e35093fbc24e | /R/lib/bs/man/simul.bs.mme.Rd | fa720c3748f6f297ef3fd5eff1912ae2515276e1 | [] | no_license | BRICOMATA/Bricomata_ | fcf0e643ff43d2d5ee0eacb3c27e868dec1f0e30 | debde25a4fd9b6329ba65f1172ea9e430586929c | refs/heads/master | 2021-10-16T06:47:43.129087 | 2019-02-08T15:39:01 | 2019-02-08T15:39:01 | 154,360,424 | 1 | 5 | null | null | null | null | WINDOWS-1250 | R | false | false | 2,263 | rd | simul.bs.mme.Rd | \name{simul.bs.mme}
\alias{simul.bs.mme}
\title{Simulation study by using MME method}
\description{
The function \code{simul.bs.mme()} simulates three samples of size \eqn{n} from a
population \eqn{T \sim \rm{BS}(alpha,beta)}{T ~ BS(alpha,beta)}, one for each method (\code{rbs1()}, \code{rbs2()}, or \code{rbs3... |
ae71a9a8d65cf21b4080c05edc7b02bf9c90b505 | ea570e2bcab830f1dbd75bef5ae8f09d18b1c6c1 | /man/read.mgh.voxel.Rd | 6debf178cc8afcd49bd1d601c8acd77b9975f255 | [] | no_license | TKoscik/fsurfR | 605e55e568648f5ff183a3e8b86b94bffce0eb3d | 376369d4d1f72a1cad7fa99ce3b8ae96169ecba8 | refs/heads/master | 2022-02-18T21:49:30.782324 | 2019-08-05T15:58:19 | 2019-08-05T15:58:19 | 114,380,078 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 297 | rd | read.mgh.voxel.Rd | \name{read.mgh.voxel}
\alias{read.mgh.voxel}
\title{MGH voxelwise read}
\description{Read voxelwise data from MGH file}
\usage{
read.mgh.voxel(mgh.file, coords)
}
\arguments{
\item{mgh.file}{}
\item{coords}{}
}
\value{}
\author{
Timothy R. Koscik <timkoscik+fsurfR@gmail.com>
}
\examples{} |
db4cd5573622716ab3cadddcdb9af43a88eac987 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/benmarwick/Persistence-of-Public-Interest-in-Gun-Control/install.R | 3b0ecdb5f9a8571bdc58c39430193dde2f185805 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 195 | r | install.R | install.packages(c("glue", "lubridate", "plotly", "purrrlyr", "sessioninfo"))
devtools::install_github(c("tidyverse/ggplot2", "PMassicotte/gtrendsR", "Ironholds/pageviews", "dgrtwo/fuzzyjoin"))
|
a6bafc7eaa8113573ab76ce2c7dd37d74cbed804 | 1d327b833fb19ec87c44d48a39933c627a2437e4 | /figures/milstead.R | 40827559b3e3c569faf960ad75378afc77a83df4 | [] | no_license | jsta/2017_GLEON | 079c6942f1b6570f3e8fd20fb4bcae7c8d534f04 | 4c39fb607dabfe93f1893240261720788aaf55b3 | refs/heads/master | 2021-03-30T18:14:48.430790 | 2017-12-06T15:42:42 | 2017-12-06T15:42:42 | 101,436,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,408 | r | milstead.R | library(ggplot2)
library(forcats)
test3 <- readRDS("/home/jose/Documents/Science/Dissertation/Analysis/misc/milstead_x_lagos.rds")
test3$lakeconnectivity <-
fct_recode(test3$lakeconnectivity,
"Lakestream" = "Secondary",
"Stream" = "Primary",
"Headwater" = "Headwater")
test3... |
eeec7898bd51291f57cef4087766393781c8d89b | 2477434cc1b95634c5b15f558669e39ec2e963a2 | /man/channelResponses.Rd | 43db317c8873587f9e333be8adc14f74900de961 | [] | no_license | pariswu1988/proteomics | 4e4b273d04490a9f3279553dd889d870e504b62f | 5e50c3e344068130a079c9e6c145ffdbf5651ca2 | refs/heads/master | 2021-01-13T03:55:36.847983 | 1977-08-08T00:00:00 | 1977-08-08T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 401 | rd | channelResponses.Rd | \name{channelResponses}
\alias{channelResponses}
\title{Response calculation}
\usage{
channelResponses(dwide, acc)
}
\arguments{
\item{dwide}{iTRAQ data in wide format including columns
corresponding to iTRAQ channels containing their
intensities.}
\item{acc}{result of an accumulation of sample sizes}
}
\des... |
6c095baafb1068534ebadd28cc73fdd767d4c3ef | 8df47c83eb85cad38f5e9bf0e37972bd5a50ef6e | /R/vsp.R | a8bac01266fc5343c99b9ab6efd9587ca07f5ad9 | [
"MIT"
] | permissive | karlrohe/vsp-1 | 896d5e6f2ff1af063d1bed1a455cbf12524e7969 | 11ac4aab6a03ab0be679cda21145e858d4ad12a5 | refs/heads/master | 2023-02-09T17:12:56.722815 | 2020-12-30T15:57:14 | 2020-12-30T15:57:14 | 271,078,514 | 0 | 0 | NOASSERTION | 2020-06-09T18:21:19 | 2020-06-09T18:21:18 | null | UTF-8 | R | false | false | 4,784 | r | vsp.R | #' Non-Parametric Factor Analysis via Vintage Sparse PCA
#'
#' This code implements TODO.
#'
#' @param x Either a graph adjacency matrix, [igraph::igraph] or
#' [tidygraph::tbl_graph]. If `x` is a [matrix] or [Matrix::Matrix]
#' then `x[i, j]` should correspond to the edge going from node `i`
#' to node `j`.
#'
#' @... |
021a8fa996a9d00da0f6defee0e6b850ca8c87f6 | 9fa27b387d87a5b69267c5d55c60ff55ee4a1fae | /scripts/make_spp_traitslist.R | 409c22b3648298f736ab36b3cbbf523854f20a94 | [] | no_license | mbelitz/insect-pheno-duration | 68c0176a8609c5bb064f7c2725fc64a291c38919 | 45ea84a8b3093cee79fd6c991e1368f4149a4f14 | refs/heads/master | 2020-12-26T23:45:19.824513 | 2020-09-16T19:20:35 | 2020-09-16T19:20:35 | 237,691,784 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,207 | r | make_spp_traitslist.R | library(dplyr)
## read in spp list from google drive
spp_list <- read.csv('data/traits/spp_list.csv', stringsAsFactors = FALSE) %>%
rename(scientificName = scientific_name)
## read in phenesse outputs
model_df <- read.csv(file = "data/model_dfs/duration_climate_population_data.csv",
stringsAs... |
3666789b66c94afc46f089029a911e32b4f66377 | bbf82f06ad6eb63970964a723bc642d2bcc69f50 | /inst/doc/BiSEp.R | 43dcb4a504a4d89059a327940ba3c90a811e0ff4 | [] | no_license | cran/BiSEp | 60af18b5fefd060e9b77df54ae4d5b169d1f8987 | fc7bae903d881648e84d7b31d20c96b99b529f7d | refs/heads/master | 2021-01-09T22:39:07.127740 | 2017-01-26T11:03:06 | 2017-01-26T11:03:06 | 17,678,095 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,453 | r | BiSEp.R | ### R code from vignette source 'BiSEp.Snw'
###################################################
### code chunk number 1: BiSEp.Snw:18-23
###################################################
require(BiSEp)
data(INPUT_data)
INPUT_data[1:2,1:6]
###################################################
### code chunk number ... |
6d13bd6e77987d2ef10d490c9218a1dacf55fe60 | 72ad4953ea2c100a03a9ddd364857988a9d1b2de | /R/ini.R | 5de1f08f76004838ce2418f0bc30de80c80d952b | [
"MIT"
] | permissive | bnicenboim/eeguana | 28b46a8088f9ca0a370d955987b688542690547a | 3b475ac0472e6bedf2659a3f102abb9983e70b93 | refs/heads/master | 2023-05-23T09:35:20.767216 | 2022-10-10T11:53:21 | 2022-10-10T11:53:21 | 153,299,577 | 22 | 9 | NOASSERTION | 2022-11-06T13:40:13 | 2018-10-16T14:26:07 | R | UTF-8 | R | false | false | 3,670 | r | ini.R | ## Taken from https://github.com/dvdscripter/ini
#' Read and parse .ini file to list
#'
#' @param filepath file to parse
#' @param encoding Encoding of filepath parameter, will default to system
#' encoding if not specifield
#'
#' @details Lines starting with '#' or ';' are comments and will not be parsed
#'
#' @seeal... |
24dd2267d6f9e77c25b69cbe8f2d95b91b1ea1de | 86a97a073394a944a9634d54884fa748478ce977 | /man/bvar.summary.Rd | c51674c31e005caaeb5e7cb0349bc221cef14c78 | [] | no_license | lnsongxf/bvarrKK | 617e1228c9dcd711fcf2215a67555ec777249125 | 7faed7f4b5a523ac406c46bffeec9bc3fb7c3ce1 | refs/heads/master | 2021-03-12T18:16:38.347155 | 2016-08-16T06:36:52 | 2016-08-16T06:36:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 450 | rd | bvar.summary.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bvar.R
\name{bvar.summary}
\alias{bvar.summary}
\title{Print summary for bayesian VAR model}
\usage{
bvar.summary(model)
}
\arguments{
\item{model}{the list containing all results of bayesian VAR estimation}
}
\description{
Print summary for ... |
dea2d9d38ff9a3360085f876280a808590521acd | 92cf9455c7a46a4a35d747bf7b42124a1d2054ee | /archive/simple_geweke.r | 591b1b0f58b982c41282adf4484274238ff21eb0 | [] | no_license | JavierQC/spatcontrol | 551cb820f397dfcb0461d9fbf7306aeb32adf90a | a3e77845d355b2dee396623b976e114b9a89c96e | refs/heads/master | 2020-12-31T06:32:10.711253 | 2015-02-24T13:09:18 | 2015-02-24T13:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27 | r | simple_geweke.r | library(coda)
smallsampled
|
39709fdc046db2d4ab492f2531be22471b5c777d | cdbe5a8e18b83a051ccf3cdb790410babeb01d42 | /man/read.swat.data.rch.2012.Rd | 2219078eb407d1671cb122577f999daf01227eb5 | [
"MIT"
] | permissive | neumannd/riverdata | df587db1330c1cf1688332b68b67039718a2927f | fb5f1c33e054afcf5d0c7cda7e86209a25471ea7 | refs/heads/master | 2022-04-06T13:46:04.069104 | 2020-02-26T06:43:51 | 2020-02-26T06:44:02 | 109,431,479 | 1 | 0 | null | 2017-11-10T13:42:16 | 2017-11-03T18:48:12 | R | UTF-8 | R | false | true | 1,793 | rd | read.swat.data.rch.2012.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read.swat.data.rch.2012.R
\name{read.swat.data.rch.2012}
\alias{read.swat.data.rch.2012}
\title{Read data from a reach (RCH) SWAT output file}
\usage{
read.swat.data.rch.2012(fileHandle, nrow.data, header = TRUE, nreach = 1,
ireach = 1)
}
\... |
fe172a7d24271bf06da57b5c04085631febd770d | e1b973c582a68cb308e46b445381b457607e0791 | /R/coursera/best.R | 81818f65614323fdd3c1bc1f0641688d29013063 | [] | no_license | mishagam/progs | d21cb0b1a9523b6083ff77aca69e6a8beb6a3cff | 3300640d779fa14aae15a672b803381c23285582 | refs/heads/master | 2021-08-30T15:51:05.890530 | 2017-12-18T13:54:43 | 2017-12-18T13:54:43 | 114,647,485 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 904 | r | best.R | # best.R - Programming assignment 3
best <- function(state, outcome) {
## Read outcome data
out <- read.csv("outcome-of-care-measures.csv", colClasses="character")
states <- o[,7]
## Check state and outcome are valid
if (!(state %in% states)) {
stop("invalid state")
}
stateOutcomes =... |
9c1ac8e6b00b5235c0c03a4fafd52bfddab1e573 | 3d2e8759e6f4b1f422f88b260466bf8a7105035b | /R/list-object-sizes.R | 0bcd82ac5dc5906b7702158c4fb596e27cf425ef | [] | no_license | csgillespie/rprofile | d939831388e7ffc44a947ac71483a04ce54df51c | 1c5e3df58b22e80ae533a70b13fe2e63c5c3194e | refs/heads/main | 2023-08-09T13:18:20.387626 | 2023-07-19T10:49:43 | 2023-07-19T10:49:43 | 200,486,076 | 50 | 9 | null | 2022-12-03T18:28:23 | 2019-08-04T11:48:10 | R | UTF-8 | R | false | false | 1,150 | r | list-object-sizes.R | # SO: http://stackoverflow.com/q/1358003/203420
# improved list of objects
lsos = function(order.by = c("PrettySize", "Type", "Size", "Rows", "Columns"),
pos = 1) {
napply = function(names, fn) sapply(names, function(x) fn(get(x, pos = pos)))
names = ls(pos = pos)
obj.class = napply(names, functi... |
5fb49c84ac819dca962e497be10c83d20c920bfc | a0b7f55210bd999d6a83195809fa442ac69c972a | /R/package_needs_update.R | d9095f3dbfa77ed94cdfab565dafc25c687f1e8e | [] | no_license | muschellij2/ghtravis | 1e17ebab863dde4aa745511587578ec5581e9aa2 | 0b26809694028878615d172235006a5c0a9c0ada | refs/heads/master | 2023-01-31T01:54:14.889239 | 2021-03-31T17:55:43 | 2021-03-31T17:55:43 | 94,371,912 | 0 | 5 | null | 2023-01-18T20:40:03 | 2017-06-14T20:48:27 | R | UTF-8 | R | false | false | 776 | r | package_needs_update.R | #' @title Check Package Versions
#' @description Looks in installed packages to see if a new version is needed
#'
#' @param version Version of package
#' @param package Package to check
#' @param ... not used
#' @return Output from \code{\link{compareVersion}}
#' @export
#'
#' @importFrom utils compareVersion
package_n... |
b48d2c7d62d298ab3b0cee979191c127900f6e7e | 529a04d816b084f77362a9f573bf3a56461c9027 | /R/bayespetr-package.R | 8f3e2de05d337e8d8ff8d40ea65ba11045885a59 | [
"MIT"
] | permissive | dt448/bayespetr | fa78bf98088293d5d367d0d6167a4504a5eda4f0 | 0920ed39ad84f9853924bf653cc99900b6561a64 | refs/heads/main | 2023-09-03T13:52:51.496060 | 2021-11-03T10:53:40 | 2021-11-03T10:53:40 | 402,852,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 434 | r | bayespetr-package.R | #' @keywords internal
"_PACKAGE"
# The following block is used by usethis to automatically manage
# roxygen namespace tags. Modify with care!
## usethis namespace: start
#' @useDynLib bayespetr, .registration = TRUE
#' @importFrom Rcpp sourceCpp
## usethis namespace: end
NULL
.onUnload <- function (libpath) {
libra... |
9a024011a21a87ec3dc23a91292adfe67d1182b4 | 17c5bb56fc79529e6679ff3e3ded1ea72bfba5b8 | /man/plotOperations.Rd | 4ad66754c48db90f2a9d4b2e2fa4fb9a1dba88df | [] | no_license | bmasch/RSmoltMon | b9b3e18ac22a2ff6eb643e5213514e22f7461f44 | 5576b89cf1d8f4ba71eb398863cfd8f2688bc12f | refs/heads/master | 2016-08-11T20:38:01.994189 | 2015-11-10T20:04:13 | 2015-11-10T20:04:13 | 45,934,580 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 374 | rd | plotOperations.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/SMPPlottingFunctions.R
\name{plotOperations}
\alias{plotOperations}
\title{Plot Operational Dates}
\usage{
plotOperations(ops, size = 5)
}
\arguments{
\item{ops}{}
\item{size}{}
}
\description{
Plot Operational Dates
}
\examples{
ops... |
4527329f967c5fc278f5a116e8156221929223a9 | 0a021f843670c168c4a212207c13be1b0a88ddbe | /man/isColor.Rd | e0d015939e7e33a109dcbdc61a7fbbc3995b7367 | [] | no_license | cran/plotfunctions | ddc4dd741ad2a43d81deb0ef13fe2d7b37ca84bd | ebacdd83686e1a32a4432a35f244bf82015a19a5 | refs/heads/master | 2021-01-20T18:53:05.464513 | 2020-04-28T09:00:02 | 2020-04-28T09:00:02 | 59,847,744 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,794 | rd | isColor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util.R
\name{isColor}
\alias{isColor}
\title{Check whether color specifications exists.}
\usage{
isColor(x, return.colors = FALSE)
}
\arguments{
\item{x}{Vector of any of the three kinds of R color specifications,
i.e., either a color name (... |
412a76702bdc8f3d9ac01b506af28d463e20983a | c694cb3ac80edf2a5d9359d820393214bd9edfda | /R/bioinf/fst_density_plots.R | f21822f762c66c8705cf853c71d55b3e252bfbf8 | [
"MIT"
] | permissive | maehrlich1/Funhe_Gen | 6a89dcc9e24bbe484a8ee02ca94f76b9a2340ebb | cb9e58c1d5cb4a2ef2b44b1de0cf92b5fe46463f | refs/heads/master | 2021-06-25T02:26:18.176266 | 2020-11-02T23:50:17 | 2020-11-02T23:50:17 | 129,307,750 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,593 | r | fst_density_plots.R | ###Simple Fst distribution plots###
library(dplyr)
library(qvalue)
library(ggplot2)
library(RColorBrewer)
setwd("/Users/Moritz/Documents/Academic/RSMAS/PhD/SF16_GBS/Plots/")
#cols <- brewer.pal(8,"Paired")
#pops <- c(rep("Basin Fall",26), rep("Basin Spring",25), rep("Pond1 Fall",27), rep("Pond1 Spring",19), rep("Pond2 ... |
388930cdf053c99b5631bdebfd43a2d787707c02 | f293351ff518e8b463deb86ac53550a7f08258b1 | /MEPS/R/get_puf_names.R | b4deddbec3b58ead05d679d6b6ca274f216c4e8a | [] | no_license | TaraFararooy/meps_r_pkg | 4b439ec9dac5da8e727dfd28317c6c50fee3ccb4 | bd877689288e110b1a7946e88e0672b1b6229a73 | refs/heads/master | 2023-04-06T21:21:27.561179 | 2021-01-15T21:00:38 | 2021-01-15T21:00:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,612 | r | get_puf_names.R | #' Get MEPS Public Use File Names
#'
#' This is a lookup function that returns a single requested file name or list of names for specified MEPS data file. Internet access is required, since the function reads from the HHS-AHRQ GitHub page.
#' @param year (optional) Data year, between 1996 and most current PUF release. ... |
a4c0454111bf65d4229075869de8245d34b3692d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/afc/examples/afc.cc.Rd.R | 6ebf09dc3a9a5bda804c54efe2cf855ade1f9936 | [] | 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 | 402 | r | afc.cc.Rd.R | library(afc)
### Name: afc.cc
### Title: 2AFC For Continuous Observations And Continuous Forecasts
### Aliases: afc.cc
### Keywords: file
### ** Examples
#Forecasts and observations of Nino-3.4 index
#Load set of continuous observations and continuous forecasts
data(cnrm.nino34.cc)
obsv = cnrm.nino34.cc$ob... |
0f808e2c27128765ae66da637748976f4dd5de5c | 9b76f92dfecfc84e2a43da24b9e4aa678a2de356 | /bootcamp/088IntroToLinearRegression.R | 71416e0ccfe60fe8c2554100a0b7ac5dbdaf5f2e | [] | no_license | rathanDev/r | fa9d82582a83271b1f771c3bc9dd4348b0b28f73 | 2c4871f13de7cde82df7e0e63a253fa4a575a23b | refs/heads/master | 2022-12-13T17:56:46.669651 | 2020-09-10T12:32:49 | 2020-09-10T12:32:49 | 264,051,092 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 319 | r | 088IntroToLinearRegression.R |
# Linear Regression
# - Francis Galton
# Investigated the relationship between the heights of the fathers and their sons
# He discovered man's son tended to be roughly as tall as his father
# There are lot of different ways to minimize the distance in a regression
# sum of squared errors / sum of absolute errors
|
fd35dd3fa30056f11379f190a49691690a8788f1 | bba18259bad7b2246ee2a6a4f9c95a2dc990daee | /RHadoop/rmr_word_count.R | 8d94bb2e1c199698bd3f1e43a9c12f4daf816a28 | [] | no_license | yenzichun/Etu_InternReport | 12c7f2a8d05e9349480fba38d907850330a1085b | d4fea730d2b72b83a50c2b0c3b7b23124084db69 | refs/heads/master | 2021-01-16T00:28:04.203515 | 2015-04-27T10:24:34 | 2015-04-27T10:24:34 | 20,614,382 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,421 | r | rmr_word_count.R | #my1mapper
#R-like
small.ints = 1:10
sapply(small.ints, function(x) x^2)
#mr_equivalent
small.ints = to.dfs(1:1000)
mapreduce(
input = small.ints,
map = function(k,v) cbind(v, v*2)
)
from.dfs("/tmp/RtmpxvmpVk/filec31559c11d5")
from.dfs(small.ints)
#my1reducer
#R-like
groups = rbinom(32, n = 50, prob = 0.4)
tappl... |
8485be2948b3dbdb9a091429f1f0b05747bf6f0b | 6821e51a0e56f4f9ec0295ff7ac050f28755880e | /man/deploy_netlify.Rd | 4ddb1b944a575e9300f74ba8f3f2b50d59eee1a5 | [
"Apache-2.0"
] | permissive | WorldHealthOrganization/casecountapp | f4d4b30ebbf5084156c27968496efe26f8561fe2 | ab0f37bbfc2bd389aca30ba7e99ffc294065ebd8 | refs/heads/master | 2023-02-17T07:23:45.477542 | 2021-01-20T07:19:34 | 2021-01-20T07:19:34 | 299,447,048 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 463 | rd | deploy_netlify.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deploy.R
\name{deploy_netlify}
\alias{deploy_netlify}
\title{Deploy an app to Netlify}
\usage{
deploy_netlify(app, netlify_app_id, require_app_token = FALSE)
}
\arguments{
\item{app}{An app object created with \code{\link[=register_app]{regis... |
431c3bfd2dbd48dba8a93e44f7983ed1642c650a | 7b66b5cee177598fce6320f9f5115df6324f7c05 | /Plotting_script.R | 20b7de0b0a2de34ac51011050b52d96fe51e9c11 | [] | no_license | fuadar/Dataregression-scripts | b0f5860dab96b4d07b0912930bac2514a9a2dad0 | 46f6514e1601435314cc0807abcdd3007b597f3b | refs/heads/master | 2020-06-05T20:56:49.241264 | 2019-07-15T22:49:51 | 2019-07-15T22:49:51 | 192,544,179 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,935 | r | Plotting_script.R | # A few tips
# run getwd() to get the working directory # keep your datafile file here to read easily
# setwd("path") if you want to change the working directory - need to provide path
data_file <- read.csv("filename.csv") # read a csv file in R by writing the file name
# remember to keep this file in the wo... |
5e3e511957a9154d53395e6fa33449f6d4e9a370 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/3599_0/rinput.R | 2b615ff5d61043759cc1db018a29357ae44a65dd | [] | 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 | 135 | r | rinput.R | library(ape)
testtree <- read.tree("3599_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="3599_0_unrooted.txt") |
7f034c3dbdc24381bb58cb31ba55a3c673915739 | d4e51947dc5bcc784378aad466f41ea09cf36558 | /app.r | 01c487cd3e4f5e52aafff21256b377c273ac5cc7 | [] | no_license | shuvashreeroy/r-Counter | ee99f354f11d7140ecf1efcc808c1c8f858eb63a | f3882e19e9b2abe7c695b1308617773f87c268e4 | refs/heads/main | 2023-08-12T00:02:01.087758 | 2021-10-07T17:19:51 | 2021-10-07T17:19:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,653 | r | app.r | library(shiny)
library(shinydashboard)
library(googlesheets4)
library(ggplot2)
library(graphics)
#reading CSV filea
real_data=read.csv("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ2SVfqRbNwsIzSgd0FOwJ3Rc-Mvpbc7GWwuZI0_DKXIhd4E83vc1PetPZSnnlmPrgrHtAF3Y3hSTjr/pub?output=csv", sep = ",", header = TRUE)
ui... |
4a5c024bb514ec39cae16c578ec8d8e54e0cc684 | 13a0b230f57980fc1bd48d22e1bffe566e994044 | /main.R | 275b24fc965e2ac2af81f322ca9c34de2589cae0 | [] | no_license | tercen/scale_operator | a82fa090e3baedbf6bf76980369647c2b857df7f | aa2ff4278df49f29d22bd86695ae83e2d9fca4d5 | refs/heads/master | 2023-04-14T05:46:02.218906 | 2023-04-05T12:25:28 | 2023-04-05T12:25:28 | 111,098,455 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 816 | r | main.R | library(tercen)
library(dplyr)
library(data.table)
do.scale = function(y, ci, ...){
scale.m = try(scale(as.matrix(y), ...), silent = TRUE)
if(inherits(scale.m, 'try-error')) {
return (double())
}
result <- data.frame("value"=scale.m, ".ci"=ci)
return (result)
}
ctx = tercenCtx()
df <-... |
3113536128305014095ff6d0afeaa14e1d3ea222 | 529a1b02bef95628524d45cf7a68079de6593860 | /man/vech.Rd | f7fba03ca527dbc5e3bd7fae025b56273b146c32 | [
"MIT"
] | permissive | nielsaka/zeitreihe | c56daec8df3f9b7fab0dae261b8a5ade145fa5de | 3d570fad85fb0309b2a60134ae989f769b8b9b12 | refs/heads/master | 2020-03-22T06:03:47.179892 | 2020-03-11T12:38:03 | 2020-03-11T12:38:03 | 139,609,227 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 540 | rd | vech.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aux_funs.R
\name{vech}
\alias{vech}
\title{Vectorise a symmetric matrix}
\usage{
vech(mat)
}
\arguments{
\item{mat}{An \code{(M x M)} matrix with arbitrary dimensions \code{M}.}
}
\value{
A column matrix of dimension \code{(M^2 + M)/2 x 1}.
}... |
b2d2827f043a61d71fd719224f34343bfb452879 | 85a673faffa19d90ae2492321488d00205f1f9a8 | /man/calculate_dilutions.Rd | 542ccd1978c0e230b326189579cd3479483d8b2d | [
"MIT"
] | permissive | taiawu/echor | 219c339e3b2cbd55b62be2964a171ac14273fa67 | 4276d9ccf5be5e06befae456a79ee9dfda7933e0 | refs/heads/master | 2023-05-09T01:59:42.092001 | 2021-05-12T06:12:17 | 2021-05-12T06:12:17 | 365,672,380 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 952 | rd | calculate_dilutions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculate_dilutions.R
\name{calculate_dilutions}
\alias{calculate_dilutions}
\title{Calculate dilutions between mother and daughter plates}
\usage{
calculate_dilutions(daughter, mother, .echo_drop_nL = 25)
}
\arguments{
\item{daughter}{daught... |
977d5817107385fa93fec9836580ecff090d6487 | b636bb2db890b32140c16ea62265616eaf37efdf | /RMySQL.R | bd4c2c14915ac177181c51fa1dca5e41c3d569d0 | [] | no_license | chapmjs/DataCamp | bf27b69dd94cb76130fcbeded39a70810f4de1c2 | 8a4bfb7367bba2e65754c304fe73380710d75d9a | refs/heads/master | 2020-05-29T09:48:34.914127 | 2019-11-05T23:39:06 | 2019-11-05T23:39:06 | 189,078,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 297 | r | RMySQL.R | # practice file
library(RMySQL)
con <- dbConnect(RMySQL::MySQL(),
dbname = "tweater",
host = "courses.csrrinzqubik.us-east-1.rds.amazonaws.com",
port = 3306,
user = "student",
password = "datacamp")
print(con)
|
73272d32269c7d1e6d4864641ccd023ebc6ca2b8 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /hmlasso/R/plotter.R | 15df68e1a817ce9802fad88152b0be06c491d4f3 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,349 | r | plotter.R | #' Plot a solution path
#'
#' @param x hmlasso model
#' @param xlim x range
#' @param ylim y range
#' @param ... parameters of matlines function
#'
#' @examples
#' X_incompl <- as.matrix(iris[, 1:3])
#' X_incompl[1:5,1] <- NA
#' X_incompl[6:10,2] <- NA
#' y <- iris[, 4]
#' fit <- hmlasso(X_incompl, y, nlambda=50, lambd... |
b7bebea679a99e7ea02023858992ed046c99536b | a71a5d5ae74e831eac70fa35e3b698006ade1ff5 | /cachematrix.R | 6771cc9a479307bbd406508cd1df47b1997ba4c8 | [] | no_license | mikhailidim/ProgrammingAssignment2 | 68e8ede2beca987bb927378e3ccd16826c2c3d60 | c7adfc79ad020ca8226246d75d43a0e31e22ddd7 | refs/heads/master | 2021-01-21T18:43:14.971098 | 2015-12-25T16:52:34 | 2015-12-25T16:52:34 | 48,585,032 | 0 | 0 | null | 2015-12-25T15:56:36 | 2015-12-25T15:56:35 | null | UTF-8 | R | false | false | 982 | r | cachematrix.R | ## Functions below can be used to speed up matrix inversion calculations.
## They use closures to cache inversion results.
## Function cretates a closure to manipulate square matrix
## with cached inverse matix.
makeCacheMatrix <- function(x = matrix()) {
# Initialize cache
solved <- NULL
# set and get matrix
... |
e26e38806a1ce04460dfb41ad66a2b6a1e1eb545 | 0b36fe983dd6d936b3ddf9f86f970474200b84c8 | /A2/ModuleScore_sepsis.R | 0b77a08d083f8eec9c4659f8a926784ef18494b2 | [] | no_license | iyalue/MIS-C_scRNAseq | 78f185f0e9969df971378cb367e826e0f1c495e0 | a058de9e1ffe855288030e8b018c94dadf5365e5 | refs/heads/main | 2023-06-04T06:27:20.933639 | 2021-03-28T11:56:24 | 2021-03-28T11:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,630 | r | ModuleScore_sepsis.R | library(Seurat)
library(tidyverse)
library(ggplot2)
## Module score for sepsis across classical monocytes
misc.cluster <- readRDS("shared/Myeloid/misc_integrated_myeloid_updated_cond.rds")
# Modify factor levels
condition_order <- c("C.HD", "MIS-C", "MIS-C-R", "A.HD", "COVID19-A", "COVID19-B")
misc.cluster@meta.dat... |
fd466c64ae26b595cc259aab0122455b3e0e80e1 | 0c32555a611c9471b8d79bbb055d0c62cfb7ac18 | /man/lag.Rd | f1c9f056f7add79327b086c8b110979e8b99d7b7 | [] | no_license | AnderWilson/smurf | 9105f0f62d3834a15c88daefdc3f834e8a3467d7 | 95e249cf0fbf90ce97ca78421e0aac0cc1e281d8 | refs/heads/master | 2020-05-20T03:21:19.830279 | 2015-08-11T13:41:24 | 2015-08-11T13:41:24 | 38,887,639 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 833 | rd | lag.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/lag.R
\name{lag}
\alias{lag}
\title{Create lag variables}
\usage{
lag(date, x, lags = 1, by)
}
\arguments{
\item{date}{A vector of dates.}
\item{x}{The varibale to be lagged}
\item{lags}{The number of days the variable should be lag... |
09b83fdd6593e8edbfa569cd32bb50f0c2dfb76c | 620901c3e8df2d92b6b40c96d3b9c60d7c316548 | /vignettes/precompute_vignettes.R | 980a71eca73e2960e969cf8c58ed383e644731b6 | [
"MIT"
] | permissive | KTH-Library/kthapi | 2d6fdb1e819fee92e74a9c4c0c11b636dacd6f29 | 4bf0dd2edea543bd57c5c3478321abefca0cee1b | refs/heads/master | 2023-06-23T06:35:30.889557 | 2023-06-16T10:55:35 | 2023-06-16T10:55:35 | 246,341,870 | 1 | 0 | NOASSERTION | 2022-06-07T14:14:32 | 2020-03-10T15:44:06 | HTML | UTF-8 | R | false | false | 580 | r | precompute_vignettes.R | library(knitr)
# NB: Remember to execute this script after changing the vignettes (*.orig)!
# Rationale: https://ropensci.org/blog/2019/12/08/precompute-vignettes/
#Sys.chmod("vignettes/precompute_vignettes.R")
scripts <- file.path("vignettes", c(
"KTH-Departments-from-Altmetric-Explorer.Rmd",
"Potential-Heads.Rm... |
e04c29ccb1016bffa6551f973bccef60612b21af | be213d42d477cbb10051150c6b8d11ddd7a9ac50 | /tests/testthat.R | d51a6a84f66aab3ff44dc21a102773a0ae8ca85f | [] | no_license | mdsumner/ozcran | cca71af45d460bbfaacef13aa2ee06509c4d584e | eff81307243def5a18fe909883698fdf5bf79076 | refs/heads/master | 2022-02-13T07:09:20.070136 | 2019-07-22T13:42:14 | 2019-07-22T13:42:14 | 198,210,243 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(ozcran)
test_check("ozcran")
|
3a22078d29e195dac8e605ece8d103ebff5e8b3d | bc7736a91a9fddda852bbf1f326dcf330b3f0f57 | /tests/testthat/test_bipartite_stats.R | a64df947e7298cf0816627d08da3ecf6e735b776 | [] | no_license | PrimulaLHD/econullnetr | 2d49fb41b584f78e96eecf0467b7fced66f4bce6 | a0776948b7195e4dbe1ad485c285a7aab0dfeba6 | refs/heads/master | 2020-03-29T11:32:17.863525 | 2018-04-18T20:01:50 | 2018-04-18T20:01:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,737 | r | test_bipartite_stats.R | # Use readRDS to view reference data sets
# e.g. readRDS("tests/testthat/sl_test")
library(econullnetr)
context("Bipartite_stats")
# Dummy nullnet object for unit testing
s.1 <- list()
s.1$obs.interactions <- read.csv(system.file("testdata", "obs_data.csv",
package = "ec... |
ccb2b965dba4e6cb8192be5ebe77f6a387095f0f | b79956f25c9cc130ef7bf41629ed5909467bd4de | /man/sequenceverts.Rd | f71ce7add62fbd8bb5b50bc2283f8d8c3199f06e | [] | no_license | mbtyers/riverdist | 652f6ca7153722741c5fa450834fe5d6e6be938e | 160e9368d420b960f776a3e93f1b84b716a19e23 | refs/heads/master | 2023-08-09T18:23:30.990174 | 2023-08-07T17:11:08 | 2023-08-07T17:11:08 | 47,280,222 | 21 | 1 | null | 2023-08-02T18:37:35 | 2015-12-02T18:32:05 | R | UTF-8 | R | false | true | 1,083 | rd | sequenceverts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/segs_direction.R
\name{sequenceverts}
\alias{sequenceverts}
\title{Store Vertices in Ascending Sequence}
\usage{
sequenceverts(rivers)
}
\arguments{
\item{rivers}{The river network object to use}
}
\value{
A new river network obje... |
4b1c940bb825613c12b5829beb287295636dc264 | d1d1e98c1ad3be28ab4e04e47bf0e2dff8a7b847 | /R/nesting.R | 0585f84fa1978a522054d22d6dbedb2dfa22e952 | [] | no_license | dis-organization/ggrasp | 3c57b41cb67d0580c23430d865b18c9681765c70 | 52866f36ab23a1e083a1f5ce6d2b8f27f5bf3cb4 | refs/heads/master | 2021-06-01T21:25:44.989679 | 2016-07-12T03:05:21 | 2016-07-12T03:05:30 | 62,983,351 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,073 | r | nesting.R | #' @rdname nest-Spatial
#' @export
nest1_.Spatial <- function(data, ...) {
sptab <- sptable(data) %>%
group_by_("object_") %>% nest_(key_col = "Object")
attrd <- as_data_frame(as.data.frame(data))
y <- bind_cols(attrd, sptab)
attr(y, "crs") <- proj4string(data)
class(y) <- c("sp1nest", class(y))
y
}
... |
e704b34df629213c8a70772920fb99e2b27c6a31 | 269c1c787a4c1796acb0820eefa0de6bdfad3072 | /man/coprime.Rd | 33290ec867b9810572b7ca2593967a4f1ecb5774 | [] | no_license | kelvinyangli/crypto | dc766d7f0dba3611148d5e63f5753eef617f6c57 | 51fc103f301904eca7885beb215f8d58b392a2a4 | refs/heads/master | 2023-01-02T05:20:36.836360 | 2020-10-16T10:12:40 | 2020-10-16T10:12:40 | 296,191,738 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 293 | rd | coprime.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coprime.R
\name{coprime}
\alias{coprime}
\title{Checking coprime}
\usage{
coprime(a, b)
}
\arguments{
\item{a}{An integer.}
\item{b}{An integer.}
}
\description{
This function checks if two integers are coprime.
}
|
50b5acc6eb0a23a63086c8c76cbc63afd399ce46 | 130fac5c7630d17332e253b4da6870f028d6f4d2 | /man/RMma.Rd | a2ba0d91f78c39f5b664a67cf8312b260aa30e4c | [] | no_license | cran/RandomFields | 41efaabb19f883462ec3380f3d4c3102b0ed86b4 | 41d603eb8a5f4bfe82c56acee957c79e7500bfd4 | refs/heads/master | 2022-01-26T09:24:35.125597 | 2022-01-18T18:12:52 | 2022-01-18T18:12:52 | 17,693,063 | 5 | 4 | null | 2019-05-20T21:08:38 | 2014-03-13T03:21:25 | C++ | UTF-8 | R | false | false | 1,595 | rd | RMma.Rd | \name{RMma}
\alias{RMma}
\title{Ma operator}
\description{
\command{\link{RMma}} is a univariate stationary covariance model
depending on a univariate stationary covariance model.
The corresponding covariance function only depends on the difference
\eqn{h}{h} between two points and is given by
\deqn{C(h) =... |
d0e7aa76c26008eafd7336e60fb8838796ff8fa5 | 6acd86b9f9e76bb0eb3c08c650e16354d32eee77 | /server.R | f6b03014cacc1fc72a4f71149df17ace1dfd7d2d | [] | no_license | yuen26/hntaxicab-shiny | 4fab3117f965240546fe275f1ff2b57cec2c9794 | 211d99995ee07152a7ab0d2489d501b70c44c222 | refs/heads/master | 2021-08-27T23:31:13.422521 | 2017-12-10T19:27:18 | 2017-12-10T19:27:18 | 99,350,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,331 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(leaflet)
library(plotly)
library(data.table)
library(dplyr)
source("ranking/reg... |
6c3f49eaf71429fbe76a9a4e0d7a46efe2e03e67 | 0c780d32356a4b3a2fefa9392ac545bd078de909 | /man/generation-time.Rd | 610af9fc03c03c87bd89833556be977b442be062 | [
"MIT"
] | permissive | heavywatal/futurervpa | 80fdeb533017eba10478d760fd9e15c1cd5b34d5 | 8fc6cfa6e831c2b6e8245b4eb83d2a769cc508e9 | refs/heads/master | 2020-04-02T03:56:01.315555 | 2018-10-21T09:20:12 | 2018-10-21T09:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 288 | rd | generation-time.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generation-time.R
\name{Generation.Time}
\alias{Generation.Time}
\title{Generation Time}
\usage{
Generation.Time(vpares, maa.year = 2014:2015, M.year = 2014:2015,
Plus = 19)
}
\description{
Generation Time
}
|
f757376f89a936dfc569e9b1c5c7097b6896dac4 | 3211f7bbd751ce099463d56045945e27581215bc | /plot1.R | eb0cf3ec744e592a33dbe372f71014868bc0666a | [] | no_license | awly2011/ExData_Plotting1 | 5a1d94c97fd7aee530a1b411e49e10c706d73f52 | 26790f1ef51d8358bed9fe74a9d145790da58aee | refs/heads/master | 2021-01-15T13:33:45.292280 | 2016-09-19T00:40:40 | 2016-09-19T00:40:40 | 68,553,678 | 0 | 0 | null | 2016-09-18T23:48:41 | 2016-09-18T23:48:41 | null | UTF-8 | R | false | false | 591 | r | plot1.R | # The data set is already downloaded, set current directory.
setwd("C:/Users/awl_y/desktop/R-chuanfu/class4/project1")
# Read data and the date "Feb/02" or "Feb/01" of 2007 were subsetted and saved to data2
data1 <- read.table("household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors = FALSE)
date1 <- ... |
ee297867945f524ee14ca3c4ad2c1cfde7a307d3 | e3704a1dc4a10d49a99d443b45ccf30d6aab8d55 | /R/si2-model-results.R | 52a19bc6e45cb254611bcc97b1f0725aa35b1a0c | [] | no_license | andybega/isa-2018 | f39ec5f0e08fb4a101b54ba9e16688b3a486d469 | 1a2c76663355b999a5cce231e06044f189ab3485 | refs/heads/master | 2021-01-25T11:49:03.055210 | 2019-10-21T07:11:56 | 2019-10-21T07:11:56 | 123,430,639 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,956 | r | si2-model-results.R |
library("tidyverse")
library("states")
library("hrbrthemes")
library("nlme")
library("lme4")
library("broom")
library("ggstance")
library("scoringRules")
library("PRROC")
source("code/functions.R")
cy <- readRDS("output/cy.rds")
data(gwstates)
cnames <- gwstates %>% group_by(gwcode) %>% summarize(country = unique(c... |
9d52b6536d5a73180e0a90333b6e7a1b0eb5130e | b8b32740539350781817bc3b3088afd94351e43d | /main.R | a3065832db36c77a18cf7f9c4dbeb819bc66dbf7 | [
"MIT"
] | permissive | fubuki/R-example | 62227eb982f3f93f29ad2d2abf00259cbe67fc8e | 228448dedc07fa2a55889ae7c5f4be6725eb6b65 | refs/heads/master | 2021-01-19T15:38:54.670076 | 2014-07-08T15:58:02 | 2014-07-08T15:58:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 213 | r | main.R | library(ggplot2)
data <-read.csv("C:/us-cities.csv",sep=",")
plot(mtcars$wt,mtcars$mpg);
v1 <- c(1,2,3);
v2 <- c(4,5,6);
c(v1,v2);
Sys.Date()
x <-combn(1:5,3)
y <-rnorm(1, mean=100, sd=15)
print(x)
print(y)
|
62194893d66981e0184b60b46f80a0f3ebe56616 | 7d6fc36fd109ed6e9af382feb0094b801e40b837 | /scripts/spt5_figure6-global-nuc-fuzz-occ.R | 243075583f63321c434f51098b9c68d46b7a2529 | [] | no_license | james-chuang/prospectus | 1fe19fe3ceec67640d8673382b49c80ad4b86009 | 3f5dc8da15649c454a825d29315b224973d84132 | refs/heads/master | 2020-03-22T18:57:05.085186 | 2018-10-11T16:30:25 | 2018-10-11T16:30:25 | 140,493,575 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,578 | r | spt5_figure6-global-nuc-fuzz-occ.R |
import = function(path, group){
read_tsv(path) %>%
transmute(occupancy = smt_value,
fuzziness = fuzziness_score,
group = group) %>%
return()
}
main = function(theme_spec,
wt_mnase_quant, spt6_mnase_quant,
annotation,
... |
0516997f11f4b290c3d723a7b4a99c45b6cb40b8 | e534f1251b0611b7e44d130fc5ce00e9e8b28916 | /R/ross.R | faa722e9c0fb59ef1dbd631480743fa4bd790eb0 | [
"MIT"
] | permissive | gahoo/ross | 9116c960bd74fcbb68686256fc6787063c429cfb | d613630ecb2819e4be38679d699239fe944e0393 | refs/heads/master | 2021-01-22T19:05:07.001927 | 2017-08-03T09:16:51 | 2017-08-03T09:16:51 | 85,161,274 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,895 | r | ross.R | #' ross: ross is an aliyun OSS API Wrapper for R.
#'
#' The ross package provides the basic OSS API. includes:
#' Bucket, Object, STS
#'
#' @section Foo functions:
#' The foo functions ...
#'
#' @docType package
#' @name ross
NULL
.state <- new.env(parent=emptyenv())
.state$location <- list()
.state$multipart <- list(... |
1deda55bb765adfb858111a9bfcda2bfa8adcfdd | 9796bc96e36ba632506e3dcaf5efa0dc09acf451 | /run_analysis.R | 3fa963b944ef4ead22568a5919041c2a9c541582 | [] | no_license | engrasa/Getting_Cleaning_Data | df71da4d740e1566cc6a3ee8a3478e9985102450 | 7dd0b87f217eac496b07d0fe02a0dc6d1f2df02e | refs/heads/master | 2021-05-11T00:40:25.197370 | 2018-01-21T05:28:05 | 2018-01-21T05:28:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,867 | r | run_analysis.R | ##LOAD USEFUL R PACKAGES
library(plyr);library(dplyr);library(tidyr);library(knitr);library(data.table)
##CREATE A DIRECTORY TO STORE THE FILES FOR MODULE 3 PROJECT
if(!file.exists("./Module 3 Project"))
{dir.create("./Module 3 Project")}
##DOWNLOAD THE FILES FROM THE UCI SITE
url<-"https://d396qusza40orc.c... |
8e009a7565e40ec642ed1cd99773340f1a1d2df9 | 33c418dcf8d3703d7a4e44fa99da69d1577a6ff2 | /_functions/fPuSaCom.R | 419947659457883e80411281d7940e722f23dcf5 | [] | no_license | terrasys/CAWa_Classification | cc59a8e31cb06d77a4b6873dca55c1e9cdcd5f11 | c4c62e839eec03d7cf6319bd0e8d53a180cba4fb | refs/heads/master | 2021-10-24T07:48:36.870435 | 2019-03-23T15:53:18 | 2019-03-23T15:53:18 | 167,062,929 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,164 | r | fPuSaCom.R | featureScale <- function(x, ...){(x - min(x, ...)) / (max(x, ...) - min(x, ...))}
#-----------------------------------------------------------------------------------------------------
#Dissimiliariy test of pure samples
#-----------------------------------------------------------------------------------------------... |
da659b32eabf5652fa061918a3516df4cb5a4cbd | 5b9b9913221bf41461673a88e1e499b5624094be | /tests/testthat/test-idproxy.R | fb126703ac04a8424520aa79a489e794adc65450 | [
"Apache-2.0"
] | permissive | patperry/r-frame | 12241f0e4845db6455b1c4d19f5ff695c8b33ad6 | 5c56110fe0bf74a0fbaeaaa74258fa338dca700f | refs/heads/master | 2020-03-06T18:27:47.334808 | 2018-04-12T17:07:09 | 2018-04-12T17:07:09 | 127,007,322 | 8 | 1 | null | null | null | null | UTF-8 | R | false | false | 739 | r | test-idproxy.R | context("idproxy")
test_that("atomic", {
expect_equal(idproxy(letters), letters)
expect_equal(idproxy(NULL), NULL)
expect_equal(idproxy(1:10), 1:10)
})
test_that("vector object", {
expect_equal(idproxy(as.hexmode(10:1)),
xtfrm(as.hexmode(10:1)))
})
test_that("invalid", {
expect... |
8c6c38be9f6a25336dfcd2df43b7c5d7260be072 | 5823fb5f3267251e2df08dfa72845e0604fb5ccf | /Labs/Lab 1/Lab1_SVM12.R | a8cecea24ef961a50bfd478f698a732c870554c5 | [] | no_license | Dtrain27/DataAnalytics2021_Dominic_Schroeder | 02d008e83fbcc84427e7e15f61710de0d2a133fa | 5793ae8e8bd79e3c337312dd534da17e38663559 | refs/heads/main | 2023-04-04T20:55:46.603371 | 2021-04-29T12:36:36 | 2021-04-29T12:36:36 | 333,999,939 | 0 | 0 | null | 2021-04-29T12:36:37 | 2021-01-29T01:09:08 | R | UTF-8 | R | false | false | 451 | r | Lab1_SVM12.R | # load the kernlab package
library(kernlab)
data(spam)
attach(spam)
ytrain <- as.factor(spam$type)
xtrain <- as.matrix(spam[,-58])
# train the SVM
svp <- ksvm(xtrain,ytrain,type="C-svc",kernel='vanilladot',C=100,scaled=c())
# General summary
svp
# Attributes that you can access
attributes(svp)
# For example, the ... |
b4298a7c59ef46637e75b86e7c7eeee2218a56aa | 61a88247e1261f03659be3ada7c70ec7944b3ae0 | /RegressionModels/RegressionModel.R | b9b9397b44ffebf799c448319ec7e5eb57e22348 | [] | no_license | niehusst/R-DataSci | 09e844de8d5290b3bf64de3c24666d69b8cc680b | 1bf14f9624ea7459037d6d61f3dc61198eeb7721 | refs/heads/master | 2020-03-30T06:54:19.596360 | 2018-11-26T01:34:57 | 2018-11-26T01:34:57 | 150,898,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,127 | r | RegressionModel.R | #Liam Niehus-Staab
# Regression Modelling
#11/14/18
library(dplyr)
library(leaps)
#data
MPG <- read.csv("~/Shared/F18MAT295/MPG.csv")
brain <- read.csv("~/Shared/F18MAT295/BrainBody.csv")
# For Monday, Nov 19: Hand in questions 1 - 6 from the lab. Submit graphs for question 6 only.
# For questions 1 - 5, do not su... |
284b7da33c8f94b0c272b01a2cdc71c5a8b14018 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/R.methodsS3/examples/throw.Rd.R | 16f6c469db6227149d681e2ba23942913963736c | [] | 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 | 394 | r | throw.Rd.R | library(R.methodsS3)
### Name: throw
### Title: Throws an exception
### Aliases: throw.default throw
### Keywords: error
### ** Examples
rbern <- function(n=1, prob=1/2) {
if (prob < 0 || prob > 1)
throw("Argument 'prob' is out of range: ", prob)
rbinom(n=n, size=1, prob=prob)
}
rbern(10, 0.4)
# [1] 0 1 0 ... |
c85de8180a7b89d0854e1d4a990f50e2bb28d8d5 | 6684882274e26c88e266a571ec84b785889cd2bc | /ebay_ipad_kaggle.R | cf2bbc58e0d2b14c3c666a2ee9b9ebb0d56a3853 | [] | no_license | akselix/ebay_kaggle | 6a598bef48641c2df85e40b25b0480d04f142891 | 4b5e72feb5904939c2d9096d36d2893e1c0d94fe | refs/heads/master | 2016-08-12T06:57:21.101164 | 2015-08-03T14:41:47 | 2015-08-03T14:41:47 | 51,300,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,114 | r | ebay_ipad_kaggle.R | # ebay_ipad_kaggle.R
# EdX - Analytics Edge - Unit 6
# 2015-07-28
# SETTINGS AND LIBRARIES ####
setwd('/Users/r2/MOOC/Analytics Edge - MITx/Kaggle')
library(dplyr)
library(caret)
library(randomForest)
library(tm)
# GET AND CLEAN DATA ####
# Load data
rawTrain <- tbl_df(read.csv('eBayiPadTrain.csv', stringsAsFactors ... |
f6935155ff5d1eae9999a6ceaa9fbae67f5abed2 | 4279b1b5ee6da23549b9495d872dd733227c9680 | /tests/testthat/test_rank_variants.R | a4adc258e6822e1d75faf024244e967fdf1911d1 | [] | no_license | knausb/vcfR | c5fe7efe8da89f2b140abff0427175d54f3a07a0 | a160996e35437a657774e2769d43ea2ee960d24c | refs/heads/master | 2023-02-22T23:59:07.163875 | 2023-02-10T12:12:29 | 2023-02-10T12:12:29 | 13,932,575 | 229 | 68 | null | 2022-10-18T07:50:52 | 2013-10-28T17:09:04 | R | UTF-8 | R | false | false | 1,066 | r | test_rank_variants.R | #
# rank_variants tests.
# detach(package:vcfR, unload=T)
library(vcfR)
#library(testthat)
context("rank_variants functions")
#data(vcfR_example)
##### ##### ##### ##### #####
test_that("rank.variants.chromR works",{
data(vcfR_test)
chrom <- create.chromR(name="Supercontig", vcf=vcfR_test, verbose=FALSE)
chr... |
258b8c9d75c2ba79ab7eaee9821cd93eb69303e1 | 11d39ea7a03373eaa370c2b6c749ce3f8ef8fe89 | /ui.r | 48eb13dd0b29e0b0818bf3eb62597a8874a82a3a | [] | no_license | ikuznet1/data-analytics-website | 534c0e17ad7a49419238f5af5209161b48f3616b | 34577c7cfdd8e822881b8f6f772aa0f23a5f5446 | refs/heads/master | 2021-01-10T09:44:02.697302 | 2016-01-04T19:20:17 | 2016-01-04T19:20:17 | 45,401,740 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,549 | r | ui.r | # Define UI for application
shinyUI(navbarPage("vx:vector explorer", id = "tabs",
tabPanel("Data", value = "D",
sidebarPanel(
fileInput('data', 'Choose CSV File', accept=c('text/csv', 'text/comma-separated-values,text/plain','.csv')),
tags$hr(),
checkboxInput('header', 'Header', TRUE),
radioButtons('sep',... |
15a04280a9236e9eacf6a923c7691e359750f59b | 922d6910dbc05bf2cd573f0a798e7d81d772b68b | /01-LogicaDifusa.R | d1f466d6eeedda59f8173f6fbeaa7c5fc7de6de5 | [
"MIT"
] | permissive | sudo-ninguem/R-LogicaDefusa | 18fc825ef9fb5b40af99e8fd24c7fb7e194fbddc | 00dd1783eb0e51e8d01b5bbb11b64d7617f8dbe3 | refs/heads/main | 2022-12-17T12:01:06.525383 | 2020-09-19T14:52:34 | 2020-09-19T14:52:34 | 296,890,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,930 | r | 01-LogicaDifusa.R | ############################### LOGICA DIFUSA #############################################
## Utilizando a lógica difusa vamos aperfeiçoar um sistema especialista para diagnostico de asma
install.packages("sets", dependencies = T )
## O pacote para logica difusa em R é o (sets) além disso vamos baixar as dependenc... |
b9ac8ae8528631a7b386013d818d98aa27c20cab | 92346d2a138b36073bf83230f20b9f0a0f6ce9b7 | /weekend project.R | ddf5461ecf9cfbc3cdf7e518d2107cb9de15b853 | [] | no_license | ShaimaM/Weekend-Project- | 4d439faa0d6e128cf430f58c53a3432ccd61f79b | f52589b28095dacb2c2ed00563bbcfd50c50dd5b | refs/heads/main | 2023-02-06T17:41:41.575144 | 2020-12-14T02:34:06 | 2020-12-14T02:34:06 | 321,211,544 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,629 | r | weekend project.R | # Cost for adults and children
ticket_cost <- 60
ticket_cost_child <- 30
# List 5 of your favorite movies
movies <- c('Toy Story', 'Another Round', 'captain phillips',
'once upon a time','The Assistant')
#n_movies <- 5
# How many screens does the theater have? (assume 1 per movie)
screens <- 5
# H... |
813cf5c83e93465fb869219172f2b0ee4bdaab12 | 0b5e64377bee24d92033157f5d091913e9e6a9bb | /R/Reversible.PRNG.CryptoHash.R | ad492c07b09be2dce3937a8ce79784434ea1de76 | [] | no_license | nishanthu/Reversible.PRNG | 01dc0d41cf0db9f22317f515c4d02bdd816cf189 | 160a9e2a0b074e0bd65a853cb504c7bb0e945441 | refs/heads/master | 2020-12-25T07:17:36.760234 | 2016-07-09T05:54:20 | 2016-07-09T05:54:20 | 62,934,574 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 825 | r | Reversible.PRNG.CryptoHash.R |
runif.hash.next <- function(n) {
if(!exists('.rprng.hash.state')) set.seed.hash()
res = numeric(n)
for(i in seq_len(n)) {
.rprng.hash.state <<- .rprng.hash.state + 1
res[i] = (strtoi(paste0(tail(unlist(strsplit(digest(.rprng.hash.state, "xxhash32"),'')),.num.digits), collapse = ''), 16L) / .max.num)
}... |
7e41905576c17ce50707707f87e181229b8d299f | 9d3e3c3950c4101bc863a90e69606d7c7d03a4e9 | /chilling/07_fill_in_paper_details_Springer_2_Attempt200_ObsHist/ugly_lines/01_median_plot.R | 637edb762ee6c50f42dab08e31429c19f85271ba | [
"MIT"
] | permissive | HNoorazar/Ag | ca6eb5a72ac7ea74e4fe982e70e148d5ad6c6fee | 24fea71e9740de7eb01782fa102ad79491257b58 | refs/heads/main | 2023-09-03T18:14:12.241300 | 2023-08-23T00:03:40 | 2023-08-23T00:03:40 | 146,382,473 | 3 | 6 | null | 2019-09-23T16:45:37 | 2018-08-28T02:44:37 | R | UTF-8 | R | false | false | 5,664 | r | 01_median_plot.R | #
# This is a copy of the same file from /Users/hn/Documents/00_GitHub/Ag/chilling/06_fill_in_paper_details
# which includes more scripts!
#
rm(list=ls())
library(data.table)
library(dplyr)
library(ggpubr)
library(ggplot2)
###########################################
post_fix <- "/0_replaced_with_367/"
dat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.