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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
623a896b364b08c77b8753e0a61457b735ef6e87 | 66dd0b831434c4ad85bf58e473278883aeadbb1b | /analysis/tewhey_subset.R | 5f3d468f284417e1416f4c427fa5714517cd1cfa | [] | no_license | andrewGhazi/bayesianMPRA | 6e394893c7cfb079ca55698339eaa77c568a6736 | 4b9823f5a05b431adac9caae83737e525ae5d93c | refs/heads/master | 2021-01-20T03:34:35.703409 | 2018-09-17T07:41:10 | 2018-09-17T07:41:10 | 83,831,741 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,050 | r | tewhey_subset.R |
dir = '/mnt/bigData2/andrew/MPRA/Tewhey/indivTags/'
file_names = list.files(dir,
pattern = '.expanded$') %>%
grep(pattern = 'ctrl|HepG2', x = ., value = TRUE)
tewhey_subset = mclapply(file_names,
function(t_file){
read_tsv(paste0(dir, t_file),
... |
be979ebb4a708c2bdf7ab712c16547136685cd9e | f0d5df048c0d5ac4f969a03b477515bd762a446c | /R/rprofile_d.R | 4e1d248b4591f94b68cc332c493dcc66feb0717a | [] | no_license | HenrikBengtsson/startup | 67a01ac529ff0adc8dd0e722bbaccbd80010cb2a | abd1be760a8665e7f301129ec97e1d5d1b175a43 | refs/heads/develop | 2023-04-07T06:44:59.018075 | 2023-04-06T01:42:50 | 2023-04-06T01:42:50 | 73,848,752 | 163 | 8 | null | 2022-04-03T06:44:22 | 2016-11-15T19:38:47 | R | UTF-8 | R | false | false | 1,635 | r | rprofile_d.R | #' @describeIn startup Initiate using \file{.Rprofile.d/} files
#'
#' @aliases rprofile
#' @export
rprofile_d <- function(sibling = FALSE, all = FALSE, check = NA,
unload = FALSE, skip = NA,
on_error = c("error", "warning", "immediate.warning",
... |
9f1d2734b09ce7b3dd1e8d044ecbad8d7e3c8eb3 | 9a4518c0ac57cfaffd4069a39fcdccd6a8173949 | /tests/testthat/test-geom-spatial-segment.R | 65167156f21e418cf8bc51d1eb3834b2c51e2602 | [] | no_license | paleolimbot/ggspatial | 78c1047e344ec658d092851ce6fb2a83d10c5db3 | 5c4c903a0785702d83acfe6d9753294882ed676c | refs/heads/master | 2023-08-19T22:53:31.102638 | 2023-08-18T00:27:19 | 2023-08-18T00:27:19 | 63,102,201 | 357 | 37 | null | 2023-08-18T00:27:20 | 2016-07-11T21:06:12 | R | UTF-8 | R | false | false | 2,080 | r | test-geom-spatial-segment.R |
test_that("geom_spatial_segment() works", {
skip_if_not_installed("vdiffr")
skip_if_not_installed("lwgeom")
cities <- data.frame(
x = c(-63.58595, 116.41214, 13.50, -149.75),
y = c(44.64862, 40.19063, 52.51, 61.20),
city = c("Halifax", "Beijing", "Berlin", "Anchorage")
)
cities$xend <- cities$x... |
2d18c960961f524df19b1058cfc17f96b38f49e0 | 0a677c67824ad812542e8625126be1dd3ed7c711 | /tests/testthat.R | 4424675b6500b685d90fe9520f1807bd5bbf0479 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | dfalbel/torch | 48ff1b38ffdef9abe4873364c26b8abbae3ba330 | ae317db8ec1392acd9f1a2d5f03cef9ad676f778 | refs/heads/master | 2021-07-08T04:41:59.099075 | 2020-08-07T22:21:43 | 2020-08-07T22:21:43 | 151,864,442 | 58 | 8 | NOASSERTION | 2019-10-24T21:35:26 | 2018-10-06T17:27:42 | C++ | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(torch)
test_check("torch")
|
8b7c83e14b747115f76ea5a61662f0738801a93a | 24e47e0c7b92a49320b050e028f116c42e290e43 | /spring2018/2018-02-27_BaseRGraphics_Code.R | b3c429f3354b68708a0cc686f873a231d6a0dc01 | [] | no_license | shannonajw/archive | 2c90b0e1f5ffa9174f6d98e6aa905bf6e3f5d464 | fede550898289b1a5c2474d44525bef29bb5ddee | refs/heads/master | 2021-09-15T03:01:11.343987 | 2018-05-24T16:10:59 | 2018-05-24T16:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,000 | r | 2018-02-27_BaseRGraphics_Code.R | rm(list=ls())
## Delete your workspace;
getwd()
## Check your current working directory
setwd("FILL IN")
## Set your working directory
polls = read.csv("2016_StatePolls_final.csv")
## Load data
summary(polls$other)
summary(polls$undecided)
polls$etc<-100-polls$trump-polls$clinton
table(polls$State)
barplot(table(poll... |
9cf6de45ef254389c7a571cafbe1259df1ab9e1e | dd71aa829dfa18c6996f09dfd7b759bcb7f912e5 | /brainmusic/hack.R | ebaf5d3d4dec226d2b19292ea400612e1c1bd811 | [] | no_license | bradjunswick/api-examples | 9a4e492ef68d364386f490eeb42131ee6cd271b3 | 7c79ea95ca8d1ad86304f1d07741ad8d81ae3983 | refs/heads/master | 2020-12-25T17:05:16.257065 | 2012-06-21T00:12:27 | 2012-06-21T00:12:27 | 4,732,669 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,015 | r | hack.R | #starting with Leon French's collapsed human microarray data
brain1=read.delim(file="Desktop/matrix.29192x346.txt", sep="\t", header=T, row.names=1)
brain2=read.delim(file="Desktop/matrix.29192x323.txt", sep="\t", header=T, row.names=1)
brain3=read.delim(file="Desktop/matrix.29192x158.txt", sep="\t", header=T, row.name... |
8cadeeaf8e47cacefcac9d40eb72807f9d825b8b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/nlme/examples/varFixed.Rd.R | 8c6ae61c1ba7dc4e2f207a8b08083e3adc1cee17 | [] | 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 | 156 | r | varFixed.Rd.R | library(nlme)
### Name: varFixed
### Title: Fixed Variance Function
### Aliases: varFixed
### Keywords: models
### ** Examples
vf1 <- varFixed(~age)
|
de57a578907b0a8aa295809c1b2920582b6d9150 | 22b8821b7da1e03ad6be2fee5bbd1a72b86a4a53 | /plot1.R | aa44c09124423537ce7d89109a05f8c5a3e789da | [] | no_license | hapchen/Exploratory-Analysis_Project2 | b83d0d2595a9c3aae312894dee79a009488acb8c | 8ff670f697f17205baf2e1d997f28581ca8d662f | refs/heads/master | 2020-12-24T21:45:16.011642 | 2016-04-14T22:03:24 | 2016-04-14T22:03:24 | 56,272,093 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 465 | r | plot1.R | setwd("~/Documents/R/exdata-data-NEI_data")
# Read the data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# Plot 1
Emissions_byyear <- aggregate(Emissions ~ year, NEI, sum)
png("plot1.png", width = 480, height = 480)
plot(Emissions_byyear$year,Emissions_byyear$Emissions/10^6,... |
034b730567df5a6c297a550fc735290d589e9fcf | ba8c93066b190808f70d54386359ee015639ca33 | /crypt/man.r | d619d4457d5d497a2a1eab4b50d44ed15eb13a21 | [] | no_license | unix-history/tropix-cmd | 0c0b54ae35b9e48c63aca8a7ac06e7935dd5b819 | 244f84697354b1c0e495a77cdff98549875d1b9f | refs/heads/master | 2021-05-27T22:06:51.390547 | 2014-11-06T17:41:20 | 2014-11-06T17:41:20 | 26,281,551 | 1 | 2 | null | null | null | null | ISO-8859-1 | R | false | false | 1,945 | r | man.r | .bp
.he 'CRYPT (man)'TROPIX: Manual de Referência'CRYPT (man)'
.fo 'Atualizado em 20.04.97'Versão 3.0.0'Pag. %'
.b NOME
.in 5
.wo "crypt -"
codifica/decodifica arquivos
.br
.in
.sp
.b SINTAXE
.in 5
.(l
crypt [-c] [<entrada> [<saída>]]
.)l
.in
.sp
.b DESCRIÇÃO
.in 5
O comando "crypt" lê o arquivo <entrada>, codifica-... |
257dcb6c4705fcdb02b0b846e007315035483b8a | 669872ed6a31695b754a6386abcf46c479412dce | /simple_sims.R | 6d8479de593d24482c99614474200a5886343dd0 | [] | no_license | kapelner/CovBalAndRandExpDesign | 766afe315cc8a124521f648668ef105460444250 | 61e55753a93c42fc2a55d3cef2ac39ad8104a142 | refs/heads/master | 2021-07-18T01:10:57.494188 | 2019-01-18T01:57:34 | 2019-01-18T01:57:34 | 141,571,668 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,491 | r | simple_sims.R | source("unique_perm.R")
pacman::p_load(ggplot2)
n = 20
p = 1
sigma_x = 1
mu_x = 0
sigma_z = 1.5 ###change this to give Figures 1,2,3 and comment our the darkorange
# sigma_z = 1
# sigma_z = 0.05 #R^2 = 1
mu_z = 0
beta_T = 1
beta_0 = 1
bbeta = rep(1, p)
set.seed(0) #NOTE: the whole simulation is conditional on this ... |
c6122fcd21dc2693f1862069828beafdc1ee98c2 | 033597efd692538cb3b59076059290c06a474cd1 | /prepOrbidata_liposome_expts_simplified.R | 32555583d63950f410454e7eb50c7b4238591920 | [
"MIT"
] | permissive | jamesrco/LipidPhotoOxBox | a071c25d38a67dde196ef6c00f601276be2d2f19 | 077c53ec6efd8dfd870353f573d1d93f699ace70 | refs/heads/master | 2021-04-30T22:41:17.989729 | 2018-05-10T00:06:49 | 2018-05-10T00:06:49 | 66,294,849 | 2 | 0 | MIT | 2018-05-08T14:51:51 | 2016-08-22T17:46:03 | R | UTF-8 | R | false | false | 10,324 | r | prepOrbidata_liposome_expts_simplified.R |
# ******************************************************************
################ Basic user begin editing here #############
# ******************************************************************
################ User: define locations of data files and database(s) #############
working_dir = "/Volumes/Lab/Jamie ... |
76ff7f8cf83b8e2937fec489b9f2a06423f08bed | d522ef4f0a283059649a2209be2365b1268007b1 | /man/sim.Stasis.RW.Rd | 4e63db6f01c4bc44e17b1349382041c10b4612cc | [] | no_license | cran/paleoTS | 70280825ad602403414e2a61bbc0910c1fd2bec7 | afe481e8e7837942a9a5115adc4415dadf1f4245 | refs/heads/master | 2022-09-20T01:32:29.993387 | 2022-08-08T18:10:06 | 2022-08-08T18:10:06 | 17,698,190 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,568 | rd | sim.Stasis.RW.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/complexModels.R
\name{sim.Stasis.RW}
\alias{sim.Stasis.RW}
\title{Simulate trait evolution with a mode shift}
\usage{
sim.Stasis.RW(
ns = c(20, 20),
order = c("Stasis-RW", "RW-Stasis"),
anc = 0,
omega = 1,
ms = 0,
vs = 1,
vp = 1... |
56398751fa24dd9cc787baa2812c39f42ec2b144 | 1e45d64203edd6d5125980bf23db3daedc9da89d | /sources/modules/VEHouseholdVehicles/R/AssignVehicleFeaturesFuture.R | 1ae8635c36aadd3917efe558b249a95e12e675fe | [
"Apache-2.0"
] | permissive | VisionEval/VisionEval-Dev | 5c1600032307c729b96470355c40ef6cbbb9f05b | 701bf7f68d94bf1b4b73a0dfd622672a93d4af5f | refs/heads/development | 2023-08-19T17:53:55.037761 | 2023-08-15T12:33:50 | 2023-08-15T12:33:50 | 144,179,471 | 6 | 34 | Apache-2.0 | 2023-09-07T20:39:13 | 2018-08-09T16:44:22 | R | UTF-8 | R | false | false | 12,089 | r | AssignVehicleFeaturesFuture.R | #' @include AssignVehicleFeatures.R
NULL
#========================
#AssignVehicleFeaturesFuture.R
#========================
# This module is a vehicle model from RPAT version.
# This module assigns household vehicle ownership, vehicle types, and ages to
# each household vehicle, based on household, land use,
# and t... |
8e7365edd05dc811965915f0d44d2db61c1a4fb9 | d7505c673b2455ef8889c0595f96a0be03747b01 | /Documentos de Seminario en el lenguaje R/Programa Para Generar Datos Sinteticos.R | fd05f785795d2109382d252b188f6e0ac2e730f9 | [] | no_license | ElvinSantos93/SEMINARIO | b71af096c134d1277813a7c4030d14cb66e7afed | 28b84a4a4032d640e6066d075509bec9d411b55e | refs/heads/main | 2023-07-14T13:38:42.583880 | 2021-08-17T04:36:45 | 2021-08-17T04:36:45 | 380,421,606 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 52,558 | r | Programa Para Generar Datos Sinteticos.R | ################################# GENERANDO DATOS SINTETICOS ######################################
#==================================================================================================
############### Instalando los paquetes requeridos para generar datos sinteticos ###############
install.packages("... |
54dec448f2c1e83fa45286fc0072eb29c3f6e499 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/4696_0/rinput.R | 60cfd769e77b84c8bca875bc8ce2175905c934ae | [] | 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("4696_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="4696_0_unrooted.txt") |
352605ddf2244c73422a67b79406a3e42faad4a8 | e250086535e666710c037e50cbfa322aa5e18b55 | /R/dtiReconstruction.R | 1c1fa1d942f794dcd8176f3a14eca015b8894329 | [] | no_license | jeffduda/DANTsR | 2efe5776eea2e462ae84eef054cff7495b6cae08 | e220a37051c95527b0f1fc13a14eda6f7898a4f5 | refs/heads/master | 2022-10-05T03:10:25.461452 | 2022-09-19T19:17:14 | 2022-09-19T19:17:14 | 102,148,794 | 1 | 3 | null | 2022-09-19T19:17:15 | 2017-09-01T20:01:50 | C++ | UTF-8 | R | false | false | 1,853 | r | dtiReconstruction.R | dtiReconstruction.r.svd <- function(x, basis, bMat) {
if ( dim(bMat)[2] > 6 ) {
x = bMat %*% x
}
solve(basis, x)
}
#' @title dtiReconstruction
#' @description calculate an anistropy image from DTI
#' @param dwi an N-channel antsImage
#' @param gradients Nx4 matrix of gradient directions and b-values
#' @para... |
d66bfcd29c219012adc925c1ea9188ae6f214677 | cea3466a2947e429a4f4fff5a65df740241c8190 | /R/tindex.R | 7033516b8e1a0528be7e659f5e7b50e26c7f7368 | [
"MIT"
] | permissive | cran/term | 73420e2257b6a0ed12a063a0133ec1e25ba4aa3d | 167b06989f44e37d0dd592b0a7ff5470edd91b65 | refs/heads/master | 2022-10-08T15:13:04.078807 | 2022-09-29T15:20:11 | 2022-09-29T15:20:11 | 236,950,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 803 | r | tindex.R | #' Term Index
#'
#' Gets the index for each term of an term or term_rcrd object.
#'
#' For example the index of `beta[2,1]` is `c(2L, 1L)`
#' while the index for `sigma` is `1L`.
#' It is useful for extracting the values of individual terms.
#'
#' @inheritParams params
#' @return A named list of integer vectors of the ... |
5fee96953b0a26ff22b53a61be98a7b7ff88f8c2 | f0e1cac1696064c9dd26a0b428c82279bec98442 | /Getting and Cleaning Data Course Project/run_analysis.R | 1b60a96f5e1d887a48fd7622ab25ccf0adb8a68d | [] | no_license | oscaramtz/DataScience-JHSPH | 6b813285444ceab4510289bc1a670ec35839d8c1 | c30cd4ac6c7536a2a917caba9f7f85e71584ce9e | refs/heads/master | 2020-04-18T00:19:29.051254 | 2019-02-18T21:19:18 | 2019-02-18T21:19:18 | 167,072,554 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,167 | r | run_analysis.R | #Assignment __Getting and Cleaning Data
## Keeping just the variables of interest mean() and std() variables
install.packages("dplyr")
install.packages("tidyr")
library(dplyr)
library(tidyr)
var_labels <- read.table("./data/UCI HAR Dataset/features.txt")
kept <- c(rep("NULL", 561)); kept_var <- grep(var_labels[,2], pat... |
e4cca658067ce68e30a2f799c76c39e6a1976b8c | e0d5bf73eeb38770651573ae9cfed2ed6f591695 | /R/Fx_survival.R | d7864b8d09ab409f83067b80c15c7aad7ff90705 | [] | no_license | cran/OptimalDesign | c6ebd669045f8fee81528b806d676d80d6bdaff6 | 93b9ad670b23a164d0a2a8122505bdaefbacbde9 | refs/heads/master | 2020-04-01T21:03:30.348007 | 2019-12-02T07:50:07 | 2019-12-02T07:50:07 | 64,430,702 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 998 | r | Fx_survival.R | Fx_survival <- function(formula, theta0, censor.time, survival.model="phI",
lower=NULL, upper=NULL, n.levels=NULL, echo=TRUE) {
# Generate Fx for a survival model
cl <- match.call()
verify(cl, formula = formula, survival.model = survival.model, theta0 = theta0,
censor.time... |
ead368f75fc16361383bf13b1e27650b2da35266 | b417642e09478a3a6441054a3539a82cc09f3bff | /man/nyt_cg_memberappear.Rd | 00f70e49f23d5188226806d1e290d6d3a6bc73f2 | [
"MIT"
] | permissive | leeper/rtimes | 77f15c4e64204be96c043687edaf509f4a98902b | 96020842e54271bc2bd907ff3059093d8f754682 | refs/heads/master | 2021-01-20T08:09:46.958943 | 2014-01-14T19:37:09 | 2014-01-14T19:37:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,177 | rd | nyt_cg_memberappear.Rd | \name{nyt_cg_memberappear}
\alias{nyt_cg_memberappear}
\title{Get information about a particular member's appearances on the House or
Senate floor.}
\usage{
nyt_cg_memberappear(memberid = NULL, key = getOption("NYTCongressKey",
stop("need an API key for the NYT Congress API")), callopts = list())
}
\arguments{
\ite... |
717f3367a4ced04c934ab5436c5edc6c9c7f3e10 | b4dd54123785b310d03a88835a19fcee77b38b65 | /R/zzz.R | c836c60f1c82055b607690632acc2201dbffb890 | [
"MIT"
] | permissive | tidyverse/readr | 5b8a49899586ab0a7a28108b9a0ef634e60940d5 | 80e4dc1a8e48571323cdec8703d31eb87308eb01 | refs/heads/main | 2023-08-31T01:10:09.896284 | 2023-08-01T20:02:52 | 2023-08-01T20:02:52 | 11,663,980 | 631 | 271 | NOASSERTION | 2023-09-03T11:49:42 | 2013-07-25T15:28:22 | R | UTF-8 | R | false | false | 1,261 | r | zzz.R | # nocov start
.onLoad <- function(libname, pkgname) {
tzdb::tzdb_initialize()
register_s3_method("testthat", "compare", "col_spec")
register_s3_method("testthat", "compare", "tbl_df")
register_s3_method("waldo", "compare_proxy", "spec_tbl_df")
opt <- options()
opt_readr <- list(
readr.show_progress = ... |
3cf50cde02596d3825cdc09470afd3a69850ff02 | 6b50cc48b9da0ff22e16e5939aaa4bee2954369c | /05-results/flhm-compare/compare-catches.R | 442c661a3f10b088e3e8874a122bb08e409d5d6e | [
"MIT"
] | permissive | hennip/WGBAST | 129e3e7c99a2874d0c51ef2db00733029416f959 | b934eaddcecb6c639b0c923413b3a40e223e46ff | refs/heads/main | 2023-06-23T11:42:35.271725 | 2023-06-21T11:01:07 | 2023-06-21T11:01:07 | 99,205,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,514 | r | compare-catches.R | # Compare BUGS/JAGS results
#source("models-select.R")
## ---- load-catches
# unrep coefs (needed to adjust BUGS but not JAGS)
# =================
# # coef_r<-c(rep(NA,5),rep(1.24,9), rep(1.22,7), rep(1.23,(length(YearsB)-5)-16))
# # coef_c<-c(rep(NA,5),rep(1.33,9), rep(1.21,7),rep(1.2,5), rep(1.11,(length(YearsB)-5... |
9b0ee86fbbfb02638c9d608e0944d20f03a3c595 | ce0b9d348b82b861090fa3fd9d9cc7a06485b9c9 | /r_exercises/exercise2.R | 059ede80830ed35a0b12e12c162e340d788eb9cb | [] | no_license | HHS-AHRQ/MEPS-workshop | 0573ef4513947375211e0e2a1ef7afe92f5e438b | c69c4471ff1290be9c8cfacf3b74da49edf687f4 | refs/heads/master | 2023-04-14T02:51:26.693511 | 2023-03-29T13:17:07 | 2023-03-29T13:17:07 | 147,705,872 | 25 | 15 | null | null | null | null | UTF-8 | R | false | false | 6,287 | r | exercise2.R | # -----------------------------------------------------------------------------
# This program illustrates how to pool MEPS data files from different years.
# It demonstrates use of the Pooled Variance file (h36u19) to pool data years
# before and after 2019.
#
#
# The program pools 2018, 2019, and 2020 data and ca... |
b20c688ae08bfd531380a9641bb7125d7a6a9ba3 | 0b5a37105142146695fa263c6c484459ef922d58 | /man/nveg.Rd | 7840036f015551d4d51cd3974552352fcfa16ed1 | [] | no_license | cran/dave | ce802a9247698b66fefef3e44e9216d9a7d3db02 | fee91f2d2cda746367d8eee613e134b060d081e5 | refs/heads/master | 2021-03-12T23:42:13.149391 | 2017-10-13T20:06:14 | 2017-10-13T20:06:14 | 17,695,397 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,778 | rd | nveg.Rd | \name{nveg}
\alias{nveg}
\docType{data}
\title{
European beach forest data, vegetation
}
\description{
European beach forest data, vegetation. Site factors are in data frame \code{\link{nsit}}.
}
\usage{data(nveg)}
\format{
A data frame with 11 observations on the following 21 species, the variables (0 to 6 scale use... |
2954379ad3d8525019bd3864e385b6a20ac0bbe0 | e03daf38d0e6b8755a28b321bd3f9102c47a409e | /man/PBMDesign.Rd | 084a2d5fb1ac402bdb68e290afa5f16410634fdd | [
"MIT"
] | permissive | pkimes/upbm | 9709b857c5bb9e5b468785d567728094a30eccba | 019977afd48c75534e5ce5e87e9d2fcfe46da53e | refs/heads/master | 2021-03-22T03:02:25.365308 | 2020-10-16T15:23:24 | 2020-10-16T15:23:24 | 118,683,405 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,948 | rd | PBMDesign.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/PBMDesign-constructor.R
\name{PBMDesign}
\alias{PBMDesign}
\alias{PBMDesign,data.frame-method}
\alias{PBMDesign,DataFrame-method}
\alias{PBMDesign,PBMExperiment-method}
\title{Create a new PBMDesign object}
\usage{
PBMDesign(... |
7d813eca51827614b52b6e95886844f500c14f68 | 67af503e72307e2171b9862b280f5f290f9384d0 | /clean_r_to_submit.R | 7f9261e21bb4a29672599398d9aa1e65701b1a9a | [] | no_license | pozsgaig/search_location | ba476076e26eaf28c35615341636adc7e0acf7ae | 9183a9e5990ac52349c115ef5ae3d40f2989888e | refs/heads/main | 2023-07-17T14:30:05.730418 | 2021-09-09T15:40:03 | 2021-09-09T15:40:03 | 404,402,319 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,605 | r | clean_r_to_submit.R | #### Loading necessary packages and functions ####
library(data.table) # for character issues and calculating AADP
library(scales) # for rescaling data
library(olsrr) # for testing heteroscedasticity
library(fitdistrplus) # for checking dsitribution
library(car) # for boxcox transformation
library(yarrr) # for ... |
546d550b85fba9d26cc91baca75ccaa9c9896fa0 | 6a477dfdb76af585f1760767053cabf724a341ce | /man/combine_plots.Rd | 842b58c71be45cdf88523d298b266b4adb6e8052 | [] | no_license | gmlang/ezplot | ba94bedae118e0f4ae7448e6dd11b3ec20a40ab4 | 9c48771a22d3f884d042a6185939765ae534cb84 | refs/heads/master | 2022-09-20T11:43:50.578034 | 2022-09-16T02:05:24 | 2022-09-16T02:05:24 | 34,095,132 | 6 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,329 | rd | combine_plots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/combine_plots.R
\name{combine_plots}
\alias{combine_plots}
\title{Combines several ggplot objects (plots) into one figure.}
\usage{
combine_plots(
...,
align = "v",
ncol = 2,
labels = "auto",
label_size = 10,
title = "Grand Title"... |
b37e3450ce18dea57b1778175c68eae37ed44dbd | 4f00cefef94157300a498ecaa4ee354df1a2615f | /binomial/man/bin_skewness.Rd | 6a812564f4277197261a36b97cb1015680173406 | [] | no_license | stat133-sp19/hw-stat133-feng1128 | 288b2101de9338b6384e3c23a084f6531affd0e3 | 9412f3a4ca07a9e1448cd6ab38580c71d4a0ed82 | refs/heads/master | 2020-04-28T19:02:29.233673 | 2019-05-03T20:10:38 | 2019-05-03T20:10:38 | 175,498,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 528 | rd | bin_skewness.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function.R
\name{bin_skewness}
\alias{bin_skewness}
\title{bin_skewness}
\usage{
bin_skewness(trials, prob)
}
\arguments{
\item{trials}{the number of trials}
\item{prob}{the probability of success on each trial}
}
\value{
the skewness of a r... |
a2791034d6854347a2adc7f01861d088372caad2 | 80f6a2f941ce640a5a3281c0203a5bebc631143b | /R/publish.R | d758dc4f1f0834bc3254538dc9ec61220c145767 | [] | no_license | Yixf-Self/bookdown | d9d0237d41c8ef3a3e3ac7a32723352b8e840b24 | c9b8fee5e345c06b9ad748d7cc69244e66fb25ff | refs/heads/master | 2021-01-19T11:53:03.519825 | 2016-03-27T05:18:06 | 2016-03-27T05:18:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,554 | r | publish.R | #' Publish a book to the web
#'
#' Publish a book to the web. Note that you should be sure to render all
#' versions of the book before publishing, unless you have specified
#' \code{render = TRUE}.
#'
#' @param name Name of the book (this will be used in the URL path of the
#' published book). Defaults to the \code{... |
b5b9100ef7bcc82182a51027b20377e45b4534d5 | 719dcbe5e619a1b6d08db0ccda1f1a788b161b6c | /R/6_fig4bFlippedBoxplots.R | 18a08fa26a30e5b1cdace2a032dc2cb237a4021a | [
"MIT"
] | permissive | blmoore/3dgenome | f19d3b1ba0e8d2f4a25b83b81ad45537d5e67fbe | 1fa7523bd512cb0d853ea90f3c566a08aee01097 | refs/heads/master | 2020-12-25T19:14:46.458280 | 2015-06-29T16:14:02 | 2015-06-29T16:14:02 | 16,910,905 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,435 | r | 6_fig4bFlippedBoxplots.R | ######### Cell-type specific / shared enrichments ###########
# Look at chromHMM / SegWay combined annotations in flipped #
# open, flipped closed compartments and test for enrichment #
# or depletion. For some states compare regions that are #
# shared between cell types and those that are specific to #
# one (cel... |
279c568aad63308b1f9e0650f173ec5ff86fc8cd | 081c62f36f7703d7987218c1c22931e083198e73 | /myelo/inst/doc/papers/ELT/zNchemoG.R | 6d4e738c490596bcc9a22e777f92d0803bdbc864 | [] | no_license | radivot/myelo | be7ed23a6d1772e55310ced91270aa1d09da6735 | 2498bed404c98f096fcda4075c34a2881265e24b | refs/heads/master | 2022-12-15T00:11:22.751773 | 2022-12-04T14:24:36 | 2022-12-04T14:24:36 | 6,070,078 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,130 | r | zNchemoG.R | ############################ ZHUGE12 CHEMO+GCSF ##################
# Holding the chemo treatment cycle T fixed at 23 days (at resonance), change the time to
# GCSF in days after chemo last began. Compare T1 = 1 and 10 days
library(tidyverse)
library(deSolve)
library(myelo)
zhugePars["T"]=23
zhugePars["T1"]=10 # ... |
e464e9059ae3d3ad6c50897183b2a6534c7b986c | 18127f37d3e7eecce292311938b886c866113941 | /man/migrate_cdf_to_2015_std.Rd | 5cb019772960acf8c598c8aa0274279bae0c182f | [] | no_license | charkins24/mapvizieR | 637460ae72b5b03163d8c6e9fa5a1ba2fb2a4cc9 | c2f8f41892ff118fc1d066d140dc3d238d908316 | refs/heads/master | 2021-01-11T03:02:07.093609 | 2016-06-28T20:09:20 | 2016-06-28T20:09:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 561 | rd | migrate_cdf_to_2015_std.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cdf_prep.R
\name{migrate_cdf_to_2015_std}
\alias{migrate_cdf_to_2015_std}
\title{Migrate pre-2015 CDFs (both client-server nad WBM) to post-2015 specification,}
\usage{
migrate_cdf_to_2015_std(cdf)
}
\arguments{
\item{cdf}{the Assessment Res... |
4ef8a5c9f26e3b531f131ba8f104bd3b8ee62642 | fc2a934c0d7ad541897e826afb143b9ef0c0e6a4 | /code/functions.R | 6f389bcb86f8e062c9984edfd8ca124398e59c32 | [
"MIT"
] | permissive | jhelvy/splitKbCompare | c2a6b36737f35b20fc541b17f08e3cceb5233023 | 6ec32d4512c116be68a36b5fff4bcee7e823b6bd | refs/heads/master | 2023-04-15T22:18:28.605121 | 2022-09-26T11:18:08 | 2022-09-26T11:18:08 | 241,105,575 | 205 | 34 | MIT | 2023-04-08T05:04:12 | 2020-02-17T12:45:17 | R | UTF-8 | R | false | false | 8,787 | r | functions.R | # Loads the keyboards.csv file as a data frame
loadKeyboards <- function() {
keyboards <- readr::read_csv(file.path("data", "keyboards.csv")) %>%
filter(include == 1) %>%
mutate(
nameKeys = ifelse(
nKeysMin == nKeysMax,
paste0(name, " (", nKeysMin, ")"),
... |
1c8e49a7e5cfa37c037559d4b0a1edb0b30f785f | 3d3200873a757bf5142a185a51589ed1c70365ce | /time_delay_ecdf/combined_ecdf.R | c9db55867127e0452e64cb71f1a0bcd7ed6c7a18 | [
"Apache-2.0"
] | permissive | fvalka/r_estimate | 3ab0738940751526f1719004512b2f13219a42b0 | 91f7e528eb687b98aa4709da334a58f0c0925f68 | refs/heads/master | 2023-01-04T11:13:09.500411 | 2020-10-24T21:57:36 | 2020-10-24T21:57:36 | 259,440,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,215 | r | combined_ecdf.R | library(EpiEstim)
library(ggplot2)
library(incidence)
library(lubridate)
library(utils)
library("ggpubr")
library(latex2exp)
library(foreach)
library(RColorBrewer)
library(shiny)
library(EnvStats)
library(pracma)
library(deSolve)
require(scales)
require(Cairo)
require(RcppRoll)
ecdf_incubation_reporti... |
0aae2d2f018ff6d76312df0a1c06742b8574c319 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Modern_Physical_Chemistry_A_Molecular_Approach_by_George_H_Duffey/CH17/EX17.15/Ex17_15.R | c729814cf82716f3a4772c5681339c62cd143cc4 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 110 | r | Ex17_15.R | # Page 482
h <- 6.626 * 10^-34
pi <- 3.1415
m <- 9.1094 * 10^-31
c <- (4 * pi * (2 * m)^1.5) / h^3
print(c) |
d73ea90b4efdca202d3a1ea0d9399e88f7a04eba | 40f4cb44ab742a168ca3f82d36a3e38dcaa6f844 | /man/dumpUniprotDb.Rd | 6374a581546ff4895dda1658d538872157bc72a4 | [] | no_license | sankleta/BED | 34e3f91fceffbb1164e65ab8a4cb24e6431b898b | 85c5c5ba4bbc927155d454dc6612512c7b197805 | refs/heads/master | 2021-04-30T05:55:28.535605 | 2018-02-06T11:18:59 | 2018-02-06T11:18:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 616 | rd | dumpUniprotDb.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dumpUniprotDb.R
\name{dumpUniprotDb}
\alias{dumpUniprotDb}
\title{Feeding BED: Dump and preprocess flat dat files fro Uniprot}
\usage{
dumpUniprotDb(taxOfInt, release, env = parent.frame(n = 1))
}
\arguments{
\item{taxOfInt}{the organism of i... |
13f27c7cb7224c3907054bd27d972b5dc62c20eb | c31e98ce2a7a380038dac8a19ccd03c5711e7c81 | /packages.R | dc7681bf0bc692a1c3145107eb083d3f48da3a88 | [] | no_license | aleholthuma/quantile_ensemble_talk | 76743f49a68ad3448d7200c1175ebf9a47b6731b | cb05c0d8921b086e8f901a168da042e57866226c | refs/heads/master | 2023-03-18T17:33:11.146262 | 2020-08-15T02:05:40 | 2020-08-15T02:05:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 143 | r | packages.R | install.packages(c("transformr", "latex2exp", "magick","remotes","styler","binb","codetools","tidyverse","fpp3","distributional","gganimate"))
|
ae68a93596fedeb01ec62802507be4cad675e2a9 | 3f43f522bc8b4527470c27ea48250f7120c81a8e | /nectar analysis/analysis/Balsamroot models/ModswoPlot/ModBalsMassBoth.R | d689b3e1a99dc069ebe372f2672af0e6871f30c9 | [] | no_license | EEB590/MAL | 0d23dadce6407ec7bc70a1a73eead12ca35c1ec3 | 84f0410687c7d693620e48b2f3b3354150fefb74 | refs/heads/master | 2020-12-01T08:40:28.856034 | 2019-05-20T03:53:42 | 2019-05-20T03:53:42 | 67,459,164 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,185 | r | ModBalsMassBoth.R | library(ggplot2)
library(lme4)
library(nlme)
library(lsmeans)
library(lubridate)
library(multcompView)
library(car)
setwd("D:/Iowa State University/Debinski Lab/Nectar data/MAL")
balssug15 <- read.csv("nectar analysis/data files/balssugar15.csv", header = T)
balssug16 <- read.csv("nectar analysis/data files/balssugar... |
0bc4a7ecabbfa9fe307a3da63356a74fb56cad69 | dab05df8a6ddf8947638c2bc2c3b5946d13771e2 | /R/download.R | 0bf765fb47c3ede43cb617fc797c2a0331e16e8d | [
"MIT"
] | permissive | tpemartin/econR | 2011047b7ef100b27fffd99148a7698ce7f99930 | 5df4fd5bf61b417b9860b3efc7ff20339e694fe4 | refs/heads/master | 2023-09-05T03:34:20.354596 | 2021-11-23T12:22:42 | 2021-11-23T12:22:42 | 335,521,237 | 0 | 4 | null | 2021-03-17T07:18:16 | 2021-02-03T05:48:23 | HTML | UTF-8 | R | false | false | 1,051 | r | download.R | internalData <- function(){
Download = list(
googleShareLink=googleLink_download
# dropboxLink=NA
)
}
# helpers -----------------------------------------------------------------
#' Download Google drive shared link to a destination folder
#'
#' @param googleSharedLink A shared link
#' @param destfolder A... |
2f965df7bd90d2d96bec02af95962d48d1453c29 | b42355f824cc5777d016380bd7cdc9e352f2179e | /R/postal-package.R | 69d4a7c28923332573893dcee6a1264cc2fa6878 | [
"MIT"
] | permissive | aedobbyn/postal | 541932150555d0894fcf1b3f0868e71db5ba0a0e | cac6491034514fb17dc78ff2e8e2582a1d0802a4 | refs/heads/master | 2020-03-20T03:30:42.266004 | 2019-02-02T17:23:01 | 2019-02-02T17:23:01 | 137,148,777 | 21 | 2 | null | 2018-08-20T03:11:56 | 2018-06-13T01:54:46 | R | UTF-8 | R | false | false | 507 | r | postal-package.R | #' Fetch mail information and zones from USPS
#'
#' Calculate shipping rates and times for packages and get the USPS zones corresponding to 3-digit and 5-digit zip code pairs.
#'
#' Contributors:
#' \itemize{
#' \item Amanda Dobbyn
#' }
#'
#'
#' To get postage information, use \code{fetch_mail}.
#' To get zones, use \... |
1920a4383790f88641ccb1f34904daf5107e64a6 | 49ff0bc7c07087584b907d08e68d398e7293d910 | /mbg/mbg_core_code/mbg_central/LBDCore/R/compile_polygons.R | 5993a779028450db27d45a731a059f8a3b45f9bc | [] | no_license | The-Oxford-GBD-group/typhi_paratyphi_modelling_code | db7963836c9ce9cec3ca8da3a4645c4203bf1352 | 4219ee6b1fb122c9706078e03dd1831f24bdaa04 | refs/heads/master | 2023-07-30T07:05:28.802523 | 2021-09-27T12:11:17 | 2021-09-27T12:11:17 | 297,317,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,018 | r | compile_polygons.R | #' @title FUNCTION_TITLE
#' @description FUNCTION_DESCRIPTION
#' @param this_nid PARAM_DESCRIPTION
#' @param estimates_raster PARAM_DESCRIPTION
#' @return OUTPUT_DESCRIPTION
#' @details DETAILS
#' @examples
#' \dontrun{
#' if (interactive()) {
#' # EXAMPLE1
#' }
#' }
#' @rdname compile_polygons
#' @export
compile_pol... |
1ed2044f559d599b85fb3de36ea695b9fe3ae27d | 0732213947df3a08c33d7414ea1e1dd461c142e7 | /ch10_tibbles/tibbles.r | 19c4ec8af3aeee6f600eec34437489fbae7405c8 | [] | no_license | arpitag1/R-for-data-science | ea3c580dd8288a1bb368c5aba14911785bec387b | f09fb8ebb9f44a0bec242126de8b3cdfe9ef5bc1 | refs/heads/master | 2022-02-08T23:37:06.525461 | 2017-09-29T06:51:16 | 2017-09-29T06:51:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,308 | r | tibbles.r | # tibbles
# use tibbles instead of traditional data.frame in R
vignette("tibble")
library(tidyverse)
as_tibble(iris)
# 10.2 creating tibble ----------------------------------------------------
df1 = tibble(x=1:3,y=list(1:5,1:10,1:20))
df1$y
tibble(
x = 1:5,
y = 1,
z = x^2 + y
)
tb <- tibble(
`:)` = "smil... |
34d484ae74168615c21ebd7a606463522893b412 | 44670272d87d705f461abcf365c88847e7b1b69c | /R/listing.R | 6995e18a7a05db3801cc0ff32ee4987e190b221b | [
"MIT"
] | permissive | npechl/empdata | a4473bea060ab749a6909487c9535f17186f1cdf | d924d0a171ce1bb8f2fc5ff971e71816458a8da5 | refs/heads/master | 2023-08-31T17:50:14.777493 | 2021-10-12T10:13:55 | 2021-10-12T10:13:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,127 | r | listing.R |
#' Title
#'
#' @return
#' @export
#'
#' @examples
#'
list_datasets <- function() {
message(c("emp.data.2k90bp:\t", "a dgCMatrix object containing 90-bp microbial sequences and their corresponding score values across 2,000 samples"))
message(c("emp.data.2k100bp:\t", "a dgCMatrix object containing 100-bp micro... |
dcb2c36fe741bc0cf5f7791bfd674265f05076b6 | 8822932e19293117812ee9826a87b1a26111fe2a | /R/paged_spectro.R | 87661248baf2486462d2e0e4aa44da7e0241944a | [] | no_license | Louis-Backstrom/dynaSpec | 98732f5af01bcb29570b18b9c3f188635612cea9 | 0ad679fb9c753ea64167b1f14949e393273cea8e | refs/heads/master | 2023-09-04T00:11:17.564530 | 2021-10-26T09:28:45 | 2021-10-26T09:28:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,723 | r | paged_spectro.R | #' Make a paged dynamic spectrogram similar to spectral display in Adobe Audition
#'
#' This function works on an object generated with \code{\link{prep_static_ggspectro}}, an alias for prepStaticSpec().
#' Video generation is very time consuming, and all the desired spectrogram parameters should be set
#' in the prep... |
b3b7026cd59ebd5d4f2a9c34ed15bc31b389d061 | 9b05876e4c76fe8e6c165e04567d4837ec06afdd | /inst/scripts/scratch.R | 71024cef4a6bc8b5be1a8b3e056611ff6a3426a1 | [
"MIT"
] | permissive | epiforecasts/covid19.track.severity | fbb67fcafce8b9345f40d865a7a9653923e36c97 | 01616e64dd3dbb39916ed25f3a82b4dbc15c6420 | refs/heads/main | 2023-06-11T00:10:33.011609 | 2021-07-01T19:34:56 | 2021-07-01T19:34:56 | 337,206,377 | 0 | 0 | NOASSERTION | 2021-06-30T17:25:50 | 2021-02-08T20:52:24 | R | UTF-8 | R | false | false | 400 | r | scratch.R | # load observed data
observations <- merge(primary, secondary, by = c("date", "region"))
observations <- observations[date <= forecast_date]
observations <- observations[!is.na(primary)][!is.na(secondary)]
if (!is.null(obs_weeks)) {
observations <- observations[,
.SD[date >= (max(date) - lubridate:... |
3fe996431928caa596aa3d56d198117bbdb428c7 | 5188655b6d390ff0fd9c194e88599b959318bec1 | /models/seq.qdr.b.JAGS.R | 6fa1bd23122fc8237698528f6f0eb80f72060762 | [] | no_license | NErler/TimeVarImp | fadc768e7d884a1885b4c374dc7e22dda03733b4 | be8eec265088646d1cb473645d060e64400ce4b2 | refs/heads/master | 2021-01-22T03:49:37.025784 | 2017-06-20T13:51:28 | 2017-06-20T13:51:28 | 92,407,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,086 | r | seq.qdr.b.JAGS.R | model {
for(j in 1:T){
# Linear mixed effects model for y (and x)
y[j, 1] ~ dnorm(mu.y[j], tau.y)
y[j, 2] ~ dnorm(mu.x[j], tau.x)
mu.y[j] <- inprod(b[subj[j], 1:2], Z[j, ]) + beta[3]*y[j, 2] + beta[4] * pow(y[j, 2], 2)
mu.x[j] <- inprod(b[subj[j], 3:4], Z[j, ])
}
# Priors for the cov... |
f9de6392e9de87750efbe380790bea88bdcbfea7 | 0269891a7828ad264c515a679435f4dca723833e | /exploratory.R | 4418d0d36eedab66ca774163705e6e35163e514e | [] | no_license | lenkasaka/Rukol | bc3179bea56bb1b255354805ab5ca4774662be83 | 003a6808e2bf59ce9558b32b5e600a77dfaee6e1 | refs/heads/main | 2023-01-19T16:49:16.894325 | 2020-12-03T11:30:53 | 2020-12-03T11:30:53 | 302,658,928 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 706 | r | exploratory.R | ## Assignment 1
# basic exploratory analysis
library(xlsx)
library(tidyverse)
traindata <- read.csv('train.csv',1)
View(traindata)
summary(traindata)
ggplot(traindata, aes(x=SalePrice)) +
geom_histogram()
#correlation for numeric variables
x<- traindata$SalePrice
y<- select_if(traindata,... |
f70100afcc529103dc15ad2af27bbd9c69574011 | 4378bae11ae1d6c7c319f61527bc90e3838b2f5f | /code/dia_28.R | 48f0aa712dec1a859d9d369118fe3f898fc235b6 | [] | no_license | Daniel795-lab/desafio_30_dias_de_graficos | 763859a8cbb93df3c03d1a2ab469541d8e18e71f | f6d7377c4ebff646a57c9daa117687a733c4d191 | refs/heads/master | 2022-10-25T17:59:50.028021 | 2020-06-10T08:42:50 | 2020-06-10T08:42:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,742 | r | dia_28.R | library(rjson)
library(tidyverse)
library(circlize)
# Parametros
twitter_dim<-list(width=unit(13/2,"cm"),height=unit(6.5/2,"cm"))
# Cargar datos y convertir en data frame
datos_json <- fromJSON(file = "../datos/flujo_migracion_2018.json")
json_parser<-function(x){
if(length(x$Data)>0) {
res<-data.frame(origen=... |
bdec91f828a59ae7d4e18ee44f7621b5d6419e5d | 1db5084d33ce23cfc7031509e5e9266b0d8ae07c | /vignettes/cell_segmentation/step9_clustering/fsom_clustering.R | c619ab684a6e962071d2a2851a704e003a4acd2d | [] | no_license | Kaestner-Lab/T2D_IMC | 6140fcf1d9ee0fd6aa5544253fb9171d77ebc478 | 3802926dd85a1f1cbbb91aec8bd616161311b211 | refs/heads/main | 2023-04-10T06:58:46.108000 | 2021-11-05T17:25:13 | 2021-11-05T17:25:13 | 375,136,919 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,733 | r | fsom_clustering.R | rm(list = ls())
library(ggplot2)
library(reshape2)
library(FlowSOM)
home_dir <- "/Users/wuminghui/MYDATA/Data0803/"
setwd(home_dir)
marker_dir <- "Cluster_marker.csv"
input_dir <- "normalized/data_norm.rds"
output_dir<- "clustering/"
dir.create(output_dir)
output_filename <- "clustered"
mydata <- readRDS(input_dir)
ma... |
ec96adeca032672d01b0aee90ff4bd7846ffec90 | 3b5965101b46f89d6317c986c0bf40688b33bf32 | /2009_R_pl_Silkworm/PCA/R_code/FIG-PCAfun-27-auto.R | 7b97be7b99167c3b2c044dbf6ab0a0c5ea2857aa | [] | no_license | celinesf/personal | e1ea370a1f5914b00ea32f78943d4f1b0512eaa3 | d844b3597636930ce255aca2901e95063139f42e | refs/heads/master | 2022-07-12T13:15:53.420456 | 2021-06-17T07:46:24 | 2021-06-17T07:46:24 | 13,597,376 | 0 | 0 | null | 2022-06-25T07:27:19 | 2013-10-15T17:49:08 | HTML | UTF-8 | R | false | false | 4,875 | r | FIG-PCAfun-27-auto.R | rm(list = ls())
#columns are snps (0,1,2)
#rows are individuals
eigenstratcel<-function(chr){
name=paste("X",chr,sep="-") #get X matrix
X=read.table(name,stringsAsFactors = F)
E<-eigen(X)
name=paste("SNPIND",chr,sep="-")#get info for sign
info=read.table(name,stringsAsFactors = F)
snp=info[1]
ind=info[2]
mu<-(sq... |
c3d7bdb2d925a84381280ecdc59f0fb8728e353f | c22f7c83f03fe3f386460294de7a9bd407cb1c5a | /Causes-of-death.R | 0d4fbc5afea218ba624822b244a7e4ee700bce7c | [] | no_license | meltrn/3361-Coding | d8c821ef53a9c56d7dc5ba32486cad2efc32a391 | 2a803f31947ce88bc3406f2cc8c79d69869f0e1e | refs/heads/master | 2021-05-21T14:51:43.707535 | 2020-04-03T11:22:10 | 2020-04-03T11:22:10 | 252,686,955 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,020 | r | Causes-of-death.R | #causes of death in France 2001-2008
# Melissa Tran
# created: 1/04/2020
-------------------------------------------------------------------------------------------
#load packages
library(tidyverse)
# working with data ------------------------------------------------------------
data <- read_csv("CausesOfDeath_France... |
d6c929fba2ca5eaf47f5613ce7a22ef53eeb7d99 | 3a649ffa4f93b5ff1d9250baa0d59105d0d252ee | /MakeMetPlots.R | ba68c761ce8973cb8093bd8cb4ed1527db85a49e | [] | no_license | dgianotti/NearestMetStation | cacb2d8eeecb0b0ce1d7bc004c0996b41fc9cded | 29a90bc7c560e61d3f6788354fb9a36c25570903 | refs/heads/master | 2016-09-05T11:20:50.126368 | 2014-02-28T07:02:24 | 2014-02-28T07:02:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,796 | r | MakeMetPlots.R | # Make some quick figures from Master+Met data and do some simple analysis.
# Load some required packages:
loaded <- require("maps")
if(!loaded){
print("trying to install package maps")
install.packages("maps")
loaded <- require("maps")
if(loaded){
print("maps installed and loaded")
library(maps)
}
... |
fdaf4f9ba3fc723b575c1aa8ea5e5b837b607158 | 09805a36f805fdb1458cabe92b7683432f19549b | /plot4.R | 34750a543b85594a93dd107843f5595c7efbb100 | [] | no_license | joaomaiaduarte/ExData_Plotting1 | b6aebe5c98018913eeee619059188194d4088ee5 | 21b15b7c6dfcf604d86b37357b6db3f9be5d69ce | refs/heads/master | 2021-01-16T19:15:27.193299 | 2015-03-08T21:16:34 | 2015-03-08T21:16:34 | 31,862,088 | 0 | 0 | null | 2015-03-08T19:22:05 | 2015-03-08T19:22:05 | null | UTF-8 | R | false | false | 1,564 | r | plot4.R | #download and unzip file %may be commented if data
if(!file.exists("household_power_consumption.txt")){
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", destfile = "household.zip", method = "curl")
unzip("household.zip", overwrite = T)
}
#read data
library(data... |
172f894458b07b5ec23bd664dc0400a27206a0bf | c639cbad1939137ae9845d7a3d4d33d60bcaa038 | /man/callExecutablePy-function.Rd | 673d4b75bcddd7c11ad918a32fea3ee303155db9 | [
"Artistic-2.0"
] | permissive | lamdv/rRice | 0fbff968d5798802726078264fb78e44655b2353 | d0261f358825fb8c5fe2399d64c2ee5de3c740fe | refs/heads/master | 2021-09-14T18:40:17.762372 | 2018-05-03T16:57:47 | 2018-05-03T16:57:47 | 107,843,725 | 0 | 3 | null | 2017-12-31T17:17:31 | 2017-10-22T06:48:22 | R | UTF-8 | R | false | true | 322 | rd | callExecutablePy-function.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/linkPython-functions.R
\name{callExecutablePy}
\alias{callExecutablePy}
\title{callExecutablePy}
\usage{
callExecutablePy()
}
\value{
nothing
}
\description{
This function calls test.py which will be allow to all python file to be
executable
... |
776b7757d81040cf0a9da7c9688008b89bb649d1 | 77bf16c5cd8be1edfb5c62a433a2bc440b806915 | /TCGA/CombineScript.R | c02eb6dcfccf101123a98ec00b5751f6000e6c30 | [] | no_license | luederm/DKFZ | 5c558eda005fe792d2e0152bf152723b9274eb26 | bd5d71a8592da5c126048fd1faf40ba4e1065e5a | refs/heads/master | 2020-12-24T19:04:31.098790 | 2016-06-02T08:24:41 | 2016-06-02T08:24:41 | 59,029,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,503 | r | CombineScript.R | # @author Matthew Lueder
# @def Combines clinical and gene expression data from TCGA
# Make sure expression data was collected using HG-U133 Plus2 platform. This script uses justRMA to normalize
# Set this to base directory crreated when instaling + extracting TCGA data
setwd("C:\\Users\\Matthew\\Desktop\\DKFZ\\TCGA\\... |
ff4ee4ebae81e3782b22088a23690e07b84316aa | 29585dff702209dd446c0ab52ceea046c58e384e | /dlmap/R/nmrk.dlcross.R | 5d3af847866f376395c3d676ec40aef43a0b4aaf | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 65 | r | nmrk.dlcross.R | nmrk.dlcross <- function(object, ...)
{
nmar(object$map)
}
|
cb30425d16f2ba19eb67d36da6ddd419b84e240d | c4522a72b9543374d9f6b74bd387a071490348d8 | /man/siddat.Rd | 438b3044af1f2f2b728fd48b24b74be04e6e3402 | [] | no_license | cran/SCCS | 8aab25b4cf8b2e547369a71d3b3508e25147667c | aa0e7c0a549f67ba7017712f13cdbe5e529c852b | refs/heads/master | 2022-07-07T05:02:30.814331 | 2022-07-05T13:20:09 | 2022-07-05T13:20:09 | 133,012,639 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 915 | rd | siddat.Rd | \name{siddat}
\docType{data}
\alias{siddat}
\title{Data on hexavalent vaccine and sudden infant death syndrome (SIDS)}
\description{
These simulated data comprise ages in days at hexavalent vaccination and SIDS in 300 cases.
}
\usage{siddat}
\format{A data frame containing 300 rows and 5 columns. The column na... |
ef267c57e42182236722e925b655b2ce0220e32a | c93106b682e33c6a46b058f6c0ae8ab54d6e7827 | /single_subject/scripts/make_conditions.R | a510f08eb93483ec4839db5459809b8cf2d0adf5 | [] | no_license | jdgryse/fROI_consistency | f3786ea677391e48ca01be6a5434d88b3f4c23ec | 003262ac37ebbc52312faff591c539a9b053d5e2 | refs/heads/master | 2020-06-01T11:24:51.906287 | 2019-06-07T15:00:20 | 2019-06-07T15:00:20 | 182,058,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 884 | r | make_conditions.R | ##########################################
## CONDITIONS GONZALEZ-CASTILLO
##########################################
###MAXIMIZED LR
percval <- c(60,75,90,95
kval <- c(0.88,1.5,3.68,8)
perc <- rep(percval, each=length(kval))
k <- rep(kval, times=length(percval))
conditions <- as.data.frame(cbind(perc,k))
colnames(... |
79e2d6fb4b89d416fe141a7999a05ffa69478f29 | 025083fb3f57193e94ea887ad8ee16dc41ac275e | /man/missing_dates.Rd | 4d85fd6f88c5e47c675de334f1100b2e0d113eb5 | [] | no_license | bridachristian/DataQualityCheckEuracAlpEnv | 891671f84e6036c60d7733bfecce3fc9dd50ddc8 | 8941a20caf657cbc66e7f38ef5d553665457feb8 | refs/heads/master | 2020-08-26T20:17:15.864913 | 2019-10-23T15:08:38 | 2019-10-23T15:08:38 | 112,318,390 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,045 | rd | missing_dates.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/missing_dates.R
\name{missing_dates}
\alias{missing_dates}
\title{This function detect missing dates in a data.frame timeserie and fill with rows containing NAs}
\usage{
missing_dates(DATA, DATETIME_HEADER = DATETIME_HEADER,
RECORD_HEADER =... |
68c9cc93af83b098d11b18acb1e5df16ab4391e6 | bc0e9a47ba0846c2ac0c04d8809883033a9dbb2a | /serie_temporelle.R | e66c307740c8d7f0668a4b67651993b7efcf03f5 | [] | no_license | Zaydy/stage_M1 | 608acdccc72b445fb100c6b0951e84c0481e08bf | 7a729c1c3f4c9eed8f8be921f63b32edbe66c566 | refs/heads/master | 2020-04-11T11:40:21.468145 | 2018-12-14T08:41:26 | 2018-12-14T08:41:26 | 161,755,885 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,870 | r | serie_temporelle.R | #### Création séries temporelles ####
# Installation et chargement des packages
if (!require("pacman")) install.packages("pacman")
pacman::p_load(pacman, data.table, dplyr, surveillance, RMySQL, stringr, ggplot2, dygraphs, xts)
## Données : SAU, DEP: Paris (75), C_AGE : 6 (tous), RS : 40 (Ischémie myocardique)
... |
44ed9d1d09b17428174bdfc447edcf58881c67cc | 4af0f7862da50b8a20b8554260285ad32e3840cf | /scripts/ch02/is-element.r | bd149419b5a9121b9f2d0e6d05da0d7c16830ba8 | [] | no_license | StefanoCiotti/MyProgectsFirst | aefd345971c5578dfbec7662d11c3f368d6c17b7 | 04794b634b9384da62ae6ba926fd59ca5a7d3d13 | refs/heads/master | 2020-04-03T16:35:38.941185 | 2018-10-30T14:05:55 | 2018-10-30T16:57:26 | 155,099,726 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,235 | r | is-element.r | op <- options(width = 60, stringsAsFactors = FALSE)
(begin.patients <- paste(LETTERS[1 : 6], '.', ' Smith',
sep = ''))
set.seed(21)
(begin.weight <- round(rnorm(6, 250, 25)))
begin.experiment <- data.frame(name = begin.patients,
weight = begin.weight)
begin.experiment
(middle.patients <- paste(LETTERS[7 : 9], '.',... |
a26a3523a7d16a35f6e08fa91db686ee0a1bb957 | fbd8b4abf8e3abefa88544b2d45decb53b061c70 | /R/lc_IP_bfs.R | 8b90134d4bdc5587bd5482aa86d12c4acfd9dadb | [
"MIT"
] | permissive | bbcon/Get-Monthly-Data-Industrial-Production-from-BFS | 9262273f215d2aa569165904ba7ba6cad2be7437 | b8d7eb2cfc34098df4091cc7d55c41bee64dc4cd | refs/heads/main | 2023-03-01T00:10:01.842028 | 2021-02-06T14:38:46 | 2021-02-06T14:38:46 | 336,550,292 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | r | lc_IP_bfs.R | rm(list=ls())
library(tidyverse)
# Source functions
source("./R/utils/f.getIP.R")
#Download IP (monthly) data
f.getIP()
# Rename the file accordingly
details <- file.info(list.files(recursive = T, pattern = ".xlsx"))
details <- details[with(details, order(as.POSIXct(mtime), decreasing = T))[1],] # only keep most rec... |
c10b49e42c408932bf2e1e2effd311902f395766 | e7e0ccce84c80113d7aba41458007dd42127a94c | /src/class_prep_pmsignature.R | 5c0535ea447b46b626c294e23726d2bb434518b1 | [] | no_license | halasadi/ancient-damage | ea10ea94325b66b129c1d4e9e5bf4827e5377ad2 | 51387d59d3436d796a2621d3dd72afbec48f981a | refs/heads/master | 2020-04-12T06:42:24.364980 | 2018-07-28T22:45:30 | 2018-07-28T22:45:30 | 62,754,123 | 2 | 0 | null | 2016-09-22T01:13:50 | 2016-07-06T21:20:43 | HTML | UTF-8 | R | false | false | 8,088 | r | class_prep_pmsignature.R |
####### Class preparation for pm signature ####################
#### This script is aimed at creating the MutationFeatureData class
#### from the Lindo2016 data that we shall use for pmsignature model.
signature_counts <- get(load("../summary_data/signature-counts-clubbed-Lindo2016.rda"))
signature_set <- co... |
02584f36129a4549933bd288cf3d1ae6bbafcc58 | d675b056cc4697b8b84d082dfa771c5af80260f8 | /man/jaccardOnly.Rd | 84aa6f3f134b2fa519164232e85803aba06a7c70 | [] | no_license | ADotDong/RankBindingSimilarity | a6d2ad0be61c0ccccf2713ac294b2ae865bdda1c | 43ed622f9f1bd3d8c129e4824c42f959dd29b64f | refs/heads/master | 2023-01-10T04:44:48.734634 | 2020-11-05T04:46:45 | 2020-11-05T04:46:45 | 295,546,988 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,043 | rd | jaccardOnly.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/jaccardOnly.R
\name{jaccardOnly}
\alias{jaccardOnly}
\title{Ranks bed file similarities without significance}
\usage{
jaccardOnly(bed1, folder_dir)
}
\arguments{
\item{bed1}{The file path string of a query bed file to be compared to the datab... |
0c386b4cd7fcf6a5adec676dd98f427c3b2f4a12 | 5fcf46719eaf96868b9517c0c6bfb3dd717b62e3 | /uploadHelper.R | 84e262834865b50f2d140ae5fc71ec69024f9f96 | [] | no_license | mi-erasmusmc/PredictionLibrary | d08059dcc97ddf4b8766b4961b037e7ea72bbf75 | 5ca4f08cf881a23e9d6a1b4fe950e327e8d0fc91 | refs/heads/main | 2023-04-17T21:58:25.056445 | 2021-05-03T14:59:31 | 2021-05-03T14:59:31 | 331,942,090 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,466 | r | uploadHelper.R | library(DatabaseConnector)
library(DBI)
library(odbc)
# dataLocation <- "~/git/PredictionLibrary/dataHoldingFolder/Ross D. Williamstestmodel4/"
addUserDevToDatabase <- function(dataLocation, con){
#todo: do a bunch of checks lol
inputdata <- readr::read_csv(file.path(dataLocation, 'inputdata.csv'))
target_j... |
9896ebe9c0bb9ab0b229a58ad9cfc7d0155967d7 | 5e5e66108dda230d3ae4593ed36f68cf00a8b9e5 | /man/print.elephant.Rd | 0ebd2db8a44e91c3fed9ffb4f044b191bb708def | [] | no_license | moodymudskipper/elephant | a209ed32752c21c01f1b80b782d6a2293ad1b7e9 | 2ae07a4c7b3cf7dd9115a78fe434b76535e16903 | refs/heads/master | 2022-09-22T18:51:22.771303 | 2020-06-02T13:08:17 | 2020-06-02T13:16:51 | 268,387,152 | 15 | 0 | null | null | null | null | UTF-8 | R | false | true | 465 | rd | print.elephant.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/elephant.R
\name{print.elephant}
\alias{print.elephant}
\title{Print elephant object}
\usage{
\method{print}{elephant}(x, ..., print.value = TRUE)
}
\arguments{
\item{x}{an object used to select a method.}
\item{...}{further arguments passed... |
2bf998a5f43599d1ba00d554f37982f873ebea58 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bingat/examples/getNumEdges.Rd.R | 76b48c7874230fc2d731f8db8767e9b8224a4117 | [] | 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 | 271 | r | getNumEdges.Rd.R | library(bingat)
### Name: getNumEdges
### Title: Get the Number of Edges in a Graph
### Aliases: getNumEdges
### ** Examples
data(braingraphs)
brainnodes <- getNumNodes(braingraphs, "adjMatrix")
brainedges <- getNumEdges(brainnodes, "adjMatrix")
brainedges
|
6898647884e24c0f00f3a938a29b73d591c40962 | f997169854672f36810e793a2932313f11b52139 | /R/superbarplot.R | 6bd44bee8111c95d755c477ae9a025233e2c5a27 | [] | no_license | jverzani/UsingR | 7e3fcbddae97a0ecd0268a9068af7a70ecc82907 | d1cd49622b6e85cf26710c5747423b4ba0721ef6 | refs/heads/master | 2021-01-09T20:53:56.202763 | 2020-07-29T16:53:55 | 2020-07-29T16:53:55 | 57,312,995 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,273 | r | superbarplot.R | ##' extended bar plot
##'
##' @param x data
##' @param names names
##' @param names_height height of names
##' @param col color
##' @param ... passed on
##' @return NULL
##' @export
superbarplot <- function(x,
names = 1:dim(x)[2],
names_height=NULL,
... |
95d0b0d32b69cb4e20ea848f57c4d9e6ac09d60c | 04aa2074e718d6d41225f07be8bbeb38bbd9e478 | /man/quick_C.Rd | c5a89669f6fcdb467f1b3436e79b38824ed5a627 | [] | no_license | cran/activegp | 510a29a02da349977980c85f77ad414f43f026ef | f553dde66e7cded8a5f5bf5c8854dff023c80b14 | refs/heads/master | 2022-07-06T13:22:57.223613 | 2022-06-27T20:00:02 | 2022-06-27T20:00:02 | 253,630,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,104 | rd | quick_C.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{quick_C}
\alias{quick_C}
\title{Covariance of kernel computations}
\usage{
quick_C(measure, design, Ki, Kir, theta, xm, xv, ct, verbose)
}
\arguments{
\item{measure}{An integer giving the measure of integration. 0 for Lebe... |
f59bcf2b96ebea35c7a5fafae8e927395318b26e | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Probability_Random_Variables_And_Stochastic_Processes_by_Athanasios_Papoulis_And_S_Unnikrishna_Pillai/CH8/EX8.7/Ex8_7.R | 2c9ffcabf5901dd89362c3c9de577d8670533a76 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 997 | r | Ex8_7.R | #page no. 314-315
#example 8-7
#part (a)
n=6
v_cap=0.25
x1=qchisq(0.975,6) #qchisq() is the function used to calculate Chi-square percentile value in R
x2=qchisq(0.025,6) #qchisq() is the function used to calculate Chi-square percentile value in R
c1=n*v_cap/x1
c2=n*v_cap/x2
cat("(8-23) yie... |
9ccb061a87ece26ef4c8428db639c8b9c34f90a7 | b26db26e9a6b8a612dd716757a577ac05249860e | /man/formatTime.Rd | d4330e28e6bc700c9d6c047819d65abaa117910f | [] | no_license | cran/transmission | 354fbe8fda9ed30b45f17e3370fb63999801ec77 | 8834ea811501d937e7fa2047caff5c17f193b090 | refs/heads/master | 2016-09-06T06:02:10.520540 | 2014-05-15T00:00:00 | 2014-05-15T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 313 | rd | formatTime.Rd | % Generated by roxygen2 (4.0.0): do not edit by hand
\name{formatTime}
\alias{formatTime}
\title{formats proc_time as a "hh:mm:ss" time string}
\usage{
formatTime(x)
}
\arguments{
\item{x}{number of seconds.}
}
\description{
formats proc_time as a "hh:mm:ss" time string
}
\seealso{
print.proc_time, proc.time
}
|
0caad84ae555f20fc378a8cb10e764b02a321f00 | 9eb2995d4bd17766f89fdbb56b25d7c9dc7221bc | /Project/App1.R | e1bde292251683eeac547100dffac95891a271de | [] | no_license | Kuleng/CMSC-150 | 6b15e7e52863fd4614f4789de03eed4ed1962a17 | fbecea9cb51dbd4bde0699f22a11511b14402152 | refs/heads/master | 2021-01-05T01:10:51.366379 | 2020-02-16T03:31:09 | 2020-02-16T03:31:09 | 240,825,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,027 | r | App1.R | library(shiny)
library(shinyMatrix)
ui <- fluidPage(
pageWithSidebar(
titlePanel("CMSC 150 - Project"),
sidebarPanel(
selectInput(inputId = "Method", "Please select your choice.",
choices = c("Polynomial Regression",
"Spline Interpolation",
... |
d841be51d8ad9178c7e1a3fa3b8aeb14d91a28c3 | ed437dfb67dda8ad95028298d6f9f922f4c0c5f9 | /man/rvCoeff.Rd | 83f07cecece4e6a9957b7937a64d860b6497a7eb | [] | no_license | cran/ExPosition | bda478275dce86b90750cac4bf6eda1f81c5c091 | 78d16a34a44e4a99231a4e11b132500e952b3123 | refs/heads/master | 2021-05-16T03:10:05.982127 | 2019-01-07T16:00:41 | 2019-01-07T16:00:41 | 17,679,061 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | rd | rvCoeff.Rd | \name{rvCoeff}
\alias{rvCoeff}
\encoding{UTF-8}
\title{
Perform Rv coefficient computation.
}
\description{
Perform Rv coefficient computation.
}
\usage{
rvCoeff(Smat, Tmat, type)
}
\arguments{
\item{Smat}{A square covariance matrix}
\item{Tmat}{A square covariance matrix}
\item{type}{DEPRECATED. A... |
cba8a744f2f2cd83bed4289d5337b1c689a0a3b2 | d74208b48e1595366435acfe90584036e89dd88e | /man/getNlTileTifLclNamePathVIIRS.Rd | e88f9fa9b340c2735c6cd65094e321437e5c4351 | [] | no_license | mjdhasan/Rnightlights | 85feaac20d8ed20429d95a41b59fef59e23a4cfa | f34fd986a405b1ca51d9a807849d2274f8e22d22 | refs/heads/master | 2022-11-06T18:50:41.533156 | 2020-06-26T12:11:28 | 2020-06-26T12:11:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,027 | rd | getNlTileTifLclNamePathVIIRS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getnlfilename.R
\name{getNlTileTifLclNamePathVIIRS}
\alias{getNlTileTifLclNamePathVIIRS}
\title{Constructs the full path used to save/access the decompressed VIIRS .tif file}
\usage{
getNlTileTifLclNamePathVIIRS(nlType = "VIIRS.M",
configNa... |
2a9e202baeb3adf46e958997b8bdbcbfb28894dc | a178023912345712bc876aedf70fa38df7f3202f | /OPIIF_Proc/OPIIF_Proc.R | 469da9e05ed99b6080b145df522892102b6338ca | [
"MIT"
] | permissive | IFFranciscoME/OPIIF-P16 | 256971f3fd137a233579a450d03fd61e3c4ea9b9 | aa0313a80241a7e7f87a3582343410db0fd8323d | refs/heads/master | 2021-01-20T21:46:30.700910 | 2016-02-14T20:58:52 | 2016-02-14T20:58:52 | 52,220,326 | 1 | 0 | null | 2016-02-21T18:14:00 | 2016-02-21T18:14:00 | null | UTF-8 | R | false | false | 2,247 | r | OPIIF_Proc.R |
# ------------------------------------------------------------------------------------ #
# -- Initial Developer: FranciscoME ----------------------------------------------- -- #
# -- Code: MachineTradeR Main Control --------------------------------------------- -- #
# -- License: MIT ----------------------------------... |
993e148b79f3e8efcac560a53520e7e35809c286 | 4b4d35d45f12ee0d0605db27a6c9328d93e06c52 | /20171010/regrmod_1_st.R | 2dd7c7c1167cf95174e02cd7ab741a77cc0efad9 | [] | no_license | bebosudo/ML-DA | e1332bcf31f27e4f7726c1912396ebbe27efb4a3 | 867adfd39eb3f1c6019247ddca4c9744764cd2f7 | refs/heads/master | 2022-04-18T06:13:33.496412 | 2020-03-30T21:09:11 | 2020-03-30T21:09:11 | 106,531,327 | 1 | 1 | null | 2020-03-30T21:09:13 | 2017-10-11T09:08:05 | HTML | UTF-8 | R | false | false | 1,050 | r | regrmod_1_st.R | # "regression toward the mean"
# From one generation to the next the heights moved closer to the average or regressed toward the mean.
# From the Galton study on hereditary height
# Sir Francis Galton 's parent/child height data
# from http://wienformulaer.math.csi.cuny.edu/UsingR/
# Load the library (UsingR) and d... |
9a0f9fa8f922cdf1c87eaef1b13ec5ff6c44cbfb | f5bd80b992420f43bbd62e9b4db3cb9d08d28c1a | /code/explore/S.coelicolor Superhost Data Exploration.R | b189b03bc6b42bb736e4fb5dc1723e7e07b4729c | [] | no_license | franciscozorrilla/S.coelicolor | 3309f6cd236527c85b206f9df8358f3a35950515 | 7a5d7ac832009f5ed626ed426cd80409b205f5d4 | refs/heads/master | 2021-05-03T05:10:22.626597 | 2018-03-05T14:06:05 | 2018-03-05T14:06:05 | 118,149,679 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,125 | r | S.coelicolor Superhost Data Exploration.R |
## S.coelicolor Superhost Data Exploration
# Author: Francisco Zorrilla
# PACKAGES
source("https://bioconductor.org/biocLite.R")
biocLite(c("limma", "edgeR", "piano", "biomaRt", "Glimma"))
install.packages(c('tidyverse', 'RColorBrewer','snowfall','tibble'))
library(limma)
library(edgeR)
library(tidyverse) # Collect... |
1d988f3bb991957ca00cc687efeae4afe03877a1 | 259fe6446e0f059be228f95745db1aa54ad5ce31 | /R/2-layers-DeepTRIAGE.R | ff937318597d931e94c86cd89981457ddbf6baa4 | [] | no_license | tpq/caress | 9fd1c306e8f6bb23f88203f6e6329a72d4689aaa | 04386b3ab61ef9036e91ab1bbd6e42a1265b5ea9 | refs/heads/master | 2021-06-24T08:16:31.155396 | 2021-03-03T03:34:27 | 2021-03-03T03:34:27 | 202,971,472 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,826 | r | 2-layers-DeepTRIAGE.R | #' Apply a DeepTRIAGE Layer
#'
#' This function applies a variant of the DeepTRIAGE attention
#' mechanism to the incoming layer (see DOI:10.1101/533406).
#' This implementation differs slightly from the publication
#' in that all layers have the same activation function and
#' the random embedding weights are opti... |
c2dbca1b92929a4cf649d70fafe88e4432eb3a38 | 882a43935f3353a94c5d67e13f8308c04f9152f9 | /0450_data_frame.R | 79c503639fa910295becd0ab68428119d0bca480 | [] | no_license | akicho8/learn_R | a1711c6cd5f07b004b9dbccae6d681b8148c19ec | 8f0977dfe8da05d179d265a5805304b4ecbebf08 | refs/heads/master | 2021-01-10T20:39:29.459947 | 2013-06-03T15:38:05 | 2013-06-03T15:39:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,515 | r | 0450_data_frame.R | # 同じ長さを持つ名前付けされた複数のベクトルからなるリスト???
# DBの扱いと逆なのが気持ちわるすぎる。けどこっちの方が便利だからそうなっているんだろう。でもまだ利点を感じてはない。
team <- c("烏山", "太子堂", "豪徳寺")
win <- c(40, 70, 90)
lose <- c(60, 30, 10)
table <- data.frame(team, win, lose) # ここで変数名がキー名になっている(気持ちわるー)
table
table[c("team", "win")] # チーム名と勝数の列だけ取得(このアクセスのしやすさが利点???)
tabl... |
d4a7569a561d319c6711b338cbdc4e049b312769 | 16e0c39a5355479827f56268b2f26fe4654bdd59 | /TF-IDF_viz.R | c26ce50c75784122eb4ee5c463bd1055e69ebbc9 | [] | no_license | vijaysakhamuri/TextMining-Topic-Modelling | c76c2724b9f8baa34b5db404ccdc343a32564c93 | ed31851818c4e0e532aea527f7820b2670e67b31 | refs/heads/master | 2020-04-06T13:21:56.698496 | 2018-11-14T06:03:23 | 2018-11-14T06:03:23 | 157,496,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,580 | r | TF-IDF_viz.R | #############################################################
########### Visualize the tf-idf of multiple texts
library(gutenbergr)
library(dplyr)
library(tidytext)
library(tidyverse)
physics = gutenberg_download(c(37729, 14725, 13476, 5001),
meta_fields = "author")
physics_... |
8610dd60828510b40b8ab2d339276da3f73ded6b | 1641f4f3816152e0610a0faf8091b03a43c00a38 | /plot1.R | 2c90c4189344683cd8288cde23191f24fc631404 | [] | no_license | KayleeWissink/ExData_Plotting1 | 03634a54731f2ae2c3227b37693b6ccdf29d0f84 | 55d3fb94e98cb0df210c07f26e8b8af92cdb184f | refs/heads/master | 2021-01-21T06:10:20.255245 | 2016-01-07T20:31:05 | 2016-01-07T20:31:05 | 49,224,874 | 0 | 0 | null | 2016-01-07T19:13:29 | 2016-01-07T19:13:29 | null | UTF-8 | R | false | false | 708 | r | plot1.R | ## Load Data
data<- read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?", nrows=2075259, check.names=F, stringsAsFactors=F, comment.char="", quote='\"')
data$Date <- as.Date(data$Date, format="%d/%m/%Y")
## Subsetting the data
data_subset <- subset(data, subset=(Date >= "2007-02-01" & Date ... |
36367ac3c317ae6e028576fed33e57128bddb4e1 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.media.services/man/medialive_create_multiplex.Rd | 775ce49998e31d7a59b590c5f0b3a17660300d52 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,876 | rd | medialive_create_multiplex.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/medialive_operations.R
\name{medialive_create_multiplex}
\alias{medialive_create_multiplex}
\title{Create a new multiplex}
\usage{
medialive_create_multiplex(AvailabilityZones, MultiplexSettings, Name,
RequestId, Tags)
}
\arguments{
\item{A... |
d50c1dd5d28672f1ec34a8f7a49e01161cf501c4 | 9d3b2f6f3c4ec2a34365f3c9040d11e764bfe006 | /add_dseq_annotation.R | f5fa0b4dcfb635a2778449aa8dc4688cb02fee6b | [
"MIT"
] | permissive | jfnavarro/AD_POLB_ST | 481b0ab7aab2be24eb61c653f40698154c79b3eb | 5e072094a9f53947ecbbc576ac904e5aca00d0a5 | refs/heads/master | 2022-12-16T10:10:27.828093 | 2020-09-21T12:42:43 | 2020-09-21T12:42:43 | 291,464,183 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 730 | r | add_dseq_annotation.R | #!/usr/bin/env Rscript
# give paths to DESeq output tables
library(org.Mm.eg.db)
addExtraAnnotation <- function(table) {
table$ensembl = mapIds(org.Mm.eg.db, keys=rownames(table), column="ENSEMBL", keytype="SYMBOL", multiVals="first")
table$name = mapIds(org.Mm.eg.db, keys=rownames(table), column="GENENAME", keyt... |
6909d078f9fd2d5d30ae14892245f8859884477c | cea51b60f43efac0959bb6e52749f608e1eddd13 | /archived/runner-now-NLScompare/test_files/Isom_1.R | 6f70f79d0e797b63d6ff8b37a10b9f2ac2b81a6e | [] | no_license | ArkaB-DS/GSOC21-improveNLS | 6bd711bca3ad1deac5aff3128cfc02e0237915a9 | f33839f8ceef78591ee296c6e515cd52339bb2b0 | refs/heads/master | 2023-07-16T21:07:33.900548 | 2021-08-22T05:41:26 | 2021-08-22T05:41:26 | 398,542,725 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,583 | r | Isom_1.R | # NLSProbName: Isom_1.R
# NLSProbDescription: { The Isom data frame has 24 rows and 4 columns from an isomerization experiment.
# The four columns are:This data frame contains the following columns:
# `hyd`: partial pressure of hydrogen (psia).
# `n.pent`: partial pressure of n-pentane (psia).
# `iso.pen`: partial pres... |
79305c86a7f99462f0191bd22a5f769b42c27f5f | 483397ab64360fd9df71336118baa478d5f07c0d | /R/data.R | bc85877f7f41eb4ebfa2d87a0d6980c59962646f | [] | no_license | cagarciae/GSA.UN | 34de48c4fad0318ea8b94af5fe8c8a81d653a85d | b09778c8cf40ba93fdd552ebfbeea2062d0bd1d1 | refs/heads/master | 2023-04-09T12:18:51.156839 | 2022-08-25T19:40:15 | 2022-08-25T19:40:15 | 255,471,233 | 0 | 1 | null | 2020-06-16T16:45:10 | 2020-04-14T00:24:59 | R | UTF-8 | R | false | false | 2,102 | r | data.R | #' @title Example - parameters names
#'
#' @description 10 parameters names.
#'
#'
#'@format A \code{value}
#' \describe{
#' \item{pp_names}{a vector of characters}
#' }
#'
#' @references Arenas-Bautista, M. C. (2020). Integration of Hydrological and Economical
#' Aspects for Water Management in Tropical Regions... |
68162da6ef6d133c2c572db1e7d4b688c60f50c6 | 4be9593ef80a8e4eb6d802d9975d3b57b1ee83fb | /EMR_long.R | b5b70d82a123bfefeac1efcd5f3dfd0fe467cc85 | [] | no_license | silviapineda/PTB | 96f795efcc1a07dba72e5ec3fdd1ad0aa1271252 | a907c8c1c5f2a0434b6c11c8b862d453a598875f | refs/heads/master | 2020-03-11T21:55:40.625723 | 2018-10-03T15:44:00 | 2018-10-03T15:44:00 | 130,278,055 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,671 | r | EMR_long.R | rm(list = ls(all = TRUE))
x<-date()
print(x)
###########################################################################################
### PROJECT: EMR PTB
###
### CITATION:
###
### PROCESS:
###
### DESCRIP: Analysis of EMR data for PTB
###
###
### Author: Silvia Pineda
### Date: April, 2018
###... |
ba671ebd5f5fa24041313dd955edc847211549ba | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8683_0/rinput.R | d0aa7a1cd48e0386d60c4eef9bc09d6d53c65ae8 | [] | 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("8683_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8683_0_unrooted.txt") |
ec8f57ea6725158cfd1157812f5d786d2d8e15a7 | 775ad47961377bc0deb2aeb7d524bc4d1544e6e6 | /plot4.R | 634ba5c5f5f51257db7aacbe350c89aa265e2324 | [] | no_license | mcatalano/ExData_Plotting2 | 7678ad25d84d405fee5d04818b532ff33279468b | 00e6b2b046235648f05b77817a014be273fa18a4 | refs/heads/master | 2021-01-11T08:33:29.365743 | 2015-03-11T21:44:09 | 2015-03-11T21:44:09 | 32,041,587 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 909 | r | plot4.R | ## Load packages
library(data.table)
library(ggplot2)
## Read data files; store NEI as data table
SCC <- readRDS("Source_Classification_Code.rds")
NEI <- readRDS("summarySCC_PM25.rds")
DT <- data.table(NEI)
## Retrieve SCC codes for entries with 'coal' in 'Short.Name'
SCC_codes <- SCC[grep('[cC]oal', SCC$Short.Name),... |
da5843f792b5f1d6bdac3cae8e5421c904ec8189 | 14186d0abe0cb632c3c5795e30467b6cd2472c57 | /Taxonomic_profile.R | 57fb3ba63a7692da907d92e18b51f227b0ecc098 | [] | no_license | AnneChao/iNEXT.4step | cb483b070e35c5681118291ac4b6b250747028fd | 1f4035774d1a9e6f6fdace03813fabee1c98b6ef | refs/heads/master | 2022-11-17T00:41:05.090964 | 2020-06-29T05:39:49 | 2020-06-29T05:39:49 | 275,739,070 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,290 | r | Taxonomic_profile.R |
Diversity_profile <- function(x,q){
x = x[x>0]
n = sum(x)
f1 = sum(x==1)
f2 = sum(x==2)
p1 = ifelse(f2>0,2*f2/((n-1)*f1+2*f2),ifelse(f1>0,2/((n-1)*(f1-1)+2),1))
r <- 1:(n-1)
Sub <- function(q){
if(q==0){
sum(x>0) + (n-1)/n*ifelse(f2>0, f1^2/2/f2, f1*(f1-1)/2)
}
else if(q==1)... |
f6e71482013f83887f7ef564b57d20c66d223ff1 | 72052673e90cdd9391fd52be11b5da93441ddf43 | /DAT204x/DAT204x/02.Vectors.R | 4630abf23cba8a294e16591479b8a3d8322662fe | [] | no_license | KrishnaGMohan/Projects-R | d348d387d38bf5a9143d26391e9672a6db2e9bdf | 337d3601c4deb1285b969248cd7facc8f98e0e58 | refs/heads/master | 2021-01-24T07:31:19.783812 | 2017-08-07T20:42:32 | 2017-08-07T20:42:32 | 55,706,529 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,319 | r | 02.Vectors.R | #---------------------------------------------------------------------------------------------
#
# Sequence of data elements of the same basic type
#
#---------------------------------------------------------------------------------------------
numeric_vector <- c(1, 10, 49)
character_vector <- c("a", "b", "c")
# ... |
e2c7b31427e8e1900ad15c6045f9e863d95c2c23 | 5c2350f172e1a7b7f61e1047d515357735e5895e | /R/pkg_options.R | db98355b7b4418ffd937b0a1bb86931305578adf | [
"CC-BY-4.0",
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | richarddmorey/Morey_Hoekstra_StatCognition | 4da5b3f205d1038b850fa701354bd59b62a05eed | 373b9ac75219d84d7b5a6454296e80aa4f34ea54 | refs/heads/master | 2022-12-06T14:50:55.198542 | 2022-11-30T18:23:58 | 2022-11-30T18:23:58 | 189,821,493 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 840 | r | pkg_options.R | # Variable, global to package's namespace.
# This function is not exported to user space and does not need to be documented.
MYPKGOPTIONS <- settings::options_manager(
ggplot_family = "Lato Light",
base_family = "lato"
)
# User function that gets exported:
#' Set or get options for my package
#'
#' @param ...... |
0c174adf36a0cf24b11904c5298edc4ae7c19c6f | fff2d145dc2160fad90eec9d780d503b8868d5b2 | /scripts/model_DecisionTree.R | 2e4abd1bcedfa6b50a162eaf3eb11bce6449ab7a | [] | no_license | Sponghop/dalex_tidymodels_example | dbbb17354b575118dc27eeb195ba1c8121da1f3a | 81ac52dad2bb83c230af599d7a49ee8b0c08f3e8 | refs/heads/master | 2022-11-21T23:41:21.717657 | 2020-07-31T10:17:25 | 2020-07-31T10:17:25 | 284,003,676 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,084 | r | model_DecisionTree.R | ##Model Training/Tuning Decision Tree
tree_mod <-
decision_tree(tree_depth = tune()) %>%
set_engine("rpart") %>%
set_mode("classification")
ml_wflow <-
workflow() %>%
add_recipe(mod_rec) %>%
add_model(tree_mod)
ctrl <- control_resamples(save_pred = TRUE)
folds <- vfold_cv(pid_train, v = 2, repeats = 3)
gr... |
442051a0e686aff6f6dfa16ab95220904a48def4 | f742e300d0d886a2093acc43a37dc0d65cf6e877 | /man/node_locations.Rd | d8e2e72c0377ea8d533bddc59c6f5f1054f8969f | [] | no_license | cran/whitechapelR | 347608622b3828dcade330f4cf25f7c3fe4cab9e | 35986d29898717d2cc5f7343d02584af9c2a1725 | refs/heads/master | 2020-03-27T04:02:00.429566 | 2018-10-02T16:40:03 | 2018-10-02T16:40:03 | 145,906,933 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 780 | rd | node_locations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{node_locations}
\alias{node_locations}
\title{x,y coordinates of node points from the game board}
\format{A data frame with 195 rows and 4 variables
\describe{
\item{id}{An artifact of the computer vision... |
b40726076457a115f14cc5b2018da2998b94b42d | 7c0d885b9960f7adaf44e4e7db7f79b5f87d1697 | /some tests/human tissue atlas.R | 24b097a349a47d0844d30d103fede4e8bf428d46 | [] | no_license | gheger11/Comparison-of-batch-effect-correction-methods | 0990eeb3f9e63133ff203a2bb463e5f5b40a09a8 | 91a3cad82ab42e1bfc657f3c55368c0a1439bb20 | refs/heads/master | 2022-05-03T08:24:36.593085 | 2019-09-24T18:23:10 | 2019-09-24T18:23:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,748 | r | human tissue atlas.R | library(magrittr)
library(stringr)
library(purrr)
library(ggplot2)
library(ExpressionAtlas)
library(igraph)
batch_data<-"Human Expression Atlas/batch data/"
experiments<-list();for(filename in dir(batch_data)){
experiments[[filename %>% str_split("-") %>% extract2(1) %>% extract(2:3) %>% paste(collapse="")]] <- get... |
f2cf6536920e03eae6bfba650c84c09385df623a | 8da8d9e15d5294ebed03dc0bec6a7727f3a9fec1 | /3_R_scripts/3_R_script_two_point_assay/Yeaman_et_al_2010.R | a0835324a3449fbc627b6cbf8ae0e5159f5ac391 | [] | no_license | SarthakMalusareISEM/2020_04_01_SM_Temperature_niche_review | 5e4972ab37f6dd745aa0e5bfe64f46631234e045 | 7abc17f6f5269e78ff86ffd58272d7fad7c7bce6 | refs/heads/master | 2023-05-03T20:59:48.289049 | 2021-05-26T08:43:58 | 2021-05-26T08:43:58 | 370,953,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 643 | r | Yeaman_et_al_2010.R | library(ggplot2)
library(reshape)
library(dplyr)
library(ggpubr)
df<-read.table(file="Yeaman_et_al_2010.txt" ,header= TRUE,sep = " ")
df0 <- df%>% slice(2:5)
a<- ggplot(df0, aes(x=Assay_temperature, y=Mean_female,fill= )) +
geom_line(aes(group=Control_or_selection_line, color=Control_or_selection_line)) +geom_poi... |
8228a42a550c2b72e6881abdad4c403c72f364f4 | 29585dff702209dd446c0ab52ceea046c58e384e | /phenology/R/phenology-package.R | 63f8c6b889ff3f5b101da3bdaf8b61309213aa5a | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,747 | r | phenology-package.R | #' Fit a parametric function that describes phenology
#'
#' \tabular{ll}{
#' Package: \tab phenology\cr
#' Type: \tab Package\cr
#' Version: \tab 5.1 build 354\cr
#' Date: \tab 2016-05-02\cr
#' License: \tab GPL (>= 2)\cr
#' LazyLoad: \tab yes\cr
#' }
#' @title Tools to Manage a Parametric Function that Describe... |
3c2d11721f04cb577bb57fb99fec7c01868cb1d9 | dca8f298d746b2c915031bf6ed8552d67798e864 | /protein.R | 2a0a85a7c61581261d9efdb5eae349a59949e164 | [] | no_license | kozenumezawa/ccm | 63fec04fd47c2765736cd84ba66bb734638f7907 | dc2344f7c3ff94221ba66c4baf99df1daae20f4d | refs/heads/master | 2020-12-24T07:59:08.176048 | 2016-12-25T09:38:42 | 2016-12-25T09:38:42 | 73,350,988 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,955 | r | protein.R | library(rEDM)
determineEmbeddingDimension <- function(data) {
lib <- c(1, 30)
pred <- c(50, 90)
simplex_output <- simplex(data, lib, pred)
plot(simplex_output$E, simplex_output$rho, type = "l", xlab = "Embedding Dimension (E)", ylab = "Forecast Skill (rho)")
}
predictionDeacy <- function(data, Em) {
lib <... |
e71d739e7ecfbdaf9b877a231e286a6788b0ae39 | 44f71f6997183e7769ecc77391aa4bfd61c35707 | /man/SIRbirths.Rd | 52a69c3eb3cbc6b323f3fbb68776f4c0f7c607e1 | [] | no_license | ictr/shinySIR | 71bb2e76f0cce10a6548a5acc72553168c2920a6 | e42c3b9b73a1f9148c67d290d3187ab2b8745ada | refs/heads/master | 2023-03-06T22:16:25.771833 | 2021-02-22T19:22:35 | 2021-02-22T19:22:35 | 341,286,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 450 | rd | SIRbirths.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/models.R
\name{SIRbirths}
\alias{SIRbirths}
\title{SIR model with demography}
\usage{
SIRbirths(t, y, parms)
}
\arguments{
\item{t}{numeric vector of time points.}
\item{y}{numeric vector of variables.}
\item{parms}{named vector of model pa... |
65abc02a58fc9442eb57bd2a07e5d58a66fc024f | 9f36da07d28413b16ad416857331c9eb77156800 | /Twitter Senitimental Analysis/ui.r | 18d573d36994483944f6363db53d4f764df081dc | [] | no_license | harpratap/R | 5a634160f47b5eaba513355f9035b43703877619 | 16b568d63c311d153df6ae83c9b9d27f3a922998 | refs/heads/master | 2021-01-20T21:12:16.496625 | 2016-07-04T06:27:54 | 2016-07-04T06:27:54 | 62,534,580 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 580 | r | ui.r | # 11-ui.r
library(shiny)
shinyUI(fluidPage(
titlePanel("Uploading Files"),
sidebarPanel(
uiOutput("inpFileName"),
tags$hr(),
tags$b(p("File Info")),
textOutput('LineCountText'),
textOutput('TotalWordCount'),
textOutput('AvgWordsPerLine'),
tags$hr(),
tableOutput('LineCountEmotion... |
bddf18d938fb6d5d156690d554e9c834d5482c73 | f96af69ed2cd74a7fcf70f0f63c40f7725fe5090 | /MonteShaffer/humanVerseWSU/humanVerseWSU/man/removeAllColumnsBut.Rd | e085744c402833d75daf25b3b75b7df9ca21321c | [
"MIT"
] | permissive | sronchet/WSU_STATS419_2021 | 80aa40978698305123af917ed68b90f0ed5fff18 | e1def6982879596a93b2a88f8ddd319357aeee3e | refs/heads/main | 2023-03-25T09:20:26.697560 | 2021-03-15T17:28:06 | 2021-03-15T17:28:06 | 333,239,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 665 | rd | removeAllColumnsBut.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions-dataframe.R
\name{removeAllColumnsBut}
\alias{removeAllColumnsBut}
\alias{removeAllColumnsExcept}
\title{removeAllColumnsBut}
\usage{
removeAllColumnsBut(df, mycols)
}
\arguments{
\item{df}{dataframe}
\item{mycols}{names of cols to... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.