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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4ca1a643c48fdab2b3afdc39ab35dcfc46cbd3cb | 570d4141186786df5179cc4346dd3808c1c41f26 | /qc/06-protcoding2.R | 063d8b644c67973c8668dbe8e130da359618f599 | [
"MIT"
] | permissive | ArtemSokolov/amp-ad | 552fee92c0ec30539386745210f5ed2292931144 | dd5038f2497698b56a09471c89bb710329d3ef42 | refs/heads/master | 2021-06-21T21:04:44.368314 | 2019-09-10T17:40:48 | 2019-09-10T17:40:48 | 114,150,614 | 0 | 4 | MIT | 2019-09-10T17:40:49 | 2017-12-13T17:39:02 | HTML | UTF-8 | R | false | false | 2,583 | r | 06-protcoding2.R | ## Another pass at the analysis of protein coding regions
##
## by Artem Sokolov
library( tidyverse )
library( synapseClient )
synapseLogin()
## Retrieves a file from synapse to local disk and returns its local path
syn <- function( id, dlc = "~/data/AMP-AD/QC/06" )
{ synGet( id, downloadLocation = dlc )@filePath }
... |
53dc27bdd005c933cd56cc7243f49c885bbef89b | 0b12fa717362a0b5d2810a55580e1b4563415ae6 | /modules/aml_sidebar_module.R | f044cce2269fb7ca1c85678c69474556e5afaca0 | [] | no_license | GeorgeOduor/amltools | 7ebe158ed5ba934d65d401b0f279b40092a79309 | 0724778fe57a8cb31da8fbb916282e53a2edf853 | refs/heads/master | 2022-11-13T07:18:56.294413 | 2020-07-05T10:18:33 | 2020-07-05T10:18:33 | 276,906,767 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 515 | r | aml_sidebar_module.R | aml_sidebar_UI <- function(id) {
ns <- NS(id)
tagList(
uiOutput(ns("sidebar_aml"))
)
}
aml_sidebar <- function(input, output, session) {
ns = session$ns
output$sidebar_aml <- renderUI({
sidebarMenu(id = "mainsidebar",
hr(),
menuItem("Home",icon = icon("home"),tabName ... |
ea3088c7466cc5823be4a55c6d8f43fb55a204f7 | 7a0e2bd98da6be2d7aa5005f21872d7c88a4d544 | /man/bakedpi.Rd | 12b1e0b3f23f210a1780672648d48488f2339a4b | [] | no_license | hansenlab/yamss | 1d4f337c8a96046c9bc7f73e9aef73a501f22460 | be8606da930bd60fab2c09aba4123b3d3068f094 | refs/heads/master | 2022-03-29T16:32:25.181063 | 2022-02-03T16:49:01 | 2022-02-03T16:49:01 | 69,065,057 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,661 | rd | bakedpi.Rd | \name{bakedpi}
\alias{bakedpi}
\title{Process raw data to compute density estimate.}
\usage{
bakedpi(cmsRaw, dbandwidth = c(0.005, 10), dgridstep = c(0.005, 1),
outfileDens = NULL, dortalign = FALSE, mzsubset = NULL, verbose = TRUE)
}
\arguments{
\item{cmsRaw}{An object of class \code{CMSraw}.}
\item{dbandwidth}{A l... |
34131cecc792930ca51316cd28e4f075d2e6a092 | b8d522f0bca0b379e982c5b094243f8a75979472 | /R/repMask.R | 2e6394c3ac31d4af6d8e77eb20004de4cfa8afad | [] | no_license | aryeelab/scmeth | 45d2dc4ce77b2e42c67737a1eeffa8a4570ceab3 | b7b86da69dcfb13a14b8ab5099649c2d41469d55 | refs/heads/master | 2021-03-24T09:43:58.358028 | 2019-06-10T21:12:11 | 2019-06-10T21:12:11 | 75,974,085 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,009 | r | repMask.R | #'Provides Coverage metrics in the repeat masker region
#'@param bs bsseq object
#'@param organism scientific name of the organism of interest,
#'e.g. Mmusculus or Hsapiens
#'@param genome reference alignment, i.e. mm10 or hg38
#'@return Data frame with sample name and coverage in repeat masker regions
#'@examples
#'li... |
bfcf2f8c77b9e876c1734328f1ddcadfed62cd3e | c2f9dc47aebb1b4a79acf054f158ba1fa7a4b89f | /Plugin.r | 9b475ccdb4ce1fa076832611fe0f5d9399e2b7e6 | [] | no_license | blackberry26/SMPR | b7c003ad8fe6ca0c7869c692e52683f25084b37b | 3336fce79a4f4d3b07c35926965438c43c002b16 | refs/heads/master | 2020-03-29T22:48:22.852797 | 2019-01-25T21:14:06 | 2019-01-25T21:14:06 | 150,441,215 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,849 | r | Plugin.r | estimateMu <- function(objects)
{
rows <- dim(objects)[1]
cols <- dim(objects)[2]
mu <- matrix(NA, 1, cols)
for (col in 1:cols)
{
mu[1, col] = mean(objects[,col])
}
return(mu)
}
## Восст-е ковариационной матрицы нормального распред-я
estimateCovarianceMatrix <- function(objects, mu)
{
rows <- dim(... |
c2778c623f14833f6f81865b17821a163a9b9a8c | f9fb8361c3ab28ba67f6345978ef01ac5a997599 | /Class_Practice/NetworkAnalysis/germany_passing.R | 6d0a7b7aaa57bbae49e4142ae6c7d6bafd9f6876 | [] | no_license | sahNarek/CSE_270_Practice | cb14736d0253cf578154ef0b407502235f109a3e | 9347947eae4d532f6cd32dd3482c0b89e7761394 | refs/heads/master | 2020-07-29T15:02:38.199858 | 2019-12-10T18:27:56 | 2019-12-10T18:27:56 | 209,854,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,079 | r | germany_passing.R | library(SportsAnalytics270)
library(igraph)
library(network)
library(intergraph)
library(circlize)
data("wc_14_final")
wc_14_final$germany_passing
i_ger <- igraph::graph.adjacency(as.matrix(wc_14_final$germany_passing),
mode = "directed", weighted = T, diag = F)
net_ger <- intergraph... |
104fb76ae82c3fb81fe1fca609783dda58ff686d | da2c93c12cebc4205cf617eb791d9eaca9fb02a3 | /man/icbiplot.Rd | 775043b67a00d9061f3296a08eeab4ef42dfd76c | [] | no_license | cran/icensBKL | 7b30793201fc0d18cc45efefaa60a436e4dd6cc6 | a767317fd024ec338ba1b770734c17f55739a674 | refs/heads/master | 2022-09-23T22:31:46.955546 | 2022-09-19T13:26:13 | 2022-09-19T13:26:13 | 110,893,823 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,261 | rd | icbiplot.Rd | \name{icbiplot}
\alias{icbiplot}
\title{
Interval-censored biplot
}
\description{
Principal Component Analysis for interval-censored data as described
in Cecere, Groenen and Lesaffre (2013).
}
\usage{
icbiplot(L, R, p = 2, MaxIter = 10000, tol = 1e-06, plotit = TRUE, seed = NULL, \dots)
}
\arguments{
\item{L}{... |
edb7e3d5a47faa2ce265d0ef0b4c1cf3725983fa | c8b2e7eb5986165270a6c9c2e7d593597006c521 | /engagement_topics.R | d66b13ab74371dbd5d9020da46af77618002a301 | [] | no_license | milkha/FBElec16 | 094708f199a1237b7a2183dea261edf88844db10 | bf613bdffd6006f94fa06253e4bef2d8388f7bf5 | refs/heads/master | 2020-05-27T22:22:28.468637 | 2017-03-01T20:43:54 | 2017-03-01T20:43:54 | 83,597,089 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,752 | r | engagement_topics.R | library(tm)
library(topicmodels)
dtm <- readRDS("dtm.rds")
lda.clinton <- readRDS("c10.rds")
clinton.topics <- as.matrix(topics(lda.clinton))
clinton.terms <- as.matrix(terms(lda.clinton,20))
idx<-unlist(lapply(which(grepl('clinton', dtm$dimnames$Terms)), function(x) which(dtm$j %in% x)))
cidx <- sort(unique(dtm$i[idx... |
a2f4db64f860c1ff8cbbba494741f6051a5403c2 | 1eec56205889241fc9e47443f5534216acbac52c | /man/smargins_v2.Rd | 775e6ff31bf80d46533ff8cf88d8a1b5dd9df512 | [] | no_license | izahn/smargins | fac638a907e5ca75452bd399de27d007162ea68e | 949f8fc9e4729c19a22e2512c701fae2c422e69e | refs/heads/master | 2021-05-07T02:52:32.980547 | 2019-09-10T19:33:53 | 2019-09-10T19:33:53 | 110,725,408 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,201 | rd | smargins_v2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tmp.R
\name{smargins_v2}
\alias{smargins_v2}
\title{Temporary smargins variant}
\usage{
smargins_v2(model, vars, xvalues = NULL, n = 5000, coef.fun = coef,
sim.fun = I, linkinv.fun = family(model)$linkinv, vcov.fun = vcov,
model.frame.fun... |
6ef53ae2317efeea8ab15ee71f2458abc641b3c8 | 96c4acaae35f9bed561260764bb86e5ed6a4662a | /TDS.ERPs/Participant Info.R | a157e5d295da4909ae705c87748669f9fbca24a9 | [] | no_license | SFord88/TDS-Package | 51624bf493944e0db23be4ae145aae3c03f69924 | 246a33760d076f56ae9f685e52ad3ea0e7d0ed79 | refs/heads/master | 2020-05-16T20:08:04.318938 | 2019-04-25T20:59:20 | 2019-04-25T20:59:20 | 183,265,388 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 406 | r | Participant Info.R | ## Participant info
## Install plyr package
library(plyr)
## Count number of participants
print(count(TDS[2:27,1]))
## Create gender variable
gender <- TDS[2:27,5]
## Count number of females and number of male participants
count(gender)
## Create age variable
age <- as.numeric(TDS[2:27, 6])
## Find mean ag... |
aca6ab03f33185c2d7c638776a2c371c8da77f10 | 100ece4813a2fbb2c62d697def4c622f2a22b290 | /global.R | 0174770746cf6782f2deff319ef262adb4d2e915 | [] | no_license | bah-interactivemedia/Orioles-Hackathon | a3ae9cdb5a24465b080a51f9dc3c062b839377a9 | b7ad50e48f9d7339fc59190972ade1abea0b3fcd | refs/heads/master | 2016-08-12T01:19:30.009966 | 2016-03-02T16:39:17 | 2016-03-02T16:39:17 | 51,162,141 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,464 | r | global.R | library(dplyr)
library(tidyr)
library(shiny)
options(stringsAsFactors = F)
# setwd('C:/Users/B1GRU/Documents/Booz/Bahlmer/Flash Drive/Flash Drive/Data')
myplclust <- function(hclust, lab = hclust$labels, lab.col = rep(1, length(hclust$labels)),
hang = 0.1, ...) {
##
y <- rep(hclust$he... |
83e17468954574c759ab14fd0058a0dbebe3e69b | fbfcb908f975799b43a64c51c9a380701626d488 | /man/autoSum.Rd | 8746f54534f9117bd533b8a908baebc0093c1786 | [] | no_license | BlasBenito/distantia | d29d099ae8740bfadf2a480f18ffdb4ffdbe5f41 | 0d4469f417a7e7970757ee7943ca0016c181f7ec | refs/heads/master | 2022-02-24T04:30:53.308716 | 2022-02-07T14:32:31 | 2022-02-07T14:32:31 | 187,805,264 | 7 | 4 | null | null | null | null | UTF-8 | R | false | true | 3,601 | rd | autoSum.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/autoSum.R
\name{autoSum}
\alias{autoSum}
\title{Computes sum of distances between consecutive samples in a multivariate time-series.}
\usage{
autoSum(
sequences = NULL,
least.cost.path = NULL,
time.column = NULL,
grouping.column = NUL... |
40e708cd62425004e01b2b4555791395758d8038 | 4aab2fe7dc1cdbe82d37c0520f8a83cd8937bc53 | /RERConvergeScript.R | efdfe27c2fae59c303c931bab183c26126968148 | [] | no_license | Moreau-Lab/Genomics | 7e5c8a7273162dcfae21436fd3e50f4b967a711a | 4d1eab65c6f0fdbc9b3a0c72ab6b3dbcad4a3bf3 | refs/heads/master | 2020-09-11T14:16:14.195613 | 2020-07-10T15:19:32 | 2020-07-10T15:19:32 | 221,995,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,170 | r | RERConvergeScript.R | # Load packages:
library(tidyverse)
library(RERconverge)
library(ape)
# Make a phylo object of the master phylogeny:
AllSpecies <- read.tree(file = "KnownAntPhylogeny.txt")
# Read in the trees:
Test <- readTrees(file = "RERInput4610", masterTree = AllSpecies)
# Estimate relative evolutionary rates:
# Make a vector ... |
b82b0354284c371fa8ad4c43ec001e8b1b6f6c70 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/4772_1/rinput.R | 7b176b9e5cc5a70488e1ff752cd2e9f62255f434 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("4772_1.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="4772_1_unrooted.txt") |
6e565ee1d8d6d0d317ec26c3ae3d4a0c662df136 | f9bc24751d593694fbc98648519df43c70d253ee | /inst/integrationTests/test_externalFileHandle.R | 447a347277a24b98e4e86b80f9103a9d10149bd5 | [] | no_license | brian-bot/rSynapseClient | cf607b242fa292902f832d6a5ecffceeba80eaef | cef1a6bb1f28034a9de826f3e92f1b1139e56c61 | refs/heads/master | 2020-04-05T22:52:30.912248 | 2017-04-28T17:45:58 | 2017-04-28T17:45:58 | 3,354,254 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,900 | r | test_externalFileHandle.R | # integration test for external file handle
#
# Author: bhoff
###############################################################################
.setUp <- function() {
## create a project to fill with entities
project <- createEntity(Project())
synapseClient:::.setCache("testProject", project)
}
.tearDown <- functio... |
6c57f30a91a205cb4f81a6a67aea6d7e718e0145 | d4790beac58cf10c5e0fc8a8a052ad0cba67049c | /R/data.R | 5c224194454e4dddc082b98f68d769b35417b926 | [] | no_license | Jas-debugging/diffusion | a09b850e3fbaa025f9a62cc93fdb5bfb801578e2 | f553058f01b97cf028c0ec86e2ef9ed13831f955 | refs/heads/master | 2023-07-06T14:16:41.068110 | 2021-08-12T13:57:57 | 2021-08-12T13:57:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,163 | r | data.R | #' A protein-protein physical interaction network (PPI network)
#'
#' An igraph object containing a protein-protein physical interaction network
#' (PPI network). The network is obtained as described in the article
#' cited in the source section. However, it was reduced in such a way
#' that only contains genes/protei... |
40b22ccdc703fcfd510bec183601ae070a015657 | 2f9ff50ef8a7dc1b43fcc1fadd0d00a3b3cda611 | /R/BehavioralEconomicsR.R | 358f39780efd4c6bd4efa0ac34f014baf649ca82 | [
"MIT"
] | permissive | BESTDATASCIENCE/BehavioralEconomicsR | 7c08ba089ad6458d3c51ce6e43be142f6f13084d | 4099a5fc198544df20a0f5544e00e197c72f6a8b | refs/heads/master | 2020-03-22T23:15:56.183168 | 2018-10-12T01:45:36 | 2018-10-12T01:45:36 | 140,799,445 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 712 | r | BehavioralEconomicsR.R | #' Paquete de R disenado para trabajar de forma sencilla data de investigaciones de Economia Conductual. Creado por BEST
#'
#' @name BehavioralEconomicsR
#' @docType package
NULL
#' Paquete de R disenado para trabajar de forma sencilla data de investigaciones de Economia Conductual.
#'
#' Paquete de R disenado para t... |
9d9d2e950e4e9f9df7a31ff4c6ab68f82532a704 | eb48ffe6a8e9f440ac991bcb4f7b6dd47f69d92c | /man/rm.na.Rd | e7781a3cce6a2de18736eed9d46f5ee76c0fcc6a | [] | no_license | xingyanwang-david/rareGWAMA | 5674ac285c2a0ef07df8c1363965e421033218b6 | 72e962dae19dc07251244f6c33275ada189c2126 | refs/heads/master | 2022-02-17T20:27:25.333156 | 2019-09-12T00:29:17 | 2019-09-12T00:29:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 217 | rd | rm.na.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prepare.input.R
\name{rm.na}
\alias{rm.na}
\title{Remove nas}
\usage{
rm.na(x)
}
\arguments{
\item{x}{input;}
}
\description{
Remove nas
}
|
8227774ed65cd2dbf32167df9ea6c96082d0746e | 6520167b619895d5a3f0c86d5119c7a4729cd52c | /ToolsComparison/Tools/Cibersort/CIBERSORT_Modified.R | e3d23af6d8caa6a7bf2cdd6d02117dc4e871c16c | [
"MIT"
] | permissive | frenkiboy/GEDIT | 8109b8f61fa1395dd2475f833004e475c545f4fd | 51fd5cb0cbcd7e6ebdf6b49c00d1ddd1e15d812d | refs/heads/master | 2023-02-23T17:38:25.404881 | 2021-01-25T00:23:56 | 2021-01-25T00:23:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 140 | r | CIBERSORT_Modified.R | CIBERSORT Code ommited from this directory for potential copyright reasons. See https://cibersort.stanford.edu/download.php to request code
|
1f3a5dd5b27b2989b236b98a73b2cd284903ea0e | 343c6301990352fe4ec142ffbb140864ea9a94b0 | /source/analyze_watson_data.R | bbf6f29d9faa8d1caeb6be8efeb47fb15d8ad20e | [] | no_license | dhudsmith/trolls | 9247b48fceac451b916f1e5dc39a0df7c68c6892 | f95d63118826ebbf3ce539cca394cbef6c51f0c3 | refs/heads/master | 2020-07-27T14:45:32.667518 | 2020-05-07T13:43:35 | 2020-05-07T13:43:35 | 209,128,754 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,872 | r | analyze_watson_data.R | library(dplyr)
library(ggplot2)
library(reshape2)
setwd('~/Code/trolls/')
# read in the data
df_ira <- read.csv('data/watson_ira_1000.csv')
df_control <- read.csv('data/watson_media_1000.csv')
# Clean and combine
df_ira_clean <-
df_ira %>%
select(sentiment_score, anger, disgust, fear, joy, sadness) %>%
mutate... |
89184d396a7a8b18ca22888e75e0250e2a5efad1 | 9a2ef368d44c289d041fc606f29c4bdeec54442a | /man/mlp_net-MSE-gradients.Rd | 74a0d7593bf395474576de45a17fc845f42dbff2 | [] | no_license | cran/FCNN4R | 870e9c9d2ce3569a188603c2e53fa8a59a61030a | 91a366ead6f49c15b5e866d1dcf2c9c327432343 | refs/heads/master | 2016-09-16T16:43:28.342250 | 2016-03-09T00:57:57 | 2016-03-09T00:57:57 | 39,093,754 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,802 | rd | mlp_net-MSE-gradients.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mlp_net.R
\name{mlp_net-MSE-gradients}
\alias{mlp_grad}
\alias{mlp_gradi}
\alias{mlp_gradij}
\alias{mlp_jacob}
\alias{mlp_mse}
\alias{mlp_net-MSE-gradients}
\title{Computing mean squared error, its gradient, and output derivatives}
\usage{
ml... |
92d73dc4aad333a40dfe906584a8fd4cd81575d1 | 1947642e415118426f8e4d96eedc6d64a12672d6 | /man/forceround2.Rd | e57b3438f23f09baeab2c74aea116118709a4fd9 | [] | no_license | cquigley/rPerfFunc | 9917b4332391332842d69566aea0f63f95eb5ec3 | 478aff105bbcacb0e6e56346062c57763ec1647c | refs/heads/master | 2021-01-17T13:25:46.809452 | 2016-08-04T19:17:14 | 2016-08-04T19:17:14 | 64,801,245 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 262 | rd | forceround2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/performance.R
\name{forceround2}
\alias{forceround2}
\title{force round to 2 decimals}
\usage{
forceround2(n)
forceround2(n)
}
\description{
force round to 2 decimals
replace NAs
}
|
d09f24e840b86919ec4d3f94dbadcecb7412ee03 | 7b3747265bc72f28c6af7e35ccf1275c183a9494 | /EXIO_init.R | 5a6e64606359ee2aa61e99a0eeef8814bb4ba4d3 | [] | no_license | Jihoon/DLE_scripts | 2bb9f8c03a8aec972313fc9722e5c53391e002c5 | 2225630c710822812b2f9ba884aab99cabddd119 | refs/heads/master | 2023-03-03T11:32:37.095031 | 2022-01-14T08:54:29 | 2022-01-14T08:54:29 | 89,709,501 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,589 | r | EXIO_init.R | # Read in neccessary EXIO tables
# And derive indirect energy intensities per EXIO sector
# setwd("H:/MyDocuments/IO work/")
path_iot <- "P:/ene.general/DecentLivingEnergy/IO/Data - EXIOBASE/EXIOBASE2/mrIOT_PxP_ita_coefficient_version2.2.2/"
path_sut <- "P:/ene.general/DecentLivingEnergy/IO/Data - EXIOBASE/EXIOBASE2/... |
ad16d6864d475f559f72e95e1794a8c258f9abc1 | 1becc546dddb6d4b689cd40bc4f91ad6d455f49d | /run_analysis.R | 5b45db9ab40a530f3b1a6cc56c3c33195ab25d64 | [] | no_license | krisstee/data-science-coursera-week4 | c66f8f2c1a04dae8e3d89938394f0211ffc3b337 | 514f4e42ae73d9a928ee477dc70d23bf98861836 | refs/heads/master | 2020-05-15T15:08:03.682519 | 2019-04-20T20:51:10 | 2019-04-20T20:51:10 | 182,361,886 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,534 | r | run_analysis.R | # Author: Kristi A.
# JHU Data Science - Getting and Cleaning Data
# Week 4 assignment
library(dplyr)
setwd("data-science-coursera-week4")
dataset_url = "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
# download and unpack data set
download.file(dataset_url, "week4.zip", metho... |
ce526c82417ab67616e03c4ebd7aef93d25a9b93 | fa4b331d6804c877eb62fc9566c3a652bccd08f1 | /man/odbcPreviewQuery.Rd | 6e2e6414f4038d149db684b9792f14511df4637c | [
"MIT"
] | permissive | r-dbi/odbc | 0091c72371abfe95f6d2e5ea940ab06c134e2063 | 56eef6949b4c63468015cd533bd6539f952877cd | refs/heads/main | 2023-08-31T15:19:29.556401 | 2023-08-04T00:49:58 | 2023-08-04T00:49:58 | 63,273,973 | 252 | 98 | NOASSERTION | 2023-09-04T18:48:42 | 2016-07-13T19:32:07 | C++ | UTF-8 | R | false | true | 929 | rd | odbcPreviewQuery.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Viewer.R
\name{odbcPreviewQuery}
\alias{odbcPreviewQuery}
\alias{odbcPreviewQuery.OdbcConnection}
\alias{odbcPreviewQuery.Microsoft SQL Server}
\alias{odbcPreviewQuery.Oracle}
\title{Create a preview query.}
\usage{
odbcPreviewQuery(connectio... |
a98a66e5f0f3e3e9bbe35a1f6250b68027b8709d | 84cf9b0a9edc96bac8a7ffaa73391370c0a39b40 | /test_1.R | 4ca2fa5dbd31faa0ff483ad0a912b5cc5b796758 | [] | no_license | hyrbrgh/version-control-test | aca12198b639d763a337e5b42697c7fa1958bc8e | 477a50c0f8a32a95350e9ca175526b3e1da6819c | refs/heads/master | 2021-01-13T08:26:59.041128 | 2016-10-22T22:05:31 | 2016-10-22T22:05:31 | 71,668,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 82 | r | test_1.R | # sample code
# this code is just a smaple
# it it to help me Learn
test <- 1:10
|
cf89bc954c6f3538a7bbe472b54624fcc62ae7f7 | 5906b6e56fd54b7a038961372318632a8f4009d1 | /man/phyEstimate.Rd | aea4cd3512e8d76a471bed0c428a0cb644438c94 | [] | no_license | skembel/picante | dc8c8b38c45f6d2088563d4e9119a0aa21e8f115 | b891440afaa83185442f98d45db90a515cf6ab8a | refs/heads/master | 2023-09-04T02:58:33.047287 | 2023-07-10T15:17:01 | 2023-07-10T15:17:01 | 13,666,942 | 25 | 14 | null | 2023-07-10T15:12:30 | 2013-10-18T02:14:54 | R | UTF-8 | R | false | true | 3,177 | rd | phyEstimate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/phyEstimate.R
\name{phyEstimate}
\alias{phyEstimate}
\alias{phyEstimateDisc}
\title{Phylogenetic estimation of traits for unobserved taxa}
\usage{
phyEstimate(phy, trait, method = "pic", ...)
}
\arguments{
\item{phy}{phylo object}
\item{trai... |
95c0732731488ebad86c2512789afc4197e0f4c2 | e4e79cc749ade9df9d1e48d972ac9683dee85933 | /original/IntelliKeys/WindowsOld/Control Panel/REALbasic Plugin and bundle/QT6/Interfaces & Libraries/QTDevWin/RIncludes/MacTypes.r | 8606b72a4f8bca5c41b0f0c74e564b638fd68900 | [
"MIT"
] | permissive | ATMakersOrg/OpenIKeys | f3420332714a844262bd3ebfbcf09405b7b3c05b | 629f88a35322245c623f59f387cc39a2444f02c4 | refs/heads/master | 2022-03-03T16:05:58.189792 | 2019-10-29T00:30:55 | 2019-10-29T00:30:55 | 107,173,263 | 12 | 4 | MIT | 2019-10-29T00:30:55 | 2017-10-16T19:24:54 | C | WINDOWS-1252 | R | false | false | 3,026 | r | MacTypes.r | /*
File: MacTypes.r
Contains: Basic Macintosh data types.
Version: Technology: Mac OS 9
Release: QuickTime 6.0.2
Copyright: © 1985-2001 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
... |
ceb11fffc5127d6f5535ca818ebf1fc740919928 | a07326a1d02cc345cc94faf86894e7317ffea68f | /app/server.R | aa9b45490c0f46345b4fa8bf099bdcf451cae0f8 | [] | no_license | Juju1OO1/final_project | c91dc305ff27cc0bb47ceb14f2bb682991077bdb | 12f6a487f805b960eff0e87f9bdc1c8eba6bc675 | refs/heads/main | 2023-05-31T07:40:21.537295 | 2021-07-12T07:29:27 | 2021-07-12T07:29:27 | 375,265,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 267 | r | server.R | # makecondition -----------
library(shiny)
library(ggplot2)
# server --------
server <- function(input, output){
output$distPlot <- shiny::renderPlot({
ggplot(data = faithful) + geom_histogram(aes(x = eruptions),
bins = as.numeric(input$bins))
})
}
|
37ba6ebb64e13f3fb6c20c4d0a003d9ede10e7bc | 744eb9be6455f86de1c53c571a5051a8ce7d1ac4 | /pca3d.R | a2d9578c9bf75ef08d9f8537332f4c0d596ebe51 | [] | no_license | derek-corcoran-barrios/Meta | 77037a4bb48a9ef8a2a216369609e90c470f3e0f | 7794a07c4ddb4f1c3136786882bd3f62095157ab | refs/heads/master | 2021-03-19T13:24:17.685664 | 2017-03-27T01:00:13 | 2017-03-27T01:00:13 | 82,729,469 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 458 | r | pca3d.R |
coord <- read.csv("~/Documents/Art classification proyect/ART/coord.csv")
Art <- read.csv("~/Documents/Art classification proyect/ART/Art.csv")
pca.3d <- cbind(coord$Dim.1, coord$Dim.2, coord$Dim.3, Art$movimiento)
colnames(pca.3d) <- c("X", "Y", "Z", "Mov")
library(rgl)
attach(data.frame(pca.3d))
plot3d(X,Y,Z,col=... |
ce102741775410d95213080a8f0865698a273af1 | 50284f0424b73a2fabe8705809c3fa018867ccd6 | /R/qqplot_fancy.R | 7a93ff7fde62a13e902e05a7a6bdfc8a3be82cf4 | [] | no_license | InfProbSciX/PeRLib | 2756830a8b897f3fad94dc417b2eb8eeafb64b8c | 9f68dc8c903950de2b2025fbaa79de6ae3a21b90 | refs/heads/master | 2020-03-22T08:21:55.349877 | 2018-07-04T20:11:32 | 2018-07-04T20:11:32 | 139,762,021 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,278 | r | qqplot_fancy.R | #' Make a pretty QQ-Plot
#'
#' \code{qqplot_fancy} Extends the qqplot() function by using ggplot2 for making a pretty qqplot and adding a best-fitting distribution functionality.
#'
#' @param sample A numeric vector with the "actual" observations.
#' @param dist Either (1) a string (default "normal") specifying a known... |
b390d4f24fe7bc7d6c8f91f0feeb745562b79ded | e56da52eb0eaccad038b8027c0a753d9eb2ff19e | /man/Renumber.Rd | 24a276778607d93e08c8acdb78bb166a445cf969 | [] | no_license | ms609/TreeTools | fb1b656968aba57ab975ba1b88a3ddf465155235 | 3a2dfdef2e01d98bf1b58c8ee057350238a02b06 | refs/heads/master | 2023-08-31T10:02:01.031912 | 2023-08-18T12:21:10 | 2023-08-18T12:21:10 | 215,972,277 | 16 | 5 | null | 2023-08-16T16:04:19 | 2019-10-18T08:02:40 | R | UTF-8 | R | false | true | 1,791 | rd | Renumber.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/phylo.R
\name{Renumber}
\alias{Renumber}
\title{Renumber a tree's nodes and tips}
\usage{
Renumber(tree)
}
\arguments{
\item{tree}{A tree of class \code{\link[ape:read.tree]{phylo}}.}
}
\value{
\code{Renumber()} returns a tree of class \code{... |
ff84a918aae7944c9ab5473a8cd11610c2536539 | 570bd0fea4dcd3d84ef9f9981d073911702bbbc3 | /teaching/expdes/old/lastyear/retro.copies.R | a0d5c54a73278058a92638474e3017f124fa0c25 | [] | no_license | coleoguy/coleoguy.github.io | ab193cced8a974046fc5eafea365c2c88c4b84f0 | fdeb359db691c2c99a018a4d5312f83013c9399f | refs/heads/master | 2023-08-31T15:28:24.557517 | 2023-08-27T19:16:33 | 2023-08-27T19:16:33 | 33,425,755 | 0 | 6 | null | null | null | null | UTF-8 | R | false | false | 1,123 | r | retro.copies.R | dat <- read.csv("retrogene.csv")
parents <- daughters <- matrix(0, 10000, 10)
colnames(parents) <- colnames(daughters) <- colnames(dat)[2:11]
for(i in 1:10000){
print(i)
par.probs <- unlist(dat[1, 2:11] / dat[1, 12])
cur.parents <- sample(1:10, size = 142, replace = T, prob = par.probs)
dau.probs <- unlist(da... |
defcceb9d7ca1a0cae5f3d1bcf2ca0c61d41dbfe | d9e2ad6cf05909880592de47e072c2c3d7484b1a | /best.R | ba2944976c1b8039d6138ce1ef009bf1b5c966d7 | [] | no_license | rmuscat/rprogrammingcourse | b2b983c07f68ae9a37120831ed9615904924e87a | f56365109c3c84be3eb7d8e4dec466b2984000f0 | refs/heads/master | 2021-01-18T21:33:25.499009 | 2014-12-16T07:27:11 | 2014-12-16T07:27:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,605 | r | best.R | best <- function(state, outcome) {
## Read outcome data
setwd("C:\\Users\\Robert\\Coursera\\2. R Programming\\A3")
outcomeList <- c("heart attack","heart failure","pneumonia")
outcomeData <- read.csv("outcome-of-care-measures.csv",colClasses="character")
## Check that state and outcome are valid
library(dat... |
003feed9bf8866a33f154959df4f817b3196ac15 | 35b5db382d27cea75316ceb90f37faccaa59425c | /plot1.R | 243872788e7d10358799a0ffbea5d95360a460e7 | [] | no_license | maxreimerson/ExData_Plotting1 | 486b8f9e9c5608308c199d6c3db9722ec5e27d92 | 953d15a14a7db3ced5b9bdf4199c6dc307fbbd15 | refs/heads/master | 2021-01-11T15:01:44.888547 | 2017-01-29T07:54:41 | 2017-01-29T07:54:41 | 80,282,651 | 0 | 0 | null | 2017-01-28T12:14:33 | 2017-01-28T12:14:33 | null | UTF-8 | R | false | false | 646 | r | plot1.R | setwd("~/coursera/data/")
setClass('myDate')
setAs("character","myDate", function(from) { as.Date(from, format="%d/%m/%Y") } )
df <- read.csv("household_power_consumption.txt",
header = TRUE, sep = ';',
colClasses = c('myDate','character', 'numeric','numeric','numeric','numeric','nume... |
bdeef3c801353921e44ea1203eed0ba423431330 | e5415904a4d103d45d04957a3aadf22eeaf1fbe3 | /man/google_mobility.Rd | dc1abbfcaddbcdcae79767930f7d9cd849be886f | [
"MIT"
] | permissive | kjhealy/covmobility | ccca030e3469b848ee42bfca2ab4debb8ad135a0 | 1b982c3e5615363f6492db05971d81cb9390f867 | refs/heads/main | 2023-03-19T06:45:09.201464 | 2021-03-09T20:50:06 | 2021-03-09T20:50:06 | 300,909,097 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,041 | rd | google_mobility.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{google_mobility}
\alias{google_mobility}
\title{Google Mobility Data}
\format{
A data frame with 27,094,812 rows and 11 variables:
\describe{
\item{\code{country_region_code}}{character Country Code}
\item{\code{co... |
ef536142746a0818a13b15b756863dba57b81325 | 062429fb6bc0d8a75a45a56b5d2e17ca660b8b6a | /Professor-View/utils.R | 8c98a2b6ef4e42ed76f6b81ec3920cbe61757fc6 | [] | no_license | owbezick/Mastery-System-Gradebook | b3ba277252b7cce3e2cca613488e89adef0a2619 | fa3ca21c59f3e92c65243129b27f28ffae686a91 | refs/heads/master | 2022-12-05T10:44:17.464761 | 2020-09-08T14:46:30 | 2020-09-08T14:46:30 | 263,782,893 | 1 | 0 | null | 2020-05-30T13:32:12 | 2020-05-14T01:19:00 | R | UTF-8 | R | false | false | 302 | r | utils.R |
grade_max <- function(x){
max <- "NA"
for (grade in x){
if (max != "M" & grade == "M"){
max <- "M"
} else if (max != "J" & max != "M" & grade == "J"){
max <- "J"
} else if (max != "A" & max != "J" & max != "M" & grade == "A"){
max <- "A"
}
}
return(max)
}
|
ff0016efbe8d0ee31e3b3dcd18fccead89edd73b | 64f4fc78642f0d59d49fc400ad66ce039cdd3fd2 | /eulerProblems.R | 2c1b84188572cafc6b412a8eec19f3da471d6acd | [] | no_license | leguiato/projectEuler | 490f077571c48dd6f2d009b3cdc3268092d7f1aa | 3eb45bd3631d11bd096e3b9af07704ec4ee7098a | refs/heads/master | 2020-05-18T02:11:50.483747 | 2015-01-26T22:51:32 | 2015-01-26T22:51:32 | 29,275,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,245 | r | eulerProblems.R | ### Euler Prject Problem 1
##If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9.
##The sum of these multiples is 23.
##Find the sum of all the multiples of 3 or 5 below 1000.
#load library
source('C:/Users/Tony Leguia/Desktop/projectEuler/eulerLibrary.R')
# solve problem by... |
bb4bd003a09885ca72c114a9a37727bb3cc706d5 | 710b9c5b5a125fc072162ba01ae417a46797ba69 | /R/RcppExports.R | a1751ab2bd4678ca9c9bcdccb91e22ff8e84bd35 | [] | no_license | PatrickSaoud/TStools | 5891e9b1f87ec90aa5cb490b5983eccd51b44b14 | 222cc772ef126242548bf80d1fc600787fb53b99 | refs/heads/master | 2021-01-12T20:59:20.421421 | 2015-12-04T02:59:58 | 2015-12-04T02:59:58 | 47,412,476 | 0 | 0 | null | 2015-12-04T15:34:41 | 2015-12-04T15:34:41 | null | UTF-8 | R | false | false | 2,099 | r | RcppExports.R | # This file was generated by Rcpp::compileAttributes
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
initparams <- function(Ttype, Stype, datafreq, obsR, yt, damped, phi, smoothingparameters, initialstates, seasonalcoefs) {
.Call('TStools_initparams', PACKAGE = 'TStools', Ttype, Stype, datafreq, obsR, yt, ... |
277f652404ca8f98d02762e99a8db0d79c71ef2e | 67222f69dd1a5b5ced1d28df833a303924dbde35 | /2. Algorithms on Datasets/Hypothesis Testing/LabTAT_HypothesisTesting/LabTAT_HypothesisTesting.R | 1e4a2b80f9d1550651fa732fda6d207da3aaf027 | [] | no_license | mandarmakhi/DataScience-R-code | 4f75906507e303fb9b438b99a5eab0a74bcc77f6 | 8c1728b306e53668b1814283da9936503e0554b9 | refs/heads/master | 2023-01-19T04:55:11.171455 | 2020-11-28T07:59:55 | 2020-11-28T07:59:55 | 263,417,867 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 822 | r | LabTAT_HypothesisTesting.R |
#Hypothesis Testing
#Analyze the data and determine whether there is any difference in average TAT among the different laboratories at 5% significance level
#H0: = 0 (Average TAT are same)
#Ha: !=0 (Average TAT are not same)
LabTAT <- read.csv("C:/Users/Mandar/Desktop/data/assignments/Hypothesis Testing/LabTAT.csv")
... |
91a8debb2e7794816dd861b1251f10b2b65265be | cc740bb752b3fab2d7b7019c7b5a6b9099a99568 | /R/CMRAnnotation.R | d077105c7046d16e86fe720c9258829ff995e489 | [] | no_license | cma2015/PEA | bf7eca23be6cc09308cfc9156ff46b1e4e890b90 | be1f9762f9c6eac526f1e16d7467d2ff2d1df00b | refs/heads/master | 2023-03-05T23:36:50.394537 | 2023-02-27T14:44:11 | 2023-02-27T14:44:11 | 104,353,389 | 5 | 5 | null | null | null | null | UTF-8 | R | false | false | 20,834 | r | CMRAnnotation.R |
#' @export
runTopGO <- function(geneID, statistic = "fisher", algorithm = "elim",
topNodes = 20,
dataset = "athaliana_eg_gene", plot = TRUE){
# if(!require(biomaRt)){
# source("https://bioconductor.org/biocLite.R")
# biocLite("biomaRt")
# }
#
# if(!requir... |
9a0e9a556e85181d15f5a21f4ee1dd534514e69c | 2319dc0887e4e1f7d0848b1276838a30166030fd | /data-raw/books_data.R | 884a7cb7d8a22f8b6bc80364365d85642595bb35 | [
"MIT"
] | permissive | TNaidoo/booksr | b6499e27e4a374ff280da15df2a311ecc304f657 | c00e8024d36a967de090f29cef528cb805036b21 | refs/heads/main | 2023-01-11T11:38:44.069573 | 2020-11-20T16:58:29 | 2020-11-20T16:58:29 | 314,609,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 530 | r | books_data.R | ## code to prepare `books_data` dataset goes here
library(dplyr)
books_data <- utils::read.csv("books.csv", header = TRUE) %>%
dplyr::mutate(average_rating = as.numeric(as.character(average_rating)),
num_pages = as.numeric(num_pages),
ratings_count = as.numeric(ratings_count),
... |
0c76e5a6b3af24540c1eae36ae1d7a999c3e1ae0 | bb9741193ef932fcf02b1d821921f1116ba36fbd | /SGDCI_R_package/R/SARRegression2.R | a3f8ee4210ddc295e1c6ea5183a8aea85fd4ebb3 | [] | no_license | ganluannj/Spatial_SGD_Inference | 1213b6f0544265de9aef55f563ee71cb6675ff8e | a83edc1aee6a1858942936519c7d2258be84a154 | refs/heads/master | 2023-04-24T08:30:29.794070 | 2021-05-11T14:09:35 | 2021-05-11T14:09:35 | 265,364,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,067 | r | SARRegression2.R |
#' @name SAR
#' @title parameter estimation and confidence interval construction for spatial autoregressive (SAR) model with SGD
#' @description This for applying stochastic gradient descent (SGD) for parameter estimation of
#' SAR model. \code{SGD} apply SGD for parameter estimation and \code{SGDCI}
SARSGD<-function... |
b0ed4de1f4c5044d88cd4bf13552c8e9907364b2 | a11e5a6b5f597027117e5c006baec6f031914e70 | /Functions/the311/R/query.R | 4f2a768375f4551a489a0a7507b0c6d7ab00a88b | [] | no_license | jverzani/RSquareEdge | 667b9bcf2180c28432e41a62efdd118c878c36f2 | 4e587a009ad21f05ce2dc02cbde076270e47f66c | refs/heads/master | 2020-12-09T02:59:47.373824 | 2016-08-13T17:15:49 | 2016-08-13T17:15:49 | 52,087,183 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,163 | r | query.R | ##' @include utils.R
NULL
## Make queries a bit easier
## used through `soda` interface
Soda <- function(x,var,...) UseMethod("Soda")
Soda.character <- function(val, var) {
sprintf("%s in(%s)", var, paste(shQuote(x), collapse = ", "))
}
## difference ".character", val is first, not second now (S3 concessions)
Sod... |
52645783260da98b595db408dfe0492e1a08d343 | 29585dff702209dd446c0ab52ceea046c58e384e | /CEC/inst/cec_tests/energy.calculation.test.mouseset1.R | cdbecf7ccabf4e2dc3fe950d5582e65f2f869a5f | [] | 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 | 1,371 | r | energy.calculation.test.mouseset1.R | testname <- "Energy calculation (mouseset1)"
setup <- function()
{
B <- as.matrix(read.table(system.file("cec_tests", "mouse1.data", package="CEC")))
}
test.type.covariance <- function()
{
given.cov = matrix(c(2,1,1,3), 2,2)
expected.energy <- 3.540174056
CE <- cec(B, centers=1, ... |
3812b721bdc25c9fec2af48dbcd523abbe14f89f | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.customer.engagement/man/connect_update_user_identity_info.Rd | 716b4507e45c79ad4eda538ca79bdf6cfdb9523c | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 909 | rd | connect_update_user_identity_info.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/connect_operations.R
\name{connect_update_user_identity_info}
\alias{connect_update_user_identity_info}
\title{Updates the identity information for the specified user}
\usage{
connect_update_user_identity_info(IdentityInfo, UserId, InstanceId... |
31930a67c31357532fdf182272ae3066af9f0350 | 7cdfd206317b4b4d8acb8dd474c2672f87b54d98 | /plot3.R | 05075bbd88b5b8cf915b6bfbb638f121c11a4a3e | [] | no_license | decipleme/ExData_Plotting1 | 0f6c369951c25fa04dc49049291ad7642fd08049 | 7a3ae5527c2b7a731d71460c7fcef670fafc0997 | refs/heads/master | 2020-12-28T04:36:48.508781 | 2015-11-08T19:57:48 | 2015-11-08T19:57:48 | 45,795,302 | 0 | 0 | null | 2015-11-08T19:28:53 | 2015-11-08T19:28:52 | null | UTF-8 | R | false | false | 1,157 | r | plot3.R |
{
# read the given data
data <- read.table("household_power_consumption.txt", sep = ";",
skip = 66637, nrows = 2880, na.strings = "?")
colnames(data) <- c("Date", "Time", "Global_active_power",
"Global_reactive_power", "Voltage", "Global_intensity",
... |
ce801db33bd109fff172f9c54e2ea4d147b57bbf | ce9bdf8164761b42efe0708bfe27e19da9744b39 | /DataExtraction.R | 374b28f094f0c7c68ca0385a60139ef1f4aa8431 | [] | no_license | Dilanka-Niro/Hydrology | 4f9959ce3a8c447e65eec66251026a608d3c0577 | ad9f9fa98e496a8c126dfbf2213e9d455854c516 | refs/heads/master | 2022-11-12T10:48:19.687269 | 2020-06-24T20:20:55 | 2020-06-24T20:20:55 | 276,183,519 | 0 | 0 | null | 2020-06-30T18:53:42 | 2020-06-30T18:53:41 | null | UTF-8 | R | false | false | 3,323 | r | DataExtraction.R | -------------------------------------EXTRACT AND TIDY CANADIAN HYDROMETRIC DATA------------------------------------------
#Set working directory -- this is a folder/place where all files from this project is saved
#Use getwd() to find filepath then enter it within the "" in line 5
work_directory <- "/Users/celynkhoo... |
6f7549d31e48b441a72ccb42cdce4be5ec6f0d03 | 322acb29c4c89176b14eb81f0696bab787a5929f | /assignment4/test-assigntemt4.R | 9b0c5f312556f59a49cb9229618230ab0c8f5fe8 | [] | no_license | rshopa/computing-for-data-analysis | feecf75daf0ad90c87523af4218a146f21d52d1f | 09659dffa0f532ed026084a5749149878b1ab74c | refs/heads/master | 2021-01-10T04:31:01.001452 | 2016-02-10T12:26:32 | 2016-02-10T12:26:32 | 51,438,166 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 243 | r | test-assigntemt4.R | homicides <- readLines("../homicides.txt")
# How many of each cause of homicide?
source('count.R')
count("other")
num <- count("unknown")
print(num)
# Ages of homicide victims
source('agecount.R')
agecount(3)
num <- agecount(21)
print(num) |
5754ad4d9840da85501dde63d67eee82f274d271 | dfb18d1b4608c4404cc291a5232692abe04ca230 | /R/dendro.resample.R | 011d71fb893f101eda602e6ae8c500acccd23524 | [] | no_license | sugam72-os/dendRoAnalyst-1 | 0d2fb30336cc7fa287eb428472347a711bd6aaf9 | 9b009f909dddbbba0837f6e2aa18b97f0b2e17c8 | refs/heads/master | 2022-11-13T16:15:10.604682 | 2020-07-03T18:00:07 | 2020-07-03T18:00:07 | 285,296,186 | 1 | 0 | null | 2020-08-05T13:28:24 | 2020-08-05T13:28:23 | null | UTF-8 | R | false | false | 9,281 | r | dendro.resample.R | #' @title Resampling temporal resolution of dendrometer data
#'
#' @description This function is designed to change the temporal resolution of data. Depending on the objective, the user can define either maximum, minimum, or mean values to resample data in hourly, daily, weekly or monthly frequency.
#'
#' @param df... |
ad6627f134238f86c43da1a6d08c7e89ed18cb19 | 4bd57b8501d4326ecc06c1d1ea499935e1668d95 | /MASH-dev/SeanWu/MBITES-Scripts/EXPERIMENT-Simulations.R | 2f3a2176601f41977103df8367992bf44e0cfefa | [] | no_license | aucarter/MASH-Main | 0a97eac24df1f7e6c4e01ceb4778088b2f00c194 | d4ea6e89a9f00aa6327bed4762cba66298bb6027 | refs/heads/master | 2020-12-07T09:05:52.814249 | 2019-12-12T19:53:24 | 2019-12-12T19:53:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,088 | r | EXPERIMENT-Simulations.R | ###############################################################################
# __ ___ ____ _____________________
# / |/ / / __ )/ _/_ __/ ____/ ___/
# / /|_/ /_____/ __ |/ / / / / __/ \__ \
# / / / /_____/ /_/ // / / / / /___ ___/ /
# /_/ /_/ /_____/___/ /_/ /__... |
41c3c188a5f966abf1dcf20101b1a35a3c993b41 | d3f20ed2a13eb9ca153094f15c2e351e2642cb19 | /datahandling/scaling_centering.R | 90e7f975ed680bf9c62e130ce020a1c0acfb166d | [] | no_license | apoorvakarn/R-in-Action | b7d0003d9d0be0755b7710903fb56984a59dda9b | 923dfe1f12cecfdd1511d2d55e4a4796499f9c82 | refs/heads/master | 2021-09-11T19:49:45.127777 | 2018-04-11T18:01:48 | 2018-04-11T18:01:48 | 100,679,882 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 709 | r | scaling_centering.R | #first centering should be done----
#centering-- we find mid value and put it into mid place
#scaling-- we divide by standard deviation
#for z-score-- we provide true for both the center value and scale value
?scale
x= c(1,3,5,7,9,2,4,6,8,10)
(x1=scale(x,scale = F, center= F))
as.vector(x1)
(xc=scale(x, scale = F , cen... |
4c04d71bc2b05380b9c986bdb00d1fb895a32a20 | 2b434a561e65b7c44cd0d10d3619119f805eefc7 | /Code/Building_Set_14/2a_p_Percentile_Sensitivity_Analysis.R | 9132dd278ae212135fef4faf5af3e73e6f65a853 | [] | no_license | etzkorn/postuR_analysis | 9f0059b6bfcad2dd4629c259af6811d5f7ed161e | d0f8d07c8396ac06a88706392ed6dfc6720e5a2c | refs/heads/main | 2023-06-19T23:34:21.700493 | 2021-07-16T15:18:41 | 2021-07-16T15:18:41 | 386,680,358 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,827 | r | 2a_p_Percentile_Sensitivity_Analysis.R | # Perform sensitivity analysis for the quantile used to estimate the top of the sphere.
# Vary |H_i| from 0.9 T_i ... 0.99 T_i
# check angular change in upright orientation
# check change in classifications
###########################################################
# Check Angular Change in Upright Orientation
rm(li... |
f83558df14f87e6253917f3bf9957bd2f71b42e5 | bfdbfa3a437438c3f211e60b22a2cfb39b3c9227 | /code/sim/generate_tables.R | 2f45b14e65e012750f3095029d46516ee5911904 | [] | no_license | xiyuansun/kellycc | 6720495017769a7407838df6371c2348004f2ae0 | d4533a314eff6f372840bcc810834cabcf9de875 | refs/heads/master | 2020-05-04T18:47:07.995097 | 2019-06-24T05:04:38 | 2019-06-24T05:04:38 | 179,366,595 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 242 | r | generate_tables.R | #generate simulation scenario tables
library(xtable)
sc <- c(1:18)
nGenes <- rep(c(10000,1000),each=9)
nSamples <- rep(rep(c(8,4,16),each=3),2)
pDiff <- rep(c(0.1,0.3,0.01),6)
sc_table <- cbind(sc, nGenes, nSamples, pDiff)
xtable(sc_table)
|
ac5a410e407b4417400ddbb286100e89e1eb0f0d | 9fecce6f3ef41202cdcc855f4b0baff36131eacc | /Analysis/old_analysis/VMS/results/2014-07-07/speed_by_trip.R | a6f939c8f4d38d729070b5b510a76a7d0c150944 | [] | no_license | emfuller/cnh | 0487e9647837d8fc999850b5951ff6331f9a5159 | 8b36faf8c73607d92e59e392fff3c0094b389d26 | refs/heads/master | 2021-05-01T08:02:52.200343 | 2019-04-06T18:25:48 | 2019-04-06T18:25:48 | 28,717,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,312 | r | speed_by_trip.R | # finding gf trawl trips, getting speed distributions from trips
# 1. Finding IDs of vessels that land gf trips
# 2. Find VMS for those vessels
# 3. Make move stack of all vessels
# 3.5 remove outlier speeds, points which have Avg_speed > 30
# 4. Find landing dates for each vessel
# 5. Parse VMS... |
e77fc5f7cac9e2c763cf38f93aaab3f311e7bcd1 | b25d4909885027ec2552c8f29c100c9ea308178a | /plot4.R | d0cb1000b5fe57ff166ed9ca7b5bef5cf3385ae5 | [] | no_license | opa/ExData_Plotting1 | 8505470eac5b1b8518bd36cf93d302ac4fb19e36 | b8db157b48f0c168dd75e28c502fa273fd84ac60 | refs/heads/master | 2021-01-14T13:43:03.224621 | 2015-01-10T18:41:43 | 2015-01-10T18:41:43 | 27,665,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,773 | r | plot4.R | ### Bruce Pezzlo 7 Dec 2015
### Coursera MOOC John Hopkins University: Exploritory Data
# plot 4 - histogram
# see read_datafile.R for notes ... this source imports data for all plots
source('read_datafile.R')
#load data
power_data <- read_data()
# Open png device
if (!DEBUG) png( filename= 'plot4.png',
... |
ff25fae9a5588afe6f4e2f9a16874c959778e374 | 18d00b87c79284894bc704dc3ab9c327c1e4d96b | /man/randomMatches.Rd | 1f961496c0e572e0edf780b1b3599e6b50d2a21b | [
"MIT"
] | permissive | homerhanumat/simaltruist | 9861933986dbca036a6f19b702e15277db14b5ac | 8f4e25fb2315a1702344175a6b248d4143509282 | refs/heads/master | 2021-04-06T09:59:05.790828 | 2018-05-01T14:39:09 | 2018-05-01T14:39:09 | 125,393,408 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 999 | rd | randomMatches.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reproduce.R
\name{randomMatches}
\alias{randomMatches}
\title{Random Mating}
\usage{
randomMatches(individuals, number_of_couples)
}
\arguments{
\item{individuals}{Data frame containing id, sex, warner-status,
mother id and father id.}
\item... |
26a34c2ded3ba00fe72e80248ac86e8924fb92d8 | b32616c9f618f841d4d937448be95bf00cfd8b92 | /R/fair-coin.R | d2facf1d15aa641b6a5656a2b08d39c1eb2e7db9 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yukiyanai/rm2-Bayes | 60f92ad57451854e645943fd6ab45c74125a9c24 | 9fc06f80da08c5938c0b42cc5abc932addecfa12 | refs/heads/master | 2020-05-20T05:32:47.189612 | 2015-07-22T09:53:20 | 2015-07-22T09:53:20 | 33,363,777 | 5 | 3 | null | null | null | null | UTF-8 | R | false | false | 4,217 | r | fair-coin.R | ## fair-coin.R
##
## Illustrate how Bayesian inference works using
## an example of coin flips.
##
## 03/31/2015 Yuki Yanai
## Let theta denote the probability that we observe Head
## by flipping the coin
## likelihood of theta, up to a constant
bin_lik <- function(theta, n, y) {
if (y > n) stop("Inlvalid value o... |
1d5cc535770276c0ad0460973a827f514d4c2c99 | bc8c6f3dc23567979a01c1ea4e72f6bc35345ea3 | /Command files/data analysis new.R | 949848dc18d197ba62dedddf7cc9ab471f03f254 | [] | no_license | Wangyin18/My-first-research-about-displacement-and-civil-conflict-self-practicing-only- | fbd277b517a88a0176619bc58900ccc76231e01b | 282182eb858eca117b3e2d578d163cd37e385e30 | refs/heads/main | 2023-08-20T17:57:06.891847 | 2021-10-25T09:50:40 | 2021-10-25T09:50:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,345 | r | data analysis new.R | ### Data analysis
setwd ("/Users/zhaowangyin/Desktop/Research_displaced_2/Analysis Data")
Database <- read.csv ("Database.csv")
names(Database)[names(Database) == "GDP.per.capita..2010.US.dollar."] <- "GDP per capita (2010 US dollar)"
names(Database)[names(Database) == "economic.inequality"] <- "economic inequality... |
dfead85f10992867598a109f35e017f22abe0ae5 | 06dcdd23ff7773fb8ec544e36a5784ec475b5a0b | /code/6.1_plot_shrub_biomass_by_height_and_cover.R | 06245cf70b168735d2af6e692276469fb3287726 | [] | no_license | logan-berner/nslope_biomass | daf09662a6214b992c71b227bcb6bff1cef483fe | 4e1d54db710a7788352f703f739f988ddd09e1e7 | refs/heads/master | 2021-06-17T04:09:21.233070 | 2021-04-06T21:36:15 | 2021-04-06T21:36:15 | 191,438,518 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,288 | r | 6.1_plot_shrub_biomass_by_height_and_cover.R | rm(list=ls())
require(raster)
require(maptools)
require(plotrix)
require(lattice)
require(dplyr)
setwd('C:/research/projects/above/')
#------------------------------------------------------------------------------------------------------------
# LOAD FILES AND SET VARIABLES
#-------------------------------------------... |
ae736bff5aff057961ade44c2272939f08315495 | c0e6676ad222ab39fb843e027c988d3239c0cb42 | /DO Bucket Tests/200131_DOBucketTest/DO Bucket Test 2.R | a0efa0f799563935fe042e174ac145d25a35866e | [] | no_license | jhart6/Taylor-StreamMetabolizer | a417a9e10c3d9d348cad12229c79318c16e6ecdd | 43341d17d93f43a5a24355bd2b7d21ea82448a4b | refs/heads/master | 2020-12-18T16:42:02.271023 | 2020-02-11T21:29:01 | 2020-02-11T21:29:01 | 235,459,895 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,657 | r | DO Bucket Test 2.R | #Dissolved Oxygen sensor comparison
#4 minidots: mouth, garden, hound, and culvert from Taylor Creek
#1 EXO2
#Sensors synced at 5min recording frequency & placed in bucket of tap water for >3 days
#5 February 2020
#JAH
library(dplyr)
library(tidyr)
library(streamMetabolizer)
setwd("~/Dropbox/GitHub Repos/Taylor-Strea... |
fe0c59a5677aa68030a2e64beb431921a266361e | a94e0f4865b334d8806ab7efc00387aba279f0ae | /joseph_heatmap.r | 3536a26b52cc1301232a3361188038dd6133c03b | [] | no_license | buzoherbert/6.867-Machine-Learinng-in-transportation-safety-perception | 6fe3808b52dc218e9694b98ebf92d803eaed75c1 | 08adb536299384866693abfbbbf00182c0db4f3c | refs/heads/master | 2021-08-28T20:33:10.019092 | 2017-12-13T04:28:28 | 2017-12-13T04:28:28 | 109,623,027 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,070 | r | joseph_heatmap.r | install.packages("NISTunits", dependencies = TRUE);
install.packages("reshape2", dependencies = TRUE);
install.packages("plotly", dependencies = TRUE);
library(plotly);
library(NISTunits);
library(reshape2);
# loading file
safety_data = read.csv("safety_data.csv");
# Removing rows with no safety perception measureme... |
c0cedc0e4cf8c137a3507d7c3b0810328d3e2bb9 | 6e32987e92e9074939fea0d76f103b6a29df7f1f | /googleaiplatformv1.auto/man/GoogleCloudAiplatformV1FeatureValue.Rd | b9f968db5c74b978b944604b9d1498a262cf77ff | [] | no_license | justinjm/autoGoogleAPI | a8158acd9d5fa33eeafd9150079f66e7ae5f0668 | 6a26a543271916329606e5dbd42d11d8a1602aca | refs/heads/master | 2023-09-03T02:00:51.433755 | 2023-08-09T21:29:35 | 2023-08-09T21:29:35 | 183,957,898 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,295 | rd | GoogleCloudAiplatformV1FeatureValue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aiplatform_objects.R
\name{GoogleCloudAiplatformV1FeatureValue}
\alias{GoogleCloudAiplatformV1FeatureValue}
\title{GoogleCloudAiplatformV1FeatureValue Object}
\usage{
GoogleCloudAiplatformV1FeatureValue(
bytesValue = NULL,
boolValue = NUL... |
c7f80c7db49ffd1029487d2ddb664f18f08c8d4a | 341b66d831198c801945f552608ed5e6d8c554d2 | /code_R/FADN.code.key.R | b791979443db3f8f758f3ef55b8b276c3eb89632 | [] | no_license | progillespie/data_FADN_PUBLIC | df257d0152c32951cea781cc2c08afc10f8b2432 | 99ebb4e17d0a97ca3aa1d2acc14f96fd132fc338 | refs/heads/master | 2016-09-05T19:11:30.441859 | 2014-07-23T21:59:10 | 2014-07-23T21:59:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,283 | r | FADN.code.key.R | #---------------- Create FADN.code.key ------------------------------
N <- 148
FADN.code.key <- data.frame(code=rep("",N),
description=rep("",N),
stringsAsFactors=F)
FADN.code.key[1,] <- c("SYS02", "Farms represented")
FADN.code.key[2,] <- c("SYS03", "Samp... |
7841987efacc957a88267107386d0bdda994d5ff | dc2a6cfca1f99b5de97d668fd6a3a0f391c84bd6 | /plot4.R | ebf6244c5d41cbdd37a6d1126a1dae5df82f0fa1 | [] | no_license | olivmx/ExData_Plotting1 | de1845d80b3ee3eeddf05d86e694a81898a0a586 | 38913336cac76f8b67081b85a84bfa6184677a31 | refs/heads/master | 2021-01-18T21:17:44.663506 | 2014-09-03T19:04:19 | 2014-09-03T19:04:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,385 | r | plot4.R | #plot 4 code
1. READ THE CODE AND STRIP ALL LINES NOT USED
setwd('C:/TestR/ExploratoryCoursera/Project1')
#1.1 read file into dataframe named original and make sure it has data with the head command
original <- data.frame(read.table('household_power_consumption.txt', header=TRUE, sep=";", dec=".", na.strings="?"))
... |
69f55bf4116c38760392a298fbbaba7f111df76d | fb69e88a2f3cb30f526b8facb76981b4f91f6f29 | /Code/PrepareUserData.R | 779ce00f1990a98d09ad9cd924b87f8bc85d004c | [] | no_license | HatoonS/Depression-Analytics | 4dad54a4641643e6a955bf87ad946af2335309b5 | 0a4666ad30888b38231235b5851ad0363c28dee7 | refs/heads/master | 2020-08-01T09:42:06.400631 | 2019-09-28T10:51:22 | 2019-09-28T10:51:22 | 210,954,399 | 0 | 0 | null | 2019-09-28T10:51:23 | 2019-09-25T22:49:03 | R | UTF-8 | R | false | false | 6,388 | r | PrepareUserData.R | #global data
pTerms = read.table("negative-words.txt", header = F, stringsAsFactors = F)[, 1]
nTerms =read.table("positive-words.txt", header = F, stringsAsFactors = F)[, 1]
PrepareUserData <- function(TimeStamp)
{
#has to be called after PrepareTweets
#TimeStamp = "02052018"
library(plyr, quietly = ... |
5da82107b169e109f2297ee6f9ef173f8b2f4ad8 | 82fdf86e2fe0da18dcae4d85e9b439d0168ace70 | /man/installGithub.Rd | 76261d360e8b06cf5f97014a27cc6a0a2b07b087 | [] | no_license | eddelbuettel/apollo13 | 24f69d6458f727eced7a8dcfe315c616265e284d | 9ff19612b68ca76984a8f0ca531fa2f104b08954 | refs/heads/master | 2021-01-23T07:21:20.360648 | 2015-04-26T14:18:53 | 2015-04-26T14:18:53 | 34,614,622 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 333 | rd | installGithub.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/aliases.R
\name{installGithub}
\alias{installGithub}
\title{installGithub}
\usage{
installGithub(...)
}
\arguments{
\item{...}{passed on to \code{install_github}}
}
\description{
installGithub
}
\seealso{
\code{\link[devtools]{install... |
ca31b98ca2195347c9bd946b33154bf7e2721a20 | 3f3e0d69fd9d9c8e9c9555756949568037971a8b | /Ch. 2-3/Ch. 3/Variables/Fallow/5.2.FIX_Calculo_Buffer500_AES_SG_GREEN.R | 63b018950f8d39940023b6fc33a8c5249fcf8124 | [] | no_license | anasanz/MyScripts | 28d5a6f244029674017d53d01f8c00307cb81ecb | d762b9582d99c6fc285af13150f95ffd2622c1a8 | refs/heads/master | 2021-05-10T08:56:54.228036 | 2021-03-08T07:11:51 | 2021-03-08T07:11:51 | 118,910,393 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,690 | r | 5.2.FIX_Calculo_Buffer500_AES_SG_GREEN.R | # ==================================================================================
# EXTRACT BUFFER 500 M CALCULATING Ha OF SG-AES-GREENING
# ==================================================================================
rm(list=ls())
library(rgdal)
library(rgeos)
library(raster)
library(... |
0aadbfd6e0e77453b0f83726d9d161a4a970cb3f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ri/examples/estlate.Rd.R | 6d5c0f8ef36fe77c247d93e4d2dcc0b389830ba3 | [] | 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 | 571 | r | estlate.Rd.R | library(ri)
### Name: estlate
### Title: Estimation of local average treatment effects under
### noncompliance
### Aliases: estlate
### Keywords: estimation noncompliance
### ** Examples
y <- c(8,6,2,0,3,1,1,1,2,2,0,1,0,2,2,4,1,1)
Z <- c(1,1,0,0,1,1,0,0,1,1,1,1,0,0,1,1,0,0)
D <- c(1,0,0,0,0,0,1,0,1,1,0,1,0,0,1,0... |
9675ed61bdf6eb16730b24085728fe4e2b7301ee | 5b5499c80a9376a70295cb76d759e6c63c197bf0 | /run_analysis.R | 8b2c532d343e9b3fc983614ba532ef358acbd5d2 | [] | no_license | courseradata111/Peer-graded-Assignment-Getting-and-Cleaning-Data-Course-Project | 2782b7a77a8b41b1d6fa246db5c3a7d5f911530b | 6e99e7be7d108e4162bd7e129da5cd9093941cbf | refs/heads/master | 2022-11-16T12:47:22.892480 | 2020-07-02T12:36:59 | 2020-07-02T12:36:59 | 276,376,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,992 | r | run_analysis.R | library(dplyr)
get_raw_data <- function() {
url <- 'https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip'
destfile <- 'raw.zip'
download.file(url, destfile = destfile)
unzip(destfile)
}
read_file <- function(feature, datasets, data_base_dir) {
x <- tibble()
for (d in data... |
27cb76f2d77e8931910ee276f9aacac3a0334a8e | 0edde7dc03658b64303ffc0d4da539f858cf77b9 | /man/vec_post_cropped_azure.Rd | 075899ef13cd5ef056280a739869870ba4edb384 | [
"MIT"
] | permissive | Atan1988/alvision | 8ff114dbff8297768b0e8ef6196d0355b89b412e | 15f771d24f70353c81fa62c7461c4e602dc75b01 | refs/heads/master | 2021-07-11T00:52:34.072235 | 2020-12-11T05:43:09 | 2020-12-11T05:43:09 | 221,738,729 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 704 | rd | vec_post_cropped_azure.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_ocr_azure.R
\name{vec_post_cropped_azure}
\alias{vec_post_cropped_azure}
\title{vectorized post azure}
\usage{
vec_post_cropped_azure(
df,
cropped_tm_dir,
img,
azure_creds,
push_to_az = T,
box_highlight = F,
remove_fl = F
)
... |
9ef767b1353a61119ae9e7ec07286b1e422e41e1 | da2676b6fd629acdcad0bf955b0643a27407d1ce | /recommenderB/start.R | 800c65a8c80967593fd9a73056c43c14b0cd7af9 | [] | no_license | DataKind-SF/datadive_201503_techsoup-global | 728e5a0ee69e5b29d91af8021df7a44ecd3b0c34 | 966f94d27bd522638c11582a13baca2f9fd49b1f | refs/heads/master | 2016-09-10T21:16:06.661971 | 2015-04-07T04:56:01 | 2015-04-07T04:56:01 | 31,853,990 | 0 | 12 | null | 2015-04-24T19:14:45 | 2015-03-08T15:10:51 | R | UTF-8 | R | false | false | 3,682 | r | start.R | library("readr")
library("dplyr")
library("lubridate")
tsdSample <- read_csv("data/techsoup_datakind_sample.csv")
#tsd_sample has info on each purchase
tsdDemo <- read_csv("data/techsoup_datakind_code_demo.csv")
#tsdDemo is like sample, but without revenue
# Pri_key – unique incrementing ID, Integer
# Org – internal o... |
82e0de5e3e541e9dcc2ebefc005c2705d80a720c | 047dc234e511b3b898a83bcf6848d6b1a8cfcc66 | /Bankruptcy Data.R | b08a738d6fe3171f27e378cfcf40954be8e382e7 | [] | no_license | akhmetod/Machine-Learning-on-Bankruptcy | 1249a320b2c2c2eaeb351c4d1ef45dfbfa8d3cb8 | 054c91a6d6fd3e181a8ffb296cf3dccaea94e1a8 | refs/heads/master | 2020-03-19T10:22:25.760801 | 2018-05-20T23:07:31 | 2018-05-20T23:07:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,513 | r | Bankruptcy Data.R | rm(list=ls())
library(tidyverse)
#install.packages('fifer')
library(fifer)
bank.data <- read.csv("C:\\Users\\madha\\OneDrive\\Documents\\UC-BANA\\Spring Sem 2018\\Data Mining I\\bankruptcy.csv")
samp<-floor(0.8 * nrow(bank.data))
colnames(bank.data)
str(bank.data)
summary(bank.data) #mean bankruptcy 14%
ba... |
f7bccf48beba15fa645afa0afe83c9b4bef8b6db | 94ff11f4f793d36f3ff2ee16052cba076a09cb54 | /onsite.R | a9163cbc4245bc92a71db7eb2af556db32aef241 | [] | no_license | aish-k/B.Tech-IT-final-year-project | ed8964ff9a30aca60f4fa4142a2cc9b89bef2ffe | f932865a50b671eeb4ca7d4b9f506560cc228c95 | refs/heads/master | 2021-06-18T15:06:39.543298 | 2017-05-12T16:33:03 | 2017-05-12T16:33:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,869 | r | onsite.R | setwd("C:/wamp64/www/st")
library("gridExtra")
library("tableplot")
library("data.table")
library("data.table")
library("RMySQL")
library("DMwR")
library("neuralnet")
library("caret")
library("readxl")
con <- dbConnect(MySQL(),
user="root", password="",
dbname="project", ho... |
f9a1f927fb3110410e562154f534893e233ff56b | 015eb7593342515229fd2a45f91c5f539a8d4eb6 | /R/distance.r | 21c365361bbeeca3b6f26d50cf152eaf6d285b86 | [] | no_license | Caleb-Huo/BayesMP | d9d7d77f9dc355aaef47356b26860cde4e25cc41 | ca9fa6a9df875f81d75eff9173acd7c4c5a07515 | refs/heads/master | 2021-01-18T20:23:04.827589 | 2018-08-19T19:13:44 | 2018-08-19T19:13:44 | 65,741,394 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,889 | r | distance.r | ##' Dissimilarity matrix calculation.
##'
##' Based on DE posterior probablity of gene*study matrix,
##' calculate gene-gene distance
##' @title Distance
##' @param plus p*n matrix. Each element represents the posterior probablity of a gene to be positive DE.
##' @param minus p*n matrix. Each element represents the pos... |
95d28f95249279826b3cafcfe4bd0ce2d403f35f | fe18df411bd2e756f13944ebc40a3ca60de89fd9 | /R/scrape-old.R | 706305ba63adac57161c7b36fd1dbcfb2ec0fec6 | [] | no_license | BHGC/website | 5b2dc9a74b91bf848514a9c0048de1aab1c20f76 | c534f4f2160e5867b231ddcbd08bf842f9db711d | refs/heads/master | 2023-08-19T04:18:18.255071 | 2023-08-11T21:41:54 | 2023-08-11T21:41:54 | 20,578,077 | 2 | 5 | null | 2023-08-12T01:00:29 | 2014-06-06T21:00:13 | R | ISO-8859-1 | R | false | false | 4,457 | r | scrape-old.R | R.utils::use("R.utils")
download <- function() {
root <- "http://bhgc.org"
dirs=c(".", "flyingSites", "tam", "forums", "join", "members", "db", "miscellaneous", "miscellaneous/recipe-goat", "about")
for (dir in dirs) {
path <- file.path("md", dir)
mkdirs(path)
prefix <- file.path(path, "index")
... |
d9d7610255dda051f1f0aaa155f9cede1c1384cf | ac42c7b87b90f08c8ec9b12d5e17a534ffb84b02 | /man/cr_buildstep.Rd | 4e0635af7b1586499d6e4ac6bf189ca17e44b271 | [] | no_license | alainlompo/googleCloudRunner | 990c819c9f4f46ca5a39a720627da4003a6410f3 | 6622d22f1c19d58f6b5888ae929f32d86b57a1c6 | refs/heads/master | 2023-09-03T15:33:00.968050 | 2021-10-27T21:18:23 | 2021-10-27T21:18:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,095 | rd | cr_buildstep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/buildsteps.R
\name{cr_buildstep}
\alias{cr_buildstep}
\title{Create a yaml build step}
\usage{
cr_buildstep(
name,
args = NULL,
id = NULL,
prefix = "gcr.io/cloud-builders/",
entrypoint = NULL,
dir = "",
env = NULL,
waitFor = N... |
9d85754498383098319df1d71246d09ad5ea3300 | 8e19f5167064d02ade73931f59b8737cbaac66fd | /MultipleLinearReg.R | c6554be5337d189d6ba07c0033207320d0e4c162 | [] | no_license | ecrossett/R | ff280c91ba1a22f55568618dcb47554d556b6c48 | 1b4bd146f5e3bcfa82e0fc7fb2e92c1b455d3687 | refs/heads/master | 2020-04-25T08:40:13.930461 | 2020-02-05T01:53:37 | 2020-02-05T01:53:37 | 172,654,679 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,211 | r | MultipleLinearReg.R | getwd()
setwd("/Users/ed/Documents/R/Statistics")
library(ggplot2)
x <- read.csv("X.csv", header = FALSE)
y <- read.csv("Y.csv", header = FALSE)
head(x)
head(y)
int <- rep(1,1110)
Y <- as.matrix(y)
Y <- Y[,2:3]
X <- as.matrix(x)
X <- X[2:4,]
X <- X[,1:1110]
X <- t(X)
X <- cbind(int,X)
#X <- -X[-1,]
#X <- -X[-111... |
cb16d8c40762fa8b09088eebe9c8b0400251163a | 58accfda666d580c22762e9df34e7524a0771b6a | /CMOP_field/model/conversion_CMOP.R | cc2bfe3a56e9df33c0a1b094663a4c2219c2c502 | [] | no_license | mmh1133/CMOP | 39135cb534b4092550a3b963b6badef6d2fd56f7 | f2e3d679ec7e8c4e27b34a9ece6a405d4ac20cef | refs/heads/master | 2020-04-16T02:17:26.090747 | 2017-04-20T22:16:22 | 2017-04-20T22:16:22 | 23,399,631 | 0 | 1 | null | 2014-11-14T00:32:30 | 2014-08-27T17:53:24 | R | UTF-8 | R | false | false | 7,264 | r | conversion_CMOP.R | # This script takes HD.size.class files and makes concatenated distributions with the calibrated cell volume from forward scatter
#arguments of this script: (1) distributuion file location, (2) cat (2^cat number of bins), (3) phytoplankton group, (4) cruise
# for i in $(seq 6 1 8); do echo "Rscript ~/DeepDOM/ssPopModel... |
d17179765023cf70df199e195c6a5bf61be168fa | aec820a0c7109fe2184b7d956742915023fd30c1 | /R_MRP_Planning/Qeoq.r | 5313f5f0500353b15d9388fbefd840c05058bef2 | [] | no_license | hendry062105/Practice_2020 | 350dc2996652c7f658157d08946a1c78da1fa240 | 98f26b1b599c9d09f2c8d08cdc362c7823e887be | refs/heads/main | 2023-08-27T18:47:12.021806 | 2021-10-14T22:30:20 | 2021-10-14T22:30:20 | 417,289,588 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 117 | r | Qeoq.r | Qeoq = function(co,cp){
bard = sum(reqb[2:length(reqb)])/(length(reqb) - 1)
return(adjProg(sqrt(2*co*bard/cp)))
} |
812cd64c7de408ce1af279e9a80659beaa21382b | cbb1dc73d80a8149022614f35ec94c2881ba262c | /toxic/Kernel/toxic.R | 5e08f8c429f30bf82aa87bcf443e6c6ee463c967 | [] | no_license | lacomca/walkingkaggle | dfadd04514658bde8d84cdbcc5e9aedf3ea42372 | 8bc70ac6cc7f0d659e2bbe9c48994d0d4b6c6c42 | refs/heads/master | 2020-08-02T23:09:09.568718 | 2018-11-22T04:23:17 | 2018-11-22T04:23:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,011 | r | toxic.R | ##################################################
#### SETTING
##################################################
library(stringr)
library(dplyr)
library(ggplot2)
library(tidytext)
library('wordcloud')
library(xgboost)
library(tm)
library(doParallel)
#load data
train_data <- fread("./InputData/train.c... |
2e49a62bed8808430ddd65a6968b5e23f7886e01 | 44ee52121b99270c3d3986ea2ffc3399c1d19a92 | /gganimate_intro.R | cf4d4775c472ac2779dcef88c5e57a88b0cea9cf | [] | no_license | sparce/gganimate_seminar | 98f6bf94d67ab77ffb2f0740337ed04c9441c09c | e55a5938d03daffa1e8761b6ef48a931d12d781b | refs/heads/master | 2022-06-14T21:54:39.454860 | 2020-04-24T05:15:51 | 2020-04-24T05:15:51 | 261,656,062 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,899 | r | gganimate_intro.R | library(tidyverse)
library(gganimate)
library(ggforce)
library(cowplot)
library(hrbrthemes)
# Intro to animation -----
## Grid of x/y coords 30 wide, 10 high repeated for 3 animation steps
## Have a (r)adius and (a)ngle value for plotting
## And a separate ID for each of the 300 points to animate correctly
plotgrid <... |
fa6176cfa8fa86e5241651db15c15a3039afc76d | 47d25769b13c15961cfe9e2c2a6471c3300771df | /bt.etf.weekly.R | fdc2a1a74d2381071010e3f5cdc7473a6d863c9e | [] | no_license | catocugum/PQFG | ce6bb36c8a3d040ee5df1359cfe4be03acdbdffc | 1aeb56e980c81b1c180740323846a07b71d29b16 | refs/heads/master | 2021-05-02T05:23:56.699850 | 2018-02-09T15:24:20 | 2018-02-09T15:24:20 | 120,920,336 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,976 | r | bt.etf.weekly.R | #######################################################################################################
##
## Persephone Risk & Performance Management
##
## backtest control script
##
## (c) 2017 Persephone Quantitative Finance Group GmbH
##
## Author: Gregor Povh
##
##########################################... |
8f4436ee449bffd5864265e47c2e12f0fca211ed | 74073f1b01f18d7c2ffa76d4f46e50b816a0974f | /R Files/Problem 101-120/EulerProject113.R | db64ea73cc386a39b494db335a35d03b0c13f0ad | [] | no_license | maximizedchang/projecteuler | 6193489c4bb1d8354274a3247eef5c63b38c66d3 | 44745e54d85a6bcb09e3ec184daf60fd1481fe30 | refs/heads/master | 2016-09-06T09:18:03.421528 | 2014-08-18T06:30:51 | 2014-08-18T06:30:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 646 | r | EulerProject113.R | # Solution: 51161058134250
# Time: < 1 second
digits <- 100
increasing <- matrix(0, digits, 9)
decreasing <- matrix(0, digits, 9)
for(y in 1:9){
increasing[1, y] <- 1
}
for(x in 2:digits){
for(y in 1:9){
sum <- 0
for(i in y:9){
sum <- sum + increasing[x - 1, i]
}
increasing[x,y] <- sum
}
}... |
64925ee354ad89d19868a487e7a1c2858cf191e0 | a5ebb7e54553fee55e0b7ac853b96638cdc7511e | /plot3.R | 6c341d4f31bca81ac58b9a4059068af37450c80a | [] | no_license | juliangilliatt14/ExData_Plotting1 | 1e2fc4f76b6b41156b77587d8742c7a870697843 | 41fa92caf596e8602cdcbc183c57d0eaad0b37fb | refs/heads/master | 2021-01-22T21:23:31.452299 | 2014-12-07T18:51:59 | 2014-12-07T18:51:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,023 | r | plot3.R | ## set the working directory
setwd("/Users/jgilliatt14/downloads")
## load in data; subset
powerConsumption <- read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?", nrows=2075259, check.names=F, stringsAsFactors=F, comment.char="", quote='\"')
subPower <- subset(powerConsumption, Date == "1/2... |
d7515af74c49c84c183073196044f69279118246 | e442e44116cf48a0a09dfe51df1977452c375b2d | /Biogeography extant/WWF_Ecoregions.R | 6c39ceab47a77471a3a275ec6ecfd738f200b503 | [] | no_license | Dayenari/GABI-biogeography | 38eae4586ba36bd9b0f5042bc2ad4db6f837983b | d28bb9495f7c32577034ecd6069729a3b435d0e5 | refs/heads/main | 2023-08-25T20:25:11.389152 | 2021-11-05T18:09:37 | 2021-11-05T18:09:37 | 410,127,943 | 0 | 0 | null | 2021-09-24T23:33:38 | 2021-09-24T23:33:38 | null | UTF-8 | R | false | false | 13,446 | r | WWF_Ecoregions.R | # Distribution of mammals in the Americas among different Biomes
# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
# auxiliar function su wap objects from a dataframe
swap <- function(x, from, to) { tmp <- to[ match(x, from) ]
return(tmp)}
# . . . . . . . . . . . . . . . .... |
0b9bea88d1d152c27faf1f2c2b0a86fed404bcd6 | 7e3cc5ba96869845b03d8d6919657a1cadc93df3 | /src/readAdjacencyMatrix.R | 72d340943b6f5758e9fd5a62fff4dc0a60f350a7 | [
"MIT"
] | permissive | Pablo1990/Analyzing-PPIs | b50551e53fbb22278f4909a3b8ce7db24deaaea0 | 35e4f52e8668b96457c71c53c251f634dfcef67d | refs/heads/master | 2020-04-09T05:28:24.805852 | 2015-10-27T15:33:43 | 2015-10-27T15:33:43 | 42,508,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,205 | r | readAdjacencyMatrix.R | library(igraph)
readAdjacencyMatrix <- function (fileName, outputFileName) {
adjacencyData <- read.csv(header = F, file = fileName, sep = "\t")
#adjacencyData[1] <- NULL
adjacencyMatrix <- as.matrix(adjacencyData)
graphM <- graph.adjacency(adjacencyMatrix, mode = "undirected")
write.graph(graphM, file = outp... |
f0a6c87b1e0c30fc3a77ee9b46a2772840343c7d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rsurfer/examples/get.opposite.hemisphere.measurement.Rd.R | ca7fc5e2ffe6f36b7ec8b99e80a9142c5998ab3a | [] | 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 | 285 | r | get.opposite.hemisphere.measurement.Rd.R | library(rsurfer)
### Name: get.opposite.hemisphere.measurement
### Title: Get Opposite Hemisphere Measurement
### Aliases: get.opposite.hemisphere.measurement
### ** Examples
get.opposite.hemisphere.measurement("Right.vessel")
get.opposite.hemisphere.measurement("lhCortexVol")
|
47f5a8a77e4a0c966b80ab1cd594e9a2a14673be | 1eee16736f5560821b78979095454dea33b40e98 | /subroutines/HMMLib.r | 96196eabb8bb7af93355dd25a920f7014f9d7819 | [] | no_license | karl616/gNOMePeaks | 83b0801727522cbacefa70129c41f0b8be59b1ee | 80f1f3107a0dbf95fa2e98bdd825ceabdaff3863 | refs/heads/master | 2021-01-21T13:52:44.797719 | 2019-03-08T14:27:36 | 2019-03-08T14:27:36 | 49,002,976 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,518 | r | HMMLib.r |
library(HiddenMarkov)
library(snow)
loadAndSmoothBedFile <- function(filename){
bed=read.table(filename,stringsAsFactors=F)
names(bed)=c("chr","pos","type","r","count")
bed$meth=round(bed$r/100*bed$count)
#compute easy smoothingbw.ucv(x, nb = 1000
#bed$smooth=ksmooth(bed$pos,bed$r,bandwidth=20,x.points=bed$... |
dfe7df8eb8a41e57cafb70e5af537ef4e954d93b | 2de28b3256606692c48ffdaf05997422527084a1 | /R/met.plot.R | 207295d17e69a00b9b7af1f55c1cba48ef7f7253 | [] | no_license | yzhlinscau/AAFMM | 4f999a028d54d2a3e90cb08899ab6e5d627664ee | 6d016c60ae72901323c84f8988a69c0a1fa5aa16 | refs/heads/master | 2020-03-27T02:29:05.260122 | 2018-08-27T05:07:25 | 2018-08-27T05:07:25 | 145,409,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,832 | r | met.plot.R | #' @title Plot asreml-MET data.
#'
#' @description
#' \code{met.plot} This function plots MET data for further
#' factor analytic by asreml to find the relation of trial sites, etc.
#'
#' @usage met.plot(object, plot.title = NULL)
#'
#' @param object MET data.
#' @param plot.title MET plot title.
#' ... |
af97fa4dbc772b197198c8a32148a92484b82c54 | 9bccf862820bc6edb04817eb16ccace22ff4b618 | /Lab1Part3/Scripts/tweetCollector_Script.R | 340fbddd230f6a1ca35b2faba67fcca35138ed8b | [
"MIT"
] | permissive | Muthu2093/Twitter-Client-for-Sentiment-Analysis | 548e10dd6bb1725257b98244cdffd34321e72ef5 | 67f7cfdae786f08beedae846f24b1e2007462f2f | refs/heads/master | 2021-03-27T08:24:13.069560 | 2018-03-15T01:05:41 | 2018-03-15T01:05:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,347 | r | tweetCollector_Script.R | rm(list =ls())
#### Code to collect tweets##
###SET THE WORKING DIRECTORY TO 'SCRIPTS' FOLDER IN LAB1 PART3 BEFORE RUNNING THE SCRIPT####
## All tweets collected are filter and appended to csv files in data folder automatically
## Geocodes are fetected for all tweet and saved in location_GeoCode.csv file - used for lat... |
32a39cf122a036bec9ecf8161b3c39597cf36fe6 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/springer/man/cv.springer.Rd | cf24a5c8e5df74fdeb50f5f4851a900dafc3c295 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,512 | rd | cv.springer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cv.springer.R
\name{cv.springer}
\alias{cv.springer}
\title{k-folds cross-validation for springer}
\usage{
cv.springer(
clin = NULL,
e,
g,
y,
beta0,
lambda1,
lambda2,
nfolds,
func,
corr,
structure,
maxits = 30,
tol =... |
64af42db4316cff77a08340bd1275e811432a9c2 | a1cc22bafb4429b53898962b1131333420eddf05 | /example-models/R/tools/cmdStanTools.R | d970354ec30dc8254cbdec4e842bbfc9a7e21443 | [
"BSD-3-Clause"
] | permissive | metrumresearchgroup/Torsten | d9510b00242b9f77cdc989657a4956b3018a5f3a | 0168482d400e4b819acadbc28cc817dd1a037c1b | refs/heads/master | 2023-09-01T17:44:46.020886 | 2022-05-18T22:46:35 | 2022-05-18T22:46:35 | 124,574,336 | 50 | 18 | BSD-3-Clause | 2023-09-09T06:32:36 | 2018-03-09T17:48:27 | C++ | UTF-8 | R | false | false | 3,693 | r | cmdStanTools.R | ## 5/27/2016: v1.0
## functions to run cmdStan
compileModel <- function(model, stanDir = stanDir){
modelName <- basename(model)
dir.create(model)
file.copy(paste(model, "stan", sep = "."), file.path(model, paste(modelName, "stan", sep = ".")),
overwrite = TRUE)
model <- file.path(model, modelName)... |
4403fad5838977661be9ca0b7503a9643153f2ae | a17cf22be2304c96d267fc1b68db7b7279c4a293 | /R/clustal.R | 944c264d7464d232d23848a02934e6574353e62a | [] | no_license | robertdouglasmorrison/DuffyTools | 25fea20c17b4025e204f6adf56c29b5c0bcdf58f | 35a16dfc3894f6bc69525f60647594c3028eaf93 | refs/heads/master | 2023-06-23T10:09:25.713117 | 2023-06-15T18:09:21 | 2023-06-15T18:09:21 | 156,292,164 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,177 | r | clustal.R | `clustal` <- function( fastaFile, outFile="clustal.aln", clustalProgram=Sys.getenv("CLUSTAL"),
iterations=NULL, outfmt=c("clustal", "fasta", "phylip"),
guidetree=NULL, clustalArgs=NULL, verbose=FALSE) {
if ( is.null( clustalProgram) || nchar( clustalProgram) < 1) {
cat( "\nRequired 'clustalProgram' arg... |
6e205f46a38ef2eafb533981ba53844b78fae0dd | aa01d8e6255d80b35ed0fc86686ff70554ebd68d | /slides/class_10/class_10.R | 91f758f7fe160f168b7ce80d128795b547049645 | [] | no_license | frolivares/dar_soc4001 | bc4dac0bcd62e7a5c041a2e8338e349bb290667d | 0a04f96caf706d996236bfba561b13570079d656 | refs/heads/master | 2023-08-17T05:26:50.153292 | 2021-10-13T14:52:08 | 2021-10-13T14:52:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,291 | r | class_10.R | # Limpiar pantalla y remover objetos existentes
cat("\014")
rm(list = ls())
## Bases de datos ordenadas ("tidy")
library("tidyverse")
library("janitor")
library("readr")
setwd("/Users/Mauricio/Library/Mobile Documents/com~apple~CloudDocs/Teaching/ISUC/2020_2_data_analysis_r/repo/slides/class_10/")
va_messy <- rea... |
2b092a5acabfec50ed520e2c360c4ecc1e333368 | 0d52cf571dbc0a15096357a46c7a52b954ee090d | /rebecca/R-stuff/countryFocus.R | 70676bec15fd04dc80acbfae30123ef433442f27 | [] | no_license | arixha/MVTEC-Stats-Project1 | 6da88ca4dcfc767945e00ea54696117bc148dc06 | 6619df7860673f79c75471b005af8a5c2cf936bf | refs/heads/main | 2023-02-15T20:07:54.299459 | 2021-01-08T18:51:54 | 2021-01-08T18:51:54 | 316,367,309 | 0 | 4 | null | 2020-12-04T15:24:43 | 2020-11-27T00:56:30 | R | UTF-8 | R | false | false | 384 | r | countryFocus.R | library(dplyr)
library(tidyr)
originalCovid = read.csv(url("https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/owid-covid-data.csv"))
removeNA = originalCovid %>%
drop_na(weekly_hosp_admissions_per_million, hospital_beds_per_thousand)
countries = unique(removeNA$location)
length(countries) ... |
c4d8fab74a27fd11a54750461764dedccd2ec7a5 | 27e47edea64b67aa62790a49079597deb3879745 | /man/les_boxplots.Rd | 32cce919177fd4a7fccafd75071515103be044f8 | [
"MIT"
] | permissive | C-Juliette/randomfields | 9348b69b61761eec186e2fd9976dfc7f83cfded1 | c220f513568726e2bcbf93dcc36f9dd4485de67c | refs/heads/main | 2023-08-30T22:44:30.218141 | 2023-08-27T09:23:56 | 2023-08-27T09:23:56 | 387,907,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 477 | rd | les_boxplots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/les_boxplots.R
\name{les_boxplots}
\alias{les_boxplots}
\title{Boxplots}
\usage{
les_boxplots(Z, Y, titre = "Boxplots", nom_axeX = "", nom_axeY = "")
}
\arguments{
\item{Z}{first matrix}
\item{Y}{second matrix}
\item{titre}{title of the gra... |
1bbcb0a8880b58552b0971cd93af62e336057ee1 | 41830820e0969b6d211691c1d6fe0f2273d5c93d | /cachematrix.R | 81b8d126753b426b90f3dc5b3dc4c4f99339ce7c | [] | no_license | dariomartinezb/ProgrammingAssignment2 | 39e8a68cf4cfc416bc59996a10d54d2247dcf73b | e1fcb44c162247ae6e2091b9837fddf3b53a380f | refs/heads/master | 2020-12-24T23:29:18.172049 | 2015-02-22T21:00:49 | 2015-02-22T21:00:49 | 31,177,632 | 0 | 0 | null | 2015-02-22T19:59:06 | 2015-02-22T19:59:04 | null | UTF-8 | R | false | false | 1,190 | r | cachematrix.R | ## These functions manage the caching and retrieval of the inverse
## of provided matrices
## makeCacheMatrix will take a provided matrix and store it in a cached
## copy, and then it will compute the inverse of the provided matrix and
## store it also in the object for future retrieval (using cacheSolve).
makeCach... |
1bf1a0d9a4e6439020aee4b64fc498caf657615a | 9716b6538d1ec98f8773f87b844382e062e2b22f | /hw1/runSim.R | 106f8ae050cc8c9348864e9b2aa34efbd3abd1bc | [] | no_license | FrancisShizy/biostat-m280-2019-winter | fcf69ef3046ffd6ef074dab786d79c360f3f3fc9 | 8eb4aa2c851534034b6d04f23f4a8d13fe6a64e8 | refs/heads/master | 2020-04-17T07:08:02.584328 | 2019-03-02T07:12:02 | 2019-03-02T07:12:02 | 166,355,453 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,175 | r | runSim.R | ## parsing command arguments
for (arg in commandArgs(TRUE)) {
eval(parse(text=arg))
}
## check if a given integer is prime
isPrime = function(n) {
if (n <= 3) {
return (TRUE)
}
if (any((n %% 2:floor(sqrt(n))) == 0)) {
return (FALSE)
}
return (TRUE)
}
## estimate mean only using observation with pr... |
36c9a3901e5f36c7aeb0c61782d287a8bb0c1d7f | 23fb38b92e3723d0b07020379aafa8eb335da5e2 | /man/valid.Rd | 0251d4d5f56de4dfa9a7c05d7637fb26b3231d10 | [] | no_license | cran/ddp | b90d7589ebe9fcc9d0a071655ce29a608630fcf9 | fd5c20aae2142155f9b291e0d8c23299b4444506 | refs/heads/master | 2023-04-29T02:44:47.139215 | 2021-05-08T14:30:02 | 2021-05-08T14:30:02 | 284,766,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,405 | rd | valid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/valid.R
\name{valid}
\alias{valid}
\title{Validity and Reliability check.}
\usage{
valid(data, alpha = 0.05, total = NULL)
}
\arguments{
\item{data}{A data set/ matrix (\emph{see} \strong{Details}).}
\item{alpha}{An alpha value (\emph{see} ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.