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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6cc2758698ccb057afc20d73c6c633365524b1cd | af5841763d8f0fdd5ca28114ff78324b5dbaa36b | /man/extract_date.Rd | 1d255f3dd97be6509092a21abc3d58c677a2b77b | [] | no_license | RJHKnight/TCALoader | fe8a56973c3303ef880450952bc9677b2074a49e | be8ea6a376c0730c6e9047df85c4ef0893a5fa48 | refs/heads/master | 2021-03-28T15:56:16.465896 | 2020-10-13T05:31:00 | 2020-10-13T05:31:00 | 247,876,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 359 | rd | extract_date.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Java Date Format.R
\name{extract_date}
\alias{extract_date}
\title{Convert java date / time into a Date}
\usage{
extract_date(java_date_strings)
}
\arguments{
\item{java_date_strings}{list of datetimes}
}
\value{
parsed Dates
}
\description{
... |
044c5a03fa246e8cecac107c7e6c089f29def3b2 | 72050e80c34429148728bc27e93a474045c3a387 | /R/trainNN.R | 124b55a37eb4e5776922daefa06853198d348f61 | [] | no_license | cran/foster | f19407721792cb12f51851dd83939396a69007f4 | 9f78bb6370d6904d890eed2d3a8be729e7cb0dc6 | refs/heads/master | 2023-03-28T10:24:23.302542 | 2021-03-30T10:40:05 | 2021-03-30T10:40:05 | 310,511,623 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,026 | r | trainNN.R | #' Train and assess accuracy of a k-NN model
#'
#' This function trains a k-NN model from response variables (Y) and predictors
#' (X) at reference observations using the package yaImpute (see
#' \code{\link[yaImpute]{yai}}). By default, the distance between observations
#' is obtained from the proximity matrix of... |
f5d8669235e7dbc07773d513e0a1db056d84b754 | f3594d8476ccdf1c89f378fe35bb5869a6683b7d | /sqlWorkbenchAddin/R/sqlWorkbenchAddin.R | db03218ec43212e0acc979c733fe1cbfd5cde48f | [] | no_license | micrain/barug-november-2016 | e78d14fcc8b83c13f8a2632240777a14dd6213ab | 3abe1346e23afae37e4642a5a01617ddc87c901d | refs/heads/master | 2020-08-01T05:02:53.591124 | 2016-11-11T18:34:35 | 2016-11-11T18:34:35 | 73,584,126 | 0 | 0 | null | 2016-11-12T23:17:26 | 2016-11-12T23:17:26 | null | UTF-8 | R | false | false | 3,190 | r | sqlWorkbenchAddin.R | #'@export
sqlWorkbenchAddin <- function() {
library(shiny)
library(miniUI)
library(ggplot2)
# get verbose output from shiny for debugging
options(shiny.trace = TRUE)
ui <- miniPage(
gadgetTitleBar("SQL Workbench"),
miniTabstripPanel(
miniTabPanel("Connect", icon = icon("database"),
... |
2a568706ff9223009bdf0c29fe5ceb3b7207033e | 873da174f5474eb0941bba27cefc06cb1ad559a3 | /pcoa with PERMANOVA.R | 302203a4c183014820e7c912a78f1d33ed808316 | [] | no_license | ZhenyanZhang/Plant-disease | e5bee7030767d54baf0acfdeb512ba629955cd44 | 5bbdacd4ee05ba0e370c7e0bc88a5202837828d7 | refs/heads/main | 2023-07-31T14:11:09.680275 | 2021-09-13T15:10:48 | 2021-09-13T15:10:48 | 351,673,675 | 0 | 1 | null | null | null | null | ISO-8859-1 | R | false | false | 1,965 | r | pcoa with PERMANOVA.R | wd<- "D:/OneDrive/disease"
setwd(wd)
#OTU table
otu <- read.delim('disease.txt', row.names = 1, sep = '\t', stringsAsFactors = FALSE, check.names = FALSE,na.strings="na")
otu[is.na(otu)] <- 0
otu <- data.frame(t(otu))
#group table
group <- read.delim('group.txt', sep = '\t', stringsAsFactors = FALSE)
libr... |
b8cefca0eda1b29d852bdd2bdcb96350b9cd37c3 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/hyper2/R/keep.R | 7b0b47f0ea178b62876f2db84d831342e1659a5b | [] | 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 | false | 1,619 | r | keep.R |
`tidy` <- function(H){
wanted <- sort(unique(c(brackets(H),recursive=TRUE))) # numeric
o <- order(wanted) # == seq_along(wanted)
bracketout <- list()
powerout <- NULL
for(i in seq_along(H)){
b <- brackets(H)[[i]] # numeric (not necessarily sorted)
if(any(b %in% wanted)){
bracketou... |
0e7231e6dfdd479477a7256761cefdbb5940f47f | 59144bb519bd522b6084129a05a9e25d79fcd312 | /EM in R/EM_bnlearn/EM_algorithm_with_bnlearn.R | 563ab1280715ef8479fe24aa4cbca2b6ec9b4fca | [
"MIT"
] | permissive | madlabunimib/Expectation-Maximisation | 73da3d218616bf64d7a1ba95f8e2511f10b4b461 | e15eefb18853d4800da49c4449e0c8eadf385c44 | refs/heads/master | 2023-01-01T19:08:57.212091 | 2020-10-22T14:52:19 | 2020-10-22T14:52:19 | 265,578,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,142 | r | EM_algorithm_with_bnlearn.R | library(bnlearn)
# https://www.bnlearn.com/documentation/man/impute.html
# https://www.bnlearn.com/documentation/man/structural.em.html
# incomplete data
lv = c("0", "1")
x <- data.frame("A" = factor(c(0, 0, 0, NA, NA, NA, 1, 1, 1, 1), levels = lv),
"B" = factor(c(0, 1, 1, 1, 0, 0, 0, 0, 1, NA), level... |
ef5824537526cf169ae076344f441ba59be12984 | ccd38c90def4db59203f5337516194837047e642 | /R/genBM.R | 3ba2471b73ae826af849e8708fccc30880f21c55 | [] | no_license | atuldeshpande/simBM | 9a8d0c63631ade9ba0a1cdc8f68772062d423ea7 | 3eb06c7528272a0334f6e8221305b0f4a9aef88c | refs/heads/master | 2021-01-18T00:16:33.809542 | 2016-05-17T04:28:23 | 2016-05-17T04:28:23 | 58,980,269 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,377 | r | genBM.R | #' Generate Brownian Motion
#'
#' This function generates 1-D and 2-D Brownian motion
#'
#' @param vector_size a positive integer value for the number of brownian motion points
#' @param dim in {1,2} for the dimension of Brownian Motion
#' @param seed an integer value to seed the brownian motion
#' @return a numeric ve... |
6137303873bdff91593facf9046e7eec715f8311 | c97370ef57cb15d1faea83de281589fde0485361 | /02-wrangle-tweets.R | 220a44f13ae56d0e986f6c8d8a42c2a1e93224cd | [] | no_license | carlislerainey/decision-desk-hq-returns | 112e15277047bd523753ff97164403eebf8ae2b6 | 9999144ee531df063e146b97ae6a7ee72d61eb53 | refs/heads/master | 2023-01-06T16:18:26.152092 | 2020-11-10T15:36:27 | 2020-11-10T15:36:27 | 311,688,625 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,055 | r | 02-wrangle-tweets.R |
# load packages
library(tidyverse)
library(rtweet)
# get raw tweets
raw_tw <- read_rds("protected/decision-desk-timeline.rds")
# separate tweets into data
r <- raw_tw %>%
select(text, time = created_at) %>%
mutate(pres_results = str_detect(text, "Presidential Election Results")) %>%
filter(pres_results) %>%
... |
da47169dd183302efd02f3f5ebc7ef534d7740e3 | 58c2005e36def8c378d0db8e69a648d266ad18c6 | /Practice/DIME_leaflet/server.R | 0a078136cb8b994f4b8618c75b001e686c83c40e | [] | no_license | ShyGuyPy/workflow | b324c498374a12624b97ea2ab11776a511de644f | 53b1f05d4705b1284b21d6d99d0597d8ea5e9f7f | refs/heads/master | 2023-03-05T16:13:45.935934 | 2023-02-23T20:02:50 | 2023-02-23T20:02:50 | 146,636,191 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,222 | r | server.R | shinyServer(function(input, output, session) {
select_data <- reactive({
parameter_data <- parameter_data %>%
filter(parameter == as.character(input$data))
})
output$map <- renderLeaflet({
leaflet() %>%
addTiles() %>%
setView(-78.193593, 38.917359, zoom = 7.5) %>%
addPolyg... |
692dcc6edeb08bf575b3e2d57963193476422876 | 7a647ab7cad0f4a077d58adacca9f28a2286954d | /R/musselbed.r | 0fb679af8b1247136711aa0368009feea5edc835 | [
"MIT"
] | permissive | yangxhcaf/SpatialStress | 2cca692a19075be230bca012b72d44c0256791ea | 86727b5081dbbe64d0434baf6724e5955125ce59 | refs/heads/master | 2021-06-01T04:31:45.031987 | 2015-06-15T12:11:03 | 2015-06-15T12:11:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,744 | r | musselbed.r | ########################################################
# The MIT License (MIT)
#
# Copyright (c) 2014 Florian D. Schneider & Sonia Kéfi
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software wi... |
f4c6845753163190bcb17defe4d41c83f7ce7759 | c981caf103a3540f7964e6c41a56ca34d67732c4 | /R/mice_impute_catpmm_create_dummies_y.R | f7790a6d67605efa17f7f00a97fb10be0ce060cd | [] | no_license | alexanderrobitzsch/miceadds | 8285b8c98c2563c2c04209d74af6432ce94340ee | faab4efffa36230335bfb1603078da2253d29566 | refs/heads/master | 2023-03-07T02:53:26.480028 | 2023-03-01T16:26:31 | 2023-03-01T16:26:31 | 95,305,394 | 17 | 2 | null | 2018-05-31T11:41:51 | 2017-06-24T15:16:57 | R | UTF-8 | R | false | false | 464 | r | mice_impute_catpmm_create_dummies_y.R | ## File Name: mice_impute_catpmm_create_dummies_y.R
## File Version: 0.02
mice_impute_catpmm_create_dummies_y <- function(y, dfr, ridge=0)
{
n <- nrow(dfr)
y1 <- stats::model.matrix(object=~0+as.factor(y), data=dfr )
ny <- ncol(y1)
colnames(y1) <- paste0("y",1:ny)
y1 <- y1 + matrix( stats::rnorm(n*... |
4e6afdf305e02242ba804219d06c9d01963088ea | d5d5c96b2efabed5b1e789a6b46a99670064ef25 | /R/gamllik.R | 818432af5325792f419096aed48f2a3504b691aa | [] | no_license | baihongguo/RPEXE.RPEXT-1 | f69c9c8e139ce50e9113d25e34f4e0ce8b528236 | c860e2ebbefd2e1d330a3156f62e42ae67264cc8 | refs/heads/master | 2022-07-29T00:37:21.474495 | 2020-05-22T22:29:17 | 2020-05-22T22:29:17 | 266,162,760 | 0 | 0 | null | 2020-05-22T16:54:47 | 2020-05-22T16:54:46 | null | UTF-8 | R | false | false | 2,192 | r | gamllik.R | #' @title Log likelihood from the gamma distribution
#'
#' @description A function computing the log likelihood from the gamma distribution under an order restriction reduction
#'
#' @param structtime change-point times to be used to compute the likelihood value
#' @param structttot total time on test (ttot) between e... |
ed654e4b8d384d582a3b5604455e150dc2ed0f75 | b01da0776510ff28170e0fe2cf16bca2295c40b4 | /2021/cleaning_flux.R | 67feb8e6a45a2e11d248a8664b1a917665be8ed1 | [] | no_license | jogaudard/BIO102 | 38f7cddd453ab8aec8bc423dc8aec77137c97761 | 71844c0085ffc574803ce66ce6685f78683c2c82 | refs/heads/master | 2023-08-14T18:13:11.742302 | 2021-10-13T08:20:16 | 2021-10-13T08:20:16 | 298,063,570 | 0 | 2 | null | 2021-08-06T13:05:39 | 2020-09-23T18:44:54 | R | UTF-8 | R | false | false | 10,537 | r | cleaning_flux.R | # This script is to clean the flux data from logger format to a dataset of fluxes with all the sites and environmental parameters
# We need some packages to make it work
library(tidyverse)
library("dataDownloader") #details here https://github.com/Between-the-Fjords/dataDownloader
library(broom)
library(fs)
library(lu... |
61c6215f50cb05aa5816e2bd064b449eeb35cdd1 | b27f67e1cb5f7962b35803e8d455fbce8268f50f | /dates.R | 80a9761130874080f9e6c5bee03eecd7eab2c823 | [
"CC-BY-4.0",
"LicenseRef-scancode-public-domain"
] | permissive | pablobernabeu/date-converter | 6d9ab23fa0899ef82d755544d4e650b55676f608 | 4cdd8c3e1d5fd9c9b86a2e8dc98ba691179b3aa4 | refs/heads/master | 2020-08-28T09:02:28.135423 | 2020-01-26T16:57:05 | 2020-01-26T16:57:05 | 217,656,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,799 | r | dates.R |
# R function for converting variously formatted dates to computer format (YYYY-MM-DD).
# This version of the function changes years '19' and '20' to full forms '2019' and '2020'.
format_date = function(dat){
# Character format
dat$DATE = as.character(dat$DATE)
dat$date_format = as.character(dat$date_format)
... |
52ec4058c842456ddafc249d4d6d22da82f62663 | 8ef3e422e2f5618fdb0bcb99574cc771962ee99e | /R/oscar.note.R | 3a4c0536cceae82876b44197f6ec075e9301d2b3 | [] | no_license | cran/tdm | f09134e94f9fb4d60133486d72dc84e1c80f99d2 | 293cc0a7e6d9641de189077cb5f46f6c146b5689 | refs/heads/master | 2016-08-03T21:51:21.507848 | 2014-12-16T00:00:00 | 2014-12-16T00:00:00 | 17,700,401 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,839 | r | oscar.note.R | note_for_ocIR_input <- function(){
cat("-----------------------------------------------------\n")
cat(" --Oxycodone input data information-- \n\n")
cat(" D = dose for the 1st-dose (mg) \n")
cat(" phenotype: 1=UM, 2=EM, 3=PM \n")
cat... |
900df7aeccac181d27b741578c958d0cf8d1769b | 74f67b0be8bcd4fa66fd62e5268dd999d1183554 | /Hosei/filtering/eliminate misbehaving lib.R | 533431b99a7d0b259cd398832eefa24153287643 | [] | no_license | vyrms/sravandevanathan | b37a9a5aca0c1cf0780d663cd5a252431ece7889 | f3bc2d497beb7f89d6eec0eb38c0555a4ec40ddc | refs/heads/master | 2022-02-24T16:01:11.435047 | 2019-07-29T20:48:10 | 2019-07-29T20:48:10 | 170,383,541 | 1 | 0 | null | 2019-02-12T20:07:35 | 2019-02-12T20:07:35 | null | UTF-8 | R | false | false | 85 | r | eliminate misbehaving lib.R | filteredgenes2 = filteredgenes[,-c(2,24)]
filteredtdata2 = filteredtdata[,-c(2,24)]
|
3903e7da4a9eb6e285ad19d6a5aa174fe6aa60ac | 4edd01a0d66f6f3336f7396cec13f5da671a8dcb | /test/data/metric_bad_2.data.R | 7020d6978ad132a56a4d09c6de4c6cedc49fb8f1 | [
"BSD-3-Clause"
] | permissive | stan-dev/cmdstanpy | c0a33ca6d3a6f5e1486b797e5a402df6cc66c92c | 107a347f12b1abb4f3d7b8a380d1138f6633d26b | refs/heads/develop | 2023-09-03T19:03:09.568378 | 2023-08-28T19:19:40 | 2023-08-28T19:19:40 | 163,899,458 | 135 | 75 | BSD-3-Clause | 2023-09-11T20:33:23 | 2019-01-02T23:18:04 | Python | UTF-8 | R | false | false | 23 | r | metric_bad_2.data.R | inv_metric <- 0.787405
|
fb0ba0b82cbc4e9129c9d86832ed3f8102dd3dbc | 74fcdcd73701f8f69d666f8056bdaf16b94c0474 | /R scripts/5_line_fig4.R | e7a0b3046f6f0fad07c40d0899d56efe01a4cf97 | [] | no_license | USEPA/NATTS-HAP | 6e014bf5569e0a976da3353d5665dd74f0b327fa | d18332c06fe27f4ce9b1448d7308810e7ce53a49 | refs/heads/master | 2023-03-07T02:31:27.339357 | 2021-02-16T13:51:38 | 2021-02-16T13:51:38 | 272,454,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,014 | r | 5_line_fig4.R | library(rlist); library(dplyr); library(ggplot2)
########################################################################
# This script creates a line graph for each site that shows how cancer #
# risk has changed relative to 2013 cancer risk for that site, note #
# only chemcials that were measured for all 5 years... |
15864abad896060bb424144a4909891f70539712 | c0bcd0b5f2d1abd72de5e775aedebfd407a1a4a3 | /exercise4/starting.R | 987f677a2326f47f995079bc3ee677e7b6ee3655 | [] | no_license | zembrzuski/machine-learning-andrewng | 707421b12aef715ae8121666b68d1c6f459f0b29 | 520fc38e83468865ec158026a10c73bdfb015dc7 | refs/heads/master | 2021-01-10T01:42:46.852296 | 2015-12-08T18:36:41 | 2015-12-08T18:36:41 | 45,475,686 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,841 | r | starting.R | rm(list = ls())
### reading data
setwd('/home/nozes/github-machine-learning-coursera/exercise4')
x = read.csv2('input/data1.txt', sep=',', stringsAsFactors = FALSE, header = FALSE)
x <- as.matrix(sapply(x, as.numeric))
y = read.csv2('input/y.txt', sep=',', stringsAsFactors = FALSE, header = FALSE)$V1
y <- as.matrix(... |
a37c207332fc5e58760729fd23085606b34a1005 | e85887c76341d45a3829fc552d6c53536f32b719 | /man/weights_at_dose.Rd | e1c237469f7d73b14ea16ce4984d68099aac116d | [] | no_license | brockk/trialr | fa8fd43ca43dc79911677ba42c8e50d88a2fc03d | 15fd90d3a779a61454baedcd517e2ce8bb301f92 | refs/heads/master | 2023-03-16T21:41:49.580277 | 2023-03-11T07:36:58 | 2023-03-11T07:36:58 | 69,753,350 | 39 | 13 | null | 2023-09-10T19:11:18 | 2016-10-01T17:39:28 | TeX | UTF-8 | R | false | true | 1,266 | rd | weights_at_dose.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/weights_at_dose.R
\name{weights_at_dose}
\alias{weights_at_dose}
\alias{weights_at_dose.default}
\alias{weights_at_dose.crm_fit}
\title{Get the weights of patient outcomes at the doses under investigation.}
\usage{
weights_at_dose(x, dose, ..... |
0671761f3cf595a15430d254a8cd8513a1d7a483 | 1f31b1e6cf2aafdf2a341ba7570b1806b6fa90b9 | /R/plotConvergence.R | 228ffeca26c3b3516c694db6ed65638e78643686 | [] | no_license | crsh/TreeBUGS | 3faf2095ff67a99536fb49a9b381ed8ed767a1a9 | 02ada2dff50ed076d653e869bf93c8cb66687fe7 | refs/heads/master | 2021-01-24T00:44:09.553630 | 2016-05-30T13:11:16 | 2016-05-30T13:11:16 | 60,010,766 | 0 | 0 | null | 2016-05-30T13:07:09 | 2016-05-30T13:07:09 | null | UTF-8 | R | false | false | 2,491 | r | plotConvergence.R |
#### wrappers for convenient convergence plots
#' @export
#' @describeIn plot Plot convergence for beta MPT
plot.betaMPT <- function(x, parameter="mean", type="default", ...){
plot.traitMPT(x,parameter=parameter, type=type,...)
}
#' Plot Convergence for Hierarchical MPT Models
#'
#' @param x fitted hierarchical M... |
6f0afd057aac717318a970c33f9dd5e23be4f9a1 | 4014719bdbff8b7771ee42a6dae89a4e7b97167f | /validation.R | 18a1f2e8260d4a48d4262da4f192ccead9c49ece | [] | no_license | macjankowski/pub_lda | 1d7decf690429241c97847faec6554abf73c3b32 | c718a1bdbd1ab647271ac75f6d85aecc5c8b644d | refs/heads/master | 2021-01-21T14:29:00.859831 | 2019-04-29T10:05:41 | 2019-04-29T10:05:41 | 95,290,947 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 681 | r | validation.R |
plotResults <- function(threshold, bridgeRatio, errorRatio) {
par(mfrow=c(1,3))
plot(threshold, errorRatio, type = "l", main = "Poziom błędu (%)", xlab = "Próg pewności", ylab = "Poziom błędu (%)", col="red", col.axis = "dimgray", col.lab = "blueviolet")
plot(threshold, bridgeRatio, type = "l", main = "Pozio... |
84a9ded7bde6a7177a1717064666bc59321f16c2 | dd1f71d17af9a470065687f0ec9c9874445ae5f8 | /binomial/man/bin_cumulative.Rd | e3f83605536c3085f486d38da006a653d9b115b4 | [] | no_license | stat133-sp19/hw-stat133-chauj96 | dbdc2785f0a564cddd0cf7d5c5a02d79cc485afd | b82c4199f5d2671d6ec45022d4d5bf9bd550db96 | refs/heads/master | 2020-04-28T09:12:59.666564 | 2019-05-02T18:52:01 | 2019-05-02T18:52:01 | 175,159,369 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 409 | rd | bin_cumulative.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binomial.R
\name{bin_cumulative}
\alias{bin_cumulative}
\title{bin_cumulative()}
\usage{
bin_cumulative(trials, prob)
}
\arguments{
\item{trials}{the number of trials}
\item{prob}{the probability}
}
\value{
a data frame with successes and pr... |
cfba160b2598d242ae24b0bd4d01ec2d51fcff7d | 12c5fe203a70038f7dbb724cd101239d689fc4bf | /HW/SeoyoonChoi_20191218_day16HW.R | b73a75c88d721e5cb5ba2348709a1d63eb42b9f2 | [] | no_license | choisawyou/learnR | d5479280b5fa5011d37df487a12647cab6da310e | 1fea4f39f18a3878ba0dee12f29a31fc5586000e | refs/heads/master | 2020-09-21T11:47:44.983163 | 2020-04-21T14:48:03 | 2020-04-21T14:48:03 | 224,779,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,718 | r | SeoyoonChoi_20191218_day16HW.R | #최서윤
#제출일 2019 12 18
#작성일 2019 12 18
#문1)
#R에서 제공하는 state.x77 데이터셋에 대해 k-평균 군집화를 실시하고 결과를 그래프로 출력하시오.
#• 군집의 수는 5로 한다.
#• state.x77은 각 변수(열)의 값들의 단위의 차이가 많이 나기 때문에 0~1 표준화를 실시한 후 군집화를 실행한다.
head(state.x77)
#표준화
standard <- function(x){
return((x - min( x ))/max(x)-min(x))
}
st <- apply(state.x77,2,standard)
st
... |
e10885f550cca0a1c7ad45a7284ed9d936b635af | 0ae29405c310b9835ea68ffe3d091a8d8156fd8d | /src/02_build_model.R | 42549bdfa5aa8c3a569999e0c854a59617800148 | [] | no_license | SamEdwardes/nfl-big-data-bowl | c18220804de1ac386953e68c66dd929e16a4f214 | f1a08634d178c18c2b4f9440e0d7e57b16706d30 | refs/heads/master | 2020-08-22T16:10:29.507294 | 2019-10-26T00:58:04 | 2019-10-26T00:58:04 | 215,148,484 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,164 | r | 02_build_model.R | library(caret)
library(janitor)
library(tidyverse)
library(infer)
options(scipen = 999)
set.seed(2019-10-25)
# READ DATA ----
train_features <- read_csv("data/train_features.csv", col_types = cols())
test_features <- read_csv("data/test_features.csv", col_types = cols())
# BUILD MODELS ----
## Linear model ----
mo... |
8588534862dc44bccb53621921331e52dd584763 | e2e6fe9504c3e5fc6af558c45234bbb9eabfd9d1 | /man/createParentFindrReport.Rd | db9fc8620e6b13861a1d1f1323e1e9e47ebbe06b | [
"MIT"
] | permissive | rmsharp/parentfindr | 2ebca196d8ff9627874738cb469d4f93807415e2 | 052c42a50f835fe1321dd93dc4cd21b844218e73 | refs/heads/master | 2023-01-13T23:04:28.613212 | 2020-11-23T02:44:23 | 2020-11-23T02:44:23 | 266,241,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 309 | rd | createParentFindrReport.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/makeReport.R
\name{createParentFindrReport}
\alias{createParentFindrReport}
\title{Create results report for parentfindr}
\usage{
createParentFindrReport()
}
\description{
Exclusion Parentage Report: Wed May 02 16:33:23 CDT 2012
}
|
4d84af33089ca791aa1bb345a9a7c498b08ec563 | 14244b1b47d457ce1d5969f3b2c0c548f4ef3180 | /tests/testthat/test-4likelihood.R | 0ae1f794458abbdcbde88e716fa96f9ce630e841 | [] | no_license | jpritikin/pcFactorStan | 962b1b34122b3d16cfc714ac88b81eddb4ac23bc | 6de1fcd968ad199c82e1908f75f6efe916640e40 | refs/heads/master | 2021-09-29T03:56:38.236151 | 2021-09-25T02:05:36 | 2021-09-25T02:05:36 | 189,459,768 | 2 | 3 | null | 2023-09-10T15:33:29 | 2019-05-30T18:03:39 | R | UTF-8 | R | false | false | 4,023 | r | test-4likelihood.R | library(testthat)
library(pcFactorStan)
context("test-4likelihood")
skip_on_cran()
options(mc.cores=4)
suppressWarnings(RNGversion("3.5"))
library(rstan) # for get_logposterior
test_that("unidim", {
# As of rstan 2.19, cores=0 suppresses the warnings about chain convergence.
expect_error(pcStan('unidim', data... |
7a7cd738fae83bcf9b56f34293f6ec6aa937ce9d | ecb1d037e50203f2e5e79da0d845598c5b6cdd99 | /R/optimization_lambda.R | e0af5c91c69110ce020553a604b645c0dc48cbff | [] | no_license | Z1chenZhao/bis557 | 59669f343f9764ba6aa4c132dfefe1d4eba0b8ab | b9c1f1d2fc60ec23d2ec18f274fe743769477ab3 | refs/heads/master | 2023-02-01T00:36:18.885873 | 2020-12-18T19:45:21 | 2020-12-18T19:45:21 | 296,169,783 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,708 | r | optimization_lambda.R | #' @title optimization_lambda
#' @description Optimizing the ridge parameter lambda by cross validation
#'
#' @param form A formula with the format of "Y ~ .".
#' @param dat A dataframe.
#' @param folds The number of folds to cross validate
#' @param lambdas A list of the ridge penalty term lambda.
#' @param contrasts ... |
2d0f395680b2f3c74211f9230fd1c149f5334cb0 | dfbae56bb8b3aab05e4b347afa8ccf173fcc8c3a | /app1/app.R | 6e8ffc8bfc984775f5bacfeeaa9f5bbaf3981ff7 | [] | no_license | daslu/r-playground | fef5f34cc435107d7c225267f5f44ef75e4884f0 | 0f3fa247f630bae31c56351dc768a2514f169e75 | refs/heads/master | 2022-10-14T01:52:12.298089 | 2020-06-08T13:10:02 | 2020-06-08T13:10:02 | 269,067,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 345 | r | app.R | library(shiny)
ui <- fluidPage(
tags$head(tags$script(src = "message-handler.js")),
titlePanel("~~~~"),
actionButton("Pull", "Pull apps from github"))
server = function(input, output, session) {
observeEvent(input$do, {
system("touch /tmp/a")
#system("(cd /home/shiny/apps; git pull)")
})
}
shinyApp... |
17f2dfad1e7d611d2d1deb96fa8a48461f5ee12a | 1f10d551dd9e9518cc2ec42eb4ada46a2d714b5e | /master/man/panel.hist.Rd | d4953cd87a503c5a31ac8bdc28ec945c2516d648 | [] | no_license | Ibasam/MetaIBASAM | 1f3e1e6488de7631b18ad80ad2e02e49f57d04d8 | 74019a03f08ad8c96fa30146dab65790d856db52 | refs/heads/master | 2023-08-24T14:13:01.152797 | 2021-10-25T13:25:13 | 2021-10-25T13:25:13 | 84,918,679 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,529 | rd | panel.hist.Rd | \name{panel.hist}
\alias{panel.hist}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
panel.hist
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
panel.hist(x, ...)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{x}{
%%... |
179d967a5ecf15de213bd129f94f5a3ebf2a76df | 21cba64d52d243e9f10727a963854970ad38c9b0 | /R/count.R | 4a3539309199946c6215a5cf1796c253493562b8 | [
"MIT"
] | permissive | tidyverse/forcats | 8685f788b06056864243c0ceb802769a11295333 | 4a8525abba44dbd4f9a03efff09c85922039ffa3 | refs/heads/main | 2023-09-05T14:29:32.174074 | 2023-01-30T15:21:30 | 2023-01-30T15:21:30 | 65,227,405 | 447 | 151 | NOASSERTION | 2023-08-26T03:57:47 | 2016-08-08T18:07:47 | R | UTF-8 | R | false | false | 860 | r | count.R | #' Count entries in a factor
#'
#' @param f A factor (or character vector).
#' @param sort If `TRUE`, sort the result so that the most common values
#' float to the top.
#' @param prop If `TRUE`, compute the fraction of marginal table.
#' @return A tibble with columns `f`, `n` and `p`, if prop is `TRUE`.
#' @export
#... |
d99f654eb46e798cb2974d0651cd261132956b66 | 9d068471c68078d3a26d83929158dd3b51e96887 | /man/calc_stream_voronoi_weights.Rd | 580df352842c542e8c109bb772218ee30710783a | [
"MIT"
] | permissive | scantle/pbjr | b4077d5c19c58f6e7f5db978f6a82205cf9b2394 | 365106683e21ef9358695aceecc265346d6c4ea5 | refs/heads/master | 2023-04-13T05:33:18.764597 | 2021-04-15T19:28:37 | 2021-04-15T19:28:37 | 279,678,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,833 | rd | calc_stream_voronoi_weights.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calc_stream_voronoi_weights.R
\name{calc_stream_voronoi_weights}
\alias{calc_stream_voronoi_weights}
\title{Calculate polyline (e.g. stream) barycentric coordinates}
\usage{
calc_stream_voronoi_weights(
stream,
voronoi,
triangles,
add... |
1246e523aaca3f4f0997170574466af1498bd7c4 | 4c1647c062685ee55e42e686c30c506b3d7200bb | /PenalizedRegression.R | fb7cff30684716e41599f713c347a79cddf5c399 | [
"MIT"
] | permissive | zointblackbriar/ML4P | a0d8f3469c0ec95194916c1a3c0750296ff70de3 | 8e256dc2c33edf8d1cbb1ea0f3103e779de94dd0 | refs/heads/master | 2020-03-24T21:00:34.441313 | 2019-01-17T08:09:18 | 2019-01-17T08:09:18 | 143,008,982 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,056 | r | PenalizedRegression.R | # Test penalties of regression
# High Correlation between predictors
if(!require(glmnet)) {
install.packages("glmnet"); require(glmnet)
}
if(!require(MASS)) {
install.packages("MASS"); require(MASS)
}
# Generate Data
set.seed(20000)
dependentValue.train <- my_data$HARDNESSP1
independentValues.train <- my_data ... |
2ced7618bd83d60935a652ad83e1dd303c9f54fe | bae0af3bec95ee9123dd74a3cd42a3792f65e25d | /Chapter01/12/gganimate.R | 8fcb41a03d920f5deed6c72f44f20ee1a0ee0ddb | [
"MIT"
] | permissive | PacktPublishing/R-Statistics-Cookbook | f521ead1a05104b68663521374861dfced4c1bab | 74eb6057e47df5d43a981c44a52148bd3930c7e1 | refs/heads/master | 2023-02-04T14:18:10.374693 | 2023-01-30T09:26:43 | 2023-01-30T09:26:43 | 179,272,388 | 9 | 18 | null | null | null | null | UTF-8 | R | false | false | 687 | r | gganimate.R | # Load required package
library(gapminder)
library(gganimate)
# Basic scatter plot
data = read.csv("./companies.csv",stringsAsFactors = FALSE)
colors = c("A"="#AB5406","B"="#EC9936","C"="#BE1826","D"="#9B4A06","E"="#FDD6A2","F"="#9ACD62")
p = ggplot(data, aes(Sales, Profit, size = Profit,colour=Company)) +
geom_poi... |
0b4ef3622566479d92f24e7d08b8dffded84fb20 | 366ec1e0e81f9d8c40e2fde01efa44d640c67daa | /R/rackauskas_zuokas.R | 46e985701fbeba433cdd6996feecdab9fde36e74 | [] | no_license | tjfarrar/skedastic | 20194324833b8f2f20e5666b642cff617159588c | 050e6a177a28fb0cc2054b506a53b09d6859e3c7 | refs/heads/master | 2022-11-17T22:41:43.930246 | 2022-11-06T06:39:13 | 2022-11-06T06:39:13 | 219,455,416 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,874 | r | rackauskas_zuokas.R | #' Rackauskas-Zuokas Test for Heteroskedasticity in a Linear Regression Model
#'
#' This function implements the two methods of
#' \insertCite{Rackauskas07;textual}{skedastic} for testing for heteroskedasticity
#' in a linear regression model.
#'
#' @details Rackauskas and Zuokas propose a class of tests that ent... |
faa1416296dab08bc95244f5d2d7c9156a000549 | 37c9adc4ab2de4f3b60a22dcfb9499780e31e1c3 | /_03_CreateModelingDataset.R | 4cb2c1208b2b7f38e8a6ba7431b3d0cac05fa020 | [] | no_license | dnegrey/DSCI-352 | 262c55e7a44641574fe4497d1d9c0eed650a9c53 | 76d5592a637b3b5519e5626b8efc23e3d328c911 | refs/heads/master | 2020-06-21T00:23:49.452933 | 2019-07-17T02:15:25 | 2019-07-17T02:15:25 | 197,298,276 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,682 | r | _03_CreateModelingDataset.R | # load clean beer RData
load("_01_ImportBeerData.RData")
# goal: predict likelihood that a beer is an IPA based on other beer attributes
# create binary target ("dependent variable")
# flag beers as IPA (based on Style)
b$FlagIPA <- grepl(
pattern = "IPA",
x = b$Style,
fixed = TRUE
)
# pri... |
6486d074dd6826802a6fb0350b50eeb7bf9e2d61 | 21dec0ef47fc2d0412bb95f6f7fd19d5a723cd02 | /fxn_RMIntense.R | b521b554e88a28489c06914d88849be9bb18a8b5 | [] | no_license | srcorsi-USGS/Rainmaker | f420b34480cb96b7b459dd4fe2f0dfa710a41620 | a2f39d07c557046ef8f5ae281da0941a2f4c4084 | refs/heads/master | 2021-01-23T03:59:35.642932 | 2012-03-01T23:53:45 | 2012-03-01T23:53:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,102 | r | fxn_RMIntense.R | # Function to compute maximum x-minute rainfall intensities in units of depth/hr
# This funtion requires package TTR to be installed
# Input: unit value rain file
# Input: Storms file
# Output: X-hour maximum rainfall intensities
#Usage: RMIntense(df,
# date, Date column in df as POSIX
# ... |
1ba9224cebc18407582bf6e8b6b85474192068c9 | 4fe9e46b985c6e1677418d98c6ca37b6db13c57c | /astrazeneca-atrasada.R | c695490310b32aa72980b9fe1671cc242c85fba9 | [] | no_license | jfemdados/vacinas | 15a8b9b52c389f6cf819a27091ba2dfff342686e | ea61b5f01282b36397e51f282719afa6ef9fb9b6 | refs/heads/main | 2023-07-13T10:00:30.199165 | 2021-08-16T11:45:43 | 2021-08-16T11:45:43 | 349,569,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,838 | r | astrazeneca-atrasada.R | ### SCRIPT SÓ PARA OS ATRASOS DA ASTRAZENECA EM JF
#Objetivo: o intuito desse script é criar análises sobre a vacinação em
#Juiz de Fora, Minas Gerais
#Autor: Matheus Valentim
#Importacao de dados -------------------
basedosdados::set_billing_id('double-voice-305816')
base_completa<- basedosdados::read... |
2c032a0074a7189df51670df9a5414074005c990 | f578929e6e33cb9b7f918afa010f89b09a5ffa90 | /R/id463315.R | 9124fb3e5eac71d5b05dd853a0332d61880e7221 | [] | no_license | goranbrostrom/cedar16 | 604b1ca378f0762ffc148605938d2b9da27701b3 | cacfebd31121949689e5cd0cf1cc7488b245502a | refs/heads/master | 2021-01-10T10:53:56.294573 | 2016-04-20T16:38:33 | 2016-04-20T16:38:33 | 55,224,821 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 906 | r | id463315.R | id463315 <- function(dat = observations, birthdate = 1795.385){
enter <- tillTid(dat$startdat[dat$id == 463315]) - birthdate
exit <- tillTid(dat$slutdat[dat$id == 463315]) - birthdate
n <- length(exit)
ord <- order(enter, -exit)
enter <- enter[ord]
exit <- exit[ord]
plot(c(enter[1], exit[1])... |
097af32b2b6ca3306a4c917434880418be697a7d | 29c0a57cc284c57ab4701717d46b83f4227ed75c | /man/restez_path_set.Rd | 2ffacc8cbe885c9dbb24c354c45c11d62f767aa4 | [
"MIT"
] | permissive | ropensci/restez | 753d476ee87f7c9623656643129e3c0e94229f22 | d7136fb3c71b96f761d10f4ba9fe4787165f14dd | refs/heads/main | 2023-08-03T16:38:58.503846 | 2023-07-23T22:04:55 | 2023-07-23T22:48:46 | 129,107,980 | 23 | 6 | NOASSERTION | 2023-07-23T22:48:47 | 2018-04-11T14:38:21 | R | UTF-8 | R | false | true | 815 | rd | restez_path_set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filepath-tools.R
\name{restez_path_set}
\alias{restez_path_set}
\title{Set restez path}
\usage{
restez_path_set(filepath)
}
\arguments{
\item{filepath}{character, valid filepath to the folder where the
database should be stored.}
}
\descripti... |
fd4ac697383ab4b40a5e75179097fb0592a442e3 | a3f9b39352ae4409dab117b1a1c129a8778585fb | /HLEIneqScotxSex.R | 0ba1a77e4c46a99224f33e14f9a4bf295165ed62 | [] | no_license | VictimOfMaths/Routine-Data | 01a7a416b4f0bde909a0e15518c6cf767739f362 | 466ed22342dcb8ec941806497385f2b7f7e1d8ca | refs/heads/master | 2023-07-20T10:29:15.453387 | 2023-07-17T11:52:15 | 2023-07-17T11:52:15 | 245,402,797 | 9 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,372 | r | HLEIneqScotxSex.R | rm(list=ls())
library(tidyverse)
library(curl)
library(readxl)
library(extrafont)
library(ragg)
temp <- tempfile()
url <- "https://www.nrscotland.gov.uk/files//statistics/healthy-life-expectancy/17-19/healthy-life-expectancy-17-19-data.xlsx"
temp <- curl_download(url=url, destfile=temp, quiet=FALSE, mode="w... |
b6b4edd2ee5a982aa33f018ce606db076084cf6f | 5dfab2c2519bd2545ecefc5b4f0a63aa9d7370f6 | /Simulation_and_Risk/HW1_finalcode.R | 3ad56f45d089a17d9d0d3eaf63663418f85fd358 | [] | no_license | sopheeli/F3-Blueteam12 | 1698adcf678684c6ac32792dfc0dfc03812f75a1 | b6456227f0812ba598870c2e32df091b5d923346 | refs/heads/master | 2020-04-03T18:36:27.946559 | 2018-11-30T23:47:06 | 2018-11-30T23:47:06 | 155,490,476 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,581 | r | HW1_finalcode.R | #--------------------------#
# JCP HW 1 #
# Simulation #
# #
#--------------------------#
# Needed Libraries for Analysis #
library(graphics)
#install.packages("ks")
library(ks)
# install.packages("xlsx")
# library("xlsx")
# install.packages("readxl") # ... |
f1e3d1a50d186625a9ca11f384b3f7717e3d8ab4 | a3c9c7338b361c5258771860e1bee5134622323f | /cog_plot.R | 19470a294e32d896e0ead18f799afc80e5b5d4d6 | [] | no_license | yogesh1612/Text-Analytics | 5a77c40984cff71e7d3c080ed55927500c64479a | aa54477588fd7a08f286f30bbb37cd1d3d82f4cd | refs/heads/master | 2021-05-08T18:54:47.792772 | 2018-01-30T15:05:37 | 2018-01-30T15:05:37 | 119,132,027 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,885 | r | cog_plot.R |
nokia <- readLines('https://github.com/sudhir-voleti/sample-data-sets/raw/master/text%20analysis%20data/amazon%20nokia%20lumia%20reviews.txt')
text <- nokia
# Function 1
clean_text_tokenizer <- function(text){
if (!require(tidytext)) {install.packages("tidytext")}
if (!require(dplyr)) {install.packages("dypyr")... |
b7a1ad0fb96f82a1ad793009f7da9a21bb5ee678 | 6cbb51fe996e65a51a8d9f2f35e3159721933f25 | /R/scds_doubletdetection.R | 21099e4ff17430945ac8085a1e24793990d5b194 | [
"MIT"
] | permissive | compbiomed/singleCellTK | 927fb97e257ba89cddee9a90f9cb7cb375a5c6fb | 990e89e7ccfbf663f23c793454f72fb8c6878a32 | refs/heads/master | 2023-08-11T09:17:41.232437 | 2023-07-26T20:43:47 | 2023-07-26T20:43:47 | 68,756,293 | 144 | 89 | NOASSERTION | 2023-09-06T18:22:08 | 2016-09-20T21:50:24 | R | UTF-8 | R | false | false | 15,532 | r | scds_doubletdetection.R | #' @title Find doublets/multiplets using \link[scds]{cxds}.
#' @description A wrapper function for \link[scds]{cxds}. Annotate
#' doublets/multiplets using co-expression based approach. Generate a doublet
#' score for each cell. Infer doublets if \code{estNdbl} is \code{TRUE}.
#' @param inSCE A \linkS4class{SingleCellE... |
ac1bea0a252d88c1972dc6812323464fb4506f70 | 2391fe78619ca01968bb6d093e2e1aecde28702e | /R/generate_trade_frequency.R | 700fc8a4b18ff01b1440c3aed59097808ce2f46b | [] | no_license | cran/TwitterAutomatedTrading | d08fbfa62721fb7a9689aec8a5d0f04c4b318908 | fd6c8eb87f54eca08c8beb589a193155b462569c | refs/heads/master | 2022-08-03T21:30:47.772296 | 2020-05-31T08:50:13 | 2020-05-31T08:50:13 | 268,360,556 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,207 | r | generate_trade_frequency.R | #' generate_trade_frequency function
#'
#'
#'
#'
#' @param initial_time The time the algorithm starts trading.
#' @param final_time The time the algorithm ends trading.
#' @param freq_trade The frequency which the algorithm recalculates the sentiment index.
#'
#' @return A vector containing the hours of operat... |
d7af6c6a5eed894938305ba8396c20e582f8d117 | 44d57d96e83b891b53f80118c4ae038a18d811ef | /LoadPackages_PA.R | e6ee36671b98b570b153644a30d2ababe90d262a | [] | no_license | elhazen/PA-paper | fa85a4894d6d70e1269bf09682dcc7bcbc8ac118 | 9d3f9683097f74242dd884e0fdbf6f7abb4ee835 | refs/heads/main | 2023-04-12T14:55:20.456007 | 2023-03-31T19:24:30 | 2023-03-31T19:24:30 | 306,073,556 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 697 | r | LoadPackages_PA.R | require(adehabitatLT) # help(package='adehabitat') # help.search('angle',package='adehabitat')
require(maps) # for map.where
require(mapdata) # for worldHires
require(sp)
require(maptools)
require(mgcv)
library(ape)
library(ncf)
library(ncdf4)
library(spdep)
require(ROCR)
require(dismo)
require(gbm)
require(ti... |
5550a761da5892d750879c3444e0a37eb6b24b7b | d4d02954f1567a20eb43fd7acd8b56e2c5423119 | /finance/stockAnalytics/tests/testthat/test.downloadExchangeCompanyList.R | 956ddc4fda9cad7a224fb2819bc49a1b6d3d76fa | [] | no_license | shanaka-desoysa/datascience | 68f6a940dbb8f4ae34ed6133ed02af26ff3772d9 | e3316e5db76ee8c2efcd7848fb7812e5bce9b56b | refs/heads/master | 2020-09-21T19:33:20.953759 | 2016-10-07T21:01:51 | 2016-10-07T21:01:51 | 66,153,460 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,301 | r | test.downloadExchangeCompanyList.R | context("downloadExchangeCompanyList")
test_that("downloadExchangeCompanyList: Data folder was created.", {
# Unit Test 1: Check if data folder was created.
# Initialize
exchange = "NASDAQ"
dataFolder = "./datatest"
# Delete data folder.
if (file.exists(dataFolder)) {
unlink(dataFold... |
89b11348c729975812dc0877542a0e2bc2d6c3d3 | 5111b402fec416a6cf3c4517d097eb4e600921e2 | /tests/testthat/test.R | 9f03c63a834a969bd68c07b960c74663bc2f9d11 | [] | no_license | Pratheek-Dev/circles | 884e4385411e7b5a8e69af82ee6e8542a5aeb50a | 158faf674cbbd02fdca7965b3f685578edc77994 | refs/heads/master | 2021-01-13T15:52:05.838499 | 2016-12-19T20:46:51 | 2016-12-19T20:46:51 | 76,830,569 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 697 | r | test.R | #Tests written by Pratheek Devaraj
library(testthat)
library(circles)
context("testing circle methods")
#test the object
circle1 <- circle(3)
#test the area
area(circle1)
#test the cicumference
circumference(circle1)
test_that(" creating object", {
expect_is(circle(3), 'circle')
})
test_that(" testing emp... |
2e6e89c888b004890dde39b783e01bbed793ee3b | 0834f80c8feaf23b376331c246f2c75f5897e8e5 | /man/most_frequent_service.Rd | 69d98b124372276a66ec80e9977ff85607f51278 | [] | no_license | r-transit/bustt | d5ef553bc06e996de879d30f252b2eee3b069451 | fa4312e3d0c4632402f94517d0c92dc45c51bab7 | refs/heads/master | 2020-03-22T02:17:18.128569 | 2018-08-23T04:18:15 | 2018-08-23T04:18:15 | 139,361,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 471 | rd | most_frequent_service.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/service.R
\name{most_frequent_service}
\alias{most_frequent_service}
\title{Get the most frequent service for a set of trips.}
\usage{
most_frequent_service(trips)
}
\arguments{
\item{trips}{gtfs dataframe with a service_trips count column}
}... |
370e2e59c2fc57777eea89517faa74b3be99f1b5 | f03f07b05c4e0e2e86eb9ca2de1c9e8880dc5152 | /data_visualization/exp1/exp1_plant_biomass_vs_respiration.r | c236033ee7eec6c20db3a206a7fb663e4a4caf98 | [] | no_license | colinaverill/suillus_ecosystem | 3decb69dc90d149016e298f2f521e3f6b272ec0f | 9e22c2e28c1f653bec2ac3f6c64654939bc38aa2 | refs/heads/master | 2021-06-12T04:26:44.960751 | 2021-03-30T07:34:41 | 2021-03-30T07:34:41 | 151,416,745 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,755 | r | exp1_plant_biomass_vs_respiration.r | #check aboveground biomass vs. belowground biomass vs. plant-derived soil respiration values Experiment 1.
rm(list=ls())
source('paths.r')
#load data.----
d <- readRDS(Duke_2017_exp1_to_analyze.path)
#make plot.----
par(mfrow = c(1,3), mar = c(5,5,1,1))
#plot 1. Belowground repsiration ~ aboveground biomass.
y <- d$... |
0725ff42f982fe769d20d64f8c02f8ed4c91a808 | 1c535fae4dee5e1f577cbf67933ed33298d0c4a4 | /sesion_6/retos/producto_1/reto_final_1.R | af289e467df21c202845e1dc93b7f1d6a0819597 | [] | no_license | manuelrojo89/ecoinformatica_2014_2015 | 5d943deeab37c56250420ac96f45513a96556a9a | c4484539189349f191c1b933f2bbb578196f7a20 | refs/heads/master | 2021-01-18T16:48:49.709432 | 2015-02-09T01:32:59 | 2015-02-09T01:32:59 | 30,033,509 | 0 | 0 | null | 2015-01-29T18:01:26 | 2015-01-29T18:01:24 | JavaScript | UTF-8 | R | false | false | 6,258 | r | reto_final_1.R | #Caracterización del funcionamiento del ecosistema y de las variables ambientales que
#lo condicionan. Gracias a la gran cantidad de información procedente de sensores
#remotos, es posible conocer la evolución temporal de variables como la cobertura de
#nieve, índice de vegetación o temperatura del suelo en los dist... |
f97e31ec243c626425c167cf6bb47663edcdce5b | 5b0fe4dac9cc2af98c5656d5af61257650e85cd5 | /man/rst_muffle.Rd | d04bab8abf56e603dc9bb280e2c6d51b4dc645de | [] | no_license | EdwinTh/rlang | 015ba2043483615978afb6b52db7721a85ebf802 | 01156007ca44023e14335d0f7191a6e60a478499 | refs/heads/master | 2021-06-29T01:25:13.103152 | 2017-09-18T15:37:40 | 2017-09-18T15:37:40 | 103,949,007 | 1 | 0 | null | 2017-09-18T14:22:50 | 2017-09-18T14:22:50 | null | UTF-8 | R | false | true | 2,433 | rd | rst_muffle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cnd-restarts.R
\name{rst_muffle}
\alias{rst_muffle}
\title{Jump to a muffling restart}
\usage{
rst_muffle(c)
}
\arguments{
\item{c}{A condition to muffle.}
}
\description{
Muffle restarts are established at the same location as where a
condit... |
2b45373aa8d289918359f3deea924777b4181ff8 | 11365780c328f089d72facb5f88d182f5eb3f4dc | /UpdateSubset.R | 3592ee710c68b9b91ec913ff98b28e6223ab7781 | [] | no_license | helenphillips/UpdateSubsets | 5ad0cc9a38ef3113bddc6232f4a432c0d3996c07 | 4b10e6b880b4fba73aad49af63f6196c53b3192f | refs/heads/master | 2020-05-17T12:15:00.853367 | 2013-08-15T15:37:43 | 2013-08-15T15:37:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,441 | r | UpdateSubset.R | ## 15th August 2013
## Helen Phillips
## Working direction is where original pixels were downloaded
## LoadDat would need a lat, long, end.date column.
UpdateSubsets <- function(LoadDat, Dir = ".")
{
## if end.date is in POSIXlt format
end.date <- LoadDat$end.date
if(class(end.date) == "POSIXlt"){
year <... |
be387ade6f8616c0f6466608287e4b0c43a0e9aa | 3563523e5a07de4d2f459dcecc388d5110831941 | /docs/airquality_app.R | e4674553cfb267c7ca5d2a4ae83f648e6b6b035c | [] | no_license | corytu/r-language-presentations | df8e37105f797ec93bfe162f4ed64e75ab7c83bb | fe234c79597e57f421308a3b33aeeb79ad62804e | refs/heads/master | 2022-02-13T02:16:11.570881 | 2019-07-27T09:53:28 | 2019-07-27T09:53:28 | 81,834,211 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,099 | r | airquality_app.R | library(shiny)
library(ggplot2)
ui <- fluidPage(
# Application title
titlePanel("New York Air Quality Measurements, May to September 1973"),
sidebarLayout(
sidebarPanel(
selectInput(
"month", "Select the month",
choices = month.name[5:9]
),
selectInput(
"obs", "Selec... |
c175cc70972fa56590426423c7334b2ea5f34149 | 42a40d1f9c44007bd0a37b3daa4b975d799e35de | /man/ThreePlusThreeDesign.Rd | adbaf2949e569c384bd8776ec8ee532d72f8a772 | [] | no_license | cran/crmPack | cb11c2a9a49c7662206ad2e7a576f854010949a2 | 2325e3fef8dbfd4d68f0fd918bf377d27dfff573 | refs/heads/master | 2022-09-27T13:51:37.214576 | 2022-09-02T22:00:11 | 2022-09-02T22:00:11 | 48,078,571 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 650 | rd | ThreePlusThreeDesign.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Design-class.R
\name{ThreePlusThreeDesign}
\alias{ThreePlusThreeDesign}
\title{Creates a new 3+3 design object from a dose grid}
\usage{
ThreePlusThreeDesign(doseGrid)
}
\arguments{
\item{doseGrid}{the dose grid to be used}
}
\value{
the obje... |
46ddbda68cb244e4e72b3fdea9d8c0c3e73ffd5d | 2764167b5743be62adadc491ec7dfde210e0703d | /R/OverTurned.R | 183787512e400565c8d43b78f1f3596dd7c0b1cb | [] | no_license | cran/GEOmap | 528a4cbe293211d324405037eb280b415e65f62e | 0149894022496cee8237868b0bb693d00ef01e41 | refs/heads/master | 2023-08-18T14:47:52.021469 | 2023-08-13T12:40:21 | 2023-08-13T13:30:31 | 17,713,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,072 | r | OverTurned.R | `OverTurned` <-
function(x,y, syn=TRUE, spacing=NULL, N=1, r1= 1, r2= 1.2, h1= .5, h2= .5, endtol=.1,
REV=FALSE, col='black', ...)
{
if(missing(spacing)) spacing=NULL
if(missing(REV)) REV=FALSE
if(missing(r1)) { r1 = 1 }
if(missing(r2)) { r2 = 1.2 }
if(missing(h1)) { h1 = .5 }
if(missin... |
b1cd1dbbc3c4c54ff330adc3a44140651daf50f3 | ce72162d2546955b5f65edb587436928481692e5 | /shiny展示/shiny_timeseries/ui.R | d7d39371ed2ca36218293af974832a559f95ef31 | [] | no_license | zackery65/ml-learn-r | 0f493b0e56586a638341c9e35692b8bb42c32262 | a6cf7045e3af0118945c320b6163dff83e437621 | refs/heads/master | 2021-01-23T02:54:56.202411 | 2017-05-08T06:16:04 | 2017-05-08T06:16:04 | 86,035,562 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 670 | r | ui.R | library(shiny)
library(rCharts)
navbarPage("运营数据预测",
theme = shinythemes::shinytheme("yeti"),
tabPanel("预测图表",
sidebarPanel(
sliderInput("slider","预测天数:",1,31,1)
),
mainPanel(
textOutput('tx', container=h4),
h3('分城市数据'),
showOutput('citys',lib="morris"),
h3('分车型数据'... |
6a688672f24657337f87785ef16c1bd75a5ce1c9 | ea9c06b25ee8b3fcee3e5ba315d9e021cbbd0b1a | /R/test.R | b60c4603023f31dd6f2e0122c369d171db241b16 | [] | no_license | kmaheshkulkarni/widgetdown | 48c3841b7e299c906c1331ff6c8a9c9a050a1d66 | 20f189c0d7da9d44851d78281284862812312c0c | refs/heads/master | 2020-09-09T13:03:15.484869 | 2018-06-29T12:56:06 | 2018-06-29T12:56:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,606 | r | test.R | #' Test case: widgets
#'
#' @name test-widgets
#' @family tests
#' @examples
#' if (requireNamespace("htmltools", quietly = TRUE)) {
#' htmlwidgets::setWidgetIdSeed(42)
#' }
#'
#' library(leaflet)
#' leaflet() %>%
#' addTiles() %>%
#' addMarkers(
#' lng=174.768,
#' lat=-36.852,
#' popup="The birthplac... |
f3765db233ddf75b1225752e15d44b0c37fa9fa9 | f694134656ed20ab912a473bb31e3819aa5c878e | /SetTheory/set-relation-level-1.R | 112e9caed69294ed0ba9747967f2134d4e86109a | [] | no_license | ISPEL-ECU/question_generation | 764bdcf286c7e537d9c28c79e6faa606e5e0e678 | 07f2e2e210ab57d5ba8c5848f990fa7ba2a461c1 | refs/heads/main | 2023-07-23T20:28:00.184742 | 2021-08-30T16:23:59 | 2021-08-30T16:23:59 | 393,118,341 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 27,902 | r | set-relation-level-1.R | library(set)
library(nsprcomp)
library(sets)
library(rje)
library(ggm)
source("utils/format.R") #set string formatting
source("utils/questions.R")
source("utils/distractors.R")
source("utils/set-generation.R") #set generation
# getSetUnionMC() generates and prepares a number
# of sets as well as 3 "distractors"... |
4a1b5dfaef49dc610d1aa0137cb58724adf52ce4 | 9bd311ddca0e60ee4007a806c19e5e764c2c8558 | /man/plotDFT.Rd | 9d4ee51cd304f264041b276c28b89cb8259bb542 | [] | no_license | raim/segmenTools | 8b34fc62c4e10d2ffa4423cc972367b9def2c689 | 7d356916b09a0cc019baf152de5dbf778130c0a1 | refs/heads/master | 2023-08-18T15:50:03.200348 | 2023-08-09T14:27:16 | 2023-08-09T14:27:16 | 77,826,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,592 | rd | plotDFT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clusterTools.R
\name{plotDFT}
\alias{plotDFT}
\title{plot polar coordinates}
\usage{
plotDFT(dft, col, cycles = 3, radius = 0.9, lambda = 1, bc = "component", ...)
}
\arguments{
\item{dft}{the Fourier transform of a time series as returned
by... |
e31d19b965f49418613fabab6706d030dd051fac | ab65a2c1eeed334ea8fddc402dc89c46141ce24a | /plot3.R | 729fb532595af2691cb4fe315a1b02ef02bdd464 | [] | no_license | mjfarooq/ExData_Plotting1 | 0c3d0796ebda738abd58c691649d5be838040ae3 | d862cc5bee604d1842c2d3775a56dddda8174d0c | refs/heads/master | 2021-01-17T06:44:43.922428 | 2015-09-12T10:14:26 | 2015-09-12T10:14:26 | 42,335,209 | 0 | 0 | null | 2015-09-11T22:29:54 | 2015-09-11T22:29:53 | null | UTF-8 | R | false | false | 1,150 | r | plot3.R |
#### Read data from File #############################################
X <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?")
Y <- X
#### Convert Date field into appropriate format #########
Y$Date <- as.Date(X$Date, "%d/%m/%Y")
#### Define dates ###Time#######################... |
498e54681b4b1fadaeb9af36f556f086b618637c | a6059cf32319ed6b92624bdf590f5fb23711629e | /R/form.R | 1bd0b718e6463f7d6cf8ef071db93062afeb5f7e | [
"MIT"
] | permissive | tidyverse/rvest | e26f23e5c9ae0deb3d1548f5d3ab7a8a4d0ba948 | 8e19075c54fdd8391873c5df454c8e6deb0a2230 | refs/heads/main | 2023-04-06T09:41:47.964837 | 2023-01-11T17:59:22 | 2023-01-11T17:59:22 | 22,178,685 | 467 | 108 | NOASSERTION | 2023-08-25T13:59:23 | 2014-07-23T21:22:27 | R | UTF-8 | R | false | false | 8,890 | r | form.R | #' Parse forms and set values
#'
#' Use `html_form()` to extract a form, set values with `html_form_set()`,
#' and submit it with `html_form_submit()`.
#'
#' @export
#' @inheritParams html_name
#' @param base_url Base url of underlying HTML document. The default, `NULL`,
#' uses the url of the HTML document underlyin... |
ec678c47bb8428beaa2e9d472ce550b8c823a67e | 5d895c875c67a0695b6b91ee6145ce960ec4b716 | /R/g.brownian.motion.R | e60e9eb0c1a37f8ad9334d92ded62c948b176a7d | [] | no_license | talgalili/animation | 80866d3f83526a68f0b401161fe2f8a831ba140f | 76d495c7aa79d0a088ab81ed691c74e61dac3604 | refs/heads/master | 2020-12-30T18:30:18.158860 | 2013-03-01T17:11:49 | 2013-03-01T17:11:49 | 8,755,335 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,658 | r | g.brownian.motion.R | #' Brownian Motion using Google Visualization API
#'
#' We can use R to generate random numbers from the Normal
#' distribution and write them into an HTML document, then the Google
#' Visualization gadget ``motionchart'' will prepare the animation
#' for us (a Flash animation with several buttons).
#' @param p number ... |
d4ceadbfdb2f153cc1d8d8aea58b6b38ffae42ba | 01f9dd6a6257459a306eecc25a8991403837a363 | /R/coef_handling.R | 0942fe7afe00215795c1f4ce2bedefc274498f7f | [] | no_license | areyesq89/DEXSeq | a05a6858604ca1a3be06fd1bda66210de1cac25c | 1e42f0c322ae753f3d322eea562203826b2d9dc9 | refs/heads/master | 2023-09-02T13:38:59.587957 | 2023-02-24T10:45:24 | 2023-02-24T10:45:24 | 127,189,778 | 8 | 8 | null | 2023-02-24T10:45:25 | 2018-03-28T19:42:32 | R | UTF-8 | R | false | false | 13,520 | r | coef_handling.R | arrangeCoefs <- function( frm, mf, mm = model.matrix( frm, mf ), fit = NULL, insertValues = TRUE ) {
if( any( attr( mm, "contrasts" ) != "contr.treatment" ) )
stop( "Can only deal with standard 'treatment' contrasts." ) # Do I need this?
if( is.null(fit) & insertValues )
stop( "If fit==NULL, return... |
2f53cfbf217ee04c8c6b2ede85f97b40da10f1e6 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/1446_0/rinput.R | cbc7fa922c299508f507bb60592e8cc436900864 | [] | 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("1446_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="1446_0_unrooted.txt") |
e9e221b42433ab947dd925bdbbb09b5ebe5152cb | 412dcb4e4dde561595e24271514324f368399222 | /man/MAX.Rd | 14f77c3ddd049a1dbe5a43d853c759e5c71cdad2 | [] | no_license | cran/MoLE | fed7494ccac0bce2a2e4b336700422b445c57e14 | 7834749b4a4395b05c06d7a32baae78a1842240e | refs/heads/master | 2020-12-02T22:16:12.599204 | 2017-10-24T06:21:35 | 2017-10-24T06:21:35 | 96,105,432 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,623 | rd | MAX.Rd | \name{MAX}
\alias{MAX}
\alias{MIN}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Find maximum value
}
\description{
Extension of standard \code{max} and \code{min} functions with which rank position(s) can be specified and result can be either rank or value.
}
\usage{
MAX(vector, rank = 1, valu... |
49ce0f38b9e59b883a89cf9551220580bbde01e2 | a85a7455b8df60364908da1d9838a1ffc93c8145 | /R/bwdnrd.R | 980df5cd17bdde9ad4308aa635e72e57132f2e30 | [] | no_license | cran/decon | 2ce4105fd7432e22fb072406700f2b0f4d3beecc | 8ec7e23c0e2c51bd93e78ff85596485c0b68b8ae | refs/heads/master | 2021-10-28T08:53:28.754901 | 2021-10-20T19:50:05 | 2021-10-20T19:50:05 | 17,695,436 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 777 | r | bwdnrd.R | bw.dnrd <- function(y,sig,error='normal')
{
homo = FALSE;
sig = sig^2;
if(length(sig)==1) homo=TRUE;
if(!homo){
if(length(y)!=length(sig))stop("Different length of 'y' and the variances.");
if(any(is.na(y))||any(is.na(sig))){
sele = (!is.na(y))&(!is.na(sig));
y=y[sele];sig... |
ce78692dd70b7d3d189bd3c74ee462c285552c18 | 55ee84107d5ba9417f80b380a0eacbb45dff90c6 | /pipeline/lin-cycif/parse-lin-cycif.R | 7287c3a2be37e2577ba98bf2fc3a2bda182028c8 | [] | no_license | camlab-bioml/astir-manuscript | 09cce196c4e58d08f79d67e4d9703bb6a0279661 | 045a2a5e52c5db4d3614f33c1572708b6a58adff | refs/heads/master | 2023-04-14T00:26:10.384924 | 2021-08-03T14:31:27 | 2021-08-03T14:31:27 | 257,439,838 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,432 | r | parse-lin-cycif.R | .libPaths(c("/home/ltri/campbell/kcampbel/R/x86_64-redhat-linux-gnu-library/3.6", .libPaths()))
suppressPackageStartupMessages({
library(tidyverse)
library(SingleCellExperiment)
library(argparser)
library(devtools)
library(matrixStats)
})
select <- dplyr::select
mutate <- dplyr::mutate
arrange <- dplyr::arr... |
07633bebf03639a289fe0eb590f3d674a1859473 | 05ebb4d386cb2604bb7642bd79d09fa3ca76dc72 | /man/tbk_hdrs.Rd | 6efdb8477b8fea2b4e142b70c8b5fd4cca580481 | [] | no_license | trichelab/tbmater | a322d5b3c558c4b45474e3ed1e394754543cc5d5 | dafbf46ca7a021849a0e5b86c1669fe7d2ad3447 | refs/heads/master | 2023-01-08T04:53:43.023578 | 2020-11-12T02:59:17 | 2020-11-12T02:59:17 | 312,152,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 307 | rd | tbk_hdrs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tbk_hdrs.R
\name{tbk_hdrs}
\alias{tbk_hdrs}
\title{retrieve tbk headers}
\usage{
tbk_hdrs(tbk_fnames)
}
\arguments{
\item{tbk_fnames}{the tbk file names}
}
\value{
an S3 object of class tbk
}
\description{
retrieve tbk headers
}
|
87e9182a36f8bd9e5666aadd0e39ce223655fbe3 | 381c0c5080ca97ffa2ef2fafea236c723869e1cd | /0_R_scripts/2.2_Relative_usage.R | 36c1a2d0fb8053a355f64ce8f7ec4bc6cec1c40a | [] | no_license | ath32/ASCs | 051d60510c4ed09d986f5cd30eddad66a573b5d3 | 33b0ee4df0cab2f0e2a6d06a32fd7231fb5799a2 | refs/heads/master | 2020-04-22T15:31:53.858680 | 2019-08-12T11:55:37 | 2019-08-12T11:55:37 | 170,480,341 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,412 | r | 2.2_Relative_usage.R | ### SOURCE ###
source <- "/Users/atho/Documents/Project_ASCs/4_Outputs/CSVs/3.1_Frequencies_all.csv"
data = read.csv(source, header = TRUE)
#Loading columns...
Acc <- unlist(data[1])
stop.0 <- unlist(data[2])
taa.0 <- unlist(data[3])
tag.0 <- unlist(data[4])
tga.0 <- unlist(data[5])
stop.1 <- unlist(data[6])
taa.1 <-... |
17a86d1ae3548101979ce2b58f5757a561c171ef | 430e757a1e6dae14ddd80ec37268adc410ba5793 | /man/fp_average_replicates.Rd | fce63d6483ddb6eb3d80ee9dcc5fc1a1417fd968 | [] | no_license | alb202/rfret | bf6496460320886f445f40f4c18e27e77a399ac8 | 9b444e238cd89f829e278e6d9505c11d7e4d450c | refs/heads/master | 2021-01-21T18:53:37.742723 | 2017-11-30T22:05:20 | 2017-11-30T22:05:20 | 92,093,777 | 0 | 0 | null | 2017-05-22T19:54:13 | 2017-05-22T19:54:13 | null | UTF-8 | R | false | true | 1,774 | rd | fp_average_replicates.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fp_average_replicates.R
\name{fp_average_replicates}
\alias{fp_average_replicates}
\title{Average technical replicates from a fluorescence polarization or anisotropy experiment}
\usage{
fp_average_replicates(raw_data)
}
\arguments{
\item{raw_... |
2bd7e0347f71adb29c140ed390276f10da0eb7c6 | f46108919f134e6f37cc9390a1064878697a6fb5 | /run_analysis.R | a7101f5a8cb69be1d5ca81a801ed9e05d44dfd08 | [] | no_license | smithraphael/Getting_Cleaning_Data | b4fdcdff5ce42e2a2767375402f8dd34084f2d38 | 7b08fb5a5b91b9b0873b93b597874966b2d4434a | refs/heads/master | 2016-09-06T19:11:02.648490 | 2015-02-13T12:27:05 | 2015-02-13T12:27:05 | 30,621,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,183 | r | run_analysis.R | library("reshape2")
library("data.table")
setwd("C:\\Raphael\\estudos\\datasciencecoursera\\Clearing Data\\Week3")
dir_train = ".\\UCI HAR Dataset\\train"
dir_test = ".\\UCI HAR Dataset\\test"
dir_feature = ".\\UCI HAR Dataset"
#1 Merges the training and the test sets to create one data set
x_train = read.table(pa... |
827eb7a0cd97612ac3738ba77d70fc32add97824 | 81509106d36b18992d00a2652bd2cb6b4c104add | /man/organize_data.Rd | 627c964c13b47d1d4de47594ab3439f22928fb56 | [
"MIT"
] | permissive | cpsievert/shinymodels | 2da4fd33ea9de707603f8b45efa7d70d0d35186a | 2cc0dd418bb9291791306a16be6e2dd66d3ba91e | refs/heads/main | 2023-07-15T00:19:57.530026 | 2021-08-05T18:09:40 | 2021-08-05T18:09:40 | 393,146,906 | 0 | 1 | NOASSERTION | 2021-08-05T19:14:52 | 2021-08-05T19:09:24 | null | UTF-8 | R | false | true | 1,236 | rd | organize_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/organize_data.R
\name{organize_data}
\alias{organize_data}
\alias{organize_data.default}
\alias{organize_data.tune_results}
\title{Extract data from objects to use in a shiny app}
\usage{
organize_data(x, hover_cols = NULL, ...)
\method{orga... |
5e1a4bbeb2620e23e910dceec9d982e1dc308856 | 2c0e460a0d1a229640da96cd4a1bb2f1ba2ab8b7 | /man/prepare_model.Rd | 5121422904a4d53d0b0770410efdb9de984b1ba5 | [
"MIT"
] | permissive | ensley/gpcovr | d24aa981d485e06e54d9e8de1776c388e1a02af3 | 8d96197b965e9807f7b9c17fc4fed7c34163617a | refs/heads/master | 2021-05-08T17:25:39.116358 | 2018-01-30T02:41:46 | 2018-01-30T02:41:46 | 119,471,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,195 | rd | prepare_model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility_funcs.R
\name{prepare_model}
\alias{prepare_model}
\title{Prepare the covariance model}
\usage{
prepare_model(family, params)
}
\arguments{
\item{family}{The parametric family the covariance function will belong to}
\item{params}{A v... |
54c48bcc4d7600cc496d338c70d3c3bcb2d31992 | 25fd9e2057ffbe7bd0b48ed73dc58d3bd45f29d8 | /supplementary/figures-codes/FigureS1.R | 33163dc3720ca27130da8b3d251f4a262a3e2520 | [] | no_license | benhvt/PostClusteringDifferenceTesting | 981ba13939e3f09d619a4b6da8f7167ad31df7d9 | bcd692d26ce7d9e799df1a8769defa19fe8574f3 | refs/heads/main | 2023-04-07T03:53:37.924294 | 2023-02-07T13:46:18 | 2023-02-07T13:46:18 | 463,532,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,606 | r | FigureS1.R | #Figure S1
library(ggplot2)
library(RColorBrewer)
library(wesanderson)
library(viridis)
library(paletteer)
library(patchwork)
library(cowplot)
library(dplyr)
library(ggcorrplot)
library(latex2exp)
library(multimode)
source(file = "utils.R")
theme_set(theme_bw())
# Results over 2000 simulations of the data
## Under... |
704f0e31e414d37dba54929d8acde74898a7f7bb | 6f257dfac5625c2bc5cd0fa418c94b432bac472d | /inst/examples/datetimeExample.R | a8c3b19276a7c32ee8ecfec226a202459cc754bf | [] | no_license | GastonMauroDiaz/caiman | 591ac8fa2d46a291ff2692cd825021ec3970b650 | c37d0e4a0af4774b67c30dc3c22c1b55cbe3f153 | refs/heads/master | 2022-01-25T21:34:30.218488 | 2022-01-21T18:52:43 | 2022-01-21T18:52:43 | 61,065,044 | 10 | 1 | null | null | null | null | UTF-8 | R | false | false | 119 | r | datetimeExample.R | x <- loadPhoto()
datetime(x)
datetime(x) <- "1980-11-20 14:00:00"
datetime(x)
\dontrun{
datetime(x) <- "an error"
}
|
c8d951643c331ba2518dce62e9e0d76d3a277efd | a48797beca55474d7b39676389f77f8f1af76875 | /man/satisfies_numadmix.Rd | 7b3fc368ffb7f2ae81bce572e560d9441c07c43b | [] | no_license | uqrmaie1/admixtools | 1efd48d8ad431f4a325a4ac5b160b2eea9411829 | 26759d87349a3b14495a7ef4ef3a593ee4d0e670 | refs/heads/master | 2023-09-04T02:56:48.052802 | 2023-08-21T21:15:27 | 2023-08-21T21:15:27 | 229,330,187 | 62 | 11 | null | 2023-01-23T12:19:57 | 2019-12-20T20:15:32 | R | UTF-8 | R | false | true | 870 | rd | satisfies_numadmix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/toposearch.R
\name{satisfies_numadmix}
\alias{satisfies_numadmix}
\title{Test admixture constraints on a graph}
\usage{
satisfies_numadmix(graph, admix_constraints)
}
\arguments{
\item{graph}{An admixture graph}
\item{admix_constraints}{A da... |
8f86ded60b3990ac89e64384aaeef4649298fc38 | 694f56aa8fe0a0d03f142aae4c1d8686f50a7dbc | /tests/manual/manual_test_large_images.R | 7e9309be43af38dd8504362c9d4d0834de0d99a5 | [
"ISC",
"Apache-2.0"
] | permissive | brianwdavis/quadrangle | f2e4dbd888eb23c31a75de2be916d3f35c4b5961 | cb012c0934360065bd608aa24a5485ca125ed362 | refs/heads/master | 2023-02-28T07:36:29.262282 | 2023-02-22T19:05:58 | 2023-02-22T19:05:58 | 209,638,942 | 7 | 2 | NOASSERTION | 2023-02-23T09:11:10 | 2019-09-19T20:02:28 | JavaScript | UTF-8 | R | false | false | 612 | r | manual_test_large_images.R | library(testthat)
library(quadrangle)
context("Slow/network tests to be run manually")
test_that(
"Large images (~8MB, 20Mpx) don't crash JS engine",
{
skip_if_offline()
skip_on_cran()
large_path <- "https://github.com/brianwdavis/QRdemo/raw/master/inst/extdata/DSC_0003.jpg"
large_image <- magic... |
23a854fad48fd98a3968cc469ee03d1bd76c9cb9 | 968c93b1f961e4ddb5c1e24d9c76779897952ed8 | /man/OneRow.Rd | 0a07c2cfb9e6cd3d4413ded52fe09d67a3d372c0 | [] | no_license | cran/ImaginR | 5c4ebee995d79bbe0f281b3186c53fc181a91dc0 | 64ff9c7dbe59f39b001c93ceb69703421bdea2c8 | refs/heads/master | 2021-01-23T02:11:01.010826 | 2017-05-31T05:23:29 | 2017-05-31T05:23:29 | 92,912,581 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 946 | rd | OneRow.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ImaginR.R
\name{OneRow}
\alias{OneRow}
\title{Get phenotype, HEX and HSV color code for one picture}
\usage{
OneRow(picture)
}
\arguments{
\item{picture}{The picture uploaded by load.image()}
}
\value{
The HEX and HSV color code a... |
0240e315daad27b280748731f7dc778737966516 | e756bcd2b578b74c238dbca53ef88e2d026bd121 | /man/h_rainsnow.Rd | 0086ba0774ae5e83ab82b54d1ede21392e734a62 | [] | no_license | HYDFKI7/htsr | d95abbdbafde547b726733524176bd08e55ccdee | d56e8ea98c99f0158b0465d279ae805728ec5adb | refs/heads/master | 2023-02-02T23:56:09.548157 | 2020-12-16T07:50:02 | 2020-12-16T07:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,040 | rd | h_rainsnow.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h_rainsnow.R
\name{h_rainsnow}
\alias{h_rainsnow}
\title{Share the solid and liquid precipitations with a temperature criteria}
\usage{
h_rainsnow(fpr, fta, ta0, ta1, sta = NA)
}
\arguments{
\item{fpr}{Precipitation file name}
\item{fta}{Tem... |
a8f7da55d6d67acd24a71a0abeaf022508adfb5a | 606bb9c31d5c2badba82e4e5c664ae912cb95d19 | /run_analysis.R | e1edccf588220965dfa5705835ae360c3a50bc1c | [] | no_license | vmatutea/DataScience | 7a534539ded838fb2531e6ac5d6516bd3d44751e | 5f3885b1621fe1882a96cab07608467ce5cdbc63 | refs/heads/master | 2021-07-24T04:27:29.063006 | 2017-11-05T13:14:11 | 2017-11-05T13:14:11 | 79,155,137 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,114 | r | run_analysis.R | installed.packages("reshape2")
library(reshape2)
# 1.Merges the training and the test sets to create one data set.
filename <- "get_dataset.zip"
if (!file.exists(filename)){
fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip "
download.file(fileURL, filename, m... |
1acd7fa733838685173162210379c438d1c300eb | 1d4a28f95725fc50dbc6b0ad0912372b5254094c | /run_analysis.r | 3daf16e619761eb44792af70ccf1f619eb666b75 | [] | no_license | keithabailey/keithWD | f2cd2e219b606f8a08b25cb6fe0254fa05cfcda6 | 8c924bdaf001ef27edd760187a4b6d1f592ed624 | refs/heads/master | 2021-01-17T19:23:14.701626 | 2016-07-10T19:33:33 | 2016-07-10T19:33:33 | 63,014,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,486 | r | run_analysis.r | ###### Purpose
# Instructions
#
# The purpose of this project is to demonstrate your ability to collect, work with, and clean a data set.
# Review criterialess
# The submitted data set is tidy.
# The Github repo contains the required scripts.
# GitHub contains a code book that modifies and updates the available codeb... |
b692cda29510dc28a34a6d77a862f997143f79e2 | 7ab1674370ca36d36aae47a5ca26badab021f28b | /Logistic Regression on Bank Churn Data/bank with reduced catvar.R | 8025c896abca20e2f6e077d7f8cc4ba54c1cb81c | [] | no_license | maheshnandd/Data-Science-with-R | 784d8b1c801953767eec018695e6ac569ad87b9c | f765430bb56f68e8f2abde2633683ba0f01d8dcd | refs/heads/master | 2022-11-20T10:10:40.179997 | 2020-07-22T12:29:38 | 2020-07-22T12:29:38 | 281,641,536 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,808 | r | bank with reduced catvar.R | #Build a classification model using logistic regression to predict the credibility of the customer, in order to minimize the risk and maximize the profit of German Credit Bank.
#Algorithm :Logistic Regeration
#dataset:Bank credit card fraud detection
library(corrplot)
library(caret)
#Read file
path="D:/R/Lo... |
c0987c8500fc9009a9fd94c5da620a729c4b3d89 | fcaed3894375c80a84199fae031277b2a0e66812 | /Plot1.R | 6e7234cfbe400290178e6b9f860e7c0dba165e36 | [] | no_license | jzazueta/ExData_Plotting1 | 2f886cf333dbe8f6105cf9f78914a81caa744644 | 545bea205e7afa60b7910eb3a11b82f0e9e9bb25 | refs/heads/master | 2020-12-24T09:15:37.969550 | 2014-06-07T02:01:59 | 2014-06-07T02:01:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 930 | r | Plot1.R | ## Plot 1
## Unzip data source
dir <- getwd()
unzip("exdata-data-household_power_consumption.zip",exdir=dir)
## Read File
power <- read.csv("household_power_consumption.txt",
sep = ";", header = TRUE, stringsAsFactors = FALSE)
## Convert dates, time ... |
6d271dd6feb0bcdb255f769983fc55f699f348bc | f6187d6a6734884c02a449d8eb44f29db14819b5 | /bananas_data_play.R | 9b9efe7364caf1c5ee43c7792bbcb8b9679b18e9 | [] | no_license | dlato/Stat744 | b6a2ed9a45ac69af5c37f9d4cea078868662816d | def4a4a4d239cdf502ee7e9cec318b8d8d2cc5a4 | refs/heads/master | 2020-07-23T00:30:58.580569 | 2019-11-20T00:14:23 | 2019-11-20T00:14:23 | 207,383,986 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,249 | r | bananas_data_play.R | #making a really terrible graph better
#based on this:
# https://github.com/thomasdebeus/colourful-facts/blob/develop/projects/Redesign-of-worst-chart-ever/redesign-of-worst-chart-ever.md
#######################
library(tidyverse)
library(ggthemes)
library(ggplot2)
library(directlabels)
#######################
#read i... |
f3152d6521937381b12e292d663dc0f828cb4e89 | 78cd6c3c511f95d8b8a57b36c5fb71da0632e989 | /slurm_variances.R | 13bed67899ad3626106a558f0ee4965c5a097402 | [] | no_license | NTomasetti/OHF | 57c3103f7b6c85bc00a3c53d7e179b89a993c48e | 9743f4b007a807c881142c8e2173c97cc45251ce | refs/heads/master | 2021-04-03T07:46:18.189602 | 2018-08-13T04:06:38 | 2018-08-13T04:06:38 | 125,163,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,930 | r | slurm_variances.R | rm(list=ls())
repenv <- Sys.getenv("SLURM_ARRAY_TASK_ID")
j <- as.numeric(repenv)
set.seed(1000 + j)
library(Rcpp, lib.loc = 'packages')
library(RcppArmadillo, lib.loc = 'packages')
library(RcppEigen, lib.loc = 'packages')
library(rstan, lib.loc = 'packages')
source('slurm_RFuns.R')
sourceCpp('slurm_cppFuns.cpp')
ids... |
1356d077b05cdeff4ead32c6b404292504ded6f3 | 409490d9da29446f5fb1672eab7e774731554785 | /man/list.reverse.Rd | 1f6d1995ae9c8caf47df03c0cff54bc59ad9b36e | [
"MIT"
] | permissive | timelyportfolio/rlist | 8004c472fb6835182773d4458c9d604cb03795a3 | d3299cec59c36f9295493feea3d53d21278a8a2a | refs/heads/master | 2020-11-30T23:33:33.408653 | 2014-08-07T16:28:24 | 2014-08-07T16:28:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 283 | rd | list.reverse.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{list.reverse}
\alias{list.reverse}
\title{Reverse a list}
\usage{
list.reverse(.data)
}
\arguments{
\item{.data}{\code{list}}
}
\description{
Reverse a list
}
\examples{
\dontrun{
x <- list(a=1,b=2,c=3)
list.reverse(x)
}
}
|
ca4310e605ffa502426850f4ad61331a4732a186 | 5113b035b5e5022e71fb6d065f7033a2ba2c1a96 | /R/setup_lambda.R | 5816f8cb7bfc707bd37d714ee62e6f3a4c2ed8e6 | [] | no_license | cran/glmtlp | 2f9a636f47d3f35c0852608b5d8244aa58030956 | ec957cac73e6c7e82731a5ab6f8665392cf1b4bf | refs/heads/master | 2021-12-25T07:43:50.859511 | 2021-12-17T22:00:02 | 2021-12-17T22:00:02 | 120,621,828 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,199 | r | setup_lambda.R | #' Generate lambda sequence.
#'
#' @param X Input matrix, of dimension \code{nobs} x \code{nvars};
#' each row is an observation vector.
#' @param y Response variable, of length \code{nobs}. For \code{family="gaussian"},
#' it should be quantitative; for \code{family="binomial"}, it should be either
#' a fac... |
ba2e3cef086d6b6a82403cb451568ffd0fba0206 | 8e35e074ce3973078c4cf50eb46533f250f66a78 | /examples/example5_script.R | 79b119c85044150f7c9ba69b322d1e539c3a74c7 | [] | no_license | Moeneeb/NLP_workshop | 1f9afdf8748d5eba6483f4c5a4c2a30dc3b3f9c8 | be98ebc590fd45ad6e278b5909238df17382aabb | refs/heads/master | 2021-05-23T08:06:41.673965 | 2020-04-01T09:21:43 | 2020-04-01T09:21:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 774 | r | example5_script.R | library(dplyr)
library(magrittr)
library(tidytext)
library(stringr)
library(ggplot2)
# Example 5
# Load the star_wars_scripts.rds dataset
df <- readRDS("data/star_wars_scripts.rds")
# Use {tidytext} to tokenize the star wars scripts, where a token is a single
# word to create a one-token-per-row data frame. Also rem... |
64f3bc6610553db0c7d673241e9d75a736bcab4b | 64bd1f5b0928dc4218282d8dd88b876a3dec877a | /sigmoid_unsmoothed_left.R | 672ff63cfbf7f54d4285a908bc609897bad53d6f | [] | no_license | CoBrALab/BSC | fdb1ae344b9264c8ec18a91e20849635e1837459 | 93ec7ed15803d3922da2c36d01311bee222e2f22 | refs/heads/main | 2023-07-04T21:16:27.954367 | 2021-08-09T15:59:10 | 2021-08-09T15:59:10 | 311,529,692 | 1 | 1 | null | 2020-12-17T20:22:32 | 2020-11-10T03:03:44 | Shell | UTF-8 | R | false | false | 3,435 | r | sigmoid_unsmoothed_left.R | # May 5th 2019
# Can the cortical intensity profile be approximated with a sigmoid function?
### Load required libraries
##
library(plyr)
library(RMINC)
library(metafor)
library(mni.cortical.statistics)
#!/usr/bin/env Rscript
args = commandArgs(trailingOnly=TRUE)
WD <- getwd()
setwd(WD)
setwd("..")
setwd("./samples/"... |
22c25ddcbb8d49c531468828501cd500e83ce277 | 846559394848a21cf4859096455b2e2b31c8c77e | /man/ComonGAP.Rd | dc461c6aa11f89cbbebbeab4b97acac613086381 | [] | no_license | ivotebexreni/JADE | e8d2c2087b35a7236a607e04317904da96ab97d3 | c9efee1d940dc49d30739f88ce6855caa4f00284 | refs/heads/master | 2023-03-18T20:39:48.617218 | 2020-03-25T10:30:02 | 2020-03-25T10:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,483 | rd | ComonGAP.Rd | \name{ComonGAP}
\alias{ComonGAP}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Comon's Gap}
\description{
Comon's GAP criterion to evaluate the performance of an ICA algorithm.
}
\usage{
ComonGAP(A, A.hat)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\i... |
2ae152cfc43671273529936c0aa178efe2dbfd5f | 26dea210be60fafab93c89e4bb11d5ff9edeba72 | /01Basic/26Array__Dimension_name.R | 0010ca05c3036e5b9aaecf5ef6c78419a5f9dd4f | [] | no_license | MomusChao/R | a71df4f7430d644c18f853ad4f06b0838d5545c9 | 014c8e5ec43dc5d02b9faa41b49032ed5c340439 | refs/heads/master | 2021-06-19T02:21:11.297723 | 2020-12-09T22:28:18 | 2020-12-09T22:28:18 | 83,297,248 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 100 | r | 26Array__Dimension_name.R | x = array(1:8,dim=c(2,2,2))
dimnames(x)[[2]]=c("Momus","Eva")
dimnames(x)[[3]]=c("3-1","3-2")
x |
9e76c1cbc9a3a1a65e75a9dd6d564d3c9e048c0d | cf9500bad69d602c2e14562ae82e871617eb33cd | /Team 1/text_mining_Wei_Wang/12_question_#9.R | a53ae59ee35403da9e5bc631b5e64d6efa796862 | [] | no_license | PHP2560-Statistical-Programming-R/text-mining-review-all-join-this-team | 9b03c8df59424091383e461f45bd41999d3560cf | 013ccf9ecc9bac96f0a3b5be5c925862af1ff226 | refs/heads/master | 2021-08-19T22:38:08.195634 | 2017-11-27T16:24:00 | 2017-11-27T16:24:00 | 110,900,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 578 | r | 12_question_#9.R | # Analyze word counts that contribute to each sentiment. Can we view this visually?
counting_bing_word <- series %>%
inner_join(get_sentiments("bing")) %>%
count(word, sentiment, sort = TRUE) %>%
ungroup()
counting_bing_word
# We can view this visually.
counting_bing_word %>%
group_by(sentiment) %>%
top_n(... |
83172aa3d1113285d1a0b605a4e149ef691bbaa4 | c69bb8c12eb205627783c8ae7a10280235873724 | /man/tnirp.Rd | 48dfcb0612f0ed027476c2ca91e8d1285162a271 | [] | no_license | cran/HelpersMG | 384b45838d5fa110fe31c3eaca5b545774136797 | c3bd166e7d24bf4d51414819539262db9e30495a | refs/heads/master | 2023-06-21T20:05:01.243339 | 2023-06-14T19:02:05 | 2023-06-14T19:02:05 | 33,549,168 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,497 | rd | tnirp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tnirp.R
\name{tnirp}
\alias{tnirp}
\title{Read an ASCII text representation of a named or not vector object}
\usage{
tnirp(x, named = TRUE)
}
\arguments{
\item{x}{A string or a vector of strings with value and possibly names.}
\item{named}{T... |
01711174f1d691cfd171a198510238184e5db76e | cd3252d6bb33b1254219eef160781dc68654d4a9 | /R_W2_Project1-Boost revenue by reactivating dormant one-time buyers.R | 3dfa5c461ea3f4a86cf7a9ab29e4dc93bdd8cbfc | [] | no_license | gracesiny12/Business_Analysis | 3af10fcbbef2e0d8e31e1dc67f5b314cd5d3496a | 505e9ab3003684a75ef17de8b82788115498c370 | refs/heads/master | 2021-09-10T17:30:44.786984 | 2018-03-30T03:39:05 | 2018-03-30T03:39:05 | 123,096,780 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,294 | r | R_W2_Project1-Boost revenue by reactivating dormant one-time buyers.R | # R version 3.4.0 (2017-04-21)
install.packages("data.table")
install.packages("sqldf")
install.packages('doMC')
install.packages('glmnet')
path ='~/Downloads'
setwd(path)
library(data.table)
library(sqldf)
library(doMC)
library(glmnet)
options(scipen=999)
customer_table <- fread("customer_table.csv")
order_table <-... |
43289a70004984320e87d82fa8ae8c7ff41eff82 | cb84593a51f0fe91e2071402582d4c61bd2c39e3 | /Run_Analysis.R | 7ed5038c706e260b061b2676117b465e6578ae49 | [] | no_license | TMagodi/Getting_and_Cleaning_Data_Week_4_Project | f32f17c8a47f95e1157c0272f38cd712a41c7662 | 1363d8901df47e4f29dfdfa95bdd297ce9a29eef | refs/heads/main | 2023-01-23T10:08:01.207554 | 2020-11-24T12:21:31 | 2020-11-24T12:21:31 | 315,565,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,657 | r | Run_Analysis.R | # Preparation Stage
setwd("C:/Users/vkjh6510/Desktop/RPROGRAMMING COURSERA/FUCI HAR Dataset/FUCI HAR Dataset/UCI HAR Dataset/")
#Loading required packages
library(dplyr)
#Reading data
features <- read.table("./features.txt", col.names = c("n","functions"))
activities <- read.table("./activity_labels.txt",... |
298fe459c3c0c2d3a96637dfa4d70112d10dde45 | 9719c43e784f48e79c81c7151ada584c105bbe11 | /tests/testthat/test-biocbox.R | 8f35221a1ba72b4f7abeef107cb537e9a30921a4 | [
"Apache-2.0"
] | permissive | edavidaja/FacileAnalysis | ade3de9b07fb4d614a04dce7783843dfc57d5ce4 | 8f96cdf41904d606f81294f4ff169c658113dd86 | refs/heads/main | 2023-09-04T21:15:56.014307 | 2021-11-17T20:35:35 | 2021-11-17T20:35:35 | 430,765,832 | 0 | 0 | NOASSERTION | 2021-11-22T15:38:31 | 2021-11-22T15:38:30 | null | UTF-8 | R | false | false | 4,029 | r | test-biocbox.R | context("Building bioconductor assay containers with biocbox (biocbox)")
if (!exists("FDS")) FDS <- FacileData::exampleFacileDataSet()
test_that("Correct bioc container built from model def and method spec", {
mdef <- FDS %>%
filter_samples(indication == "BLCA") %>%
flm_def(covariate = "sample_type",
... |
953de19701df28f4939756e65574f6e6eb5fdbf4 | 081576efbe245e5c437d4c45a30c10453cd2cac8 | /man/vis_pancan_anatomy.Rd | f098a4364e2bbc4bd61f524c0103d9ddb6256d24 | [
"curl",
"MIT"
] | permissive | fei0810/UCSCXenaShiny | 93ecad178e560cbfe6668978bb77dac31e5b169a | 398605a5da859886313649036da739feee0edec3 | refs/heads/master | 2023-04-18T00:58:07.866434 | 2021-04-28T12:39:02 | 2021-04-28T12:39:02 | 274,140,433 | 1 | 0 | NOASSERTION | 2021-04-28T12:39:02 | 2020-06-22T13:11:24 | R | UTF-8 | R | false | true | 978 | rd | vis_pancan_anatomy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vis_pancan_value.R
\name{vis_pancan_anatomy}
\alias{vis_pancan_anatomy}
\title{Visualize Single Gene Expression in Anatomy Location}
\usage{
vis_pancan_anatomy(
Gene = "TP53",
Gender = c("Female", "Male"),
data_type = "mRNA",
option =... |
af60fd16407c9b0de0f30de0f8bacaf27773fe87 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkLabelGetLineWrapMode.Rd | 812ad930ad8e9ec78c099fcc410ae579d4b6ec60 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 488 | rd | gtkLabelGetLineWrapMode.Rd | \alias{gtkLabelGetLineWrapMode}
\name{gtkLabelGetLineWrapMode}
\title{gtkLabelGetLineWrapMode}
\description{Returns line wrap mode used by the label. See \code{\link{gtkLabelSetLineWrapMode}}.}
\usage{gtkLabelGetLineWrapMode(object)}
\arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}}
\details{Since 2.10}
\value... |
2e93ad37d70b6cd7a3fe111522f9add50a3e2521 | c85b1424f959ec964861d3cc0b396d75cceb84ae | /sec3.R | eb90b491e0eecffdffbb514ff0d2b3fc7b20a583 | [] | no_license | happyplatypus/investableUniverse | efed2b3251b4efa5211459ed9f87affd7e02d16d | 7395a3808c2f415cc36da2c95561eb56f742c17f | refs/heads/master | 2021-03-27T14:03:12.054011 | 2020-07-14T12:07:57 | 2020-07-14T12:07:57 | 65,375,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,839 | r | sec3.R | #!/usr/bin/Rscript
library(TTR)
library(quantmod)
library(data.table)
library(lubridate)
args<-commandArgs(trailingOnly = TRUE)
if(length(args)<3){stop('<> marketcapmillion adv-million howmuchaway (cutoffs) 800 10 0.98 ')}
#rm(list=ls(all=TRUE))
date_<-Sys.Date()
#date_<-as.Date(args[1],format="%Y-%m-%d")
#yahoo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.