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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7b82f5cb510af8682299b1b19234bb1a8259437d | 80d1f66c8183cd557d745fbbd674338c53c45ac2 | /man/required_pkgs.step.Rd | 664451e986ef53eb215a1576c00991ff6c5ec71a | [
"MIT"
] | permissive | tidymodels/textrecipes | ece87dc5add9c0f0f120fddd80d5e9caadbd966c | 436eb6e59415d214934a426167928d8719280b55 | refs/heads/main | 2023-08-20T05:16:01.508229 | 2023-08-17T21:41:30 | 2023-08-17T21:41:30 | 148,230,862 | 141 | 16 | NOASSERTION | 2023-08-17T21:41:32 | 2018-09-10T23:15:56 | R | UTF-8 | R | false | true | 2,852 | rd | required_pkgs.step.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clean_levels.R, R/clean_names.R,
% R/dummy_hash.R, R/lda.R, R/lemma.R, R/ngram.R, R/pos_filter.R,
% R/sequence_onehot.R, R/stem.R, R/stopwords.R, R/text_normalization.R,
% R/textfeature.R, R/texthash.R, R/tf.R, R/tfidf.R, R/tokenfilter.... |
eae6a1e9e6bd325354460e19c5bd2428ccdb82e5 | 97032e64d741ae596886b73f33678f2fe447d05a | /inst/doc/Analysis_pipelines_for_working_with_sparkR.R | 2e8efc53c84e1e3e9cda6953782d8d1c8e761615 | [] | no_license | cran/analysisPipelines | 1c3f75776d79169be3df4e20f3c12fcf73cde70f | e8b5e3257583489b1e34501b02f055ce7c4fb355 | refs/heads/master | 2021-07-12T05:00:09.754080 | 2020-06-12T07:00:02 | 2020-06-12T07:00:02 | 164,692,478 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,911 | r | Analysis_pipelines_for_working_with_sparkR.R | ## ----eval = F------------------------------------------------------------
# devtools::install_github('apache/spark@v2.x.x', subdir='R/pkg')
## ------------------------------------------------------------------------
knitr::opts_chunk$set(
eval = FALSE
)
## ---- include=FALSE----------------------------------... |
49bdccfb51ff08438af21ba4dd894a8a2bc7f2cd | 6ae2f0e4cf4b0faaad5fea6c14e13a7875e1630f | /FinalRProject.R | d09a03e02482a817a87c719faa344980f9a6ba4d | [] | no_license | swiesenfeld0/OpenDataInR | 9d8bc7c361a1d3a353ef76f74b1b0bbadd1b9711 | a7b5bc77620ba26a15c3d7a53b78142effdfa3e2 | refs/heads/master | 2020-07-26T12:52:22.865159 | 2019-09-15T20:06:20 | 2019-09-15T20:06:20 | 208,650,360 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,143 | r | FinalRProject.R | # Open Data with R - Final Project
## Sophia Wiesenfeld (swiesenfeld0@gatech.edu)
## September 20th, 2019
#Packages Used: installing and loading
#install.packages("corrplot")
#install.packages("tidyverse")
#install.packages("skimr")
#install.packages("Hmisc")
#install.packages("manifestoR")
#install.packa... |
1313d8e20c732dfab41ea76aaed0e3611fb5e569 | b184c4c14b8710675ecbeffa432b53ad406850f0 | /3rd_homework(03-2).R | 87378b26b825c2fe975d41ad4bc7ff144e06117b | [] | no_license | penpen-dongE/R-test | 070236010352870de92e6961f5df9c118a5d8d69 | 12f6e9526d14c8365afeb5301dff688704cbc1ec | refs/heads/master | 2020-07-16T16:09:29.255144 | 2019-10-05T05:44:31 | 2019-10-05T05:44:31 | 205,821,484 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,769 | r | 3rd_homework(03-2).R | setwd("C:/education/R/workspace")
customer <- read.csv("./data/loarn/customer.csv",
sep="|",header = TRUE,
stringsAsFactors=FALSE)
View(customer)
library(lubridate)
end <- parse_date_time(2015, "%Y")
end
start <- parse_date_time(customer$AGE, "%Y")
start... |
7c61ad32b8b765eaf86770da5d70d0bea26b17e4 | d7bcf93820a7d4666886a74d425bc771a55a0ddb | /R/svg.R | fddaf8277cc261b25f717ea3eca8a77a1d9e630a | [] | no_license | adamwk97/ggiraph | f74f32421c1f624081c13078bb99a3e952f13ebf | 0475eefe51762c703f4e54ef625610d5fad2553a | refs/heads/master | 2021-03-10T20:30:47.906710 | 2019-12-15T11:30:59 | 2019-12-15T11:30:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,298 | r | svg.R | #' Reads the interactive attributes from xml and assigns them to their svg elements.
#' @noRd
#' @importFrom purrr walk
#' @importFrom xml2 xml_find_first xml_add_child xml_cdata
set_svg_attributes <- function(data, canvas_id) {
comments <- xml_find_all(data, "//*[local-name() = 'comment']")
if (length(comments) ==... |
20c88ab8bc082e8c959bf2356b8dc6044871f904 | c2a66d7be82f722cf15c3cfa4c116d7ef9fa912d | /scripts/pls_mk_spm_betas_X_design.R | c04021d915c0413ac55aa71e75a30a6a86825f14 | [] | no_license | jennyrieck/NARPS | b6ebbfd54b9e5cd50c086233fe7c340ddb20cb6a | 14c514114ad30bd42b17a48c7b52c9398f204cde | refs/heads/master | 2021-07-07T19:45:17.137827 | 2020-12-28T20:37:49 | 2020-12-28T20:37:49 | 218,890,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,512 | r | pls_mk_spm_betas_X_design.R | ## various changes made which need to be undone...
rm(list=ls())
library(oro.nifti)
library(TExPosition)
library(neuroim)
library(ours)
use.parametric <- T
pls.dir <- '../../pls/'
mask <- loadVolume('./masks/HarvardOxford-cort_subcort_cereb_binary_mask-thr0_2mm.nii')
mask.ind <- which(mask@.Data==1)
... |
bc2b708287b9c36d201605353f0065c834ea23fb | dbc1e9de2d73e674d7345bf863360eba20a2f9c1 | /rscript/4_va_mustela_lem_fullmodel_withindicators.R | c8a10d0148d295d25e5e832dfc7d6aed3c9378e3 | [] | no_license | efkleiven/MustelidsAndRodents- | 71b245fc1e44c38b462e0784d1b95fd970d085a3 | 822e5b4229be770ab4dc95438086bb0f2a07562c | refs/heads/main | 2023-06-16T21:08:22.643348 | 2021-06-25T09:00:53 | 2021-06-25T09:00:53 | 351,065,598 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,283 | r | 4_va_mustela_lem_fullmodel_withindicators.R | ###################################################################################################################
## A dynamic occupancy model for interacting species with two spatial scales model analyzing data from ##
## a long-term monitoring program of small mammals on the arctic tundra ... |
aaa7d3f9089470cfe6aad9eb22ac9573109a2501 | bc47e3e767aa32732018de0241c45611fbab9f7d | /man/LightResponseCurveFitter_optimLRCBounds.Rd | cbe9409188025da9f2dd9759df7d80f4c591ddf6 | [] | no_license | sundawei/REddyProc | 7fb6eb6a7c91553526cc2c387dd0481f341509c7 | 0068e19fe4c543a902a45f3dc4050c8738e57e14 | refs/heads/master | 2022-04-08T04:45:24.056822 | 2020-02-07T12:03:08 | 2020-02-07T12:03:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,051 | rd | LightResponseCurveFitter_optimLRCBounds.Rd | \name{LightResponseCurveFitter_optimLRCBounds}
\alias{LightResponseCurveFitter_optimLRCBounds}
\title{LightResponseCurveFitter optimLRCBounds}
\description{Optimize parameters with refitting with some fixed parameters if outside bounds}
\usage{LightResponseCurveFitter_optimLRCBounds(theta0,
parameterPrior, ..., la... |
62aad19bba564fd660ee2cdfeed5bec53b29ba91 | 4c675085168d08e59a36e175cd56ecf4aefeebfb | /SM-(P-E) feedbacks/era5/ERA5_sm_w.R | 46344f0ce9cf541b4b2eb32536387c5ff8fc6196 | [] | no_license | shazhou09/dryland_water_availability | 3574677ccbddd77d7cc2a7577d824b966e27acf3 | 81124d54bc979fa556daf3deaa996a3ebe0c7e0b | refs/heads/master | 2022-12-20T11:34:01.888790 | 2020-08-27T18:51:44 | 2020-08-27T18:51:44 | 287,588,206 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,010 | r | ERA5_sm_w.R | library(ncdf4)
library(parallel)
library(plsRglm)
library(plsdof)
library(boot)
pls_reg<-function(x){
if (sum(is.na(x))>400){
return(rep(NA,each=4))
}
tt<-length(x)/2
pr<-x[1:tt]
sm<-x[(1+tt):(tt*2)]
if (max(abs(sm))<1e-3){
return(rep(NA,each=4))
}else{
tryCatch({
dim... |
0387a9f9761947216c6b7c5091be2a140c9db327 | f3cd398ea5574667526bfdd9ddae4dcadbcb4ef4 | /man/plot.LocallyWeightedPolynomial.Rd | 66b847ecffdf8316b1974cf65eae429a94fdce0a | [] | no_license | cran/SiZer | 8448d5deefd6c36c0836051062f183bd1411ae33 | 48c153668abae423d1b9841d21ea50ac1c86bc6e | refs/heads/master | 2022-08-02T20:18:51.493445 | 2022-07-09T18:40:02 | 2022-07-09T18:40:02 | 17,693,675 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,294 | rd | plot.LocallyWeightedPolynomial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/locally.weighted.polynomial.R
\name{plot.LocallyWeightedPolynomial}
\alias{plot.LocallyWeightedPolynomial}
\title{Creates a plot of an object created by \code{locally.weighted.polynomial}.}
\usage{
\method{plot}{LocallyWeightedPolynomial}(
... |
bc299eadd61a504d976fab55a00521b2aeba5840 | c7e9a7fe3ee4239aad068c6c41149a4a09888275 | /OLD_GALLERY_RSCRIPT/#46_genetic_map.R | 73d89b6852a85786cd0dffedf0e5a6c03888b083 | [
"MIT"
] | permissive | holtzy/R-graph-gallery | b0dfee965ac398fe73b3841876c6b7f95b4cbae4 | 7d266ad78c8c2d7d39f2730f79230775930e4e0b | refs/heads/master | 2023-08-04T15:10:45.396112 | 2023-07-21T08:37:32 | 2023-07-21T08:37:32 | 31,253,823 | 591 | 219 | MIT | 2023-08-30T10:20:37 | 2015-02-24T09:53:50 | HTML | UTF-8 | R | false | false | 1,235 | r | #46_genetic_map.R | #Intro
png("#46_genetic_map.png" , width = 480, height = 480 )
marker=paste("marker" , sample(seq(1,1200) , 1200 ) , sep="_")
chromosome=as.factor(sort(rep(seq(1,6) , 200)))
position=abs(c( rep(seq(1,200)+runif(200 , -20 , 100)) , rep(seq(1,200)+runif(200 , -20 , 100)) ,rep(seq(1,200)+runif(200 , -20 , 10)) ,rep(seq(1... |
d80d39fd90e6bd91f8deca92433808197bf77388 | 582f3296bc60ebaf9570701ae0d0b11d9e00884b | /man/childrenOrNothing.Rd | bdec1fa61a241206ea1491c3e91a68369c1885bd | [
"MIT"
] | permissive | cwhd/hdp-r | 71fa3119380a060571e56f9acf0699a4cabbb1da | 95a44cd4f3ff631a716d64ed68aae4f806339715 | refs/heads/master | 2021-06-05T00:50:21.957276 | 2018-09-30T23:41:59 | 2018-09-30T23:41:59 | 139,089,737 | 3 | 3 | NOASSERTION | 2020-02-14T06:19:17 | 2018-06-29T02:13:40 | R | UTF-8 | R | false | true | 435 | rd | childrenOrNothing.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.r
\name{childrenOrNothing}
\alias{childrenOrNothing}
\title{If a node has children return them, otherwise return nothing}
\usage{
childrenOrNothing(currentNode)
}
\arguments{
\item{currentNode}{the node you want to check}
}
\descrip... |
3c6d9f1f933ea60b791ecf29925734fc221c42b7 | 630f2306b108431bbc99fdf8ff24bed3171c4a1a | /R/SplitAt.R | 7304ed9bb866d8459e5588b2af412349b8a36ed0 | [] | no_license | senhu/FCBMA | 69820c51fde3d350de0e1e1d99630f5bad1ac5d2 | bede23284d19acba899730eb412bb4ee7cf9d6fd | refs/heads/master | 2022-01-17T23:42:33.474468 | 2019-08-05T17:34:49 | 2019-08-05T17:34:49 | 107,567,975 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 359 | r | SplitAt.R | #' Split a vector at a certain location/position
#'
#' Split a vector at a certain location/position
#'
#' @param x a vector
#' @param pos position within the vector x
#' @return a list of splited vectors
#' @examples
#' x <- c(1,2,3,4,5)
#' SplitAt(x, 3)
#'
#' @export SplitAt
SplitAt <- function(x, pos) unname(split(... |
1be3305e9bf8c4593aa6a811c64291cd33035e58 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/cwhmisc/examples/normalize.Rd.R | deca1598c4b1ece5b7f1c653042445d78d46fa6a | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,535 | r | normalize.Rd.R | library(cwhmisc)
### Name: normalize
### Title: base power and multiplier, significant places
### Aliases: normalize normalize1 Nd sigplaces checkNormalize
### Keywords: math
### ** Examples
(xx <- c(exp(1),pi,NA, Inf, -Inf,10,100,c(1,10)*exp(1)) )
(x2 <- normalize(xx,2))
# A B C D E F ... |
7a9f1b965ce28aae6cb3d989f28ef65667c4d48b | 49b8ff57b4184c137dde8ed358b3372f3020d9b0 | /RStudioProjects/mbDiscoveryR/learnBN/parentsList2BN.R | 48d5480bbde0f926423931e5d39b51231d60f138 | [] | no_license | kelvinyangli/PhDProjects | c70bad5df7e4fd2b1803ceb80547dc9750162af8 | db617e0dbb87e7d5ab7c5bfba2aec54ffa43208f | refs/heads/master | 2022-06-30T23:36:29.251628 | 2019-09-08T07:14:42 | 2019-09-08T07:14:42 | 59,722,411 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 621 | r | parentsList2BN.R | # resultList is a list returned by netica2bnlearn, it contains nodes and parentsList
parentsList2BN = function(resultList) {
dag = empty.graph(resultList$node)
for (i in 1:length(resultList$parent)) {# add directed arc from its parents to each node i
if (length(resultList$parent[[i]]) > 0) {# only ad... |
df705b47e0234db8572a7807c1d656b6449dacd4 | 19be8b8e92bdcdb3a185232f27495b9acb10a3c5 | /tests/testthat/test_makePeptideTable.R | 14c51d3fbe428868f9dd385ceefceb075c45806b | [
"MIT"
] | permissive | bartongroup/Proteus | b087402b9fba7edd39ec992dca3c1a3e65fbcaca | b83c8a797fd13943ccd0b83db7fdd9fb491a68e7 | refs/heads/master | 2023-09-03T06:14:14.076690 | 2023-04-17T11:43:43 | 2023-04-17T11:43:43 | 93,496,297 | 37 | 6 | null | 2020-06-15T11:45:07 | 2017-06-06T08:45:18 | R | UTF-8 | R | false | false | 1,927 | r | test_makePeptideTable.R | library(testthat)
# expected result
tab.1 <- structure(
c(7, 7, 4, 2, 5, 5, 5, 5, 8, 7,
8, NA, 2, 4, 4, 9, 2, 2, NA, NA,
9, 5, 4, NA, 7, NA, 2, 4, 5, 3),
.Dim = c(10L, 3L),
.Dimnames = list(
c("AA", "AB", "AC", "AD", "AE", "BA", "BB", "BC", "BD", "BE"),
c("WT1", "WT2", "KO1")
)
)
tab.2 <- stru... |
4e8e7024f41e65c8ab54a2cbbfd4ea9a917c07b8 | 979747f6a1623c4be3f86fb2a57b9e9f58c0ca57 | /R_Code/R - Module 17/P8130_SLR_Inf.R | f07d4b2221048eddd887194bd21245c657836d12 | [] | no_license | zl2974/latexhypothesis.github.io | be20b9e3a0d5ed726ea14df6f98f36b5b2c529e4 | e878e815d7fcd8be28e2ba0c6a696f5e8d6b087a | refs/heads/main | 2023-01-23T08:22:20.120166 | 2020-12-10T06:19:18 | 2020-12-10T06:19:18 | 308,181,142 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,474 | r | P8130_SLR_Inf.R | ################################################################
# Biostatistical Methods I #
# Simple Linear Regression - Inferences #
################################################################
rm(list = ls())
# Load libraries
library(faraway)
library(... |
26610980bd7eae823b5979b2bc7e87dc5326b476 | 945f4bec180f1f77feee0e8a66b5c80bb3278340 | /modelling.R | 70918bd12657de5aa0099918bca9079d21dd5000 | [] | no_license | yuand23/wearable | 5dabd2114a9132ac9288c7cf95eb47bed331ed8b | cbfebd2aa43c571499d5de97b87000e3bcc772b6 | refs/heads/master | 2023-08-13T17:31:49.189254 | 2021-10-11T03:52:50 | 2021-10-11T03:52:50 | 236,018,788 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,827 | r | modelling.R | train1 <- read.csv("train1.csv",header=T,stringsAsFactors = F)
train2 <- read.csv("train2_5.csv",header=T,stringsAsFactors = F)
train3 <- read.csv("train2_6.csv",header=T,stringsAsFactors = F)
train4 <- read.csv("train3_1.csv",header=T,stringsAsFactors = F)
train5 <- read.csv("train3_2.csv",header=T,stringsAsFactors = ... |
e2f37e61458bbacce3af7a0f35b2018440fec42f | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/1780_7/rinput.R | d085b1f4ab131986590dc31b8e653f0c195aec7d | [] | 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("1780_7.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="1780_7_unrooted.txt") |
326f5f9265b74fdcc97671d0fb4b675138061242 | 184a3015c5a682e64e3e506528a44af3aaba918b | /R/01-featsels.R | b4a27766ecfa864d7af667ff39cdbb3cf7576c91 | [] | no_license | pfnaibert/it-featsel | 526e584e4164e39878a2a8b647b0d436d9dff0da | 79f8d785c5d09d67a0732ce183ddf4518cfe20d4 | refs/heads/master | 2022-11-27T04:02:49.484297 | 2020-08-04T17:53:45 | 2020-08-04T17:53:45 | 271,356,393 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 631 | r | 01-featsels.R | #!/usr/bin/env Rscript
###########################################
library(leaps)
library(glmnet)
source("./funs-ports-IT.R")
#####################################
# import
spy5 <- rets.sp("./data/spy5-rets.rds")
ibov <- rets.ibov("./data/ibov-rets.rds")
#####################################
# SP500
spy5.coefs <- fea... |
f999e227b604e3df4f595c3ff375801d9cd76e9d | 66a2afd9c0dab1d55e6d236f3d85bc1b61a11a66 | /man/combine_parent_and_child_resultsets.Rd | 3ce097dff7062e17d337985f63f96de5fb800689 | [
"MIT"
] | permissive | StevenMMortimer/salesforcer | 833b09465925fb3f1be8da3179e648d4009c69a9 | a1e1e9cd0aa4e4fe99c7acd3fcde566076dac732 | refs/heads/main | 2023-07-23T16:39:15.632082 | 2022-03-02T15:52:59 | 2022-03-02T15:52:59 | 94,126,513 | 91 | 19 | NOASSERTION | 2023-07-14T05:19:53 | 2017-06-12T18:14:00 | R | UTF-8 | R | false | true | 1,064 | rd | combine_parent_and_child_resultsets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-query.R
\name{combine_parent_and_child_resultsets}
\alias{combine_parent_and_child_resultsets}
\title{Bind the records from nested parent-to-child queries}
\usage{
combine_parent_and_child_resultsets(parents_df, child_df_list)
}
\argume... |
8af7e330f2d73680ddf02f3902667ef14174ed51 | 1da341f341c35d89da5752dc39ef74aa5f87413e | /project2/plot2.R | d2709cfc3d8428c2d9bc0699f0d97f9c4b936d17 | [] | no_license | kscraja/ExData_Plotting1 | 2f85c57081971e19b63700dbcda1149824f22789 | d82511c8fc29e579b6094c0def02eb5fbc8f2fa7 | refs/heads/master | 2021-01-16T20:30:33.539240 | 2014-06-22T04:38:05 | 2014-06-22T04:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 857 | r | plot2.R |
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
NEI$fips <- as.factor(NEI$fips)
NEI$SCC <- as.factor(NEI$SCC)
NEI$Pollutant <- as.factor(NEI$Pollutant)
NEI$type <- as.factor(NEI$type)
# 2. Have total emissions from PM2.5 decreased in the
# Baltimore City, Maryland (fips == "24... |
21349d027ca8eece5cd1d3e0c870c23bf2149970 | c2b457692980edf3760d9209b977bcaeb49ca160 | /man/virtualRepo-funs.Rd | 6a392768fba8875f805b7972ac9ac00e8c73bd31 | [] | no_license | arturochian/gRAN | 9d19e2990a45c6fb20ff16bda9993465d4c39a0f | 8a736cc4f030274871c1c69a8d096e854889661e | refs/heads/master | 2021-01-17T21:40:39.228675 | 2015-02-11T18:12:33 | 2015-02-11T18:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,080 | rd | virtualRepo-funs.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/virtualRepo.R
\name{sessionRepo}
\alias{getPkgVersions}
\alias{getSessionPackages}
\alias{makeVirtualRepo}
\alias{sessionRepo}
\title{Create a virtual repository containing only the specified package versions versions
Packages are l... |
37319f3ae07dcd66ee16123ca24b4da9464622a8 | 4855e806d6a5b65643c49ed3b602db276fe76d30 | /library/shinyapps/R/servers.R | d8dcbdbf41e4d812801e934ac11c91622956dd2f | [] | no_license | Cococatty/InteractiveMap | 5701a607a7605a4958c037b6b5559841c67126eb | 698b173ab0393cc38fdfd69f09b169dd87fd9f3d | refs/heads/master | 2021-01-10T18:14:56.274796 | 2016-02-17T09:02:23 | 2016-02-17T09:02:45 | 47,664,845 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,160 | r | servers.R | #' Server Management Functions
#'
#' Functions to manage the list of known servers to which
#' \pkg{rsconnect} can deploy and manage applications.
#'
#' Register a server with \code{addServer} or \code{discoverServers} (the latter
#' is useful only if your administrator has configured server autodiscovery).
#' Once a s... |
0c938d25017d36ff9e2ebaa07a12670eafab35fc | 99e582a518557a05d4f162325cf956d3edefca28 | /plot5.R | 6434833aa4ab2c8b20a9ba48f5ef94a28c5469a1 | [] | no_license | kandsar/Plotting_in_R | 53ea5dfec6f4def667fb9afaaf6c1afff5e529b7 | fe8e1285b77f996d0a4529f22c13e339e67258f3 | refs/heads/master | 2021-01-09T20:32:11.895389 | 2016-07-01T23:18:57 | 2016-07-01T23:18:57 | 62,424,440 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 618 | r | plot5.R | plot5 <- function(){
file2 <- "Source_Classification_Code.rds"
file1 <- "summarySCC_PM25.rds"
library(ggplot2)
dataset1 <- readRDS(file1)
dataset2 <- readRDS(file2)
dataset <- merge(dataset1, dataset2, by="SCC")
dataset <- dataset[dataset$fips == "24510",]
road_temp <- grepl("ON-ROAD", dataset$type, ignore.case... |
ec28b0187de662b810e7f4880fc061aaea6da89f | ab9f6a62532a0e79698fe5171732c610b3eb4c73 | /report_ward_ranking/ward table.R | 54cf5571b065369a7fa92c37ba35561980657752 | [
"MIT"
] | permissive | Chicago/census2020_ward_rpt | 75430679edb6a07a5b95a5cc41efe0ffc4eea76a | 6672fb1949d2e1cf804cf53de483df71a6effa3d | refs/heads/master | 2021-01-06T17:42:15.150071 | 2021-01-04T21:58:52 | 2021-01-04T21:58:52 | 241,420,345 | 2 | 1 | MIT | 2020-04-10T21:41:23 | 2020-02-18T17:11:47 | HTML | UTF-8 | R | false | false | 2,324 | r | ward table.R |
##
## Quick thing to get ward stats into excel
##
rm(list=ls())
library(civis)
library(geneorama)
library(colorspace)
sourceDir("functions")
## Steps to read civis data
## For key setup, see https://civisanalytics.github.io/civis-r/
source("config/setkey.R")
civis_ward_table <- read_civis_query("select * from cic... |
07338b82c02ed1f24cd912acfa05c657bef1b1b4 | ec4880500b824b243beefcfcb514d679d45ad4c6 | /man/registerFilter.Rd | 623eeba21d2eab4424f5f1842c16ddbb42b0a98a | [] | no_license | cran/gridSVG | 7091d0a05a6195312f1333a270950c4e92fbda85 | 7b88fca2e80694d20393bcd8bf9424e84b5673bb | refs/heads/master | 2023-03-15T21:02:22.077160 | 2023-03-09T22:20:02 | 2023-03-09T22:20:02 | 17,696,511 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 814 | rd | registerFilter.Rd | \name{registerFilter}
\alias{registerFilter}
\title{
Create the definition a filter effect.
}
\description{
A feature of SVG is that elements can be filtered using filter effects
defined somewhere in the document. The purpose of this function is to
create the definition of a filter effect so that it can be refe... |
942134e396e21a20fe428190b8e1a1a1858af1ca | c1bc5902762dfb9e37629e7d169713210d031487 | /17.聚类分析.R | 701be73628db59a05dc88434b9d3e4202d08b996 | [] | no_license | lzuh/Machine-Learning-and-R-Language-Applications-by-Qiang-Chen- | 61b532ab843d55ec6aae6fa14d479b9a3134e06d | d7e0dddddeba4840cc3815cb2c365909a3b907f0 | refs/heads/main | 2023-02-14T15:02:13.450656 | 2021-01-17T03:38:45 | 2021-01-17T03:38:45 | 457,287,734 | 1 | 0 | null | 2022-02-09T09:18:05 | 2022-02-09T09:18:04 | null | UTF-8 | R | false | false | 2,027 | r | 17.聚类分析.R | #第十七章作业
rm(list=ls())
#17.1 iris K-Means分析
data(iris)
kfit <- kmeans(iris[,-5],3,nstart = 20)
(table <- table(Predicted=kfit$cluster,Actual=iris$Species))
(accuracy <- sum(diag(table))/sum(table))
#17.2 使用faithful数据进行聚类
data(faithful)
#(1)画散点图
plot(faithful,main="Data of Old Faithful Geyser")
par(mar=c(5,5,5,5))
#(2)... |
a26b31abd624f532ec353bfc66072be9fd4f087d | c36842d81ca5df57da61b263dd639fb8ac9ae096 | /src/main/R/thesis/chapter-3/model/Ant Library.r | 97cd1444ef33c1cfc8d26b8ecc7dc09dea97c06f | [] | 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 | 1,207 | r | Ant Library.r | cat("Ant Library (Version 1.0)\n")
library(lattice)
AntLibrary.loadBaitCabbages<-function(layoutFileName, experimentPlan, iterationNumber=1) {
baitLayout.df<-read.csv(out.filename)
baits.df<-experimentPlan@iterations[[iterationNumber]]@cabbages.df
merged.df<-merge(baitLayout.df, baits.df, by.x="Plant.ID", by.y="... |
d5be7d996a2ceb89cf891be86641241b367734f6 | 81f49f2828dd48350528bb5b17077b7af486461b | /R/randomCoefplot.R | 2b052b26d569a7f1d0d173ba5b4618b4fcd9ccff | [] | no_license | JenniNiku/gllvm | 497a9a0b6be94080a47803afcf7948a53d33125c | 9eaf0f66605e32f70ffd050b2c0c3bb051866b81 | refs/heads/master | 2023-08-03T11:15:33.087171 | 2023-08-01T06:45:42 | 2023-08-01T06:45:42 | 91,061,910 | 39 | 16 | null | 2023-06-13T09:58:56 | 2017-05-12T07:06:17 | R | UTF-8 | R | false | false | 5,667 | r | randomCoefplot.R | #' @title Plot random slope coefficients
#' @description Plots random slopes and their prediction intervals.
#'
#' @param object an object of class 'gllvm'.
#' @param y.label logical, if \code{TRUE} (default) colnames of y with respect to coefficients are added to plot.
#' @param which.Xcoef fector indicating which cov... |
87d2cb2ef4fe954d69140f050b6ca0006727064b | 13fd537c59bf51ebc44b384d2b5a5d4d8b4e41da | /R/h2oRClient-package/demo/h2o.prcomp.R | 072b2c7d2ed89ace558b65e37ba099d6af582fe9 | [
"Apache-2.0"
] | permissive | hardikk/h2o | 8bd76994a77a27a84eb222a29fd2c1d1c3f37735 | 10810480518d43dd720690e729d2f3b9a0f8eba7 | refs/heads/master | 2020-12-25T23:56:29.463807 | 2013-11-28T19:14:17 | 2013-11-28T19:14:17 | 14,797,021 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 635 | r | h2o.prcomp.R | # This is a demo of H2O's PCA function
# It imports a data set, parses it, and prints a summary
# Then, it runs PCA on a subset of the features
library(h2o)
h2o.installDepPkgs()
localH2O = h2o.init(ip = "localhost", port = 54321, startH2O = TRUE, silentUpgrade = TRUE, promptUpgrade = FALSE)
australia.hex = h2o.... |
9791093d801d89153792d7616b4af3b118a1b78f | 23941d709a5e833cc0b92fd676b2766a911baead | /R/carbon.R | d44df6dd47b349be4512d2f7a02ac4586825707a | [
"MIT"
] | permissive | lilyraye/Intro2R-COVID | fd530f686c45b347c45898265550c3b0deb9ddc9 | b1e1c0b8b2015e53cc7f267479d920bbcf746e3e | refs/heads/master | 2023-07-17T13:20:50.350065 | 2021-06-15T12:45:45 | 2021-06-15T12:45:45 | 398,911,194 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 551 | r | carbon.R | #' @title Iron making process.
#'
#' @description A data set concerning a new innovative iron making process.
#'
#' @details This is a standard data set from the course MATH 4753 taken from the data sets provided by the text book.
#'
#' @format A data frame with 25 rows and 2 variables:
#' \describe{
#' \item{PilotP... |
454bd298d646899610b0e8d4b6151872d7324771 | b91b4171df45b7e12067dee4ba86a5742f4a1cbc | /Homework 2/No 2/R/No 2.R | 6915537d5922cffbb20678b95341b44191075f28 | [] | no_license | ishakdavidk/Deep-Learning | 62f5b38a3b7bfd991e411a67fe7f3b1a9e33660c | 3bd29a0c4329b3bf988dc43fec2b1c19dae02f8b | refs/heads/master | 2021-05-17T02:06:26.714392 | 2020-06-28T13:48:41 | 2020-06-28T13:48:41 | 250,568,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 217 | r | No 2.R | mullin_dataset<-read.table("/cloud/project/No 2/tvsales.dat", header=FALSE, skip=0)
print(mullin_dataset)
mullin_model<-lm(V2 ~ V3+V4+V5+V6+V7+V8+V9+V10, data=mullin_dataset)
print(mullin_model)
summary(mullin_model)
|
b99b8c0253b2a31a4fbe345c5b23859b8768f95f | 97c3caf1990e0d959581ac4a19705d968ccf1f8f | /man/ExpectMat.Rd | 2d165538746ff1e496e7da9e951186107a45b799 | [] | no_license | cran/hscovar | 702d71c2eab3d541fb64c6adf9481815e40be6f5 | 4d08292cdd561dc3d176b8c22400e9abd5654359 | refs/heads/master | 2021-07-15T18:04:20.951118 | 2021-04-13T06:20:06 | 2021-04-13T06:20:06 | 245,389,352 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 575 | rd | ExpectMat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{ExpectMat}
\alias{ExpectMat}
\title{Expected value of paternally inherited allele}
\usage{
ExpectMat(inMat)
}
\arguments{
\item{inMat}{[MATRIX] The paternal genotype matrix}
}
\value{
\describe{
\item{\code{ExP.Fa}}{(N x p... |
bbd39e87fb0a27d152d57000f184b2b96824be50 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Basler/terminator/stmt19_302_313/stmt19_302_313.R | d882275190a9c87a87d40dae4d2ef6a290b99444 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 720 | r | stmt19_302_313.R | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 16048
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 16047
c
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 16047
c
c Input Parameter (command line, ... |
252571778290339f22d543696c5d6a795aade31c | 42e34dd5956efe9c1236a7d283cfa340e50ac3a1 | /R_Time_Series_Data_Analysis/Ch03_Graphics_of_Time_Series_data/07_Fraction_Mean.R | 7e7c49b46387e4c0269aad8e53a7d22147210dea | [] | no_license | Fintecuriosity11/Time_Series_Analysis | 2e8720fd76c2ed8bb3b0e234fd243f4890636fa4 | 7d3c813ec55c61339c4c4acea0f36ac534e056a9 | refs/heads/master | 2022-12-24T20:16:56.180854 | 2020-10-08T06:21:11 | 2020-10-08T06:21:11 | 277,093,693 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,119 | r | 07_Fraction_Mean.R | ##########################################################################################################################################
#(주의) -> 순차적으로 코드를 실행하는 것을 권함!
#에러 발생 시 github Time_Series_Analysis/R_Time_Series_Data_Analysis 경로에 issue를 남기면 확인
##############################################################... |
b0e50cc29c861d67c5c870f83c75b851f3c2b71a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rnoaa/examples/meteo_tidy_ghcnd.Rd.R | 4faf0f81d9d95e078f314bc4798155fa545399bc | [] | 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 | 415 | r | meteo_tidy_ghcnd.Rd.R | library(rnoaa)
### Name: meteo_tidy_ghcnd
### Title: Create a tidy GHCND dataset from a single monitor
### Aliases: meteo_tidy_ghcnd
### ** Examples
## Not run:
##D # One station in Australia is ASM00094275
##D meteo_tidy_ghcnd(stationid = "ASN00003003")
##D meteo_tidy_ghcnd(stationid = "ASN00003003", var = "tavg"... |
ee2aef5a9a265762b63e67ea7e966e503046e428 | da52ecac35cfca350fca0d51c30e531057ad0878 | /man/obama.Rd | 41a3e9067192b9cf01491eccbe90ccb1c5c5b290 | [] | no_license | dselivanov/cleanNLP | 51e623d3a845fe9607fcd12c3d840b79551cf0aa | 9d30b3a8ca806d51ea3162a397c260346b0fe05a | refs/heads/master | 2021-01-19T11:21:57.760937 | 2017-04-11T16:52:21 | 2017-04-11T16:52:21 | 87,958,242 | 2 | 0 | null | 2017-04-11T16:51:37 | 2017-04-11T16:51:37 | null | UTF-8 | R | false | true | 363 | rd | obama.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{obama}
\alias{obama}
\title{Annotation of Barack Obama's State of the Union Addresses}
\description{
Parsed text from all eight State of the Union addresses given by Barack Obama.
}
\references{
\url{http://www.pre... |
c04cbcd31142742d8d09d9beaa8d1d8d2016dc16 | 6d820299dc77330537078d31d27bd7291d7204c8 | /Data science/hw7 2/hw7_490IDS_17.R | 8574a604719f7ca1190649a912f661558501255a | [
"MIT"
] | permissive | zyhhhhhhh/info490-intro-to-data-science | 4fdd29a5bb5df4d4d07883ee4b2b2ad73972a02d | 32eee71679def276296abf08c9606b8378179da6 | refs/heads/master | 2021-01-02T22:49:09.965708 | 2017-08-05T05:37:58 | 2017-08-05T05:37:58 | 99,401,740 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,856 | r | hw7_490IDS_17.R | myText <- readLines("stateoftheunion1790-2012.txt")
stars= unlist(regmatches(myText, gregexpr("\\*\\*\\*", myText)))
locations = grep("^\\*\\*\\*$", myText)
dates = myText[locations[]+4]
years = regexpr("\\<\\d\\d\\d\\d\\>",dates)
years_list = unlist(regmatches(dates, gregexpr("\\<\\d\\d\\d\\d\\>", dates)))
m... |
f63323a649921689dc95003d768003fbe31c174c | feb134cf8cc19d3f5deb820a2bba8e4f68f48ba7 | /icews/code/brazil2013targets.R | 0d0414253d24e97601412f4c1c87dffd6bd663f1 | [] | no_license | lizmckenna/protests | 7f268a2d83043a9571b8c35cc62fcaed215809bb | 0b80e6805bdf7915be2421e341af720698761784 | refs/heads/master | 2020-03-08T05:20:30.009452 | 2019-03-10T23:40:02 | 2019-03-10T23:40:02 | 127,945,742 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,099 | r | brazil2013targets.R |
rm(list=ls())
# Load libraries
library(dplyr)
library(ggplot2)
library(broom)
library(purrr)
library(tidyr)
library(tibble)
library(tidyverse)
library(plotly)
devtools::install_github('hadley/ggplot2')
b <- read.csv(file="/Users/lizmckenna/Desktop/brazil2013targets.csv", header=TRUE,sep=",")
# Fix date class
b$E... |
c04b5305d5e6f5ef4b210abc7e093d7166bcdd55 | 9ea74e7e088c6351ac4d29522529c0e79b51dcc4 | /tests/testthat/test_treeInfo.R | 449db853ddd3f14db5f19e2952efdfe8ef6fa43d | [] | no_license | imbs-hl/ranger | 0ccd500db3cd97e5fda5d3b150517c71ed55ade6 | 5a04d9355a1a96315973d88492160bc00a91e399 | refs/heads/master | 2023-08-17T01:09:34.455853 | 2023-08-16T09:26:19 | 2023-08-16T09:26:19 | 41,377,351 | 739 | 245 | null | 2023-09-12T20:10:46 | 2015-08-25T17:18:39 | C++ | UTF-8 | R | false | false | 17,726 | r | test_treeInfo.R | library(ranger)
library(survival)
context("ranger_treeInfo")
## Classification
rf.class.formula <- ranger(Species ~ ., iris, num.trees = 5)
rf.class.first <- ranger(dependent.variable.name = "Species", data = iris[, c(5, 1:4)], num.trees = 5)
rf.class.mid <- ranger(dependent.variable.name = "Species", data = iris[, c(... |
c88eae596715c060f75c2d63bdcdb31b11e69816 | f25f19454371c545fb69ccb7da1a4ef0baf6acb8 | /man/dmgain.Rd | e29639f31c4fa83a2fd422dee5ad91b739348970 | [] | no_license | Sandy4321/npdr | 00e6ab9fd7db2a6465b39bb320afeee76db5f7ce | b02e08577c58a6fddb0b157f9870740795747b04 | refs/heads/master | 2020-12-06T07:34:02.878253 | 2020-01-06T04:54:47 | 2020-01-06T04:54:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,093 | rd | dmgain.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inbixGAIN.R
\name{dmgain}
\alias{dmgain}
\title{Differential modularity genetic association network algorithm (dmGAIN) algorithm.}
\usage{
dmgain(labelledDataFrame)
}
\arguments{
\item{labelledDataFrame}{\code{data.frame} with samples in rows... |
bf57f386bc38291c39d71a50da38a2e8f08a4e0e | c241109ba5d2f9cb6e74caceca787e795d136750 | /plot1.R | 9d424df0afb8768a54efb7ffb6d524c1c2e2e6c4 | [] | no_license | pradiptasahaR/ExData_Plotting1 | 472bafd4834aa173b9adf305673a098424a6e4ec | 43c774b3d8ca11b7e4086d700c35dcb4e0233cf2 | refs/heads/master | 2021-01-21T16:11:13.796728 | 2016-03-30T14:49:24 | 2016-03-30T14:49:24 | 55,019,261 | 0 | 0 | null | 2016-03-30T00:14:23 | 2016-03-30T00:14:23 | null | UTF-8 | R | false | false | 425 | r | plot1.R | file <- "./EDA/household_power_consumption.txt"
pc <- read.table(file,header=TRUE,sep=";",stringsAsFactors=FALSE)
subpc <- pc[pc$Date %in% c("1/2/2007","2/2/2007"),]
subpc$DateTime <- strptime(paste(subpc$Date, subpc$Time, sep=" "), "%d/%m/%Y %H:%M:%S")
png("plot1.png", width=480, height=480)
hist(as.numeric(subpc$Glob... |
33b9144dd67e8c2257111b49011dade23f5ec496 | fbc7b084e91c08b50b655ffa133837f995cc99e6 | /R/rxtractogon.R | 44840f09c2522d34e0f83e849129205311cd22c0 | [] | no_license | MarieAugerMethe/rerddapXtracto | d814561fe81b93a0f43ae54b08819dfc3d3fd4f9 | 1616fd7d1566fdf65220259dbec6d1d6bedf0b42 | refs/heads/master | 2023-08-06T20:45:38.750343 | 2021-09-27T00:28:08 | 2021-09-27T00:28:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,933 | r | rxtractogon.R | #' Extract environmental data in a polygon using 'ERDDAP' and 'rerddap'.
#'
#' \code{rxtractogon} uses the R program 'rerddap' to extract environmental data
#' from an 'ERDDAP' server in a polygon through time.
#' @export
#' @param dataInfo - the return from an 'rerddap:info' call to an 'ERDDAP' server
#' @param parame... |
974a2cb54ee259a838b54d240d323344d9070c54 | 2be4b043e6cfbfa4cf3869e22a22a127669755f7 | /benchmark/STARmap_AllenVISp/Seurat/impute_starmap.R | dfb1c86f2c7ec3b7dbe459005b08485b2f5fdf0f | [
"MIT"
] | permissive | c4chow/SpaGE | ffa3a4d7e358796426aa218d67f3b8d4514f38a6 | bda1036660ab01f8bf44993e52392a37145794a3 | refs/heads/master | 2023-02-27T08:35:43.333816 | 2021-02-06T23:44:13 | 2021-02-06T23:44:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,300 | r | impute_starmap.R | setwd("STARmap_AllenVISp/")
library(Seurat)
starmap <- readRDS("data/seurat_objects/20180505_BY3_1kgenes.rds")
allen <- readRDS("data/seurat_objects/allen_brain.rds")
# remove HPC from starmap
class_labels <- read.table(
file = "data/Starmap/visual_1020/20180505_BY3_1kgenes/class_labels.csv",
sep = ",",
... |
397de5ee2c3450ccc7ca3dbf3e9c99527b0f3077 | aa0e6b5c88fb5351d207aebf04dc96d6870f73d4 | /functions/func_avalanche.R | 1a64ab02400b1c2c6423f94fa9ad46a208eaacfd | [] | no_license | pohleric/mass_balance_model | 119d96164389002a8689fb4feef3bedc1b791d1d | de1e641bb7639542d36f0a8d262b4833ae24507d | refs/heads/main | 2023-08-05T05:56:30.270151 | 2021-09-22T13:44:06 | 2021-09-22T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,027 | r | func_avalanche.R | ###################################################################################################
# Author: Enrico Mattea (@unifr.ch) #
# Description: this program models the distributed mass balance of a glacier at daily #
# re... |
51c262b6cdee78326d5394996ba3e9df4705470b | 0308926c21defd15a8fc0cd1c6f7c1ce491f0c05 | /R/dynamicUIStock.R | 0e00edba89aacd522fd9bc4117778a1cf0d73bb2 | [] | no_license | Jiramew/stockCn | ffd1e84f49a20c181af5c2b55e013c2fa311e848 | 527e31ed587507924250b3258bd9c3877e2b3bc1 | refs/heads/master | 2021-01-01T03:49:40.062487 | 2016-05-18T13:16:36 | 2016-05-18T13:16:36 | 59,115,483 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 413 | r | dynamicUIStock.R | #' Refreshing stock data.
#'
#' @param symbol input a string in the double quotes showing the stock symbol
#' @keywords dynamicUIStock
#' @export
dynamicUIStock <- function(symbol) {
par(bty = "n", xaxt = "n", yaxt = "n", mar = c(3, 0.1, 3, 0.1))
while (1) {
stockData <- getData(symbol)
s... |
6ed434ae6c3ca1a4f708ffc6915f7565a7802de0 | 9a521fbc31a81d52504520c8f8a9f173fb76e5fb | /ESAME/Scripts/gare/query_gara_per_gara.R | 7f37124ec4adbc8d0ea1e1e89ddf36667a0440db | [] | no_license | Vegaz10/Esame-scienza-di-dati- | 52292adb2151cfb0b9d23f330716430f36a16492 | b54dd51254867638d801de372f1214d4477c11b6 | refs/heads/main | 2023-07-11T17:19:53.506088 | 2021-08-28T14:34:20 | 2021-08-28T14:34:20 | 400,813,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,661 | r | query_gara_per_gara.R | australia<- risultati %>%
inner_join(drivers,by="driverId") %>%
inner_join(races,by="raceId") %>%
filter(year == 2018, round == 1) %>%
select(driverId,driverRef,position,points)
bahrain<- risultati %>%
inner_join(drivers,by="driverId") %>%
inner_join(races,by="raceId") %>%
filter(year == 2018, round ==... |
d913656e005a1da561a4f83b0641f9008fea4dee | 0c2aa81635e454ed18a94e8f052214d07eeb6738 | /R/unpackUserVariable.R | b8e3961c0c9946ece80114f4b7f2d86da52f527e | [] | no_license | Dectech/DectechR | 66872e50e1ceb0c86693a266facc44a2eaf82501 | 5bd6e773f0ae0e0952ab2ec74719d9afdc27f23a | refs/heads/master | 2023-06-02T18:08:25.964801 | 2021-10-13T11:13:49 | 2021-10-13T13:10:02 | 92,304,517 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,615 | r | unpackUserVariable.R | unpackUserVariable <- function(rawText, maxCols = NULL, emptyReplacement = -99, numeric = FALSE, delimiter = "*"){
#######################################################
### Function to extract data from user defined ###
### ...variables from questback custom questions ###
#####################... |
b174f8b4d50ac423835e63b7c848360816961368 | f7f6aba4f80acb1d0938ce894bdb694c8d0a296d | /plot1.R | 77bc4f824baa622aa441910742617af40549b29b | [] | no_license | andrej-mihalik/ExData_Plotting1 | 47f29496f9ef4f009bb64429bac683db2da6abcc | 7ad75fad6fcbe1cb66e73114396710b8090e696b | refs/heads/master | 2021-01-09T09:34:59.812150 | 2014-12-06T14:06:12 | 2014-12-06T14:06:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 520 | r | plot1.R | consumption <- read.csv('household_power_consumption.txt',sep=";",header=TRUE,quote="",na.strings="?")
consumption.subset <- consumption[consumption$Date == '1/2/2007' | consumption$Date == '2/2/2007',]
consumption.subset$datetime<-strptime(paste(consumption.subset$Date,consumption.subset$Time),'%d/%m/%Y %H:%M:%S')
p... |
d366fa8b875112b4f4c43ca6761d5c6cb8ef0df6 | 1b494e164bf619370655eea371727371f5aaff2f | /man/encode_string.Rd | 1a06bc707d3999e07917697531be4956595926b8 | [] | no_license | gmbecker/gRAN | d4d1886a7b490de5f9b3bf53f2b2d7976ce6a177 | d243dc799759d491a3d0fe8eb35295e4848132e3 | refs/heads/master | 2023-06-29T19:23:31.405858 | 2023-06-13T15:40:52 | 2023-06-13T15:40:52 | 20,597,782 | 17 | 13 | null | 2023-06-13T15:40:54 | 2014-06-07T16:52:25 | R | UTF-8 | R | false | true | 411 | rd | encode_string.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Utilities.R
\name{encode_string}
\alias{encode_string}
\title{Convert string to numeric representation}
\usage{
encode_string(x)
}
\arguments{
\item{x}{String}
}
\value{
Numeric representation of string
}
\description{
Convert string to numer... |
a3b9f31ec44fb9ffadc710be5b6c1ecaae2f8330 | 53ca633e4eb38a591ed13fb3962c9ffc63791085 | /R/predictMarkov.R | ea7a6df6e8bd66ef1f199f7ea38c1dad8f6aa483 | [] | no_license | Phil1337/predictMarkov | 8875ca30a49b9c896983b3e22e8e3fc30f80b67c | 43e5f7689238f6677c247c7182ea3e3b014c9cb7 | refs/heads/master | 2021-09-05T12:03:13.979683 | 2018-01-27T08:18:30 | 2018-01-27T08:18:30 | 112,086,339 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,890 | r | predictMarkov.R | #' Take some pageviews, output Markov model prediction
#'
#' @param pageview_names A character vector of pageview names
#'
#' @return The prediction
#' @import clickstream
#' @export
predictMarkov <- function(pageview_names) {
## filter pageview_names
# remove string after and including ?
pageview_names <- sub... |
e219de2e7e2e44c8f031222f72b5ed3e77832113 | 030429449293c7e715f62508e469d839e6460937 | /ui.R | 0bb3e1004a0d835cf22778a8f4e950a305aeee79 | [] | no_license | la11soccer/RShinyPlasmidAnnotations | ba497623a9edfab616a198636520a59ade55edbd | adc38656e7752c089dd2ccd389796939baea8e94 | refs/heads/main | 2023-07-15T15:45:56.679993 | 2021-08-23T02:50:48 | 2021-08-23T02:50:48 | 307,770,292 | 1 | 0 | null | 2021-05-10T17:21:53 | 2020-10-27T16:59:15 | R | UTF-8 | R | false | false | 1,161 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
#do... |
871509ee859c6a102791da937d6cdeac09224692 | 5ced19b14ae8492943461060264ed99808cc57b9 | /tests/testthat/test-docxtractr.R | f02caadbc2ea45bf5f7994f23bfeb50e70dd8de9 | [] | no_license | markdly/docxtractr | b59ee9303602770579b4e372bd796cd282de769d | d632e81dc83e82d1814dc769a15cd4cb4ce2b529 | refs/heads/master | 2021-08-24T03:35:56.807285 | 2017-12-06T19:51:20 | 2017-12-06T19:51:20 | 112,971,996 | 0 | 0 | null | 2017-12-03T23:14:29 | 2017-12-03T23:14:29 | null | UTF-8 | R | false | false | 750 | r | test-docxtractr.R | context("docx extraction works")
test_that("we can do something", {
doc <- read_docx(system.file("examples/data.docx", package="docxtractr"))
expect_that(doc, is_a("docx"))
expect_that(docx_tbl_count(doc), equals(1))
expect_that(docx_extract_tbl(doc, 1), is_a("tbl"))
complx <- read_docx(system.file("exampl... |
5cb9b1067026438516b6263a6f1fdd34e358542c | 9bd25546a073b8fe0fb2e8070990f6d554c95d05 | /neural-networks.R | 1b2ef484f0ba2b02c89881f49f31eb0b740afed1 | [] | no_license | AdithyaSan/optic-recognition | 63a6334658f462a0cb5173392e754f1d98a12801 | 3e229a898d450f1a4b27c335adb4bf9a80fbf159 | refs/heads/master | 2021-01-20T15:58:21.061990 | 2017-05-10T17:41:42 | 2017-05-10T17:41:42 | 90,805,260 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,574 | r | neural-networks.R | #Loading the required libraries
library(dplyr)
library(neuralnet)
library(nnet)
#Reading the files train and test data
digitsdata <- read.csv("Train data location", header=FALSE) %>% as.data.frame()
testdata <- read.csv("Test data location", header=FALSE) %>% as.data.frame()
#View the data imported
View(digitsdata)
... |
32376bf8c6a7af8d41549b6242d9b5720263c56a | 54eb8c2e10ffa500a111c791120fc81aa4bed2db | /R/app_global.R | 107d18041a421e7f1286696dc6dfde10063d985b | [
"MIT"
] | permissive | nyujwc331/golemShinyApp | f6ac69a435ed57597bff01692bc1a58fdc14c177 | e14816cfa8181c5618b2c62794811bbc3ee0fda5 | refs/heads/master | 2020-12-27T21:20:32.861223 | 2020-02-05T00:57:35 | 2020-02-05T00:57:35 | 238,061,390 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | app_global.R | plotUI <- function(id, label = "Select a Species to filter the plot") {
ns <- NS(id)
tagList(
selectInput(ns("dropDown"), label = label,
choices = c(iris %>% distinct (Species)),
selected = NULL),
plotOutput(ns('plotz'))
)
}
plotz <- function(input, output, session){
... |
ff76207944b5bc477d9c3ac857934516bac6b4a0 | 31d82e5179c51b906069a79dc8e89f6a35925d2b | /Codes/Twitter Analysis.R | 7e4508522fa5c2c32e9569c0ebd97258dc776365 | [] | no_license | DSO545projectR1/DSO_545_MyLA311 | 0156f085c5f9760932cb2646d1c2aec9caf0be51 | 2bd9e7ab39a58a08eb007153ce823512f5912d08 | refs/heads/master | 2020-06-12T15:11:24.407302 | 2016-12-07T22:58:12 | 2016-12-07T22:58:12 | 75,809,980 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,389 | r | Twitter Analysis.R |
library(twitteR)
install.packages("twitteR")
install.packages("tm")
library(tm)
install.packages("syuzhet")
library(syuzhet)
library(ggplot2)
library(dplyr)
library(lubridate)
### Authenticate our app
# Get these details from application you created at app.twitter.com
api_key = "sie16JKQ2W4cee5NtZg31dDI9"
api_secr... |
6bb815f7ce613aaf6d9de1a6770141f04c1128a6 | 8c1620266dd6153048f5dec3079fc71836eea681 | /00_project_settings.R | b1539a3a912f636ee683a68042eceaba62714543 | [] | no_license | NutriNet/NN_Data_Review_2019 | cd2bac68cda4219527b3f58e3b287632a7f90870 | a688afdf0f466367e5dc4ddd7a42414d972878a9 | refs/heads/master | 2020-08-29T17:05:18.268834 | 2019-10-28T17:17:02 | 2019-10-28T17:17:02 | 218,104,673 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,073 | r | 00_project_settings.R | # Load the main packages
library(readxl)
library(tidyverse)
library(lubridate)
library(ggforce)
library(googlesheets)
library(cowplot)
# download from the google drive and save in the site folder
# this function checks if you have an updated version of Google Sheet before downloading one
DownloadGoogleSh... |
df389aac9348499ee7ab9d25ebda10cd8146fbef | 3a882c3eb6867a5ce5081747c9c538aec0d08705 | /man/aggregate.Rd | f4962e0c0c893b98b70d97bce10a522902a62c2b | [] | no_license | cran/hyperSpec | 02c327c0ea66014936de3af2cb188e9e30a4e6f7 | 4fc1e239f548e98f3a295e0521a2f99a5b84316d | refs/heads/master | 2021-09-22T07:57:28.497828 | 2021-09-13T12:00:02 | 2021-09-13T12:00:02 | 17,696,713 | 3 | 10 | null | 2016-10-31T16:36:46 | 2014-03-13T05:00:53 | R | UTF-8 | R | false | true | 3,461 | rd | aggregate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aggregate.R
\docType{methods}
\name{aggregate}
\alias{aggregate}
\alias{aggregate,hyperSpec-method}
\alias{ave,hyperSpec-method}
\title{aggregate hyperSpec objects}
\usage{
\S4method{aggregate}{hyperSpec}(
x,
by = stop("by is needed"),
... |
bafd38cd4e2e0351e5f3807ee5904a01fa0465dd | 315af6191046d18fa8856566add85b1586b052f4 | /Code/Fertilizer and Yield/C_EEF_fert_yield.R | afb210368f4b66e89c7f96bd45160114309336e7 | [] | no_license | twilli2/n2oflux | 40e1fbf12919b33d366800eacec62049d0347f97 | 73f0e143bfab81f458f7e1c2d02d9df228ed4226 | refs/heads/master | 2021-01-03T14:43:57.948139 | 2020-02-12T21:01:23 | 2020-02-12T21:01:23 | 240,113,520 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,690 | r | C_EEF_fert_yield.R | library(tidyverse)
library(dplyr)
library(ggplot2)
library(readxl)
#C:/Users/twilli2/
fert_data <- read_excel("C:/Users/twilli2/Dropbox/Lab data/S Willamette GWMA Dropbox/Fert-Yield data/Fertilizer Plans.xlsx",
sheet = "total fert", col_types = c("date","text", "text", "numeric", "numeric",
"numer... |
7ec7e42857595e31de4bf5f80821adb2d36f7d71 | 6278ae94cd7fdca1846b0dbacd93f62cbde4b278 | /src/financial/01_getacs.R | 3a9a1d89210d5e0426dc76732aa5df75be5c7b9d | [
"MIT"
] | permissive | uva-bi-sdad/capitals | 2a0cc445231558534b18a40c05a17a46b155f34f | 4913d8fc79a362016bdb258d04e2a22029e93593 | refs/heads/master | 2023-05-04T20:05:11.266666 | 2021-05-29T16:48:19 | 2021-05-29T16:48:19 | 290,484,318 | 1 | 4 | null | 2020-11-10T19:59:54 | 2020-08-26T12:01:20 | R | UTF-8 | R | false | false | 2,931 | r | 01_getacs.R | library(tidycensus)
library(tidyverse)
#
# API key ------------------------------------------------------------------------
#
# installed census api key
readRenviron("~/.Renviron")
Sys.getenv("CENSUS_API_KEY")
#
# Get data ------------------------------------------------------------------------
#
# Select variabl... |
fe4e8ad2a5953fbfded9d5f7dcc045830c1ef971 | 05f1b9b7010b9558ef0d77477071b584ed59617d | /theses/sarah-thesis/Charts/charts.R | 957c406a67deb30c95c4d55fa654066e46f38c2e | [] | no_license | sfu-cl-lab/our-papers | 5194920eea72b4d82a5c8f942dc203a2973b584b | 65e366218e85ce49e6a03682e172f91065ab8b0f | refs/heads/master | 2023-07-07T11:13:53.496207 | 2023-06-29T22:01:58 | 2023-06-29T22:01:58 | 74,601,085 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,619 | r | charts.R | pdf(file='/local-scratch/SRiahi/iii/newPropose/propositionalization/Charts/lowcorrelation.pdf')
data<- read.table("/local-scratch/SRiahi/iii/newPropose/propositionalization/Charts/lowcorrelation", header=TRUE, sep="\t")
barplot(as.matrix(data), beside=TRUE, main="AUC value of different methods - Low Correlation Synthe... |
1b7aae14cbd479b27331837dfc1627c3a923c94d | 09c775e8b6e5768ec7cd4a221cc7c63ddbf8f10f | /week11/scraping_example_r_only.R | 2d07903578989d1e03920858a5681d40fafe86f0 | [] | no_license | lse-my472/lse-my472.github.io | f1fda05e16f29f59e43d410415d6a00a4bbf4fa4 | ac4426a0837a60e71658e2808d13c816023385c2 | refs/heads/master | 2022-12-15T10:54:50.025616 | 2022-12-08T13:08:59 | 2022-12-08T13:08:59 | 144,271,243 | 45 | 128 | null | 2021-11-29T11:45:43 | 2018-08-10T10:13:46 | HTML | UTF-8 | R | false | false | 3,202 | r | scraping_example_r_only.R |
##
## Continuous scraping: Approach 1
##
# This script illustrates continuous scraping with a cloud instance by
# collecting the Wikipedia featured article of the day once every 24h interval.
#
# The example is helpful for us to discuss a simple case of continous scraping,
# however, note that the code would require ... |
5df41f192a1b6fe27782976f3df5104d6a860906 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlegamesv1.auto/man/turnBasedMatches.rematch.Rd | e08d260ead2fcf6ce42b98431b2e9e1d72a78494 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,407 | rd | turnBasedMatches.rematch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/games_functions.R
\name{turnBasedMatches.rematch}
\alias{turnBasedMatches.rematch}
\title{Create a rematch of a match that was previously completed, with the same participants. This can be called by only one player on a match still in their l... |
11fa81d1a938ad5ea2b75d8ff8f995ad36a8a78c | 951cadf0d812951ab1b933302ec992269b86586a | /run_analysis.R | ec433f0f01e86b91a5d13a789c7eda47084564ea | [] | no_license | ASabate/CourseraGettingAndCleaningData | ba30966c68b1c939b7eb18de9b171e607aa6d51b | b7cf87d6d95bc9b960f56a58be334f18fc2de9ca | refs/heads/master | 2021-01-13T00:42:32.919991 | 2015-11-28T21:27:22 | 2015-11-28T21:27:22 | 46,680,088 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,591 | r | run_analysis.R | ####################################################################
# Getting and Cleaning Data Course Project, from Coursera
# Date: 22/11/2015
####################################################################
library(plyr)
# Load activity labels
activity_labels <- read.table("UCI HAR Dataset/activity_labels.txt"... |
b757c5ce0266f6c1919c1951327e3cf52f7fd229 | cdd4279fbbf16d407cff257bcb28f770a699912c | /utility_based_caching/scenario_generation/graph_gen/barabasi.r | 8f3a2b67ee99c3474e6269a65a54bd9bfdf5e4ef | [] | no_license | andreaaraldo/araldo-phd-code | 45aca2281c54318cb2df664f8ac1c30980ebd710 | 2d6538bae0a6df30a0a428b5142be34077f0e38e | refs/heads/master | 2020-04-06T06:19:35.960188 | 2019-07-05T12:57:13 | 2019-07-05T12:57:13 | 33,357,328 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,014 | r | barabasi.r | #!/usr/bin/Rscript
args <- commandArgs(TRUE);
if(length( args )!= 4 )
stop("correct usage:\n\t barabasi.r <size> <tier3_cardinality> <capacity> <topology_seed>")
size = as.numeric(args[1] ); # number of nodes
tier3_cardinality = as.numeric(args[2] );
capacity = as.numeric(args[3] ); # link capacity
topology_seed = a... |
e7e4c133c1e90fb01575dea6d8b99d9da0e789e6 | d9736711c9c01c91218f9bb06b5a81498014cf0b | /R/strand_from_vcf.R | c87158027e043a5d78a4bde97100f85b5e1c84f2 | [
"MIT"
] | permissive | Biocodings/MutationalPatterns | 6c3819ecca88b1e51f6d41510504c3960e60f217 | 5698fb9abb7c61e54c05b37df4e7f131c1ba5c28 | refs/heads/master | 2021-01-20T07:13:39.640056 | 2017-05-01T12:08:32 | 2017-05-01T12:08:42 | 89,982,167 | 2 | 0 | null | 2017-05-02T02:16:44 | 2017-05-02T02:16:44 | null | UTF-8 | R | false | false | 4,861 | r | strand_from_vcf.R | #' Find transcriptional strand of base substitutions in vcf
#'
#' For the positions that are within gene bodies it is determined whether
#' the "C" or "T" base is on the same strand as the gene definition. (Since
#' by convention we regard base substitutions as C>X or T>X.)
#'
#' Base substitions on the same strand as ... |
b2eac8ad061b4493d44163786863cd5165b5d78e | 8d36791af234243d9cbed6d8c5091b03dda8b608 | /secondscript.R | 3ced1ee14cf410704b7901e0ba82421d2b9b2b30 | [] | no_license | acannis/gitDemo | d63d4c44d381b311ff7f9cfa606183c13f4754cc | d2931ce32ae18f6a86af30ad221b39775e66c097 | refs/heads/main | 2022-12-28T23:35:01.658986 | 2020-10-13T21:17:54 | 2020-10-13T21:17:54 | 303,831,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 46 | r | secondscript.R | # this is the second file
x=(pi-3.14)
print(x) |
0a38372221a6d0dc135ed73cd0dc728458553343 | 417c893217ff9daea613f878599030cbda775658 | /SU_kinematics_dataload.R | eb14c873dd5487092c4cdadff9109a9ca8597dc3 | [] | no_license | lionwarriorjr/Operator | edf09497b97b6771b9952253fcc54f4b1d9976b8 | 929a7978d949792774bff758c02a9a198362eb88 | refs/heads/master | 2021-01-24T08:18:38.091684 | 2016-09-25T14:30:28 | 2016-09-25T14:30:28 | 69,141,640 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,886 | r | SU_kinematics_dataload.R | require(plyr)
require(dplyr)
require(MASS)
require(ISLR)
require(leaps)
require(glmnet)
require(caret)
require(e1071)
require(depmixS4)
setup()
setup <- function() {
#Script to load Suturing Kinematics dataset, metadata and its transcriptions
setwd("/R Projects/temp/SU_kinematics/Suturing/kinematics/AllGestures")... |
706d3996ae430fd1e2090303e80dcf7feb9ed6fc | ed6b8a6f4a8a7dcf38d3632451ca01419fd7bebf | /man/str.len.Rd | ae0c64f63d8fc1387eb0ca910b0b16bf5db0ca1f | [] | no_license | skranz/stringtools | 8ab0ee094e3edf837a5b95cb81ba6f5b084f6505 | 8a37e75f057c7af3a0b115bd1e82ae66c91a0579 | refs/heads/master | 2022-05-22T02:36:16.012223 | 2022-05-04T20:28:27 | 2022-05-04T20:28:27 | 12,137,116 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 182 | rd | str.len.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{str.len}
\alias{str.len}
\title{a synonym for nchar}
\usage{
\method{str}{len}(str)
}
\description{
a synonym for nchar
}
|
8036024570f196a1c60d1a5909a21735a7f621ae | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /economics/project-bid/proj-bidding.R | 19444999e7d066806b3f7ec4b135e2ba7ea0e78f | [] | no_license | Derek-Jones/ESEUR-code-data | 140f9cf41b2bcc512bbb2e04bcd81b5f82eef3e1 | 2f42f3fb6e46d273a3803db21e7e70eed2c8c09c | refs/heads/master | 2023-04-04T21:32:13.160607 | 2023-03-20T19:19:51 | 2023-03-20T19:19:51 | 49,327,508 | 420 | 50 | null | null | null | null | UTF-8 | R | false | false | 3,753 | r | proj-bidding.R | #
# proj-bidding.R, 3 Jun 14
#
# Data from:
# An Empirical Study of Software Project Bidding
# Magne Jørgensen and Gunnar J. Carelius
#
# Example from:
# Empirical Software Engineering using R
# Derek M. Jones
source("ESEUR_config.r")
a_pre=read.csv(paste0(ESEUR_dir, "economics/project-bid/project-bidding.a_pre"),... |
cf2a3d33465146ce5efc286a60561c8d753b079c | 246ebd6fce5f1ea3d51fbdecb4b397af734b3d45 | /server.R | b51ae861525c079c32e8f3b505102d61f70603b6 | [] | no_license | Frank-Sw/website-building-in-rmarkdown-and-Shiny | fa6ec8810d82135d58ea3d2fbfab7db585e379ea | 0348b77224d18ea67862e123fd9face3158c6142 | refs/heads/master | 2020-04-07T02:48:45.976803 | 2017-07-03T09:45:22 | 2017-07-03T09:45:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,093 | r | server.R | #R group
require(shiny)
shinyServer <- function(input, output) {
res=eventReactive(input$submit,{
name=as.character(input$name)
minHp=input$hp[1]
maxHp=input$hp[2]
res=mtcars
if (name!="") {
res=mtcars[name,]
}
res=res[res$hp<maxHp & res$hp>minHp,]
... |
44529338a7e414a9b8a139f92a77a9f3df55bf05 | 64098b83f218221064dacb4307f9b844e9a70373 | /R/mext-contract.R | 29840cbd267d29af0e5d2dfe5f9ace2c01e479b9 | [
"MIT"
] | permissive | takuizum/irtfun2 | 07800c5e6abeb9eb1892724582be7b9ed2202387 | def9eac15a1150804f3702cf3f84df1c638a1c38 | refs/heads/master | 2021-07-19T00:29:21.794826 | 2020-05-06T09:28:05 | 2020-05-06T09:28:05 | 151,583,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,375 | r | mext-contract.R |
#' a function generates conditional probability for fixed ability on 2-parameter logistic model
#'
#' @param trait a vector of theta in IRT.
#' @param a a slope parameter
#' @param b a location parameter
#' @param c a lower asymptote parameter
#' @param D a factor constant
#' @author The original Fortran77 pro... |
6d674ec22196f566126d1faa30a83825fbf61ab9 | c7a7e02bfe49d5195cda8cf973b09c24e3094b15 | /NAM_250m_ensemble_4classes.R | 7a49027948ad0fa8a1fe266f605714d63741dc57 | [] | no_license | iSDAgri/AlexVerlinden | 836af00bae78d90da2e3fb52c442ac5eb8f983d3 | 867fbbf57c06a9a4b0347e2df398fa127c76315a | refs/heads/master | 2021-05-04T13:07:43.265314 | 2017-05-07T13:35:24 | 2017-05-07T13:35:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,091 | r | NAM_250m_ensemble_4classes.R | #' Prediction and local elastic net stacking of Namibia 10 k GeoSurvey woody cover classes predictions with additional Namibia 30 k GeoSurvey test data.
#' Modified by Alex Verlinden April 2016 after M.Walsh & J.Chen, April 2015
# This code models multiclasses of woody cover A=0 , B=0-10%, C= 10-30%, D=30-60%, E>60%
#+... |
18a6c117fa75775a822abb326e90ccd520c0b937 | 63f41cb145d21943bb010538becdfab5767a8714 | /R/gbm_plots.R | a6fe54accb0a27836354501aaa0ee490708a472f | [] | no_license | Daniel-Fuckner/Consulting | 69e55f345c892eaf49718b97120ec698b1168161 | 8e095dfeaacdc92fb4717222b42671338d08a70f | refs/heads/master | 2016-09-05T15:14:04.700223 | 2014-08-22T14:17:43 | 2014-08-22T14:17:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,433 | r | gbm_plots.R | rm(list=ls())
#load packages
library(data.table)
library(gbm)
library(ggplot2)
library(scales)
library(reshape)
#load results
# load("C:/Users/Markus/Desktop/plotsData/gbm5_8.RData")
load("Z:/consulting/r_results/gbm5_8.RData")
trainIdx = res[[1]]
model = res[[2]]
pred = res[[3]]
res1 = res[[1]]
res2 = res[[2]]
res3... |
88e9306d40bf0567a05d03dba1e665712127143e | 66f368728041f6f234f74bd2882f48693f190c3f | /conditional.R | da98679034c401da9502a9323a5d641012d4ced5 | [] | no_license | williamfried/Joint-Probability-Distribution-of-Atmospheric-Gravity-Wave-Parameters | c97d9670bbabff333078f44721a441f6fa3ae986 | 1a05ef47cb98f0a460d3ba554b577bf02a1a4c7d | refs/heads/master | 2021-08-27T20:54:40.825311 | 2021-08-21T22:07:32 | 2021-08-21T22:07:32 | 177,266,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,367 | r | conditional.R | setwd(path_to_data)
source('functions.R')
library('mixR')
library('stringr')
library('dplyr')
MLE_list = list(normal_MLE, lognormal_MLE, gamma_MLE, weibull_MLE, rayleigh_MLE, gumbel_MLE, burr_MLE, dagum_MLE, invgamma_MLE, genray_MLE, generalized_normal_MLE, polynomial_MLE)
names(MLE_list) = c('norm', 'lnorm', ... |
3c95f53745e1bf4f824bf108b0b477cb23e37603 | aab676f026945eceba5b5cda9c783654f4f01b01 | /download_data.R | 8e661817bd05b659fed2e6ef64adad0033308b2c | [] | no_license | shudengnyc/human_methylation_data | 237c194cccf082647c53638998fe689d9acdc460 | e8d2f847c375a946efd88f201e0a4fe87ce69b88 | refs/heads/master | 2020-05-18T22:08:35.282813 | 2019-05-09T16:01:38 | 2019-05-09T16:01:38 | 184,683,293 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 85 | r | download_data.R | library(MethylMix)
Download_DNAmethylation(CancerSite = "OV", TargetDirectory = ".")
|
5ea4de7cbe41acc997679e472423d4b8201e66ba | 124df74bd27893e5d0de7f6ea48f5b2d7ac34c4f | /Chapter13/R/03-score-dataset-using-tidymodels-model.R | 266ec070e99c0cefff0ad2797a843507bc006f92 | [
"MIT"
] | permissive | Micseb/Extending-Power-BI-with-Python-and-R | 5dc3cf4051312e4d0e5bc915c17c8bb735e0a39b | 12791b8f1499f70c9c7b0c9aeb2016d12e41f845 | refs/heads/main | 2023-08-24T07:08:43.000627 | 2021-11-01T07:50:24 | 2021-11-01T07:50:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 402 | r | 03-score-dataset-using-tidymodels-model.R | library(readr)
library(tidymodels)
project_folder <- r'{C:\<your-path>\Chapter13\}'
titanic_testing <- read_csv(file.path(project_folder, 'titanic-test.csv'))
# Unserialize the model previously trained
rf_final <- readRDS(file.path(project_folder, r'{R\titanic-model.RDS}'))
# Get model predictions for the input da... |
dff853c8b762d642c799db26d1ff16842af06f2a | bb9604e7a0be12fb3e259e990695f6e1d222e57d | /man/GTEX_LIVER_CRUDE.Rd | 2daa3efbf68e95adb224748f8860873f2310c4f0 | [] | no_license | ManuelGoepferich/LINC_justlinc | 0323374a04cc8a86f69b7a7c0f081ad7ec3a834d | 4d672fac3b4d4ef718f5853918638ad4e2d36ecc | refs/heads/master | 2020-12-03T07:41:27.495279 | 2016-08-17T13:50:34 | 2016-08-17T13:50:34 | 66,368,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 516 | rd | GTEX_LIVER_CRUDE.Rd | \name{GTEX_LIVER_CRUDE}
\alias{GTEX_LIVER_CRUDE}
\alias{LIVER_EXPR}
\docType{data}
\title{
mRNA Expression Of Normal LIVER From GTEX
}
\description{
mRNA expression in LIVER
}
\usage{data(LIVER_EXPR)}
\format{
A matrix
}
\value{
gene expression matrix
}
\source{
http://www.gtexportal.org
Genotype-Tissue Expression ... |
bd909468de16f494c65dfb03a9a69e1c2e67e25f | 789dd3039ae8c7a1b29582e563c66f2f3b573e9b | /VIZ/raymat.r | 1aabbb7737e17f5848a04a111868d652d4cbcb7f | [] | no_license | Aurametrix/R | 44ecb2969e0eb39120176692761304adae7a3539 | affb2b2e06b94ff8a1c8d552aa3b996b0158911f | refs/heads/master | 2023-01-31T22:28:15.893079 | 2023-01-27T01:17:57 | 2023-01-27T01:17:57 | 16,440,534 | 4 | 3 | null | null | null | null | UTF-8 | R | false | false | 867 | r | raymat.r | library(rayshader)
#Here, I load a map with the raster package.
loadzip = tempfile()
download.file("https://tylermw.com/data/dem_01.tif.zip", loadzip)
localtif = raster::raster(unzip(loadzip, "dem_01.tif"))
unlink(loadzip)
#And convert it to a matrix:
elmat = matrix(raster::extract(localtif,raster::extent(localtif),... |
21606bb4d45e3863c269edd398a8ef6abb0fc29d | f464a388b87c7c9d0af4e25d693c7fb9879ebd29 | /PH125.4 Inference and modeling/R code/POLL DATA AND POLLSTER BIAS.R | e3600b56a3d99a244706742b6c7eac549d905fb9 | [] | no_license | alvarobarbera/HarvardX-PH125-DataScience | 5e57e8d5d36bc57992fbf9a6477a51465ef5fc02 | 1a152f47b20131d71bc61ac94282867843f5a3ae | refs/heads/master | 2022-07-12T09:21:19.496692 | 2020-05-15T08:37:51 | 2020-05-15T08:37:51 | 260,189,883 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,751 | r | POLL DATA AND POLLSTER BIAS.R | data("polls_us_election_2016")
# Filter out US, data after 31 Oct and upper grades or no grade
polls <- polls_us_election_2016 %>%
filter(state == "U.S." & enddate >= "2016-10-31" &
(grade %in% c("A+","A","A-","B+") | is.na(grade)))
# include a column for spread
polls <- polls %>%
mutate(spread = ra... |
98244f6395d3432dfb0682c964fc56632154bb80 | 05ffda84f992287c02bb55c82029bc995d57be37 | /R/rollDbn.R | 202929fbca949cc6d8080d5e067fe77c0f1c553b | [] | no_license | sap01/TGS | b933928a291d3cc2c3d1d2a6b825971dc758d64f | c639074ec5d4e734ad00bbec1d713e60ae75b181 | refs/heads/master | 2021-07-13T21:07:53.655812 | 2020-05-22T14:04:41 | 2020-05-22T14:04:41 | 139,746,838 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,499 | r | rollDbn.R | #' Convert a given unrolled Dynamic Bayesian Network (DBN) into a rolled DBN using different rolling methods
#'
#' Rolls time-varying networks into a single time-invariant network.
#' This function is compatible with the time-varying networks learnt through
#' learnDbnStruct3dParDeg1.R::learnDbnStructMo1Layer3dParDeg1(... |
9889afe530d1284313b5ae5efc9edbe05aeb91d6 | 1ff5957bcdea934cd13460d578227a7d9adc5910 | /man/mapToDiscreteTime.Rd | 2875292d6cdc84b096e1817352de72f096c27d5f | [
"MIT"
] | permissive | jarrod-dalton/discretetime | 40c0c91da79c4cda096a1fdca509bb46df8f20f0 | 9c073e8f5cd5e74fe5b01cc605be65e34bd9296b | refs/heads/master | 2021-05-11T14:11:49.280770 | 2018-01-16T17:54:59 | 2018-01-16T17:54:59 | 117,697,769 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,379 | rd | mapToDiscreteTime.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mapToDiscreteTime.R
\name{mapToDiscreteTime}
\alias{mapToDiscreteTime}
\title{Map Irregular Data to a Discrete Time Grid via Interpolation}
\usage{
mapToDiscreteTime(data, xvar = "value", timevar = "t", start, end, dt,
method = "constant", ... |
a4c893601e77bb78da985c894456679afde0abed | d97e2169ce9cd893920a54cffa3e754d1e309e6f | /man/calc_pls_args.Rd | 6df3c372aaa68686ef967cd3af8eda2326eee2fe | [] | no_license | bpollner/aquap2 | 5ccef0ba4423413e56df77a1d2d83967bffd1d04 | 7f7e2cf84056aad4c8a66f55d099b7bdaa42c0be | refs/heads/master | 2021-07-22T15:07:22.912086 | 2021-05-27T12:50:22 | 2021-05-27T12:50:22 | 30,932,899 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 4,348 | rd | calc_pls_args.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_plsr.r
\name{calc_pls_args}
\alias{calc_pls_args}
\title{Calculate PLSR - Arguments}
\arguments{
\item{do.pls}{Logical. If used in \code{getap}, if PLSR models should be
calculated with a given dataset.}
\item{pls.regOn}{NULL or charac... |
2582835555c6a499d649a80ea3778bd316b4e754 | c2a6015d964e0a004fa4ac9c59df8aed039cc4fc | /R/setCaptionNumberingKnitrHook.R | 0826594aaf2d5d9ee3667012291154679d55360b | [] | no_license | cran/ufs | 27083e54b6e4c89f802c4de9218dbbd7c7d4260d | 74bcfb60160bced552d79d301b739bb965d1a156 | refs/heads/master | 2023-06-23T09:48:11.331297 | 2023-06-09T15:30:03 | 2023-06-09T15:30:03 | 145,907,951 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,544 | r | setCaptionNumberingKnitrHook.R | #' Set a knitr hook for caption numbering
#'
#' Set a knitr hook to automatically number captions for, e.g., figures
#' and tables. `setCaptionNumberingKnitrHook()` is the general purpose
#' function; you normally use `setFigCapNumbering()` or `setTabCapNumbering()`.
#'
#' @param captionName The name of the capti... |
78a4d53da2d15ec25c1ea9b3a9a5381b141ccc3b | 512ee36607bbfde0f74429fabee54a004352875c | /code/autodetec.R | 5066b8a999d79b6b765f1b12157bb9efee0e7b66 | [] | no_license | fsfelix/tcc | 7d930aef125b7f6ee94f2335be45a9932bbf8c94 | 2394b5de32b36554657ba868be8c29ea0e7e89ee | refs/heads/master | 2021-03-24T12:28:12.855753 | 2017-12-05T14:12:09 | 2017-12-05T14:12:09 | 91,889,044 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 30,947 | r | autodetec.R | #' Automatically detect vocalizations in sound files
#'
#' \code{autodetec} automatically detects the start and end of vocalizations in sound files based
#' on amplitude, duration, and frequency range attributes.
#' @usage autodetec(X = NULL, threshold = 15, envt = "abs", ssmooth = NULL, msmooth = NULL,
#' power =... |
fd7c258c7eaa2be3e26377220d79a8facf511b01 | 644b8fb5d5dc672e3f77e0f10793cfd01915f3b1 | /BMLGrid.Rcheck/tests/testthat/testRunBMLGrid_cpp1.R | ca7ac3824caa932cfde219c9f0d4a4d3e303753b | [] | no_license | huragok/STA242HW4 | ff74c279fdd2ed6d2ea92c3faa3904c97fd3601e | c82ac2a36fffdbaf42d09b0a2cfd7e9ccbfeb85f | refs/heads/master | 2020-03-29T21:50:23.238586 | 2015-05-12T03:37:30 | 2015-05-12T03:37:30 | 35,847,189 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,200 | r | testRunBMLGrid_cpp1.R | library(BMLGrid)
context("Run BMLGrid simulation in c++")
# Illegal inputs will cause an error directly due to c++ strict typing
g <- createBMLGrid(0, 0, c(red = 0, blue = 0))
g.out <- crunBMLGrid1(g, 0)
test_that("Degenerate cases", {
expect_equal(nrow(g.out), 0)
expect_equal(ncol(g.out), 0)
expect_equal(sum(1... |
ef1d3a0d896e754a7d21866eef811f925c14b9bf | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googleadexchangebuyerv14.auto/man/Buyer.Rd | 6d00876aee57156675c1a58cf0e53866f63d32b8 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 393 | rd | Buyer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adexchangebuyer_objects.R
\name{Buyer}
\alias{Buyer}
\title{Buyer Object}
\usage{
Buyer(accountId = NULL)
}
\arguments{
\item{accountId}{Adx account id of the buyer}
}
\value{
Buyer object
}
\description{
Buyer Object
}
\details{
Autogenerate... |
15721af3614a89cae071255f79730ea190f40d90 | 5ff2a3097691efac719ac50e3be4eca3627e860e | /man/action.Rd | b2e86ca4fcac7599f383fc7654299eeebadf0ebf | [] | no_license | AlgoSkyNet/rj | c0f991041446aee9a00a97a451ab1b09091b7c0e | 6e000df51ea1ceab28c4e6d78b8ad40d9acb5e7e | refs/heads/master | 2021-04-24T04:23:29.281090 | 2020-03-09T03:05:13 | 2020-03-09T03:05:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 856 | rd | action.Rd | \name{update_status}
\alias{accept}
\alias{reject}
\alias{update_status}
\alias{withdraw}
\title{Update the status of an article.}
\usage{
update_status(article, status, comments = "", date = Sys.Date())
reject(article, comments = "", date = Sys.Date())
accept(article, comments = "", date = Sys.Date())
withdraw(arti... |
dab93945cd543b8931b2095430fb6950be16adaa | e59a11834b12ffc260d068b8478416beac8adb5d | /man/find_db.Rd | 84141e7f38754d9f7ff54f8b5d38f9bec565f84e | [] | no_license | slevu/garel | c9f3020a35f4653695cfd9af1b421aca9a21f758 | 50ef9d6234cc1d0627c2ff1cea55d40af0270094 | refs/heads/master | 2020-03-20T02:02:40.739987 | 2019-02-28T11:58:11 | 2019-02-28T11:58:11 | 137,097,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 432 | rd | find_db.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dnabin_functions.R
\name{find_db}
\alias{find_db}
\title{Find BLAST database}
\usage{
find_db(infile = "path.msa", dbdir = "blastDB", verbose = TRUE)
}
\arguments{
\item{infile}{Path to MSA}
\item{dbdir}{Folder of BLAST databases}
\item{ver... |
3b0074c91083db64f252b8b289a7c753f254804c | f687a4ebaa56b56d1b2930a5c3e37c5ca2ad1fd9 | /man/myplot_combine.Rd | a2d834d97fb6bca058b5d911c9c73b76b02e6f8e | [
"MIT"
] | permissive | Telogen/txm | 48e1b5588d748c48da744d30cc323b03d5984927 | 0b0fece9a16f3f879fa3874a29bf3736a9e3ef39 | refs/heads/main | 2023-07-07T06:45:02.752496 | 2023-06-28T08:57:33 | 2023-06-28T08:57:33 | 202,585,480 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 238 | rd | myplot_combine.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/myplot_ggplot.R
\name{myplot_combine}
\alias{myplot_combine}
\title{Combine several ggplots}
\usage{
myplot_combine()
}
\description{
Combine several ggplots
}
|
9d4cc3ca5e425aba4b17ebd29ddbc1c2d6d1a63e | 9bbc486e62be782fa7c46b4339a23763b08a98e2 | /man/pre_factor_to_logical.Rd | e9f3018d42f1815cbfbcf6b97b04ed48ee3169da | [] | no_license | cran/emil | fd72078935ff24d7de02d0b96a98d196be748002 | 79b73221a96f8cf7930a137939d370c730192111 | refs/heads/master | 2021-01-18T22:29:42.902522 | 2018-07-30T11:00:06 | 2018-07-30T11:00:06 | 22,472,758 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,276 | rd | pre_factor_to_logical.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocessing.r
\name{pre_factor_to_logical}
\alias{pre_factor_to_logical}
\title{Convert factors to logical columns}
\usage{
pre_factor_to_logical(data, feature, base = 1L, drop = TRUE)
}
\arguments{
\item{data}{Pre-processed data set, as pr... |
67dc961f456eb2f79de34d72cd62d4578a55ca49 | 26c9badc0e8b56e041bd77259d3772cea3d4747a | /tests/testthat.R | 9db8afdfa3472338347f4226de32d15c4e395669 | [
"MIT"
] | permissive | five-dots/rutils | 067756e4060e39b3795f66d2d4c67eae0859e702 | 03d304b84e8db7c233f0b3715e05d8d0b851e39c | refs/heads/master | 2020-06-09T12:53:17.374791 | 2020-04-08T05:48:54 | 2020-04-08T05:48:54 | 193,440,847 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(rutils)
test_check("rutils")
|
3571ca757b92ba952b8adfc1af49e79b88a0c23e | 92064c36d8f28bdcd0ef8fb5e4e1ba0f3d028c48 | /R/factorize.R | 0c77ac531f90b7c6b55b30f34840e63b31fb0b92 | [] | no_license | philxiang/arulesCBA | 02d7413b497b7d4698c245458fd7911da54c2132 | 7751748ee413ff6b769bc81b9dbebb11ce549e30 | refs/heads/master | 2021-01-17T13:08:30.481437 | 2017-04-03T19:19:05 | 2017-04-03T19:19:05 | 95,408,274 | 0 | 0 | null | 2017-06-26T04:23:21 | 2017-06-26T04:23:21 | null | UTF-8 | R | false | false | 585 | r | factorize.R | factorize <- function(formula, data, method="cluster", categories=10){
formula <- as.formula(formula)
class <- as.character(formula[[2]])
if(as.character(formula[[3]]) != ".")
stop("Formula needs to be of the form class ~ .")
cols.to.discretize <- (colnames(data) != class & unlist(lapply(data, is.numeric)... |
253e8eb2f2b28d42ebd647bb9230b3af8f3836af | a087ca2adce2f03f5706f25c9849737a811dc73e | /corsicacombo/ui.R | e07f4c9c966ae7e6b03b74e11b1b2df3ad6be654 | [] | no_license | pbulsink/Apps | ecc37ecd8a8740ded552747302020bb6b4a394bf | 40a13e2fc75ec4d88e18dfd7988ee27922c1dfd1 | refs/heads/master | 2021-01-12T05:27:56.883481 | 2016-03-18T22:56:53 | 2016-03-18T22:56:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,935 | r | ui.R | ########################################################################################################################################################################################################
######################## TESTING ######################################################################################... |
2e3af8139f47df164094cfe7c83ebe35863bb5d1 | aade6e3b9887f3b74e4ac75584c007be82f9fb23 | /man/get_cumulative_sum.Rd | 1bc9f683181a332ea5505bb1da1c18690d90ee00 | [
"Apache-2.0"
] | permissive | Dxiaomai/conta | da0b02e62a6aaa9167d14e7374670cf847605dce | cf17f9010068266ead3176098b714ec84b8f159e | refs/heads/master | 2020-09-08T14:38:58.695204 | 2019-11-07T18:57:20 | 2019-11-08T18:29:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 324 | rd | get_cumulative_sum.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conta_graphics.R
\name{get_cumulative_sum}
\alias{get_cumulative_sum}
\title{Get cumulative sum of a set of numbers}
\usage{
get_cumulative_sum(v)
}
\arguments{
\item{v}{vector of numbers}
}
\description{
Get cumulative sum of a set of number... |
4d766a545266039a46c5c6f027bd34e719fd30c1 | 17fdd34b68df267b8262d532adddba733879b0b8 | /man/predict.pp.Rd | dc44388cb23b9916705dc61d2a9fae7ae5c9503a | [] | 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 | 260 | rd | predict.pp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/glmnet_utils.R
\name{predict.pp}
\alias{predict.pp}
\title{predict preProcess}
\usage{
\method{predict}{pp}(pp.res, newdat, apply.prefun = TRUE)
}
\description{
predict preProcess
}
|
2a17398dddfbc33974003f1ef68c38ce73abc4cf | afc1a7a38eb2ba8d2cd6e91032102d0acb2911d1 | /R/moviefinder.R | 095c19d77ada7d797285011c27243a7ddae66fa2 | [] | no_license | Ollie-gnodde/moviefinder | b26901abc9105cdbe583a2e88b570655320ee0b3 | 3014b23a2654dd86d4de5c0fb376a7b36e86fe15 | refs/heads/master | 2020-12-02T22:14:38.752253 | 2017-07-07T13:26:58 | 2017-07-07T13:26:58 | 96,100,329 | 0 | 2 | null | 2017-07-03T11:22:17 | 2017-07-03T10:40:54 | R | UTF-8 | R | false | false | 485 | r | moviefinder.R | #' The Movie Finder function
#'
#' This package has 2 functions, Discovr and search.
#'
#' The Discovr package helps you to find movies that you wish to watch based on 4 inputs.
#' These 4 inputs are genre, minimum imdb rating, main actor and director.
#' The function is called by movie_disc()
#'
#' The second function... |
c857163642ef3c16fb944313438c55d3ae4cd78f | 49a842bbdcc72a4c7a022ecb526e84d926f7dda9 | /class_3/quiz_2/main_quiz_2.R | ae94cc567295a9137a1640f29c741bdf807022df | [] | no_license | JAVIS25/JHU-Coursera-Data-Science | b3c4f6af82b11bd977daa02e3e18a69d2b91405a | cbe19a38548eb33b43be428922bc60eacd169221 | refs/heads/master | 2022-02-13T19:41:04.399779 | 2018-01-25T06:28:42 | 2018-01-25T06:28:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 736 | r | main_quiz_2.R | library(jsonlite)
library(httpuv)
library(httr)
library(XML)
key = "bd807dc7a8261ec392fa"
secret = "f9d6b9cd11555ae9f3e051b96035c4b2488e58c2"
myapi <- oauth_app("github",
key = key,
secret = secret)
github_token <- oauth2.0_token(
oauth_endpoints('github'),myapi)
req <-
GET... |
5a08d3bcc3f894dcd1d61f2c2c384702750932f8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rstanarm/examples/posterior_vs_prior.Rd.R | 1e5594145b71b25799c2ad1682fc00a778b31649 | [] | 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 | 2,596 | r | posterior_vs_prior.Rd.R | library(rstanarm)
### Name: posterior_vs_prior
### Title: Juxtapose prior and posterior
### Aliases: posterior_vs_prior posterior_vs_prior.stanreg
### ** Examples
## Not run:
##D if (!exists("example_model")) example(example_model)
##D # display non-varying (i.e. not group-level) coefficients
##D posterior_vs_pri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.