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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a3c427445f17d2b5a0200b06411d7591eb021b99 | 5b2f016f1298c790224d83c1e17a425640fc777d | /monod/Manuscript/MONOD_analysis_scripts/bak/S612.R | dbeab2c3beac6ab90ff47dce1c25c5bcf09eb1af | [] | no_license | Shicheng-Guo/methylation2020 | b77017a1fc3629fe126bf4adbb8f21f3cc9738a0 | 90273b1120316864477dfcf71d0a5a273f279ef9 | refs/heads/master | 2023-01-15T20:07:53.853771 | 2020-02-28T03:48:13 | 2020-02-28T03:48:13 | 243,668,721 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 13,175 | r | S612.R | # 2017-05-10
#source("http://www.bioconductor.org/biocLite.R")
#biocLite("impute")
#install.packages("gplots")
#install.packages("RColorBrewer")
#install.packages("grDevices")
library("gplots")
library("RColorBrewer")
library("grDevices")
library("impute")
gsi<-function(data){
group=names(table(colname... |
9e0b06a392cb5a7eaaa885a7e1f264ebd7c0f0f6 | 9f2f9ef625d991219cd1bd22c9a9daf34cb717a7 | /man/diagnostic-class.Rd | 6fd413aaa5c68c685401fd3a5f6f47db8cdd6749 | [
"BSD-3-Clause"
] | permissive | jan-glx/gmo | 0910fe3cdf5d5506281a5bc41178464f3fde70b0 | a3c466c553aaa487619b7baf7e36f0c35999e262 | refs/heads/master | 2021-05-12T01:11:38.900509 | 2018-01-15T14:53:31 | 2018-01-15T14:53:31 | 117,553,351 | 0 | 0 | null | 2018-01-15T14:08:02 | 2018-01-15T14:08:02 | null | UTF-8 | R | false | true | 958 | rd | diagnostic-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util.R
\docType{class}
\name{diagnostic-class}
\alias{Diagnostic}
\alias{diagnostic-class}
\title{A Reference Class for diagnosing convergence.}
\description{
A Reference Class for diagnosing convergence.
}
\section{Fields}{
\describe{
\item... |
68d2ce9b5645d16ce734e43d3f6bdd8772ca569f | 2e8fcc79e61ed9f80673834834fcf2abb4b8ac75 | /man/getVariableIndex.Rd | d0c19e082191337831da9a286407c3248f68703f | [
"MIT"
] | permissive | nickmckay/GeoChronR | 893708e6667ee898165c208d200f002063e6d83f | f37236e1fa6616f55798bbd4e1530b5b564d0f53 | refs/heads/master | 2023-05-24T01:32:59.690518 | 2023-01-17T23:16:47 | 2023-01-17T23:16:47 | 32,468,418 | 30 | 2 | MIT | 2023-01-19T17:46:24 | 2015-03-18T15:50:12 | R | UTF-8 | R | false | true | 1,409 | rd | getVariableIndex.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lipd.manipulation.R
\name{getVariableIndex}
\alias{getVariableIndex}
\title{Get the index of variable list}
\usage{
getVariableIndex(
table,
var.name = NA,
alt.names = var.name,
ignore = NA,
always.choose = FALSE,
ask = TRUE,
st... |
34d622bd1d502065fda78ba4005b6e96ab36b587 | f5b7db353ee4783f15f12fbb5b8fd1b36eae8bb6 | /plot1.R | 081aa39bf87bbe69c610b0c0a240a6f3a26f1dc5 | [] | no_license | LloydNarciso/dataScienceCourse4Week4 | 6faf658beb3495ed96038ea35e098afaed7da10c | 33bbff65fe411983cd4830d117361d54992e1eb0 | refs/heads/master | 2021-01-12T07:33:47.779457 | 2016-12-20T18:45:53 | 2016-12-20T18:45:53 | 76,979,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 547 | r | plot1.R | ## This first line will likely take a few seconds. Be patient!
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
totalEmissions<-with(NEI,tapply(Emissions,year,sum,na.rm=TRUE))
x<-c("1999","2002","2005","2008")
png(filename="plot1.png",width=720,height=480)
plot(x,totalEmissions,ma... |
2bf7130413c84761821ca3e8bd5bba2f96d93e85 | 7daf72d1abe4b13d1e26dc46abddfebcfc42d9e8 | /man/pca_count.Rd | 191fdd2adcf7ae5a99956fdec23efc949ffb6460 | [
"MIT"
] | permissive | farcego/rbl | 6c39a7f2e63564c75860aa6a7887b2b49ffb73fb | b1cfa946b978dae09bf4d4b79267c4269e067627 | refs/heads/master | 2020-03-21T15:25:49.368438 | 2017-06-15T09:22:11 | 2017-06-15T09:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 544 | rd | pca_count.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funs_behavior.r
\name{pca_count}
\alias{pca_count}
\title{Count the number of Prey Catch Attemps (PCA)}
\usage{
pca_count(x)
}
\arguments{
\item{x}{a logical vector indicating at each timestamp if it was associated
to a PCA event.}
}
\descri... |
bdc0674feda68af0a1008d7be978b253a71d3b8d | 05c251183d6de3e1447079da895a16e3c1d9bafa | /codes/Fig1A.R | 11f6b12f7f2381b1e0b41cefb48f073b57e7eb9d | [] | no_license | joycewang914/Genomic_and_Patient_Transfer_Analyasis_of_Resistant_Bacteria | 42fb7d2597a5d61372253666c5447f88c05f13c3 | 21e74f522a23350700a068dd2359342db233bbcd | refs/heads/master | 2022-11-15T22:32:58.696067 | 2020-07-06T08:49:06 | 2020-07-06T08:49:06 | 277,387,877 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,329 | r | Fig1A.R | # Plot Fig 1A showing the prevalence of antibiotic-resistant organisms (AROs) in regional nursing facilities due to endemic spread of epidemic lineages.
# load dna matrix data (MGE removed)
# Fig 1B and 1C are a sample of Supplemental Figure S6. Please refer to FigS6.R for details.
library(ape)
library(wesanderson)
... |
00777bf48e9b0cd6ca14576061ccd176537aa2e4 | 320bb31bba3f88ad0e940553db4f7f54e0c4c920 | /R/BIOMOD_Projection.R | 25740e7b38a969554d13a1f2c540160b1e2f3c7d | [] | no_license | biomodhub/biomod2 | 519d120381332c719fc23d1a5d0a4d1030fd2a01 | ee9734d7dd9455cc8b76a000f74785512a119e2f | refs/heads/master | 2023-08-31T03:29:40.910990 | 2023-08-28T14:10:59 | 2023-08-28T14:10:59 | 122,992,854 | 61 | 21 | null | 2023-09-12T12:29:52 | 2018-02-26T15:55:28 | R | UTF-8 | R | false | false | 31,350 | r | BIOMOD_Projection.R | ###################################################################################################
##' @name BIOMOD_Projection
##' @author Wilfried Thuiller, Damien Georges
##'
##' @title Project a range of calibrated species distribution models onto new environment
##'
##' @description This function allows to proje... |
d658b2de576625cfac341efbe61d6eda711bd867 | 8c47fdfcb462799c38da6124cea82a7c578a7a06 | /EV/EV1215.R | 632b34705829fbac81bfd590de8801309c9d0903 | [] | no_license | QI0222/MA_615 | c90df130a277194d08e3cbdd9f110229fcf9ea8c | adc114ed3b4bc889c21995cc527ed630ab40882d | refs/heads/master | 2020-07-27T06:00:12.124158 | 2020-03-07T00:41:09 | 2020-03-07T00:41:09 | 208,893,881 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,157 | r | EV1215.R | #research question: is there any supply for the electric vehicle charging stations?
#1. EDA on existing electric vehicles
#2. Are the charging stations in areas with restaurants and stores? (MAP)
#3. Distance between charging stations?
#4. Growth rate of the electric vehicles
#5. Growth rate of the charging stations
#... |
dabc5f96c4133eaf423434aeb5cb24058b51a732 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/man/ssm_delete_parameters.Rd | 07a3bda2c33cb7f8160cd7f011574913c5aceac3 | [
"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 | 659 | rd | ssm_delete_parameters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ssm_operations.R
\name{ssm_delete_parameters}
\alias{ssm_delete_parameters}
\title{Delete a list of parameters}
\usage{
ssm_delete_parameters(Names)
}
\arguments{
\item{Names}{[required] The names of the parameters to delete. After deleting a... |
8c5b2cf84a0d4896f2d76646eca163d76ea67498 | 355aedf0b2b57e92c1e379727ba8c0e7a7296fa3 | /process/Amniote_Database_References_Aug_2015_pre.R | 02b11428082aa239f66b01188a66ba8f8fc9f03e | [] | no_license | annakrystalli/bird_trait_networks | a2be0342bd84b1bb242d50a73727379518dadac5 | 81c56555147a56deb14af876e93996ef56330098 | refs/heads/master | 2021-01-17T00:59:06.585208 | 2018-02-01T18:50:00 | 2018-02-01T18:50:00 | 47,277,564 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 377 | r | Amniote_Database_References_Aug_2015_pre.R | ## ---- prR1-subset ----
data <- data[data$class == "Aves",]
## ---- prR1-derive_repro.age.diff ----
add_keep.dat <- data.frame(repro.age.diff = paste(data$female_maturity_d,
data$male_maturity_d, sep = "; "))
add_keep.dat[is.na(data$female_maturity_d) | is.na(data$ma... |
ea99c5e50c357997fc0635587aa49561ab355c69 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/umx/examples/umxConfint.Rd.R | 51a25bdf369d9ec26d086fcf7dc1caaba851dd69 | [] | 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,307 | r | umxConfint.Rd.R | library(umx)
### Name: umxConfint
### Title: Get confidence intervals from a umx model
### Aliases: umxConfint
### ** Examples
require(umx)
data(demoOneFactor)
latents = c("G")
manifests = names(demoOneFactor)
m1 <- umxRAM("One Factor", data = mxData(cov(demoOneFactor), type = "cov", numObs = 500),
umxPath(from = ... |
cf05020c5202267f2a1a37e9b382b0f4db92904b | 45f602f6af1ba44934ef8c2d928ecc90bf849b2d | /Oakland/Oakland Code.R | db0aba5771778f2f1a86ebee703ce3f5651b251b | [
"Apache-2.0"
] | permissive | Howard-Center-Investigations/homelessness-in-the-us | e1e3690178d9d5241cf393bee2b371bc39fb5f3a | 989b40c105fe4c5b8a1a93b0857758c805594178 | refs/heads/master | 2022-11-24T14:23:15.394426 | 2020-07-21T19:30:55 | 2020-07-21T19:30:55 | 212,883,711 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,259 | r | Oakland Code.R | ## Install packages
library(tidyverse)
#helps with cleaning data
library(janitor)
library(lubridate)
# Read in oakland data, read_csv is "a bit smarter" than read.csv
oakdata <- read_csv("oaklanddata.csv")
# Look at columns to see how each variable is interpreted (factors, characters, dates,
#etc.) problem is tha... |
4a1a8d4a0bda9aba700c52cf02cf8e845b910572 | c23216384c211a86d6fa2d04211d54da21693978 | /Submissions/me2685@columbia.edu/SIS_Challenge.R | 5b8633423856ef46a13166d4ab4aec885654f1d8 | [] | no_license | SportsInfoSolutions/AnalyticsChallenge2020 | e49a239fbb00ba38d4e192726d2b64c62eded5c5 | cd12a9caaec5d49f8f12c805d381d9619bd298d4 | refs/heads/master | 2023-06-05T03:18:33.617477 | 2021-06-24T20:54:41 | 2021-06-24T20:54:41 | 274,144,333 | 17 | 62 | null | 2020-07-22T14:03:21 | 2020-06-22T13:27:05 | HTML | UTF-8 | R | false | false | 15,746 | r | SIS_Challenge.R | library(tidyverse)
library(readr)
library(RCurl)
library(glue)
pbp <- read_csv("Data/AnalyticsChallenge2020Data.csv",
na = c("NULL", "NA"))
# Clean Data
pbp_clean <- pbp %>%
# Remove kneels and spikes
filter(!str_detect(PlayDesc, "kneel") & !str_detect(PlayDesc, "spike")) %>%
# Classify Scramble... |
cdcbcaea478db72bec1acd36b47ca1abbf5c3dd3 | 3a268ed108e371a7e5039a60b29a26e0c5c2a78e | /R/crossplot.R | e83d96b6a6310a6207c23a0702404c4c4fc3e966 | [] | no_license | ChandlerLutz/crossplotr | 1b0608b0cb09f5d86a1f4928a049f8e7e103a148 | 80e4407aed1e447a3672063f9332650234b94cf6 | refs/heads/master | 2021-01-12T06:37:10.985067 | 2018-12-16T22:09:31 | 2018-12-16T22:09:31 | 77,396,652 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,249 | r | crossplot.R | ## c:/Dropbox/Rpackages/crossplotr/R/plot_basic.R
## Chandler Lutz
## Questions/comments: cl.eco@cbs.dk
## $Revisions: 1.0.0 $Date: 2016-12-26
#' Create a basic cross-sectional plot using standard evaluation
#' of the variable names
#'
#' @param data the data to be plotted
#' @param x.var string w... |
5864f9a28afd673765a5118d193c832ab9dfbef0 | fa2ed649ad6cda9eaa3a2fc3a89b30a6e31ef8a8 | /single_cell_RNA_sequencing/QC.R | 91ad580b47169d4de199bddb86149deca64ce846 | [] | no_license | boxiangliu/onek1k_phase1 | 984095b5d4f419adecc8093080773493b363cb1f | d91eecb08ff1f7693712274de39d87a5215a7131 | refs/heads/main | 2023-09-01T17:12:16.981311 | 2021-10-13T08:11:08 | 2021-10-13T08:11:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,672 | r | QC.R | # Script information ------------------------------------------------------
#' title: Quality control for Onek1k data
#' author: Jose Alquicira Hernandez
#' date: 2019/05/20
#' description: Removes outlier cells based on the expression of mitochondrial
#' gene expression, number of UMIs, and genes detected per cell. D... |
488a8b93da1c3030816f44ce0e31d3f90ac138e6 | c7a896607481d06dd0aac96dddbd9d36e822ac8d | /tests/testthat/test-import-competitions.R | 8ad278da64c42c896914e83f48c8eaf3e996e52a | [] | no_license | IsaacVerm/penalty | 49a046cb5939e693935fdcf45bf7bc5c4f24f3f2 | 3f00f72f9fbd1b3632a58f7163171d4d89e683be | refs/heads/master | 2021-03-30T21:18:30.662954 | 2018-03-23T09:09:21 | 2018-03-23T12:43:41 | 124,901,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 982 | r | test-import-competitions.R | context("get_competitions")
test_that("returns response succesfully", {
response <- get_competitions()
expect_equal(response$status_code, 200)
expect_is(response, "response")
})
context("extract_competition_ids")
test_that("returns list", {
response <- get_competitions()
ids <- extract_competition_ids(r... |
9cc43e425225b0b0b15010269bd44138ed825648 | ac961f7c20e60c955720e0d93483b4d92ce01726 | /unsorted_pantherJson2df.R | dd2c0b9a504a44d8c2c426f49117e409c5b13253 | [] | no_license | mengchen18/RFunctionCollection | 01b2936ea794297a87cf277ef0f583d02a1bb4ac | 222d22fc8f12a622af01b91711a66c6e9da08be8 | refs/heads/master | 2022-05-24T17:49:05.385208 | 2022-05-17T12:58:42 | 2022-05-17T12:58:42 | 127,109,330 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,633 | r | unsorted_pantherJson2df.R |
pantherJson2df <- function(js) {
getfixwidth <- function(x) {
if (is.null(x))
x <- NA
x
}
einfo <- function(v, cat) {
c(GO_group = cat,
GO_level = getfixwidth(v$term$level),
GO_ID = getfixwidth(v$term$id),
GO_Desc = getfixwidth(v$term$label),
N_reference = ... |
846f2c95c57c83d158eae5d780ae452009de01e9 | 3a4c4c729d37c10c6db2d4de24a7d8cb8115949b | /R/get_attrs_desc.R | 46b18ad61a6db92113eb8f4c17b1562704704e6f | [
"MIT"
] | permissive | twang2218/pmap | 9155e2b5591e3fc100200734b24b11b0006a8c4f | 1cd62ff0b2c02faff3b2e20cc0e5c98dff871582 | refs/heads/master | 2021-11-25T16:24:07.288289 | 2021-10-31T16:02:08 | 2021-11-02T08:46:04 | 116,099,299 | 19 | 3 | NOASSERTION | 2021-11-02T08:46:05 | 2018-01-03T06:16:51 | R | UTF-8 | R | false | false | 1,802 | r | get_attrs_desc.R | #' @title Get an attribute key-pair string from an object
#' @usage get_attrs_desc(object)
#' @param object Given object, can be `list`, `matrix`, or `data.frame`
#' @description Get an attribute list string from an object
#' @examples
#' print(df)
#' # id name is_manager
#' # 1 1 Jane FALSE
#' # 2 2 Joh... |
bec599c49867ebca72deffeee00b680956e006d5 | 096fe210156cd34fec1743fc8be582d3903721cb | /man/print.striprawdata.Rd | a8009db3c7f113b9830e5d7f44cd802c08931874 | [] | no_license | Lifebrain/metagam | 43d383fcaa331562a0899651fd9468708c188af0 | 37d9f75a3cc97322d0ae2957e0fdeaa49ef54dfc | refs/heads/master | 2023-09-01T07:34:58.376500 | 2023-05-05T18:06:03 | 2023-05-05T18:06:03 | 235,595,959 | 8 | 2 | null | 2022-01-24T10:18:37 | 2020-01-22T14:54:25 | R | UTF-8 | R | false | true | 432 | rd | print.striprawdata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary_strip_rawdata.R
\name{print.striprawdata}
\alias{print.striprawdata}
\title{Print method for striprawdata}
\usage{
\method{print}{striprawdata}(x, ...)
}
\arguments{
\item{x}{Object of class \code{striprawdata}.}
\item{...}{Other arg... |
15d22b232fffec1a93d83dd5d8635c5f7c3e3d2a | 9e758a1fd686a06c99eccf25e02bf736640531c7 | /R/quotas_errors.R | bbc15bccea731ba1675ff08ad6081676c61d6787 | [] | no_license | addixvietnam/googleAnalyticsR_v0.4.2 | 2873c59bd23c76a06deaa036d676e6675c275869 | d60ff8f8c6f6748b1fc985b9b079ac6b4738f8b3 | refs/heads/master | 2020-08-26T12:54:05.693373 | 2019-10-23T09:28:49 | 2019-10-23T09:28:49 | 217,016,500 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,319 | r | quotas_errors.R |
default_project_message <- function(){
is_default_project <-
getOption("googleAuthR.client_id") %in% c("289759286325-da3fr5kq4nl4nkhmhs2uft776kdsggbo.apps.googleusercontent.com",
"289759286325-42j8nmkeq5n9v9eb1kiuj2i97v9oea1f.apps.googleusercontent.com",
... |
68d68df1aaac0d776f1c9740fd39f032f7074a98 | 319c8effd49600b5796cd1759063b0b8f10aeac1 | /workspace/crispr/data_P101SC17051084-01-B1-7/cdf.r.2018052114 | c902896223d896a607453359ffdd755792934900 | [] | no_license | ijayden-lung/hpc | 94ff6b8e30049b1246b1381638a39f4f46df655c | 6e8efdebc6a070f761547b0af888780bdd7a761d | refs/heads/master | 2021-06-16T14:58:51.056045 | 2021-01-27T02:51:12 | 2021-01-27T02:51:12 | 132,264,399 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,697 | 2018052114 | cdf.r.2018052114 | #!/usr/bin/env Rscript
library(grid)
library(ggplot2)
args<-commandArgs(T)
data = read.table(args[1],header=TRUE,row.names=1)
pdf(args[2],width=12,height=21)
grid.newpage()
pushViewport(viewport(layout = grid.layout(3, 1)))
vplayout <- function(x, y) viewport(layout.pos.row = x, layout.pos.col = y)
df <- data.frame(x ... |
618abbb80952d420fad609d3dee369be0db53927 | 4dfb7d79f898a0bb8819129b1c34ad7e2c75d352 | /Untitled.r | 0b406b598d3b806ce687e65c124d85a61e700e1e | [] | no_license | AmandaJunqueira/gittutorial | 080147e0472722941dae305beff2631b9273ed26 | b242f87980e7f3f160f610d92d6b5a70d6d190eb | refs/heads/master | 2021-01-02T04:48:05.774199 | 2020-02-10T11:50:25 | 2020-02-10T11:50:25 | 239,494,927 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13 | r | Untitled.r | bla bla <- 1; |
da257424fbb07c060066307f7b6a423b0602e342 | 200d05f1571ea8ddbbc37ced7eb926d43d571f5a | /man/build_model_objects.Rd | d0f2be47e0c2e2fbd4d4e4e36c8fd6053708122e | [] | no_license | STAT545-UBC-hw-2018-19/hw07-shreeramsenthi | 0982b633c94d8c4ebfd40acada3ae6ad11fd268e | a71f1a1e3bd20fc120a8eaa0c995c322ff52035f | refs/heads/master | 2020-04-05T06:01:21.970231 | 2018-11-15T08:22:27 | 2018-11-15T08:22:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 587 | rd | build_model_objects.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/build_model_objects.R
\name{build_model_objects}
\alias{build_model_objects}
\title{Build list of model objects}
\usage{
build_model_objects(formulas, data, model = stats::lm, ...)
}
\arguments{
\item{formulas}{List of model formulas}
\item{... |
170f671cfb5209469a974d45329e973230534857 | ab84adde7680f319f025396f156adb7d1df66b65 | /data-raw/ucdp_acd.R | e9d82a15516badadd070a9cb0d04595fd790b405 | [] | no_license | Louis8102/peacesciencer | 9492d44c0749ef484611003e1c7518293a4d73c4 | cc6f9b6130779b451a1300a7b199bc87904fb5b2 | refs/heads/master | 2023-04-15T11:30:23.807519 | 2021-04-28T14:56:46 | 2021-04-28T14:56:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,998 | r | ucdp_acd.R | library(tidyverse)
ucdp_acd <- readxl::read_excel("~/Dropbox/data/ucdpprio/acd/ucdp-prio-acd-201.xlsx")
# I'mma select just what I want
ucdp_acd %>%
select(conflict_id, year, gwno_a, gwno_a_2nd, gwno_b, gwno_b_2nd,
incompatibility, intensity_level, type_of_conflict:ep_end_date) -> ucdp_acd
# Oof, I hate ... |
f2f5fc93757815f4209a102649c8f0c8fd75b86a | fc087468a9a228a59f819285eb0fc4c2b726934c | /week 9 notes.R | 61f7ee3753ca5df4b783f6253225872719ce15e7 | [] | no_license | jmsahakian/R_DAVIS_in_class_project | 16475f15c78bb20ffb27d61bcd01feb04fc9f468 | 312481656b104706c692c59c501e658ff020eca3 | refs/heads/master | 2020-11-25T05:17:13.101369 | 2020-05-01T02:33:35 | 2020-05-01T02:33:35 | 228,517,141 | 0 | 0 | null | 2019-12-17T02:36:09 | 2019-12-17T02:36:09 | null | UTF-8 | R | false | false | 1,667 | r | week 9 notes.R | #Week 9 Notes
#Date Times using 'lubridate' package
#load packages
library(tidyverse)
library(lubridate)
nyf1 <- read_csv("data/raw_data/2015_NFY_solinst.csv", skip = 12)
sample_dates <- c("07-15-2019", "12-24-2018", "03-07-2013", "04-04-2019")
sample_dates <- as.Date(sample_dates, format = "%m-%d-%Y")
dt <- c(... |
ef9a13e39da1e578edc10c5ee772bf28b27581fd | 98f35573ae5ccec324f57f5752e5798c82445ca2 | /inst/predictive/predictive.R | 3958d5777368992fb23e3988a0c17e9e7f92b36b | [] | no_license | cran/AOV1R | fd23065a2b8649d10695ebefe289cba930c751ca | 230941f1c4d8b55a83e4aadf2946d97b65f86d93 | refs/heads/master | 2023-01-07T07:59:10.998185 | 2020-11-10T09:00:08 | 2020-11-10T09:00:08 | 312,225,640 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,590 | r | predictive.R | library(AOV1R)
nsims <- 1000
test <- logical(nsims)
for(i in 1:nsims){
dat <- simAV1R(I=2, J=3, mu=10, sigmab=1, sigmaw=1)
fit <- aov1r(y ~ group, dat)
pred <- predict(fit)
newy <- simAV1R(I=1, J=1, mu=10, sigmab=1, sigmaw=1)$y
test[i] <- newy > pred[1] && newy < pred[2]
}
mean(test)
# unbalanced
nsims <- ... |
18bfee5f4f45bd6cc6888326d6e7c5a075a9998f | e434738314e1ac1c97247e5395e044357a7c0eb6 | /tests/testthat/test_shiny_reactive.R | aad37bfb7e4198e399e5e4cc3019b5f6fcf7f137 | [] | no_license | edanen/cytomapper | 39e1063ded2e339bbc31fe584c28727ef75f19b8 | 60c4685887a33072ffae2637eb69a9c0dfcdbb29 | refs/heads/master | 2022-12-16T16:52:42.941716 | 2020-09-13T16:41:11 | 2020-09-13T16:41:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 280 | r | test_shiny_reactive.R | data("pancreasImages")
data("pancreasMasks")
data("pancreasSCE")
shiny::testServer(app = cytomapperShiny(object = pancreasSCE, img_id = "ImageNb", cell_id = "CellNb"), {
session$setInputs(sample = 1,
plotCount = 1)
expect_equal(input$sample, 1)
})
|
3c564e548d5105772e119eafea45733869e111b0 | 1cd07d10573cbf1f63ee64d9634d29498437bc2d | /Intro File.R | a176e9f8d61271e9d4e5a6bf7ba5759f737d84b0 | [] | no_license | anshikadhingra/R-programming | 405bc159d6bc069bcf540cbe6c6cd70d4d8c304d | 6c88fc2c01e388dfb67379eb366956990d1c6ee4 | refs/heads/main | 2023-08-24T10:37:03.965081 | 2021-10-30T10:08:40 | 2021-10-30T10:08:40 | 303,133,108 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 131 | r | Intro File.R | #Introduction
print("Welcome to Analytics Edge class")
a<-(print("Welcome to Analytics Edge class"))
a
X=1:5
Y=6:10
plot(X,Y) |
d7d9d50aae8d05349c95fe22b389046d2b985339 | 6efad62861b49cb755623da49bd5725bcfe28e27 | /LAB1/Part3/Shiny/ui.R | 0dde9e90af6542399f07309b6ccdbef0821da84d | [] | no_license | Keerthu-Baskar/Data-Intensive-Computing-UB-CSE587 | a37a740bffa8a463e3d2a75e6588d608c8c2969b | e477d37df5376a28b35da5a09c5b066fd5a1f353 | refs/heads/master | 2020-07-07T17:03:58.668115 | 2020-01-01T21:13:59 | 2020-01-01T21:13:59 | 203,415,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 651 | r | ui.R | library(shiny)
ui <- pageWithSidebar(
# App title ----
headerPanel("Twitter Vs CDC Flu"),
# Sidebar panel for inputs ----
wellPanel(
fluidRow(
column(3, selectInput("populatie", label = h4("Maps"),
choices = list("Twitter" = "tw", "CDC" = "cd", "CDC vs Tw... |
04cf676a9d99412e0d81deb8b571abe12cd66f33 | b5822b9c2a756f4e540c426e7e84af35dae8caec | /rockchalk/R/vech2mat.R | e8d273f19a1e596843944afa2b644dc7d5c828aa | [] | no_license | pauljohn32/rockchalk | 0c75b7a7bc142669efcfabbc70d511f60c3f47e0 | fc2d3d04396bf89ef020e824f50db3c348e3e226 | refs/heads/master | 2022-08-20T02:49:56.898990 | 2022-07-26T01:20:12 | 2022-07-26T01:20:12 | 8,965,635 | 8 | 5 | null | 2022-07-18T00:36:58 | 2013-03-23T04:07:35 | R | UTF-8 | R | false | false | 2,326 | r | vech2mat.R | ##' Convert a half-vector (vech) into a matrix.
##'
##' Fills a matrix from a vector that represents the lower triangle.
##' If user does not supply a value for diag, then the vech will fill
##' in the diagonal as well as the strictly lower triangle. If diag
##' is provided (either a number or a vector), then vech is ... |
4dc463467a7548a15ee1d47024fe115402d1cad8 | aae4c7348a09c650369468b0cc20d3e10cfaeb60 | /GenericClustering.R | 89e33d8f03232ef8111ddfc6fceb30aeef4a394a | [] | no_license | Prashant0701/PracticeAnalytics | 112f4100015ee5dbb6b405ffdfae76f1e4b23309 | 4a3c8b67cc1573785b82dea90a81aa2b4dc56329 | refs/heads/master | 2021-08-23T19:40:01.461759 | 2017-12-06T08:02:22 | 2017-12-06T08:02:22 | 113,286,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,591 | r | GenericClustering.R | rm(list=ls())
library(caret)
library(RWeka)
set.seed(1234)
# separate data into test and train sets, 70/30 split in this case
splitIndex <- createDataPartition(iris$Species, p = 0.7, list = FALSE)
train <- iris[splitIndex, ]
test <- iris[-splitIndex, ]
testInd <- test[ ,!colnames(test) %in% "Species"]
testDep <- as.fa... |
77acddf84a17de77233e433287d95029045b0990 | 29d34e3302b71d41d77af715727e963aea119392 | /R/rtPalette.R | 56f047c2616aeb710c80b9e0ee830dd9aa37fab2 | [] | no_license | bakaibaiazbekov/rtemis | 1f5721990d31ec5000b38354cb7768bd625e185f | a0c47e5f7fed297af5ad20ae821274b328696e5e | refs/heads/master | 2020-05-14T20:21:40.137680 | 2019-04-17T15:42:33 | 2019-04-17T15:42:33 | 181,943,092 | 1 | 0 | null | 2019-04-17T18:00:09 | 2019-04-17T18:00:09 | null | UTF-8 | R | false | false | 12,824 | r | rtPalette.R | # rtPalette.R
# ::rtemis::
# 2016 Efstathios D. Gennatas egenn.github.io
# Penn ====
#' rtemis Color Palettes
#'
#' \code{pennCol}: Penn color palette (http://www.upenn.edu/about/styleguide-color-type)
#' @name rtPalettes
#' @export
pennCol <- list(darkestBlue = "#000f3a",
darkerBlue = "#00144d",
... |
fa1c455d6a4528c64bf0307ed2ca3e1ab7565075 | 11615afb4c52f1acbf0b5c07501bdc0fdff76e4d | /run_analysis.R | 1e580cda32060eb3de3e11cf5c24ae0ffa3e0aea | [] | no_license | michaelpboyle/Proj03GetClean | e37290c9f3a4ddcae432f6bd6bdf8701b6c2961d | db158694b19c289d2ab02aea0d0e2705fef77d4c | refs/heads/master | 2021-01-18T15:14:47.450345 | 2015-04-25T21:49:55 | 2015-04-25T21:49:55 | 34,489,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,451 | r | run_analysis.R | ####################################################################################################
## Get Data
####################################################################################################
## Download files (Using wget method for Linux OS)
projUrl <- "https://d396qusza40orc.cloudfront.net/getda... |
99de9dc45d6cc75a7a8b890bbe4e96602951386b | 04c91c0754a70d50c8e82dcd1378ecc77ee5b1f7 | /positive_test.R | 4feaf66faac9913d1478bdd3eba569358d77498a | [] | no_license | jbsalomond/BaDEst-Test | d28878b1b9f506286f20475457a02a75f10a6f73 | abe6760c5ddb82c3b4637fe66fc162f52fac7ea8 | refs/heads/master | 2021-03-24T13:32:53.946583 | 2017-07-06T11:38:07 | 2017-07-06T11:38:07 | 78,019,719 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,147 | r | positive_test.R | library(dplyr)
library(MASS)
library(invgamma)
library(pbapply)
library(parallel)
cl = cl <- makeCluster(10)
clusterExport(cl, ls())
clusterEvalQ(cl, library(MASS))
clusterEvalQ(cl, library(dplyr))
clusterEvalQ(cl, library(invgamma))
clusterEvalQ(cl, library(pbapply))
# Function H
H = function(omega){
(- min(omega))
... |
765754535c42758b0d89335ea2c43bfda287c85b | 80013fca745bae4e41b2d185e82ffa3e602baab2 | /SGP_CONFIG/configToSGPNormGroup.R | bf160ae0c5bdf89250141301067e10219aa10f6e | [] | no_license | CenterForAssessment/Washington | cc581196abf1aa292a987e5302d7c650a7941f60 | 38057ecb2f9ce15626984d7e528f86c92e437e46 | refs/heads/master | 2023-08-16T18:28:01.700164 | 2023-08-10T19:22:46 | 2023-08-10T19:22:46 | 5,937,904 | 1 | 0 | null | 2014-08-13T10:44:18 | 2012-09-24T17:15:35 | R | UTF-8 | R | false | false | 3,539 | r | configToSGPNormGroup.R | ###################################################################################################
###
### Script to convert SGP configurations for EOCT analyses to SGP_NORM_GROUP preference tables
###
###################################################################################################
### Load package... |
3b3caf8386ba4fe774b8ea4f230b86b19f77e9cb | f095bf142246d6d1785e419333aa6b06453b92e8 | /Get & Clean Data/week4.R | 09fe40b73ea47fc8c2e604e07e1a47af60403da3 | [] | no_license | mornkey/datasciencecoursera | 82f0fc087b7d441240e04e649332d18b1f46674a | 6951a03bafca8dad2b77aceb294936e38d84d572 | refs/heads/master | 2020-05-27T06:28:49.788246 | 2019-08-07T08:28:34 | 2019-08-07T08:28:34 | 188,522,360 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,817 | r | week4.R | # fixing character variables
URL <- 'https://data.baltimorecity.gov/api/views/dz54-2aru/rows.csv?accessType=DOWNLOAD'
download.file(URL,destfile = './camera.csv',method = 'curl')
data <- read.csv('camera.csv')
names(data)
tolower(names(data)) # convert characters to lowercases
toupper(names(data))# convert characters... |
b5ef122606879f8d2a82cf7f1585beb3d0f758af | 4755427593f4e0f5a162640d6de1041110e63763 | /cursus/data/matrix.R | 5885404eb0c286c7a45517bdc03bce211be0f10b | [] | no_license | HoGentTIN/onderzoekstechnieken-cursus | 5e642d984ab422f1d001984463f0e693f89e9637 | bd7e61aa8d2a0a4525de82774568954c76dd33ae | refs/heads/master | 2022-06-28T05:09:34.694920 | 2022-06-21T13:35:59 | 2022-06-21T13:35:59 | 80,239,413 | 21 | 59 | null | 2020-05-25T06:56:06 | 2017-01-27T19:35:24 | HTML | UTF-8 | R | false | false | 485 | r | matrix.R | > A = matrix(
+ c(2, 4, 3, 1, 5, 7), # the data elementen
+ nrow=2, # aantal rijen
+ ncol=3, # aantal kolommen
+ byrow = TRUE) # vul de matrix aan per rij
> A # print de matrix
[,1] [,2] [,3]
[1,] 2 4 3
[2,] 1 5 7
> A[2, 3] # el... |
7846b63dc7d37468734c5ffc4816be4b5390d56b | 86772a78af6ca3567ed333c9a4cd68c5af73848d | /examples/Digits recognition 10 logistics/all_digits_new.r | 861e1a4747a4f54969902f4cf8f28a0024f4a9ab | [] | no_license | aliaksah/EMJMCMC2016 | 077170db8ca4a21fbf158d182f551b3814c6c702 | 3954d55fc45296297ee561e0f97f85eb5048c39e | refs/heads/master | 2023-07-19T16:52:43.772170 | 2023-07-15T16:05:37 | 2023-07-15T16:05:37 | 53,848,643 | 17 | 5 | null | 2021-11-25T14:53:35 | 2016-03-14T10:51:06 | R | UTF-8 | R | false | false | 6,754 | r | all_digits_new.r |
source("https://raw.githubusercontent.com/aliaksah/EMJMCMC2016/master/R/the_mode_jumping_package4.r")
estimate.glm.cpen.slow <- function(formula, data, family, logn,r = 0.1,relat =c("gone","gthird","sigmoid","tanh","atan","erf","gfifth","grelu"))
{
capture.output({out <- glm(family = family,formula = formula,... |
d56b528e942421dfcc2c52783a1a374a9f03702e | 1b840fb7602d2bb94adb38f0500a85fd9027bc89 | /Excluded_from_manuscript/Scripts/RR_cv_by_tree.R | 37cb44bd9cd4252aff47d6e3662ca9851223deb3 | [
"MIT"
] | permissive | sgraham9319/TreeGrowth | d23be1521050082015c44db227060e953ee1adec | 703fb7fc70536ba9b0549100bb14d713dcedea2b | refs/heads/main | 2023-04-12T13:31:24.377864 | 2022-02-12T16:32:05 | 2022-02-12T16:32:05 | 353,162,167 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,907 | r | RR_cv_by_tree.R | library(dplyr)
# Define required functions
z_trans <- function(x){(x - mean(x)) / sd(x)}
coef_det <- function(x){
1 - (sum((x$observations - x$predictions)^2) /
sum((x$observations - mean(x$observations))^2))
}
# Define focal species
focal_sps <- "ABAM"
# Load training data
train <- read.csv(paste("Data/... |
c3c01896378fefc936357905e40702dcfb803dee | 71a1c5fc44d44efde09b576b0a8709694619b609 | /man/state_opinion.Rd | ba0f6c6c27be84196c01becc82c47300af3f4f46 | [] | no_license | cwarshaw/dgirt | d3cb7650636cc077125c1897f27c8b07b7776002 | 0c2b334490b998ba3cf6bf06219e96124a39b34c | refs/heads/master | 2021-01-18T18:44:38.609943 | 2016-03-18T16:42:36 | 2016-03-18T16:42:36 | 54,498,307 | 0 | 0 | null | 2016-03-22T18:14:15 | 2016-03-22T18:14:14 | null | UTF-8 | R | false | true | 529 | rd | state_opinion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-state_opinion.r
\docType{data}
\name{state_opinion}
\alias{state_opinion}
\title{State-level policy item responses}
\format{A `dplyr` `tbl_df` with 295,248 rows and 33 columns.}
\usage{
state_opinion
}
\description{
A dataset of survey i... |
6e22697f510e6b14950d551896942e1f7d1ed87c | 5021ebeb63a466032093215e7f7f098c5f49344a | /plot1.R | 21bbe57ca5fc0fcdce555a73897f87e2ffee3a19 | [] | no_license | abolick/ExData_Plotting1 | ec41592ccfc04a44432d4ff21d4e6a1dd62a9538 | 8b817cd017158a6796b195c176b6b6b9ccd6d2a9 | refs/heads/master | 2021-01-24T23:51:44.484929 | 2015-01-12T00:04:20 | 2015-01-12T00:04:20 | 29,080,835 | 0 | 0 | null | 2015-01-11T04:05:10 | 2015-01-11T04:05:09 | null | UTF-8 | R | false | false | 578 | r | plot1.R | data <- read.table(file = "household_power_consumption.txt",
sep = ";",
skip = 66637,
nrows = 2880,
na.strings= "?")
a <- colnames(read.table("household_power_consumption.txt", sep = ";",nrow = 1,
header ... |
7ed5dee5bb09f1fb45f6b9ec05e5f14d8485a13b | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /ProFound/man/profoundSegimGroup.Rd | ef3702e0adbf54f0fd0510adb5c13f4b4175429f | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,094 | rd | profoundSegimGroup.Rd | \name{profoundSegimGroup}
\alias{profoundSegimGroup}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Create Segmentation Groups
}
\description{
Given an input segmentation map, returns a map of groups of touching segments as well as the IDs of segments within each group.
}
\usage{
profoundSegimGr... |
3206bcb3d8f46c110a763816be879ae81197e80a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RPPanalyzer/examples/select.sample.group.Rd.R | 3b9b4844eed7142abe9096cab2b3e4a57f470454 | [] | 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 | 289 | r | select.sample.group.Rd.R | library(RPPanalyzer)
### Name: select.sample.group
### Title: Selects samples from RPPA data
### Aliases: select.sample.group
### Keywords: manip
### ** Examples
library(RPPanalyzer)
data(dataII)
selectedData <- select.sample.group(dataII,params=list("stimulation"=c("A","B")))
|
5fd06a106dc59ecea4804092bbcad1b74283d77c | 0273c7facf88bc6c4320f368063d9545b1523f8a | /src/lemma_ngrams.R | 1e1224bba47fbcfc2a8d94ca789611daab4a0003 | [] | no_license | mnbram/boardgameanalysis | a5f7d169e813c2481165909497dbf24ba3025186 | 292a0b4da4bd8246636239ebc44022b736b57df5 | refs/heads/master | 2021-01-16T18:10:48.364226 | 2017-08-11T16:10:40 | 2017-08-11T16:10:40 | 100,047,861 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,205 | r | lemma_ngrams.R | library(tidyverse)
library(tidytext)
library(stringr)
library(glmnet)
library(doParallel)
setwd("~/bgg/kickstarter")
lemma_files <- list.files("data/lemmas", full.names = TRUE)
texts <- lapply(lemma_files, readLines)
text_lengths <- map_int(texts, length)
kids <- map_int(lemma_files, function(x)
as.integer(str_m... |
7868deaf2b701ffd634651d6e0fdea21e6c3fe0a | 6dbd098f38a9dc01a837a65a4ce633282c59c108 | /scripts/mtbls520_18_phylogeny.r | cd3e669ef0b1ad9b2850ad5e0438e9d7b17b0fc2 | [
"Apache-2.0"
] | permissive | korseby/container-mtbls520 | 82b656267c2fdfc6beffe8c312395bc304945e25 | 04b55283e3698a82111fa4531198915e556ba2a4 | refs/heads/master | 2021-06-17T06:00:45.219498 | 2019-08-09T06:06:58 | 2019-08-09T06:06:58 | 107,677,250 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,154 | r | mtbls520_18_phylogeny.r | #!/usr/bin/env Rscript
# ---------- Load R environment ----------
# Setup R error handling to go to stderr
options(show.error.messages=F, error=function() { cat(geterrmessage(), file=stderr()); q("no",1,F) } )
# Set proper locale
loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8")
loc <- Sys.setlocale(category="LC_ALL... |
6c6d9b21114f1cc4d6445d296450f5e6b788ae7e | a614846a4bfbb4432aaff0aca0105682e95e9167 | /R/supplements/preprocess-Senkler2018.R | 039af5a6dc7162be9ef9859ea8cd75af27abc3ea | [] | no_license | skinnider/CF-MS-searches | 58044f1363186b43878b2971927e6da738b63663 | 0851000f90e0324f9363b50ed779af5a68a16e76 | refs/heads/master | 2023-04-09T09:35:33.057903 | 2020-10-10T21:35:41 | 2020-10-10T21:35:41 | 302,994,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 711 | r | preprocess-Senkler2018.R | # Preprocess data originally reported in the supporting materials of
# Senkler et al., Curr Biol 2018.
setwd("~/git/CF-MS-searches")
options(stringsAsFactors = F)
library(tidyverse)
library(magrittr)
library(readxl)
# read file
dat = read.delim(
"data/supplements/Senkler2018/proteinGroups_results.txt.gz") %>%
fi... |
98f568cd69893a6da8a4653d35547413dcd4d4a0 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed_and_cleaned/11551_0/rinput.R | f96591cce4ca3898c88e62290dfb378807eacc78 | [] | 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("11551_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="11551_0_unrooted.txt") |
db66ed94c7c2c06dad6d215c70e4d96b50e89c05 | df7b3a1eb6f65ac3e576f8b49ad385cb0303f2b0 | /R/cbat.R | 5838e3489b7d5a6769bc75895213a5424d4f4245 | [
"MIT"
] | permissive | ykunisato/senshuRmd | 0f974443ae343fc8f963e718f1d3b1102dbd3ae5 | 2f60fda7269985917f7d3e0dacb47a8666eb4590 | refs/heads/master | 2022-04-01T17:43:42.117858 | 2022-03-15T03:54:14 | 2022-03-15T03:54:14 | 217,082,796 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 14,669 | r | cbat.R | #' @title Set template files for CBAT
#' @importFrom utils download.file
#' @importFrom utils unzip
#' @param task_name name of task
#' @param jsPsych_version If you set a specific version number of jsPsych,
#' set_jsPsych prepare a file with that version of jsPsych.
#' @param use_rc If you don"t use the... |
17b8ae0afd75db9df279b75b2b82291b1eeae8e3 | 98c40fe72bfe9caafc3db5ca0a2c0944cad33988 | /man/cutoff.Rd | 6e26c2776cef2da629ff32393dd68ee41bd636d1 | [] | no_license | datawookie/emayili | c91d38dc5bf0fc38cff45260dc0ba99bce7e754f | cb0f2f7e6c8738a30ddd88834abd88b63585244c | refs/heads/master | 2023-09-01T00:02:36.105432 | 2023-08-30T10:49:01 | 2023-08-30T10:49:01 | 187,310,940 | 158 | 41 | null | 2023-08-03T06:52:34 | 2019-05-18T03:45:55 | R | UTF-8 | R | false | true | 834 | rd | cutoff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/header-expires.R
\name{cutoff}
\alias{cutoff}
\alias{expires}
\alias{replyby}
\title{Set or query message expiry or reply-by time}
\usage{
expires(msg, datetime = NULL, tz = "")
replyby(msg, datetime = NULL, tz = "")
}
\arguments{
\item{msg}... |
ab6eec1483b40483671588d84da8f92ed94bfdaa | 9cc1af02c31ab3bdccd3822767121b56e6da4e68 | /index_hoping_functions.R | d30e9cd276fe474f93ce95ea5ba603ccf2a294cd | [] | no_license | yy930/test | 4e4146c889142909a9de0f1c218c36600a7e3e92 | 8558ee7544446e81cbaadc76c61bcee40ad89d64 | refs/heads/master | 2020-05-23T06:36:06.265372 | 2017-09-13T12:51:22 | 2017-09-13T12:51:22 | 56,673,274 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,501 | r | index_hoping_functions.R | #heatmap for plate 1
visheatmap1<-function(.data, .title = "Number of shared clonotypes", .labs = c("Sample", "Sample"),
.legend = "Shared clonotypes", .na.value = NA, .text = T, .scientific = FALSE,
.signif.digits = 4, .size.text = 4, .no.legend = F, .no.labs = F)
{
if (has... |
65c8fa5f386413800dcae68bdc4df37ff4eedcbf | f3fbe9e4f49764e088531485f14c8f0962569420 | /R-code/do_crisscross_hanning_50_wosa.R | 9f2ba5096cc91b91f053a45436b9013d65652d84 | [] | no_license | dmn001/sauts | d3a678091a081679561db2ada077a7dc9630847d | 2797e0ab943fb02ebea82df32bd1cc2748c54dcc | refs/heads/master | 2023-04-30T12:13:14.502267 | 2021-05-22T16:11:15 | 2021-05-22T16:11:15 | 369,851,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 386 | r | do_crisscross_hanning_50_wosa.R | ### generate crisscross for WOSA with Hanning data taper and 50% overlap
do_crisscross_hanning_50_wosa <- function(the_taper,N_B,n_or_block_starts,delta_t=1)
{
edof <- 36*N_B^2/(19*N_B-1)
return(list(up = 10*log10(edof/qchisq(0.025,edof)),
down = -10*log10(edof/qchisq(0.975,edof)),
... |
00f5e526179ed11de4ee6b7e06d9cc8ddb0432bd | 1f19663b2f7daf18abda91a926fd8e08cb83dc8d | /R/createConnection.R | e83cb0c77622eced30e84993faf865d405e2230f | [] | no_license | horlar1/R.Deploymodel | 335dbaffb3a06382ceb3223cfc2ac84ca94955cd | 01c4bdb670580f36e4eeb1625c9ef926f7be149f | refs/heads/master | 2020-12-05T13:19:54.807811 | 2020-01-07T12:14:32 | 2020-01-07T12:14:32 | 232,123,601 | 2 | 0 | null | 2020-01-07T12:14:33 | 2020-01-06T14:56:57 | R | UTF-8 | R | false | false | 1,046 | r | createConnection.R | #' Create a connection to the server
#' @param server server name for authentication (charcter string)
#' @param database database name
#' @param username username for authentication
#' @param password for authenitication (if required)
#' @export
#' @importFrom RODBC odbcDriverConnect
#' @seealso \code{\link[RODBC]{odb... |
c732858b6414c90f00b0a0d35a9f3659028f4609 | 1c4caaa37a9aaeac8c0fa73a417503d6ed05ef53 | /inst/scripts/fig2a.R | 7a1cd60a5d008c4db093699d8218f3c9fe0e9a03 | [] | no_license | metamaden/recountmethylation_manuscript_supplement | 08996bf66fa0ad920b35107105d27b94663fb275 | 4a254783b8933411a80032e33549ae94c1544ad6 | refs/heads/master | 2020-12-27T09:22:39.405834 | 2020-10-09T06:27:08 | 2020-10-09T06:27:08 | 237,849,928 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,656 | r | fig2a.R | #!/usr/bin/env R
# Make figure 2A, BeadArray controls stacked barplot
# of sample performance outcomes.
library(ggplot2)
library(ggforce)
library(data.table)
library(recountmethylationManuscriptSupplement)
pkgname <- "recountmethylationManuscriptSupplement"
tables.dir <- system.file("extdata", "tables", package = pk... |
9fc80399c7534fd73f76b00ab61f1c964470c154 | 3ea675eb05c11dd66e095eb4713308616e0036ed | /cachematrix.R | 1ba52409b7b2df3e44e648314daca015de6a1c06 | [] | no_license | Khizermark/ProgrammingAssignment2 | a8a7c4d63f6c205319f22e05d0e0e3df47125097 | 3b033a9f148593a80d5db81e3a63e99ba2e59e3e | refs/heads/master | 2021-01-15T22:28:23.136012 | 2015-02-22T20:14:42 | 2015-02-22T20:14:42 | 31,175,968 | 0 | 0 | null | 2015-02-22T19:20:12 | 2015-02-22T19:20:10 | null | UTF-8 | R | false | false | 1,833 | r | cachematrix.R | #######################################################################
############ Describing Each Steps as it goes!!########################
#######################################################################
makeCacheMatrix <- function(x = matrix()) {
inverse <- matrix() ## Creating v... |
7c6c2abd44dea43bd28158f83ec8414079101386 | 0b5d4f07fb7c6c1b574503877389f1ca4949a23d | /tests/testthat/test_aresimcn.R | 29c143b519bd38850463cab74a58248f0ae7afde | [] | no_license | joemckean/mathstat | 0673c5f97064b8f4ac77d21ce3f10062e98b91f6 | 5e008df47b5549730c5e219b62c2cec55ecf3c3f | refs/heads/master | 2020-04-08T14:34:52.117179 | 2019-04-22T17:58:40 | 2019-04-22T17:58:40 | 159,443,068 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,978 | r | test_aresimcn.R | # Test for aresimcn function Returns: An error message if any
# tests fail
context("aresimcn")
test_that("edge cases", {
expect_error(aresimcn(Inf), "argument 1 cannot include an Inf or -Inf")
expect_error(aresimcn(n = -1), "argument 1 must be positive")
expect_error(aresimcn(n = 50, nsims = Inf), "argument 2 c... |
1cc26a66aef7c2154365e53da1b841f98640b355 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spdep/examples/autocov_dist.Rd.R | 0de782b567262c5042512492b31b51082d8d3f52 | [] | 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,477 | r | autocov_dist.Rd.R | library(spdep)
### Name: autocov_dist
### Title: Distance-weighted autocovariate
### Aliases: autocov_dist
### Keywords: spatial
### ** Examples
if (require(rgdal, quietly=TRUE)) {
example(columbus, package="spData")
xy <- cbind(columbus$X, columbus$Y)
ac1a <- autocov_dist(columbus$CRIME, xy, nbs=10, style="B",
ty... |
a439023752a853ca1363c26525a8fe02feec7727 | 13ce5625673daf9a82cda276f5a1bee58ba1dcd1 | /man/reduce_space.Rd | 2cc33a880cdf5de2cbb7abf2a025d83e55b57571 | [
"Apache-2.0"
] | permissive | edzer/gdalcubes_R | afe19d9e97f695e7838fb6ab4719fc50f2a04d34 | ed4b705a095eb23fb47017e339b8fb0e0a7a9ec9 | refs/heads/master | 2020-04-16T04:26:03.878484 | 2019-01-10T15:36:47 | 2019-01-10T15:36:47 | 165,266,870 | 0 | 1 | null | 2019-01-11T15:37:54 | 2019-01-11T15:37:54 | null | UTF-8 | R | false | true | 1,178 | rd | reduce_space.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/streaming.R
\name{reduce_space}
\alias{reduce_space}
\title{Apply a function over space and bands in a four-dimensional (band, time, y, x) array}
\usage{
reduce_space(x, FUN, ...)
}
\arguments{
\item{x}{four-dimensional input bands with dimen... |
7b494e17cbb7fb8117e9c69635edce784a19872e | 41f4fdf3a3bedacc3b5905169dbf5af1e4fc44b6 | /6205_nsamplemean.R | 885fa399ff8ab9b435e1dd0f6d84a7d42ae2dec0 | [] | no_license | henrylankin/stat6205 | a62867099ca8731a01c31b2f28190bbc7a22c1d7 | c846a4f25c74e255a9277102195c2c2598a6b9d8 | refs/heads/master | 2021-01-23T05:15:14.237114 | 2017-03-27T04:47:22 | 2017-03-27T04:47:22 | 86,292,289 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 410 | r | 6205_nsamplemean.R | # 6205 normal sample mean distribution plot
mu <- 50
sigma <- 6
x <- seq(mu-3*sigma, mu+3*sigma, by=1)
plot(x, dnorm(x,50,6), type = 'l', lty = 'dotted', col = 'red', ylim = c(0,0.5), ylab = 'density')
x1 <- seq(50-6, 50+6, by=0.1)
lines(x1, dnorm(x1, 50, 6/3), type = 'l', lty = 'dashed', col = 'blue')
x2 <- seq(50-3,... |
3ead8fa5b4bd1058f8fb5c5207a71f8e69086f22 | 1b850eb94c23ee80867279b7ce834e6e9502acc2 | /Aries_Web/public/recommend/zxz/diazo/js-built/interaction/cbtview-build2013031.js | 4254a6ff54998a6cc648c0aeb33ab6f9dda471d0 | [] | no_license | zoeyYan/pro1 | b64dc8b655224d7f5f450ea63541016c929097c9 | 4fe3571cba6e1143d0ad11297b52e8b3b1dc6d81 | refs/heads/master | 2021-01-10T01:51:23.920569 | 2016-01-18T02:46:53 | 2016-01-18T02:46:53 | 49,711,000 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 624,901 | js | cbtview-build2013031.js | /*! jQuery v@1.8.1 jquery.com | jquery.org/license */
/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/
/*!
* reveal.js
* http://lab.hakim.se/reveal-js
* MIT licensed
*
* Copyright (C) 2013 Hakim El Hattab, http://hakim.se
*/
/**
* Bootstrap.js by @fat & @mdo
* plugins: bootstr... |
5b22d5cff0b3fd262a81b1d81eb823523e212557 | 646dea688d45b8478fa63674f0d9e4b29884d4a2 | /Data/EXO/EDGER/edgeR analysis of data.r | a30f4ddf11cf65786107e41e1b8816cc200c15f6 | [] | no_license | HarleyRobinson/Honours2 | ec95c23a78cc280fc32d5462bbb25a8d0a0340d3 | 0a75eeb0a872d2b83c08d2cd1e5ac0c87c61400f | refs/heads/master | 2021-03-27T13:10:31.244358 | 2016-11-14T06:37:14 | 2016-11-14T06:37:14 | 50,013,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,648 | r | edgeR analysis of data.r | # Data input
# load the edgeR library
library(edgeR)
library(lumi)
# read in the raw data
rawdata <- read.delim("miRNA_raw_counts_CORRECT_NAMES.txt")
# create a DGEList object. In this case, raw data is in columns 2 to 55, and unique identifiers are in 1 (miRNA name)
y <- DGEList(counts=Cav1PN4[,1:6], genes=rownames(ra... |
1c6cf7d9a3b408e39b679b89fb5648dcc45190da | 76ecf1a0cd569defadd07a07b60df6f5d5ab9d8e | /inst/doc/ReDaMoR.R | 27339b84497acbff2a3660ca843ec4169aa9d755 | [] | no_license | cran/ReDaMoR | 3f12268a6dd9b8f8daf7d0f448e7b809b6748553 | abc8c94f1d1cece130907c1bb0517ba3466baf13 | refs/heads/master | 2023-07-23T18:12:18.564979 | 2023-07-05T23:14:14 | 2023-07-05T23:14:14 | 251,642,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,010 | r | ReDaMoR.R | ## ----setup, include = FALSE---------------------------------------------------
library(knitr)
library(ReDaMoR)
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
cranRef <- function(x){
sprintf(
"[%s](https://CRAN.R-project.org/package=%s): %s",
x, x, packageDescription(x)$Title
)
}
## ---- eva... |
d2826198d1f1b7251f78dec83265cacf4942acf7 | 44a919553acf39c6979767bb42f6b70fe5ecba83 | /Perez_et_al_2022/3_optimization-criteria-LST.R | 461a976a0a922b7391453760d29f48ee8bfac8dc | [
"MIT"
] | permissive | farkkilab/pubs | cb92d67132925cbebbf9b79744ed9a0c5020ccd7 | 0e76ee49aaba6583334ba3657366507673e638e9 | refs/heads/master | 2022-11-17T22:10:09.355688 | 2022-11-15T14:44:40 | 2022-11-15T14:44:40 | 234,320,206 | 6 | 3 | null | null | null | null | UTF-8 | R | false | false | 16,901 | r | 3_optimization-criteria-LST.R | library(ggplot2)
library(rpart)
library(rpart.utils)
library(rpart.plot)
library(ggpubr)
#Importing other function inside the repository
extra.functions <- list.files("R/", full.names = TRUE)
sapply(extra.functions, source)
load("sysdata.rda")
####### Defining variables ###########
outputfolder = "/... |
12884727235ae90697bead1a556bda8d0f06dcf1 | 19db2fd88fa5278e7427807b177de0513ddbb6a3 | /R.functions/alltimerecord.R | 385d1e2eb891e9f471d45c842cbaa6058abfc1a0 | [] | no_license | dmrust/engsoccerdata | 86e6b57cc1050d42677c73cc3b8ff2cf32771241 | 1fd9e37c6637d2180837ab4460c5f4ba7547f47b | refs/heads/master | 2021-01-16T22:13:08.762163 | 2014-10-10T23:43:53 | 2014-10-10T23:43:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 900 | r | alltimerecord.R | ### Function to List the all-time records of a team
alltimerecord<-function (df, teamname) {
library(dplyr)
library(tidyr)
hrec<-df %>%
filter(home==teamname) %>%
summarise(P = n(), W=sum(result=="H"), D=sum(result=="D"), L=sum(result=="A"),
GF = sum(hgoal), GA = sum(vgoal), GD=sum(g... |
e3fdd4b45b9a0c8375ae07dc96d24ae6d67859b2 | b59cc783d2da2f32737432c1b13cf72c5802f067 | /man/Oral.Rd | c389daba49bc956841522c48d8b4dcca8d7fc6fd | [] | no_license | jdsimkin04/shinyinla | 9a16007b375975a3f96b6ca29a1284aa6cafb180 | e58da27a2a090557058b2a5ee63717b116216bf7 | refs/heads/master | 2023-06-05T08:34:34.423593 | 2021-06-24T00:27:04 | 2021-06-24T00:27:04 | 330,322,338 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 554 | rd | Oral.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/INLA-package.R
\docType{data}
\name{Oral}
\alias{Oral}
\title{~~ data name/kind ... ~~}
\format{
A data frame with 544 observations on the following 3 variables.
\describe{ \item{region}{a numeric vector} \item{E}{a
numeric vector} \item{Y}{a... |
087c3b7cae149070d6457bd58f3cc04f0bb2c76a | 9f8d324923a02ceda5637d5b6b230eb2c661e820 | /man/createVarSyntax.Rd | 1422d5c2bf6d761bb361881e6569971c62d0aeb0 | [] | no_license | wang-ze/MplusAutomation | bff30512541b3ff3fddb50044c2f2d3f7666f47e | 46e329d2ce403c88e0177906543d950947ca1ff1 | refs/heads/master | 2020-04-02T10:35:44.741395 | 2018-10-01T16:53:37 | 2018-10-01T16:53:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 608 | rd | createVarSyntax.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createModels.R
\name{createVarSyntax}
\alias{createVarSyntax}
\title{Create Mplus syntax for variable names}
\usage{
createVarSyntax(data)
}
\arguments{
\item{data}{An \code{R} dataset.}
}
\value{
A character vector of the variabl... |
83d6f6cb6c0738e8d1cd34c1e98ed3d25636d71d | 5bacfd2bd5fad918a06fbe5334a8447e855495d0 | /model/prep-data.R | 92255635b0bf90bbe828974785b47f34d7ea2a74 | [] | no_license | CoryMcCartan/us-house-18 | 6464ec20d3ff767b3f9ba9f50cc3c2fbb014b3de | 68ec2376e9b2001c51e8085e985618774fdd3c79 | refs/heads/master | 2022-04-14T07:57:50.165690 | 2020-03-11T02:06:50 | 2020-03-11T02:06:50 | 113,709,747 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,307 | r | prep-data.R | # DATA PREPARATION
library(Hmisc)
library(pollstR)
library(tidyverse)
library(lubridate)
election.day = as.Date("2018-11-06")
# Past Presidential approval
president = read.csv("data/past_pres_approval_raw.csv", sep="\t") %>%
transmute(approval=Approving / 100,
date=mdy(End.Date),
pre... |
6e30af7bce154626d05a91492075294a7baea557 | 778cb2c2de4a80efa6e7ca006961759bbd12a028 | /zone_detailed.R | 7b0345454b6951bfa67fa19318785fa2c9311122 | [] | no_license | victor-gallet/kaggle-kobe | 6fb73ff522d75d5ed0e047cdea782e853721ed8c | 0de2be4e2d058e1a1f5baaa252ce221c895f81b5 | refs/heads/master | 2016-09-12T09:14:10.304519 | 2016-06-02T19:09:51 | 2016-06-02T19:09:51 | 58,809,155 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,284 | r | zone_detailed.R | library(ggplot2)
library(dplyr)
library('png')
shots = read.csv("data/data.csv", stringsAsFactors = T)
train = shots[!is.na(shots$shot_made_flag),]
test = shots[is.na(shots$shot_made_flag),]
courtplot <- function(feat) {
feat <- substitute(feat)
train %>%
ggplot(aes(x = loc_x, y = loc_y)) +
geom_point(a... |
e2a71063b9ff7232d19a769d7b1a9dbacc7b3f01 | 66103bd7268a8f6bb811141c759f58515e962428 | /src/interface_r/R/reexports.R | a3724247f389a271607eba8ba26816a4ad21dcd8 | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | pnijhara/h2o4gpu | 38a6f17cfd61f712bb709de187127a67ee36e106 | 6257112c134136471420b68241f57190a445b67d | refs/heads/master | 2022-07-03T03:08:53.108604 | 2020-04-29T16:44:46 | 2020-04-29T16:44:46 | 260,985,697 | 0 | 0 | Apache-2.0 | 2020-05-04T12:23:05 | 2020-05-03T17:38:46 | null | UTF-8 | R | false | false | 138 | r | reexports.R | #' @export
magrittr::`%>%`
#' @export
reticulate::use_condaenv
#' @export
reticulate::use_python
#' @export
reticulate::use_virtualenv
|
63a122dda0f343fc84dc42c024a59c5fbbdb207e | 6464efbccd76256c3fb97fa4e50efb5d480b7c8c | /paws/man/codecommit_get_pull_request.Rd | ddb380bdf8e9a5d221e66e79fddf57527580456f | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | johnnytommy/paws | 019b410ad8d4218199eb7349eb1844864bd45119 | a371a5f2207b534cf60735e693c809bd33ce3ccf | refs/heads/master | 2020-09-14T23:09:23.848860 | 2020-04-06T21:49:17 | 2020-04-06T21:49:17 | 223,286,996 | 1 | 0 | NOASSERTION | 2019-11-22T00:29:10 | 2019-11-21T23:56:19 | null | UTF-8 | R | false | true | 624 | rd | codecommit_get_pull_request.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/codecommit_operations.R
\name{codecommit_get_pull_request}
\alias{codecommit_get_pull_request}
\title{Gets information about a pull request in a specified repository}
\usage{
codecommit_get_pull_request(pullRequestId)
}
\arguments{
\item{pull... |
b9afee20218629fef1510e9541a4a76fe39cdd1d | 17fd4de354250e4f9b5d4b00bd04bf21971c7425 | /data_analysis.R | bee6eeee8b3069a15328beb46794bd7df1e7715e | [
"MIT"
] | permissive | martinfriedrichsmanthey/Red_List_Fish_Data | 14dd752d5902e4179a6f075f07572f51af5f92ca | 151cde81dbdbf74d49060e2d984ff5de4d87258d | refs/heads/main | 2023-07-18T14:05:55.184607 | 2021-08-31T13:19:06 | 2021-08-31T13:19:06 | 377,147,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,613 | r | data_analysis.R | #### fish population trends for Red List in Germany
##### initial settings ####
### path to data
dat_dir<-"C:/Users/zf53moho/Documents/NFDI4BioDiv/Data/Fish Data/Fischdaten_Datenbank/Red_List_Fish_Data/clean_data/"
save_dir<-"C:/Users/zf53moho/Documents/NFDI4BioDiv/Data/Fish Data/Fischdaten_Datenbank/Red_List_Fish_Data... |
198ff94b3d6080b9d974250e8cff66c811fe6821 | 364f92a555ab90d567c425de039cb3f050956842 | /Downstream_processing/Culex_DESeq.R | 881de927cd183a2e3ef0a399d13c632e7afbded3 | [] | no_license | mcadamme/Culex_RNAseq_Chemosensory | 57c79388f6be70579faf329c5eaeddf15e04285d | a9d379a309ddf4b7e37b22e184656fd4de4cfbd7 | refs/heads/master | 2021-04-26T23:16:28.358939 | 2021-03-02T15:08:42 | 2021-03-02T15:08:42 | 123,960,205 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 26,439 | r | Culex_DESeq.R | #script to run DESeq2
#10/20/2020 MF
##Install DESeq2
#if (!requireNamespace("BiocManager", quietly = TRUE))
#install.packages("BiocManager")
#BiocManager::install("DESeq2")
#BiocManager::install('EnhancedVolcano')
#Load Libraries
library(DESeq2); library(pheatmap); library(ashr); library(EnhancedVolcano); library... |
d2f9dbce06db49fb92872cf48dd598fad1a430f8 | 0a4dc06265e93a689dd43d0341395bb170957122 | /R/vis_hom_time_series.R | 1e835037d9e84073a8a6308202607778c7b5da22 | [] | no_license | MariekeDirk/Dimming-Brightening | 119f4feb9bda39079ad335de978370e2179c7367 | 2dd010c021cacda225f99fbcbaf3de5123306ca7 | refs/heads/master | 2020-09-13T22:09:42.833154 | 2020-03-16T08:57:48 | 2020-03-16T08:57:48 | 222,917,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,673 | r | vis_hom_time_series.R | #'Visualize homogenized time series from Climatol
#'@description plots the homogenized time series with the interactive plotly library.
#'@param id staid of the station
#'@param brks break points from climatol
#'@param h_series homogenized time series
#'@param o_series original series from ECAD
#'@export
plot_hom_serie... |
5887490e37583fc176dff5688731393595d12dc7 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/gasper/man/laplacian_mat.Rd | db1d8191194d8ed7105ef90736d3fd741d987780 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 318 | rd | laplacian_mat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/laplacian_mat.R
\name{laplacian_mat}
\alias{laplacian_mat}
\title{Laplacian matrix.}
\usage{
laplacian_mat(W)
}
\arguments{
\item{W}{Adjacency matrix.}
}
\description{
Compute the (unormalized) laplacian matrix from the adjacency matrix.
}
|
38d812b4586dd42d6fbcdc51646ec4628062cdfe | 0f0246cb0dc295f6bb01b70ff4a0182f08e82922 | /R/FitIndices.R | 31b2c7cf752c497293a95331f11f316f9fe1c44a | [] | no_license | Kucharssim/LCAapp | 4c0ee6d7a14c4ce634ff2e91a359906e8e605aad | 69c5318c2f1c14f043a5d71c2f5ba035b98d84b5 | refs/heads/master | 2021-06-13T07:23:46.958035 | 2021-05-24T10:42:50 | 2021-05-24T10:42:50 | 91,227,492 | 3 | 2 | null | 2021-05-24T10:42:51 | 2017-05-14T07:36:09 | R | UTF-8 | R | false | false | 3,580 | r | FitIndices.R | nParamsDf <- function(k, tab.d){
# compute the number of estimated parameters
# and degrees of freedom
#
# Args:
# k: number of classes in the model
# tab.d: the dummy data
#
# Returns a vector of df and n of parameters
lev <- Levels(tab.d) # vector of levels
n.params <- (k-1) + k*sum(l... |
d39361f19fe6a1dde1aabd345aec07d8e1c74f22 | 2c1ab15c29ec9db51a129292a7d52e6a518f551d | /man/predict.ranktree.Rd | 8eb0b679006e4317cb621b735bba743fa4086c4f | [] | no_license | cran/ConsRankClass | cc65611f9a25f821d9233af298d032d80963038f | 33f18bd53c9446c0b020042ff957798c93d1c138 | refs/heads/master | 2023-08-14T16:56:42.821373 | 2021-09-28T09:10:02 | 2021-09-28T09:10:02 | 368,585,748 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,519 | rd | predict.ranktree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.ranktree.R
\name{predict.ranktree}
\alias{predict.ranktree}
\title{Predict the median rankings for new observations}
\usage{
\method{predict}{ranktree}(object, newx, ...)
}
\arguments{
\item{object}{An object of the class "ranktree"}
... |
bb21bd0079565daed475d071fa787f17aea179ef | 667cd59f9059f566b5c4ac2c76b1b8b6f09f50d5 | /ma415project2R.R | 6e0ead74f1bcfabe9a00c152fc28da827968a768 | [] | no_license | carlyrosewilling/MA415Proj2 | 99f1161bff22a223cd63948d78b95a3fe99eb8ca | 531bb5ed59378b587d365e7b18b0cc8f3c498c4b | refs/heads/master | 2021-05-07T13:56:07.343239 | 2020-12-21T23:25:48 | 2020-12-21T23:25:48 | 109,762,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,164 | r | ma415project2R.R | # Setting up some libraries we'll need
options(java.parameters = "- Xmx1024m")
library(tidyverse)
library(stringr)
library(lubridate)
library(xlsx)
library(gridExtra)
# For Cape May
# These sections of code will repeat for each location, so I'm only commenting once
# First we set up the urls of the buoy data tables... |
42826ad3b868f5dd246c2901e0264403c2917595 | 7b5f3f514a0d2f0be2af7fabce40a92fc66e11e3 | /plot1.r | fbc61de461c83daa479dcdd1d29d74c442db16b0 | [] | no_license | xianyang-wong/ExData_Plotting2 | 95c7d188e6d05f59614b464d8254dea63b50af29 | 07f9dae311fbdd19884ba85cd4ef85067eae9059 | refs/heads/master | 2021-01-19T00:13:08.150000 | 2015-04-23T13:47:00 | 2015-04-23T13:47:00 | 34,458,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 543 | r | plot1.r | # Loads data if non-existent
if (!"NEI" %in% ls()) {
NEI <- readRDS("summarySCC_PM25.rds")
}
if (!"SCC" %in% ls()) {
SCC <- readRDS("Source_Classification_Code.rds")
}
par("mar"=c(5.1, 4.5, 4.1, 2.1))
png(filename = "plot1.png",
width = 480, height = 480,
units = "px")
totalEmissions <- aggregate(NEI$Emi... |
0b11268846a576afa812d00a590feaa55579b7f9 | 0c6ff19387075346018f41f6e15b1e7e4759fbf9 | /word2vec_eval.R | ac18c7cde051f708e6b4a781c47bfa95fe777d9e | [] | no_license | Sandy-HE/Tag_analysis | 03db4829b6608b14ae5040da3dd43ec3e7f4d2de | 16a70d5832ed0096c842136351eae7f1b71778ce | refs/heads/master | 2021-03-31T16:13:25.470609 | 2020-06-12T04:57:18 | 2020-06-12T04:57:18 | 248,118,726 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,397 | r | word2vec_eval.R | #Date: 2020-05-18
#To compare glove performance with word2vec, meanwhile keep the same corpus.
#We use text2vec pruned_vocab to provide the input of word2vec
#read back the processing result of word2vec to do evaluation
#word2vec part run by "wvbyword2vec.py"
library("data.table")
#get pruned_vocab from tex... |
fa9f57b64ce1aa40a5bfcb691992432f8ddcc159 | f73a7a320623e36c620cdd028a335b237f51e660 | /man/GDPR_list.Rd | ee68fa3352ca62f183f54753f05658fd8a3dbfea | [
"CC-BY-4.0",
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jonocarroll/tidyGDPR | 5393e6e691dbc2a3e0b2867814e4a0744d537cef | 92f4029e110027561dcd7cc148a5fff60151541d | refs/heads/master | 2020-03-18T15:42:20.935164 | 2018-05-26T03:20:15 | 2018-05-26T03:20:15 | 134,924,332 | 12 | 0 | null | null | null | null | UTF-8 | R | false | true | 550 | rd | GDPR_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stored_data.R
\docType{data}
\name{GDPR_list}
\alias{GDPR_list}
\title{GDPR Regulations Recitals as a list}
\format{An object of class \code{list} of length 11.}
\source{
\url{http://openscience.adaptcentre.ie/projects/GDPRtEXT/} Made
availab... |
79dca4b0b90d7520e6559ada1e10b167f7a74b9e | c6230d85e6ee06dc26e63fc756ecfbf81f1cfe94 | /R/theme.R | f77a85cad90350188c73ec001b90076a30019ad7 | [
"Apache-2.0"
] | permissive | bcgov/cccharts | 48a3df6e09862326d08059978b92cc924f16cd2a | 474e1360e0470728797bc304595c556b05812694 | refs/heads/master | 2021-01-11T05:34:05.178166 | 2020-12-16T23:02:21 | 2020-12-16T23:02:21 | 69,051,799 | 10 | 4 | Apache-2.0 | 2020-04-15T00:37:10 | 2016-09-23T18:44:37 | R | UTF-8 | R | false | false | 2,269 | r | theme.R | # Copyright 2016 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... |
b5f06ca51f35828f37b1fc7744092c4a8d34eebf | 70d6e1ca3c30d64d88fff068628774cfbeb2f307 | /listenEnv.R | d7f8e485472b4ba602ad27ee687c50c05aba0d89 | [] | no_license | josousa82/Course-R-Introduction-W3 | 7db9ffd343646ec31e6fa2a8e18c6c7fc9d24c2d | b2f64a186f847e0912287486f13233f7d68048af | refs/heads/master | 2021-09-03T18:35:17.020997 | 2018-01-11T04:10:11 | 2018-01-11T04:10:11 | 115,117,724 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 144 | r | listenEnv.R | listEnv <- function (){
g <- globalenv()
while (environmentName(g) != 'R_EmptyEnv') {
g <- parent.env(g);
cat(str(g, give.attr = F))
}
} |
9da070a8ee1fb1705ee356ceb79cb2f55393b05b | fcf46fdb7479a9f3df87446a720ca301a72888d5 | /graphLASSO.R | c8b7e627cbef61c5144220b1778a7abafbd2a8f8 | [] | no_license | devcao/LOCOpath_repo | b080ac685f04f0f22f88c5667293e2e73a797045 | 2c6b0b5553e9298e6c30cf3bfe25348e31625088 | refs/heads/master | 2022-12-28T19:35:24.549883 | 2020-10-19T02:53:55 | 2020-10-19T02:53:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,357 | r | graphLASSO.R |
# This file contains basic code for graphical LASSO
###### Loading some useful package, not all required ########
require(glasso)
require(CVglasso)
require(LOCOpath)
require(huge)
#source('graphLASSO.R')
source('NetTS.R')
require(igraph)
#######################################
########## A mofifiled version of the ... |
0d886aa62c53258df8cc597f8ff2fc96c2996c7b | a4e4aa76c902101fe5a475db1a4c2fafb2e55e9d | /대덕 wordcloud/daedeok.R | 90d34bfb0bb4085ad68fa6df58a2c6db74c450dc | [] | no_license | joeychoi12/NC_Project | 76f2777d8d9563a65e714887bacebaf313ceb040 | 36e5eac6d61b16989216d0c9ff1875b4961a6524 | refs/heads/master | 2020-06-16T07:51:42.060661 | 2019-08-13T08:01:04 | 2019-08-13T08:01:04 | 195,516,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,965 | r | daedeok.R | #대덕특구 WordCloud
setwd("c:/Users/Joey/Documents/R/Project/NC_Project/")
# Text Crawling from Investing.com News article
setwd("d:/workspace/R_Crawling/")
library(rvest)
library(dplyr)
library(stringr)
library(wordcloud2)
trim <- function(x) gsub("^\\s+|\\s+$", "", x)
trim1 <- function(x) gsub("\r", "", x)
trim2 <- func... |
425d148f212d1951888a5dd60790efbb55cafdb5 | e69b1afa76dbf248acbcea98bc2660e49e8e6805 | /R programming/Week 3/rankall.r | f8f703359ec4607d3f1456fca1c9c843aef5793e | [] | no_license | Aparna-Vijayakumar/Data-Science-Coursera-Projects | 281c6d7548dc718857679f47e49b485ec4fdca97 | bf531db45b35aa4d6b169aeae19acb533b0c4cc1 | refs/heads/master | 2020-04-12T10:21:48.898664 | 2018-12-20T13:30:57 | 2018-12-20T13:30:57 | 162,427,731 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,451 | r | rankall.r | rankall <- function(outcome, num = "best") {
## Read the outcome data
dat <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
## Check that state and outcome are valid
states = unique(dat[, 7])
switch(outcome, `heart attack` = {
col = 11
}, `heart failure` = {
col = 17
}, pneumon... |
1d2edc9647b2c58c081479861ce5e7c428928ad6 | 119e0655c3a2e1418bb67e42083e492546998f2e | /scripts_queue/Reading_MODIS_LST_with_QC_09112013.R | 263bdbd49982ae3cf6a7ded01ac9dd424d0e15ee | [] | no_license | dahcase/space_time_lucc | 435041b61700d481c86d02704d2151c8376e4e82 | 67fe9dca7a496714478fa1ce860e0cfbfc9fe603 | refs/heads/master | 2021-05-07T17:55:50.016325 | 2017-11-01T05:26:11 | 2017-11-01T05:26:11 | 108,768,679 | 0 | 1 | null | 2017-10-29T20:28:16 | 2017-10-29T20:28:16 | null | UTF-8 | R | false | false | 6,704 | r | Reading_MODIS_LST_with_QC_09112013.R | ######################################## MODIS QC FOR MOD12Q1 and MOD11A2 #######################################
########################################### Read QC flags in R for MODIS #####################################
#This script provides an example of Quality Flag processing for twor MODIS product in R.
#MOD... |
003463745c27b6d4c1da201aee13eaa41f08eef9 | 96e54a2f183ac913cd533b22560dbb6f9de98e64 | /man/assignMultiple.Rd | e8c2f447a07388e4a326e9290332611cc23a16cf | [] | no_license | cran/KarsTS | fe9e7cb51abd77edc1cf461b92fe86e9c760b9a8 | a61bf7a479a7eeba1d2af68ff0fab8041b3d3fe2 | refs/heads/master | 2021-08-16T07:19:03.010559 | 2021-01-14T19:50:05 | 2021-01-14T19:50:05 | 92,603,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 592 | rd | assignMultiple.Rd | \name{assignMultiple}
\alias{assignMultiple}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
assignMultiple: assign multiple
}
\description{
This function applies the function assign multiple times
}
\usage{
assignMultiple(namesVector, valuesList, envir = KTSEnv)
}
%- maybe also 'usag... |
d4c3f6c0367bd01463fdcc23ae17d56b86b05e0d | 641f150bdb4dfd3cb5cd28af2c36dfeef24a6776 | /plot3.R | 9a762ff46fcf4526e5292473cebf86da48337834 | [] | no_license | Louise222/ExData_Plotting1 | 824e5d902831148bf32fe8429979e5581365e2d5 | 85c602be91e7e9486549fea866fe5c23efb65840 | refs/heads/master | 2021-01-21T02:59:19.979829 | 2016-01-08T08:31:45 | 2016-01-08T08:31:45 | 49,254,300 | 0 | 0 | null | 2016-01-08T06:29:23 | 2016-01-08T06:29:23 | null | UTF-8 | R | false | false | 446 | r | plot3.R | source("load_data.R")
png(filename = "plot3.png", width = 480, height = 480, units = "px")
plot(newdata$DateTime,newdata$Sub_metering_1,type = "l",
col="black",xlab="",ylab = "Energy sub metering")
lines(newdata$DateTime,newdata$Sub_metering_2,col="red")
lines(newdata$DateTime,newdata$Sub_metering_3,col="blue")
le... |
e5b304972be9a7b44a8ea8946ce17513a4c89ed1 | 1eee16736f5560821b78979095454dea33b40e98 | /thirdParty/HiddenMarkov.mod/R/summary.mmglm1.R | d4381fb77ae1ea7aaaaa322be44e23390e164467 | [] | no_license | karl616/gNOMePeaks | 83b0801727522cbacefa70129c41f0b8be59b1ee | 80f1f3107a0dbf95fa2e98bdd825ceabdaff3863 | refs/heads/master | 2021-01-21T13:52:44.797719 | 2019-03-08T14:27:36 | 2019-03-08T14:27:36 | 49,002,976 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 229 | r | summary.mmglm1.R | "summary.mmglm1" <-
function (object, ...)
{
list(delta=object$delta, Pi=object$Pi, nonstat=object$nonstat,
beta=object$beta,
sigma=object$sigma, glmfamily=object$glmfamily,
n=length(object$y))
}
|
5919d6b4d61c2ab795d9e5b3a12f9f542372bad8 | fdb874e3f89e28d8d5e2c9a499aa9bbe46349792 | /fitGaussianGraph/R/fitGaussianGraph.R | 260054dab4a119a873695d4529f8cad143ce6e9e | [] | no_license | bohaoyao/fitting-Gaussian-graphical-models | e3ae9f754c5902013ba9f89931ed6c696736c33d | 9cff38b4989176dffa514af5333fe2ffb5612049 | refs/heads/master | 2022-08-07T06:38:30.051474 | 2022-07-20T16:35:44 | 2022-07-20T16:35:44 | 225,881,948 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,165 | r | fitGaussianGraph.R | #outputs value of a_{i,j}
f <- function(i, j, LambdaE, S){
ans <- S[i,j]
if (i > 1) {
for (k in 1:(i-1)) {
ans <- ans - LambdaE[k,i]*S[k,j]
}
}
return(ans)
}
#outputs parents of i
parents <- function(i, LambdaA){
ans <- c()
if (i > 1) {
for (j in 1:(i-1)) {
if (LambdaA[j,i] != 0) {
... |
59e73cef20325621916023866c0d85b6f8dc721b | b4294e86bd4aa13da2da944c3499eff23ac9e0c6 | /clustering.R | d1688c6c5cc4c662ca5a6b2ae5f77a1800d1a18a | [] | no_license | sylvansecrets/signal-coursework | 62f0a5e7522eb478b6a6d6adc01609cebfeeeeca | caacf893d0e8c8fdff6c7fc0433422f54ea04309 | refs/heads/master | 2021-01-12T10:18:53.326551 | 2016-12-14T03:06:14 | 2016-12-14T03:06:14 | 76,419,676 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,474 | r | clustering.R | library("readr")
library("cluster")
library("pvclust")
library("fpc")
library("ggplot2")
options(digits=3)
setwd("C:/Users/User/Documents/GitHub/Signal-Data-Science")
protein_df = read.delim("~/GitHub/Signal-Data-Science/protein.txt")
rownames(protein_df) = protein_df$Country
protein_df$Country=NULL
#... |
ec0608ab59d19691b56e1903d53737d440150c59 | 2b96dda01e284f5df6c5f749272249ff3b1c26cd | /ch07/ex7-2.r | 61b94533d0d98da095f32e452f6eb2071258a11f | [] | no_license | freebz/The-Art-of-R-Programming | f9a82b42fedebc5ef0f10bfd132bdcad27600d83 | 6e51856512b945455810b1ad686bae58f0779ff7 | refs/heads/master | 2021-06-05T03:27:00.519420 | 2016-08-12T05:01:24 | 2016-08-12T05:01:24 | 65,524,551 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 268 | r | ex7-2.r | ## 7.2 산술 및 불리언 연산과 값
x <- c(TRUE, FALSE, TRUE)
y <- c(TRUE, TRUE, FALSE)
x
y
x & y
x[1] && y[1]
if (x[1] && y[1]) print("both TRUE")
if (x & y) print("both TRUE")
1 < 2
(1 < 2) * (3 < 4)
(1 < 2) * (3 < 4) * (5 < 1)
(1 < 2) == TRUE
(1 < 2) == 1
|
fea2c3f1672d2b7d211bb60f320b9d14322e7ea7 | 9b94004d73d16cb4ce13efb088f240302abf33b5 | /classifier_EM_tskew.R | 4ce410c91dd14de87be02b67bf6253e390f0f088 | [] | no_license | Zeroh729/MS-Thesis | f94b89070255851a1c261bb8d8ef04c241dfdad7 | c4058e9444883a768a4c35876b9cb4e645c0d2f0 | refs/heads/master | 2022-12-31T20:45:59.786850 | 2020-10-22T07:15:45 | 2020-10-22T07:15:45 | 267,747,109 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,277 | r | classifier_EM_tskew.R | source("D:/~Masters/~ MS-STAT/~THESIS/Code/utils.R")
source("D:/~Masters/~ MS-STAT/~THESIS/Code/common.R")
library(EMCluster)
library(EMMIXskew)
library(dplyr)
emclassifier_tskew <- function(vecFluo, volDrp, crit="BIC"){
res <- em_tskew(data.frame(Fluorescence=sort(vecFluo)), distr="mst",volDrp = volDrp, crit)
res... |
9e4de14989ef8c07b2a3f19a863510535090ac7c | 43badf574c549135a0fc50b5054be28fdc7fb275 | /experiment/MaFMethodology/R/hhcovshhcmoea/IGD/15/kruskalscript.R | 7cef81c9e79f6e3f0248fddfecc00230c5bceadc | [] | no_license | fritsche/hhco-vs-hhcmoea | 8343a589e8efd1b0c0ffc8b0d67347fa688eb5a0 | 8cb8e1ec2ebab879d74391013d868af24d769b79 | refs/heads/main | 2023-02-10T15:19:20.576194 | 2021-01-09T14:00:38 | 2021-01-09T14:00:38 | 326,830,556 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,062 | r | kruskalscript.R | require(PMCMRplus)
options("width"=10000)
ARRAY <- c(0.02564970475535416,0.01621768667849493,0.016800804793346218,0.016280921910048676,0.0696660740186638,0.016177777896017948,0.058561150499856586,0.01669128097678837,0.0160956658042893,0.05241825970439316,0.045721932836257646,0.03284580700929481,0.09004995630520703,0.01... |
993432cbad85930bdc2a9ceb36e820b4985caae5 | 648ebf72f913f90fe9575a8325ce1d8633ac449e | /R/svd.triplet.R | c19cd38d5b246a562baa079f678cfd695ef1c62a | [] | no_license | husson/FactoMineR | 1b2068dc925647603899607bf2a90e926ef002d5 | 1f7d04dcf7f24798ce6b322a4dd3ab2bd8ddd238 | refs/heads/master | 2023-04-28T09:19:02.186828 | 2023-04-23T11:32:21 | 2023-04-23T11:32:21 | 32,511,270 | 26 | 9 | null | 2023-04-21T13:34:38 | 2015-03-19T09:08:51 | HTML | UTF-8 | R | false | false | 2,931 | r | svd.triplet.R | svd.triplet <- function (X, row.w = NULL, col.w = NULL,ncp=Inf) {
tryCatch.W.E <- function(expr){ ## function proposed by Maechler
W <- NULL
w.handler <- function(w){ # warning handler
W <<- w
invokeRestart("muffleWarning")
}
list(value = withCallingHandlers(tryCatch(expr, error = fun... |
6ac0235a84f9edc0855e66f9aaee6c24e63bfe47 | a677b41109337cfc41479ee14e73884f2d75e898 | /dsp/dwt.R | 056296a8a374b0c874342a90c59967f8c62c76e7 | [
"CC0-1.0"
] | permissive | af12066/example-r | b1d0eca8a1dee37203c398631900a2a2383c881b | 4cdd170407fcbc90b49dcd2a5e85a13a067836a4 | refs/heads/master | 2016-08-12T07:28:52.798354 | 2015-12-13T03:11:41 | 2015-12-13T03:11:41 | 47,903,987 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 634 | r | dwt.R | library(wavelets)
Fs <- 100 # サンプリング周波数
sampling <- 1024 # Waveletサンプルポイント数
samplingPoint <- 0:(sampling-1) # サンプルポイント数のベクトル
t <- samplingPoint / Fs # 時間軸
wave1 <- sin(2 * pi * 1 * t) # 波形(1Hz)
wave2 <- rnorm(t) / 10 # 波形2(わずかにランダムノイズ)
wave <- wave1 + wave2
wdec <- dwt(wave, filter = "d4", n.levels = 4)
# ウェーブレット... |
98e72b1a602ddfb70846814074ef2e2fee03ec74 | 02fe930e2f9c76fea9643d013e98ab937724579f | /R/fastqTools.R | ceaf1fc92cecf2bc68de87314f5a319157d1c9a2 | [] | no_license | sturkarslan/DuffyTools | ec751c1b58db5bef30ccc76f6e2afbc26c317d7d | 10c540eaabdda27c14ddc9e27096e52444a2a67c | refs/heads/master | 2016-08-04T23:58:02.110791 | 2014-11-26T18:09:35 | 2014-11-26T18:09:35 | 27,187,826 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,677 | r | fastqTools.R | # fastqTools.R
`readFastqFile` <- function( filein, maxReads=NULL, verbose=TRUE) {
fileToUse <- allowCompressedFileName( filein)
if ( ! file.readable( fileToUse)) {
warning( paste( "readFastqFile: unable to read FASTQ file", fileToUse))
return( data.frame())
}
# catch compressed files
conIn ... |
36ee8dcb5ec75e7c59693a236da8b4d4634cd53c | c06f1619dbd2007837f73cc184fdef6d821ad981 | /man/same.Rd | 37a2f7b229d4295cd2e8137000cc146c8f3976a4 | [] | no_license | BenGriff42/useless | 34cba60dada4e01324cd418e38e5c8fa0cad8f2d | ef3686ae6cbe4095ad0bdd3ac7ed97f4785c2a35 | refs/heads/main | 2023-08-14T11:45:09.814151 | 2021-10-07T12:28:32 | 2021-10-07T12:28:32 | 414,521,717 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 309 | rd | same.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/useless_functions.R
\name{same}
\alias{same}
\title{Return input}
\usage{
same(x)
}
\arguments{
\item{x}{Anything}
}
\value{
What you input
}
\description{
Function to return whatever you put in
}
\examples{
same(1)
same("same")
}
|
159a89899233f9bcdcc4d1f30ca667cbcc1ca2c7 | 4201e9b754760dc35fc0aeef9df5a8b9d801c47f | /bin/R-3.5.1/src/library/stats/man/pairwise.wilcox.test.Rd | 55d858490249dedc04617eb60f834e0cdc3beec8 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only"
] | permissive | lifebit-ai/exomedepth | cbe59cb7fcf2f9183d187f8d466c6620fb1a0c2e | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | refs/heads/master | 2020-03-27T12:55:56.400581 | 2018-10-11T10:00:07 | 2018-10-11T10:00:07 | 146,578,924 | 0 | 0 | MIT | 2018-08-29T09:43:52 | 2018-08-29T09:43:51 | null | UTF-8 | R | false | false | 1,543 | rd | pairwise.wilcox.test.Rd | % File src/library/stats/man/pairwise.wilcox.test.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2007 R Core Team
% Distributed under GPL 2 or later
\name{pairwise.wilcox.test}
\alias{pairwise.wilcox.test}
\title{Pairwise Wilcoxon Rank Sum Tests}
\description{
Calculate pairwise comparisons b... |
977cd77d4cc90f7d8b437cc8291f9bf6eca6a800 | ecb246919cb876cf82dc3375b9105189b254b96e | /tests/testthat/test_period_dates.R | 3492827f0ab8e4bfc65e846c3820f19ad738e99c | [] | no_license | mickmioduszewski/dqr | 4060cdc230c0f0a5756e93c7499b8b50e4635b56 | 9b5fd4ca824a6aade7ad5db600305360b93f124a | refs/heads/master | 2020-04-16T08:48:48.559005 | 2019-01-13T02:47:14 | 2019-01-13T02:47:14 | 165,439,005 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 106 | r | test_period_dates.R | context("Data quality for R stub")
library(lubridate)
test_that("stub", {
expect_equal(TRUE, TRUE)
})
|
8bba6b6da9e2d4018da75489ac71205f5eba71c8 | 0dac3070dd10c9329f52562cb119c5090c039fb5 | /Worksheet_5/Worksheet_5.R | eee5b2320b4368cffd2157738eb68f8bcd00d83c | [] | no_license | retodomax/CompSkills | 9af99150e6a50296f72a69f9c70cbdbd7ca2fbfe | 1d7d1409e5240abee4269aed1864028fbd87494d | refs/heads/master | 2020-09-24T05:59:19.469927 | 2019-12-03T23:10:44 | 2019-12-03T23:10:44 | 225,681,922 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,771 | r | Worksheet_5.R | #' ---
#' project: CompSkills #################################################
#' title: Homework 5
#' author: "[Reto Zihlmann](https://retodomax.github.io/)"
#' date: 2019-11-19 18:40:38
#' output: github_document #############################################
#' ---
# packages -------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.