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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8dd1a4dc90c2228a3336b88bee956fa9b10b5b55 | 1675bba9502914df14305dd269efc1839d9701a0 | /distribution.R | a249d34022fa1640aa13bde0083e20c7c2cecca2 | [] | no_license | jmpasmoi/pubop | 38e336fb748c909937d9c19481ae4319c267013b | d065cb61e1d6e7351485a3b571b915e173e931e0 | refs/heads/master | 2023-03-16T19:42:18.854242 | 2020-01-19T15:02:22 | 2020-01-19T15:02:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 639 | r | distribution.R |
library(tidyverse)
df <- read.csv("data/afbrs_transdf.csv") %>%
mutate(choice=as.character(choice))
#Data Distribution
ggplot(df, aes(region)) +
geom_bar(aes(fill = choice), width = 0.5) +
theme(axis.text.x = element_text(angle = 65, vjust = 0.6)) +
labs(x = "Region", y = "Count") + face... |
d1aedffc809f502fe65f3489d8680cc13e373cf0 | 74fe29da37e54fb5e49a1ae7d4cf5051428202eb | /R/hl_competitiveness.R | ac15afea522f3f0f9fd9b0fe89962d88a7464048 | [] | no_license | CRAFTY-ABM/craftyr | 7fd8e63f85f4ddc13fbb0a79b67710a7b5a818f2 | 5630d1f0e4a1b1c34e3d10740640d414346f1af4 | refs/heads/master | 2022-08-11T13:20:13.579266 | 2018-06-16T06:55:19 | 2018-06-16T06:55:19 | 266,212,786 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,628 | r | hl_competitiveness.R | #' Calculate and plot competitiveness for every AFT on every cell
#'
#' @param simp
#' @param dirtocapitals
#' @param capitalfilename
#' @param dirtodemand
#' @param demandfilename
#' @param dirtoproduction
#' @param productionfilenamepattern
#' @param returnplot if true the ggplot object is returned
... |
2a122b384dd6a88ed2bfb19b10b07c9a7be50ff7 | b813091ffddfc5ecaf86b293f796e2d5cb5137f6 | /chapter2.R | 72a19a63c51f0405cf4e56938ec98af03ac47085 | [] | no_license | jtcies/statistical-rethinking | bca346fb54fb8e79f5dee57d67ecd2877826809c | 6d45edc73ea04ce8b27056f178332d67563d49dd | refs/heads/master | 2020-06-21T11:18:18.165620 | 2019-12-26T17:12:12 | 2019-12-26T17:12:12 | 197,434,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 837 | r | chapter2.R | library(tidyverse)
library(rethinking)
# grid
prior_grid <- seq(0, 1, length.out = 100)
prior <- ifelse(prior_grid < 0.5, 0, 1)
likelihood <- dbinom(6, size = 9, prob = prior_grid)
posterior <- prior * likelihood
sp <- posterior / sum(posterior)
qplot(prior_grid, sp, geom = "line")
## 2.6
globe_qa <- quap(
... |
ac64f741881776ab3a20c619b73da73ac5dbd101 | 4eb5cda5f02f054d64745ce91923dd1fa4ea9095 | /Vuln_Index/eck4.vulnSummaryScatterPlots.R | 358b308573f47df1091586c11bdea31a84c9e1ab | [] | no_license | mczapanskiy-usgs/WERC-SC | e2e7cb68616ef0492144c0ef97629abb280103ae | caec92b844c9af737dcfc8d6dbb736de79c3e71c | refs/heads/master | 2021-12-02T16:42:16.529960 | 2021-12-01T16:58:20 | 2021-12-01T16:58:20 | 36,815,737 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,451 | r | eck4.vulnSummaryScatterPlots.R | ## this script is used to graph the final vulnerability scores from the three indices
## for final presentation
## load data and toolboxes
# rank <- read.csv("VulnIndexFinalSensitivityScores.csv") ## matrix of final PV, CPV, and DPV 1-10 rankings
PVscores <- read.csv("PCV&PDVscores.csv") ## matrix of cumulative PV, CP... |
6d15bc550555986d52a4d6ec0613c68920294685 | 064d55da94fed4ca7fb1e9b8966ef20db51a942b | /logLikelihood.R | 30b04689cf526395b473752a6d4372435def9e64 | [] | no_license | Jsockin/Rust_1997_R | f94715f9f3ecb8b71a8f479868fc479adf38112a | ec8f326a7e8f70b3c8fc325452a55ccdf0ac650b | refs/heads/master | 2021-08-23T11:33:41.758074 | 2017-12-04T18:34:05 | 2017-12-04T18:34:05 | 113,079,419 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 535 | r | logLikelihood.R | #
# Estimate log-likelihood given policy function
#
logLikelihood <- function(xSamples,aSamples,policyA){
NN <- dim(xSamples)[2]
TT <- dim(xSamples)[1]
likeMatrix <- matrix(0,TT,NN)
for (n in 1:NN){
for (t in 1:TT){
gridPos <- xSamples[... |
12d0fc7b0dbec6b3839aadcc6d4b2331a335ee30 | effe14a2cd10c729731f08b501fdb9ff0b065791 | /cran/paws.security.identity/man/cognitoidentityprovider_admin_confirm_sign_up.Rd | fd799e3c9bcc19dedc95c85af5733d08ccd11708 | [
"Apache-2.0"
] | permissive | peoplecure/paws | 8fccc08d40093bb25e2fdf66dd5e38820f6d335a | 89f044704ef832a85a71249ce008f01821b1cf88 | refs/heads/master | 2020-06-02T16:00:40.294628 | 2019-06-08T23:00:39 | 2019-06-08T23:00:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 876 | rd | cognitoidentityprovider_admin_confirm_sign_up.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cognitoidentityprovider_operations.R
\name{cognitoidentityprovider_admin_confirm_sign_up}
\alias{cognitoidentityprovider_admin_confirm_sign_up}
\title{Confirms user registration as an admin without using a confirmation code}
\usage{
cognitoid... |
2d55bc4b95fc49a9d25d914087a16a185ba007c5 | 602c144363277f2efc062d78bce139dd7fb75480 | /tests/testthat/try-parse_ergm_log.R | 211ec1407c213a1bbaa5aea5676b6735a5a252f9 | [] | no_license | mbojan/mbtools | 637c6cfba11a63d7a052867d0afa211af00060ad | ed7680f0f9ae68ea12f6bca403f1b686f20e9687 | refs/heads/master | 2022-07-14T03:25:05.525650 | 2022-06-25T18:43:09 | 2022-06-25T18:43:09 | 29,505,211 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,149 | r | try-parse_ergm_log.R | library(tidyverse)
library(tidytext)
op <- options(
tibble.print_min = 30
)
dane <- tibble(
text = readLines("~/Desktop/dhgwdeg0.1gwesp1-10k-cd.out"),
) %>%
rowid_to_column("line")
readcoef <- function(d, ...) {
con <- textConnection(d)
read.table(con, colClasses = "character", as.is=TRUE, header=TRUE)
}
... |
84a4b779876ff91803fe3505a23a0f18b48770ec | 1a2917c0c2d5e75904a5089090b5d0b3dba1f11e | /RDA.arrow.R | 12d5f876788327ba2bd2488149b7f6710e59cc96 | [] | no_license | Shapy-Ray/Gutmicrobiome_PretermBirth | 718343ff6f1be4cb08fc37a6b1c9141dd31c9de7 | ddf1680ae805072e37ae0c258e970f4d696bcbe6 | refs/heads/main | 2023-02-15T09:31:10.067206 | 2021-01-15T10:22:48 | 2021-01-15T10:22:48 | 329,878,185 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,186 | r | RDA.arrow.R | library(ggplot2)
library(vegan)
library(dplyr)
library(scales)
library(grid)
library(reshape2)
library(phyloseq)
map <- read.table("Preterm.intestin.txt",sep = "\t",header = T)
map = map[complete.cases(map),]
map$group <- substr(map$SampleID,1,6)
otu <- import_biom(BIOMfilename = "table.json.even3000.biom")... |
ee30fee5689acd48971f1f6b22894a2aa3018b38 | ae92bfc03d51d222741dc83e3ea77f28f2ee6e83 | /tests/testthat/test-double_ml_pliv_multi_z_parameter_passing.R | 770e57776bc58622fd570ac4d61c31a91a83ce3c | [] | no_license | anhnguyendepocen/doubleml-for-r | 947d7f19f4f038cc11090340f36e864a612932b3 | f45de1ff00254c8ccf5c54e0272c0f6a93db597f | refs/heads/master | 2023-04-23T06:39:00.420678 | 2021-04-15T12:33:46 | 2021-04-15T12:33:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,284 | r | test-double_ml_pliv_multi_z_parameter_passing.R | context("Unit tests for PLIV")
library("mlr3learners")
lgr::get_logger("mlr3")$set_threshold("warn")
skip_on_cran()
test_cases = expand.grid(
learner = c("regr.lm", "regr.glmnet"),
dml_procedure = c("dml1", "dml2"),
score = "partialling out",
i_setting = 1:(length(data_pliv)),
stringsAsFactors = FALSE)
t... |
323e99986a2019e98172660093d3c8830935add5 | 5cb215dd1d269b4471b91efea988d842bf55de40 | /man/synCreateColumn.Rd | 2c5c4c859fb1a346b0e874e97dbba8e3ce950d48 | [
"Apache-2.0"
] | permissive | Sage-Bionetworks/synapser | 0d308dba0a4a993a1e8f609c25c75b072de78cdc | c9ed6ca9fb5247d56167ff8812ddc780de013127 | refs/heads/master | 2023-06-24T23:10:43.914336 | 2023-06-14T22:33:35 | 2023-06-14T22:33:35 | 34,292,371 | 31 | 16 | Apache-2.0 | 2023-09-10T04:16:43 | 2015-04-20T23:33:04 | R | UTF-8 | R | false | false | 565 | rd | synCreateColumn.Rd | \name{synCreateColumn}
\alias{synCreateColumn}
\docType{methods}
\title{
synCreateColumn
}
\description{
This is redundant with synStore(Column(...)) and will be removed.
}
\usage{
synCreateColumn(name, columnType, maximumSize=NULL, defaultValue=NULL, enumValues=NULL)
}
\arguments{
\item{name}{Column name}
\item{column... |
f771a119093bbc022b454c9b59f7d6584b523fe0 | 1e56ccfb32b8bb3bd231932dfcc2c7fb5fc215bf | /man/isEmpty.Rd | 7042d49cf0770a0d3dd6688e4a09391ba7a78b6f | [] | no_license | michaelhallquist/MplusAutomation | 4602f6a713b8f9aa9a5963991ace0d56d109a893 | ec0c959e0b752fe41d9cb62accd39d5c19d8502a | refs/heads/master | 2023-08-06T10:29:57.004763 | 2023-07-15T13:42:41 | 2023-07-15T13:42:41 | 8,270,378 | 80 | 49 | null | 2023-06-07T13:05:49 | 2013-02-18T14:51:31 | R | UTF-8 | R | false | true | 671 | rd | isEmpty.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilityFunctions.R
\name{isEmpty}
\alias{isEmpty}
\title{Check whether a useable function argument was provided}
\usage{
isEmpty(arg)
}
\arguments{
\item{arg}{A function argument}
}
\value{
Logical vector of length 1.
}
\description{
This is ... |
4b972b16a00f4b0593ff6a043d173041390a3736 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/clickstream/examples/frequencies.Rd.R | 0e4d122648b6a0192c510d983365382b88cf6f89 | [] | 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 | 592 | r | frequencies.Rd.R | library(clickstream)
### Name: frequencies
### Title: Generates a Data Frame of State Frequencies for All Clickstreams
### in a List of Clickstreams
### Aliases: frequencies
### ** Examples
clickstreams <- c("User1,h,c,c,p,c,h,c,p,p,c,p,p,o",
"User2,i,c,i,c,c,c,d",
"User3,h,i,c,i,c,... |
0d65314430bddbfa6cab425bb5749a70199f26b0 | 4744964c0e4b7813847711c53ae604712e156bb2 | /Parte2/12-GGplot2.R | fdcd40ed6158c39d93c202f5f28755f2c3312553 | [] | no_license | giusepper11/RFundamentos | 4871684c9c1493991e6ddb4ca3dc8c5f936496ef | 3d54842efd4b551d29c38037e37dc5ca2d4e370a | refs/heads/master | 2020-04-13T09:44:28.323149 | 2019-01-30T00:34:19 | 2019-01-30T00:34:19 | 163,119,568 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,801 | r | 12-GGplot2.R | ## ggplot2
# um sistema grafico completo, alternativo ao
# sistema basico de graficos do R
# Ofereçe mais opções de modificações, legendas prontas,
# formatação mais solida
install.packages('ggplot2')
library(ggplot2)
# Plotando um gráfico básico com qplot()
data(tips, package = 'reshape2') # carrega o dataset tips... |
ca30f6aa3cdb8006a176104763810fb413e05ea4 | 34e2217b2255e5bb192c2c724dbe78ca4c1b3c64 | /man/on_shutdown.Rd | 42fbd47269a643fbd33991dc689dbd2d37183bfa | [] | no_license | kongdd/languageserver | df335d28f97868793b6a56b64b9671a24afa57ce | d3ae514ad9b708178217522029e97f087e98b343 | refs/heads/master | 2020-08-01T14:40:13.188378 | 2019-09-26T07:09:25 | 2019-09-26T07:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 522 | rd | on_shutdown.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/handlers-general.R
\name{on_shutdown}
\alias{on_shutdown}
\title{shutdown request handler}
\usage{
on_shutdown(self, id, params)
}
\arguments{
\item{self}{a \link{LanguageServer} object}
\item{id}{a numeric, the id of the process that starte... |
3e1fc62cc584e4778bb6f09aff188ad1509d1973 | 0dfd1d7920d2e4211a310f443962bac3987eff02 | /app.R | ef3f2f645169cf6114d220a7ecd65f41724bd401 | [] | no_license | nunufung/cetm46 | 6897d50e7d03df5992fd3eef947e36c7cdec35d9 | 8604fcec6c2ed4dff15d03c4ff6c228ffbfda8bc | refs/heads/master | 2022-11-18T12:37:09.106587 | 2020-07-04T03:33:03 | 2020-07-04T03:33:03 | 260,830,253 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,223 | r | app.R | ## app.R ##
library(shiny)
library(shinydashboard)
library(DT)
library(ggplot2)
library(caret)
library(PerformanceAnalytics)
library(evtree)
library(mvtnorm)
library(shinyjs)
library(markdown)
library(ggmosaic)
## Loading the dataset
df <- read.csv("https://github.com/nunufung/cetm46/raw/master/online_shoppers_intent... |
1c83048cf2366ef87c2184c40d494893b0bbd2da | f4009f33fd508377bbadbfd5d552f5e03e7fa5e5 | /Phylofest_code/sites_model_values.r | 58249b5956153533179444f488463d0c81308a17 | [] | no_license | web1mhz/danrosauer-scripts | 0f2280d049647aa3c497f0d1882a73da890815e0 | 8d16dda8f044c5c3a28ece5f7a2589ad15b1de9d | refs/heads/master | 2021-01-19T13:32:00.967115 | 2015-05-12T04:33:38 | 2015-05-12T04:33:38 | 39,985,905 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,860 | r | sites_model_values.r | # a script to extract environment values for a set of points, from a set of ascii grids
# Dan Rosauer - October 2012
library(SDMTools)
########## Parameters ##########
#inputs
work.dir <- 'C:/Users/u3579238/Work/Phylofest/Models/skinks/L_delicata_Tingley/'
samples.dir <- 'C:/Users/u3579238/Wor... |
8302765d7ca74f83bcdc9c504d59f39bdb763706 | 42733230cc656ed5848b44d7eaa1c9732bdbdba0 | /BFE_RShiny/flamingo/man/plotIL.Rd | 06233c3284a4ce053c7358da53bba9ea78d36aaa | [
"BSD-3-Clause"
] | permissive | miraisolutions/OasisUI | 9fa544f1bbcd90e75e58e284a1243ca6094b27d0 | 69aa499018d9b0cdab86da4bd55476825067797d | refs/heads/master | 2021-07-10T08:55:09.356478 | 2018-10-11T21:30:45 | 2018-10-11T21:30:45 | 135,453,807 | 0 | 1 | BSD-3-Clause | 2019-01-25T15:00:38 | 2018-05-30T14:21:35 | CSS | UTF-8 | R | false | true | 484 | rd | plotIL.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plotIL}
\alias{plotIL}
\title{IL plot}
\usage{
plotIL(outputPlotData, interactive = FALSE, ...)
}
\arguments{
\item{outputPlotData}{data for plot}
\item{interactive}{create interactive plot using \link{plotly::plot_ly}}
\item{... |
ce08722d92fb9540998ffbf9866fe2e5e00e8953 | 7a74461fcd925f66eb752c251b045b6a2b1bc90c | /plot4.R | f5b909747956d7cd9159820cf229361de5c75d31 | [] | no_license | fpani0/ExData_Plotting1 | 3ea13826c22ad072d432f8bfd1358c575f584571 | efe734de307e1a57d17d48362210db5a409ff647 | refs/heads/master | 2020-12-31T01:10:30.941342 | 2016-09-16T19:34:20 | 2016-09-16T19:34:20 | 68,405,403 | 0 | 0 | null | 2016-09-16T18:33:13 | 2016-09-16T18:33:12 | null | UTF-8 | R | false | false | 1,715 | r | plot4.R | ##PLOT 4
#load data
df <- read.table("household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
df$Datetime <- paste(df$Date, df$Time)
#Convert the Date Date/Time classes in R using the as.Date() function
#df$Datetime <- strptime(df$Datetime, "%d/%m/%Y %H:%M:%S")
df$Datetime <- as.POSIXc... |
96c1b9289eff388019ef083eb0c691f339aae2ec | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/qat/examples/qat_call_save_slide_distribution.Rd.R | 8f2c64653ad48d62042e39cb2a008ea66ad4208d | [] | 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 | 417 | r | qat_call_save_slide_distribution.Rd.R | library(qat)
### Name: qat_call_save_slide_distribution
### Title: Produce a savelist-entry for a Slide Distribution Test
### Aliases: qat_call_save_slide_distribution
### Keywords: utilities
### ** Examples
vec <- rnorm(100)
workflowlist_part <- list(blocksize=10)
resultlist <- qat_call_slide_distribution(vec, ... |
2e94ef3d952a354b195fb410d7a168411402cb36 | a9015b020e232f9082b549ed06ad929fdea79352 | /notebooks/benchmark/r_scripts/rCBA_movies.R | 3f2ec6da127410d83794655f04a607bb37ec0071 | [
"MIT"
] | permissive | viaduct-ai/pyARC | 09987e9e33f574970209e8ffb5250f454287fcd3 | 858e77a83b83da3910ee36f1c46540a6c45988a5 | refs/heads/master | 2022-10-28T01:22:17.493608 | 2020-06-18T19:13:40 | 2020-06-18T19:13:40 | 273,298,867 | 1 | 0 | MIT | 2020-06-18T19:13:41 | 2020-06-18T17:22:21 | null | UTF-8 | R | false | false | 585 | r | rCBA_movies.R | moviesdf <- read.csv("c:/code/python/CBA/notebooks/data/movies_discr.csv", sep = ";", stringsAsFactors = TRUE)
# drop empty id column
drops <- c("")
train <- moviesdf[, !(names(moviesdf) %in% drops)]
txns <- as(train, "transactions")
appearance = list(rhs=c("class=critical-success", "class=box-office-bomb", "cl... |
e6000195a70000dab63b705e4a430b2c47ca68cc | d9485ffc49f5b8309bf5ce34abd76e86abc721ff | /R-libraries/myUtilities/R/proportion.ci.R | 7469950dc6aa689659b76695aed99c8100f9da3f | [] | no_license | jyqalan/myUtilities | a42944cd6e370c23ce8d232017f6db4949f09cca | 73de6f8defc617c1fdf5537f4d159d653d876a0d | refs/heads/master | 2020-12-10T23:35:22.603147 | 2018-04-20T13:50:58 | 2018-04-20T13:50:58 | 55,338,987 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 675 | r | proportion.ci.R | proportion.ci <-
function(r, n, ci = 0.95)
{
# uses exact F distribution to determine the exact confidence intervals
# r can be a proportion or a number
r <- ifelse(r < 1, round(r * n), r)
t1 <- 1 - (1 - ci)/2
old.warn <- options()$warn
options(warn = -1)
F1 <- qf(t1, 2 * n - 2 * r + 2, 2 * r)
F2 <- qf(t1, ... |
a7e1bdd314e92be62e73a487eeeb49d2d2ab78d1 | dade9459484e9f79207fa40ac000c2aeaf1101f0 | /man/authors_names_interactive.Rd | b6614b4f7eaac888fc27d7a2d16ac18a6289d2d5 | [] | no_license | caterinap/frontpage | d16fa9da06daddc7a12ee2177c62ba35656eb063 | ef8a766797673b0c284054bd8de356059efd11b9 | refs/heads/master | 2020-03-21T20:54:05.256334 | 2018-06-21T16:02:02 | 2018-06-21T16:02:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 394 | rd | authors_names_interactive.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/authors_names_interactive.R
\name{authors_names_interactive}
\alias{authors_names_interactive}
\title{Create a list of authors}
\usage{
authors_names_interactive()
}
\value{
A list of author/affiliation to be used with coverpage()
}
\descript... |
b393501ae35465f78066d238857fad09366865c0 | 21841dbd5ea72df6fdd422211d4c9acfc3c80f77 | /R/topo_tpx.R | 29dcacd1a1571a735d28dd8f295f46500c0d2ba5 | [] | no_license | kkdey/topotpx | 6d8b4943b1dc0f8c636e3a08da847dd914d3afdc | d4de298ba763edc80083be63ffed5e37c0b57aa7 | refs/heads/master | 2021-01-10T08:28:32.183479 | 2016-02-03T08:08:23 | 2016-02-03T08:08:23 | 50,854,675 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,800 | r | topo_tpx.R | ####### Undocumented "tpx" utility functions #########
## ** Only referenced from topics.R
## check counts (can be an object from tm, slam, or a simple co-occurance matrix)
CheckCounts <- function(fcounts){
if(class(fcounts)[1] == "TermDocumentMatrix"){ fcounts <- t(fcounts) }
if(is.null(dimnames(fcounts)[[1]]))... |
e542fe63b9fa4e69cc41397c875220f30970b46a | d0bde1b4c9396b13252c0f1f7fbceb49887ff155 | /man/userAnalysis.Rd | c55ef163cc52eb35cea794b5a91ad35cc682f771 | [] | no_license | bpb824/orcycler | eec3335cc07bea7f3e2f1620145fcdb6d6fe5f73 | 22f571100905c322a291283e33d404509f97d077 | refs/heads/master | 2021-01-01T05:48:22.208599 | 2015-10-18T21:16:05 | 2015-10-18T21:16:05 | 42,019,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 564 | rd | userAnalysis.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/userAnalysis.R
\name{userAnalysis}
\alias{userAnalysis}
\title{User Analysis}
\usage{
userAnalysis(db = "test", db_path = "source_data/db_credentials.json")
}
\arguments{
\item{db}{String indicating which db to use, default is "test",... |
8b34f636724b76145729aa75e69fce4c893ede9b | 4e957be131dd5c735f8f23c61cb9187a7622cdcd | /ReadingData.R | 9aaf5d05f6fbee7f2f0c9a43a9c2ce3ab6c19c82 | [] | no_license | Dora-dongying/ExData_Plotting1 | dbbaacfffcf7ea85338f7189aef3722a24649001 | 8a0af8ccf35d08c1e2cb7381a4f1013038a36d32 | refs/heads/master | 2022-11-24T13:04:44.728358 | 2020-08-04T02:26:41 | 2020-08-04T02:26:41 | 284,842,012 | 0 | 0 | null | 2020-08-04T01:01:43 | 2020-08-04T01:01:42 | null | UTF-8 | R | false | false | 1,213 | r | ReadingData.R | ## Download the ZIP file and then unzip it. Check if the files exist before processing.
zipname <- "ElectricPowerConsumption.zip"
fileURL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
if (!file.exists(zipname)){
download.file(fileURL, zipname, method = "curl")
}
filename... |
e8f256fa7ea253c032b6ad15d6ff3a4f0dad93b3 | 2b0e7454e2c87076f4f97d35000bf3426b7d9aaa | /man/str_risk_fls_default.Rd | d53edc54b1b175cd9b41dc0ae68239b33b659233 | [] | no_license | raphael210/QDataGet | 52df9d791d7d1d8933555dbdfa9d81e42558a5ee | 83531020e180fe8d07fdfa4a75413fd2b95cd6b4 | refs/heads/master | 2020-04-12T06:29:33.198718 | 2019-02-01T07:50:14 | 2019-02-01T07:50:14 | 64,194,185 | 0 | 5 | null | 2017-03-16T03:29:45 | 2016-07-26T06:00:12 | R | UTF-8 | R | false | true | 353 | rd | str_risk_fls_default.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/risk01_BARRA_Model.R
\name{str_risk_fls_default}
\alias{str_risk_fls_default}
\title{default structure risk factor list}
\usage{
str_risk_fls_default()
}
\description{
This function is the default factor list setting which would be used for r... |
e05c52c2b05404aea7e197fe2797d6954086d7ce | 08cd5eeaebf69cca029ce366ffc6f6a277290c98 | /Time series project/processing.R | 3a6d7a6b3ce3d1edfb180ec96e6c914359047911 | [] | no_license | BachQuangMinh/PracticeProjects | c06975f2e311147eddf66a193f2bbe3e63ceec6a | 711b2e4508501bc00e10cd6b7eaa0aca3b75b220 | refs/heads/master | 2021-04-26T23:46:12.783316 | 2018-05-09T04:50:14 | 2018-05-09T04:50:14 | 123,853,644 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,158 | r | processing.R | setwd("C:/Users/DELL/Google Drive/JVN couse materials/Projects/Practice projects/Time series project")
library("forecast")
library("Metrics")
library("ggplot2")
library('rugarch')
library('lubridate')
rawdata=read.csv("energydata_complete.csv",row.names = 'date')
selectedcol=rawdata[2]
appliances_ts=ts(selectedcol)
#ap... |
f7c95dcccc5f33694e4c5c6a8025c1f2416bf944 | 4cf955931849f66bf3aace946e1ccac30c78d0e4 | /plot2.R | d1cd263991d978ee6f0d8e347eab97bc40de6d43 | [] | no_license | ariel32/ExData_Plotting1 | fabc9e21d10fa3f5d1bf70785f5fb75a8e233758 | 892a76ec59268f4acf07840e26ddcd8ae3409d6b | refs/heads/master | 2020-03-23T18:11:27.512895 | 2018-07-22T13:10:58 | 2018-07-22T13:10:58 | 141,894,602 | 0 | 0 | null | 2018-07-22T12:41:00 | 2018-07-22T12:40:59 | null | UTF-8 | R | false | false | 509 | r | plot2.R | d = read.csv("household_power_consumption.txt", sep = ";", stringsAsFactors = F, header = T, na.strings = "?")
d$Date <- as.Date(d$Date, format = "%d/%m/%Y")
d <- d[d$Date >= "2007-02-01" & d$Date <= "2007-02-02",]
d$Global_active_power <- as.numeric(d$Global_active_power)
d$Datetime = paste(d$Date, d$Time)
d$Datetime ... |
8ed087a82ac4006d41f44d7ed0dad794b4eaa57f | 229a06eff625c59a3813050aec6d07b1b9041d96 | /OtherPackages/DAVIDQuery/man/getAnnotationChoices.Rd | c97c0a1a3192568443e59a009b5f5b99ff929176 | [] | no_license | rikenbit/PubMedQuery | 75e161dec8cf792ef5d9be669bb8447c21e8bf3a | 964eeb30436ef93b8f1b34c216f15e8cbad51fef | refs/heads/master | 2021-01-10T20:07:15.630529 | 2014-08-07T08:31:54 | 2014-08-07T08:31:54 | 22,540,329 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,382 | rd | getAnnotationChoices.Rd | \name{getAnnotationChoices}
\alias{getAnnotationChoices}
\title{Retrieve all possible annotation values used in the annotation report tool...}
\usage{getAnnotationChoices(urlBase=DAVIDURLBase, curl=RCurl::getCurlHandle(),
verbose=TRUE)}
\description{Retrieve all possible annotation values used in the annotatio... |
a5a2fc19eeb033b9dade05be9aa1f8c3fd9902cf | 144f7a47ac2f246fba2e2a89d8aaaf02a16a1497 | /plot1.R | bb1078d958a2ab38727ee1c748affdff4e5394a6 | [] | no_license | neucast/Exploratory_Data_Analysis_Project2 | d57d0bde058603f6263352908caaf5d411a37c4e | 3cf8b1dd90fded397c6d21dae6c23dffed3606ba | refs/heads/master | 2020-05-29T12:52:38.227680 | 2019-05-30T03:45:53 | 2019-05-30T03:45:53 | 189,142,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,815 | r | plot1.R | #####################################################################################################################
# 1.- Have total emissions from PM2.5 decreased in the United States from 1999 to 2008?
# Using the base plotting system, this program makes a plot showing the total PM2.5 emission from all sources
# f... |
7796d64f88c331ab106d79ffe40a928ca4de90f2 | c9696a9e9def19ff601c8bccfc207949fe555ef1 | /regTCGA.R | e562b34c6ca48abf1e63738fecf9f00c602f1dea | [] | no_license | Jesse-Islam/caseBaseRegularization | dd814cca3a6571ac59009a0e9e60fb1787a7e5b7 | e4bb2ea3b7c89d4380c3a0874787b7fe5eb4baf7 | refs/heads/master | 2020-06-23T15:03:18.444819 | 2020-04-07T10:45:44 | 2020-04-07T10:45:44 | 198,657,691 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,240 | r | regTCGA.R | #these packages were taken from github on 23 July 2019
library(casebase)
library(TCGA2STAT)
#these packages were pulled from bioconductor
library(BiocManager)
library(glmnet)
library(doParallel)
fitSmoothHazard.fitted <- function(x, y, formula_time, time, event, family = c("glm", "gbm", "glmnet"),
... |
bd827156d02b8a9bf2a4e2ba8050eeb9cdbea392 | fa177ce117c273bd6046718f0682f4eabe1ce75e | /R_code_EXAM.r | d68a23beb152ba1b4eea7a87da711df02bb4f23f | [] | no_license | galluccichiara/monitoring_2021 | c975967e4922a6a3252e33a4e0f92ed4d5da3894 | 994e046c7174b58d177bda9f56ee9c76f05b8ff0 | refs/heads/main | 2023-06-15T20:58:36.198856 | 2021-07-09T00:32:24 | 2021-07-09T00:32:24 | 309,310,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,648 | r | R_code_EXAM.r | #source: # https://land.copernicus.vgt.vito.be/PDF/portal/Application.html
#library function= recalling packages
#ncdf4 package (already installed with the function install.packages("ncdf4")) = using to open and read easily binary data files that are portable across platformsand include metadata information in addition... |
66208fcff98fab89bbfd785a55bf893306015729 | effe14a2cd10c729731f08b501fdb9ff0b065791 | /cran/paws.customer.engagement/man/pinpoint_delete_event_stream.Rd | f825d89c72dd6554f9b957fdc9232ed786647b93 | [
"Apache-2.0"
] | permissive | peoplecure/paws | 8fccc08d40093bb25e2fdf66dd5e38820f6d335a | 89f044704ef832a85a71249ce008f01821b1cf88 | refs/heads/master | 2020-06-02T16:00:40.294628 | 2019-06-08T23:00:39 | 2019-06-08T23:00:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 540 | rd | pinpoint_delete_event_stream.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pinpoint_operations.R
\name{pinpoint_delete_event_stream}
\alias{pinpoint_delete_event_stream}
\title{Deletes the event stream for an app}
\usage{
pinpoint_delete_event_stream(ApplicationId)
}
\arguments{
\item{ApplicationId}{[required] The u... |
a7181418bff07757d7190c1dfc72392f0165bc59 | 93730e6fee0ae4e3bb028714d6e8a5e335632121 | /man/pivot_fileInput.Rd | 57c55f13a39b32a624a3f946b66cbef532f63531 | [] | no_license | jeevanyue/PIVOT | 56ef7c2d2eb30a197b1c0387ae79e73605ab7eae | 46fa6af11f19c320ee338452ccff745aa93a1f6d | refs/heads/master | 2021-01-01T06:30:45.988532 | 2017-07-17T02:51:20 | 2017-07-17T02:51:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 291 | rd | pivot_fileInput.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/file.R
\name{pivot_fileInput}
\alias{pivot_fileInput}
\title{PIVOT help modules, server}
\usage{
pivot_fileInput(input, output, session, reset = FALSE, return_df = T)
}
\description{
PIVOT help modules, server
}
|
69031eaeb52f1e7dc39a94449d80a9d7992c48d3 | 66fcd73c639c308b030f834ab3ece0725cfd712c | /SRC/Shared/Functions/FILTERING_Function.R | be779db3cc6699d337a69f45b655a17dc5e567bf | [] | no_license | chrismazzeo/Tesis_Marcadores_Glicoinmunologicos | ae871350a259afb7c08cde70d76e262bddd49e4e | 2626a75ceedb2c59531fe39f02f5590ac8ebea85 | refs/heads/master | 2023-06-30T13:54:01.223662 | 2021-08-03T03:28:47 | 2021-08-03T03:28:47 | 286,357,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,073 | r | FILTERING_Function.R | #********************
# Filtering
#*******************
FILTERING_DESEQ2_RES_ByAdjPvalue = function (res, padj){
temp = res[!is.na(res$padj) & res$padj < padj,]
return (temp)
}
FILTERING_ByGeneList = function (sourceDataFrame,sourceColumn,filterColumn){
temp = sourceDataFrame[sourceColumn %in% filterColum... |
5b507ae4987ffd8a830af10d969cebab50346317 | dc690d00abdeada088f7a87f37a43465f4e45e82 | /Initial Commit.R | bb287ff74c85b96a9498c0da4113cb1046973d0f | [] | no_license | kumaann/Temporary_add_to_version_control | d9079706429fef36ed834609f26c7f3c4ec897dd | 7b735ab0a93f3d09f540074c00fd14c90e7be2ed | refs/heads/master | 2022-11-05T01:24:32.656564 | 2020-06-30T21:16:33 | 2020-06-30T21:16:33 | 276,210,707 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 30 | r | Initial Commit.R | This is another testing file. |
46f40e425df7509b4cbd933878ec53165411ae43 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BaPreStoPro/examples/plot-est.mixedRegression-method.Rd.R | 4778ce7214843b8a91f495ebe05e57e1f7c94d85 | [] | 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,090 | r | plot-est.mixedRegression-method.Rd.R | library(BaPreStoPro)
### Name: plot,est.mixedRegression-method
### Title: Plot method for the Bayesian estimation results
### Aliases: plot,est.mixedRegression-method
### ** Examples
mu <- c(1, 3); Omega = c(0.4, 0.01)
phi <- sapply(1:2, function(i) rnorm(20, mu[i], sqrt(Omega[i])))
model <- set.to.class("mixedRegr... |
493e382597c244f9d8e7e52dbf093c6561ff7561 | 345c3ba120d28a65ecb7e953bdb021d3e3d8d760 | /cachematrix.R | 3774e7bc9b622b735fdb7e66f2824f2fcce45a7a | [] | no_license | utkucansa/assignment2 | 744523d13c375ace009b44af20369788fde5349c | 94faab1918fd44bca54c70a521decc463e058f8d | refs/heads/master | 2020-04-02T21:38:11.621477 | 2016-07-03T11:27:38 | 2016-07-03T11:27:38 | 62,234,455 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 794 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## After creating a matrix, code provided below does caching the created
## matrix
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
get <- function() x
setin... |
375cb4d640e03d1a0795be0fdcd6ba814aceadad | 6acc4bafe04da8be735f98bbcf3da36d5f9c3f61 | /visitModeling.R | e50bd372262371721d5ddac67b7caac5990a60da | [] | no_license | sarmapar/bios611-project1 | 4d0579ea3c35040e44b0404e993b686485f9b2e7 | 56683521180fe9a5f01ac4ee4acd33524e816aae | refs/heads/master | 2023-01-12T22:43:25.088567 | 2020-11-17T23:29:20 | 2020-11-17T23:29:20 | 290,551,672 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,634 | r | visitModeling.R | library(tidyverse)
library(ggplot2)
library(MLmetrics)
library(reshape2)
parks <- read_csv("derived_data/parks.csv")
species <- read_csv("derived_data/species.csv")
visits <- read_csv("derived_data/visits.csv")
parks <- species %>%
group_by(ParkName) %>%
summarize(numSpecies=n()) %>%
inner_join(parks,by="Pa... |
00fe71cfe2168a84ac85eeee5b6ebdac5edc24fb | cd298aa036d3c974c18c22623ad1a58d120463df | /man/plot_dimensionality_reduction.Rd | 1b77ed04186192ad12c89b9f34a6ecbc6c0ddc2c | [
"MIT"
] | permissive | YutongWangUMich/corgi | eaecf19836c27985f7e4129e6b2cb40f6b8bd08b | d7d6f2fab63065268ddc5f463d45e74d9f121a64 | refs/heads/master | 2020-04-18T21:20:00.199195 | 2019-10-24T20:29:02 | 2019-10-24T20:29:02 | 167,762,558 | 0 | 0 | MIT | 2019-04-08T06:30:03 | 2019-01-27T02:47:21 | R | UTF-8 | R | false | true | 537 | rd | plot_dimensionality_reduction.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting.R
\name{plot_dimensionality_reduction}
\alias{plot_dimensionality_reduction}
\title{Wrapper around qplot for making cell scatter plots}
\usage{
plot_dimensionality_reduction(emb, batch, cell_type)
}
\arguments{
\item{emb}{n-by-2 matr... |
ca676c1a3255dfd379e36da6c90ec4d6a4f1d3da | 8c6664e9dc7e2d00f099e2f9e18fd1c559763f2f | /R/mywhere.R | 41419e044b1082bd7fa1c9115e092eb85363753a | [
"MIT"
] | permissive | hendersontrent/theft | 111f0b862b91d0935d2df31b4228ee860b04422a | 49c88a351c280d8dfd023118fe5dd93345a6ae4b | refs/heads/main | 2023-09-03T19:41:19.293557 | 2023-09-03T08:47:06 | 2023-09-03T08:47:06 | 351,259,952 | 30 | 6 | NOASSERTION | 2023-09-10T05:50:17 | 2021-03-25T00:17:37 | R | UTF-8 | R | false | false | 481 | r | mywhere.R | # NOTE: This is from {tidyselect} but due to import limitations for CRAN (and it not being namespaced) it's rebuilt here
# See https://github.com/r-lib/tidyselect/blob/main/R/helpers-where.R for implementation
mywhere <- function(fn) {
predicate <- rlang::as_function(fn)
function(x, ...) {
out <- predicate(... |
52b2a16ba54ca7d3239a14c3f25a078f517c4da8 | e915fd9373af45615bce05b837b94eac5158633f | /plot1.R | 89ac287bb1f1053cd21058f1e2e220c631f3ca5b | [] | no_license | sina-bot/ExData_Plotting1 | 534c75639638fcf51a8a52f9c4e06e5a85013f95 | a3c84144142d720d44ee729eb95e913bbdbf31e0 | refs/heads/master | 2022-10-28T22:25:47.467577 | 2020-06-11T11:16:02 | 2020-06-11T11:16:02 | 271,458,102 | 0 | 0 | null | 2020-06-11T05:19:04 | 2020-06-11T05:19:03 | null | UTF-8 | R | false | false | 1,470 | r | plot1.R | ## change local settings
Sys.setlocale("LC_TIME", "English")
## checking and creating a "data" directory
if (!file.exists("data")){
dir.create("data")
}
## checking and download data
if (!file.exists("./data/household_power_consumption.zip")){
fileUrl <- "https://d396qusza40orc.cloudfront.ne... |
c1f7118a71db78cabb91fba9da52ee5af5283af4 | 426f78aadc1bdbb2e4bcb4b28b11f452ca3173df | /R/control.R | 930e2c3b7944f77cd16ebe8a6f34db159f9bc1da | [] | no_license | cran/MVT | e4cc4358535482fee976db8102667ec8bb7eddf7 | 303434e36a7038f8214ceb79e218b5592ccb7930 | refs/heads/master | 2023-02-09T02:35:57.837723 | 2023-01-27T08:30:08 | 2023-01-27T08:30:08 | 48,084,674 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 245 | r | control.R | ## ID: control.R, last updated 2021-03-05, F.Osorio
MVT.control <-
function(maxiter = 2000, tolerance = 1e-6, fix.shape = FALSE)
{ ## control parameters for EM algorithm
list(maxiter = maxiter, tolerance = tolerance, fix.shape = fix.shape)
}
|
646bf8ca07aa288361f315d42b09f65f990aba74 | fe9960d66c6f877d538f86290808e1a06d3c4d3d | /run_analysis.R | 559507c4fbe5d82fa80638f341e68fe485d3b2c6 | [] | no_license | Verdant89/ExploratoryDataAnalysis | 185900626b56eb003f3e08733d535c8178980f60 | 2caff7fa2b4245c169162112dafd6d0a490195d9 | refs/heads/master | 2020-05-05T07:22:17.417883 | 2014-06-10T16:27:47 | 2014-06-10T16:27:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,061 | r | run_analysis.R | #This script uses the data provided for the Programming Assignment and creates a tidy dataset
#that has the average value of mean + std for each activity (e.g. BodyAcc X) according to
#the type of data (i.e. train vs test)
setwd("C:\\Users\\David\\Documents\\Coursera\\3 - Getting and Cleaning Data\\Course Project")
... |
d044cbbc5d4011a649e73d03e446d7b2f504833f | 6e32987e92e9074939fea0d76f103b6a29df7f1f | /googlemlv1.auto/man/GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec.Rd | 8cd0fbadbe626f75dd75dfa18ba3ef9569b3c73b | [] | no_license | justinjm/autoGoogleAPI | a8158acd9d5fa33eeafd9150079f66e7ae5f0668 | 6a26a543271916329606e5dbd42d11d8a1602aca | refs/heads/master | 2023-09-03T02:00:51.433755 | 2023-08-09T21:29:35 | 2023-08-09T21:29:35 | 183,957,898 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 958 | rd | GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ml_objects.R
\name{GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec}
\alias{GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec}
\title{GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscre... |
0ce8e68ec1ae6e5bc2956dd644280dae51241db2 | 335a7b6225011db2d6b890428666d662fb81dfa8 | /server.R | 852ef5313242a7dff91644dc603f3731478e1481 | [] | no_license | earino/Military-Surplus | f035a9a6752bcd34264a68297a9d78540213cbeb | ccc3494d2c3e9d18c299ff1eda8f86dc70385914 | refs/heads/master | 2021-01-02T12:56:37.576604 | 2014-08-21T17:53:07 | 2014-08-21T17:53:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,393 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(ggplot2)
library(maps)
library(plyr)
library(dplyr)
library(mapproj)
military <- read.csv("1033-program-foia-may-2014.csv")
shinyServer(f... |
e6f5dc0001c84f941e691c2d6128bf49c6c32f00 | d84023e27935dcea2a42d09b6d765e82482d54b0 | /proxy-target/run.R | 69b9debf007d5657c20e5f4561c611fcd86696bb | [] | no_license | LEDfan/undertow-proxy | a2a599821cb1a8bd31f7f10c8bd82c9e8525900d | bc3409334b3f02a1ddccc6ea3fc42a2931b8ac86 | refs/heads/main | 2023-03-12T20:30:03.126190 | 2021-03-01T14:12:27 | 2021-03-01T14:12:56 | 343,371,809 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 309 | r | run.R | rm(list=ls())
# if TRUE helps with optimising the app during development
options(shiny.trace = FALSE)
# This is required for ShinyProxy
port <- 3838
print(paste0('run.R script, User: ', Sys.getenv("SHINYPROXY_USERNAME")))
shiny::runApp(
appDir = ".",
host = '0.0.0.0',
port = as.numeric(port)
)
|
18ab3add4a51f5b20a7d57dae25d4bd678ef22b4 | 424a109c5f16ab0417c7f9ecc4fded3c0f38ae14 | /batch/pecan/define_categories_pecan.r | 130a75968a3cc3dcd132b9948707965f64f78662 | [] | no_license | adrianalbert/EnergyAnalytics | f784aca1e549be96b865db89f2190d2dd7566f83 | 39a5d5a6ee05a643ab723d4ef8d864282870cec8 | refs/heads/master | 2020-05-29T08:51:31.888860 | 2016-03-21T15:03:47 | 2016-03-21T15:03:47 | 7,062,053 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,642 | r | define_categories_pecan.r | # define_categories_pecan.r
#
# Defines appliance categories for the Pecan St dataset.
#
# Adrian Albert
# Last modified: May 2014.
# ---------------------------------------------------------
# __________________________________________________
# Define appliance categories
# some interesting components
# appliances ... |
541b9aead5f207b5985b6e91b82056c104520a3f | e5f915851f04388a30707a87dcae64462ebcf06d | /02_PrepareTablesForMatching.R | afb7b307cc9fdd678c423a148e98d3b29edbcd8d | [
"MIT"
] | permissive | pacheco-andrea/tenure-defor-br | 2a7e25cc32b9ac54f5e71853cd2c59f24b76dd3c | c0ff020fdc2d8893cebf981176b1466599f9d444 | refs/heads/master | 2023-04-13T14:14:29.984462 | 2022-09-08T15:03:15 | 2022-09-08T15:03:15 | 275,821,151 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,244 | r | 02_PrepareTablesForMatching.R | # ************************************************************ #
# Prepare treatment and control tables for matching
# this script is run as a job on the HPC
# this multiplies our 49 datasets by 6(comparisons), and in turn, by 2 (other counterfactual)
# ************************************************************ #
# ... |
51fdfa74eaf3c68a80630ee776030dc7a8bbad0d | 6121b2499765e3c2ec502f62e4e5840bc43830ab | /courseproject1.R | f007097b9b2c1f90bfc493029f4eb265215328fe | [] | no_license | iceman1265/ExData_Plotting1 | 75325401976ccd5f5b1eda1b281d6f7de493f77c | 2b66e1e766d9fe973ef875b51a12377b767d7dbb | refs/heads/master | 2021-01-22T05:42:37.638619 | 2014-12-07T18:37:01 | 2014-12-07T18:37:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,929 | r | courseproject1.R | #downloading the file used for the purposes of this assignment
if(!file.exists("exdata-data-household_power_consumption.zip")) {
#storing the download into a temporary file on the system
temp <- tempfile()
#downloading the actual file by pointing R to the file URL
download.file("http://d... |
d1309d7f44cf09699a0650047388ae899e1f7082 | 3c5ef044f03173522b64acd205ed389cdeda9dfb | /myncurve.R | 3f9abe2cf8ca58aa11d69d1cb669584ced486305 | [] | no_license | paigefrey/MATH4753freyy | 02295b8f0aef4ff9f835245313a58a7c64019c11 | e99ef9725bbcc0e0e1670671705a077dbea732df | refs/heads/master | 2023-03-27T11:05:48.340069 | 2021-03-16T16:33:16 | 2021-03-16T16:33:16 | 334,574,337 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 202 | r | myncurve.R | #' @Title myncurve
#'
#' @param mu
#' @param sigma
#'
#' @return
#' @export
#'
#' @examples
myncurve = function(mu, sigma){
curve(dnorm(x,mean=mu,sd=sigma), xlim = c(mu-3*sigma, mu + 3*sigma))
}
|
f0af845219d0d652a10d02b6102282ad1f299d2e | ed823b6da656fb94805c7ff74dfd7b921c5624c9 | /man/define_feature.Rd | 69bbf7c7b252a2213d4960722cc97689a025ca03 | [] | no_license | vallotlab/ChromSCape | cbde454c903445706e75b27aade45a7a68db5986 | 382eac1015cd7f67e448124faf5a917f4c973aa1 | refs/heads/master | 2023-03-15T20:18:37.915065 | 2023-03-13T16:46:50 | 2023-03-13T16:46:50 | 191,729,569 | 11 | 5 | null | 2019-07-03T13:06:05 | 2019-06-13T09:10:39 | R | UTF-8 | R | false | true | 914 | rd | define_feature.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocessing_filtering_reduction.R
\name{define_feature}
\alias{define_feature}
\title{Define the features on which reads will be counted}
\usage{
define_feature(ref = c("hg38","mm10")[1],
peak_file = NULL,
bin_width = NULL,
genebody = F... |
7d7716f6961d8a04b35cf331f11400ab29ce9967 | 9f0fb18e5f8762999ab0c9fb47082252a9da1536 | /man/check_gender_balance.Rd | 5ad5b4e1280b3d6972b1440a0b9c0313ab41f409 | [
"MIT"
] | permissive | cforgaci/groupmaker | ceed24fec44976e056f35f7fc0c6121be8910943 | e7dc8be60d6ae8d5f9ceacc03267eed217028d09 | refs/heads/master | 2023-09-02T03:15:34.125002 | 2021-10-10T18:32:36 | 2021-10-10T18:32:36 | 385,901,289 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 585 | rd | check_gender_balance.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/check_gender_balance.R
\name{check_gender_balance}
\alias{check_gender_balance}
\title{Check Gender Balance in a Group}
\usage{
check_gender_balance(students)
}
\arguments{
\item{students}{A data frame.}
}
\value{
Return a message and the val... |
44980a84815739c4e17de3c07c69891f41377c14 | 688185e8e8df9b6e3c4a31fc2d43064f460665f1 | /man/frames.time.Rd | 5b25139af8e1889740753e59ef68229207491ef2 | [] | no_license | IPS-LMU/emuR | 4b084971c56e4fed9032e40999eeeacfeb4896e8 | eb703f23c8295c76952aa786d149c67a7b2df9b2 | refs/heads/master | 2023-06-09T03:51:37.328416 | 2023-05-26T11:17:13 | 2023-05-26T11:17:13 | 21,941,175 | 17 | 22 | null | 2023-05-29T12:35:55 | 2014-07-17T12:32:58 | R | UTF-8 | R | false | true | 942 | rd | frames.time.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dfuns.R
\name{frames.time}
\alias{frames.time}
\title{Find the time and position of a data element.}
\usage{
frames.time(dataset, datanum)
}
\arguments{
\item{dataset}{A dataset returned by \code{track} or \code{frames}.}
\item{datanum}{An i... |
39f779b25a036ffa0bafcc133647c7d29c84e1d8 | a93ce2c4d41b132423353841220fb54d1c487e63 | /plot1.R | 1e1fac9c57d99b07cf273e7ada0b17deb314db00 | [] | no_license | Rian-Kurnia/ExData_Plotting1 | 25676fceaa3d9873e62d9e8c2dd5956b220204ec | 5aa1608ba9b3a134d344814784bde967c397cfca | refs/heads/master | 2020-03-17T03:16:59.211403 | 2018-05-14T02:50:01 | 2018-05-14T02:50:01 | 133,228,258 | 0 | 0 | null | 2018-05-13T10:51:03 | 2018-05-13T10:51:03 | null | UTF-8 | R | false | false | 342 | r | plot1.R | library(sqldf)
fi <- file('household_power_consumption.txt')
df <- sqldf("select * from fi where Date in ('1/2/2007','2/2/2007')", file.format =
list(header=TRUE, sep=";"))
close(fi)
png('plot1.png')
hist(df$Global_active_power,col="Red",xlab='Global Active Power (kilowatts)',
main='Global Ac... |
b13cbe47bd2f37e9362c2de1062f72515f4d9919 | bab87157294070473c5f1e7864f0316e4d1e496d | /R/get_addresses.R | e13f13c0d3dc1c87f309de01fed5f606b69ff655 | [
"MIT"
] | permissive | Amice13/drv | a736febb6c575ba2e63b43aa6a5961129ee8618f | bbb24764624e50ef2d93ad0cf9c1b6fd2f65d44a | refs/heads/main | 2023-03-16T04:01:52.576507 | 2021-03-14T12:10:13 | 2021-03-14T12:10:13 | 347,479,962 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,976 | r | get_addresses.R | get_addresses <- function(id) {
#' Get the list of addresses of the specified territory
#'
#' Returns a data frame with information about territories in the
#' specified region.
#'
#' The data frame contains the following variables
#'
#' \itemize{
#' \item \strong{ATO_Id} - a territory identifier
... |
5d767ed8a690ab3ec6f69729ea8c23162b17c408 | 77adeb996aa86cf4c27c51fd2eb66a17adaa95e1 | /2018 - 01/03. 시계열분석/2018-05-08 (2) 수업.R | 42dd70c6be3599a0cd70f079d8f84dbc126244dc | [] | no_license | ajskdlf64/Bachelor-of-Statistics | 44e5b5953ac0c17406bfc45dd868efbfab18e70f | bc7f92fce9977c74c09d4efb0ead35e2cd38e843 | refs/heads/master | 2021-07-20T00:22:26.981721 | 2021-07-14T08:47:43 | 2021-07-14T08:47:43 | 220,665,955 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,701 | r | 2018-05-08 (2) 수업.R | library(forecast)
ex7_5d <- scan("C:/Users/user/Desktop/학교수업/시게열분석/수업 자료/ex7_5d.txt")
ex7_5d.ts <- ts(ex7_5d)
plot(ex7_5d.ts)
acf(ex7_5d.ts)
pacf(ex7_5d.ts)
# 차분 실시
ndiffs(ex7_5d.ts) # 단위근 검정 결과는 1차 차분
ex7_5d2 <- diff(ex7_5d)
ex7_5d2.ts <- ts(ex7_5d2)
plot(ex7_5d2.ts)
acf(ex7_5d2)
pacf(ex7_5d2)
# 잠정모형 ... |
ebf6efdbc7a4279d8f221c4ffddccbda32ae5190 | b0019ad01d4080516e7ed5c2c27926d33ba46ce5 | /R/getCount.r | 65e661c8fcdd69293d725fdf73666177556a1e14 | [
"MIT"
] | permissive | dbescond/Artemis | e8dc4fbfd4adb3e438ba0fe17b420c16d9efde91 | 0ab905206e4ab366a5063470871e1c9d1349de0d | refs/heads/master | 2021-01-21T19:51:04.459772 | 2017-05-23T10:41:50 | 2017-05-23T10:41:50 | 46,415,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,940 | r | getCount.r | #' Query Data ILOSTAT count
#'
#' Query data from ILOSTAT SDMX API
#'
#' Helper function to efficiently query data from ILOSTAT SDMX API.
#'
#' @param DSD a datastructure definition identified by the triplet \code{[collection; country; indicator]}. Arguments description come from 'http://www.ilo.org/ilostat/content/con... |
4b3c82da7ef6d9916cb69a4d2b34c4e91e74c99a | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /stocks/man/sharpe.Rd | 8cd7bb1ce458201dac38c61fa0f9448fa40dc7ec | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 891 | rd | sharpe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sharpe.R
\name{sharpe}
\alias{sharpe}
\title{Sharpe Ratio}
\usage{
sharpe(gains = NULL, prices = NULL, rf = 0)
}
\arguments{
\item{gains}{Numeric matrix with 1 column of gains for each investment (can
be a vector if there is only o... |
62a0e4d73e097933689d7c6e6e6aabc73dcf5c22 | 36245deb4a0db810e1faa88c024ccce6fd1321e4 | /man/update_rho_inexact.Rd | 3a2fca0e1f60ce96b4b6cdbbef767dcbd10ccef9 | [] | no_license | cran/multiband | 1dde88f5ea1896803ec62d1659fcb3ce2b825627 | 279beb62847a86157b1692012b02472da6ebe9fa | refs/heads/master | 2021-01-10T18:41:11.297675 | 2014-12-18T00:00:00 | 2014-12-18T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,844 | rd | update_rho_inexact.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{update_rho_inexact}
\alias{update_rho_inexact}
\title{Update Phase parameter}
\usage{
update_rho_inexact(tms, beta, a, rho, omega, gamma, max_iter = 5)
}
\arguments{
\item{tms}{list of matrices whose rows are the triple (t,mu,sigma) for each band.}
\item{beta}... |
f17efd5277ef167bd79e9d059e12524015483bad | 4f2743db548d08f57ec5c441011d94c28aa0ccac | /man/comments.model.Rd | 242f4965a5650a8af04803afba98b90dee34fa9f | [] | no_license | bergsmat/nonmemica | 85cdf26fa83c0fcccc89112c5843958669373a2a | 8eddf25fdd603a5aca719a665c5b9475013c55b3 | refs/heads/master | 2023-09-04T06:10:48.651153 | 2023-08-28T13:23:18 | 2023-08-28T13:23:18 | 78,268,029 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 963 | rd | comments.model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model.R
\name{comments.model}
\alias{comments.model}
\title{Extract Comments from Model}
\usage{
\method{comments}{model}(
x,
fields = c("symbol", "unit", "label"),
expected = character(0),
na = NA_character_,
tables = TRUE,
...
)... |
9575f2921eb62ab8b40a1a43113be5b6a30a71a3 | 50db6eed13fe6a33d72096f12d20e91739082834 | /functions.R | a11b865d31d21cf5b8a567cd5280d6e846876b95 | [] | no_license | randomornot/kaggle-amazon | 00631915f9d0db2bfdfc8454de00bc5cb2471b55 | e2ae8be98a55ad5ff4ab49f5360e20279c11a319 | refs/heads/master | 2021-01-10T05:38:07.512406 | 2015-10-17T20:01:31 | 2015-10-17T20:01:31 | 44,452,218 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,023 | r | functions.R | get_correlation_between_two_features <- function(dataset, feature_1, feature_2)
{
df_for_corr = xtabs(~ (feature_1) + (feature_2), data = as.character(dataset))
return(assocstats(df_for_corr))
}
cross_validate = function(training_dataset_to_use, k, model_name)
{
x = sample(k, dim(training_dataset_to_use)[1], re... |
348acf558c45bbdb31150264305fc6919a214e62 | 015558bad7fedcf6530bb22055e385f9140246bb | /man/plot_phenofit.Rd | c728aa3694be79c3bfed616c2a863d3a5e0faf43 | [] | no_license | geogismx/phenofit | 25e3a79f19465388bdfbc334d7336bbd24c166c4 | 388611631581c0160ee6d4b2f28ab6f6306fd1a3 | refs/heads/master | 2020-03-19T09:24:56.718135 | 2018-05-15T09:08:12 | 2018-05-15T09:08:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 318 | rd | plot_phenofit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PhenoExtract_main.R
\name{plot_phenofit}
\alias{plot_phenofit}
\title{plot_phenofit}
\usage{
plot_phenofit(fit, d, title = NULL, show.legend = T, plotly = F)
}
\arguments{
\item{fit}{data from phenofit_site}
}
\description{
plot_phenofit
}
|
c1147514c5be5a92907424f982bacbf5415049a2 | 0ae38ac8a376952e862a5c7ce1d4041eb8d48e8f | /R_analysis/promoter_breadth/Motif_cooccurance_heatmap.r | 89797c4893d7586eb060bff9e169f7515dbf595d | [] | no_license | rtraborn/Daphnia_CAGE_Data | 69657b89d2ff0bed64e89d5f2d4e457df7016d10 | c0c539e16d0fdee4b9c9ca4b5548f22913e48f37 | refs/heads/master | 2021-06-01T09:48:49.296119 | 2016-06-28T19:39:44 | 2016-06-28T19:39:44 | 29,452,502 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 950 | r | Motif_cooccurance_heatmap.r |
library(gplots)
library(RColorBrewer)
setwd("/home/rtraborn/Daphnia/Daphnia_CAGE_Data/R_analysis/promoter_calling_pipelines/TCO/tagClusters/pooled_samples")
promoter_comp <- read.table(file="Dpm_core_matrix.logPvalue.matrix.txt", skip=1, header=FALSE,sep="\t",stringsAsFactors = FALSE)
colnames(promoter_comp) <- c(... |
4e72322ca34aa16efed69ff0e777d416f745cad9 | 68b22104cc432f679a89643d899468e86667b6f2 | /505/mahattan_plot_fatty_acid_all.R | 095a214365032af51122fdbeb75a073d489d14c9 | [] | no_license | lamyusam/KIAT | 7a38aec5b5bc61400f9fc83715ae7ce43413e41d | cf303fdd440b301fa17bc450184b9863e0869101 | refs/heads/master | 2022-02-19T08:47:30.872287 | 2019-04-19T03:20:10 | 2019-04-19T03:20:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,799 | r | mahattan_plot_fatty_acid_all.R | # GWAS result plot
library("qqman")
Oil_content <- read.csv("/Network/Servers/avalanche.plb.ucdavis.edu/Volumes/Mammoth/Users/ruijuanli/505/output/myGAPIT/late_silique_131_sample/fatty_acid_all/GAPIT..Oil_content.GWAS.Results.csv", header = T)
# Caprylic_acid <- read.csv("/Network/Servers/avalanche.plb.ucdavis.edu/V... |
79d440c0abbc93655bac4a94760f5af4e5363269 | 546e659d183e16e0a15bab5dd32b5725b62fd8a2 | /R/yuez/man/running_sd0.Rd | 56ed167c2f2fbe1012437cca7a95d681ffac4bf3 | [] | no_license | giantwhale/yuez | 805ba103a68c417dd68a635416259272b00e8800 | 6ef56b75a2ebb3833a7c36353f32bd5b3a014389 | refs/heads/master | 2021-09-02T23:53:02.951341 | 2018-01-04T05:07:09 | 2018-01-04T05:07:09 | 116,074,134 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 500 | rd | running_sd0.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{running_sd0}
\alias{running_sd0}
\title{Running Standard Deviation assuming Mean = 0}
\usage{
running_sd0(x, w, min_size = 2L)
}
\arguments{
\item{x}{numeric vector}
\item{w}{integer, windows size, results are right align... |
6e24549bfc0e3ba44ee834d9c5ef9cc8bb50234b | 91bdd5d4d507775a52c29786d1f773415fa26586 | /R/main_plotting.R | f2b4f1c61bbd5c1f3873d380b71917365d480f6d | [] | no_license | NVE/FlomKart_ShinyApp | b49a61cb9442cd4a0a9719923e306681de33d451 | 2b883729714b5e1a9a3a3dc75a6d0d6000499448 | refs/heads/master | 2021-01-18T22:19:48.080878 | 2018-01-26T13:03:10 | 2018-01-26T13:03:10 | 72,442,114 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,907 | r | main_plotting.R | # Plotting function for the ShinyApp
#' plot4server
#' @description plot fitted probability density function to estimated empirical pdf
#' @param dat
#' @param param
#' @param distr.index
#'
#' @return Returns nothing else than a plot, saves nothing
#' @importFrom nsRFA f.genlogis
#' @importFrom nsRFA f.gamma
#' @... |
f006e5bcfc518373643061cebcb58b4479b3231d | 63a8b105407d6d2a25b25df44637a730d63168e9 | /R/posteriors/posterior_predictions.R | 21f6b1003f5d000f275032a3bedeab25daf34433 | [] | no_license | jmhewitt/ctds_dives_jabes | 5857b0e37a01fd80e77b099bf46ef5cf63147b36 | 30de1a1d3b825cf2f07261f40db64b3558053976 | refs/heads/main | 2023-01-03T17:27:16.503272 | 2020-10-30T16:27:07 | 2020-10-30T16:27:07 | 308,685,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,931 | r | posterior_predictions.R | posterior_predictions = function(nim_pkg, sample_file, template_bins, inds,
tag, sattag_timestep) {
if(file.exists('nim_pkg_0.5.rds')) {
nim_pkg = readRDS('nim_pkg_0.5.rds')
}
# tags with validation dives
# tag_ids = unique(nim_pkg$consts$dive_relations_validation[, 'tag'... |
196b822ee376ba021dbb3e69c144d784c2d6a201 | f1183482e47167a9020046c061a53b88179193ec | /scripts/outcomes/do_medication_stats.R | 8c5d2a8134fbafa0b7bc778b106388bf6ef7b299 | [
"MIT"
] | permissive | morrislab/plos-medicine-joint-patterns | a7a4ff4ce5f16d673fe2af48429ebe43b5132458 | cfdc6dd4854ec33e7e2efbf36d648b65d278df33 | refs/heads/master | 2020-04-17T09:33:09.077084 | 2019-01-18T19:33:32 | 2019-01-18T19:33:32 | 166,462,950 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,441 | r | do_medication_stats.R | # Conducts statistics on medication statuses.
library(argparse)
library(data.table)
library(gtools)
library(plyr)
library(doMC)
rm(list = ls())
# Get arguments.
parser <- ArgumentParser()
parser$add_argument('--input', required = TRUE)
parser$add_argument('--output', required = TRUE)
parser$add_argument('-... |
c4f482ca1e6317b232de8d5e8b285086db92d276 | 101401023b390e7a5a63254ad57f15b7e5b7c952 | /plot2.R | f0f7fb5b15daf071a77c203bf2d8f8c5b3642ff3 | [] | no_license | kaiyang1995/ExData_Plotting1 | 8c590f75273b26fe895d4c44a5ef7c02b329e183 | 0b1326aa170eb75535a3d20766c5f32ff82edbd7 | refs/heads/master | 2022-10-15T09:53:00.199837 | 2020-06-13T11:32:06 | 2020-06-13T11:32:06 | 271,981,374 | 0 | 0 | null | 2020-06-13T09:48:23 | 2020-06-13T09:48:22 | null | UTF-8 | R | false | false | 462 | r | plot2.R | data_full <- read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?")
data1 <- subset(data_full, Date %in% c("1/2/2007","2/2/2007"))
data1$Date <- as.Date(data1$Date, format="%d/%m/%Y")
datetime<-paste(data1$Date,data1$Time)
data1$datetime<-as.POSIXct(datetime)
with(data1,plot(data1$datetime,data... |
d465e05b8f49a3567845e2912a0bf3aa527ec6cf | c49ba7586c128e3caabe6f0d8da8226540b6f3a6 | /man/download_place.Rd | 5a158be2af3c4b232f52075a577c1e0f5f32781d | [
"MIT"
] | permissive | JiriStipl/strviewr | bbeb7a8859afe505dcd1569eddb98cf573c76825 | 35ba9956cb4f5014c70e9270d50881a86a6633c4 | refs/heads/master | 2020-03-28T13:25:45.677479 | 2019-01-18T01:12:44 | 2019-01-18T01:12:44 | 147,978,933 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 634 | rd | download_place.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/place.R
\name{download_place}
\alias{download_place}
\title{download_place}
\usage{
download_place(place_code, loc, folder, step = 30)
}
\arguments{
\item{place_code}{A number identifying the place to be downloaded, its passed to fil... |
5f4cbb2e1cee5e5063de8fc668d72fee63664fcc | 29585dff702209dd446c0ab52ceea046c58e384e | /noncompliance/R/RcppExports.R | 4ee0a9ce2604d6af7c92b1fd630e464a8cd5bdf9 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,548 | r | RcppExports.R | # This file was generated by Rcpp::compileAttributes
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
.FindMLE_CONT_H0_hypergeoC <- function(n_y0x0z0, n_y1x0z0, n_y0x0z1, n_y1x0z1, n_y0x1z1, n_y1x1z1) {
.Call('noncompliance_FindMLE_CONT_H0_hypergeoC', PACKAGE = 'noncompliance', n_y0x0z0, n_y1x0z0, n_y0x0z1,... |
ab34564ab1bd532e16a2102138e573d9aec15ff0 | 1e81deb64a22c92d6cd53842ae7d8be0c3e9d49b | /2020-10-13_datasaurus-dozen/test-plots.R | 796fe86efa60d62f6f874a0359f0fb6fb31a0ca6 | [
"BSD-2-Clause"
] | permissive | jmcastagnetto/tidytuesday-kludges | 5bfea5ccd4640df4e9e5367794dbb09594ac32a3 | 13dcb24694acff3839a7e1322d725e80bb146ae0 | refs/heads/main | 2023-04-07T04:33:13.715619 | 2023-03-29T03:46:12 | 2023-03-29T03:46:12 | 193,815,379 | 9 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,912 | r | test-plots.R | library(tidyverse)
df <- readRDS("2020-10-13_datasaurus-dozen/datasaurus-dozen.rds")
df2 <- df %>%
pivot_longer(
c(x, y),
names_to = "var",
values_to = "value"
)
ggplot(df2, aes(x = value, y = dataset, fill = dataset)) +
geom_density_ridges(show.legend = FALSE) +
facet_wrap(~var)
p0 <- ggplot(d... |
3189896e8f3d818c46d1e25883271b3ced76ba08 | d6669bfbfec0635c5b7f3c86f87f4d24199e9ee8 | /1_lab2_quiz_practice_script.R | e1c72644d306c5bb8f03f18afde04e1a14734343 | [] | no_license | BrookeCharbonneau/lab2_quiz_practice | c5ea532a0a9e82c1a9962ad5f30d5793062b3bad | 535133c677a0cfc746c4d230120800762722759b | refs/heads/master | 2021-01-11T03:24:55.594312 | 2016-10-16T02:17:32 | 2016-10-16T02:17:32 | 71,010,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,441 | r | 1_lab2_quiz_practice_script.R | ## Creating analytic data file
library(tidyverse)
library(apaTables)
raw_data <- read_csv(file="raw_data.csv")
str(raw_data)
# View(raw_data)
raw_data$sex <- as.factor(raw_data$sex)
levels(raw_data$sex) <- list("Male"=1, "Female"=2)
sex <- select(raw_data, sex)
neg_affect_items <- select(raw_data, afraid, angry, a... |
ac82c54bf645cb51c1b35c25c35e713c7506d69d | 058f099a93ae6e1bc81801651e598ff6483129d4 | /man/print.summary_greek.Rd | f6ebe31ba4c6358a5f45ccef5c310e6fb226eb93 | [] | no_license | cran/greekLetters | a8d9be90c44cb020cb984f30c629dca1ab0c3ab4 | 681667219ab632bbfd5117755df907deb25144b9 | refs/heads/master | 2022-11-13T23:55:27.615432 | 2020-07-06T14:00:02 | 2020-07-06T14:00:02 | 278,228,966 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,349 | rd | print.summary_greek.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print_greek.R
\name{print.summary_greek}
\alias{print.summary_greek}
\title{Print Summary for Linear Model Fits With Greek Letters}
\usage{
\method{print}{summary_greek}(
x,
digits = max(3L, getOption("digits") - 3L),
symbolic.cor = x$s... |
f05f2554f4d73ec4d66e7bd3f0c23a6f5268e0a5 | caeb8764dabd4d0ed17d37e7486ad7e3d714b04e | /inst/doc/a01-introduction.R | dc1a2e0e3b14f5234d77395a9f009ecc445233f7 | [] | no_license | cran/caracas | 579b5cefd2b7a2db85e691d140f2215f4275c3bc | 42b3bf8eb37ddf5b6adde28b33fdb3359ecc4f11 | refs/heads/master | 2023-08-16T18:15:53.677578 | 2023-08-11T13:13:47 | 2023-08-11T15:30:42 | 236,567,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,127 | r | a01-introduction.R | ## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ---- message=FALSE-----------------------------------------------------------
library(caracas)
## ---- include = FALSE-------------------------------------------------------... |
5935b77700590d20c95a2a39d4e8cfb30bd2ece2 | 619c0ba0282a4c2cb9a1b20a14536ef82dc46e8f | /man/read.nea.Rd | 575ddc6a3fb7b72805343102682bcb14d171ee7f | [] | no_license | SEELab/enaR | 796b51159ca43d2338ef441022e2077db516bc7f | 281a0c71f83fb4659c9300801e41d09729dbd261 | refs/heads/develop | 2023-04-26T01:58:20.788858 | 2023-04-22T20:24:54 | 2023-04-22T20:24:54 | 12,623,293 | 14 | 8 | null | 2018-05-17T22:34:51 | 2013-09-05T16:52:53 | R | UTF-8 | R | false | true | 792 | rd | read.nea.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read.nea.R
\name{read.nea}
\alias{read.nea}
\title{Read an NEA formatted model into a network object}
\usage{
read.nea(file = "file name", sep = ",", warn = TRUE)
}
\arguments{
\item{file}{The name and path for the data file.}
\item{sep}{The... |
a1fd381505105d3895ea178c9b8f50885be2100d | aebca85114388224fc24481fdfce04be048110db | /R/doClusterTableFCH_fromMatrix.R | 88436d5684bb662d29b889ccde34b77cd191dedf | [] | no_license | mssm-msf-2019/BiostatsALL | 4f79f2fbb823db8a0cbe60172b3dcd54eac58539 | 0623dd13db576b2501783b31d08ae43340f2080b | refs/heads/master | 2020-05-25T15:16:01.949307 | 2019-05-21T18:11:12 | 2019-05-21T18:11:12 | 187,864,190 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,550 | r | doClusterTableFCH_fromMatrix.R | #' A function that creates a heatmap with column indicators on top of each column.
#' @description This function creates a nice heatmap for publication. It puts on top of each column a color indicator of what sample type it is, does clustering, and adds a table in the right margin of the figure with logFoldChanges and... |
e36b6dda86e4227e56102d4bbd6aa07542ba2143 | c547b016fb11aaac568a38200f9ea49f504098b9 | /code/Machiene leanring models/ordinal logistic regression.R | 618a92336669ac7e6b470ff07f877d6c967286ed | [] | no_license | john-m-burleson/NHANES-R-Programming | 5c1e656d8c925bb183927f98e85e8946d57a89e2 | 7729b654f7af091b47546bfe44b9614ee262f2fa | refs/heads/master | 2022-11-04T22:06:06.990900 | 2022-10-20T02:20:10 | 2022-10-20T02:20:10 | 121,905,018 | 19 | 3 | null | null | null | null | UTF-8 | R | false | false | 4,849 | r | ordinal logistic regression.R | #lets make sure there are no strangling datasets in our global enviroment
rm(list=ls(all=TRUE))
#lets read into R our dataset
final_data<-read.table(file.choose(),header = TRUE)
#lets do some final data manipulation on BMXBMI and RIDAgeyearn
#lets first start with our age variable lets start our by making our va... |
f3d048b35980fedcafa46b1aba8770fbe3c273a2 | 68b0ae6f2f5576518f0285a4eea6a8deea4a5020 | /ui.R | ff84a539b3a07e05c6ffec988afaf939736f12fa | [] | no_license | yansonz/CBR_travelcase | d7c59de71860fe7519a08c0c08a28988e1497293 | caae0b94f874f6ecf12f1815625d8ae063c8d41b | refs/heads/master | 2020-04-17T22:20:17.501642 | 2016-09-11T23:25:33 | 2016-09-11T23:25:33 | 67,955,599 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,866 | 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)
#system.time(source(paste(filePath, "main.R", sep = "")))
source("main.R")
... |
fc867504cc6ea76d250f133a4bd01f6a3e70602a | a16224a32558f9ec254688fb7c83de3c4c35fc25 | /R/list.extract.R | 4859cb8838a14bb01bf951189de7e22d08bc2f24 | [
"MIT"
] | permissive | renkun-ken/rlist | fb807f6f0162f52b08aa141104566f7c6e8c2dd6 | bfaa2c50f79c9e8cdb3bce481262829549ba8e7e | refs/heads/master | 2023-03-21T19:47:49.571870 | 2023-03-11T12:54:35 | 2023-03-11T12:54:35 | 20,375,257 | 187 | 31 | NOASSERTION | 2022-06-12T14:48:11 | 2014-06-01T10:33:11 | R | UTF-8 | R | false | false | 163 | r | list.extract.R | #' Extract an element from a list or vector
#' @export
#' @examples
#' x <- list(a=1, b=2, c=3)
#' list.extract(x, 1)
#' list.extract(x, 'a')
list.extract <- `[[`
|
e0309609c206918faf9ea955c121ebf58b03af4d | 9cdcd086bbe55a0e703e595ea6bfc8b41e17fb4d | /Vatsa_Supervised_titanic_svm.R | 8b144185cd525629ecd4f59799dd052c94367e08 | [] | no_license | vatsashah/DataScience | b7cc3357a8cf1d2f66cd1ef93baac180fbb3a11f | 730a06eb360f061508db4a561ab44ce9b37df873 | refs/heads/master | 2020-06-13T20:44:28.564225 | 2020-01-27T13:48:22 | 2020-01-27T13:48:22 | 194,782,650 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,971 | r | Vatsa_Supervised_titanic_svm.R | #Vatsa Shah
#Supervised learning with Support Vector Machine Algorithm
getwd()
rm(list = ls())
library(caret)
train=read.csv("C:/Users/Vatsa Shah/Documents/train.csv")
test=read.csv("C:/Users/Vatsa Shah/Documents/test.csv")
#creating new column to determine whether it is part of train data or test data... |
51df42095a0282ab09c011a65c577e934427ce6c | 1e75fb8258facec122f6afcb9e78a81edcc5e83e | /code/exploratory_data_analysis.R | 755243f9b1ebb603b1cb566061b0219f5ba3d385 | [
"MIT"
] | permissive | piinghel/home_bias | e0d941ddeb20dd11c1bd4ca8c7998135e9debbdc | c85f6291533156a757e3da891c499bca4f8ee6a7 | refs/heads/master | 2021-03-27T07:22:18.453809 | 2020-04-04T13:27:43 | 2020-04-04T13:27:43 | 247,801,144 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,950 | r | exploratory_data_analysis.R | # clear environment
rm(list = ls())
# load libraries
library(tidyverse)
library(readxl)
library(lubridate)
# plotting
library(patchwork)
library(viridis)
library(ggthemes)
library(RColorBrewer)
#---------------------------
# Global parameters
PALETTE <- RColorBrewer::brewer.pal(n = 8, name = "Dark2")
STYLE <- "steel... |
3f14e7922fe2edb25c32560a4738ef40a2a09686 | d87af6218a5edcdcd5857129d2f88a8333a6e5b1 | /04_rfmix/including_mais_samples/seven_way/03.2_rfmixQ-proportion-plot.R | 1a2268cee468602767d5d5c06ddf13836ee8c96c | [
"MIT"
] | permissive | mcps-analysts/mcps-genetic-cohort-profile | f578b5e8c59a9a378e60274a7ff6bf3605687bc8 | fab2ea2d726bffe8d1b37c41daf3f00c3429f153 | refs/heads/main | 2023-04-14T21:41:17.027004 | 2023-02-13T18:08:57 | 2023-02-13T18:08:57 | 598,123,861 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,492 | r | 03.2_rfmixQ-proportion-plot.R |
"%&%" <- function(a, b) paste0(a, b)
library("data.table")
library("tidyverse")
serv.dir <- "./"
work.dir.serv <- serv.dir %&%
"popgen/04_rfmix/" %&%
"including_mais_samples/seven_way/"
input.dir <- work.dir.serv %&% "input_files/"
output.dir <- work.dir.serv %&% "output_files/"
pop.file <- serv.dir %&% "shared/re... |
76e3fde74430d76ef35ce509cd03c977038c3703 | 81d2fb20fce5a2b96ddba7a03202719f988eb2be | /Scripts/Rx_fri_mapoutput_TCSI.R | 1da6e4330ec65e5310df333ae394344b3684a031 | [] | no_license | LANDIS-II-Foundation/Project-Tahoe-Central-Sierra-2019 | 2fe775047783f10d065c363516554435fc579346 | 7111854053550a87f818ffd43b758989df90726c | refs/heads/master | 2021-07-25T04:02:27.382377 | 2021-07-12T15:37:10 | 2021-07-12T15:37:10 | 185,416,263 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,157 | r | Rx_fri_mapoutput_TCSI.R | ####Call necessary packages###
library(raster)
library(rgdal)
library(ggplot2)
library(dplyr)
library(spatialEco)
library(Hmisc)
######Set working directory####
p <- "I:/TCSI/Round2_outputs/"
setwd(p)
clim_dir <- c("CANESM85", "CNRM85", "GFDL85", "HADGEM85", "MIROC5_85")
scen_dir <- c("Scenario1_1", "S... |
8b635bd41782ac4c0ecd8678eaf866db0b6bebbb | b5964f2dd7c8966c658b5095894c7e0ba242791e | /pair_test_2.r | 5082c9d2fca443a8f45a15973a5e74a958cdbe59 | [] | no_license | spreadstock/model1 | 20c7f71c710a1bb11b9e70991916566a910c3187 | 7127bdf4361b0ee7a22667fa4b70551073b6fb0a | refs/heads/master | 2020-04-16T17:43:09.381493 | 2017-04-19T00:44:02 | 2017-04-19T00:45:29 | 61,471,612 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,058 | r | pair_test_2.r | #setup
currency("USD")
Sys.setenv(TZ="UTC")
#clean up
if (!exists('.blotter')) .blotter <- new.env()
if (!exists('.strategy')) .strategy <- new.env()
suppressWarnings(rm(list = ls(envir = .blotter), envir = .blotter))
suppressWarnings(rm(list = ls(envir = .strategy), envir = .strategy))
initDate <- '2012-01-01'
star... |
d1ea16f93c1910ce9790196395bf9bab28f6f9f1 | 0bcd8e58c426429f5e892acb50841793924f4f14 | /codigos/e6_prac1.R | 6d7833eacda68e944e7c19d763890a0d3ee17799 | [] | no_license | ealaurel/clase_EST_383 | 66a0285567fa013080d37b014f00ca99bdfcdc4e | efb78b4b4f99ba10ea62cffa44109062c5572bd1 | refs/heads/master | 2022-11-19T00:39:27.239480 | 2020-07-15T04:41:04 | 2020-07-15T04:41:04 | 255,178,370 | 0 | 0 | null | null | null | null | ISO-8859-10 | R | false | false | 619 | r | e6_prac1.R | rm(list=ls())
#6 emplenado la ENDSA muestre por aņo y departamneto
#el porcentraje de persona que fuman
bd<-load(url("https://github.com/AlvaroLimber/EST-384/blob/master/data/endsa.RData?raw=true"))
#names(endsa)
#View(endsa)
#str(endsa)
#str(endsa[,4])
#eriquetas de cada variable (preguntas)
attributes(endsa)$var.lab... |
2a9b1fbfcfcf2f284c14d3365af78bd959619c3d | 58b690a4301f55fa3b1a1a2a675864d0b2c19620 | /scripts/ChinaHW_cluster/main.R | 3380a28d951509bbd1805e2797a1dff285e6559c | [
"MIT"
] | permissive | rpkgs/RHtestsHelper | 0313a8a9022649248d0490280057310fea6673bd | 23036d69aa77da00f3c1a302aeabe67f2c1931a7 | refs/heads/master | 2023-04-13T18:25:39.188408 | 2023-03-28T07:17:16 | 2023-03-29T04:41:17 | 289,939,439 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,364 | r | main.R | library(Ipaper)
library(lubridate)
library(RHtests)
library(tidymet)
library(tidyfst)
ErrorMSG = ""
devtools::load_all()
devtools::load_all("../RHtests.R")
# 有5个站点出现错误。
# # [data.table]:
# # A data frame: 6 × 14
# site date RH_avg RH_min Tair_avg Tair_max Tair_min Pa_avg Pa_max Pa_min q_mean RH_min2
# <i... |
f81a3d3acfdba5afec5f46dec17dc7fd106cf00c | a5205e6eb618540fe8a3686f709369bd2e160568 | /author_year_plot.R | 4f272cce4b310ad81d5a935777913fd3a6e2df24 | [] | no_license | millerlp/Misc_R_scripts | 48bfdb49542e30460dbd2bcafbf44ee30682b239 | 01d78c6b94c75b79135ea2b03f458b0100495fbe | refs/heads/main | 2023-07-19T07:30:12.817825 | 2023-07-13T16:25:25 | 2023-07-13T16:25:25 | 7,250,046 | 12 | 19 | null | null | null | null | UTF-8 | R | false | false | 9,075 | r | author_year_plot.R | # author_year_plot.R
#
# Author: Luke Miller 2015-04-22
###############################################################################
###############################################################################
# Export a text file from Endnote that only lists Year and Authors, all
# separated by commas. To do... |
5c86d4b753ead590e7fc91d90682388c05898942 | e5b1416f3d7434fc19fee3a51474069cb2478e29 | /R/train.R | 7573e8432af31166a770eb7e8a81a511324769cb | [] | no_license | anilgunduz/deepG | 16c13a8e0d2d372913506ab626ad31d4af76c428 | e47c415f04da15e363b46c39027c30255e0b698e | refs/heads/master | 2023-06-26T23:38:27.845094 | 2021-07-30T09:51:12 | 2021-07-30T09:51:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 34,759 | r | train.R | #' @title Trains a neural network on genomic data. Designed for developing genome based language models (GenomeNet)
#'
#' @description
#' Depth and number of neurons per layer of the netwok can be specified.
#' If a path to a folder where FASTA files are located is provided, batches will be generated using an external ... |
cce775647c2b944f16a8ee4914358e8b1d040e47 | 464b7e63447fdc739413fe764174814503a06367 | /man/log_shiny_input_changes.Rd | f2509f1acd46ff80e85bedf1ec0449d0569f85a3 | [] | no_license | daroczig/logger | 4f32a43edf38d575fd06e653636ab435a78033f9 | 829aabbf46cee5d427d66e94c13e2d52112029a3 | refs/heads/master | 2022-09-27T06:04:11.011518 | 2022-05-27T20:20:25 | 2022-05-27T20:20:25 | 157,297,209 | 239 | 38 | null | 2023-09-06T11:26:20 | 2018-11-13T00:39:35 | R | UTF-8 | R | false | true | 1,218 | rd | log_shiny_input_changes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hooks.R
\name{log_shiny_input_changes}
\alias{log_shiny_input_changes}
\title{Auto logging input changes in Shiny app}
\usage{
log_shiny_input_changes(
input,
level = INFO,
namespace = NA_character_,
excluded_inputs = character()
)
}
... |
243659d008f0db208cf1adc09cb804a6fc868bc0 | af716fe719978bda13825c90190b5fd40a644edc | /R/est_plm.list.R | 35aa86929462c12b1e10e92810ef2a145ddc5e18 | [] | no_license | cran/plm | 492fed724b1b4e917829990d1295117055fcdb50 | b1eb02da282264741609692ac73c61b8722fc7e8 | refs/heads/master | 2023-04-15T03:38:07.442011 | 2023-04-09T10:40:02 | 2023-04-09T10:40:02 | 17,698,568 | 19 | 23 | null | null | null | null | UTF-8 | R | false | false | 11,026 | r | est_plm.list.R | plm.list <- function(formula, data, subset, na.action,
effect = c("individual", "time", "twoways"),
model = c("within", "random", "ht", "between", "pooling", "fd"),
random.method = NULL, #c("swar", "walhus", "amemiya", "nerlove", "ht"),
... |
44d806ff017836796cd9e7470845487ed09ecaab | 9907a5d3f1b7bef83b825e2dc490bc1feec49ec4 | /plot4.R | a4c579fd2ecab0cf6f7b89e7bd754b4cd258d252 | [] | no_license | alvarezloaiciga/ExData_Plotting1 | 2f77744916be5d941ddffa3f9ead78a2ed811f19 | 7d4f2deafe0e436c77652993260ec4fe3383c65f | refs/heads/master | 2022-06-14T14:55:06.851309 | 2020-05-02T21:21:37 | 2020-05-02T21:21:37 | 260,758,517 | 0 | 0 | null | 2020-05-02T19:19:10 | 2020-05-02T19:19:10 | null | UTF-8 | R | false | false | 1,231 | r | plot4.R | library(dplyr)
library(lubridate)
if(!file.exists("household_power_consumption.txt")) {
temp <- tempfile()
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", temp)
unzip(temp, "household_power_consumption.txt", exdir = getwd())
unlink(temp)
}
if (!("consumpt... |
aabab285ee460b9bacab9f64676d982024a8d3a6 | 8f645b43614d7e30a361f541a1bf5e0ed27fe65e | /main.R | 7a283f5dd3fc6e2ab97fbd015ebeb45f0269f29e | [] | no_license | bethesdamd/temp_test_r_httr_caching | 7611392ff6711aa4b55de5c8b5b8e52b6173fb28 | 699668dc305c556a58364bcaf812b9cbe904d4a1 | refs/heads/master | 2022-07-09T20:05:52.781220 | 2020-05-17T13:35:45 | 2020-05-17T13:35:45 | 264,469,562 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 386 | r | main.R | library(httr)
print("================================================================")
e <- GET("https://raw.githubusercontent.com/bethesdamd/temp_test_r_httr_caching/master/data.csv")
cache_info(e) # this tells you what the Expires date is for the content, which is determined by the server
e$date # I think this i... |
b1206b0d3f2867d051de1b1bb1d071db761ddaf1 | 4447c1851f04e25322ca23f6baa70007c25686f2 | /crypto/data_function.R | f3fd20e212f2ad5e4b040abd4bf04b6b7efc734d | [] | no_license | TDTran333/exercices_codes | fd6e283f518896e8393a94bdace08563c8143fac | dfe4fb9481343bc07a49fd01987caa1b3d33fd70 | refs/heads/master | 2023-03-26T22:06:22.138942 | 2021-03-27T22:29:15 | 2021-03-27T22:29:15 | 321,821,155 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 773 | r | data_function.R | rm(list = ls()) # reset global variables
#import the libraries we need
library(jsonlite)
library(glue)
library(tidyverse)
library(lubridate)
# create a function to retrieve daily data
retreive_daily_data <- function(pair, filename) {
url = glue("https://api.pro.coinbase.com/products/{pair}/candles?granularity=86400... |
43beac15c6421a1a877b6258322264d2954c56c9 | 62dbac526ceebab3fec67cddd4ff5e0aadfc24fc | /src/02_boot_envipe.R | b92d17d0436fd08a6f439b92a9ce85cca9057743 | [] | no_license | CADSalud/ViolenciaSexual | 155569d79df326367f8c0a23f3536d2376534dc9 | d94d2f940293be29ac6e0db00bc1c48399073420 | refs/heads/master | 2021-03-30T18:32:31.834747 | 2018-03-28T18:13:19 | 2018-03-28T18:13:19 | 107,608,199 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,627 | r | 02_boot_envipe.R |
library(ProjectTemplate)
load.project()
load("cache/poblacion.RData")
library(bigrquery)
#
# Proyecto ----
project <- "acoustic-field-186719" # put your project ID here
df_envipe <- lapply(2012:2016, function(year.nom){
print(year.nom)
sql <- paste0("SELECT year, SEXO, edad_num, seccion, ",
"... |
e98ed6fe09ce99971d792b12b4434c72a338aa68 | cbb9e94ce4d0b6ff444be6129560b5b4d0133d0a | /man/create_blank_config.Rd | fd3443bcaf2e495a0565758577b4dabfabbb8b66 | [] | no_license | pedmiston/totems-data | de39b8a38d9aefcee8ef34868323d5cf054814eb | 5ed46fe78cefafcead59297508a2631e9ea0d27b | refs/heads/master | 2021-07-16T03:17:06.326910 | 2019-02-05T19:53:05 | 2019-02-05T19:53:05 | 104,396,767 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 333 | rd | create_blank_config.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/db-tables.R
\name{create_blank_config}
\alias{create_blank_config}
\title{Create a blank config file "config.yml" in the current directory.}
\usage{
create_blank_config()
}
\description{
Create a blank config file "config.yml" in the current ... |
0acafb5b0fa42ad1bd95c3bedc4044e84fc6d552 | 323d9497a4d4730a4f34eaef8154f2477ec2e068 | /Code/Pre-Procesamiento de datos.R | 365c08ca68cc1ad1dc6c41fd06332d981631be65 | [] | no_license | OscarFloresP/ea-2021-1-cc51 | 1c235da8decc7f81c0da6325d1f848872bd1c2f9 | b5f66c6e7d4e855f70adebaccd69564ea7768aec | refs/heads/main | 2023-04-18T13:57:47.616878 | 2021-05-12T04:57:20 | 2021-05-12T04:57:20 | 365,569,381 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,258 | r | Pre-Procesamiento de datos.R | #3. Pre-Procesamiento de datos
#Identificación de valores NA
ValoresVacios <- is.na(DFHotel_Ruido)
View(ValoresVacios)
summary(ValoresVacios)
#Reemplazo por promedio:
mean.valor <- function(x){
faltantes <- is.na(x)
tot.faltantes <- sum(faltantes)
x.obs <- x[!faltantes]
valorado <- x
valorado[f... |
de49a0d1a998ed47f12d5f57b8f14fe6969fa535 | 433cfe886b8649366e894a396accd0809ed408d9 | /R/memoise.R | d479b6013a767016f2326bd1c26e92e00116bde7 | [] | no_license | benubah/shinyfind | 8cf5c73d0fb242c119767d75babb0eff3cce140b | e8b4b590bd737be29ac47ef3428e3832b7676ec7 | refs/heads/main | 2023-08-12T21:27:24.998293 | 2021-10-01T15:11:04 | 2021-10-01T15:11:04 | 416,333,564 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 182 | r | memoise.R |
#' Starts a new day at UTC 7am
#'
#' This can be used as an update trigger in a memoised function
today_at_sunrise <- function() {
as.Date(lubridate::now("UTC") - 7 * 3600)
}
|
7addfe16ca63183ff4820b584fee62b1662e428e | b7044633a4a752f95a8ad05b2edd972a63e48945 | /R/TeacupCerberus-package.R | 5cb2a9d75a2e520797661673689790aee62f4f15 | [] | no_license | jsilve24/TeacupCerberus | d40ace7819ddc5dd234eb35b0a67a92cb2324cb0 | e6551c81efb67da9d691decb58d9f4ec305af17c | refs/heads/master | 2020-06-27T09:41:32.892345 | 2019-08-06T20:22:26 | 2019-08-06T20:22:26 | 199,916,251 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 546 | r | TeacupCerberus-package.R | #' TeacupCerberus
#'
#' Estimates covariation within and between two count datasets where the counts
#' contain multinomial variation (e.g., sequence count data like microbiome 16S or bulk/single-cell RNA-seq).
#' The model outputs Bayesian posterior samples over covariance matricies.
#' The entire posterior reflects u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.