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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2534a0cb3cc38c8d2f661e8d56aa2baca631922f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Sim.DiffProc/examples/fptsde2d.Rd.R | c239dffb4395e8ca199d21f7a945e6e6b9fd5be2 | [] | 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,343 | r | fptsde2d.Rd.R | library(Sim.DiffProc)
### Name: fptsde2d
### Title: Approximate densities and random generation for first passage
### time in 2-D SDE's
### Aliases: fptsde2d fptsde2d.default summary.fptsde2d print.fptsde2d
### mean.fptsde2d Median.fptsde2d Mode.fptsde2d quantile.fptsde2d
### kurtosis.fptsde2d skewness.fptsde2d... |
164bf46c1ce0216602b161b15d254e26f979fde0 | fb143d9e0a947bb9e3fd903687e9eb7f03a21e5f | /lib/go.functions.R | be05da0e100428eebc0a8e12d9aeed23c6fe0629 | [
"MIT"
] | permissive | psikon/functional.analysis | 160af61823e247a78b430ca12c64f23f969e1a56 | cfeb648bfb2f2bad4b42878bc8366e93ac607246 | refs/heads/master | 2016-09-16T10:51:38.965362 | 2015-09-09T14:01:07 | 2015-09-09T14:01:07 | 23,146,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,931 | r | go.functions.R | #' pfam2go
#'
#' assign for pfam ids the corresponding go ids, go ontologies and
#' ancestor strings from the mapping object
#'
#' @description convert a pfam count table into a new data.frame
#' with the following fields:
#' db - origin of annotation
#' pfam - ... |
d995100f004b654f369c9c70b8eb1522ee6012f9 | ab20fc503daf99092253c56731f9c1570fe440cc | /3+-+Graphics+in+R.R | 17b9bbe6b292767695f3a576d26b7d90b39132c7 | [] | no_license | jbschnee/Stat-3080 | 788884cfc36f334c823f1e3f2c59cc009ca8181e | 6781f22b3996214730ac4ffbb5682f210c2826f9 | refs/heads/main | 2023-01-08T00:13:37.318452 | 2020-11-04T22:47:04 | 2020-11-04T22:47:04 | 310,134,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,577 | r | 3+-+Graphics+in+R.R |
#########################################################################
# #
# Graphics in R #
# #
##################... |
ff7b8e558583c33e0b78f3dbb05484767cb1269a | b220e9b4c9db0a1590358b22480ea00beb3fba0f | /R/PATTERN_AV45_ANCOVA.R | 065b737a1bc1327ec79c6e99fac4745d08360b20 | [] | no_license | catfishy/jagust | 9741a74812c15c4c812b7143404ae1092e76e4d7 | 8877d29b340d6489fbb20542dc5d1188ec512531 | refs/heads/master | 2021-04-19T01:21:36.722907 | 2016-11-09T22:54:44 | 2016-11-09T22:54:44 | 37,677,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,238 | r | PATTERN_AV45_ANCOVA.R | library(lme4)
library(coefplot2)
library(ggplot2)
library(lmerTest)
library(pbkrtest)
library(multcomp)
library(contrast)
library(xtable)
library(sjPlot)
library(splines)
library(car)
library(stats)
library(gdata)
library(psych)
library(reshape2)
library(piecewiseSEM)
library(LambertW)
library(nnet)
library(DAAG)
libra... |
5fae99e501026c9f788b6814fc10ac600fa48eea | ee4acf485a781d373ae522961713af361464de22 | /R/mod.cd4.R | 1dd78774a6d1fe3d9f6052a83032c542b61c3048 | [] | no_license | dth2/EpiModelHIV_SHAMP | a1f977517a356203b056662be18b3409a3b36d8d | 2dd924d10be81a6aa6d1300dfd60471b076973e8 | refs/heads/master | 2021-01-12T17:32:16.088650 | 2017-09-19T16:05:35 | 2017-09-19T16:05:35 | 71,595,514 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,395 | r | mod.cd4.R |
#' @title CD4 Progression Module
#'
#' @description Module function for simulating progression of CD4 in natural
#' disease dynamics and in the presence of ART.
#'
#' @inheritParams aging_het
#'
#' @keywords module het
#'
#' @export
#'
cd4_het <- function(dat, at) {
status <- dat$attr$status
time.uni... |
f716ce728379ef30d9a55aa8b711b0419ac72154 | 399f173e7c80d13e5bdfce8d8c3d27d1d26dad1c | /1062_class/Multivariate_Analysis/HW4_classification/classify_2_linear.R | 7a90deb75fa84bd9df18bbb5273729cf7342dd76 | [] | no_license | Kazeumi/local_depend | 98032d9ac1d05a664efe70793101acf6cd9f59a5 | 30a398836652f1cab34ef69d059e386d5f3e626e | refs/heads/master | 2022-04-18T09:44:46.861423 | 2020-04-11T05:48:51 | 2020-04-11T05:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,045 | r | classify_2_linear.R | hemo <- readr::read_table2("T11-8.DAT", col_names = FALSE,
col_types = cols(X1 = col_character())
)
###### APER (lda) #####
library(MASS)
lda <- lda(formula = group ~ activity + antigen,
prior=c(1,1)/2, data = hemo)
lda_prdict <- predict(lda)$class
confus_mt <- table(hemo$group, ... |
2137e536bbd8a62130b273ae4869097aa36f23ca | 9343c764ef915aa45b648351568df1f267690f3b | /bar plot.R | f3029829089e73f02e271072601c3e28dbaaa0d9 | [] | no_license | GraceNS/Women_In_Data | 2ec6549d1a547aa850c71f8304500ef2948dfe7e | ead88f389b8cafdf04747b1f3cb858bc212ef539 | refs/heads/main | 2023-03-28T18:58:06.428607 | 2021-03-25T17:44:10 | 2021-03-25T17:44:10 | 328,070,078 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 177 | r | bar plot.R | library(ggplot2)
data <- data.frame(
name=c("A", "B", "C", "D", "E"),
value=c(5,2,7,2,3)
)
ggplot(data, aes(x=name, y=value)) +
geom_bar(stat = "identity" )
|
3cace6dbb118ba66a240ac41aca9040167a5426e | cb29054a5a45a6ff3de2d9611e71b4c6e6d24878 | /MEY1.R | 42c118fa948f7df8e23e27c41f8adbf045c1cd4c | [] | no_license | christophercostello/MEY-Code | 852ee7ca336e7ef077719de643ec3eb6c97bc589 | a530a46972866dd199fe1389662eca0e05443574 | refs/heads/master | 2021-01-01T05:17:07.361798 | 2016-04-26T00:41:24 | 2016-04-26T00:41:24 | 57,061,299 | 0 | 2 | null | 2016-04-26T00:17:11 | 2016-04-25T17:21:07 | R | UTF-8 | R | false | false | 2,665 | r | MEY1.R | rm(list=ls())
library(pracma)
library(ggplot2)
library(dplyr)
library(tidyr)
library(grid)
library(gridExtra)
#RAMdata = read.csv('../Data/RAM Stock Parameters.csv',stringsAsFactors=F)
# Prep Data ---------------------------------------------------------------
load('Data/Policies and Params for Chris.Rdata')
DANdat... |
da36ad4692483c17102da198d5609073166a49b9 | e6c393e77b1388bb2510bae54e7d8d3e91aeb867 | /08_RDA.R | 96f1d81da5f73d3235058fb6e172e751f73e3cf5 | [] | no_license | mdellh2o/ETH_barley | 6cce24c878a7be58324dc7d0e52d4da9b8f51e3e | 6e7b2c82220ae829742ee375a90d585f1f985432 | refs/heads/main | 2023-04-17T15:56:13.200681 | 2022-10-10T13:15:32 | 2022-10-10T13:15:32 | 316,163,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,014 | r | 08_RDA.R | #===============================================================================
# author: Leonardo Caproni
# date: 08/2022
#-------------------------------------------------------------------------------
# Reference: DOI
#-------------------------------------------------------------------------------
# Descripti... |
3555c9568c8bc7b4a7b20a810a85643bbc3bb591 | afd40674ba810c44a1a54cfbb53c0329bb04f4e6 | /man/random_token_generator.Rd | 2ff2606e2684bbd653cb03dc5496044c435f21cc | [
"MIT"
] | permissive | tgstoecker/A2TEA.WebApp | 1be42ff5b6a9ee2d9a9940cf889fdf12e8e542fb | 8272860d4fadedd92dfcd8fddbd8737cb4fdb7a7 | refs/heads/master | 2023-07-07T20:50:58.722386 | 2023-06-25T09:40:17 | 2023-06-25T09:40:17 | 525,064,928 | 1 | 0 | NOASSERTION | 2023-03-19T14:49:19 | 2022-08-15T16:47:31 | R | UTF-8 | R | false | true | 333 | rd | random_token_generator.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/global.R
\name{random_token_generator}
\alias{random_token_generator}
\title{Create a random token}
\usage{
random_token_generator(n = 5000)
}
\arguments{
\item{n}{sample size}
}
\value{
New random token is created
}
\description{
Create a ra... |
473378a84b750b2001e86dc35757ba56e17e8b1e | 4ceaa85dee194e818f41bb4da47fe41fd7dbfcf9 | /inst/jags/GLM0.R | 17a34ed8e73f54ded331c9e012c1a79928793533 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RushingLab/WILD6900 | 6ee242e491817f065f6374e908aced3bfb0ac3dc | 6543c0c4e4108becf65f6577b8d4b862afdadf49 | refs/heads/master | 2021-06-12T18:45:29.365473 | 2021-03-02T20:13:28 | 2021-03-02T20:13:28 | 156,604,120 | 13 | 3 | NOASSERTION | 2021-01-05T19:35:21 | 2018-11-07T20:27:52 | HTML | UTF-8 | R | false | false | 326 | r | GLM0.R | sink("inst/jags/GLM0.jags")
cat("
model {
# Prior
alpha ~ dnorm(0, 0.01) # log(mean count)
# Likelihood
for (i in 1:nyear){
for (j in 1:nsite){
C[i,j] ~ dpois(lambda[i,j])
lambda[i,j] <- exp(log.lambda[i,j])
log.lambda[i,j] <- alpha
} #j
} #i
}
",fill = TRUE)
s... |
9a80b77c22ce74be9e4967220f904f5d8880d965 | e56783d554c86165323a2ae3e29f239b4230fd92 | /models/finwhales/man/finwhales.Rd | b25f173eccf4193f531276064b2cecf77b19c77f | [
"CC0-1.0"
] | permissive | ec-ecopotential/Pelagos | 527257fa1414a17e047c67e7701d1d88cdc8700d | 58556420cc4748ffa4c6ad94f03aab14751e6ac5 | refs/heads/master | 2020-12-25T06:15:05.730428 | 2019-07-12T14:51:49 | 2019-07-12T14:51:49 | 62,131,092 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 285 | rd | finwhales.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/finwhales.R
\docType{package}
\name{finwhales}
\alias{finwhales}
\alias{finwhales-package}
\title{finwhales: Pelagos storyline for ECOPOTENTIAL}
\description{
finwhales: Pelagos storyline for ECOPOTENTIAL
}
|
96558ca22a6e079e2566034d545d0a5eea90cb29 | 8baf1e2211226a00af0d7d9eb37d636d36fc065f | /03_analyses/01_pdav3.R | 3f4a30a098d8a24e89a44a0c7763b0665701a62e | [] | no_license | timdisher/pda_dec_tool | 61d4b07800c655d8323863161512aec3d563873e | 6dda3739dc51440846f5864a192564b824e7b811 | refs/heads/master | 2021-10-24T13:51:15.954009 | 2019-03-26T12:44:08 | 2019-03-26T12:44:08 | 139,772,863 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,362 | r | 01_pdav3.R | #User input
library(readxl)
source("./03_analyses/01_clean.R")
source("./04_functions/nma_cont_gemtc.R")
load("./reg_out_resv2.rda")
library(smaa)
library(hitandrun)
#----------------------------------------------------------------------------- -
#----------------------------------------------------------------------... |
b40b0f1ac5c6e2b964c159bc89e29203be70e939 | 59e684621270e7fe60de4fe4c326c9dd6f5dcec9 | /tests/testthat.R | 8fa631456f872100816c8fdad6a4321f125ee0b2 | [] | no_license | matthew-coad/emc | 8966a59ed8031c6d6ca03f5373e5ecc0aff65041 | 31f9985ad674439cd4ca55d5399f741081967b04 | refs/heads/master | 2020-04-01T23:05:21.279954 | 2018-11-15T05:29:53 | 2018-11-15T05:29:53 | 153,741,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 50 | r | testthat.R | library(testthat)
library(emc)
test_check("emc")
|
814418c24818349a5aa3d5738ab4503eea7863e2 | 9107f12cffc54c8a23da74643ec888a6f30557f6 | /2_prep/src/yeti_job_utils.R | 58e69fcfb8d9d7afb48afc5957fa09a900046315 | [] | no_license | lindsayplatt/lake-temperature-process-models-old | a30dd2a454a00cfac6437c2fd87acdc7f55297f5 | 8b15022c219df9f7578da0df42962dbcd183c998 | refs/heads/master | 2022-03-15T11:05:12.861719 | 2019-10-30T20:13:13 | 2019-10-30T20:13:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 928 | r | yeti_job_utils.R |
yeti_put <- function(local_dir, dest_dir, files){
user <- Sys.info()[['user']]
session <- ssh::ssh_connect(sprintf('%s@yeti.cr.usgs.gov', user))
on.exit(ssh::ssh_disconnect(session = session))
file_paths = sprintf('%s/%s', local_dir, files)
ssh::scp_upload(session = session, files = file_paths, to = dest_... |
ebca41c1ebe7351eacb61b350c289e0f21cbf7b4 | 6769a21b66f03edff3bb70dc5e9573c6e6ecef98 | /format-data/策略会.R | 8a0f77f4357df8f82235faeb850e891923024c77 | [] | no_license | RookieDay/daily_meeting | a25c29810395b8d5023e4470261b2ca8ef6e2568 | afe08ab4d60b7689b26ba969f1b62926406f0b1b | refs/heads/main | 2023-01-23T02:44:45.037110 | 2020-12-07T12:32:12 | 2020-12-07T12:32:12 | 319,039,405 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 1,129 | r | 策略会.R | setwd("C:\\Users\\GL\\Desktop\\2019年中期策略会\\代码")
library(readxl)
data=read_excel("test.xlsx",sheet = 1)
company=data[,c(3,5)]
for(i in 6:ncol(data)){
aa=data[,c(3,i)]
colnames(aa)=colnames(company)
company=rbind(company,aa)
print(i)
}
#以上为改为:人,公司这样的形式
company=na.omit(data.frame("company"=unique(company[,2]),s... |
0ee658e499ec3d2ba423ea30822c19de36c754a4 | f3a979438f0ed4305cd01be796cb28f53d3bb538 | /Chapter15/vis_cluster_kmean.r | 0909b450661f1962abcf805106e5d2db2831c631 | [] | no_license | scchess/DataMiningApplicationsWithR | 2be6a064106a44c76b4577a5c15a0e065cd89260 | 580f5a9d3c749c2f6d00e437a28cd8705bf6ab76 | refs/heads/master | 2021-06-14T18:21:08.155141 | 2017-01-27T14:38:02 | 2017-01-27T14:38:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,229 | r | vis_cluster_kmean.r | #!/usr/bin/Rscript
# R script to make kmean clusters
# importations
library(Matrix)
source("./plot_functions.r")
# several variables
filename = "cluster_entry.txt" # input filename
filename = "Cluster3_dnssec.txt"
r = 0.9 # quantity of total magnitude hold (related to tolerance for PCA)
nb_cluster = 4 ... |
6b7820c36c6146af5d557accb82cc56f19bd192f | ae33c584a4efdd6c337abd69fc9fa98b1c01e64b | /data/mosaic/save-mosaic-data.R | 6ac5aa0e1d1ee694b5e721ceb055d2d3c4e9b598 | [] | no_license | elray1/elray1.github.io | de1ffa6d854a7b58991f73c2ce1c18dc51d6723d | 818db063d1785c09a0da019929d6f5651593f1c1 | refs/heads/master | 2023-03-09T23:38:53.181329 | 2023-02-19T15:13:30 | 2023-02-19T15:13:30 | 91,704,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 157 | r | save-mosaic-data.R | library(mosaicData)
library(readr)
write_csv(mosaicData::RailTrail, "data/mosaic/rail_trail.csv")
write_csv(mosaicData::HELPrct, "data/mosaic/HELPrct.csv")
|
8ecc06cc62c9c2b4c2baef8bb7d7510d8eb1af3f | 783e2ab6b69287a4c863b748265725a77efd375f | /R/surrogate_nn.R | d5485b64d5b06b9f6a5b3af24809e3c66175b455 | [] | no_license | RezaSadeghiWSU/rlR | 2190b2918544c69447cea80a3608e469b073e18f | 0b18b5b1d5af2f5d599225cad2ea28b384727f28 | refs/heads/master | 2020-04-16T05:04:39.827534 | 2018-12-12T17:42:22 | 2018-12-12T17:42:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,260 | r | surrogate_nn.R | SurroNN = R6::R6Class("SurroNN",
inherit = Surrogate,
public = list(
lr = NULL,
arch.list = NULL,
conf = NULL,
agent = NULL,
custom_flag = NULL,
action_input = NULL,
sess = NULL,
initialize = function(agent, arch_list_name = "agent.nn.arch", ...) {
par_list = list(...)
se... |
10247bd3c50f0ea9adead416b64e6bf3b6869c26 | 92c73a3e01edb04b61636ae237119350c13a9bc5 | /Rperformance/MakespanSpeed.R | d4275b6acd6350fc6a208d63a3cf621172fb1d9d | [] | no_license | jmsallan/optimization | 6f714ca7096e28d1e861e447a3b20196c4526d0b | a0d099890c69090a55f05b93aa4bd0363f7190f4 | refs/heads/master | 2020-04-28T01:59:37.433611 | 2020-04-01T14:37:39 | 2020-04-01T14:37:39 | 174,881,032 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,196 | r | MakespanSpeed.R | #---- two codings of the makespan function ----
makespan1 <- function(M, sol){
m <- dim(M)[1]
n <- dim(M)[2]
t <- matrix(numeric(m*n), m, n)
M <- M[ , sol]
t[1,1] <- M[1,1]
for(j in 2:n) t[1, j] <- t[1, (j-1)] + M[1, j]
for(i in 2:m) t[i, 1] <- t[(i-1), 1] + M[i, 1]
for(i in 2:m){
... |
a429df45483ad031b97d5f749edff90a0d7a9d19 | 448e3fbc77e3290c1c4196c2258b3d444c8c0d45 | /R/facets-wrapper.R | 289dd17cb7f4a73ed97a1f6ae225da15a164f1ef | [] | no_license | mskcc/facets | 1fe15ddabe7b157c4ffdeddb048797c8a1f4f83b | f3c93ee65b09fc57aaed22a2eb9faa05586a9dc0 | refs/heads/master | 2023-06-09T01:38:44.938368 | 2021-10-12T12:04:39 | 2021-10-12T12:04:39 | 35,636,429 | 135 | 71 | null | 2023-06-04T17:04:27 | 2015-05-14T20:54:49 | R | UTF-8 | R | false | false | 12,284 | r | facets-wrapper.R | readSnpMatrix <- function(filename, skip=0L, err.thresh=Inf, del.thresh=Inf, perl.pileup=FALSE) {
# could have been generated by original VES snp-pileup.pl code (perl)
if (perl.pileup) {
rcmat <- scan(filename, what=list(Chromosome="", Position=0, NOR.DP=0, NOR.RD=0, TUM.DP=0, TUM.RD=0), skip=skip)
... |
82855c80542cd193ba7b8ab2884f6fee2a3d594d | c88fb2b121a4a3cb2dc2ed9ecc3744ce410e0e68 | /lab-1/assignment2.R | 579c3f132fb6c3db9c636d087d2f01f1702c5439 | [] | no_license | antonmoeriksson/TDDE01 | 7b3752c7eb8d301a9fce6ffd74f985165b471d87 | b318147095226eb59cb8d5cf4939f542cd4984f8 | refs/heads/master | 2021-09-05T18:37:42.102571 | 2018-01-30T09:31:46 | 2018-01-30T09:31:46 | 108,877,357 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,139 | r | assignment2.R | # Anton MO Eriksson
# anter491
# 2017-11-16
require(readxl)
library(readxl)
setwd("/home/ame/git/tdde01/TDDE01/lab-1")
set.seed(12345)
# 2.1 Import data.
life_expectancy <- data.matrix(read_excel("machines.xlsx"))
# Helper functions for all sub-assiments.
log_likelihood <- function(theta, input_data) {
prob_mode... |
00deb79d3d440c23edaa50e92d871ac72a16aa2b | 4e508cb5c61643e03bb773ce9e09559219713cc5 | /DefinicaoDePackages.R | 92dc22f7bab1633749f9fd452f5c41eebc189549 | [] | no_license | Galaton/R | 89a71372c2d38109d8e775e9b0f33c54e00a2bfe | 9a28da576ef0e249717b17db1e3302f80619d2d2 | refs/heads/master | 2021-01-23T17:57:16.105611 | 2017-09-07T20:59:19 | 2017-09-07T20:59:19 | 102,785,363 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 347 | r | DefinicaoDePackages.R | # Packages são coleçãoes de funções em r, dados, e codigos compilados em
# um formato bem definido, o diretório onde estes packages sao guardados
# são chamados de bibliotecas
# Para baixar um package é só digitar
# install.packagers("NomeDoPackage")
# Não basta só baixar os packages temos que os ativar
# library(... |
73c01906e370b82d6ba6e805ae5a2d285e83594c | f737482c0cf4f721392500a0dda203fd10ff8d64 | /TamasFerenci_BiomedicalApplicationsOfTimeSeriesAnalysis.R | 90a884d2d029201f4c3ce22811bc5af374d30f2b | [] | no_license | tamas-ferenci/BiomedicalApplicationsOfTimeSeriesAnalysis | 897b8a5280f71939eb1d0f7450e1b519a7a453f4 | 18a06f1f95c702ac58ecb40ae5b48d29dba7a822 | refs/heads/master | 2021-05-13T11:41:23.755642 | 2018-11-30T14:18:59 | 2018-11-30T14:18:59 | 117,135,499 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,285 | r | TamasFerenci_BiomedicalApplicationsOfTimeSeriesAnalysis.R | ## ----setup, include=FALSE------------------------------------------------
library( lattice )
library( data.table )
library( rms )
knitr::opts_chunk$set( cache = TRUE )
## ------------------------------------------------------------------------
ts( rnorm( 20 ), frequency = 4, start = c( 2010, 2 ) )
ts( rnorm(... |
ce161cd24c1651b64926a3edba8a4c8118f749f9 | 54af41f3f96a678c2281eb761e7024d041542c74 | /input_prep/scripts/dalliance_files.R | f7187abf86ad8e1721a4b04b5a17a4226d88e8cc | [] | no_license | csorianot/godmc-database | 58dd4c12c3bccb71cbc2285ac7920ea28cbe2218 | cbaf37d73f2cff801f6ea6f9c716417d10f68553 | refs/heads/master | 2020-04-23T02:02:49.733715 | 2018-11-21T11:54:41 | 2018-11-21T11:54:41 | 170,832,835 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,060 | r | dalliance_files.R | library(readr)
#r<-read_tsv("gwas_catalog_180627.txt")
#r<-data.frame(r)
#downloaded from http://hgdownload.soe.ucsc.edu/goldenPath/hg19/database/
r2<-read_tsv("gwasCatalog.txt",col_names=F)
r2<-data.frame(r2)
r2<-r2[which(r2$X18<5e-8),]
r3<-data.frame(r2$X2,r2$X3,r2$X4)
p<-paste0(r2$X5,";",r2$X11,"(",r2$X7,")")
p<-g... |
674f9059faffa6ac2d0d60713da0ab5fae67924a | 5702c29623fd7edf212495b071c736e274760d46 | /Chapter6/Lab1_subset_selection_methods.R | 39d0a353dde7a41db602df1af62f7fba692a8b3e | [] | no_license | GeorgeBatch/introduction_to_sl_with_r | 678f53743d2fd362d274988709f1034c7bde33cc | 52100e00b99c907b0d529731145b8943ef3e9170 | refs/heads/master | 2022-11-24T06:50:36.329939 | 2020-07-23T11:28:35 | 2020-07-23T11:28:35 | 281,922,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,024 | r | Lab1_subset_selection_methods.R | ################################################################################
# Best Subset selection
################################################################################
library(ISLR)
library(car) # companion to applied regression
library(leaps) # variable subset selection
o... |
1298bd9afbef76ba1d84c9bf695e95b2d24446d7 | fbec4c6031fd96a1273ae510baa8a84906f3961d | /prediction/distances.R | 869a0a12505a2561c485d621527760f517db5b14 | [] | no_license | klos71/Junction2019 | f366b35e25929f32d0fffd78de7d5508dd96eabe | cb6abedea85105c0d84b63cb3e2c20a763565511 | refs/heads/master | 2022-12-12T19:46:09.802339 | 2019-11-17T08:18:34 | 2019-11-17T08:18:34 | 221,941,523 | 0 | 0 | null | 2022-12-11T13:37:57 | 2019-11-15T14:36:05 | TypeScript | UTF-8 | R | false | false | 2,400 | r | distances.R |
# This function takes a dataframe that contains a column of all
# the station ids called "id" and returns a dataframe with two
# columns ("id1" and "id2") with all combinations of ids
id_permutations <- function(stations, unused=NULL) {
combinations <- do.call(rbind, lapply(stations$id, function(id) {
data.frame(id... |
c192ca4517eb0c54408836f1a5f480b3d3d0c30f | 53683e2a9f5a393c6e873dc2882f733ed861fae7 | /Download MDRs Code.R | a97b187b023b2e96d68d2fdcaed8997ff2fa186f | [] | no_license | nts2pd/Medical-Device-Reports | cb80c906c0387d3a78ae3cfff0583e8632644c7d | e34ce5b97b60c9012b9a3d6eb4ad51c01f7d8e03 | refs/heads/master | 2020-03-11T00:42:40.943350 | 2018-06-14T12:47:46 | 2018-06-14T12:47:46 | 129,670,228 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,910 | r | Download MDRs Code.R |
#unable to list more than 100 MDRs at a time, so must download each set by 100
url <- NULL
for (i in seq(from = 0, to = 28300, by = 100)) {
url[i] <- paste0("https://api.fda.gov/device/event.json?search=essure&limit=100&skip=", i)
}
url <- url[!is.na(url)]
#Get information on each MDR from openFDA
mdrs <- ... |
eddfd19d4472e15de1063a0079c56a2ce9bf3b83 | 44d20aa0fefa716ff5b687dbb051de1987ec682c | /plot1.R | 4e96a4d5090b4378b32221400b7056e9ed9270f0 | [] | no_license | Enoana/ExData_Plotting1 | 8618beb1d36738b6f2b1403a61be5ab8af51cb31 | 6f678f40383b4e0262658b38132caa4106c81625 | refs/heads/master | 2021-01-18T13:21:57.924437 | 2016-01-22T15:52:11 | 2016-01-22T15:52:11 | 49,960,151 | 0 | 0 | null | 2016-01-19T15:02:01 | 2016-01-19T15:02:01 | null | UTF-8 | R | false | false | 587 | r | plot1.R | setwd("C:/Adatok/coursera_edX/4_Exploratory Data analysis/Quizes_Assignments/Assignment1")
data<- read.table("household_power_consumption.txt", sep= ";",
na.strings= "?", colClasses = c("character", "character",
rep("numeric", 7)), header= TRUE)
d<- data[data$Date %in% c("1/2/2007... |
36efe811ed887211dd95074df3d00d48efa71b5b | 658650485ab0ef0cefb6ab0e2812cb76addb477f | /R/plugins.r | cd6ea8721c55a5ad502b6757cc831fbcaa983542 | [
"MIT"
] | permissive | jhollist/spocc | bb6fcaae82d6bc1ac8f28477f1e1c88e2fc98f95 | 9d6dc976129ddb63608a493a6fb9a8039bddfab6 | refs/heads/master | 2021-01-17T18:05:22.342694 | 2015-03-23T18:43:04 | 2015-03-23T18:43:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,273 | r | plugins.r | # Plugins for the occ function for each data source
#' @noRd
foo_gbif <- function(sources, query, limit, geometry, callopts, opts) {
if (any(grepl("gbif", sources))) {
if(!is.null(query)){
if(class(query) %in% c("ids","gbifid")){
if(class(query) %in% "ids"){
query_use <- opts$taxonKey <- ... |
aca06588ed4641f2bc05db6868c19e00e9339f49 | 66d8313b2687a7de88bdb8a98833e74857db05ac | /02_R Programming/hw2/others.R | a54f79b7cac460edbfc069f4e20706d7cdc0a666 | [] | no_license | Elmasri-Fathallah/CourseraDataScience | 863bbef53e754c0a6d1ee0be699f81b593197190 | 459255f456df003719db8d639c7aac1b16a9b240 | refs/heads/master | 2021-05-29T15:55:58.795267 | 2015-11-04T01:13:50 | 2015-11-04T01:13:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,223 | r | others.R | #Programming Assignment 2
# makeCacheMatrix create an object (list) that holds 4 element.
# Namely, data of matrix (x) and its inverse matrix (inv),
# and access function to each of these data (get, set, setinv, getinv).
# m <- matrix(1:4, nrow=2, ncol=2)
# CM <- makeCacheMatrix(m)
makeCacheMatrix <- function(x = m... |
242ba85b181ddfaf0ad87ad26e6a69c754f769a7 | 7bdf0282862891db96a1a2784581c508178ee10f | /Simple_Dendritic_function_parameter.R | 9c1fb1de131f62b11a82c045d6da2eee97ee3681 | [] | no_license | M-Atsuhiko/Simple | ff4cd29ac3ec32e6646e9beb8fb4217449556487 | b9f88b3a6f86fbbfb9dd43f7e24ef556560a0fbd | refs/heads/master | 2020-03-30T21:15:57.283272 | 2015-01-13T02:36:08 | 2015-01-13T02:36:08 | 28,582,197 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,850 | r | Simple_Dendritic_function_parameter.R | source("./Simulation_Parameters.R") #パラメータの初期化
cat("@@@@@ Determine @@@@@\n")
Param_Labels <- Simple_Param_Labels
MAX_PARAMS <- length(Param_Labels)
############### 関数include ###############
#[Param_init.R] : paramの初期値を返す関数
source("./Simple_Param_init.R")
#[set_coordinate.R] : Branchの空間座標点を設... |
cd7d33068a6f1b076c993a362e8e6633a663cd03 | 8d119d59dedf7994c9b14a637fc069d3a3e0494c | /RPackageSource/man/readCOMETSinput.Rd | 7f3e7105d614a92f408ef03a193710e38db0729c | [] | no_license | CBIIT/R-cometsAnalytics | 3f77bf818050eefbcef4e5a74a5cdab0e17157dc | bc0da393319a7fc2ec53275f9545d24b982faabc | refs/heads/master | 2023-08-24T04:34:16.888409 | 2023-08-04T20:28:26 | 2023-08-04T20:28:26 | 64,139,217 | 8 | 9 | null | 2023-09-13T18:43:04 | 2016-07-25T14:02:36 | HTML | UTF-8 | R | false | true | 4,650 | rd | readCOMETSinput.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/01_readCOMETSinput.R
\name{readCOMETSinput}
\alias{readCOMETSinput}
\title{Read in Excel file that contains metabolite data, covariate data,
models, and model options.}
\usage{
readCOMETSinput(file)
}
\arguments{
\item{file}{path of Excel fi... |
4c70563b4072716d625389cfae511aaa54eac3b4 | 7294f6555183646fc7ae97dce153b99a129bf528 | /R/cph_age_pop1853_raw.R | c30b8a054e0acf7b243c634c215decf5ec8864f6 | [] | no_license | matthew-phelps/CholeraDataDK | 5a0190ce61251d530c41da5dea25435b6c4423df | cc37128c055b50cf268915621afdbfff24abd614 | refs/heads/master | 2020-05-21T12:28:50.478209 | 2017-04-06T10:14:23 | 2017-04-06T10:14:23 | 52,596,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 676 | r | cph_age_pop1853_raw.R | #' Copenhagen population by age group 1853
#'
#' A dataset of the population, by gender, in each age group. Data is imputed
#' from the 1850 & 1855 census. The age groupings used are the same groups used
#' in both censuses
#'
#'
#' @format A data frame with 23 rows and 4 variables:
#' \describe{
#' \item{age_range}{... |
87f315adae8affb1d52a851d1754ee8f62d87503 | cdb91c6806f0a81706182a9d7d2e2dc4184c56f5 | /languages/R/methods/time_series/forecast package example.R | 4c346d905f30f91237bf8150a1931e5bab613ee4 | [] | no_license | euriion/code_snippets | 86c95f4dba71f1c1d8f0c22456f3ae21486f89ad | 3af3d2df034a1a7d6b5a5363acebc93d580362d8 | refs/heads/master | 2016-09-06T08:21:11.833257 | 2015-01-14T06:41:47 | 2015-01-14T06:41:47 | 17,372,215 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,820 | r | forecast package example.R | # accuracy example and sim plotting
time.data <- EuStockMarkets[1:200, 1] # non-stationary data
model.rwf <- rwf(time.data, h=200) # Random Walk Model fittig and forecasting
model.arima <- forecast(auto.arima(time.data), h=200) # ARIMA Model fitting and forecasting
model.rwf.index <- accuracy(model.rwf)
model.ari... |
630e3811bc8756a0c8efa4f1b6f0f9c4c148ed21 | 4bc054c915eab17ec3a10d44f80ab3d44dfbaf2c | /ipms/R/07_Preliminary_Plots.R | f2d58bb6ca4023d6639c776a449023215b8c1f10 | [] | no_license | levisc8/carpobrotus_IPMs | c12e3804fbcd2dbae914ffa568f343c5b87c9743 | 138a135c2ee716bb84a45520413c84046b5107bd | refs/heads/master | 2022-12-21T08:23:17.767986 | 2022-12-13T14:45:02 | 2022-12-13T14:45:02 | 131,842,866 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,852 | r | 07_Preliminary_Plots.R |
all_ramets <- readRDS("ipms/Data/all_ramets_di.rds") %>%
mutate(
native = case_when(
site %in% c("Melkboss", "Vogelgat",
"St_Francis", "Struisbaai",
"Springfontein", "Rooisand") ~ 1,
TRUE ~ 0
)
)
surv_mods <- readRDS("ipms/Model_Fits/ramet_surviva... |
a1bb6c11e4d3583434b598c41480e9123a9db116 | c82b300e42469a9d407488831e80215e8b7f27bc | /run_analysis.R | 39f7bcc021857a78ced956e5ddb7088cbc8f05e2 | [] | no_license | kzcabana/Mod3_Getting-and-Cleaning-Data-Course-Project | ebc4af7ee5d0a5c65892ab4120a4bc82dc3385da | 93211daeedc53b87beaeacf566989a0ed8caad36 | refs/heads/master | 2021-09-05T00:56:33.031399 | 2018-01-23T06:45:32 | 2018-01-23T06:45:32 | 118,548,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,555 | r | run_analysis.R | if (!file.exists('./Module3Project')){
dir.create("./Module3Project")
}
setwd("~/Module3Project")
##Downloading File
fileurl = "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
if (!file.exists("./UCI HAR Dataset")){
download.file(fileurl,'UCI HAR Dataset.zip', mod... |
f4d5433641d7b7ab72b8c3dbccfbb4909ebcb2dc | 13e362022442df7851bf9fd75da910250e9685b5 | /plot1.R | f724b6be800fe0755bd3dfb58fc05eefc9f320e4 | [] | no_license | cwest93/ExData_Plotting1 | 46b9376eb6c649a8d96a25a776ccafb6af45e73a | 9e2d69b86e227c2a0f5e8907923999a92d894857 | refs/heads/master | 2021-01-11T06:27:21.816632 | 2016-10-24T05:26:01 | 2016-10-24T05:26:01 | 71,740,972 | 0 | 0 | null | 2016-10-24T01:25:50 | 2016-10-24T01:25:50 | null | UTF-8 | R | false | false | 907 | r | plot1.R | #Create column labels and load data
lbl = c(Voltage="numeric", Global_active_power="numeric",Global_intensity="numeric",Sub_metering_1="numeric",Sub_metering_2="numeric",Sub_metering_3="numeric",Global_active_power="numeric",Global_reactive_power="numeric")
data = read.table("household_power_consumption.txt", header=TR... |
cc8e1b27fae3a7ef8e3e8c3a26103d209f49715c | 76f7afb7dbabfaf53ff7f31caa7f419813cba303 | /server.R | a0a99add3272b438e046688c037639e699352d8e | [] | no_license | YasukazuIKAMI/blendnormal | 91fa5e00765e6e8549d023c99619c9ef02d30e51 | 77e4140800b6f6d14ec27e5b6f37619a194644de | refs/heads/master | 2020-05-20T09:40:11.980312 | 2015-06-13T12:51:21 | 2015-06-13T12:51:21 | 37,371,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 822 | r | server.R | library(ggplot2)
library(reshape)
set.seed(132)
shinyServer(
function(input, output) {
output$newHist <- renderPlot({
nsamp <- input$nsamp
mu1 <- input$mu1
mu2 <- input$mu2
sd1 <- input$sd1
sd2 <- input$sd2
input1 <- rnor... |
776b77ff00f92fbaa01b2474bb60e24410efb3c2 | 874d5ee990bb371ba15c4c376af1dba17f7a5f38 | /R/roccer-doctype.r | c42f8e0e6df3e916c3c65a965fe018622b54be70 | [] | no_license | vspinu/roxygen3 | 37a0a3e7cbec26dc2d490e89a4a8a5bc6e55971c | f7ddf377cc6cfa1f7947b80bcd8394745854fb3b | refs/heads/master | 2021-01-18T07:43:59.068801 | 2012-08-28T19:21:50 | 2012-08-28T19:21:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,414 | r | roccer-doctype.r | #' Set object documentation type.
#'
#' @details You can use any doctype, but it will only be included in
#' the Rd file if it is one of the standard R doctypes: data, package,
#' methods and class.
#'
#' @usage
#' @@docType date
#' @@docType package
#' @@docType custom doctype
#'
#' @Section Extension
#' T... |
0f6b62e1d024e93de9de11d1b2c4e56bb1271e73 | 5429fc2b9df1cae03e6c5b1d803d45735693e197 | /R/region.R | b1498e5e12a78180ed96f3ce0923b91caf414853 | [] | no_license | drninjamommy/c3 | b641916b4a1364570de70f98d3f6ff6600b29ff2 | cc0f0154cfb90443baadf88cc37961d1219c1d1c | refs/heads/master | 2021-01-24T03:57:52.834702 | 2017-11-13T00:05:42 | 2017-11-13T00:05:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 930 | r | region.R |
#' Modify region elements on both x and y axis
#'
#' This is an S3 method.
#' @family region
#' @export
region <- function(x, ...){
UseMethod('region')
}
#' Title
#' @description Regions are defined in multiple axis by passing a single `data.frame`
#' @param c3
#' @param regions data.frame with columns:
#' \item... |
093f7b353dd0c8a0a06ca56fc8bcd0c38feacd18 | 1830f11907bfdbc97172d36bba89e09a345a456c | /Calc_SeasonalAve.R | b365e57d558457f1f1f5568fc7bc7ad2871b80f6 | [] | no_license | jnephin/salishsea-nemo | 44c4cb74badc29e85c57790df95c4dd75c42d5e2 | 7c8d1099fcd6bc2649d13b12e2bf065bbe5fcb29 | refs/heads/master | 2020-12-09T01:35:31.936322 | 2019-05-23T00:25:33 | 2019-05-23T00:25:33 | 233,154,610 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,434 | r | Calc_SeasonalAve.R | # open daily .RData files, calculate tidal and circulation speed and compute seasonal averages for all variables
# packages
require(abind)
# working directory
setwd('..')
# empty list for results
s.list <- list()
#---------------------------------------------------------------------------------#
# Calculate seasona... |
80891027bbb45b447a3e43fbf9c03e0e2e6f8b8a | da91a4ab25ce5ce1bdcc217ec2e981bb402b1820 | /man/SRE-package.Rd | df14ff46117b77fba0a3c49f808d0a911918701e | [] | no_license | iamamutt/SRE | ba8ece85659d43943ee273d967be87a7dd11811f | f5277ea874006ab32dd3e8e5583e7449eeafe13d | refs/heads/master | 2020-03-15T19:08:10.767882 | 2018-12-14T20:10:15 | 2018-12-14T20:10:15 | 132,301,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 525 | rd | SRE-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SRE-package.R
\docType{package}
\name{SRE-package}
\alias{SRE-package}
\title{Self-Recognition Experiment (SRE)}
\description{
The \code{SRE} package (Self-recognition Experiment) provides
supplementary analyses and data for the paper
\emph{T... |
9697ac0b3e691216508c682ca263e75233743031 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/longpower/examples/power.mmrm.Rd.R | a78a7bb10e0bb9580fd9047ac0d8864f59952983 | [] | 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 | 3,118 | r | power.mmrm.Rd.R | library(longpower)
### Name: power.mmrm
### Title: Linear mixed model sample size calculations.
### Aliases: power.mmrm
### Keywords: effects mixed power random sample size
### ** Examples
# reproduce Table 1 from Lu, Luo, & Chen (2008)
phi1 <- c(rep(1, 6), 2, 2)
phi2 <- c(1, 1, rep(2, 6))
lambda <- c(1, 2, sqrt(1... |
be65009e83496ac062985848b20cc04e556780d7 | de719cc6cc53213b4276f031c76389f2d5b2aa6e | /Build Variables-3.0.R | 6876b223f68f13a8bea6c092620fb45997d312b4 | [] | no_license | Libardo1/DSO562-FraudAnalytics | 0524b70a498439e3e7ea7a066ae674a0e0465052 | 15f2cd9d98f400c8ee9c0d4136f564b83215f20e | refs/heads/master | 2020-03-17T04:40:47.324882 | 2017-05-23T02:06:33 | 2017-05-23T02:06:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,627 | r | Build Variables-3.0.R | load("ny_cleaned.rda")
library(ggplot2)
library(dplyr)
# Change lot area to numeric
ny_cleaned$LOT_AREA = as.double(ny_cleaned$LOT_AREA)
# creating temporary variable...preserving original dataset
ny_temp = ny_cleaned
str(ny_temp)
library(dataQualityR)
num.file <- paste(getwd(), "/dq_num.csv", sep= "")
cat.file <... |
990ab4c524c6eef0c94e80f8a0e1feea9308e51c | 60b9ed5bf4ca20f0617db179ffc87c91cdb1d7bb | /tests/testthat/test_rotateLwls2dV2.R | 174187a51a5971df337604d29fd081b558b9080f | [
"BSD-3-Clause"
] | permissive | Chunjui/tPACE | 1cc5f2ef6404c3f8b49d092b7c30a1a3ee10d66e | b6bc27682b4d883940db5ce8cd7bc0e3e978a998 | refs/heads/master | 2021-01-22T20:59:44.168431 | 2015-07-15T23:03:18 | 2015-07-15T23:03:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | r | test_rotateLwls2dV2.R | devtools::load_all()
set.seed(1)
n <- 100
pts <- seq(0, 1, by=0.05)
outPts <- seq(0, 1, by=0.1)
samp3 <- wiener(n, pts) + rnorm(n * length(pts), sd=0.5)
samp3 <- sparsify(samp3, pts, 5:10)
rcov3 <- GetRawCov(samp3$yList, samp3$tList, pts, rep(0, length(pts)), 'Sparse', error=TRUE)
brcov3 <- BinRawCov(rcov3)
gcv3b <- g... |
8992550f5f696bab7057cf4a51ecfe089f14f707 | c08e6b516a3d341d1fdb893448922082dc3626cf | /R/dimsum__cutadapt_report.R | 3814d63a75fcf3f51617facb1a9ed9d6fe66c17d | [
"MIT"
] | permissive | lehner-lab/DiMSum | eda57459bbb450ae52f15adc95d088747d010251 | ca1e50449f1d39712e350f38836dc3598ce8e712 | refs/heads/master | 2023-08-10T17:20:39.324026 | 2023-07-20T15:29:47 | 2023-07-20T15:29:47 | 58,115,412 | 18 | 5 | null | null | null | null | UTF-8 | R | false | false | 5,698 | r | dimsum__cutadapt_report.R |
#' dimsum__cutadapt_report
#'
#' Generate cutadapt summary plots for all fastq files.
#'
#' @param dimsum_meta an experiment metadata object (required)
#' @param report_outpath cutadapt report output path (required)
#'
#' @return an updated experiment metadata object
#' @export
dimsum__cutadapt_report <- function(
d... |
b9e2d043ca46784c83a7b8e999e54f061760f02b | 172288efc3ea342e191e503f372a6b5b8b5e7465 | /man/knnDataTransformation.Rd | 96d621bf2818d9c5d6cf3a625ace3c8a1252c7bb | [] | no_license | guypwhunt/r_shiny_geo2r_visulisation_package | 062d14e0fd9500bd3133a45828f56f9db498500c | afa27c0a97f8ab9488005160981d61c0bfb76128 | refs/heads/main | 2023-04-09T17:03:27.130019 | 2021-04-07T14:58:47 | 2021-04-07T14:58:47 | 355,532,616 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 693 | rd | knnDataTransformation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataTransformationFunctions.R
\name{knnDataTransformation}
\alias{knnDataTransformation}
\title{A Function to Perform KNN Impute on an Expression Object}
\usage{
knnDataTransformation(ex, knnTransformation)
}
\arguments{
\item{ex}{A GEO expre... |
0fe160ea4c388afb9e686798bbe0abd3ce4120b9 | 78012657605edcf98a4aa6e6539bc2701ac933e8 | /R/h.pr.u.R | a6b574d654f182f2618adb69c932af7c2e15663a | [] | no_license | cran/BHTSpack | adc5eb08ac8867b864fd87fce84d7c0b1db75397 | ab23e62dba2f10f7f2667517d45b558605fb9ac1 | refs/heads/master | 2021-06-03T13:07:14.966652 | 2021-02-08T15:30:13 | 2021-02-08T15:30:13 | 136,819,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 202 | r | h.pr.u.R | h.pr.u = function(z, ih, mu, sigma, pk, K, H, n){
M = length(n)
out <- .Call("stick_multnorm_h", z, ih-1, pk, sigma, mu, n, H, PACKAGE="BHTSpack")
return(matrix(out, H*M, K, byrow=TRUE))
}
|
f8e60fab214066187809e9546b9513a7dbff3e0d | 2ee74ce83d5a80e2b83c29593b21f90b7bcf8440 | /Ch. 13 String Manipulation.R | 1dcbc3177aa55f8d37c82dd0f3a40f747dc77497 | [] | no_license | petershahlevlnow/LearnRproj | 8dbb5cd4a9f38fa65b8cf4b38e6929e34747f382 | 105baa6919edd30437a8645562bdb03f1aef0229 | refs/heads/master | 2021-01-19T04:29:56.344858 | 2016-06-30T17:18:01 | 2016-06-30T17:18:01 | 50,056,972 | 0 | 0 | null | 2016-06-30T16:40:25 | 2016-01-20T20:08:11 | R | UTF-8 | R | false | false | 4,978 | r | Ch. 13 String Manipulation.R | # Ch 13 manipulating strings
# 13.1 paste
# notice spaces automatically added between strings with no third arg defined
paste("hello", "Jared", "and others")
paste("hello", "Jared", "and others", sep = "/")
# can aslo paste vectors, paired
paste(c("hello", "jared", "winters"), c("meep", "zort", "narf"))
paste("hello",... |
79a6ab1de0c2d36f269712e4a6865f8e7f257ab8 | 677c3e302783b1b4388386536589efee6f2bef1c | /R/make_df.R | 9efe6a39977ab77b8d355fd8eee42cdb28885300 | [] | no_license | andrew-stewardson/saturn-r-gnosis | 49921dc97329d445109482326400b5d79f267bfa | ff45c2160732abf1dfef7170185ed86c58f2c1d2 | refs/heads/master | 2021-01-18T19:37:37.280996 | 2016-11-03T11:02:56 | 2016-11-03T11:02:56 | 68,911,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,192 | r | make_df.R | ### SET-UP ------------------------
# All patients
# Control, Ciprofloxacin, Nitrofurantoin
# Remove paticipants with missing dates (for now)
# Run script to 'master' dataset
rm(master, df)
# csv file made using:
# 1. source("/Users/andrewstewardson/Dropbox (HumanLabZ)/SATURN/saturnmicro/R/make_master.R")
# ... |
7fbed00dce0179f60d6639786198067fd300327a | 3510aff4046282d06759a8f2a59feef5df366402 | /SLR_Nithya_R_assignment 3rd Q.R | e10f2433971dc7490ac034620acd468214111c26 | [] | no_license | NithyaSivasubramanian/NitSiva | f231ad407c3936328f90625583d5c73b8e09cc03 | 7820064b23bcfde0a8e5544be096d857e6c8c377 | refs/heads/main | 2023-01-10T19:33:25.714427 | 2020-11-11T13:36:10 | 2020-11-11T13:36:10 | 311,958,236 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,006 | r | SLR_Nithya_R_assignment 3rd Q.R | getwd() # function we use to know the present working directory
setwd("C://Users//Assignments//Simple Linear Regression") # Created a new working directory
library(readxl)
library(readr)
library(readr)
library("MASS")
# ggplot for adding regresion line for data
library(dplyr)
library(ggplot2)
install.package... |
95487d50cc511d00f0282681e4878d4bf1980365 | 91eb255fe719c4be1da12a8b30f4d0e35cee01dd | /man/TaxCIsummary.Rd | c21471631965006ea83a0d159e874abc14eaa45b | [] | no_license | eberlejonas/TaxCI | e3220abdcb7f71441cf9862fa4a9f212c4a36c7b | d5cb9efef5c850c402da9a8a3552a7c5e11ec765 | refs/heads/master | 2021-08-17T18:08:07.276642 | 2021-07-20T07:16:42 | 2021-07-20T07:16:42 | 87,522,366 | 3 | 1 | null | 2021-07-20T07:03:21 | 2017-04-07T08:18:29 | R | UTF-8 | R | false | false | 2,012 | rd | TaxCIsummary.Rd | \name{TaxCIsummary}
\alias{TaxCIsummary}
\title{
Statistics of a TaxCI-analysis
}
\description{
Get numbers of species in different kinds of clusters.
}
\usage{
TaxCIsummary(tree, x, sp.col = "binomial", BCCluster.result, plotParamTCI.result, plotParamBCC.result, analysis = "TaxCI.analysis", file=NA)
}
\argu... |
8dc724771341f3e71bfd74dab2f1f36fd5c198f4 | a64cab2ec424f20976477e228800f6b40be4c47b | /model_test/gminas_to_dev_by_model.R | 3082bff5085c3b3a03c0aadada1d0b1b1065a935 | [] | no_license | Kostee/projekt_interdyscyplinarny | 4a569c5e0bdb4f8ccad57f6611a83218c4f86afb | f0f8988101de51222fc1ae80269a3b3c3e5cf245 | refs/heads/main | 2023-03-23T02:35:35.752637 | 2021-03-15T19:25:33 | 2021-03-15T19:25:33 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 4,001 | r | gminas_to_dev_by_model.R | #set path if needed
#setwd("C:/Users/koste/Studia/07/PI/github/projekt_interdyscyplinarny/model_test")
library(dplyr)
library(randomForest)
library(mlr)
library(ranger)
library(tuneRanger)
library(ggplot2)
set.seed(1613)
# data for regression model
df <- read.csv("../dochody_i_ludnosc_2.csv", encoding = "UTF-8") # 252... |
18812b2d6ea4666fee4b496154cec5b47abee2a2 | 78d7f133f4cace12bc40150aa286499d5b4f087d | /metabolomics_toolbox/code/net_ana/scripts/network_simu_parallel_large_partial_mutipeak/simu_network_testcluster.R | 9db87cc84bed323b76d16d2bce5096f5bd64334e | [
"MIT"
] | permissive | HealthVivo/Edison_Lab_Shared_Metabolomics_UGA | 4890a438a6452c5d77932df784a01b78319c3000 | 7d762798486849a5f3a11c9f4944d366c69c38c6 | refs/heads/master | 2023-07-21T19:35:54.050001 | 2021-08-23T13:02:31 | 2021-08-23T13:02:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,203 | r | simu_network_testcluster.R | # script for use simulated network to test/evaluate CausalKinetiX and clustering
# the simulation will produce dynamics based random networks with clusters
# CausalKinetiX is then used to recover the edges and clusters in the network
## to run the code here, the user need proper HPC environments, corresponding submit.s... |
ce38f1c850a768968822ad514022690f1f966da8 | 771c05fa7b58f8f2dab7938da389e9e72b3cf3d4 | /Rvasp/R/periodictablehandler.R | 9ac9cc6239fc6539bc87b04c55f3231f6a63d17c | [
"MIT"
] | permissive | gokhansurucu/Rvasp | 56a75b10daa606768791935530bd108204d92f4f | 8983440a96ca8acf017f47af8dbfd3f32faaad22 | refs/heads/master | 2020-04-08T21:14:33.155967 | 2014-03-14T20:08:59 | 2014-03-14T20:08:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,162 | r | periodictablehandler.R | #cat(paste0("elements <- do.call(rbind,list(",paste(apply(elements,1,function(x)paste0("c(\"",paste(x,collapse="\",\""),"\")")),collapse=","),"))"))
#' Draws a periodic table
#'
#' \code{plot.periodictable} Draws a periodic table.
#' There are two ways of changing an entry. Highlight and underlay.
#' Highlight colors... |
df3463ed75cc92d6a936125ecec49e1df10d37a5 | 838293db88714aaab198a6aae6f3a7907c292e9a | /segunda parte/regresion 2 clase/homework.R | c52a38752105ea08c8cc623181a2e1f40b4b1f0e | [] | no_license | David9203/multivariable | f0d51a8826a27dc0518b9cb3cf8ee7b30f3c41d8 | d117810e7fa1b966f965fd6e6bd9886892628dba | refs/heads/master | 2020-05-20T07:04:15.090974 | 2019-08-18T18:47:19 | 2019-08-18T18:47:19 | 185,443,118 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,702 | r | homework.R | library(factanal)
library(factoextra)
library(psy)
library(nFactors)
library(GPArotation)
library(Rgraphviz)
library(stats)
library(lmtest)
library(normtest)
library(randtests)
library(car)
library(EnvStats)
datos<-read.csv(file=file.choose(),header=T,sep=';')
attach(datos)
head(datos)
row.names(datos) <- datos[,c(1)]
... |
e17659f16cc224e1ff75949a89752cb5d61c7993 | d5183c300f5aa6f6bbd76a4b12c7afc6f166d7f6 | /Data_Prep.R | 3a1e14cfbf765a5770742f130320d8075e265d6f | [] | no_license | rakeshprusty1/Next_Word_Predictor | 91acba4c8c3ef9a0b15ef3303809781993ee5a0f | 6189932a30a2ff81f2064122cb546093c0c87941 | refs/heads/master | 2020-05-24T17:55:32.669506 | 2017-03-14T18:50:10 | 2017-03-14T18:50:10 | 84,866,600 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,630 | r | Data_Prep.R | #Load Librarries:
library(ngram)
library(stringr)
library(stringi)
library(tm)
#Reading Files:
twitter <- readLines("en_US.twitter.txt",encoding = "UTF-8")
news <- readLines("en_US.news.txt",encoding = "UTF-8")
blogs <- readLines("en_US.blogs.txt",encoding = "UTF-8")
#Sampling:
set.seed(1234)
twit_samp <... |
53f599fa54fc03d38cf7fc5411888bb3d32da229 | 03a8b5eb4204f4f07f443ce7742c0190a43d8f91 | /_archive/WFA8000x/_Example R codes/cjs_fixing.R | f87fb6ececa61b4d73bcad38d8530aedc087ffeb | [] | no_license | mcolvin/WFA8000-Research-Credits | b6b18c63905f0fa2284cca4b10eb5f3b0ef3b8ce | 96dae9706cb690500e6705e587ccc03d9f64148d | refs/heads/master | 2022-02-21T07:52:45.223428 | 2022-01-25T17:04:55 | 2022-01-25T17:04:55 | 93,789,059 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,104 | r | cjs_fixing.R | ## FIXING PARAMETERS USING RMARK
require(RMark)
Nfish=700
S<-rep(0.6,7)
p<- rep(0.8,7)
p[7]<-1
# simulate some covariates
# [note there is no effect of these covariates on anything...
# just to demo how to handle covariates in data processing]
sex=sample(c("male","female"),Nfish,replace=TRUE)
fl<- runif(Nfish, 100... |
5a57e4283da6a218cbcdc536eb6a6975b1ea9dc2 | bb44671b1a3bee4802e48eb8364af10519c3f94b | /get_tool_pvals.R | 93a9a50af476f3039be6d50f82c3e5ab514dd581 | [
"MIT"
] | permissive | ebi-gene-expression-group/cell-types-analysis | d847ef1e9a7a26a7bca9f7e1d458728ca18fd664 | a8914f3b6af20c460145427cbab9951d1073e9e9 | refs/heads/develop | 2021-11-26T11:16:51.264263 | 2021-08-17T12:17:18 | 2021-08-17T12:17:18 | 227,411,947 | 4 | 0 | MIT | 2021-08-17T12:17:19 | 2019-12-11T16:32:44 | R | UTF-8 | R | false | false | 1,528 | r | get_tool_pvals.R | #!/usr/bin/env Rscript
suppressPackageStartupMessages(require(optparse))
suppressPackageStartupMessages(require(workflowscriptscommon))
### Using empirical CDFs, obtain p-values for statistics calculated in tool performance table
option_list = list(
make_option(
c("-i", "--input-table"),
action = "s... |
39009a3a6d916359b91ed6cb7f926a4f18d27e30 | e99228b3bde30737df902b6cea7ff3fc32ccad21 | /viz.R | 26315fa10cda80015b2a137cadb97cdd54c10224 | [] | no_license | johnmyleswhite/r_social_dynamics | acc5c9400b0613c645904e41f33dd4c5ad553fff | 562c3919abd6839ff65a57569e9e0fa514e4b434 | refs/heads/master | 2016-09-06T09:50:32.218494 | 2012-08-12T15:18:18 | 2012-08-12T15:18:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 760 | r | viz.R | library("entropy")
library("plyr")
committers <- read.csv("committers.tsv", sep = "\t")
ggplot(committers,
aes(x = Year, y = Commits, group = Committer, color = Committer)) +
geom_line() +
xlab("Year") +
ylab("Number of Commits per Committer") +
opts(title = "Who Makes Commits to R?")
ggsave("commits.p... |
50d640b4b2e13ead544edb3ca82e55ac3fa12863 | 8e3b68b7cede1eb21bdcfba461b078871307a349 | /UVcalc/R/UVR8.Abs300.R | a7593d806e3f902a4b195714b542422da843f727 | [] | no_license | aphalo/UVcalc | 5324bea93fb511299714213fcde81a40fc5c5770 | 36474de64507fe98e3486d31ade7faaf021969a4 | refs/heads/master | 2021-06-07T18:22:53.377278 | 2021-06-06T06:52:45 | 2021-06-06T06:52:45 | 6,579,747 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | UVR8.Abs300.R | UVR8.Abs300 <-
function(wavelengths){
return(UVR8.Abs(wavelengths)/UVR8.Abs(300))
} |
29f54c3a29fc88fb66cb87e8a051d713403d6d89 | 7844b28405c9dbe9ecc28cbbc165b55ea4d20f79 | /Script for Chapter Four.R | 4adbbf1041a893e5f519c392055451ff0f05503f | [] | no_license | sumon148/Chapter-Four | 6217e069238c2a182b3bd69d72ab7c4ec69e1f5c | 810efb527833f97bae4840c04332a1cb23ee049b | refs/heads/master | 2021-01-10T03:07:10.244442 | 2016-03-16T05:44:16 | 2016-03-16T05:44:16 | 53,993,585 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 110,366 | r | Script for Chapter Four.R | # ------------------------------------------------------------------------------
# Script 2: Chapter Four
# Chapter Title: Development of Robust Mean Squared Error Estimation of ELL Poverty Estimates
# Description: Simulation Work based on Parametric Bootstrap procedure
# considering Homoskedastic (HM) level-specifi... |
d0f849012f37ae1f41966ba887c34ef903480958 | 210d6be771cd1c18ed615bf5d6b6f22aa007180e | /R/bin_diff.R | 56b4406559161d799d11c567d6c39ea1cf9e8058 | [
"MIT"
] | permissive | BlishLab/scriabin | 7be4c911f918f723e2e12f1d00fe5bc28ef2d377 | adf16451c870d710b4a0152f55cb25a941bf15ee | refs/heads/main | 2023-07-13T00:20:22.379959 | 2023-06-23T21:12:21 | 2023-06-23T21:12:21 | 438,698,206 | 75 | 7 | NOASSERTION | 2023-08-25T15:04:32 | 2021-12-15T16:29:22 | R | UTF-8 | R | false | false | 10,710 | r | bin_diff.R |
#' Identify most perturbed bins across >2 samples
#'
#' @param seu A binned Seurat object with bin identities in the "bin" column of meta.data
#' @param interaction_graphs List of summarized interaction graphs built from `BuildPriorInteraction` or `BuiltWeightedInteraction`
#'
#' @return For each sender bin-receiver ... |
7605d0a3d80058c0f6f1d5b4428140479eb6369e | 0b8a6b48c1bb2d10cca4d4d02b1e3da9331e9252 | /plot4.R | 7639d24be7bed06d6d0eb338e3504fd29c3d76ff | [] | no_license | alexandrateste/ExData_Plotting1 | 87576c67b5c0913a351d151d4eb76d5af62a5757 | 3f27a7922efbb8fffdb28fee33d131c24b919e1f | refs/heads/master | 2021-01-15T14:53:34.398614 | 2015-04-10T05:34:27 | 2015-04-10T05:34:27 | 33,651,390 | 0 | 0 | null | 2015-04-09T06:02:50 | 2015-04-09T06:02:50 | null | UTF-8 | R | false | false | 1,755 | r | plot4.R | # Assumption: the zip file is in the working directory
ffile <- unzip("./exdata-data-household_power_consumption.zip")
# Extract only rows for which Date is in [01/02/2007, 02/02/2007]
# Requires: install.packages("sqldf")
library(sqldf)
alldata <-read.csv.sql("household_power_consumption.txt", sep = ';', sql = "select... |
c88e1ecdb7dd39fca2c092fa8162050a5f84a18c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ISLR/examples/Portfolio.Rd.R | 9b1ad042189187a113ccf5d2261e2b6a97e199b0 | [] | 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 | 176 | r | Portfolio.Rd.R | library(ISLR)
### Name: Portfolio
### Title: Portfolio Data
### Aliases: Portfolio
### Keywords: datasets
### ** Examples
summary(Portfolio)
attach(Portfolio)
plot(X,Y)
|
6a7abbbc13e6b347ca10d4adb0f265826b167a1a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RNCEP/examples/NCEP.uv.revert.Rd.R | e14f65ccbab2bb19e69680cbcdd555032a4a399d | [] | 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 | 242 | r | NCEP.uv.revert.Rd.R | library(RNCEP)
### Name: NCEP.uv.revert
### Title: Reverts speed and direction to U and V components.
### Aliases: NCEP.uv.revert
### ** Examples
library(RNCEP)
## Using NCEP.uv.revert ##
NCEP.uv.revert(spd=12, dir=225, radians=FALSE)
|
95f78160bb47d191cf3879b3ccb1264c8bb2b5f6 | 3a2d9786a6ef824d60e840012979a37f73a384d2 | /scratchpad.R | 1f275c8d1f67bf490ae6d2bdb5c5c306d530bc2a | [] | no_license | ms609/hyoliths | 8321413f0139e1383c8713ad156d1cdb2ef500ff | 5ddfe4ea2a4ee62d662af28e206365306bf79ffb | refs/heads/master | 2021-08-16T07:56:20.694322 | 2018-10-04T09:55:54 | 2018-10-04T09:55:54 | 119,563,670 | 1 | 1 | null | 2018-10-04T09:55:54 | 2018-01-30T16:35:08 | Turing | UTF-8 | R | false | false | 1,943 | r | scratchpad.R | ```{R tnt-validate-results, echo=FALSE, eval=FALSE}
tntLog <- readLines('tnt.log')
scoreStarts <- which(grepl("Tree \\d+, total adjusted homoplasy", tntLog))
TntScores <- function (start) {
scoreLines <- start + (3 * seq_len(ceiling(n_char / 5)))
characterLines <- scoreLines - 1L
firstBlank <- tntLog[characterLin... |
0a13a35f050d7e42a792e810903112689ba8a4cc | c3f84f89131fad2a1967892d4cc9234053275419 | /activity7/activity7.R | b9db2614d1a2a1e0b4be2c2a558494bb374968a5 | [] | no_license | hjwydler/ENVST206 | 87f5e96c021f42fca6b1c311dd1237def234aa2f | eb0aa2f77c2eaa70d7a84ad00ad984bb8eb4a378 | refs/heads/master | 2023-01-19T12:38:48.817123 | 2020-11-24T19:06:45 | 2020-11-24T19:06:45 | 291,063,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,678 | r | activity7.R | #package for vector data
library(sp)
#package for reading in spatial data
library(rgdal)
#data manangement package
library(dplyr)
#read in shapefiles
#readOGR in rgdal does this
#ice in 1966
icetotal <- readOGR("Users/ginnytw/Desktop/EnvstData/a07/sea_ice")
ice1979 <- readOGR("/Users/ginnytw/Desktop/EnvstData/a07/sea_... |
9f8a09c93428085d7eb5c3e24bf58790f156f305 | ee27d10f44373d68477fa3f3c60ab9cecd1851c8 | /man/okboomer.Rd | 254342b0fddafdaceeabcd04efb9a959c4543253 | [
"MIT"
] | permissive | kjhealy/demog | 9cb4c3428f05c748460974e3f8bb92739aae16b2 | 6af6f100e8f600172b09272ba8b582b88efa5f57 | refs/heads/master | 2020-09-05T09:39:30.794038 | 2019-11-09T01:16:33 | 2019-11-09T01:16:33 | 220,059,824 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 723 | rd | okboomer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{okboomer}
\alias{okboomer}
\title{Birth rates in the US and England/Wales 1938-2015}
\format{A tibble
\describe{
\item{\code{year}}{Year}
\item{\code{month}}{Month}
\item{\code{n_days}}{N days in month}
\item{\code... |
74099bc020b1927bcaac977380bb2fc492b8470d | 96a92240ed4a82922bc13d0f93b0959fce2af7fd | /ggROC.R | f587f3844530818818c728e94f195ecf84df9743 | [] | no_license | ajphilpotts/DataVisualisationR | df981430e70687f8a9c00453e5c542024062e24e | 2903aad6cad8cec26d88544ae684b07ea3847367 | refs/heads/master | 2020-04-02T06:19:09.309595 | 2018-10-22T15:41:38 | 2018-10-22T15:41:38 | 154,141,401 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,172 | r | ggROC.R | ggROC_plotROC <- function(dt,title=''){
plot <- ggplot(dt,aes(d=TARGET,m=PREDICTION)) +
geom_abline(slope = 1,intercept = 0,color = "#322332", size=.8) +
geom_roc(color = "#FF0000",size=1) +
# Formatting
ylab('True Positive Rate') +
xlab('False Positive Rate') +
labs(title=title,
subtitle=paste... |
ad67f9eb492863f4b07d7fbc5dde49d51d44a327 | c5ebc2af6aeb4d5d8e2aa9dfc5e3bcb21deee5ee | /app.R | 9ca878ca4f0ce1f53221cb623015de2ba1cf632e | [] | no_license | ishrat98/SPL-3 | df09f18fb7bbc0d1357980eb45cee47ff8d9a76b | 1a5eac27308421816df20d558293025d8a608a62 | refs/heads/master | 2023-04-01T07:34:58.130880 | 2021-04-05T06:59:35 | 2021-04-05T06:59:35 | 261,375,611 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,869 | r | app.R | library(SingleCellExperiment)
library(SummarizedExperiment)
library(HDF5Array)
library(TSCAN)
library(M3Drop)
library(monocle)
library(destiny)
library(scater)
library(ggplot2)
library(ggthemes)
library(ggbeeswarm)
library(corrplot)
library(Polychrome)
library(slingshot)
library(SLICER)
#library(Seurat)
library(monocle... |
1b1cc8bb7e7875e4f203db97def67769e64306fc | 6c4464440bf42df3df8eb947b3a2798476dfac78 | /PBSmodelling/inst/examples/fib.r | f05563d9477f59638e291bf10f3f31d8a1a308b9 | [] | no_license | pbs-software/pbs-modelling | ad59ca19ced6536d2e44ff705e36a787341f60d7 | 44b14f20af33d5dee51401bad2ff3dce2dfd3cea | refs/heads/master | 2023-01-11T16:18:06.846368 | 2023-01-06T22:45:05 | 2023-01-06T22:45:05 | 37,491,656 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,539 | r | fib.r | local(envir=.PBSmodEnv,expr={
locale = sys.frame(sys.nframe() - 1) # local environment
# ***********************************************************
# fib.C:
# Compute Fibonacci numbers iteratively using a .C call to
# C code
# Arguments:
# n - final nth fibonacci number to calculate
# len - length ... |
caea2c66773a8b4446e68b1976aabf7d45764421 | e12b786bfbc1cc66d1fee14fd20d1a4faa4ae823 | /main.R | 79f8176e7becf29f76948889386297fe6cd54bac | [] | no_license | Harrisonkamau/r-programming | c0628f3c84687c491d0052aa2af2a429c50d856a | ec690d46cbe8371dfdbe94126e66a9b18b8df1f9 | refs/heads/master | 2022-05-03T20:19:53.461669 | 2020-04-14T00:06:25 | 2020-04-14T00:06:25 | 255,468,686 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 672 | r | main.R | library(bupaR)
library(readr)
library(eventdataR)
library(processmapR)
library(processmonitR)
# import data
data <- read.csv('./new_data.csv', header = TRUE)
head(data)
# reshaping the data
data$timestamp <- as.Date(data$timestamp, format='%Y-%m-%d')
head(data)
log <- eventlog(
eventlog = data,
case_id = 'case... |
474d5588d7678b6c6de9ea5cc6f4cb71a51c00c8 | 55e4887da2c65d6ed3a0325a4d7e2a78e38e4a34 | /R/prior_package.R | b0576101a3f0dd9da4c35521d39fd061190982af | [] | no_license | realAkhmed/SparkRext | dfdaa6428a7f4be4a6480192750aee8b7245ba59 | 74adba926cb0b8b4bed1e7199a38db5a48ac0766 | refs/heads/master | 2020-12-25T22:30:28.752940 | 2015-10-31T04:54:10 | 2015-10-31T04:54:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,394 | r | prior_package.R | #' @export
unload_package <- function(pkg_name) {
pkg_name <- as.character(substitute(pkg_name))
unload_package_(pkg_name)
}
#' @export
unload_package_ <- function(pkg_name) {
packages <- Filter(function(x) stringr::str_detect(x, "^package:"), search())
packages <- Map(function(x) stringr::str_replace(x, "^pac... |
b09d7d27221bd9ef1eb78a6ffedd8124a9d437d4 | 4cb6210546ecb8bdd54e5c3e287917f73153eb59 | /man/ivlev.Rd | bc7dfff72bda3a22753e40026afd2d8b91244087 | [] | no_license | cran/selectapref | cd631e15b09c36877232f533b2c9d6693d9534e2 | 53d5ac51798b97a36238478bcff3f8c2bf94501b | refs/heads/master | 2021-01-20T01:31:36.580889 | 2020-02-08T18:30:02 | 2020-02-08T18:30:02 | 89,290,234 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 928 | rd | ivlev.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/selectivity.R
\name{ivlev}
\alias{ivlev}
\title{Ivlev's electivity (Ivlev 1961).
Returns Ivlev's electivity index from vectors of consumed and available food items.}
\usage{
ivlev(available, consumed, jacob = FALSE)
}
\arguments{
\item{availa... |
c378eaa7c790e2353ca98a51b7628f37f96f4ff8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/jmcm/examples/regressogram.Rd.R | d1a1d9a56241776441e335ea7bcc81c13ea3493a | [] | 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 | 335 | r | regressogram.Rd.R | library(jmcm)
### Name: regressogram
### Title: Plot Sample Regressograms and Fitted Curves
### Aliases: regressogram
### ** Examples
cattleA <- cattle[cattle$group=='A', ]
fit.mcd <- jmcm(weight | id | I(ceiling(day/14 + 1)) ~ 1 | 1, data=cattleA,
triple = c(8, 3, 4), cov.method = 'mcd')
regressogram(fit.mcd, ti... |
263037e35fd98f4421df276bbce901ec6af0b124 | 8e40eaafd38ccf1731fcbbc2d240551b251ef0eb | /compute_STAD_R_network/2_compute_STAD_R_network.R | 02abd6291f5a4555abde0041148d58ada25882a3 | [] | no_license | vda-lab/ICD_diagnosis_explorer | dec349c3193be03f94555696b0cc6eaaff620c21 | 98a87c606c8aed81acc71a15ad1af7c0e535a923 | refs/heads/master | 2021-07-09T10:46:38.822332 | 2020-11-04T20:57:19 | 2020-11-04T20:57:19 | 210,180,374 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,749 | r | 2_compute_STAD_R_network.R |
# ---- Compute STAD-R network -----
# Description: This an example script of how to compute STAD-R for multiple distance matrices
# Dependencies
require(tidyverse)
require(stad)
require(igraph)
require(usedist)
require(doParallel)
# ----------------------------------------------------------------------------------
... |
6ebb1b6977044e033f8bf8a1e8938f227ea49d8a | fdd0a3e1d79be39f43edf9b04c061f04cdd2ac87 | /varexplore/man/Mode.Rd | 6a4a5e6e35a16392f923155f7607d4f692014b62 | [] | no_license | cywei23/varexplore | e5040b419a7d910437516246da1f8123c59ccc04 | 14856142dcd22239122985a096390443cfa43571 | refs/heads/master | 2021-01-10T12:44:52.200326 | 2018-10-25T16:28:23 | 2018-10-25T16:28:23 | 49,693,997 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 297 | rd | Mode.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/varexplore.R
\name{Mode}
\alias{Mode}
\title{Mode function}
\usage{
Mode(x, na.rm = FALSE)
}
\arguments{
\item{x:}{Vector}
\item{na.rm:}{Remove NA; default = FALSE}
}
\value{
Mode of x
}
\description{
Mode function
}
|
ccdf3523748588e8cbf8b5c6fa36b471b553dd0a | eef234939eeebc2e5dcf2ad9cfd1888ce36259df | /stats253/pig.R | 09d57563f97a507321220c96a02fd71929abc1ea | [] | no_license | snarles/misc | 5d4e138cbb17bfd08143fc4c097fb84417446990 | 246f9fac0130340e44837b528a2f59e9256f2711 | refs/heads/master | 2023-06-26T06:53:53.933752 | 2023-06-12T13:29:17 | 2023-06-12T13:29:17 | 18,860,939 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 698 | r | pig.R | #http://www.mrc-bsu.cam.ac.uk/wp-content/uploads/pigweights.txt
setwd("stats253/")
y=c(1,1,0,7,5,10,30,30,41,48,66,72,56,46,45,22,24,12,5,0,1)
n=522
s=21
data <- list(y=c(1,1,0,7,5,10,30,30,41,48,66,72,56,46,45,22,24,12,5,0,1),n=522,s=21)
inits <- list(gam=c(-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-... |
46b6d33d25c4960a30d7a2184267105101165700 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gpk/examples/Fairness.Rd.R | f674715d5b3e515c5ba98c9a42bbfd2d4aa71123 | [] | 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 | 211 | r | Fairness.Rd.R | library(gpk)
### Name: Fairness
### Title: Comparison of formulations and sample size determination of a
### fairness product
### Aliases: Fairness
### Keywords: datasets
### ** Examples
data(Fairness)
|
29fd1c0c63b10c038ff282e63c90986911e1bb32 | 7593dbef54dbdae7a0946a97397987738e0e9f74 | /2013/pm10d_laei2013_colours_breaks.R | 1caf82179a5cabeadeefe3c60f177bce0f267d3d | [] | no_license | ICL-ERG/colour_schemes | 368d8e00c240ca18ac10e4a080f942a7459f35f7 | de1ec22fea582901b15b62dc574ca1da0a2c9e8c | refs/heads/master | 2022-01-04T20:37:27.988336 | 2019-05-20T14:45:21 | 2019-05-20T14:45:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 656 | r | pm10d_laei2013_colours_breaks.R | pm10d_laei2013_breaks <- c(0,5,10,15,20,25,30,35,36,40,45,50,55,60,65,70,2000) # 12
pm10d_laei2013_labels <- c('', '<5','5-10','10-15','15-20','20-25','25-30','30-35','35-36','36-40','40-45','45-50', '50-55','55-60','60-65','65-70','>70') # 12
pm10d_laei2013_colours <- c(rgb(0,40,81, max=255),rgb(1,18,156, max=255),... |
047540f54db1c0243c94d24cc40c247db4a3e342 | bfa38cd9176d48d337f40f602ba37f51060a188b | /R/xmpp_message_generator.fun.R | fa7d3ba0b612f5e947545bc01a1cf91c0a08eaa2 | [] | no_license | c3h3/XMPPNotifier | f0d7b80cd838a11e8c9cc38c9ac864f4243281d3 | 66217550312bf7d8bc1190e7ad0b6aa451119a83 | refs/heads/master | 2021-01-15T21:19:06.696546 | 2012-12-14T15:37:07 | 2012-12-14T15:37:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 307 | r | xmpp_message_generator.fun.R | ##' Generate xmpp message
##'
##' @export
##' @param from
##' @param to
##' @param message
##' @param subject
xmpp_message_generator <- function(from, to, message) {
paste('<message from="',from,'@chat.facebook.com" to="-',to,'@chat.facebook.com" type="chat"><body>',message,'</body></message>', sep='')
} |
cd1e7bca72f619b158bf760bc2806d23e4ad9a35 | ab3ba20d8a8d1deeb49a30c10186d44763afeccc | /tests/testthat/test-nl_geocode.R | 7394b32cf2025f83155739c465272f16663111e9 | [] | no_license | cran/nlgeocoder | f6c30f4e3d16226d9a1233e6d1e1a4b81aa6f26c | 97c919b0f651eb01eaba9d521a95344409ba3e6e | refs/heads/master | 2020-03-31T10:13:44.864225 | 2018-10-08T17:30:06 | 2018-10-08T17:30:06 | 152,127,650 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,231 | r | test-nl_geocode.R | context("nl_geocode")
test_that("Class of object returned is sf", {
skip_on_cran()
res <- nl_geocode("Martinikerkhof 3 Groningen")
expect_true(class(res)[1] == "sf")
})
test_that("type = adres", {
skip_on_cran()
res <- nl_geocode("Martinikerkhof 3 Groningen")
expect_true(res$type == "adres")
})
test_that... |
a21aa137833050f685aacc1014d2af10ae2e4961 | f64346037d600604bcdf0689f950a41712ccd8f9 | /best.R | c0ab618caa2a6b168abf5356367042bcd54f7d80 | [] | no_license | mrusert/Hospital-Quality | 5ac6d6c909487e634159b54e017b78ea943a676d | 4e6e9741d9d1e5c4d2d1b935b7d21247577e26f9 | refs/heads/master | 2020-04-06T04:43:20.018858 | 2017-02-23T06:04:12 | 2017-02-23T06:04:12 | 82,890,257 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,727 | r | best.R | sort_hospital_data <- function(state, outcome) {
if(outcome == "heart attack") { ## Check if correct outcome was passed
colNum <- 11 ## if data is correct, assign colNum value
} else if (outcome == "... |
a959a68d38b8f6c39e0814c6f80caaa396e7e7fb | 0ff9b831ec106b5d40165f05d3ff3bd36d8782e9 | /data products/bristoltraffic/munge/01-A.R | 85a0a4c2d8ec7f94ccc1496fcddca6cf3c14decf | [] | no_license | connectedblue/datascience | 3b77ba51b58f3006529300f55b92a673f2d066a2 | 93dcb65b84a631b72bdb7f61255bcab4bd04654e | refs/heads/master | 2020-04-05T14:08:34.947754 | 2016-09-03T12:10:10 | 2016-09-03T12:10:10 | 49,199,982 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,093 | r | 01-A.R |
# Function to clean up a raw dataset
# input is:
# journeys is a dataframe in the form specified by Bristol CC
# in this dataset: https://opendata.bristol.gov.uk/Mobility/Historic-journey-times/jdq4-bmr7
# location_fixes is a dataframe that corrects central location points for some routes
clean_tra... |
b5d0b76366293c55c5c613458b2c18c1214fa099 | c22f16bbaa95ca5f4f9956df2f1f2807aab33ed5 | /code/sst.metrics.timecluster_ncc2019.R | 71b805f62925f5ae1d5ae95d5fdcec0e54249109 | [] | no_license | WCS-Marine/2016-bleaching-patterns | 8954a95debe20882c6c3ee698b95a580baf50fd3 | f20c211b8e97215c15c4011e040d6190fddb1ff6 | refs/heads/master | 2020-06-26T18:19:34.531499 | 2019-10-30T21:26:10 | 2019-10-30T21:26:10 | 199,711,787 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,029 | r | sst.metrics.timecluster_ncc2019.R | ##prepared by Maina. j Mar 2018
## takes a temporal subset (90 days) of time series SST to do temporal clusteriung and to calculate metrics
rm(list=ls())
library(hydrostats)
library(modes)
library(diptest)
library(grid)
library(gridExtra)
library(gtable)
library(plyr)
library(ggplot2)
library(pdc)
library... |
96b46c6ad4514d604aa45fcc5b8bffe0b4fffc13 | 4aa28de9627080f8f145e2ac0e8b1329953fbdb7 | /assign1/getdata.R | 646aec3a31b52ec9bee3c1fe8f5e0a6063e328bc | [] | no_license | kgegner/exploratoryData | 3aa7d59fdf75a3e11b6e2479ad1e1c1ee7dc39e7 | 1d2a412ec8ed6479e7abc7d1c6b8bd047defd29c | refs/heads/master | 2020-05-16T22:18:57.424396 | 2015-08-20T02:25:45 | 2015-08-20T02:25:45 | 38,973,323 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 475 | r | getdata.R | getdata <- function() {
# Read data
txt_file <- "~/Documents/Programming/R/coursera/exploratorydata/data/household_power_consumption.txt"
col_classes <- c(rep("character",2), rep("numeric",7))
pwr_data <- read.table(txt_file, header = TRUE, sep = ";", colClasses = col_classes, na.strings = "?")
# Subset da... |
301fcc45e610070eb56a85f71aee7bf6ca36a55a | 82cf58e384211134e3e887f8d084acfe950945d4 | /R/plots.R | 1990f9c10fa0652e36b54b3ab010fa0184c9fde4 | [] | no_license | hrk2109/bestNormalize | ae50bcc925de18fed7bfd3b8c1474460a9f0ab5a | ab716529e354b667dbb4dcdf33ab7d95f9992633 | refs/heads/master | 2020-04-02T20:40:39.587857 | 2018-09-25T17:44:43 | 2018-09-25T17:44:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,756 | r | plots.R | #' Transformation plotting
#'
#' Plots transformation functions for objects produced by the bestNormalize
#' package
#'
#' @name plot.bestNormalize
#' @aliases plot.orderNorm plot.boxcox plot.yeojohnson plot.lambert
#'
#' @details The plots produced by the individual transformations are simply
#' plots of the origina... |
2dfab49808322aea1a9ade0b42343ef904e5e961 | 3128c1fb4314561fc8d0ef509c4faa6cbecba679 | /R/RcppExports.R | 04a5959276752e9ae0784f860d8d3cfdcf030771 | [] | no_license | introRcpp/confinement2 | 94147063ae604123ca00ba260c60cceb599cbd19 | 9af35cd3f51cf14de654f65ef10cbfbaba6b4167 | refs/heads/master | 2021-03-31T04:09:36.319517 | 2020-03-17T21:14:22 | 2020-03-17T21:14:22 | 248,075,623 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 527 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
demo_heure <- function() {
invisible(.Call(`_confinement2_demo_heure`))
}
demo_lapin_1 <- function() {
invisible(.Call(`_confinement2_demo_lapin_1`))
}
demo_lapin_2 <- function() {
... |
ed712fc45b20a0c3833e5e453d8e6a2c7711d795 | 0974cce1a019a2fe22b7fd453ac2ef73ce335cbc | /man/linearized_work.Rd | 0436abde27313da23aa401ecb816396cf88b6d09 | [
"MIT"
] | permissive | cavargasru/globalrc | b8ee273ea21271132efaebe83214f7a28ce6939c | 75911c6a0c8c06b80643416f06b0830ab5ee48ce | refs/heads/main | 2023-08-06T09:43:33.344894 | 2021-09-15T20:49:25 | 2021-09-15T20:49:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 518 | rd | linearized_work.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/block_work.R
\name{linearized_work}
\alias{linearized_work}
\title{Takes an input array in multiple dimensions and linearizes and removes NA.
This replaces the outputs back into multiple dimensions after making the call.}
\usage{
linearized_w... |
f8f3af9334cdc38b58406acf877ebc8ba027d1f4 | f1251bc1b0068adb269ca1cdf6276a90226c6b9e | /emiliano/code/chalhs.R | 6c0a3becc61d73e5053f900cc6daabc99dc40f23 | [] | no_license | NovaisGabriel/FMTC_2019 | c69f459f1e7f935ae3a33c90df226aceff6652e5 | 7a89dfbe2b4048c345cac5a6843424f89d00506a | refs/heads/master | 2022-11-28T23:40:43.791347 | 2020-08-04T12:17:06 | 2020-08-04T12:17:06 | 284,966,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,158 | r | chalhs.R | # Latin hypercube sampling
# Guojun Gan
# Feb 11, 2019
############
# Generate sample
############
mylhs <- function(k, L, H, A) {
# continuous part
d1 <- length(L)
mR <- matrix(runif(k*d1), nrow=k)
mOrder <- apply(mR, 2, order)
mN <- matrix(L, nrow=k, ncol=d1, byrow=T) + (mOrder - 1) * matrix(H... |
ce4ec4e0824ece4a87bd2b4f7f2e2d04f5dedc37 | b2b096f8b1658f7b5e4e727a25b29abcf50c1ebe | /HammingDistance.R | e024690b92f4de0a9815cf026e92feacf452ae75 | [] | no_license | ShrutiMarwaha/Bioinformatics-Related-R-codes | 5cf69a292d91f711ff75792196f3857fed90b029 | 67ab1d40de33fdd70946b8a28c1dd2c353ebcde5 | refs/heads/master | 2021-01-19T11:37:42.199005 | 2016-10-24T01:51:40 | 2016-10-24T01:51:40 | 37,564,686 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 526 | r | HammingDistance.R | ## calculated hamming distance between two dna sequences
#s1 <- c("GAGCCTACTAACGGGAT")
#s2 <- c("CATCGTAATGACGGCCT")
dna_string <- readLines("./Dropbox/SHRUTIM/Rscripts/PractiseR/DNAstrings.txt")
# dna_string <- readLines("./Dropbox/SHRUTIM/Rscripts/PractiseR/rosalind_hamm.txt")
dna_string
s1 <- dna_string[1]
s2 <- dn... |
b546435697e6e4196209562ffc15676b4076ca76 | b799e9587950b9225486a2ca5493f15cb7b7dedb | /tests/testthat/test_cvis.R | 6cdbf68741dc9dcd8abc873d01b973cc036415b0 | [] | no_license | Htimstrebor/dtwclust | 7f015cab0c55b3410a9f97ffa1dbbde773336566 | d6ef9b54668ec4319bfcf99b6b30f97a3e27dc18 | refs/heads/master | 2020-07-03T12:04:04.395036 | 2016-11-18T21:50:34 | 2016-11-18T21:50:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,047 | r | test_cvis.R | context("Test CVIs")
# =================================================================================================
# both internal and external
# =================================================================================================
test_that("dtwclust CVI calculations are consistent regardless of qu... |
7ce3eb710967c536c44c2dfae3628a61c32d6c04 | 6b769ade12829c97f7aa9930265418bede361967 | /R/table10_13.R | d3d80d92d0a2a178f74cb1fd3f3d687926dcf17f | [] | no_license | brunoruas2/gujarati | 67b579a4fde34ae1d57f4a4fd44e5142285663c1 | a532f2735f9fa8d7cd6958e0fc54e14720052fd4 | refs/heads/master | 2023-04-07T01:15:45.919702 | 2021-04-04T15:10:58 | 2021-04-04T15:10:58 | 284,496,240 | 14 | 6 | null | null | null | null | UTF-8 | R | false | false | 415 | r | table10_13.R | #' Table 10_13
#'
#' U.S. Imports, GDP, and CPI, 1975–2005 (For all urban consumers; 1982–84 = 100, except as noted)
#' Source: Department of Labor, Bureau of Labor Statistics
#'
#' @docType data
#' @usage gujarati::Table10_13
#' @format
#'
#' \itemize{
#' \item \strong{Year}
#' \item \strong{CPI: }Consumer Price Index... |
eba035695637e6bf6347c6eb6a3d50a77214f3de | cd545db34cc4e68b1b5ff7f726d0f4039e9792f8 | /man/res.mod2.Rd | 39a42b1190af2b6002ca2783a481a83ad016277f | [] | no_license | menggf/DEComplexDisease | 3c3598cf7403fda0c0a2fbc4c988196fe229c6cb | c7ad81ba12b3274c4d2d36a77cc22baea16caf60 | refs/heads/master | 2022-07-09T00:53:35.770287 | 2022-06-25T06:13:24 | 2022-06-25T06:13:24 | 95,849,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 256 | rd | res.mod2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{res.mod2}
\alias{res.mod2}
\title{clustered module 1}
\format{a list}
\value{
A list
}
\description{
The module analysis results
}
\keyword{datasets}
|
5c0ba5384ac2c44f7646570307ad9e700210a0e6 | d52a2c14988820d9162dbe76d0bc537932209b62 | /R/hydro_metrics.R | 553dd11ea87ed40154d740966e87c0465b66d878 | [] | no_license | srearl/indian-bend-wash | d698261e28fc12bb1a9349ee020e5ea9db6c1267 | 50c1734e73d60891923c7bcf4e86f340fcc846a1 | refs/heads/master | 2022-02-16T23:11:38.020734 | 2019-08-01T20:59:53 | 2019-08-01T20:59:53 | 118,653,921 | 0 | 0 | null | 2019-07-12T23:38:48 | 2018-01-23T18:49:42 | R | UTF-8 | R | false | false | 3,544 | r | hydro_metrics.R |
# README ------------------------------------------------------------------
# This workflow generates storm-analyte indices, including total load, b,
# cumulative Q, and emc, though additional indices, particularly related to
# hysteresis, can and should be included.
# Input to the worflow is a long-form data featur... |
4a249601ef5510278f855ab17810dbe32a2a9524 | 12f3db3b7f75b1ab6a1b7823d2dfec1c7cf5eb5f | /bernoulli.R | 1d756d78bfdf94aa2eca4bdcc54c78c513d6b5d4 | [] | no_license | rupshabagchi/RStan-models | 9a8c195a785f9fc73729688f9663cd2a0ade40cf | 9e4b28023f27d26f588c4bea97a6e04d8bd415fa | refs/heads/master | 2020-12-30T12:23:43.187356 | 2017-06-26T15:37:28 | 2017-06-26T15:37:28 | 91,382,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 442 | r | bernoulli.R | require(rstan)
bernoulli <- "
data {
int alpha;
int beta;
int <lower=0> N;
int <lower=0,upper=1> y[N];
}
parameters {
real <lower=0,upper=1> theta;
}
model {
theta ~ beta(alpha,beta);
y ~ bernoulli(theta);
}"
N <- 100
y <- rbinom(N, 1, .4)
data <- list(y=y, N=N)
m <- stan_model(mo... |
15f7f40bf1fe0779589d19e9c6ae49672e36193d | 2caa11cba1f9f7486f5aa6a1672225384b372ad4 | /man/data.Rd | 0f05944aa56ba4bda17bffceb34d5dd9be361c57 | [] | no_license | cran/DCEmgmt | 68929ae06ccd099aac24a75b2c6a8b6f307bf8a8 | cd72e53510c6c98b3f3b55ab751426fd92ce0629 | refs/heads/master | 2023-08-23T20:03:42.220636 | 2021-10-26T07:40:02 | 2021-10-26T07:40:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 816 | rd | data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/survey.R
\docType{data}
\name{data}
\alias{data}
\title{Survey data from the DCE in Consumers' preferences and WTP for personalised nutrition (https://doi.org/10.1007/s40258-021-00647-3)}
\format{
An object of class \code{tbl_df} (inherits fr... |
fbf775cb385c764c4d7f240862cdc79ea73548ad | c7edbf71ef5547c91cf5f127565f744c82d0501e | /R_code_AED_pubmed_abstracts_analysis.R | 8fc044321e42f0cc4b354d09b0e6feb6895ee6c1 | [] | no_license | shatrunjai/aed_pubmed | 71a0f0597677e2ff30d28c978cdb88d6f28d47a4 | c0ea41478f6487fab8992fe60d3016e1dac66f82 | refs/heads/master | 2021-04-16T10:07:06.877430 | 2018-01-09T22:55:46 | 2018-01-09T22:55:46 | 116,880,000 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 47,944 | r | R_code_AED_pubmed_abstracts_analysis.R | ##############################################################################
# FileName: R_Epilepsy_Wordcloud.R
# Description: This file has the R code that can be used to get abstracts from PUBMED
# and analyze them with text analytics
# Author(s): Jai Singh
# Version: $Id$
# History:
# 201... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.