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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1eee8ce799b18280032a9a767dc5341ffeb5e8f2 | a84842eeb58542b8598497c4208675a8afb3a1a7 | /0_processNTS.R | 9054ddbcf9930c60d9117e0ed5831b54d34ff5ea | [] | no_license | ITHIM/TravelSurvey_BaselineBuild | 6d1b1f8d02a20d169a2afdd903571b4b0df2f2b7 | e4d2a446fa13de85548d7a318fc2cac990a80f02 | refs/heads/master | 2021-01-19T10:35:44.321472 | 2018-05-01T11:27:26 | 2018-05-01T11:27:26 | 82,195,993 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,437 | r | 0_processNTS.R |
####################### REQUIREMENTS ###############################
# a 'data' folder with all the sources from the specific Travel Survey
# in .tab format (for .csv, .Rds, .xls..... replace reading commands)
# Script subsets to years 2004-2014 *ONLY* when using the latest release NTS2014
#rm(list=ls())
# defi... |
9d167fbda4654ab6e6c9e4f45424c08716f3bebd | 3b0be5721a5478b1bac4e6b08cdcd1b88e3a4046 | /inst/snippets/Example2.19.R | b8bc0198b75779efca0649a741a855f1d07725f4 | [] | no_license | stacyderuiter/Lock5withR | b7d227e5687bc59164b9e14de1c8461cb7861b14 | 417db714078dc8eaf91c3c74001b88f56f09b562 | refs/heads/master | 2020-04-06T06:33:39.228231 | 2015-05-27T11:41:42 | 2015-05-27T11:41:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 166 | r | Example2.19.R | ( 204 - mean(~Systolic, data=ICUAdmissions) ) / sd(~Systolic, data=ICUAdmissions)
( 52 - mean(~HeartRate, data=ICUAdmissions) ) / sd(~HeartRate, data=ICUAdmissions)
|
93d238d52f3fefa26b5d3458843939fab9defed5 | fb61adddae4c5a98c0996be7e89f3172dd51ab33 | /R1.NameConverter.r | e1a3a271aa457e253af5be2abe5a745c5c566d9f | [] | no_license | debjitray/Copy-Number-Analysis | 589572caaac084ba5238e121526b69a5668c8e02 | 6032fc6312f8bf1c9754b18ec444182ef981cc40 | refs/heads/master | 2021-01-11T14:25:30.302596 | 2017-02-09T03:55:40 | 2017-02-09T03:55:40 | 81,404,480 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,018 | r | R1.NameConverter.r | cat("\nThis code converts the Peptide names into their respective Gene Names, Chromosome Name, Start and End location\n\n")
# Author: Debjit Ray
# Date: 20 September, 2014
# Usage: From terminal
# Rscript Q1.ProteinToGeneNameConverter.r INPUTFILE OUTPUTFILE MARTNAME DATASET QUERY CONVERTED
# Rscript Q1.ProteinTo... |
72c4ab861f4bb5234b65fb76d8c482ab04721288 | 57bb3030d0f6eb51004f1505d26de71e7b9b9530 | /Time_Series_Analysis.R | 1fce081fc974fdb6e5df640610be38522ad37316 | [] | no_license | vicky-lee/Time-Series-Models-Using-R | 569bc93051f1d469a53ee9cee5a49dcdacdc497f | 90279351e10909f318ffbd48b029767f1f5e8416 | refs/heads/master | 2021-01-19T23:02:30.528069 | 2017-04-20T22:14:37 | 2017-04-20T22:14:37 | 88,914,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,806 | r | Time_Series_Analysis.R | # data Retrieval and libraries
setwd("C:/Users/Vicky Lee/Desktop/CSC 425/Project")
myd=read.table("ex_rate.csv", header = T, sep = ',')
head(myd)
library(rugarch)
library(tseries)
library(fBasics)
library(zoo)
library(forecast)
library(lmtest)
# missing Values and time Plot
sapply(myd, function(x) sum(... |
fc99a4ef39f0a424299384bb594f33ef73a58d56 | 0762da61488e95451972d5c726dd9483088cfb0f | /taller SKAT secuencia/analisis SKAT_secuenciacion_GENE.R | 7651437c5d9b270b44d9c4cd13c84fb55bf8efe2 | [] | no_license | fepo68/TallerBioinformatica_CG_COMF_2021 | eee36314bafafc85068bb52ad160284da90efe6e | afb89aee906dd4d75f10400d58c543e880d209a9 | refs/heads/main | 2023-08-20T14:18:36.467577 | 2021-10-12T00:08:49 | 2021-10-12T00:08:49 | 416,098,517 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,176 | r | analisis SKAT_secuenciacion_GENE.R |
## SKAT PARA 1 (O POCOS GENES)
library(SKAT)
setwd("/cloud/project/taller SKAT secuencia")
RH <- read.delim("RH_seq_ALL.txt",stringsAsFactors=F,na.strings=c("","."))
head(RH)
dim(RH)
names(RH)
table(RH$GENE)# vemos los recuentos de variantes para cada gen
table(RH$GENE, RH$Polyphen2_HDIV_pred)# distribucion de vari... |
20b617ea50cb05a412b3aeb0cc0942f196ab59b9 | 8c374f8b433c33bd2989a5cd66c6dff601208efa | /man/mr_raps.Rd | 2baf2729c6945b485c6ec818c1058d1812935258 | [
"MIT"
] | permissive | MRCIEU/TwoSampleMR | 2514d01692c95db1e9fbe23f8696e99a12c6ab34 | 592ebe05538558b330c39ddeda0d11b1313ad819 | refs/heads/master | 2023-08-29T22:47:33.163801 | 2023-05-29T20:46:39 | 2023-05-29T20:46:39 | 49,515,156 | 277 | 160 | NOASSERTION | 2023-06-13T00:24:11 | 2016-01-12T16:57:46 | R | UTF-8 | R | false | true | 1,460 | rd | mr_raps.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mr.R
\name{mr_raps}
\alias{mr_raps}
\title{Robust adjusted profile score}
\usage{
mr_raps(b_exp, b_out, se_exp, se_out, parameters = default_parameters())
}
\arguments{
\item{b_exp}{Vector of genetic effects on exposure.}
\item{b_out}{Vector... |
4206f5100143bc320668c4a2cee018ea1b3ea9ad | 983c7ea16d0b8b97976a4b246edfad344e2e3e24 | /pollutantmean.R | 64b038430d3f7f67ef9a4171722a4d67bd769de8 | [] | no_license | mpallavi/Data-Science-Certifications-Coursera | d8c7d9825fafc1c7446d82f41ebe951aac4e9b60 | e7dd15bcd5d91c21d38f1dd65af4b9de1f518fae | refs/heads/master | 2021-01-02T08:33:40.311288 | 2015-03-07T03:39:20 | 2015-03-07T03:39:20 | 29,446,325 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 315 | r | pollutantmean.R |
pollutantmean <- function(directory, pollutant, id = 1:332) {
data = lapply(id, function(i) read.csv(paste(directory, "/", formatC(i,
width = 3, flag = "0"), ".csv", sep = ""))[[pollutant]])
return(mean(unlist(data), na.rm = TRUE))
}
|
7b04c5167e6ef35ddb276ee36c161582f33112d3 | 6b9818dd01030e8b3a9fec4a15b75cbfc750744a | /plot5.R | 5663a9f134dd7a8c678a6bdad2945085618dc1e6 | [] | no_license | ssheremet/ExData_Plotting2 | f50e41130dd6b5103fea7cd5618683b873fd83d8 | 112046d7fa7617430600f8a5a7ca7857bbb70d5d | refs/heads/master | 2021-01-22T23:25:27.223054 | 2014-05-21T21:09:51 | 2014-05-21T21:09:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 975 | r | plot5.R | plot5 <- function(){
require(ggplot2)
##read data from files
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
##subsetting data by coal combustion
NEI_motor <- subset(NEI,type=="ON-ROAD" & fips == "24510")
... |
341ea021098cbc0549ac590606118727dcee8b64 | bea0e56a7a0ff5597a21158ae4b8c566a5a6404f | /R/RcppExports.R | d651ca5b61146ed8d5217d7e9c8c73fb5dfcc0e4 | [] | no_license | EliGurarie/smoove | 98c5c128316ad37bfc9d44916495f9f5b4d4a920 | 998e456c308d289f7428c9cf2043fd27de76f600 | refs/heads/master | 2022-08-08T03:17:21.322981 | 2022-07-28T20:51:17 | 2022-07-28T20:51:17 | 85,118,943 | 5 | 2 | null | 2018-06-30T15:00:18 | 2017-03-15T20:42:44 | R | UTF-8 | R | false | false | 241 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
Mahalanobis <- function(x, center, cov) {
.Call('_smoove_Mahalanobis', PACKAGE = 'smoove', x, center, cov)
}
|
c3827ad0559a618dcf1e73f4659e84a13102437a | 2d549b99d2f77abe9f4658ffb7ef3fef6e25c286 | /man/create_ejMetadata.Rd | bb5ab8bb56301d18f78bbf73dc61ab392c42b1bb | [] | no_license | Hackout2/repijson | 549b538135badb358b864be5c47e26e177de74c0 | 4ad8f9d7c33cd2225e11674f651f608bff08bc91 | refs/heads/master | 2020-12-29T02:36:05.984596 | 2017-02-22T22:06:34 | 2017-02-22T22:06:34 | 35,152,284 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 388 | rd | create_ejMetadata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/constructors.R
\name{create_ejMetadata}
\alias{create_ejMetadata}
\title{Create metadata}
\usage{
create_ejMetadata(attributes)
}
\arguments{
\item{attributes}{list of attributes of the metadata}
}
\value{
an ejMetadata object
}
\description{... |
f281571d5d53a79f16f7c8cf037a0ec7f7d951e1 | 1f3c33ff4573e8d00421be9c1064286c7c16bdd7 | /old FUNCTIONS/INPUT.R | e2b739a6b2354727875cc8154ba5dc0fc1e46222 | [] | no_license | mccannecology/model | bcddb18189a49507d10a49f063c99a9d0e529e49 | 3ab691c6069b174d97230719ee40f36e6129a0bf | refs/heads/master | 2021-05-28T08:39:34.460524 | 2015-03-18T15:38:43 | 2015-03-18T15:38:43 | 17,213,665 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,645 | r | INPUT.R | #####################################################
# Accepts .csv of parameter values #
# Assigns values to objects in environment #
# STILL IN DEVELOPMENT #
# #
# By: Michael J. McCann ... |
27892d3c57da742286b167e85e13a6d51f94cb3d | 49d51566b41a141a0dcad5119fcf910efcdfd82d | /Ex.2_11.R | c8da6faaee66d8295231fcc6ce9a1296acfb9bf8 | [] | no_license | himanshu6980/RSolvedProblems | 460124c286f8d6814ae7f9ba762cb01dcb7e5cc4 | d9928290279030543572005c84638bcab98c72ac | refs/heads/master | 2020-03-06T18:42:59.866055 | 2018-03-27T16:10:59 | 2018-03-27T16:10:59 | 127,012,585 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 550 | r | Ex.2_11.R | # lists
Numbers <- c(2,5.1,3.9,9,6,7)
Logic <- c(TRUE, TRUE, FALSE)
strings <- c("nikita", "manoj","himanshu", "uday")
complexnumbers <- c(3.2-4.5i,12.8+2.2i)
# creating a list
items <- list(Numbers,Logic,strings,complexnumbers)
# naming list elements
items <- list(first=Numbers,second=Logic,third=strings,fourth=comple... |
29b4857baf628d5fd97cbca43510e002f50a0f13 | a346948645c961c79baa6c83adea72d6fa8a5093 | /man/hidden.Rd | 435eae0cfe7382dc5b7f50e09c039c824121357f | [] | no_license | Chabedi/Ellipses | 3fce410e0988ce8eca9f5eb2096e930605f13ee9 | 23731b91bcaee5b96a10699e2a98013cd6a032f0 | refs/heads/master | 2020-03-23T12:39:31.399917 | 2018-07-19T11:59:55 | 2018-07-19T11:59:55 | 141,572,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 182 | rd | hidden.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hidden.R
\name{hidden}
\alias{hidden}
\title{Title}
\usage{
hidden()
}
\value{
}
\description{
Title
}
|
20128a91e03079d0bdbb31ecf7ea0c616a7ef0e1 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /landscapeR/R/landscapeR-package.R | 2610921680a6c9fe1e59d4eb42d6b7d76bf318e0 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,483 | r | landscapeR-package.R | #' landscapeR: A landscape simulator for R.
#'
#' This package is aimed at simulating categorical landscapes on actual geographical realms,
#' starting from either empty landscapes, or landscapes provided by the user (e.g. land use maps).
#' landscapeR allows to tweak or create landscapes while retaining a high deg... |
968d7d3f90c64a80aa3d88a4bd1939653ee0a04f | abf9a60795618b176c40741696b5cd0b97ae0a5a | /cachematrix.R | 04a4b6f1edc76b16838cae6f9e336236509a53b0 | [] | no_license | catods/ProgrammingAssignment2 | 48b89952dfa5c7ae730d4eb5566becd7a023c396 | 2f8d1887ae431f1c60ff78d10f6689354e46a982 | refs/heads/master | 2022-11-07T09:52:42.006172 | 2020-06-21T23:08:13 | 2020-06-21T23:08:13 | 273,986,808 | 0 | 0 | null | 2020-06-21T21:32:14 | 2020-06-21T21:32:13 | null | UTF-8 | R | false | false | 1,312 | r | cachematrix.R | ## This sets of functions allow to create a data structure to manipulate
## a matrix, caching the inverse of the matrix, so it does not need to
## be re-calculated when you call the function with the same argument
## makeCacheMatrix creates a list structure of functions that allow get
## and set the matrix and the inv... |
65a1ad58a2954940b1476d6dc3018e0d10c00bd9 | a67e2ecb5ee1d33f396d03e07a89ddbddaf36fa2 | /ui.R | 7acc2d1e614a23633aa54e49864ed6888a305cab | [] | no_license | sydneykpaul/Data_Visualization_Final_Project | 0e8b2157e984ed183c5c645f990f2adae5b13c2f | 96421ea4a98c5bc2d4e51877a9517f8a9fa7c9d9 | refs/heads/master | 2020-11-24T17:50:54.915839 | 2019-12-16T01:56:32 | 2019-12-16T01:56:32 | 228,279,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,576 | r | ui.R | ###########################################
## Title: Data Visualization Final Project
## Authors: Sam Anderson, Sydney Paul, Kenneth Shelley
## Date Created: 12/6/2019
##
## Description:
## - ui.R file
## - Community guide to the South Bend area
###########################################
# Load necessary librari... |
2dd427bfe75e51b2b9a7fc5c1b02204954b1b616 | abd0439e4334255e89858b6ba0298254b24e3f00 | /類別變數預測.R | 9836650f62ebc1e384f67f3f5f3cebfcc4294422 | [] | no_license | vvsy/DM_Project4 | c557eb12f6a4e5413b978762e85f5d791d1dc2eb | 67fceb221f8ef0e66a025478c9c1e0086e6eed58 | refs/heads/master | 2020-04-13T22:38:13.798498 | 2019-01-16T19:03:14 | 2019-01-16T19:03:14 | 163,484,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,178 | r | 類別變數預測.R | file = "/Users/wongshnyau/Dropbox/mice.data.Rda"
load(file)
library(caret)
library(tidyr)
library(dplyr)
library(pROC)
micedf %>% select(-id) -> micedf
as.numeric(micedf$cno) -> micedf$cno
#splite data to train and test
trainIndices = createDataPartition(micedf$dmfail, p=0.7, list=F)
df_train = micedf %>%
slic... |
c7bd927f7cd3ec4f1b5a7fb4d1c71fd4a33c468b | add550bc664a83f3ec02597d0d3116d38cb6e774 | /man/Q.RW1.Rd | 12c556f3a6dac778db42bf52767cf6e167443c0c | [] | no_license | nmmarquez/ar.matrix | f39f61eac1761b8ea42b26eaacb4a89d80e45a65 | c8f75efb08d5ea926aee5817cce22a940f03efa0 | refs/heads/master | 2021-01-11T18:04:46.181292 | 2019-02-16T22:49:58 | 2019-02-16T22:49:58 | 79,485,817 | 7 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,278 | rd | Q.RW1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Q.RW1.R, R/r.RW1.R
\name{Q.RW1}
\alias{Q.RW1}
\alias{r.RW1}
\title{Precision matrix for an RW1 process}
\usage{
Q.RW1(M, sigma, sparse=TRUE)
r.RW1(n, M, sigma)
}
\arguments{
\item{M}{int > 0, number of elements in the RW1 process.}
\item{si... |
e6e9d4a9c9bfd1c27262890990885cd995805bda | 1be1c1a52dcdc8b63e19b430f4fba64f8403b7b8 | /man/get_PHDistSubtreeCorrelation.Rd | ec3b711857de4a88bc5de4d2cb3fe15330938f98 | [] | no_license | JanEngelstaedter/cophy | 5af999cd1aed5261a1ab5052e1de3348698e146c | 81853cd5b56502e6f9ab5595606feeb8a37b9bb4 | refs/heads/master | 2023-08-16T20:28:45.084296 | 2023-08-14T06:18:45 | 2023-08-14T06:18:45 | 134,203,070 | 3 | 3 | null | 2021-02-18T06:29:43 | 2018-05-21T01:36:30 | R | UTF-8 | R | false | true | 815 | rd | get_PHDistSubtreeCorrelation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats.R
\name{get_PHDistSubtreeCorrelation}
\alias{get_PHDistSubtreeCorrelation}
\title{Correlation between pairwise distances of associated hosts and parasites by
host subtree.}
\usage{
get_PHDistSubtreeCorrelation(cophy, h = NULL, k = NULL)... |
877798c5831db60c514df95bb323e5b65be2e8cb | f65baf1d2762504d6d341d1a14466c0d519f697c | /R/ror.R | f527856277c878972503e5650ebc1904b22d6601 | [] | no_license | gchung05/mdsstat | da9815609491cbe391dca971100c504a1714bb02 | 199e4355a3283a8d11ec4b73cd308a89b18553c8 | refs/heads/master | 2021-06-02T23:10:44.804219 | 2020-03-09T01:38:34 | 2020-03-09T01:38:34 | 132,389,664 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,954 | r | ror.R | #' Reporting Odds Ratio
#'
#' Test on device-events using the reporting odds ratio (ROR). From
#' the family of disproportionality analyses (DPA) used to generate signals of
#' disproportionate reporting (SDRs).
#'
#' For parameter \code{ts_event}, in the uncommon case where the
#' device-event count (Cell A) variable ... |
d0995abb96169ca87ab8b1199086a1bec891a77b | fc7336e0c1114304ef0eca71527f362a61641125 | /R/summary.R | 8d7986ae8847b4467178503d023c0a5043c931e5 | [] | no_license | anne-laureferchaud/stackr | ce8df87f6a572ca787c9f7aa94fa00b84f0839bd | 3b88196acbd43cecb940db89e88934a6727850fe | refs/heads/master | 2020-12-24T12:13:50.244896 | 2016-03-03T20:34:52 | 2016-03-03T20:34:52 | 42,137,160 | 0 | 0 | null | 2015-09-08T20:26:25 | 2015-09-08T20:26:25 | null | UTF-8 | R | false | false | 41,024 | r | summary.R | ## Summary and tables
#' @title Haplotypes file summary v2
#' @description STACKS batch_x.haplotypes.tsv file summary.
#' Output summary table for populations with putative paralogs,
#' consensus, monomorphic and polymorphic loci. Detected paralogs are removed while estimating the subsequent statistics.
#' The haploty... |
abcbf5a5a58d80f4e0a0bd8d5ac77ee62048b938 | 5e8eb93d9c1ece167da266e1d3eb4920453b6579 | /survival_boosting_d7.R | 4bf7beb2c68d6864aaabf19fcabc79bb6034746c | [] | no_license | CodeYueXiong/Prediction_Challenge_T2E_ML | d5496ae233ab5cfae08c4ba4775ee9d9e2c9eb84 | e5e9d12e26e786e0dffd472cf96d2bd563d42091 | refs/heads/master | 2023-03-17T12:11:16.374182 | 2021-02-24T08:58:26 | 2021-02-24T08:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,429 | r | survival_boosting_d7.R | ##################################################
##################################################
########## Boosting in COX Regression ############
################## dataframe1 ####################
##################################################
##################################################
#============... |
7d32eb8a18d5c2935954c81dcbda785448ede369 | 1c4caaa37a9aaeac8c0fa73a417503d6ed05ef53 | /inst/scripts/md_postprocessing.R | 6d41776006f847a5aa77b663b2a2e26fb474cd7d | [] | no_license | metamaden/recountmethylation_manuscript_supplement | 08996bf66fa0ad920b35107105d27b94663fb275 | 4a254783b8933411a80032e33549ae94c1544ad6 | refs/heads/master | 2020-12-27T09:22:39.405834 | 2020-10-09T06:27:08 | 2020-10-09T06:27:08 | 237,849,928 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 46,329 | r | md_postprocessing.R | #!/usr/bin/env/R
# Describes postprocessing from coerced GEO GSM metadata.
# Notes on rules for regex matching:
# 1. var states having phrases separated by spaces, to be separated by underscores
# 2. variable with more than one state have states separated by semicolons
# 3. all var states tolower (lowercase only)
# 4.... |
666fd32c652d0c3b8cd3a46a7533eb66ad124618 | 410a46ae079aca50fdb9b81242cca0668869e153 | /R/exporta100primeros.R | 2b16efbacb2cbc4eaa0053e8666f8e310a115e02 | [] | no_license | amanosalva/r-utils | 2e25e9bdc0f4da73faac88643afd3c07da062352 | 051cc9bb804b4f46e16aa0cb1e63d3670b69a3bf | refs/heads/master | 2021-09-03T07:27:22.496533 | 2018-01-07T02:00:07 | 2018-01-07T02:00:07 | 114,258,530 | 1 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 768 | r | exporta100primeros.R | #' @title Exporta head de un dataframe
#' @description Función que exporta un .csv con los 100 primeros registros de un dataframe en el path indicado
#' @param dataset Dataframe
#' @param path Lugar donde se exportará el archivo
#' @details Esta función fue creada principalmente para facilitar el trabajo de exploración... |
f58ecd6c841a429ede1307d698dfd0adbd2782b1 | b021f3022f1a2e3a243400374a2134df5b170ede | /man/tripadvisor_places.Rd | c8ad824f0a7f5b97b87f1eeee32ef596c7278f63 | [] | no_license | cran/sgat | 6ca1c369e06d58842cb9bd4634913f255779241d | 7089a23463138d99c4be97c0740c6d7c00cb7073 | refs/heads/master | 2023-03-12T01:00:43.059494 | 2021-02-26T08:00:02 | 2021-02-26T08:00:02 | 342,620,503 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 786 | rd | tripadvisor_places.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tripadvisor_places.R
\name{tripadvisor_places}
\alias{tripadvisor_places}
\title{Search for the n most popular places in a city according to Tripadvisor}
\usage{
tripadvisor_places(ciudad, n.resultados = Inf)
}
\arguments{
\item{ciud... |
ca10c4c041a96a1b766ccc2af5fb9cd39723348f | be031ab4888373eaab2bff677c414335231380e7 | /man/replaceNaDS.Rd | f4e4fe8a49daa542b0ba2c3ef70e5f82d4fff386 | [] | no_license | ginberg/dsBase | 3957d9183e3a3eb5c621452cea7b5da3d276195d | bfacea02bc5d05a101c4c5c674b56689770324f1 | refs/heads/master | 2020-05-07T18:11:15.355150 | 2015-03-30T13:31:45 | 2015-03-30T13:31:45 | 180,757,909 | 0 | 1 | null | 2019-04-11T09:21:35 | 2019-04-11T09:21:35 | null | UTF-8 | R | false | false | 994 | rd | replaceNaDS.Rd | \name{replaceNaDS}
\alias{replaceNaDS}
\title{Replaces the missing values in a vector}
\usage{
replaceNaDS(xvect, replacements)
}
\arguments{
\item{xvect}{a character, the name of the vector to
process.}
\item{replacements}{a vector which contains the
replacement value(s), a vector one or more values for
eac... |
b27b89132f2b379ca035d8c53938e9b1cc08a36b | 3cc53f8e991301aa9b051d1bd95af9b0086a45b1 | /man/blblm-package.Rd | 8d424ea6f0b6d3a782b605b12f1e1bf06a4e911d | [
"MIT"
] | permissive | ahui187/blblm | a876f5747e9aed912e63e5662af660e57ec63f91 | 628cf1e448b6d6336b9adb41b8465c4f6d56e70a | refs/heads/master | 2022-10-12T16:53:51.882938 | 2020-06-09T02:42:20 | 2020-06-09T02:42:20 | 269,492,717 | 0 | 0 | null | 2020-06-05T00:20:06 | 2020-06-05T00:20:05 | null | UTF-8 | R | false | true | 672 | rd | blblm-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/blblm.R
\docType{package}
\name{blblm-package}
\alias{blblm}
\alias{blblm-package}
\title{blblm: Bag of Little Bootstraps}
\description{
The data is first separated into m subsamples. Then for each subsample,
we resample until we have the... |
fb15a51543abe40c28bfff75033f586873b1b4a0 | 31e0e9951808a594a16b2c91b0d67ad8db8ca070 | /scripts/chapter_5.R | 460b566a43c711b43517a3fdef88bb695a88bc7b | [] | no_license | DrJohan/R | 50c9c81de5d868de183477363ae63c2a687e48b9 | 813762488f622ff8127426616946618d5359600f | refs/heads/master | 2020-03-29T08:26:43.844179 | 2016-05-13T11:21:24 | 2016-05-13T11:21:24 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 9,685 | r | chapter_5.R | ######################################################################
# Biostatistiques et analyse des données de santé avec R
# chapter_5.tex
# R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
# Christophe Lalanne, Mounir Mesbah
######################################################################
#######... |
4597fd2f1de56b78c737b64d144f8dd551568656 | 6a42708adb6688ffce02234a55bf3ced346b4d0f | /tests/testthat/test-encoding.R | 2334591287c40715e7e963bb7b73ef3fd48cf9db | [
"MIT"
] | permissive | r-lib/keyring | 3e9bf3739fbde6ec66cdfbe42db64fd633bcfbdc | 83bf966826c617cf49222946b39015e64f4e1c64 | refs/heads/main | 2023-08-07T14:36:05.672103 | 2023-07-20T08:52:55 | 2023-07-20T08:52:55 | 80,223,347 | 162 | 32 | NOASSERTION | 2023-07-20T08:52:56 | 2017-01-27T16:18:55 | R | UTF-8 | R | false | false | 4,100 | r | test-encoding.R | context("Testing encoding retrieval function")
test_that("No option/env var set returns auto", {
skip_if_not_win()
withr::local_options(keyring.encoding_windows = NULL)
withr::local_envvar(KEYRING_ENCODING_WINDOWS = NA_character_)
encoding <- get_encoding_opt()
expect_equal(encoding, "auto")
})
test_that("O... |
aed0093c6fc34443882ddf2cc4212f5dc736fe9f | 7a5d49b43c5d6f9a8131e9e38178d39ecc068081 | /R/ExportFehler.R | db87377e893e92e036e6a4616199aada322ebe4c | [] | no_license | statistikat/mzR | 85ac986612990e6fd1dfd337a657a90ba271fd4e | dca98366ffa9032c0e926abe5579a1d1053424c7 | refs/heads/master | 2023-08-16T06:05:36.632937 | 2023-08-07T10:46:01 | 2023-08-07T10:46:01 | 57,034,956 | 2 | 0 | null | 2019-06-04T13:52:18 | 2016-04-25T11:03:05 | R | UTF-8 | R | false | false | 4,004 | r | ExportFehler.R | #' @export
#' @rdname ExportFehler
export <- function(x,outFilePath=getwd(),outFileName=NULL)
UseMethod("export")
#' Export der Schaetz-und Fehlerrechnungsergebnisse.
#'
#' Funktion exportiert die Ergebnisse der Schaetz-und Fehlerrechnungsfunktionen
#' in ein .csv-File.
#'
#'
#' @aliases export.mzR export
#' @par... |
5ce4fcb43e7a3507de5513e76006c2f0678399e0 | 93a2c39a2aad7d772d7367fb271784b2bb380a0c | /R/multinomial.glm.R | 010429246b24d8e72f1cc20152b4e22db06a7d2f | [] | no_license | duncanplee/CARBayes | 5741455e02985c1590144e9a3ac0331c2d1b7a55 | a856f72c9ca5000e34c66f7d492e02a63fc98cfe | refs/heads/master | 2022-09-20T02:05:36.835476 | 2021-09-30T07:17:26 | 2021-09-30T07:17:26 | 147,368,109 | 14 | 6 | null | 2022-09-06T14:29:23 | 2018-09-04T15:31:18 | R | UTF-8 | R | false | false | 11,173 | r | multinomial.glm.R | multinomial.glm <- function(formula, data=NULL, trials, burnin, n.sample, thin=1, prior.mean.beta=NULL, prior.var.beta=NULL, verbose=TRUE)
{
##############################################
#### Format the arguments and check for errors
##############################################
#### Verbose
a <- common.verbose(verbo... |
a11052ce3789f28c5fa00ca24d061aba8c86b1e9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gsw/examples/gsw_entropy_ice.Rd.R | a10e90e6c1edc23872e1c990ccc4973a49034884 | [] | 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 | 443 | r | gsw_entropy_ice.Rd.R | library(gsw)
### Name: gsw_entropy_ice
### Title: Entropy of ice
### Aliases: gsw_entropy_ice
### ** Examples
t <- c(-10.7856, -13.4329, -12.8103, -12.2600, -10.8863, -8.4036)
p <- c( 10, 50, 125, 250, 600, 1000)
e <- gsw_entropy_ice(t, p)
expect_equal(e/1e3, c(-1.303663820598987, -... |
ff00e6964ea79c0a08b29f1b690f19b7b4b59963 | 9d5ad6c558e943486c357d190410a06b9ba9b74e | /R/fullRepertoire.R | 71b5d7df17c7fa6d43e208a22fb5ca5428d40686 | [] | no_license | fabio-t/AbSim | db715b89295ab85c3d61036b11f5560a87b69f38 | 043cd42f520e27ccde022d73c5067848c8c289b7 | refs/heads/master | 2022-01-26T14:32:27.325209 | 2018-08-17T08:30:03 | 2018-08-17T08:30:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,860 | r | fullRepertoire.R | #' Simulates full heavy chain antibody repertoires for either human or mice.
#' @param max.tree.num Integer value describing maximum number of trees allowed
#' to generate the core sequences of the repertoire. Each of these trees is started
#' by an independent VDJ recombination event.
#' @inheritParams singleLineage... |
6131cfc35c4a6a72fc0773b594b9f00be3aaed21 | 418fde940e0197bc8c3c8a023ed742fd7b40f271 | /motifAnalysisBellPaegle.R | 810cec7591f61a0aaf739fe4b0079435839bae62 | [] | no_license | avbell/MotifsBellPaegle | 7af72764a826a14036c290b21dea0ae3113b202e | a26f82a727fcbfa0044b7d9055705063d7b8b1d9 | refs/heads/master | 2021-12-15T10:45:38.341384 | 2021-11-30T15:11:32 | 2021-11-30T15:11:32 | 221,515,911 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,567 | r | motifAnalysisBellPaegle.R | # ----------------------
# ANALYSIS FOR BELL & PAEGLE
# Ethnic Markers and How to Find Them: An Ethnographic Investigation of Marker Presence, Recognition, and Transmission
# University of Utah
# ----------------------
# packages you will need
require(jpeg)
require(graphics)
require(stats)
# graphics rendered on a mac
... |
a0d7770de843f553f17cdea807ff1367baccb030 | 85560c1235e67df38c1dc54cf0474490a54646d4 | /man/setName.Rd | e129e1c7b18e6759c96ff16d9c00889bea0239cd | [] | no_license | Huansi/MetCirc | c913a9606b1356abbf4a1db68747d35b9fdef509 | efc2edd6a55259bff8d583ece69fce91beaee964 | refs/heads/master | 2021-01-12T05:17:29.389295 | 2016-12-11T15:12:46 | 2016-12-11T15:12:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 888 | rd | setName.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert2MSP.R
\docType{methods}
\name{setName}
\alias{setName}
\alias{setName,character,MSP-method}
\title{setName sets names in MSP objects}
\format{An object of class \code{NULL} of length 0.}
\usage{
setName(object, name)
}
\arguments{
\it... |
0f38cc9f8a2f9814593bd7165b4f8fb596a39b03 | 850fb65a0435402667af1475072f36391fcb1627 | /wrangle.R | dfac4958903591a4f63906aeda6677d32354138b | [] | no_license | HunterRatliff1/Texas_Health_Professions | 04cd84fa659128b34459071db5d414dbe4d2304d | 739f8848a0e16dca2cf3716d7322e58700b436f8 | refs/heads/master | 2021-01-10T17:55:41.100355 | 2017-05-10T22:03:45 | 2017-05-10T22:03:45 | 49,854,939 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,978 | r | wrangle.R | ## Load the required packages, and name
## a few globals
require(dplyr)
require(maptools) # required for rgdal to work correctly
require(tigris)
require(stringr)
require(tidyr)
require(googlesheets)
require(reshape2)
require(leaflet)
# require(acs)
# SOURCE: http://healthdata.dshs.texas.gov/Population
Population <-... |
ae6fd94974b08d04af2ad68a6a0584463b403848 | ca0fb42b56f0a01b05e70b8cc8efc9fb3753bd31 | /scripts/GridLMM_hp_blup.R | fa41b4688c5bf7afbe5728f531c63a8ba06616a4 | [] | no_license | sarahodell/biogemma | 873910b91d27dd539b3a8b1992de66673660c804 | 88d49a4f4974eacf01464547e5cf443191fb2f70 | refs/heads/master | 2022-09-22T00:48:43.637061 | 2022-08-16T23:52:21 | 2022-08-16T23:52:21 | 244,755,602 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,454 | r | GridLMM_hp_blup.R | #!/usr/bin/env Rscript
#### Run GridLMM on a phenotype for and environment across all h haplotype groups for one chromosome
args=commandArgs(trailingOnly=T)
pheno=as.character(args[[1]])
chr=as.numeric(args[[2]])
h=as.numeric(args[[3]])
cores=as.numeric(args[[4]])
library('GridLMM')
library('data.table')
library('dp... |
a1cc9dff0d9bc8a08882e8258c3872a5ccb346a9 | 2a63bbb53d797c916ae959dde41fe263a7ae8d44 | /best_draft1.R | 4e265ce461ce7555ffb973e0e976a481075afbbd | [] | no_license | emiliehwolf/prog3 | 0b0e77a7456fa6e83f172bb2370ebbf8893eef74 | 29ca28a61d87795be67639ef031ad636f89a888b | refs/heads/master | 2020-04-06T07:04:08.765064 | 2017-02-12T09:56:31 | 2017-02-12T09:56:31 | 33,079,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 986 | r | best_draft1.R | best <- function(state, outcome) {
## Read outcome data
df <- read.csv("outcome-of-care-measures.csv", colClasses = "character", na.strings = "Not Available")
dfslim <- data.frame(df[,2],df[,7],df[,11],df[,17],df[,23])
##colnames(df) <- c("hosp","state","ha","hf","pn") ##unneccessary
if(outcome=="... |
5cbd7198b3f95478be59538110d91a0ca71d763c | 0c10b1c41c23cab19282e93703d9c1cdae684555 | /1-D/visual/animate.R | 9230eda48ad4f1a2382015f23a1de7dc95fb747c | [] | no_license | hlokavarapu/Stokes | 00e677a5345b8631f2f705d79569a147280d13a5 | 7368284ee2d3ea23192f222a685608909d2e0b3b | refs/heads/master | 2020-04-09T05:51:06.399666 | 2014-12-18T23:44:54 | 2014-12-18T23:44:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 685 | r | animate.R | #!/usr/bin/R
library(animation)
ts_ctl <- length(unique(data$ts))
pltData <- function() {
#for(i in 0:(ts_ctl-1)) {
for(i in 0:(100)) {
# pdf(paste("Upwind_h256",i,".pdf",sep=""),height=4,width=6.5)
points <- subset(data, ts==(ts_ctl-1))
x <- points$x
y <- points$u
plot(x, y, type='l', ylim=c(0,1), main=)
... |
b31435210401906ce3011a0b9798cbb0044c64f3 | 9b54d76011ab40f9b9bef2c20d082552598e570f | /analysis/power/fix_task.R | 1206ef109286ce2074290d9bf2e9fe9857add9b1 | [
"MIT"
] | permissive | TimS70/WebET_Analysis | a507f0f368dde907005bbcb354b65ce62eef0d5a | 32fc2e1b70c2dad5637ee1614a6a651bc8d458b4 | refs/heads/main | 2023-06-29T19:39:59.864107 | 2021-07-23T12:47:46 | 2021-07-23T12:47:46 | 329,843,183 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,046 | r | fix_task.R | source(file=file.path('utils', 'r', 'get_packages.R'))
source(file=file.path('analysis', 'power', 'load_data.R'))
get_packages(c(
"knitr",
"simr",
"dplyr",
"rsq",
"tictoc",
"tinytex")
)
# Random Slope Model
model_fix_task <- function(chin_effect) {
# Intercept and slopes for intervention, ... |
0698ce757c16ff1c7374c8d073d32a99986f77ae | 976694398b80400e6cef7b643a4af1f14a0b29b1 | /MixingModel.R | f1a7238753b7f20b9e98c3b86d79710c0d666aec | [] | no_license | bradleylab/DsrAB_enzyme_models | 2b2a6e562c01b6513ac25c79f44a4d50d69adc2c | 1131a52d2c2cd9c263a562c079759d95afad0aa1 | refs/heads/master | 2021-01-02T08:20:21.328289 | 2014-11-30T22:04:31 | 2014-11-30T22:39:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 988 | r | MixingModel.R | ###############################
### Mixing of isotope effects ####
##first to set up the dataframe
MixMod<-data.frame(Dsr.34Rs$SO3)
MixMod<-cbind(MixMod, Dsr.34Rs$ox)
MixMod<-cbind(MixMod, Dsr.34Rs$red)
names(MixMod)[1] <- "Rso3"
names(MixMod)[2] <- "Rox"
names(MixMod)[3] <- "Rred"
## based on product Rayleigh
##M... |
b9f06f6e8876457c22d0401de0382ff3c2300f73 | fa823f5ca33456e33198a45955fcc6e80ea926c4 | /R/database.R | 12292054cfbce74eb2094212fb38da183a878c88 | [] | no_license | Python3pkg/BatchExperiments | 2692a2c849869ad1dc5d4a0c5bd4e9048c980d6b | 1479652d233863171208c01fb1f57534fc28971c | refs/heads/master | 2021-01-21T09:24:11.618977 | 2017-01-02T09:59:45 | 2017-01-02T09:59:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,372 | r | database.R | #' @export
dbCreateJobDefTable.ExperimentRegistry = function(reg) {
query = sprintf(paste("CREATE TABLE %s_job_def (job_def_id INTEGER PRIMARY KEY,",
"prob_id TEXT, prob_pars TEXT, algo_id TEXT, algo_pars TEXT,",
"UNIQUE(prob_id, prob_pars, algo_id, algo_pars))"), reg$i... |
6b59b29effffe90f3479c33a3f10b67bfd58a47b | 60bab87f32843c4055ed98ee046e0e5492576ebd | /DataSet1.R | 2578bfaea002064e78d2d26c697514427ebce97f | [] | no_license | rafalopezv/Assignment1 | c9b4c1ce7804e1632e1612d35c2dd22dd9d9e4af | c8e9fdba7622c012ae92c3e663d361c28a066865 | refs/heads/master | 2021-01-10T05:39:56.774766 | 2016-03-04T15:32:25 | 2016-03-04T15:32:25 | 52,889,748 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,033 | r | DataSet1.R | ####################################
# R source to analyze data set 'women'
# Emilia Sicari
# March 1st 2016
# Introduction to collaborative social science data analysis - Hertie School of Governance
####################################
#Setting the working directory
getwd()
#setwd("/Users/emiliasicari/Desktop/Assign... |
aa22d31d59d2ba47982cd40fbb87fa05d901f223 | 288cef50e5114bede0c494c1bb23db2bd437261f | /D_Module9_Krystalle.R | 9a0eec88719af5bf551b37af917d7bdcb56301cf | [] | no_license | ksdiaz/NR995_Mod9 | d9447f64801e4919adb7b9e5ac642164f2b436a5 | c75e09a927f53d4efea30dfc0724ac9b567aff75 | refs/heads/master | 2021-07-18T05:02:15.749987 | 2017-10-24T19:56:13 | 2017-10-24T19:56:13 | 108,018,436 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,933 | r | D_Module9_Krystalle.R | #NR 995 Fall2017
#Module 9 HW
#23 October 2017
#Group D
#Krystalle Diaz
#setwd("/Users/krystallediaz/Dropbox/Classes/NR 995/Coding/")
####1) The mammal sleep dataset is included in the ggplot2 package and provides information about the sleeping
#habits of 83 species of mammals. Load the dataset (library(ggplot2); da... |
c71fb4f83967075fce656e258d0e067c8e2b54c9 | c53e367a5a155cfb1ee3a41e8b0351aeaa8d331d | /snpStats/doc/tdt-vignette.R | 3ed0ff0f4b633989a0047e1fd81524ac08638a64 | [
"MIT"
] | permissive | solgenomics/R_libs | bcf34e00bf2edef54894f6295c4f38f1e480b3fc | e8cdf30fd5f32babf39c76a01df5f5544062224e | refs/heads/master | 2023-07-08T10:06:04.304775 | 2022-05-09T15:41:26 | 2022-05-09T15:41:26 | 186,859,606 | 0 | 2 | MIT | 2023-03-07T08:59:16 | 2019-05-15T15:57:13 | C++ | UTF-8 | R | false | false | 1,440 | r | tdt-vignette.R | ### R code from vignette source 'tdt-vignette.Rnw'
###################################################
### code chunk number 1: family-data
###################################################
require(snpStats)
data(families)
genotypes
head(pedData)
###################################################
### code chunk n... |
b9de23aef9551dfc9997e0111341b8ee571ddcda | 8456e8ad892c85518b4c509d05b89f88dd6eadd1 | /exercise-2/exercise.R | a5d749ea4c3406e03f1cda751e04ecc12a46cc4e | [
"MIT"
] | permissive | HyunnyKim/m8-dataframes | a0a83e0a4d84d60396403fbbaad1086411974886 | 9912e3f800906989fa3a57d74cf7b07a1819cd2c | refs/heads/master | 2021-01-10T23:12:10.643747 | 2016-10-13T22:06:57 | 2016-10-13T22:06:57 | 70,634,394 | 0 | 0 | null | 2016-10-11T20:52:51 | 2016-10-11T20:52:50 | null | UTF-8 | R | false | false | 806 | r | exercise.R | # Exercise 2: Creating data frames
# Create a vector of the number of points the Seahawks have scored in each game this season (google "Seahawks")
Seahawks.win <- c(12, 3, 37, 27)
# Create a vector of the number of points the Seahwaks have allowed to be scored against them in each game this season
Opponent.win <- c(1... |
02349398101c955b542e8cd322fb70c20602ebe9 | 8769749bb0a919299b66db7aaafa400d1d412469 | /archive/hiccup_loop.old/replicated_loop.anchors.histone.r | c9f9c0a20568877022c20866a0067e944010d76c | [] | no_license | bioinfx/cvdc_scripts | e9e113fae866d2d3f0c2515fae1b410b2d7a3eeb | d33757f9d02fa6d503b5cb65336c0e4e410caa78 | refs/heads/master | 2022-03-19T00:15:13.372417 | 2019-12-05T04:38:48 | 2019-12-05T04:38:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,849 | r | replicated_loop.anchors.histone.r | setwd("../../analysis/hiccup_loops/")
options(scipen=99)
pdf("figures/replicated.anchors.cluster.histone.pdf",height=20,width=6)
##table 1: anchors.
for (mark in c("H3K27ac","H3K27me3","H3K4me1","H3K4me3")){
print(mark)
anchors = read.delim("replicated_loops/loop_anchors.uniq.30k.num_loops.cluster.txt")
## table 2:... |
bf1b62ec8eacfc3b9376f9d7a4b8fc49995d2429 | 17fdd34b68df267b8262d532adddba733879b0b8 | /man/OR.Rd | ca2ae3d938759d2f57bedc91304b85f2a0efe2d5 | [] | no_license | kevinmhadi/khtools | f0b57e0be0014084f2f194465ab4a924fe502268 | 85d64808f8decd71f30510ccd18f38986031be74 | refs/heads/master | 2023-07-19T21:50:22.341824 | 2023-07-19T01:46:03 | 2023-07-19T01:46:03 | 235,495,453 | 0 | 3 | null | null | null | null | UTF-8 | R | false | true | 208 | rd | OR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\name{OR}
\alias{OR}
\title{test boolean OR across multiple vectors}
\usage{
OR(FUN = identity, ...)
}
\description{
}
|
9702dfae6e70177f90f85c3842bf99df5fbe8d38 | e7b764ecc26924c0ccc3ac4215912bebdf4e1c66 | /cachematrix.R | 7c517ee28c57db7e7536533e6aa2459f56b1e2d9 | [] | no_license | johnepling/ProgrammingAssignment2 | 45d9c349bc9a2036cfc03d63d391405e7a351d2e | 074a0f164a7f01d7534c73dc1fc6745e15bf3c58 | refs/heads/master | 2020-12-03T00:27:07.952392 | 2017-07-02T17:37:44 | 2017-07-02T17:37:44 | 96,031,444 | 0 | 0 | null | 2017-07-02T15:16:21 | 2017-07-02T15:16:20 | null | UTF-8 | R | false | false | 2,216 | r | cachematrix.R | ## A set of functions to cache the inversion of a matrix and retrieve it if needed.
## This function creates a list of functions that sets up the next set.
makeCacheMatrix <- function(x = matrix()) { ##define fxn and be prepared to coerce x to matrix
cacheInv <- NULL ##initialize cacheI... |
5070f933cc40e65c877e39d160382d0f47c04f34 | 0c4f1bd80f062f38bda55fd4837910d26d63c299 | /02_R4DS_EDA.R | e849b96bdc8a6c5647a2f703f87e8da11103ab2d | [] | no_license | rladiesaustin/R4DS_workshop_series | 68b7469d1ec7fd11cdc9142d5bcac3a0e441b71d | 4fe0b15a77657a7483ecf19b36598716394c974a | refs/heads/master | 2021-09-07T11:01:46.375763 | 2018-02-22T00:38:53 | 2018-02-22T00:38:53 | 105,070,864 | 7 | 5 | null | 2018-02-22T00:38:54 | 2017-09-27T21:23:30 | R | UTF-8 | R | false | false | 4,010 | r | 02_R4DS_EDA.R | ##################################
# R ladies R4DS
# ggplot2
# created 10/29/2017
################################
# for EDA, load the tidyverse!
# common to use both ggplot2 and dplyr when exploring data
library(tidyverse)
##########VISUALIZE DISTRIBUTIONS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
bf64cd786cf175796f0155f2eb9fc55fc2f0aab4 | 29d34e3302b71d41d77af715727e963aea119392 | /man/dplot3.Rd | 60cc73ea87314ed8affd183948854cd503a5ee0d | [] | no_license | bakaibaiazbekov/rtemis | 1f5721990d31ec5000b38354cb7768bd625e185f | a0c47e5f7fed297af5ad20ae821274b328696e5e | refs/heads/master | 2020-05-14T20:21:40.137680 | 2019-04-17T15:42:33 | 2019-04-17T15:42:33 | 181,943,092 | 1 | 0 | null | 2019-04-17T18:00:09 | 2019-04-17T18:00:09 | null | UTF-8 | R | false | true | 3,485 | rd | dplot3.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dplot3.R
\name{dplot3}
\alias{dplot3}
\title{Dynamic Plots (\code{plotly})}
\usage{
dplot3(x, y = NULL, mode = NULL, group = NULL, point.size = 7,
point.color = NULL, point.alpha = 0.66, point.symbol = "circle",
point.labels = NULL, fit =... |
370c2e7156806529589f3441e1c690040fcb6ca4 | 9aaeeb4874892b1aaef176fd502c189ce66a4b7d | /plot1.R | 04967cbc805721ed94eebdd85a9487c6f1ef9223 | [] | no_license | anugadiraju/ExData_Plotting1 | ecfb8599361883ec143a8046cfcfdd2e5bee1a6f | b6bad1110ef5a73c8f9899ab03aa463bde920094 | refs/heads/master | 2021-01-18T12:14:47.897467 | 2014-07-13T18:44:20 | 2014-07-13T18:44:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,354 | r | plot1.R | ## Dataset: Electric power consumption [20Mb]
## Description: Measurements of electric power consumption in one household with a one-minute
## sampling rate over a period of almost 4 years. Different electrical quantities and some sub-metering values are available.
## The following descriptions of the 9 variables in t... |
8f910b5feeef34a0c10da150a7a1b25bd0ea20e7 | d7c3d93e31c159cf0a59198bfa6fed9d58b964b5 | /cgf/data_prep/point_to_polygon_stunting_mod_b.R | 95a510c8d894c493bf8517160e5b7e51efac70cf | [] | no_license | sekeundanielyu/lbd_2017 | b34fda1922ac3cd9ae439d724c6fcf59366a24df | 314d18503630afbf252895dcab7b2ddaa5898fbb | refs/heads/master | 2020-03-19T22:14:14.736922 | 2018-02-27T21:25:55 | 2018-02-27T21:25:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,880 | r | point_to_polygon_stunting_mod_b.R | ## code to resample points to polygons
############### SETUP ###########################
# initiate timing
start_time <- Sys.time()
root <- ifelse(Sys.info()[1]=="Windows", <<<< FILEPATH REDACTED >>>>>, <<<< FILEPATH REDACTED >>>>>)
repo <- <<<< FILEPATH REDACTED >>>>>
setwd(repo)
# set directories
data_dir <- <<<... |
e856867cec8c82280e6e6ac5e8715d29a340db95 | a005067f580df52c02f3020b431727a12878a125 | /isl-evans/regularization.R | 89c5f0efebc18319bb503a349979b9dac99ee34d | [] | no_license | sunnykan/RFiles | aff48be614a1eb72f394f1e360651d5dd4ce4b64 | d62618cc175846957183ebb1ac7be0877b6bf616 | refs/heads/master | 2022-11-21T10:15:23.175057 | 2022-11-05T16:41:23 | 2022-11-05T16:41:23 | 178,078,739 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,296 | r | regularization.R | source("load-libraries.R")
source("subsets-plots.R")
hitters <- as.tibble(Hitters)
glimpse(hitters)
names(hitters) <- tolower(names(hitters))
dim(hitters)
sum(is.na(hitters$salary))
# drop any row in dataframe with missing values
hitters <- hitters[complete.cases(hitters),]
sum(is.na(hitters$salary))
regfit.full <-... |
d476dc18f2b983680b3e87aeba9f73f127e98133 | 29585dff702209dd446c0ab52ceea046c58e384e | /lfl/R/perceive.R | 015676cb5202a2b86b2ab3d499253b6b5a9920cf | [] | 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 | 2,973 | r | perceive.R | .isspec <- function(r1, r2, vars, specs) {
if (r1[1] == r2[1]) {
return(.is.specific(r1[-1], r2[-1], vars, specs))
}
return(FALSE)
}
.perceiveGlobal <- function(rules, vars, specs) {
lvl <- names(vars)
config <- list(rules=lapply(rules, function(x) { as.integer(factor(x, levels=lvl)) - 1 }... |
5137ea73188ae4f0e39f4efd120a3c7c6d8de887 | b7b3f9d69a29a3034d62d8ab95088a900b592921 | /man/Antibiotics.Rd | fedc3c57056271fb7ca90cec581e6ba0e62f0aef | [] | no_license | sp2019-antibiotics/ECOFFBayes | c970bd8562182dfe528f8c1e54726b5f5f4dad25 | 9eb720d9d9769b496ebee88bcd1219373c40faea | refs/heads/master | 2020-06-04T20:30:19.605086 | 2019-08-28T13:56:13 | 2019-08-28T13:56:13 | 192,181,118 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 563 | rd | Antibiotics.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Antibiotics.R
\docType{data}
\name{Antibiotics}
\alias{Antibiotics}
\title{Example data set for antibiotic resistance data}
\format{A flat vector of size 500.}
\usage{
Antibiotics
}
\description{
This data set is a simulated data set with n =... |
a5094347596ad2e647708d4272d3d9fedb0b9e90 | ae6586eb680d1cbcd14c38d19a0e6aed87381d77 | /analysis/cluster_functional_enrichment.R | 73d4bc1616d7f9f760dc0bc804cc02b0a03f1f85 | [] | no_license | clemenshug/erk_senescence | fbdd722e529eaf5ec87d80fcef337777de525a6d | ac6b88a32e39bc66bbee2e970bc9c46acda9026d | refs/heads/master | 2022-09-23T09:28:40.371472 | 2022-08-04T19:58:13 | 2022-08-04T19:58:13 | 227,699,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,399 | r | cluster_functional_enrichment.R | library(tidyverse)
library(here)
library(synapser)
library(synExtra)
library(enrichR)
library(RColorBrewer)
library(pheatmap)
library(ggforce)
library(viridis)
library(furrr)
library(Homo.sapiens)
synLogin()
syn <- synDownloader(here("tempdl"), followLink = TRUE)
wd <- here("functional_enrichment")
dir.create(wd, rec... |
2bdde9b0a707c2c069a5e025e0f38849ed6e2c15 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/INLABMA/examples/logprrho.Rd.R | 2bd596fd8ca5a56f65ee24aafad243cc8577aeee | [] | 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 | 260 | r | logprrho.Rd.R | library(INLABMA)
### Name: logprrho
### Title: Log-prior density for the spatial autocorrelation parameter
### 'rho'
### Aliases: logprrho
### Keywords: distribution
### ** Examples
rrho<-seq(.01, .99, length.out=100)
plot(rrho, exp(logprrho(rrho)))
|
28cf4511439f3af8a3e3270934df1096df2ce030 | c68ee050bad6a1b94ebffb6360c6d1ad2147510a | /rbayes/functions.R | 23a9098adc813e88370cb48b7cf8a5d67af825b4 | [
"MIT"
] | permissive | JSRivero/bayes-network | 1a592651999a0804e5944cd86518dc01a692dd27 | afed3726a63c65eb6b3f103b4bfe7fa5bdf6184d | refs/heads/master | 2020-03-19T03:20:44.257271 | 2018-07-18T14:52:16 | 2018-07-18T14:52:16 | 135,719,424 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 23,715 | r | functions.R | library(bnlearn)
library(readr)
library(Rgraphviz)
library(tictoc)
read_test <- function(){
ep_draw = as.data.frame(t(read_csv('artificial_eps.csv')))
colnames(ep_draw) = as.character(unlist(ep_draw[1,]))
ep_draw = ep_draw[-1,]
ep_draw <- as.data.frame(lapply(ep_draw, function(x) if(is.numeric(x)) factor(x) el... |
40f00ffe871af3c15d4863a2117ada790deb7eb8 | 763668f33f32f807b20d8877b8c1037348b693f1 | /compare.narr.wrf.r | feda8171ed992e8d0ca10ff03157db2851fba58b | [] | no_license | xenos-code/RWrfUtils | 4504b4d31e92a7f9147009eee3d7536aa663d9da | 0b395e6be16a87c457ba8988d822dd3ea825376d | refs/heads/master | 2023-03-15T13:09:38.611447 | 2016-10-19T22:56:24 | 2016-10-19T22:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,061 | r | compare.narr.wrf.r | compare.narr.wrf <- function(varname, vardim, subset, path, pattern, res = c("3-hourly","6-hourly","daily","monthly"), calc = c("ASIS","MEAN","RMSE"), pct = FALSE, narrpath, narrfile = NULL, prlevs = c(500, 700, 850), return_tstamp = FALSE){
# Calculate the difference between NARR and WRF output on common 0.25x0.25... |
5e8fe46a8042bb17c7954049fe4257a6c1a4c080 | 72f0d2c6059e515c0cf2a683d108aa3774ee7a72 | /man/natVelocity.Rd | 0f563c27c9c886cc39ff89013b738ceeba2727a3 | [
"MIT"
] | permissive | dkesada/natPSOHO | e9c3b0a32ba75deec3f65991263a2832a8dfe4be | b26b1969ad6d4503795122cc3207eed7b1a72a02 | refs/heads/master | 2023-08-16T22:16:01.494415 | 2021-10-06T08:56:22 | 2021-10-06T08:56:22 | 317,532,661 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,265 | rd | natVelocity.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/velocity.R
\name{natVelocity}
\alias{natVelocity}
\title{R6 class that defines velocities in the PSO}
\arguments{
\item{ordering}{a vector with the names of the nodes in t_0}
\item{ordering_raw}{a vector with the names of the nodes without t... |
bb2d512dbe9e6940c0afc2a3d3d653355ab716ca | 523890f39f70682ee627707c1ac899667d1cea66 | /man/summary_gp_mcmc.Rd | 80fc7e951e23664831078b90899bc4985d90ad85 | [
"CC0-1.0"
] | permissive | davharris/nonparametric-bayes | 1644e35f1add72e547cc542df215726358c63e5b | 9b0473ad0e18d59311eb403453ee0aa29c8f56a8 | refs/heads/master | 2021-01-17T12:43:24.015511 | 2014-01-26T06:36:46 | 2014-01-26T06:36:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 636 | rd | summary_gp_mcmc.Rd | \name{summary_gp_mcmc}
\alias{summary_gp_mcmc}
\title{Summary plots showing the trace and posteriors for the gp_mcmc estimates}
\usage{
summary_gp_mcmc(gp, burnin = 0, thin = 1)
}
\arguments{
\item{gp}{a fit of the gaussian process from gp_mcmc}
\item{burnin}{length of sequence to discard as a
transient}
\i... |
216cba7137205d1efb49d25c39a46891a4bf1ca5 | 5106017243dc74a8b2285ae1a93bec1135a0887e | /data-raw/mrc_ex_data.R | 6d20060d7f810558f7a5fb818956e0016f564653 | [] | no_license | jvcasillas/ds4ling | 1c2bc5d045c8a67a55cb4b05b6d6421da6a2d590 | 85176892ffc101137c1d6545de99756072d31576 | refs/heads/main | 2023-03-31T05:11:00.656207 | 2021-04-05T02:59:11 | 2021-04-05T02:59:11 | 329,095,207 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 435 | r | mrc_ex_data.R | set.seed(20210322)
n <- 1e+04
a_h <- 35
a_s <- 50
b <- 1.25
sigma_h <- rnorm(n = n, mean = 0, sd = 3)
sigma_s <- rnorm(n = n, mean = 0, sd = 2)
age <- round(seq(5, 18, length.out = n), 1)
height <- a_h + (age * b) + sigma_h
score <- a_s + (age * b) + sigma_s
mrc_ex_data <- data.frame(
age,
height,
score,
... |
01e48b3a6d1acb303841ff863ca4de22741c0617 | c36842d81ca5df57da61b263dd639fb8ac9ae096 | /src/main/R/archive/R Scripts For Experiment 1.r | d64fb8f87bf221466643e628b98ef0fe563811a0 | [] | no_license | jimbarritt/bugsim | ebbc7ee7fb10df678b6c3e6107bf90169c01dfec | 7f9a83770fff9bac0d9e07c560cd0b604eb1c937 | refs/heads/master | 2016-09-06T08:32:19.941440 | 2010-03-13T10:13:50 | 2010-03-13T10:13:50 | 32,143,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,166 | r | R Scripts For Experiment 1.r | #Scripts for processing output of the simulation
#-------------------------
# This script assumes you have just a summary file which includes each iteration changing the release boundary
# You could combine different experiments as long as they have the rigth structure.
source("~/Work/codemsc/bugsim/resource/R/Bugsim... |
5aa833f114d6df19f849a00949314aafe5b1701f | 4128114972680b1af5687fedeca78ab8b82d4c91 | /Lectures/ClassNotes_20181105.R | 7558dc562e1e435cc0c4bfa916e7348abb2ac568 | [] | no_license | invertdna/SMEA_Rcourse_2019 | 80cc7ff47e9c1e98a342d6d7562a065012129be3 | a4525bf452150eed1f5c1a82f881a0c48b09a0b4 | refs/heads/master | 2021-12-15T01:17:00.107941 | 2021-12-06T17:34:46 | 2021-12-06T17:34:46 | 207,862,551 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 393 | r | ClassNotes_20181105.R | #class notes 20181205
jpeg("myplot.jpeg", width = 10, height = 3) #tell R you want to make a pdf, and (optionally) tell it what size you want the canvas to be
plot(mpg~hp, data = mtcars) # Then make the plot
dev.off() #then tell R you are done writing the plot
library(h... |
2ea1042c3c8a127a10de44552db848f00bae42aa | 9dc99f6a37c52dd23f88f0d8f450abda50665db1 | /RScripts_and_Data/CVheartDiseaseGBMvsRF.R | cf7665762837c5b57f5d447a650955fa013f0cec | [] | no_license | AxilleasMoukoulis/Predictive-Analytics-Techniques-for-the-administration-of-patients-with-chronic-heart-rate-diseases | d5c8a7f0a64bc6c543b4dc2ca21992ff4ec7c523 | c42b3479f66d6981d6279762107822f46e09682f | refs/heads/master | 2020-11-29T23:33:31.355979 | 2017-08-02T11:25:46 | 2017-08-02T11:25:46 | 96,367,297 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,945 | r | CVheartDiseaseGBMvsRF.R | #rm(list = ls())
require(gbm)
require(dplyr)
require(caret)
require(verification)
require(randomForest)
#Read data from csv file
df <- read.csv("cleveland.csv", sep = ",", na.strings = "?")
s <- sum(is.na(df))
df <- na.omit(df)
dim(df)
#Transform to Binomial attribute
df$num[df$num >0] <- 1
############# Load and tr... |
24cf10b95c37e7593b28cbeeabf077c77dcce010 | 6c9134f160944a72d8d60bb4ef9be336a972ac26 | /setup.R | 04b52e082061211c42142253e6b7a47990f1324a | [] | no_license | clemente-lab/mmeds-meta | 123354955f439aeb34b23f3ed1c36c397b9bd252 | 6425c70d40cb82700840c16e9a974151333c0d70 | refs/heads/master | 2023-08-07T13:46:56.564982 | 2023-01-11T14:01:32 | 2023-01-11T14:01:32 | 111,951,207 | 3 | 1 | null | 2023-07-20T13:17:39 | 2017-11-24T19:50:13 | Python | UTF-8 | R | false | false | 120 | r | setup.R | #!/usr/bin/env R
install.packages(c('GGally', 'ggplot2', 'RColorBrewer', 'ggrepel'), repos="http://cran.r-project.org")
|
63a1f6508cc51b433d78a0ed48cbb7916af8f422 | 9c4a346af265a744f11738fd1e1e22757ac5d7c5 | /plot1.R | 96a784de911aa397a0296a63868a24e177edcf58 | [] | no_license | CrysBlank/ExData_Plotting1 | bd11cf1f934bacb2a5cf7538d4df363c86aa61bc | ac0ba9710d3611ad09eab60a62285555ed3f7e4c | refs/heads/master | 2021-01-18T01:48:34.394812 | 2015-06-07T17:11:03 | 2015-06-07T17:11:03 | 37,017,770 | 0 | 0 | null | 2015-06-07T13:35:07 | 2015-06-07T13:35:07 | null | UTF-8 | R | false | false | 608 | r | plot1.R | PowerConsump <- read.table("household_power_consumption.txt",sep=";",header=TRUE)
PowerConsump["Date"] <- as.Date(PowerConsump$Date,"%d/%m/%Y")
#PowerConsump["Time"] <- strptime(PowerConsump$Time,"%H:%M:%S")
dataToUse <- PowerConsump[(PowerConsump$Date >= "2007-02-01" & PowerConsump$Date <= "2007-02-02"), ]
GlobalAcPow... |
8bdb972b7844cf673a6d764f57ee27b2e47aef92 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/lakemorpho/examples/lakeShorelineDevelopment.Rd.R | c3aef7249d2f9cbcfe3939c99e929112880b4d99 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 217 | r | lakeShorelineDevelopment.Rd.R | library(lakemorpho)
### Name: lakeShorelineDevelopment
### Title: Function to calculate shoreline development
### Aliases: lakeShorelineDevelopment
### ** Examples
data(lakes)
lakeShorelineDevelopment(inputLM)
|
48eb62cb5a6a1944dbabddc172278ab1b7d2b9dc | b0610f09e3a9dff68d0f547b7ae50469e4672f41 | /man/tv_summaries.Rd | 280e31b71d90c658a6c67473b08e235628af23e8 | [] | no_license | cenux413/gdeltr2 | 2c927997bef56aab3475884cdc958234f3f2eca9 | c13b2fa56308cd7e2b0e9d733ef0caafaa539813 | refs/heads/master | 2020-09-10T00:11:30.308363 | 2019-11-11T18:07:21 | 2019-11-11T18:07:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 669 | rd | tv_summaries.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tv_api.R
\name{tv_summaries}
\alias{tv_summaries}
\title{GDELT TV Show Summary}
\usage{
tv_summaries(date_start = "2018-02-02", date_end = Sys.Date(),
return_message = T)
}
\arguments{
\item{date_start}{Start date of data, cannot be before ... |
6060d724d46ee6836ecd52e3200f42f0b882a5e9 | 0a3805db86a688d351c00801029f0ed2c6010cbf | /homeworks/homework_04/src/DAAG06_08.R | be3c2a712cad99869245483e1db4b4ddc5ca7b1c | [
"MIT"
] | permissive | wilsonjefferson/DSSC_SMDS | 9b2c9d94f86ee28c11ec561617dda07bd494f905 | 580f8e9f5620197a321040737bdb5b9236963145 | refs/heads/master | 2022-12-27T11:08:28.718305 | 2020-09-30T10:28:39 | 2020-09-30T10:28:39 | 297,358,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 65 | r | DAAG06_08.R | /home/emaballarin/DSSC/statmeth/HOMEWORK/rexthor/src/DAAG_06_08.R |
cea29335c937cfe1bd43a0b85fa2cb485da0764b | 8c1333fb9fbaac299285dfdad34236ffdac6f839 | /foundations-of-inference/inference.R | c5793539446428f4929930b870e06ffb5ac633d1 | [
"MIT"
] | permissive | cassiopagnoncelli/datacamp-courses | 86b4c2a6d19918fc7c6bbf12c51966ad6aa40b07 | d05b74a1e42b119efbbf74da3dfcf71569c8ec85 | refs/heads/master | 2021-07-15T03:24:50.629181 | 2020-06-07T04:44:58 | 2020-06-07T04:44:58 | 138,947,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,163 | r | inference.R | # PARLANCE.
#
# Null hypothesis (H_0): The claim that is not interesting.
#
# Alternative hypothesis (H_a): The claim corresponding to the research
# hypothesis.
#
# Example 1.
#
# Research: Compare the speed of two different species of cheetah.
# (Population measure.)
#
# H_0: Asian and African cheetah run at... |
3bb5e7290f50ae312151fe58662e41f0d7684823 | 921a06923a4add7202f07c2dcf4dd3ac87215fb2 | /NextText App Files/ui.R | 71e391f59b77094c963c9fc9935cd4a042d65461 | [] | no_license | ermckinnon/CapstoneProject | 8c8c149002b2d1872e02348b667d95f778fb910c | 326abf7443f815ae0405c9e8994451089a00124d | refs/heads/master | 2020-12-04T05:11:21.602946 | 2016-09-30T22:33:58 | 2016-09-30T22:33:58 | 67,367,589 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,467 | r | ui.R |
# User interface code for Next-texT
library(shiny)
shinyUI(fluidPage(
h1("Next-texT - The Next Word Predictor",style = "color:blue"),
#img(src = "logo.png", height = 72, width = 72),
p("Welcome to Next-texT the application which predicts the next word you are going to type in a sentence."),
p("Type your wo... |
e2dad562ba41bda40c990df7d1f8f0f519492c18 | decc750984cfbf1e69405f1416264a9d6a35faa9 | /inst/dev/objetivos.R | 265e713cd8c550add9879566a320feed48537a34 | [] | no_license | randommonkey/ciudatos | 3d7673b580937a235b5d590221705339b8d4722a | a4eae52dcd511c2bc09b4163df9aadb152827e77 | refs/heads/master | 2020-09-24T09:41:24.156568 | 2016-11-03T23:51:45 | 2016-11-03T23:51:45 | 66,106,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,921 | r | objetivos.R |
library(devtools)
load_all()
document()
#install()
d0 <- read_csv(sysfile("data/clean/objetivos/bogota/objetivos-bogota-localidades.csv"))
problems(d0)
dic <- read_csv(sysfile("data/clean/objetivos/bogota/objetivos-bogota-localidades-dic.csv"))
problems(d0)
library(leaflet)
library(scales)
library(lazyeval)
name... |
dffa94da34d8a21c433fb97c21d7f251e87579e6 | 0ee67d115c47cd3c4e0bb9fd67f644496d0cb6da | /assets/lectures/lecture1-intro-regression/simpsons-paradox-sat-scores.R | c59810b4e8739cea3e4e1791cd722f139de4aa56 | [] | no_license | nickreich/applied-regression-2016 | 28a52d05bc1d75fd671f26bb42f1240a625c26f5 | c715999d2d4047e98888c47b24a3f157d61786f6 | refs/heads/gh-pages | 2021-01-10T06:22:43.778147 | 2016-04-18T18:01:18 | 2016-04-18T18:01:18 | 48,695,801 | 0 | 6 | null | 2016-02-09T02:14:28 | 2015-12-28T14:16:17 | TeX | UTF-8 | R | false | false | 1,146 | r | simpsons-paradox-sat-scores.R | library(mosaic)
library(mosaicData)
qplot(salary, sat, data=SAT)
qplot(salary, sat, data=SAT, geom=c("point", "smooth"), method="lm", se=FALSE)
SAT$fracgrp = cut(SAT$frac, breaks=c(0, 22, 49, 81),
labels=c("low", "medium", "high"))
qplot(salary, sat, color=fracgrp, data=SAT)
qplot(salary, sat, ... |
e84667d38532d6953f83f02e3daffc0cf59da570 | 83676931d003fc9bb6821509279deb057d669ba3 | /data-raw/_examples.R | c966a9a7a161cb971123f0e677c82ac845e532f6 | [] | no_license | LunaSare/phunding | c70a6fd65314650cfd52471347df1aa7415e0a5d | 4ea97eebea39c820d0ad0c0e24700c86ab2182d2 | refs/heads/master | 2020-04-02T05:30:26.245639 | 2019-02-21T16:18:41 | 2019-02-21T16:18:41 | 154,083,205 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,810 | r | _examples.R | library(devtools)
data(fam_tree)
load_all("~/Desktop/datelife")
# II. use dates from blackrim service for now
data(all_orders_chrono)
ape::Ntip(all_orders_chrono)
missing_from_chrono <-
# using get_ott_children just takes too long
# ee <- get_ott_children(input=NULL, ott_ids = 93302, ott_rank = "order")
ee_tree <- date... |
d2dc268edb89e0d13426be850c314ab968b32a76 | 16df226c48c7bdc6e6836174ceabd6b06c20883d | /man/eigenmodel_mcmc.Rd | 6de6f7eea0b400af5dbe323a3b17310f37842c67 | [] | no_license | pdhoff/eigenmodel | 2b3d350640ecfd761c264b1812fff7af5958efce | 2c575e8031fb30bf0479e816d2b36470b6f5ab19 | refs/heads/master | 2020-03-18T16:55:17.882509 | 2018-05-28T15:01:18 | 2018-05-28T15:01:18 | 134,993,380 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,749 | rd | eigenmodel_mcmc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eigenmodel_mcmc.R
\name{eigenmodel_mcmc}
\alias{eigenmodel_mcmc}
\title{Approximate the posterior distribution of parameters in an eigenmodel}
\usage{
eigenmodel_mcmc(Y, X = NULL, R = 2, S = 1000, seed = 1, Nss = min(S,
1000), burn = 100)
}... |
5f5aec75a510d2dc3ca4724d0c7e9eb9d91dfc29 | b8b1502856f6817b4d06c2051cbfd107156f1cef | /plot1.R | cc59f4c0c7c6e476d0555c9bb1de382f291b1396 | [] | no_license | ripon08054718/Exploratory_Data_Analysis | e2cb1136070a1904b38e5d9703595c0362679208 | dd61a2ae16daba9b7e5a21a53e6acf5ce9e0da79 | refs/heads/master | 2020-04-15T16:12:40.646233 | 2015-01-11T15:38:05 | 2015-01-11T15:38:05 | 29,095,582 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 877 | r | plot1.R | ############################################################
#### Explanatory Data analysis ###
#### Md. Sahidul Islam ###
############################################################
# Loading data into R...
data<-read.table("household_power_consumption.txt",header=T, sep=';', na.strings="?",
nrows=2075... |
1a6f6a722117bc71616471ae02aa8ffa475610e2 | 845b6691de8e989fe0ab314143b767dc50e460b5 | /Analyse_convergent_recombination.R | 2ea2c6ade98403b76f9da482ae6c9d2b18d96ab7 | [] | no_license | yhfteng/Shared-TCRs-in-cancers | 5b5518e47464c21f7d591fbd6b1d561536ccbc8d | f13868eee327e17ab455a108db2d499a29e571a0 | refs/heads/main | 2023-06-24T12:10:49.190894 | 2021-07-24T14:17:36 | 2021-07-24T14:17:36 | 389,099,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,458 | r | Analyse_convergent_recombination.R | library(readr)
library(dplyr)
library(tidyr)
library(stringr)
library(ggplot2)
library(purrr)
args=commandArgs(trailingOnly=TRUE)
filepath <- args[1]
setwd(filepath)
binary.df <- read_tsv(args[2]) #input remove healthy binary df
shared <- read_tsv(args[3]) # input shared30 remove healthy list
savefilepath <- args[4]
... |
00592846729e7a26524ef464e53799305facf59d | 1de57d5207a15f52203b366ef07be5d59017da98 | /scripts/exploration/intervenor_QA_explore.r | a75eed5d91c14cefd08df5038f9f19a26ce7d9f2 | [] | no_license | cybera/policy-browser | f5c298af1e9f695b4c6636e983d329efd7c77635 | 6a78c117d2176751acd165ed1647d77e995b9e1b | refs/heads/master | 2021-09-20T18:28:04.962246 | 2018-08-13T22:11:59 | 2018-08-13T22:11:59 | 103,988,806 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,159 | r | intervenor_QA_explore.r | #Script analyzing the questions and answers that took place during CRTC consultation 2015-134
#Top part of script is general analysis
#Bottom is for chord diagrams
library(tidyverse)
library(plotly)
library(cowplot)
library(forcats)
library(chorddiag)
library(lubridate)
library(RColorBrewer)
interrogs <- read.csv("... |
30a84830c39b97f4f0932ca25d139dcd0e97fcbd | cff808c3d0a27336639339cf10f4e4922c8ea81b | /MAP2/old/elr_pre_map_fix_gts_scratch.R | a5902c54730e642144309b2e82a82da954c5249e | [] | no_license | jthmiller/QTL_remap | e3f9544d0d9bf02c24706da9b2526a35934a7857 | fa84f0927631e15d2bd20bc53710f1340626ee3d | refs/heads/master | 2020-03-27T23:59:09.869077 | 2019-12-16T17:16:37 | 2019-12-16T17:16:37 | 147,251,773 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,923 | r | elr_pre_map_fix_gts_scratch.R | #!/bin/R
### Map QTLs 1 of 3
debug.cross <- T
pop <- 'ELR'
source("/home/jmiller1/QTL_Map_Raw/ELR_final_map/CODE/control_file.R")
library('qtl')
mpath <- '/home/jmiller1/QTL_Map_Raw/ELR_final_map'
i <- commandArgs(TRUE)[commandArgs(TRUE) %in% c(1:24)]
#cross <- read.cross.jm(file = file.path(indpops, paste0(pop, ".... |
8aa3326945038e1489e9b4a56c1d7a41db7ecdd3 | 34d9e4c3ebbbe98bf109420f81f44be70f5f72d0 | /global.R | 78b37f01d18e5710c9240bf317305e02364f6d49 | [] | no_license | YuanzhiQi/mta_turnstile_shiny_app | af48c656dd5996266174c10820f98f3f56c86b11 | 0117793d712a547bb923d43e2a48403d1e8b5b3d | refs/heads/master | 2021-01-20T20:36:04.687178 | 2016-07-18T20:33:21 | 2016-07-18T20:33:21 | 63,631,256 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 182 | r | global.R | library(shinydashboard)
library(shiny)
library(shinyjs)
library(stringr)
library(data.table)
library(leaflet)
library(DT)
library(ggplot2)
library(leaflet)
load("start.RData")
|
32571c1af3fceb2e9169f5582ae6d5b5e98aaed7 | 2d8409a80bdf7b6bd03d14cbade1659427198d51 | /code/systematic_calibration/simsets_from_systematic.R | 42a9d25a297cc942e7ee7d2009958bcd6d96a0e4 | [] | no_license | joeflack4/ending_hiv | 1ba6d2d8d4494d10528b97d1a850a44b2cd41fe2 | 7b337e6f978ea0cf6eb17d1a5c55267106952008 | refs/heads/master | 2023-07-25T03:07:46.399438 | 2021-08-24T17:20:38 | 2021-08-24T17:20:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,371 | r | simsets_from_systematic.R | source('code/systematic_calibration/systematic_settings.R')
source('code/interventions/interventions_for_simset.R')
source('code/targets/target_msas.R')
make.and.save.simset.for.location <- function(location,
full=T,
from.dir=f... |
996ff0bd7a9b94f360044edd56086f8f9cb312cd | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /hutilscpp/tests/testthat/test-000.R | c24bbdfbebc5b317f7ece65e30f50214e3fea0ad | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 140 | r | test-000.R |
if (startsWith(Sys.getenv("USERNAME"), "hugh")) {
options(hutilscpp.nThread = 10)
}
test_that("start", {
expect_true(TRUE)
})
|
b5d27521bb9e29aa72d02e27d041edc6235b652e | 123fc737f01a88e58c6eb3ca7ad0e51e867ff434 | /bigtime/R/directforecast.R | b23afda7faeb4245f27f46711eb12a2d6f301ac1 | [] | no_license | akhikolla/ClusterTests | e12e5486fc1a80609a956fcb7f432b47e8174b0f | 1c7702ba4035511ffe7d4dd27e9021b6962718fe | refs/heads/master | 2022-12-10T13:00:09.654663 | 2020-09-14T19:12:37 | 2020-09-14T19:12:37 | 295,513,576 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,212 | r | directforecast.R |
#' Function to obtain h-step ahead direct forecast based on estimated VAR, VARX or VARMA model
#' @param fit Fitted sparse VAR, VARX or VARMA model.
#' @param model Type of model that was estimated: VAR, VARX or VARMA.
#' @param h Desired forecast horizon.
#' @export
#' @return Vector of length k containing the ... |
b358051eaedb7a99e6a874c893e932717a42f875 | c8d3eac72924cc8952e6bdf77497cd2c571194df | /fluodilution/R/proliferation-cyton.R | 352783bf17505663bd28a770d5ab50fefe665907 | [
"MIT"
] | permissive | hchauvin/fluodilution | af57ec858aefe41ae4ad92377ba80ec699d8d2b4 | 1fd52c705edfd3a0951152511f3d1b54b8762f4a | refs/heads/master | 2021-04-03T08:19:23.059053 | 2019-01-11T16:05:03 | 2019-01-11T16:05:03 | 125,096,130 | 0 | 0 | MIT | 2019-09-24T21:52:03 | 2018-03-13T18:22:18 | R | UTF-8 | R | false | false | 4,544 | r | proliferation-cyton.R | # Copyright (c) 2015-2018 Hadrien Chauvin
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... |
396631c3f04563a88c451370af15f6509322df3c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/assertive.matrices/examples/is_symmetric_matrix.Rd.R | 07854e0910f671bd522d8951b305f48c3cc4e605 | [] | 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 | 349 | r | is_symmetric_matrix.Rd.R | library(assertive.matrices)
### Name: assert_is_symmetric_matrix
### Title: Is the input a symmetric matrix?
### Aliases: assert_is_symmetric_matrix is_symmetric_matrix
### ** Examples
m <- diag(3); m[3, 1] <- 1e-100
assert_is_symmetric_matrix(m)
#These examples should fail.
assertive.base::dont_stop(assert_is_symm... |
e6972e2d40160e9d4dad03f646e4892445482a8b | 552d910aabda4755d6d831e1063e503015037603 | /R/admm.iters.r | 72ea8867c6a94e0378d76c9148b2546ae5e19a7c | [] | no_license | cran/JGL | da88bdca245751169d574e27c0fd846b70594c4c | bca5ba36a8070f7b391bbd7a9d69c5de6e9d6007 | refs/heads/master | 2021-05-16T03:11:20.349474 | 2018-11-30T22:40:15 | 2018-11-30T22:40:15 | 17,680,067 | 3 | 5 | null | null | null | null | UTF-8 | R | false | false | 2,779 | r | admm.iters.r | ### ADMM for FGL:
admm.iters = function(Y,lambda1,lambda2,penalty="fused",rho=1,rho.increment=1,weights,penalize.diagonal,maxiter = 1000,tol=1e-5,warm=NULL)
{
K = length(Y)
p = dim(Y[[1]])[2]
n=weights
ns = c(); for(k in 1:K){ns[k] = dim(Y[[k]])[1]}
S = list(); for(k in 1:K){S[[k]] = cov(Y[[k]])*(ns[k]-1)... |
25ce46b2305328aee349c9d449db3d8d44ec277a | 1ae92230540e7f3bfcc2ae0e81682f3a406ab745 | /poisson-R/main.R | 24e48239645953478909353732892f6a2b01d7f0 | [] | no_license | btatkinson/Poisson | 0104bd678dade20c9181326a1f4a030b9a358d8c | daf3aaa4b6f47177d393840c054e5c49a8a433fe | refs/heads/master | 2020-12-08T06:36:36.814724 | 2020-01-27T15:34:54 | 2020-01-27T15:34:54 | 232,908,851 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,569 | r | main.R | library(tidyverse)
library(tidyr)
library(dplyr)
library(na.tools)
seasons <- seq(2014, 2019);
# iteration count
i = 0
df <- NULL;
for(season in seasons){
# add iteration count
i = i+1;
# load play by play data
reg_pbp <- read_csv(sprintf("../data/nflscrapR/play_by_play_data/regular_season/reg_pbp_%s.csv"... |
925c0d43a5abadf1850e6bf3e64cd300347ce59f | ffeea4267d2ca45fb9c8be1b73cfbd77d5bbf3ae | /rmarkdown/acunha.R | e642cad43330e2ed5820047ee8bef398847d89d6 | [] | no_license | charlenopires/houseofcunha | 8d25fe7f23bdd283889dcd66ab7872d652deeffb | eccdb092f2f737dc8aff58edc6cf5393edcd622e | refs/heads/master | 2021-01-18T08:56:32.378639 | 2015-07-23T02:20:25 | 2015-07-23T02:20:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,110 | r | acunha.R | library(ggplot2)
library(dplyr)
votos <- read.csv("votacoes//votacao.csv", strip.white=TRUE)
votos <- filter(votos, voto %in% c("sim", "não"))
votos$voto <- droplevels(votos$voto)
votos$num_pro <- factor(votos$num_pro)
votos$num_pro <- paste0(votos$num_pro, "-", votos$id_votacao)
votos$nome <- paste0(votos$nome, " ... |
827fb5a868e16e35a9e9d57fd8897110c63e8d11 | 7d120b449fe91d4f49fc68531cf739d45b67edb9 | /src/STATS_FIRTHLOG.R | 6e68df4c977e5e515522382c18e4579c4369e9be | [
"Apache-2.0",
"GPL-3.0-only"
] | permissive | IBMPredictiveAnalytics/STATS_FIRTHLOG | 29f50b17b27af1d95ac09a2aec2260e44a583eea | 05dcfe9a3a44f05c0df9a9a1236b0833fb6978f0 | refs/heads/master | 2022-11-05T07:08:00.835410 | 2022-10-21T01:32:27 | 2022-10-21T01:32:27 | 38,112,153 | 0 | 0 | Apache-2.0 | 2022-04-27T13:41:29 | 2015-06-26T13:18:24 | R | UTF-8 | R | false | false | 20,123 | r | STATS_FIRTHLOG.R | #/***********************************************************************
# * Licensed Materials - Property of IBM
# *
# * IBM SPSS Products: Statistics Common
# *
# * (C) Copyright IBM Corp. 2015, 2019
# *
# * US Government Users Restricted Rights - Use, duplication or disclosure
# * restricted by GSA ADP Schedule Co... |
6e53c3e2194d12be2131d37856dee9abd6ad6854 | fa797dec219eb45e9fa7725b2cc3b381e8e695d2 | /figs/plot_hist_both.R | 96894487a30c70f7c3b17bf4df89b714f8bce10a | [] | no_license | dd-harp/mini-mash | 018a34279625774c67703d94471e29356bb79950 | 2c9da18c0c601da81e35314c513735d46f0d54ac | refs/heads/main | 2023-06-01T11:49:22.001301 | 2023-05-19T18:54:03 | 2023-05-19T18:54:03 | 309,202,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,748 | r | plot_hist_both.R | # --------------------------------------------------------------------------------
# load libraries and setup
# --------------------------------------------------------------------------------
rm(list=ls());gc()
dev.off()
library(here)
library(data.table)
library(ggplot2)
pop_mc <- data.table::fread(input = here::h... |
e9398993d542f34daac43b72a09755e6c4fc77f9 | ead929cf3aefc7867206e9710cf3ec406545bb63 | /R/veg_data.R | 81602304021397754acef23ff4fc275685fa9d6e | [] | no_license | lydiaPenglish/STRIPS2veg | cadee6c843d09dfec156defe820937fb68777181 | 3482b932fbd50e76bbe6131b2a9b3cf2a9f3a070 | refs/heads/master | 2022-11-06T07:47:17.287401 | 2020-06-08T17:53:08 | 2020-06-08T17:53:08 | 132,038,278 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,222 | r | veg_data.R | #' Useful information about plants identified
#'
#' A dataset containing life history and taxonomic information about plants identified in vegetation surveys.
#'
#'
#' @format A data frame with 268 rows and 10 columns:
#' \describe{
#' \item{full_name}{Scientific name - the genus and species}
#' \item{common_name}{... |
9aab5f9bd05319e049ad454dadae0aa592285e43 | b7bf62deb228ee72d8ff96205a230575cbdfb51c | /R/predicting.int.R | 2c6822d0d6ccdaf99f51dfe10103d88d329527c8 | [] | no_license | BenitoJaillard/combinAna | f48c855ea4b8b2dd22eb58652fa6b87b49c56a4a | 114df1efc319db55c72f3b9bb23095a4345dabbb | refs/heads/master | 2020-04-24T03:05:11.212153 | 2019-03-26T09:57:19 | 2019-03-26T09:57:19 | 171,659,371 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 89,208 | r | predicting.int.R | #xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#
# Set of internal functions ####
#
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
figures <- c(21, 22, 24, 23, 25)
# 21 = "circle", 22 = "square", 23 = "dia... |
a74cdf8ee2b2ecae3348b7dbd37b6ac51b050888 | 83f2b4095087ed04b6354b7d1638399fb88e64ea | /cachematrix.R | 3fe2b8de06b305f5c070994ef887485dc534f1db | [] | no_license | nudnik/ProgrammingAssignment2 | fefb5a7b17fe9336ecc6ffc5a9b0070fda00e2ef | 34c329ddce07dccc49137578b8c46190cb7b6f26 | refs/heads/master | 2020-04-05T18:30:21.383517 | 2014-12-21T23:34:14 | 2014-12-21T23:34:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,657 | r | cachematrix.R | ## The following code consists of a function that calculates
## the inverse of a square, invertible matrix. Also, there is
## a function used to cache the inverse of the square matrix
## to preclude repeated, lengthy matrix inversion calculations.
## makeCacheMatrix is a function that creates an object, involving
## a... |
5457895bb8d68515d5f9cb60d26f72b28bc361c4 | 74de4a91086a9387e9c03cf11c73f7c62c798a8b | /man/timss.rho.pv.Rd | 961f89aac700c533051dfa3aa8a51764b7962236 | [] | no_license | eldafani/intsvy | 51593ae6fb256e9287a7d89a263f833cd45ff99a | 8cfade54a71b2d1d6222c048dd2997b11e6528d9 | refs/heads/master | 2023-07-19T23:04:54.181692 | 2023-07-11T16:39:46 | 2023-07-11T16:39:46 | 19,273,232 | 17 | 14 | null | 2019-09-18T05:43:42 | 2014-04-29T10:51:02 | R | UTF-8 | R | false | false | 1,350 | rd | timss.rho.pv.Rd | \name{timss.rho.pv}
\alias{timss.rho.pv}
\title{Two-way weighted correlation with plausible values
}
\description{
timss.rho.pv calculates the correlation and standard error among two achievement variables each based on 5 plausible values or one achievement variable and an observed variable (i.e., with observed scores ... |
37b522c2d8b5fbb3a8f75606972d757d7a1b2eae | 578f6537a1b45f9ed95a9a79897ea52acac5feec | /R/spatialEnhance.R | 3244b2b122b7c7d0b612742abc9d740ac1d8d18f | [
"MIT"
] | permissive | JunqiangWang/BayesSpace | 0e77a6b293444bd16155fc0391b5819a61728d28 | cd2c155f457b3bf05986b2961fa8f4d2937769fe | refs/heads/master | 2023-08-30T08:05:39.870689 | 2021-11-04T00:00:01 | 2021-11-04T00:00:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,607 | r | spatialEnhance.R | #' Enhance spot resolution
#'
#' Enhanced clustering of a spatial expression dataset to subspot resolution.
#'
#' @param sce A SingleCellExperiment object containing the spatial data.
#' @param q The number of clusters.
#' @param platform Spatial transcriptomic platform. Specify 'Visium' for hex
#' lattice geometr... |
c7065a8e2a68c1015def616aeabf59dbf4f028f1 | 5046a9af6b43475dc3788b8f1073d96e764add30 | /man/hybrid.cpt.Rd | 706be1a27f45d55fd53e804262bb827775f63b41 | [] | no_license | ChuangWan/breakfast | c63d45acc79c8de7addec825b77726f80633c526 | e42966b333dc56da6ee8d05970070cb7a8d1f157 | refs/heads/master | 2020-04-04T23:55:52.924587 | 2017-09-28T14:49:36 | 2017-09-28T14:49:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,896 | rd | hybrid.cpt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hybrid_cpt.R
\name{hybrid.cpt}
\alias{hybrid.cpt}
\title{Multiple change-point detection in the mean of a vector using a hybrid between the TGUH and Adaptive WBS methods.}
\usage{
hybrid.cpt(x, M = 1000, sigma = stats::mad(diff(x)/sqrt(2)), t... |
72bd74635a68fd056d90a1fc9f3ba149e919a163 | 407fbef642b54d0d3c0933b8d2a9ecc870fdf856 | /R/TextClassification/Driver.R | dc8bd4d2439e4534416321b81c9e531c4a86e22b | [] | no_license | xzb/ml_practice | f527a9d2d2ec1828d16e7b2568f6ec8f8dc60b0a | 661582022588bc4fc4a425bd6020eadbbf7ce8f9 | refs/heads/master | 2021-01-21T12:58:57.254797 | 2016-04-26T06:37:42 | 2016-04-26T06:37:42 | 52,067,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,162 | r | Driver.R | #install.packages("RTextTools")
library("RTextTools")
TrainingSets <- list(
"data/20news-bydate/20news-bydate-train/alt.atheism",
"data/20news-bydate/20news-bydate-train/comp.graphics",
"data/20news-bydate/20news-bydate-train/misc.forsale",
"data/20news-bydate/20news-bydate-train/rec.autos",
"data/20news-byd... |
046fd81be17ac0e1c03870129b5ce2abafdf7e88 | 1bf22fc2ca2bd11cba52a3b3f8d196228016d0d6 | /setup.R | c33273713544ed9d9eb37269b3a9a8b7a8e2e4bb | [
"MIT"
] | permissive | dudek-com/gvtp | eddead78816f219febaafd77bee527c2381db4f3 | a547af4d17ef637bd32eebbdc255d2d0b09810c8 | refs/heads/main | 2023-03-14T07:08:19.358677 | 2021-03-02T23:01:27 | 2021-03-02T23:01:27 | 304,129,414 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,795 | r | setup.R | # load libraries ----
if (!require(librarian)){
install.packages(librarian)
library(librarian)
}
# load libraries, install if missing
shelf(
# tables
DT,
# plots
ggplot2, trelliscopejs, gapminder, # kassambara/easyGgplot2
# modeling
broom, caret, corrplot, corrr, dismo, mgcv, randomForest, sdm,
# data... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.