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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1db38aeb71bf2c5be032cfcb16c873a87601e03b | bec8a34363b8da5cefee3a98fe98d339a8ec8eab | /R/op_kill_cursors.r | ccf74e8f3bfbb8fba84b3552126d75db7e232371 | [] | no_license | strongh/mongor | 24fa4fb6fad577562db97c4356e403c7cd74568d | 7f1a95cb742e8163151f895f765be430a67dbe01 | refs/heads/master | 2016-09-05T09:16:14.667651 | 2010-11-15T01:42:36 | 2010-11-15T01:42:36 | 937,944 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 726 | r | op_kill_cursors.r | ##' OP_KILL_CURSORS
##'
##' One of the basic mongo messages.
##'
##' @param collection the name of the collection to query
##' @param cursor.ids a list of cursor ids
##' @return a raw vector encoding the query
op_kill_cursors <-
function(collection,
cursor.ids,
to_return = 10){
## header
... |
3dc1858bf8baad4ff38d2f74b127aa740505c316 | 7d53d36cdb86afd193e75301e0318abaf21c0b3f | /server.R | c4d05152075a7d2502d25f6b1d2b27047113858f | [] | no_license | ZivaXu/uw-club-journey | c6d07d865aa18fb58823348f112b46061edfb502 | d716a318b58e3903b287714ca2e02c79b0101b78 | refs/heads/master | 2022-12-02T10:37:56.488033 | 2020-08-16T18:49:21 | 2020-08-16T18:49:21 | 287,830,961 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,900 | r | server.R | library(shiny)
library(ggplot2)
library(dplyr)
library(R.utils)
library(lubridate)
library(scales)
library(plotly)
library(shinydashboard)
library(gapminder)
library(DT)
shinyServer(function(input, output) {
# Read task stamp
task_list <- read.csv("tasks/task-list.csv")
# Output stamp image
output$teststamp... |
507b368a12edd6f729b409a8a9d38670d0b959ef | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spate/examples/propagate.spectral.Rd.R | 2b1d8cd47a8259ec26b513ea81ea4f0fc446f61b | [] | 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 | 780 | r | propagate.spectral.Rd.R | library(spate)
### Name: propagate.spectral
### Title: Function that propagates a state (spectral coefficients).
### Aliases: propagate.spectral
### ** Examples
n <- 50
spec <- matern.spec(wave=spate.init(n=n,T=1)$wave,n=n,rho0=0.05,sigma2=1,norm=TRUE)
alphat <- sqrt(spec)*rnorm(n*n)
##Propagate initial state
wave ... |
1ad9678d9a39c0c9ec78763e4de9e2d6ff2bf59f | fc7c616bda497d9b193df08ec09241b1486bacac | /MEAN,MEDIAN,MODE.R | 1fc02eb6dd5c78f85094564108ef5c919e9d216e | [] | no_license | MinhajulAkib/R-Programming | 5c38306ce7486e283e3c51aa9ce81fb34fe6c850 | 7bbd654e4c6b8917bd21a380ffb120665915773a | refs/heads/main | 2023-02-02T02:39:48.166304 | 2020-12-11T11:26:12 | 2020-12-11T11:26:12 | 316,182,597 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 363 | r | MEAN,MEDIAN,MODE.R | A=c(1:20)
mean(A)
sum(A)
length(A)
median(A)
x<-c(8,3,4,5,2,1,3,5,6)
mean(x)
median(x)
sort(x)
sum(x)
sum(x)/length(x)
##
LungCapData<-read.table(file.choose(),header=T,sep = "\t")
attach(LungCapData)
names(LungCapData)
summary(LungCapData)
table(Smoke)
table(Smoke,Gender)
#standard deviation
sd(Lu... |
73b38b7bf69b592eb44bfa8003b32d3a59a3170a | 2cd54a4365c128d94c120a204aaccf68c3607b49 | /R/plsda.R | cc2d6fc12e94e44135d76f57cf0f82580564787d | [
"MIT"
] | permissive | tikunov/AlpsNMR | 952a9e47a93cbdc22d7f11b4cb1640edd736a5c7 | 748d140d94f65b93cb67fd34753cc1ef9e450445 | refs/heads/master | 2021-01-13T17:35:29.827357 | 2020-02-23T02:35:30 | 2020-02-23T02:35:30 | 242,443,517 | 0 | 0 | NOASSERTION | 2020-02-23T02:27:15 | 2020-02-23T02:27:15 | null | UTF-8 | R | false | false | 10,646 | r | plsda.R | #' Build a PLSDA model, optionally with multilevel
#' @param x the X training set
#' @param y the y training class to predict
#' @param identity the multilevel variable in [mixOmics::plsda]
#' @param ncomp The number of components of the model
#' @noRd
plsda_build <- function(x, y, identity, ncomp) {
plsda_model <- N... |
30cc4caeef11944775076a368af84a0b8eae10f2 | 237bcbdc6b09c57b251191471359eeefb8014410 | /dbSNP_to_annovar_NEW.r | 69e1169b41c4db74055a2b49fb4655588be1d82c | [] | no_license | achalneupane/rcodes | d2055b03ca70fcd687440e6262037507407ec7a5 | 98cbc1b65d85bbb6913eeffad62ad15ab9d2451a | refs/heads/master | 2022-10-02T20:35:18.444003 | 2022-09-09T20:53:03 | 2022-09-09T20:53:03 | 106,714,514 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,215 | r | dbSNP_to_annovar_NEW.r |
#answer = which.isMatchingAt("N", seqs, at=6:1, follow.index=TRUE)
code.dir<-"/media/UQCCG/Programming/VersionControl_GitRepository/UQCCG_Pipeline_Rscripts"
setwd(code.dir) # load in the UCSC tables these use the db file names and not their lable-names
source("annotate_SNPs_subroutines.r")
options("width"=25... |
01468fa815778ebf10a3569cc76ee4ced99b7802 | abc1bb92a1052e5dbc7d7a19b1205c2a20a93867 | /man/stirDistances.Rd | 5ea14eaf0eac43d7a6a05007a103bb32bd7d4b9d | [] | no_license | tactless2004/STIR | ed1ba363f3ce8d7d3ed6f0a998fcdb2c3374526b | b7043e659ae3563a7815fb0b45667df0fd24043f | refs/heads/master | 2020-04-13T13:22:38.841180 | 2018-12-26T18:50:51 | 2018-12-26T18:50:51 | 163,227,873 | 0 | 0 | null | 2018-12-27T00:14:36 | 2018-12-27T00:14:35 | null | UTF-8 | R | false | true | 601 | rd | stirDistances.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reSTIR.R
\name{stirDistances}
\alias{stirDistances}
\title{stirDistances}
\usage{
stirDistances(attr.mat, metric = "manhattan")
}
\arguments{
\item{attr.mat}{m x p matrix of m instances and p attributes}
\item{metric}{for distance matrix bet... |
4d4dd18d63b173980e0d197e3b572509904355ca | 50a83dbdb80fae7fc386482d5720418ea892473e | /syntax/old/models_beat_longitudinal_010820.R | 2d4bcc86027f63ed3dc121826d30becd0952e60a | [] | no_license | clanfear/CampsPolicing | f2f9fedefabee89e9b0e4829f71d463f45355b92 | 0b0289bdcae84c1785c161235e39c31740e3c4ba | refs/heads/master | 2022-01-27T00:04:40.195375 | 2022-01-18T21:27:06 | 2022-01-18T21:27:06 | 234,187,988 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 645 | r | models_beat_longitudinal_010820.R | # What do I need here?
## Beat-level models of fear of crime, police efficacy, SPU complaints, and offenses.
## Can theoretically do beat-quarter level if they're evenly spaced?
# Fear / satisfaction covers 2007 through 2018 reliably
load("./data/derived/beats_all_pe_fe_aw.RData")
# Observations per beat per year
beat... |
70e0ef6184535314936856b7666d068dbcd0ca7a | 9719ea69f693adfddc62b27eaf948fc7b16f6ad0 | /man/wastd_parse.Rd | 8a213c7a7d3c080bd5e5d1f7f0d13d5d2c531044 | [] | no_license | dbca-wa/wastdr | 49fe2fb1b8b1e518f6d38549ff12309de492a2ad | 5afb22d221d6d62f6482798d9108cca4c7736040 | refs/heads/master | 2022-11-18T01:00:41.039300 | 2022-11-16T08:32:12 | 2022-11-16T08:32:12 | 86,165,655 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,594 | rd | wastd_parse.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wastd_parse.R
\name{wastd_parse}
\alias{wastd_parse}
\title{Parse a \code{wastd_api_response} into a tibble}
\usage{
wastd_parse(wastd_api_response, payload = "data")
}
\arguments{
\item{wastd_api_response}{A \code{wastd_api_response} from WA... |
feaa22a2b7501da4eab33f95d462fb76d40acdf0 | 178fdf4459e4817988b60b69e93fbe079446b4a5 | /Load.R | 1575612b790a099249f1ab71d8faf46f8045b794 | [] | no_license | KaiqueS/Eletiva_Analise_De_Dados_UFPE_2021.1 | c4de6ba486db0e4bfd196a2bf4e984d384b45f40 | 258ddd3e06931a61fa0f1b201e7d00f4a16d187e | refs/heads/main | 2023-06-11T15:42:09.368480 | 2021-07-05T15:23:18 | 2021-07-05T15:23:18 | 357,022,682 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,415 | r | Load.R | install.packages( "microbenchmark" )
install.packages( "readxl" )
library( microbenchmark )
library( tidyverse )
library( plyr )
library( readxl )
setwd( "D:\\Trabalho\\Eletiva_Analise_De_Dados_UFPE_2021.1" )
sinistrosRecife2020Raw <- read.csv2('http://dados.recife.pe.gov.br/dataset/44087d2d-73b5-4ab3-9bd8-78da7436e... |
a1cf612f3542daeba6fbf1d3d7754b976cf56447 | b8f69e2a1d3d706f2d9b767b99c0df95b23ad56f | /man/release_questions.Rd | fa153448c3936e5e014317fdb7116e61b6808d32 | [
"MIT"
] | permissive | cran/wilson | b03932a828d284a6b8b8b29411721727c6268ec0 | e2dec1181e01d212b545a6ebfb53beee6320cf2f | refs/heads/master | 2021-06-08T21:43:25.793829 | 2021-04-19T08:40:02 | 2021-04-19T08:40:02 | 145,903,340 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 364 | rd | release_questions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/release_questions.R
\name{release_questions}
\alias{release_questions}
\title{Defines additional questions asked before CRAN submission.
DO NOT EXPORT!}
\usage{
release_questions()
}
\description{
Defines additional questions asked ... |
22d8cc5e6e7c5ccee95f3c36a590e871c280d3a2 | e8ec37267ed9441e229c4774ac20621806f69a81 | /Scripts/Annotate.R | ce14f4c96136aa1c74c7cf227e7f42193cee2a17 | [] | no_license | sohumgala/Single-Cell-RNA-Sequencing-Analysis | 150e23229ee546ac40eef4e32f011c8f71beaf72 | 712e917b121adc2f030442346d81bc482f37bbf4 | refs/heads/master | 2023-07-08T18:57:13.124369 | 2021-08-22T15:34:25 | 2021-08-22T15:34:25 | 398,834,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 600 | r | Annotate.R | # After cell types have been determined, it is easy to label the UMAP with appropriate cell types
# INPUT: cell ids based on previously specified annotation techniques
new.cluster.ids <- c("Naive CD4 T", "Memory CD4 T", "CD14+ Mono", "B", "CD8 T", "FCGR3A+ Mono",
"NK", "DC", "Platelet")
names(... |
f8e1a240ba7257ce577a172c86930f6d65bc6471 | 70e015e71ce31e129c141ddfbcdbf5b200c52df4 | /Content/how_we_compare_mcmc_performance/how_we_compare_mcmc_performance.R | a29822c6072efe60f3afdb90c33b2e134bb65f89 | [] | no_license | lponisio/Vogelwarte_NIMBLE_workshop | ec258a845381621c303b779bb72c5b72924bbdd6 | 323a8ab63ba5b0199b2e3b368dfe2f51bfa17e1f | refs/heads/master | 2020-06-04T00:58:16.528340 | 2018-04-25T11:31:03 | 2018-04-25T11:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,543 | r | how_we_compare_mcmc_performance.R | ## ----setup, include=FALSE------------------------------------------------
library(methods) ## needed only when building documents outside of R
library(nimble)
library(mcmcplots)
if(!exists("nimble_course_dir")) ## set your own nimble_course_dir if needed
nimble_course_dir <- file.path(getwd(),'..')
cur_dir <- get... |
282727bb4fdf62c606688af4f5be87adb43edc89 | 254937c1395588e176e61a81ee84bdccefc8ddfd | /man/getJobs.Rd | c4badac5a661c8dac73242e910b2fc89d81734dc | [] | no_license | cran/antaresEditObject | 3fd126458f8b9e98a18788f9cf212b5480f8d9ec | f13a7f09e8c32612f236f5b92b23cbb45d7b0e61 | refs/heads/master | 2023-04-17T19:17:10.925966 | 2023-04-06T10:00:06 | 2023-04-06T10:00:06 | 162,731,154 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 606 | rd | getJobs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/API.R
\name{getJobs}
\alias{getJobs}
\title{Retrieve API jobs}
\usage{
getJobs(job_id = NULL, opts = antaresRead::simOptions())
}
\arguments{
\item{job_id}{The job identifier, if \code{NULL} (default), retrieve all jobs.}
\item{op... |
2164925dda50fdf46c4d6532f4613bffaefab168 | 698cd11b38d16eff0c6fd0429ea4106e5517fcc1 | /Chapter 03 (foreign)/03_05 foreign for SAS.R | d74aaa8d0b3c6d48ed1b109fbc8ff56280a124ae | [] | no_license | mnr/R-Data-Science-High-Variety | f0707f0eaad176f53716b45ef6f2c1778bd55c85 | 026bd6660545df6a0f17e2c35a325dfe8a628d6b | refs/heads/master | 2020-03-29T07:52:52.385823 | 2018-10-19T21:18:51 | 2018-10-19T21:18:51 | 149,683,442 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 893 | r | 03_05 foreign for SAS.R | # Copyright Mark Niemann-Ross, 2018
# Author: Mark Niemann-Ross. mark.niemannross@gmail.com
# LinkedIn: https://www.linkedin.com/in/markniemannross/
# Github: https://github.com/mnr
# More Learning: http://niemannross.com/link/mnratlil
# Description: R Programming in Data Science: High Variety Data
# use foreign to i... |
99a2af4fe0a5b4ac07d916bd95c9bf0881beddf6 | 25dee6e43b0efbcb68856c11d0b2e39804eb4fb3 | /u5m_media_request.R | 572e8150c621e0c56185ec3197ea7158d19fc501 | [] | no_license | rburstein-IDM/scratch | 43e3f72fe37eaa17f12dcf23d3eb543f1af41141 | 6eaa6bfad15dd80cb0773f4e75d1a5761ac984f2 | refs/heads/master | 2020-05-02T23:33:09.047264 | 2019-12-08T22:00:36 | 2019-12-08T22:00:36 | 178,283,413 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 749 | r | u5m_media_request.R |
library(data.table)
library(sf)
library(ggplot2)
library(maps)
setwd('C:/Users/rburstein/Dropbox (IDM)/IHME/data')
# load and trim data
d <- fread('U5MR_LMICS_admin2_data_full.csv')
# Do we have Indonesia data comparable to the article which will be published ie: % of district/cities that have achieved SDG 3,2 ta... |
bea21dd0b9b56b387ecbda7da305cd576a01216f | 50066dae4216d17bd6f0dcb9a11d872e73246eb6 | /man/checkProvenance.Rd | 34e93b278c08937f19eef6bd53087f458ce52013 | [] | no_license | cran/PKNCA | 11de9db2cb98279c79d06022415b8772e7c1f5ea | 8f580da3e3c594e4e1be747cb2d8e35216784ed2 | refs/heads/master | 2023-05-10T16:54:19.131987 | 2023-04-29T18:30:02 | 2023-04-29T18:30:02 | 48,085,829 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 600 | rd | checkProvenance.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/provenance.R
\name{checkProvenance}
\alias{checkProvenance}
\title{Check the hash of an object to confirm its provenance.}
\usage{
checkProvenance(object)
}
\arguments{
\item{object}{The object to check provenance for}
}
\value{
\... |
a1f8ebc203c3d7b03589b5aabb616751695435b6 | 1ed571c85cff621d21b04071af55d28ef1231c44 | /script_BIC.R | 7ae543f18bfd74abb308fcd8c06949d838f605dc | [] | no_license | amiaty/RFLLat | 33f3f62867bb5ee01ce61780e35db4da3d3d7e06 | 758d86937d85d3b7bed48555e92d27b65d0c0a0e | refs/heads/main | 2023-03-04T06:26:49.803295 | 2021-02-17T12:01:49 | 2021-02-17T12:01:49 | 327,432,774 | 0 | 1 | null | 2021-02-03T13:56:00 | 2021-01-06T21:25:58 | C++ | UTF-8 | R | false | false | 2,261 | r | script_BIC.R | ## BIC stands for Bayesian information criterion
## Load data
num_files <- length(list.files("./data/"))
files_name <- list.files(path = "./data/")
methods_name <- list("FLLat", "SFLLat", "RFLLat")
empty_vec <- vector(mode="character", length=num_files * 3)
opt_lam <- list(method = empty_vec, fname=empty_vec, l... |
ce38ac3cb3f2a6de1b7ea615dcef2d1ab139fcf7 | d0d061329421401283a3db1f8e7aa016e61888d7 | /man/spider-package.Rd | 001c3cd9edfb109465baf855b9420961de9bcd1e | [
"MIT"
] | permissive | boopsboops/spider | 87885b53570a98aece6e7ca1ce600330d9b95d25 | e93c5b4bc7f50168b8a155a6dca7c87dfbdef134 | refs/heads/master | 2021-05-12T07:38:37.413486 | 2019-03-07T21:43:43 | 2019-03-07T21:43:43 | 117,250,046 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,166 | rd | spider-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spider-package.R
\docType{package}
\name{spider-package}
\alias{spider-package}
\alias{spider}
\title{Species Identity and Evolution in R}
\description{
Spider: SPecies IDentity and Evolution in R, is an R package implementing a
number of use... |
d5186e3abdef6eb5dffe0c98d700711469d76271 | 7e849b23af37f1b2921372e08bc896e085cf205a | /HW3/HW3_control_variate.r | 5c908d5dc750a14c2f29c1767d793b90dd5923c2 | [] | no_license | letsjdosth/statComputing2 | d4759073c282aeac8b1cf85e85922ebbc79b2230 | 623c7df13c6ad2e0a644270675f0eafb9b7d0e0d | refs/heads/master | 2020-07-15T08:48:45.192258 | 2019-12-23T17:37:34 | 2019-12-23T17:37:34 | 205,524,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 500 | r | HW3_control_variate.r | #example 2 (HW3)
m = 10000
# MC
u = runif(m)
mc.sample = (exp(-u)/(1+u^2))
mean(mc.sample)
var(mc.sample)
#control variate MC
con.var.sample = (exp(-0.5)/(1+u^2)) #같은 u 써야함
lambda = -cov(mc.sample, con.var.sample)/var(con.var.sample)
print(lambda) # -2.45가량
con.sample= mc.sample + lambda*(con.var.sample - exp(-0.5)*pi... |
7cfb38fdbab282794801497ec7f4a30b3e942dbc | ecc3f86ed2f437c34c817761799e1179f8bee275 | /man/joinrate.Rd | 751c8ba81b9d2b9e186fd73f191275c795d53644 | [] | no_license | cran/relsurv | 8e6b4821d99fda97e58ab1ac284cbd12e3c9cde1 | 20447b8198707f9cebc678ec567a02c57ea4101b | refs/heads/master | 2023-01-10T22:20:36.163357 | 2022-12-22T12:30:02 | 2022-12-22T12:30:02 | 17,699,136 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,455 | rd | joinrate.Rd | \name{joinrate}
\alias{joinrate}
\title{Join ratetables}
\description{
The function joins two or more objects organized as \code{ratetable} by adding a new dimension.
}
\usage{
joinrate(tables,dim.name="country")
}
\arguments{
\item{tables}{
a list of ratetables. If names are given, they are included ... |
6b257c36aa81e6e7f37f3f571b526a86cbc0e3e6 | 1714a940b25d785c13d53425e323ffdf5d306475 | /cachematrix.R | 900d2ed853c87064e8f1cf9c5b6a8f814cfceed9 | [] | no_license | robmill/ProgrammingAssignment2 | 84e2b2e445260d9a88d75a07ee4fb82294108064 | d21bdd83c7b7492cd0c7343f5a2b8eac2f25d69d | refs/heads/master | 2021-01-21T03:59:15.211191 | 2016-07-22T23:52:20 | 2016-07-22T23:52:20 | 63,987,964 | 0 | 0 | null | 2016-07-22T22:47:12 | 2016-07-22T22:47:11 | null | UTF-8 | R | false | false | 1,343 | r | cachematrix.R | ## Rob Miller
## Programming Assignment 2
## July 22, 2016
##
##
## cacheMatrix.R contains two functions:
## makeCacheMatrix() that creates a special matrix, and
## cachSolve() that computes the inverse of the special matrix.
## makeCacheMatrix creates a special matrix
## 1. set the value of the matrix.
## 2. get the ... |
599916ccf6ad2ac6fb816c1eb404386ba1ecc42e | 936a42930c9d9e4fa5911aa847510f56edcd3d5e | /Scalper-BH.R | bbc2fd468fc53debfc3f051c8d1d1aae839a4c64 | [] | no_license | maglavis138/DashboardDataUpdate | 46ccdbd2efd19436b6706026b73531123d20f8e9 | 3f61e70dea5ddf12b2c9b107698dc82a4a9d71cf | refs/heads/master | 2021-01-22T03:57:51.785779 | 2017-09-06T04:29:35 | 2017-09-06T04:29:35 | 102,261,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,906 | r | Scalper-BH.R |
library(curl)
library(jsonlite)
library(plyr)
since = as.Date("2017-08-21")
until = as.Date("2017-08-31")
post_type = 'all'
##############################################################################################
########################################## INSIGHTS ##########################################
##... |
b67a153efd99da5c1025fc1f55488056a3e447c1 | 818dd3954e873a4dcb8251d8f5f896591942ead7 | /Mouse/RNASequencing/SNPcalling/snps.R | c8abc041632f3997303dc2b5d9e4d3e19ee2e511 | [] | no_license | DannyArends/HU-Berlin | 92cefa16dcaa1fe16e58620b92e41805ebef11b5 | 16394f34583e3ef13a460d339c9543cd0e7223b1 | refs/heads/master | 2023-04-28T07:19:38.039132 | 2023-04-27T15:29:29 | 2023-04-27T15:29:29 | 20,514,898 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 245 | r | snps.R | # SNP calling using the population VCF
#
# copyright (c) 2014-2020 - Brockmann group - HU Berlin, Danny Arends
# last modified Dec, 2014
# first written Dec, 2014
setwd("E:/Mouse/RNA/Sequencing/Reciprocal Cross B6 BFMI by MPI/ReAnalysisSNPs")
|
b750b57961a192f95602feb7855bf687529d2a75 | da907c6cf0c26266ecf364a0fafb3f3a2615d58f | /day05 - slope/day05_slope.R | eae31ac9381e5598607564d5ad7b6f08e3aab467 | [] | no_license | MaiaPelletier/30DayChartChallenge | 08a1ff56b4aca5f7694025bbfd34e926e9aa1824 | 23d9c67a18a06e03fd5c0c21f71a230d28c5ff35 | refs/heads/main | 2023-04-10T07:09:01.669797 | 2021-04-19T00:53:15 | 2021-04-19T00:53:15 | 353,796,540 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,530 | r | day05_slope.R | # day 05 - slope ---------------------------------------------------
library(tidyverse)
library(here)
library(janitor)
library(jsonlite)
library(lubridate)
# data import -------------------------------------------------------------
# Function to clean the JSON files that my spotify data is stored in
read_my_streami... |
9e91371f0b2a32ed8ecc89ccb32b686eb7004184 | 6b87119889f0e6645411d0029549ca296111c54c | /man/n_orgs_100k.Rd | 10a8ae9d6778919068f1881bc4b32f8850a9b4ae | [] | no_license | edson-github/newsatlasbr | 006a1d0cd50dc7a19be61141708827eb5bf2a5cd | 1f54bec2ba369102a79a12dffaad21a1cd29da18 | refs/heads/master | 2023-03-17T12:51:18.408828 | 2020-09-18T01:45:15 | 2020-09-18T01:45:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,779 | rd | n_orgs_100k.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/n_orgs_100k.R
\name{n_orgs_100k}
\alias{n_orgs_100k}
\title{Retrieve data on the number of news organizations per 100k/inhabitants}
\usage{
n_orgs_100k()
}
\value{
A \code{data.frame} with the following variables:
\itemize{ \item municipio... |
815118002298abbb99ac1d6553836582d2ae87b5 | b06b16ab56edbd8d63384c849aa65a044029a3f5 | /script.R | 89ff7912118f38f6868d48391bbf5d0691cfb9d3 | [] | no_license | yobero/ter | 6472d6ea4d485a77c4bf1b32488906d6230e6de9 | 3ec36290587a0f8ead952dd379c3e15d2ed392f1 | refs/heads/master | 2021-04-12T04:41:00.552438 | 2018-05-20T21:28:34 | 2018-05-20T21:28:34 | 125,828,819 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 289 | r | script.R | g = read.table("result")
jpeg("plot.jpg")
plot(g$V1, g$V2, type = "n", ylim = range(c(g$V2, g$V3)), xlab = "Nombre de chiffre", ylab = "temps d'execution", main="Temps d'execution en fonction du nombre de chiffres")
lines(g$V1, g$V2, col = "blue")
lines(g$V1, g$V3, col = "red")
dev.off()
|
45131979670a6977ae0efafbd903f57ce1b3d8f5 | 0309d6e6296f4faccddfc6d4ecc5a9161564c1eb | /archive/kht/norsyss_purpose.R | e77356c7b3b334d99b0e37ad0ecafd8abe2c2370 | [] | no_license | ybkamaleri/shiny | 4bf864e9ea445d9ba6714c87ff2b98f977f5b542 | 1c185b6ffd069460260f570eeb341c18a20f62db | refs/heads/master | 2023-06-03T19:34:37.831626 | 2021-06-17T12:21:08 | 2021-06-17T12:21:08 | 255,894,191 | 0 | 0 | null | 2020-04-15T11:21:57 | 2020-04-15T11:21:56 | null | UTF-8 | R | false | false | 4,246 | r | norsyss_purpose.R |
norsyss_purpose_ui <- function(id, config) {
ns <- NS(id)
tagList(
fluidRow(
column(
width=2,
p("")
),
column(
width=8, align="left",
p(
"Vi får data til denne overvåkingen via Sykdomspulsen. ",
"Diagnosekoder som registreres hos lege eller... |
836e407b5de957a53f04f9be6fbe02be03de07cd | 784bbd690a54af0d941cf0891af957ccb5e6a44d | /tests/make_mi_histograms.R | 2524c79338bdbe522c15af916660b662cf29ec8d | [] | no_license | gditzler/MicrobiomeInformation | 4c15706ca1242c9d37234a444f2f3c1de329aa22 | e22dbdaa6975de338c871720525fc3287b5ec449 | refs/heads/master | 2020-06-05T23:46:43.452195 | 2015-06-03T19:09:09 | 2015-06-03T19:09:09 | 26,067,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,780 | r | make_mi_histograms.R | # generate heatmaps of the mutual and conditional mutual information
# after the features have been filtered.
# build the documentation and load the package into the environment
library("devtools")
library("ggplot2")
library("reshape2")
library("plyr")
library("fields")
#document()
# set up program constants
lvl =... |
9a5abb474159e6c8584e3c5b722395692f604bec | 12922577d8cbfed96add26bd2d5357e4e1806519 | /grimoirelibR/man/plotTimeSerieWeekN.Rd | 912094083731dd7a2e516256d7c523b3066b3caf | [] | no_license | VizGrimoire/VizGrimoireUtils | dd535efa2408109f3b71ef0c4f823b52def5b227 | 28ce8be6d01222ed86c8ebd2c48847e759a13aaa | refs/heads/master | 2020-12-21T22:58:32.034270 | 2017-05-09T10:26:20 | 2017-05-09T10:26:20 | 14,416,400 | 0 | 8 | null | 2016-05-25T12:09:10 | 2013-11-15T05:59:56 | Python | UTF-8 | R | false | false | 2,488 | rd | plotTimeSerieWeekN.Rd | \name{plotTimeSerieWeekN}
\alias{plotTimeSerieWeekN}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
%% ~~function to do ... ~~
Plot weekly time serie.
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
plotTimeSerieWeekN(data, columns, filename,... |
86ef53e706c9006f2d7fb71705e5e3b91158c545 | ee4e6398420bb34c94c1ede5508064c0623f4e54 | /cachematrix.R | 6561a8b25e93b01f6fe0410097d69285bbc9204a | [] | no_license | jbgonzalez81/datasciencecoursera | 86626e25aaea8058a47844b32ed388947c851b5f | ad14751ea737de43fb200a5b56ebb591e00bd756 | refs/heads/master | 2020-04-29T09:17:52.772205 | 2015-04-01T20:47:55 | 2015-04-01T20:47:55 | 25,180,532 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 689 | r | cachematrix.R | ## This program attempts to cache a square matrix for future calculation.
## The functions with store and retrieve the matrix and its inverse when called.
## Store a square matrix
makeCacheMatrix <- function(x = matrix()) {
m<-NULL
set<-function(y){
x<<-y
m<<-NULL
}
get<-function() x
setmatrix<-func... |
25137f73a116c4340495fd8755f77dc028892d1f | 59b641615cc5e1cf60adb64de99e8ab2c609350d | /R/hauction.R | 1368ad75992d17031e3df7772de855df1628dc3a | [] | no_license | nullsatz/dauc | 1181778e0d781d72e3b71c76f40a1195997ee077 | 746f705835786555965867283f856ab309c40fa3 | refs/heads/master | 2016-09-06T01:29:31.959937 | 2013-02-19T16:36:15 | 2013-02-19T16:36:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 498 | r | hauction.R | hauction <- function(weights) {
ubidders <- sort(unique(weights$bidder))
nBidders <- length(ubidders)
uitems <- sort(unique(weights$item))
nItems <- length(uitems)
weights <- weights[order(weights$bidder, weights$item), ]
bidderItems <- .Call('host_auction', nBidders, nItems, weights$weight,
PACKAGE='dauc... |
9b76730e0d7e21b561601247a52f170d64e9aeb7 | f75fdbd39e642ea2065ba4e5502e7e2aac44754d | /test/test_gg.r | e5adde53303b1cf7ec2a6deb8b613e1304a3805c | [
"Apache-2.0"
] | permissive | sinanshi/visotmed | 2b7787671e175d2ae7f715a8e06a8b8262ec5996 | cdea8bf0428145d310e77963d237343c554204d1 | refs/heads/master | 2016-09-05T19:53:53.075416 | 2014-10-30T16:56:47 | 2014-10-30T16:56:47 | 16,539,917 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,642 | r | test_gg.r | library(tikzDevice)
library(raster)
library(rgdal)
library(ggplot2)
library(RColorBrewer)
library("grid")
load("../data/clim.R")
# map<-cru_raster_10min_window$val[,,2]
# Longitude<<-cru_raster_10min_window$lon
# Latitude<<-cru_raster_10min_window$lat
# x<-vector()
# y<-vector()
# z<-vector()
# k<-1
# for(i in 1:... |
a21fad56139d9812565a1630a0c75229cd8914e4 | cd34ddfa6a89237c9ed41ff98f611c93abddb55f | /herring_rv_survey_analyses.r | bfe1b16c32f87f3e7b03a5f55aeaac3499718dfa | [] | no_license | danielgboyce/Herring_state_2018 | 02babecb67bd23640d921c1b7f950bac89e01662 | d7b10f55765d844d7fc547f7c404502c0258f6da | refs/heads/master | 2020-03-11T15:52:45.340441 | 2018-10-03T14:21:46 | 2018-10-03T14:21:46 | 130,098,781 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 104,749 | r | herring_rv_survey_analyses.r |
n<-number of sets
k<-outcome interested in testing
p<-probability of outcome (catchability)
d<-rbinom(n,k,prob=p)
hist(d,breaks=100)
p<-.02#probability of capture
1-dbinom(0,size=30,prob=p)#probability of detecting a herring if it is present
p<-0.02
1-dbinom(0,size=230,prob=p)#probability of detecting a herring if ... |
94542e13dc94707fad07a9fcf3adc3d96c3e16e0 | b330b067d8dfc8a4ee93b3cdab342a366b374b10 | /data/데이터전처리.R | ed0a46d4adbdd0ffa24ec27de772a9ce5cb1f020 | [] | no_license | statKim/Da_Vinci_SW_Hackathon | 84db39a8bfbc65ed1ce9b62b9606f3d9f22c4f0c | d2c8e786e297f2761a8926d03cd2667f3eb46346 | refs/heads/master | 2020-04-06T18:52:00.524845 | 2018-12-31T00:39:47 | 2018-12-31T00:39:47 | 157,715,878 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,241 | r | 데이터전처리.R | library(glue)
library(XML)
library(stringr)
api.key <- 'GJdKU2SKJ6oYQgTSsQrkT9BH2hIF%2FG6qtztAeyJHv9Zp31YlWhl%2FCKMmz0fKJnmxtPyQT9TY49AQqtpEeFCw9A%3D%3D'
url.format <-
'http://apis.data.go.kr/B090041/openapi/service/SpcdeInfoService/getRestDeInfo?ServiceKey={key}&solYear={year}&solMonth={month}'
holiday.request <... |
e1701f4faf06fcc27195817ffe17b42d4d824df2 | 287add902a548b978254b03f571f5e127d325e88 | /man/lib_dist.Rd | 05dc39c7038feafcbcedadbfa57e5b332784fde9 | [] | no_license | Auburngrads/publicLibs | e36884552220fcf859d28ef5cc16d26baeb23f65 | 804efbb6bc80f5053712e375a09d2d46ce2f61a6 | refs/heads/master | 2021-01-17T02:44:58.943620 | 2020-07-20T00:32:03 | 2020-07-20T00:32:03 | 58,672,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,781 | rd | lib_dist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/libdistData.R
\docType{data}
\name{alts_Libs}
\alias{alts_Libs}
\alias{andr_Libs}
\alias{andw_Libs}
\alias{arnl_Libs}
\alias{bckl_Libs}
\alias{beal_Libs}
\alias{blln_Libs}
\alias{brkd_Libs}
\alias{brks_Libs}
\alias{chrl_Libs}
\alias{clmb_Libs... |
db7d966e350429feda5397b8298df1b4caecb4f0 | 3b8fcf4e1fc1ed070e8e5b16f48c32f8e8ccec3a | /man/wtInfo.Rd | 12ed944b1e73d986585da6d08550435ac9160769 | [] | no_license | SwapanK/fracdet | 67379391e3722864eeb78129bfd686beee4840d4 | 69360a3431d7b323d6bc8947c20aa2f58af7cfa1 | refs/heads/master | 2020-04-30T22:26:37.277441 | 2018-06-16T08:01:03 | 2018-06-16T08:01:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 551 | rd | wtInfo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/waveletVar.R
\name{wtInfo}
\alias{wtInfo}
\title{Get the family and the filter-number used in the wavelet transform asociated
with the \code{waveletVar} object.}
\usage{
wtInfo(x)
}
\arguments{
\item{x}{A \code{waveletVar} object.}
}
\value{
... |
516b8a03f718cbd74815ff9e116fe18a3e7d21cc | 47ae73e4c6f69138bf7082636366f579dc975409 | /man/evaluate.DRWPClassGM.Rd | 52047f3374b49cbc01d0f4d8d983c6a807b04072 | [] | no_license | pikaqiu321/DRWPClass | ad0d4e4ad0df82dedae2a319cbf3e2bdff3705db | 2cb01c8ad8fb77f3113bedbc2344c1b6636d1725 | refs/heads/master | 2022-11-17T00:01:22.797764 | 2015-03-01T00:21:37 | 2015-03-01T00:21:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,336 | rd | evaluate.DRWPClassGM.Rd | \name{evaluate.DRWPClassGM}
\alias{evaluate.DRWPClassGM}
\title{
Evaluate predictions from a "DRWPClassGM" object.
}
\description{
This functions evaluates the classification performance of a fitted \code{"DRWPClassGM"} object.
}
\usage{
evaluate.DRWPClassGM(object, newx, newy.class1, newy.class2)
}
\arguments{
\ite... |
03141cfedc48dc1ece04e93c98a472b0eede40fe | f0c85baaaf0b9d2d2c725327c759fdb9ff58aad1 | /05e_Host_State_Variables_-_High_Unemployment.R | 9370730180f6f5b961b46da3767813b6e57e3ecc | [] | no_license | hrdii/post_conflict_refugee_returns | 4ead6d7ea2997cd8b88230fec76b8e4e9c3e0a9d | 757cbde10d49890901fad28db4f590dc6ae9635d | refs/heads/main | 2023-09-05T23:32:58.289994 | 2021-11-04T07:56:18 | 2021-11-04T07:56:18 | 424,493,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,420 | r | 05e_Host_State_Variables_-_High_Unemployment.R | ##########----------##########----------##########----------##########----------
##########---------- HEADER
##### meta-information
## Author: Hardika Dayalani(dayalani@rand.org)
## Creation: 2020-02-09 for Post-Conflict Refugee Returns Project
## Description: Adds Host state variables to conflict cases
##... |
849e51ea6f2a3c8b8319bf548c0bdc5858d81c14 | c78d6c58e47ff01700e082dde12bd08523352cc2 | /plot3.R | 609fc11ad01058a7f4fd2c8023438c48494de2c6 | [] | no_license | kaniapiatkowska/ExData_Plotting1 | e5786f12120af6a2bb7d888e0813805e1a7236bf | 4d705024285651831e7f605d01f17580496a5168 | refs/heads/master | 2020-12-28T19:34:02.917674 | 2019-11-04T11:22:47 | 2019-11-04T11:22:47 | 45,624,088 | 0 | 0 | null | 2015-11-05T16:30:07 | 2015-11-05T16:30:07 | null | UTF-8 | R | false | false | 1,095 | r | plot3.R | #Loading the data
setwd("C:/Dane/MOJE/Zuzka/Coursera/DataScientistToolbox/Rscripts/Course4")
file<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(file, destfile = "./exdata_data_household_power_consumption.zip")
unzip("./exdata_data_household_power_consumpt... |
bfa3827d5f8e763dec4e8be3ed41b6d91f417ac3 | c5fac476b276f2d1c65547ec4f89292d3abf8ba8 | /man/confint.Rd | c286b68867edb01454680ec4508f1476fe3ee803 | [] | no_license | dakep/complmrob | 1f3090343de2cb6319b87fae289047ff60049b92 | c904ac453cb501417acc1bb7ec41a3c80ecc4015 | refs/heads/master | 2020-05-09T12:11:05.675243 | 2019-09-17T18:25:06 | 2019-09-17T18:25:06 | 181,104,338 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,765 | rd | confint.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/confint-methods.R
\name{confint.bccomplmrob}
\alias{confint.bccomplmrob}
\alias{confint.bclmrob}
\title{Calculate confidence intervals}
\usage{
\method{confint}{bccomplmrob}(object, parm, level = 0.95,
type = c("bca", "perc", "norm", "basic... |
45e087a178fdb01523fbc8a01d411cf0684e8f8e | 0471999fce7bfcba220ae361a843b9fc69af53e7 | /tests/testthat/test-docker-client-networks.R | 37401523942f4c88fad43f557324286bdfaa6867 | [
"MIT"
] | permissive | karthik/stevedore | e25d0c1fb9073de4979a22c69e92acb54d7ab2d6 | 8d12d3a02a211557ff264780a17a4789604ee40e | refs/heads/master | 2020-03-19T10:06:51.132342 | 2018-06-06T15:03:29 | 2018-06-06T15:03:29 | 136,344,185 | 0 | 0 | null | 2018-06-06T14:54:38 | 2018-06-06T14:54:37 | null | UTF-8 | R | false | false | 2,186 | r | test-docker-client-networks.R | context("docker client: networks")
test_that("create", {
d <- test_docker_client()
nm <- rand_str(10, "stevedore_")
nw <- d$network$create(nm)
on.exit(try_silent(nw$remove()))
expect_is(nw, "docker_network")
expect_is(nw, "stevedore_object")
expect_equal(nw$name(), nm)
expect_equal(nw$inspect()$name,... |
8bd0d0f071e7b1405d567055b70e056bfa48d1ce | 7a903df21dcb2d80c726137438068f6335582aa4 | /R/tidydf.R | 3189429581249d45e6c455589d1a10496817c8e6 | [] | no_license | anujkhare/iregnet | 7cb9b739c64afe55d7a15f5ac1485258c6dd7758 | 89cc904894495511b801f71ff99cbfed6043dd97 | refs/heads/master | 2023-06-25T11:41:50.890845 | 2019-08-22T16:29:41 | 2019-08-22T16:29:41 | 59,438,433 | 7 | 16 | null | 2023-06-15T14:42:55 | 2016-05-22T23:04:32 | R | UTF-8 | R | false | false | 1,108 | r | tidydf.R | #' @title Return a tidy data.frame from iregnet fit
#' @export
#' @description
#' Returns a tidy \link{data.frame} from a fitted "iregnet" object.
#'
#' @param x The S3 object of type \code{iregnet} returned by the \code{iregnet}
#' method.
#'
#' @param ... Other parameters. Currently unused.
#'
#' @details
#' This fun... |
2261cb28eb4d9e233a1dbc2557979f3ec93121a8 | f0ddc6dfc85a777561ad0e2a86ca4679cca8ca33 | /Final R Script.R | 9d1952ea8c3c05b4f744fdf2932b6ff01e20ddbf | [] | no_license | sagar-aps/movie-rating-predictor | f0e11141314f5e88ffa79f411382c38333d287df | 3444d868fd931fe779433ac9a4fc84ad09696d13 | refs/heads/master | 2023-06-15T17:57:55.805663 | 2021-07-08T19:38:05 | 2021-07-08T19:38:05 | 346,516,903 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 31,754 | r | Final R Script.R |
# Dependencies
packages_required <-c("dplyr", # Wrangling
"ggplot2", #for graphics
"stringr", #string operations
"tidyr", # Wrangling
"caret", #for CreateDataPartition and train()
"ggthemes", #for graphics th... |
51666f0698e5ff9b2c788774011ffcc073ecf92a | 57b72c064f833f4a8ed2535ed4b05d90a002e83c | /R/DatabaseConnector-internal.R | c6c052931e9af02cbacc06efb1affabaf0175e2e | [] | no_license | writetoritu/DatabaseConnector | ebcfb34253c3b1cb42013dd7bae8886ab7ec46cd | c8deda5a051a89e75c2686a471e1fdadd979f7ef | refs/heads/master | 2021-01-22T20:39:04.312528 | 2014-12-29T19:42:22 | 2014-12-29T19:42:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,368 | r | DatabaseConnector-internal.R | .Random.seed <-
c(403L, 624L, 723094258L, 1517587915L, -397157744L, 667899217L,
-1112707362L, 560008647L, -1238228132L, -1790051155L, -2114642038L,
-1553054845L, -1136871704L, -1999618103L, 1640581366L, -807802113L,
1835999540L, 1742813861L, -637839582L, -1462534085L, 1864085056L,
256100673L, 1942058510L, -843... |
d2107ae7168d6a3d83997e2ffa8ba8ddaf4f052b | 8b756c46656cef6637e8b21c79b0b180747453c6 | /projekt2.R | 29bc117898374ffea60938500accf5d935feeaba | [] | no_license | knycz/shiny_macro | b5680d0ce1fe620ef4688ff1ab9d8f5051d181f0 | 1938ad1a0c1719e778775af328d722665faaf162 | refs/heads/main | 2023-01-11T22:40:08.854617 | 2020-11-10T03:34:49 | 2020-11-10T03:34:49 | 311,534,711 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,255 | r | projekt2.R | #available on https://nomicten.shinyapps.io/WIZN/
library("shiny")
library("tidyr")
library("dplyr")
library("XML")
library("ggplot2")
library("grid")
library("plotly")
library("devtools")
library("WDI")
library("usethis")
### List of countries ###
WDI::WDI(extra = T) %>% filter(region != "NA") %>% select(iso2c, coun... |
366c3645d7500a4f0cbd492a48524a2d17c0265f | 7b2aa85d3249b3c1ef4a0db5512b9bb2b152984c | /R/data.R | 3a74548e6faab3b61990cbf6f291ef29ce69342e | [] | no_license | ZW-xjtlu/RbashGEO | 5aed85a80e02665a614758590f4ddc99d621e0af | 50d77c6b2d03e7635434740070368b63ae282fb0 | refs/heads/master | 2021-09-12T13:17:04.946456 | 2018-04-17T05:28:23 | 2018-04-17T05:28:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 286 | r | data.R | #' The example Coldata data.frame
#'
#'
#'
#' @format A \code{data.frame}
#' \describe{
#' As long as the table contains a collumn of the file names, and indicating it is paired or single end library, then it should work fine.
#' }
#'
#' @usage Coldata_example
#'
"Coldata_example" |
2a674368e9e2abb5b0635696ad64010ae4504771 | 7aa60ad6e7aebc90dffbe6d6de2d9e431de30601 | /man/area_cal.Rd | 6c80bdd06f00839c7fb25934edd94363fcc62efb | [
"MIT"
] | permissive | zhujiedong/jiptest | f16a07730fdaf5183e0a6f4b5f8f9731b79ae4bb | 19eadc914c3481f218788b64c5f6d30e4c89b80e | refs/heads/main | 2022-05-21T20:39:16.406455 | 2022-05-09T02:00:57 | 2022-05-09T02:00:57 | 313,541,102 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 577 | rd | area_cal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/area_cal.R
\name{area_cal}
\alias{area_cal}
\title{calculate the area under curve (BLUE > 1.2.2)}
\usage{
area_cal(df, use_PAM = FALSE)
}
\arguments{
\item{df}{data of a type dataframe.}
\item{use_PAM}{indicate to use PAM or continuous fluor... |
882e32d4ab94a0b551a68e20d0d31f2a9c0bfa16 | 57b6bc2896092a29cbd829199359f96be3da7572 | /2020/R/explore.R | c1fef85fa19cd2220ddcba4c1ec2824d6ab34ab1 | [] | no_license | azambranog/hash_code | 1a6b43c8af3388df1bba1e4750e092825eca6886 | 0e0787d72712d7084bb8c397e3e70c372ee1e3f0 | refs/heads/master | 2022-03-13T15:20:22.978505 | 2022-02-24T21:39:54 | 2022-02-24T21:39:54 | 239,148,802 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 894 | r | explore.R | library(data.table)
filesx <- list.files('data', full.names = T)
for (f in filesx) {
message(f)
data <- readLines(f)
D <- as.numeric(strsplit(data[1], ' ')[[1]][3])
books <- as.numeric(strsplit(data[2], ' ')[[1]])
books <- data.table(score = books)
books[, book := .I -1]
libs <-... |
8ae24fc96ea777ed52f9d852ae6f6ae64c78b2db | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diffrprojects/inst/testfiles/dist_mat_absolute/libFuzzer_dist_mat_absolute/dist_mat_absolute_valgrind_files/1609960793-test.R | 48307a306425fedc8b210d7a4479beba60dfb850 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 784 | r | 1609960793-test.R | testlist <- list(x = c(-134225921L, NA, -256L, 0L, 16777215L, -1537L, -687865865L, NA, -1895825409L, -48897L, -702926875L, -1L, -1L, -702926849L, 673513472L, 15728639L, -1L, -42L, 439353343L, 620756992L, -268435712L, 16777215L, -687865857L, -2686977L, -134225921L, 405405516L, -162783703L, 692857129L, 1291845623L, -... |
a6629e0d98ea9f91613769fae7b406f259da4f0a | 77eb1ef8d5984f3e2e925991d56faf4a24707850 | /rocketpackMM/R/yourncurve.R | 4ea18eba73b556e4825b01eb42ab0117877058d8 | [] | no_license | mm4753-12/rocketpackMM | 3d3b6837aae9a8a50fcf716da6bfbb9497b170dc | 220c0d2e8a3fa0de40d5f4fac8b3fa53dde22853 | refs/heads/main | 2023-01-19T15:38:39.594540 | 2020-11-19T05:35:38 | 2020-11-19T05:35:38 | 314,137,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 524 | r | yourncurve.R | #' YOURNCURVE
#'
#' @param A value for a variable distributed normally, a mean, and a standard deviation.
#'
#' @return A density curve, an area, and a probability.
#' @export
#'
#' @examples
#' \dontrun yourncurve(6,10,5)
yourncurve = function(Y,mu,sigma){
curve(dnorm(x,mean=mu,sd=sigma),xlim=c(mu-3*sigma,... |
3382f2621cefe0773595fa62bf522e0d3fb8f01f | b8deda0293025b126958530c589899fd43ea8197 | /arima_garch.r | fe86592c25c30a36b1752655f4ef817bcf0c40c2 | [] | no_license | Vikas1667/AnomalyDetectionOnRisk | 64c87d4ff6230a17bc1c7683bc5fcaff978eee76 | 7ed7fcce5aa22d308b76b1fb6bfe6a2c228f9510 | refs/heads/master | 2023-03-21T17:36:37.400139 | 2018-05-31T16:18:28 | 2018-05-31T16:18:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,943 | r | arima_garch.r | #"quantmod---------------------------------------------------------------------"
#install.packages("quantmod", repos='https://ftp.acc.umu.se/mirror/CRAN/')
#"lattice---------------------------------------------------------------------"
#install.packages("lattice", repos='https://ftp.acc.umu.se/mirror/CRAN/')
#"timeSeri... |
16356a8ddad1b80e1802dc631b3c3194d2434ebc | c1bf7397ddc833b7ba9617e22ee2bdc86e646ee4 | /rCode/aag_rank.R | 9a3417bae7018f6d5990932ea7db52d6696bb65e | [] | no_license | cxq914/Data-Science | 1b5f6f9ac089d098b8d6c91d722dbf70f75e5613 | 6f9648cf323f8cfbcd69aa6b97991f9162013d34 | refs/heads/master | 2021-01-19T18:55:56.696529 | 2016-02-18T00:34:11 | 2016-02-18T00:34:11 | 21,634,205 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,807 | r | aag_rank.R | library(data.table)
#########identify the best and worst restaurant###########
fileName2 <- paste('Applebee Data/Result/Data with Payment( 2015-11-23 - 2016-01-03 ).xlsx')
merged <- read.xlsx(fileName2,detectDates = TRUE)
aag.sub <- subset(merged,merged$Parent.Account=='Apple American Group, LLC (AAG)')
res.dat <- a... |
f01ae2cb9e1ad5a58359a32100761727b67ac152 | 2bb4abd3c6418f52aeb8591aa389d145f1fc4dc1 | /cachematrix.R | 9338efcd7e34c3f240da30e32d110cf813a59d77 | [] | no_license | reg401/ProgrammingAssignment2 | 1cdb676b27a1de1c857aae3c1ba3dd8515ce103e | 94f594ea4f7989d79b8364b99d433153f84b1d36 | refs/heads/master | 2021-01-15T11:42:38.712484 | 2015-09-25T05:36:46 | 2015-09-25T05:36:46 | 43,109,819 | 0 | 0 | null | 2015-09-25T04:34:00 | 2015-09-25T04:33:59 | null | UTF-8 | R | false | false | 3,547 | r | cachematrix.R | ## The following file contains 2 functions to address the requirments set in:R Programming - Programming Assignment 2 - Caching the Inverse of a Matrix
## The file also contains 2 test functions - one using the cache to retrieve the inverse matrix from the cache and the other doesn't.
##
## Please note that it is assum... |
da9ecf2f921125c49264997dbbfaf17da8e51ba5 | f73882ccd9a9a2db72017bca597b06466524b050 | /R/auth.r | ce57994e1c493ff700746d465ccc922cc330a63f | [
"LicenseRef-scancode-us-govt-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | usgs-lcmap/client-r | f6e377157194b7db77dbb0041d2a155dfdcdf677 | 929128689b20fd92a7399ba892b86f7c38ed81fd | refs/heads/master | 2021-05-31T04:16:50.261908 | 2016-03-24T04:34:59 | 2016-03-24T04:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 557 | r | auth.r | #' Authenticate to LCMAP using ERS
#'
#' @param username username
#' @param password password
#' @param version version
#' @export
#' @examples
#' login("alice", "secret")
#' login("alice", "secret", "2.0")
login <- function (username, password, version) {
if (missing(version)) {
version<-lcmap::defaultAPIV... |
afbd66670a15853a9933724704c27ff680f2f191 | 1aa29f155cdf9bf9b17bcc5699a9bf0c20b82993 | /man/tianComponent.Rd | bdebeb4fcb450dc4db9ed527d3a31e7adbf6f7b6 | [] | no_license | Lucaweihs/SEMID | d165471e59e41ce1437d642d60370854ecf8ddd7 | a079c69bde921f105273e20f40708d3e851ec011 | refs/heads/master | 2023-08-03T08:34:41.337736 | 2023-07-19T12:09:33 | 2023-07-19T12:09:33 | 48,009,470 | 5 | 1 | null | 2023-07-21T09:11:36 | 2015-12-15T00:23:48 | R | UTF-8 | R | false | true | 462 | rd | tianComponent.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MixedGraph.R
\name{tianComponent}
\alias{tianComponent}
\alias{tianComponent.MixedGraph}
\title{Returns the Tian c-component of a node}
\usage{
tianComponent(this, node)
\method{tianComponent}{MixedGraph}(this, node)
}
\arguments{
\item{this... |
5df4a27eb69b75868207d5610c87e1dd1c318779 | 257ebc3fac290fb366f26d2559f870d2e0994c8a | /load_libraries.R | 4771135cf9defd64e83a94702a905f7c93c0a116 | [] | no_license | cordura21/risk_consumption_backtest | cbbc51164c4db8f7c1ab95a0bbb3b2177ed3b722 | 7a841a2fa5087e887e5f233b504d52ccbbb5249f | refs/heads/master | 2021-01-18T01:26:07.759629 | 2016-09-13T22:15:48 | 2016-09-13T22:15:48 | 68,021,022 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 184 | r | load_libraries.R | library(dplyr)
library(lubridate)
library(xts)
library(zoo)
library(TTR)
library(ggplot2)
library(scales)
library(tidyr)
library(PerformanceAnalytics)
library(stringr)
library(readxl)
|
a6c4bf4bb6bdfe8c08d11e2dbced090648e77141 | 34f65d1110083e270d3b5a103e49284fc1295e93 | /code/updateCompletemiRNASeqMetadata.R | d1c0059379139dce0a12d761316cdb3743f348b9 | [] | no_license | kdaily/PCBCSampleMetadata | 7bf884789f76e79642631c13b2e34e23d49dfaba | e12e2a39cd07364f42507eeb5e2ffc7caa54c9f1 | refs/heads/master | 2020-12-24T16:25:06.498568 | 2016-05-04T00:01:02 | 2016-05-04T00:01:02 | 28,197,176 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 568 | r | updateCompletemiRNASeqMetadata.R | library(plyr)
library(dplyr)
library(synapseClient)
synapseLogin()
tblCurrent <- synGet('syn3219876')
res <- synTableQuery(paste("SELECT * FROM", tblCurrent@properties$id))
bak <- res@values
source("./createCompleteMIRNASeqMetadata.R")
### CAREFUL! THIS WILL DELETE ALL ROWS.
synDeleteRows(res)
tblCurrent <- synGet('... |
c0eea23eb07f4c1de2d629c5f54b3889315a3eeb | fb26c3133d1b44e22a355b3997178f605df195f5 | /cluster_validation.r | a771b4e5bd19fe53fb9cfbd469dbb248e610eff2 | [] | no_license | MwandongaAbel/Clustering | fe8121795dbfefff9cfdb8302e9842c1bf49d48e | 69fbdc36f60cfa6f33e5be7714f81ba54c999537 | refs/heads/master | 2022-11-22T07:43:54.807212 | 2020-07-30T12:02:35 | 2020-07-30T12:02:35 | 283,760,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,866 | r | cluster_validation.r | # Clustering Validation......Abel Mwandonga Haro.
install.packages("clustertend")
library(factoextra)
library(clustertend)
data("iris")
head(iris)
#Excluding column species from data set.
gf<-iris[,-5]
# Random data generated from the iris data set
random_gf<-apply(gf,2,function(x){runif(length(x),min(x),(max(... |
58471ed4b20325e2748381e4c4f72b9870bebdde | 0b197ef046a9bb44e13f3c9637990a40ce6aee82 | /exper/exp0044/rfr_us.R | d08a9e995446a82d10c9168964edd732045e9e7f | [] | no_license | jbrowne6/exper | 52da8ae63faebe295f97e6507328a8b21d459e06 | 10b829ed79d6c2addf1e191b2a6291b4e90e8484 | refs/heads/master | 2021-09-17T06:41:29.141469 | 2018-06-28T18:57:17 | 2018-06-28T18:57:17 | 107,877,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,643 | r | rfr_us.R | bestCutForFeature <- function(X){
minVal <- min(X)
maxVal <- max(X)
if(minVal == maxVal){ return(NULL)}
X <- sort(X)
normX <- (X-minVal)/(maxVal-minVal)
sumLeft <- 0
sumRight <- sum(normX)
errLeft <- 0
errRight <- 0
meanLeft <- 0
meanRight <- 0
errCurr <- 0
minErr <... |
a3523fffcdc9627f1c445a5fe2b90f63e1af9bbf | f53e353c54541c9282a9822e1fa23698bf533bd7 | /Statistical experiment/5/5.R | a54be8f9e6e30ad3147d2f1392f3ff0ad340beef | [] | no_license | sakur0zxy/R-practice | acee9b2335077365e70e94fdf4734ed6dee58485 | b8ec1f0a0feddcb16f988e0ca45c9b45b908440b | refs/heads/master | 2020-03-26T05:58:17.014993 | 2018-09-27T08:04:53 | 2018-09-27T08:04:53 | 144,583,426 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,152 | r | 5.R | #12个球中有9个新球3个旧球,第一次从中取出三个使用后放回,
#第二次又取出三个
#1.求第二次取出的三个球都是新球的概率
#2.已知第二次取出的三个球都是新球,求第一次取出的球都是
#新球的概率
#There are 12 balls including 9 new balls and 3 used
#balls. At the first time, randomly select 3 balls
#and return them after playing. At the second time,
#randomly select 3 balls again.
#1.Find the probability that... |
9dc6ff2467aa9ec5ac78b322df73577f60bbcbb0 | 10a72ed9289fbed1832a926ee017902eba6df3bd | /man/gplotgraph.Rd | 26cc1156cec27207ad8bbd92c7e3ba022ef74320 | [
"MIT"
] | permissive | jfontestad/sirgraph | 4a6e9be86c737ac507f5512f0543180374042649 | cf0ec32e7bd4e4250a1c33afa8bbcd4eb5aa22a6 | refs/heads/master | 2022-04-19T04:14:17.496926 | 2020-04-04T20:12:59 | 2020-04-04T20:12:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 301 | rd | gplotgraph.Rd | % Generated by roxygen2 (4.0.0): do not edit by hand
\name{gplotgraph}
\alias{gplotgraph}
\title{gplotgraph}
\usage{
gplotgraph(g)
}
\arguments{
\item{g}{an SIR graph}
}
\value{
make a plot
}
\description{
plot an SIR graph
}
\details{
use ggplot to show an SIR graph
}
\author{
Barry S Rowlingson
}
|
2c1e5d1551d7d8aba2a7bfdfedcb0e45f83a7b1f | e41102477bb433bfb6e49dd6e6bfc7e7333cae0a | /week3/modeling.R | 7baeb4b28322024dd65cc72a35cde10f7836f298 | [] | no_license | ettirapp/coursework | 46950d5ca3b64ca3d63551a02030d4acde2118a7 | 00d6da4925d15bdf99d4b2abecbd8b796867a7cd | refs/heads/master | 2020-06-03T03:14:51.534760 | 2019-07-16T00:59:59 | 2019-07-16T00:59:59 | 191,412,559 | 0 | 0 | null | 2019-06-11T16:45:46 | 2019-06-11T16:45:45 | null | UTF-8 | R | false | false | 7,060 | r | modeling.R | library(scales)
library(broom)
library(modelr)
library(tidyverse)
options(na.action = na.warn)
theme_set(theme_bw())
options(repr.plot.width=4, repr.plot.height=3)
users <- read_tsv(gzfile('users.tsv.gz'))
head(users)
# histogram of the label/regressor variable:
ggplot(users, aes(x = daily.views)) +
geom_histogr... |
cce186bb01a74ee731238f400e87ef3d844adf0e | 6cabc0530af701aea5e5d76c3b0f242479d78140 | /install.R | 92255cf0614c3137035cf68ac4aae8a20e762abf | [
"MIT"
] | permissive | Atheloses/VSB-S8-PS | 06ff0f551124dc692a47cb575a88e9397d3b4506 | fdef214f8169094b6366ce0489f92ef20b460702 | refs/heads/main | 2023-05-28T14:07:59.232669 | 2021-06-04T14:04:26 | 2021-06-04T14:04:26 | 373,856,169 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 417 | r | install.R | install.packages("readxl")
install.packages("dplyr")
install.packages("openxlsx")
install.packages("moments")
install.packages("lawstat")
install.packages("BSDA")
install.packages("EnvStats")
install.packages("binom")
install.packages("car")
install.packages("dunn.test")
install.packages("lsr")
install.packages("epiR... |
1fb171ff832e64d1d702a3bf9124b74736ef29a7 | ec78bae636ce940611e2a198539f12c12b330401 | /intro_to_data_modeling/week2/hw_4_2.R | b6e04d0e7c4d4312695ca98c4736589b67526fad | [
"MIT"
] | permissive | bwilson668/gt | cc4495d8f8b0fb2506b9a5e916839c12da1d9080 | d474598425d70f774a6d509761640ebc4516a1f5 | refs/heads/master | 2020-05-30T10:36:11.657344 | 2019-07-03T12:48:36 | 2019-07-03T12:48:36 | 189,676,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,917 | r | hw_4_2.R | # QUESTION
#
# Use the R function kmeans to cluster the points as well as possible.
# Report the best combination of predictors, your suggested value of k,
# and how well your best clustering predicts flower type.
# Import Libraries
library(tidyverse)
# Set Seed for Reproducability
set.seed(1234)
# Read the data i... |
dec2bd262af915000f2ef29e69ae39394c765a49 | 38ee778acc8edb66cf5b9649c932ca8f8a154b8c | /study_data-analysis/5. data_visualization/practice01.R | abbea0204b093caca685125cb5c5637c6ed1f3de | [] | no_license | sangm1n/BITLab | 55e73119af544a209cc00676c4efc9d00441211a | 7c40ecaac755facf5fc7b5232d20b6430562cc28 | refs/heads/master | 2023-04-18T06:16:01.093813 | 2021-04-28T05:23:53 | 2021-05-04T07:36:08 | 290,684,489 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,719 | r | practice01.R | # data visualization practice in R by sangmin
# treemap and symbols using state.x77 dataset
us <- data.frame(state.x77, state.division)
head(us)
library(treemap)
state.name <- as.factor(rownames(us))
us.2 <- data.frame(us, state.name)
head(us.2)
treemap(us.2, index=c("state.division", "state.name"),
vSize="Po... |
fad4b0132f39efbe1b62c2cddd18791fb45f142f | 18433088b0f83ad44064bcc50d5900d99b737ec9 | /StartService.R | 946f00c87957ceab4df76ead49c0c82c9e77a3f2 | [] | no_license | ClausBoHansen/Rserve | ff4900b979819781f1c9e37d28f9c5b480810121 | a474251efffb348259c20fee7e933834933f5657 | refs/heads/master | 2020-04-15T17:05:02.451289 | 2019-01-30T13:12:31 | 2019-01-30T13:12:31 | 164,859,901 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 475 | r | StartService.R | # Installation notes
# Install lssl (console)
# apt-get install libssl-dev
# Install Rserve
# install.packages('Rserve',,'http://www.rforge.net/')
#### Load libraries ####
library(Rserve)
library(RserveFunctions)
# Load library with Machine Learning function
#library(testpackage)
load("finalModel.rf.RData")
# Ca... |
426e97b186bd7e32ec393cc532d3b9e8ec95fdf3 | ee4a94d66353c78d326489ce02287bffb993535b | /Gibbs/man/sampling_mu.Rd | 9b55b4486998b356c928a551867419be992a493b | [] | no_license | jeonfect/GibbsSampler | bbf93b23568a895e9bbf1b3dfae257f4bcf68b1a | 8bbb40840dcf901b4831728af7d8a062d6f5bdec | refs/heads/master | 2022-12-31T16:37:55.150318 | 2020-10-15T15:47:22 | 2020-10-15T15:47:22 | 264,549,762 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 978 | rd | sampling_mu.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GibbsSampler.R
\name{sampling_mu}
\alias{sampling_mu}
\title{Sampling method for within-group sample mean.}
\usage{
sampling_mu(z, theta, mu, Sigma)
}
\arguments{
\item{z}{vector length \code{n} of observation's cluster allocation}
\item{the... |
6caeb70a43f0d203932d894c08ba13b7a2c67a7e | 73aac21a9f317c5fccc5a662c7a44b31307e4f93 | /8-pcurve recover AEO.R | 239ebc9e9989cadbaa41a6751dd77c70a52345c9 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | martinasladek/meta-showdown | d76f3e00ee6615ccd7821986277d4008886b483d | 371b41aea50e63158960e4c7136238baa54e1803 | refs/heads/master | 2023-02-23T10:59:31.430984 | 2019-06-14T07:22:25 | 2019-06-14T07:22:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,526 | r | 8-pcurve recover AEO.R | ## ======================================================================
## This code checks the alternative interpretation of p-curve (a la Simonsohn)
## which states that p-curve is supposed to recover the "average true effect of studies submitted to p-curve"
## ======================================================... |
1c7a44e64b9a73ee6cc30b587d40f4f8d3d6dc3a | 0a3d5398e435fc81a61f832c0921304c72d7dbd5 | /tests/testthat/test-examples.R | 8296ee65662233dd65d0fb35b640b25336fe9181 | [] | no_license | r-lib/pkgload | 609ea95e6f19b51f2ccfed1f71bbb0adbc647283 | 75938cd13f80e912af43d9632cdb54aa0bc9ebff | refs/heads/main | 2023-09-01T00:53:19.446111 | 2023-07-06T07:34:53 | 2023-07-06T08:15:47 | 73,123,753 | 46 | 38 | null | 2023-09-11T13:26:16 | 2016-11-07T21:45:48 | R | UTF-8 | R | false | false | 1,145 | r | test-examples.R | local_load_all_quiet()
test_that("default run_example ignores donttest and dontrun ", {
env <- run_example(test_path("test-examples.Rd"), quiet = TRUE)
expect_equal(env$a, 1)
})
test_that("run donttest when requested", {
env <- run_example(test_path("test-examples.Rd"), run_donttest = TRUE, quiet = TRUE)
expe... |
bc7af98550efb55329d14b71235388cd23c4000e | 6721e8fd9ee08ed6c4fabd2d6556558779185697 | /man/colorList.Rd | 46497b75b9ee34251c283c09ff5851bebe6559fe | [] | no_license | uschiLaa/galahr | 47befbd4a164a44ecba0615ec65e6bbca13daf73 | 0b7d9b78694e4d711e09987e073bfa9f54987a6c | refs/heads/master | 2021-06-28T08:43:32.326374 | 2020-03-12T01:26:14 | 2020-03-12T01:26:14 | 186,314,758 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 406 | rd | colorList.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting.R
\name{colorList}
\alias{colorList}
\title{Mapping grouping to color.}
\usage{
colorList(gr)
}
\arguments{
\item{gr}{Vector containing group assignment for each entry.}
}
\value{
Named list containing assigned colors ("color")
and l... |
5d6792f9f337009e9d2d4f6abc84de883c1cf9e7 | c4d69c23de8fba861a5f258e13a86a8a769cf81c | /process_script.R | 2144704876eea7c6d1ebfe39ee8e8319505ea3b0 | [] | no_license | guhao0809/VAR | 2e1af7611a8021295f230285d8d3625ac3cf40f2 | 587d73bb05969eb916c10a6df78d3a10cbdc4491 | refs/heads/master | 2020-03-28T05:13:58.439649 | 2018-11-26T03:16:54 | 2018-11-26T03:16:54 | 147,764,116 | 0 | 1 | null | 2018-09-07T03:13:53 | 2018-09-07T03:13:53 | null | UTF-8 | R | false | false | 1,096 | r | process_script.R | # if (length(date.list) < 570){ # date.list
# process_period = ceiling(length(date.list)/2) # date.list
# review_period =floor(length(date.list)/2) # date.list
# } else {
# process_period = 285
# review_period = 285
# }
process_period = 285
review_period = 285
total_days = process_period + review_period
# da... |
ec8e3ef164403e4ce215148cf90e92f849f3bf95 | 7f31661d2c24df6ac261f66065f687dbf848a5a5 | /man/form.Rd | 6527108a9a0b563614cfe0f7cf4b05f840f18cff | [] | no_license | cran/sudachir | 0ed0ba2b27f739f3809d38e0178c58bf02958d52 | 9f1251aad5ef5460ddbcb9d3f2aa1677d370a941 | refs/heads/master | 2023-01-14T00:01:41.487373 | 2020-11-10T14:20:02 | 2020-11-10T14:20:02 | 312,241,005 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 669 | rd | form.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/form.R
\name{form}
\alias{form}
\title{Parse tokenized input text}
\usage{
form(x, mode, type, pos = TRUE)
}
\arguments{
\item{x}{Input text vectors}
\item{mode}{Select split mode (A, B, C)}
\item{type}{return form. One of the following "su... |
76b961e4acacb2f40e8c74be7124f8101a1ad537 | db82df76516ffbdd78e5e49da8304c8f872c6385 | /MarkDown_Dynamic Report/in Word/Dynamic Reportin word.R | 78a05b8766026f82aaea9efd18e41e3f1b262fa4 | [] | no_license | Crystal0108W/R | 0023f7ddc392ec882b9114b2bc832dddb5ec7904 | 4d8255cfc85e748ae38136bee87301aea8e53151 | refs/heads/master | 2021-01-17T15:49:25.903400 | 2017-05-13T03:55:36 | 2017-05-13T03:55:36 | 84,112,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,339 | r | Dynamic Reportin word.R | #####################Creating Dynamic Repors with R and Markdowns#################################
#R Markdown templates can be used to create HTML, PDF, and MS Word documents.
#ODT and DOCX tem- plates are used to create Open Document and Microsoft Word documents, respectively.
#LaTeX templates are used to create... |
58971f74e75ef0207b9eed69253ae4d3c221452b | 34b429c98a64f8a9c43908cc57d6d622d4df1ffc | /man/multi_post.Rd | 29a8f9c6906bf823641615e839ccbb77e90de42f | [] | no_license | mkoohafkan/wqpr-clone | f55212370ff548fab586fc28c3d91fda408f1a28 | 96f17b980125420a0d170dd9d145509c31f60e30 | refs/heads/master | 2023-04-18T03:02:17.881632 | 2021-04-27T16:37:29 | 2021-04-27T16:37:29 | 362,178,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 437 | rd | multi_post.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util.r
\name{multi_post}
\alias{multi_post}
\title{Multi POST}
\usage{
multi_post(service.url, body, stop.on.fail = FALSE)
}
\arguments{
\item{service.url}{The complete URL of the web service.}
\item{body}{The POST field(s) to include in the... |
94b98c801af880b560aa4896fc9055bd912c039e | f245521e63b59e37470070092b7d1d38a87b2e48 | /libs/addLetLab.r | b3292c9bbc2d0b2b86a43d8abd3a39906a541e02 | [] | no_license | douglask3/UKESM-land-eval | 3c10d10eba32bcef1e7b2a057db3b22fdf2fd621 | aad3f6902e516590be02585ad926bfe1cf5770bf | refs/heads/master | 2021-08-17T06:32:10.736606 | 2021-07-14T12:57:13 | 2021-07-14T12:57:13 | 242,747,830 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 235 | r | addLetLab.r | addLetLab <- function(let, letAsTitle = TRUE) {
if (!is.null(let)) {
if (letAsTitle) mtext(side = 3, adj = 0.05, let)
else mtext(side = 3, line = -1, adj = 0.1, paste0(let, ')'))
}
}
|
d950e47cf878224d5b22b3d433a07cd0b5b2af46 | 87e1faf49719839550f1249cc14ec3e1da27578d | /man/compareCats.Rd | ab0e517782fe5a439fadc0246feccfda917514d5 | [] | no_license | bryanhanson/HandyStuff | cd9a126d6f344b62ccca79831f174f872136ed00 | d8f292cdbc52f8938a67216a0d63b7168f6b2a00 | refs/heads/master | 2022-10-10T15:56:56.479427 | 2022-07-18T01:38:29 | 2022-07-18T01:38:29 | 1,523,562 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,131 | rd | compareCats.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compareCats.R
\name{compareCats}
\alias{compareCats}
\title{Compare Data by Category}
\usage{
compareCats(
formula = NULL,
data = NULL,
cols = NULL,
freckles = FALSE,
method = c("sem", "sem95", "iqr", "mad", "box", "points"),
them... |
cb6384f61ea222ae1586305999e41884830f20de | 297f0c096ee298349bb12d2dd513205df1a19439 | /R programming week 2/pollutantmean-demo.R | 147981a300e867b3c3e56480f085922dd13e1cf7 | [] | no_license | coenschoof/R-Programming | 3f28f48bd5c6d0c4b71bf43e1410c4d431c94d3a | 954ab11898d051d0c5a4e3c6b0ad77dcb4d95eda | refs/heads/main | 2023-01-10T13:38:18.379227 | 2020-11-10T06:50:10 | 2020-11-10T06:50:10 | 311,568,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 483 | r | pollutantmean-demo.R | pollutantmean <- function(directory, pollutant, id = 1:332) {
setwd(directory)
listOfFiles <- list.files()
vec <- vector()
for(i in id) {
csvFile <- read.csv(listOfFiles[i])
pollutantColumn <- csvFile[,pollutant]
pollutantColumnWithoutNA <- pollutantColumn[!is.na(pollutantColumn)]
vec <... |
65e85d97c5c03babf883ce0b426811017ac0fcc0 | c0931ba541a18095a54e3c2667d02a22d0648015 | /scripts/01_pnv.R | ba44f0b0e5b4166d3abb472018b0355f940cfefe | [] | no_license | juliussebald/formasam | dbd7289aca0350562cd995a64061cc0b73ddc07d | 8927800d1cf3098d1fd1cb47ac9acc00a4073e4b | refs/heads/master | 2023-04-22T06:53:31.893154 | 2021-01-21T08:27:34 | 2021-01-21T08:27:34 | 306,577,923 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,494 | r | 01_pnv.R | # This script loads in the raw simulation data of iLand and
# converts it to the FORMASAM format
# Further it combines the pnv data from iLand with pnv data from LandClim
# and combines everything in one nice dataframe
# Finally it plots the results of the pnv runs nicely
# load packages
library(raster) # version 3.... |
044c2054ecbf8860e0326c312eb9c4c6d611697d | 4dee9013b0c82214a989b26a86c2ad5b15b48496 | /R/columnLabels.R | a945c06e5d901c6a910c68859302254240f846e6 | [] | no_license | fischuu/GenomicTools | 7997d65c175362acd4e2380c57f5e52e77c01e10 | 67b8b7612c4a5ffc5806be6e0e5492e6948ac49d | refs/heads/master | 2023-05-01T14:02:58.955074 | 2023-04-20T12:12:28 | 2023-04-20T12:12:28 | 60,615,647 | 8 | 2 | null | 2022-10-19T16:41:40 | 2016-06-07T13:34:21 | R | UTF-8 | R | false | false | 846 | r | columnLabels.R | columnLabels <- function(x){
alleles <- sort(unique(unlist(strsplit(unique(x),""))))
# Only missing values:
if((alleles=="X")&&(length(alleles)==1)){
alleles[1] <- "A"
alleles[2] <- "B"
alleles[3] <- "X"
}
# Momomorph
if((alleles!="X")&&(length(alleles)==1)){
alleles[2] <- "B"
alleles[3... |
b3bde358e0b86451aa88320fd71d2e5c71c6326c | 515f7bdfc17a76b1d8a5d75a43a3be935a474aae | /man/ElementRecog.Rd | b1f7b49c42dae4782a077d9ec1715ea2e7f97979 | [] | no_license | bhklab/CREAM | 22d6b4942f6c5e097d55b6f341e09413e2c181b1 | 718264747fd4f6886ffcfc260d70fb2b2892b04d | refs/heads/master | 2021-06-03T00:02:07.031151 | 2021-02-11T01:54:32 | 2021-02-11T01:54:32 | 97,014,476 | 14 | 4 | null | 2017-10-24T16:19:35 | 2017-07-12T14:00:38 | R | UTF-8 | R | false | true | 1,332 | rd | ElementRecog.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ElementRecog.R
\name{ElementRecog}
\alias{ElementRecog}
\title{ElementRecog is a function to identify COREs}
\usage{
ElementRecog(InputData, windowSize_Vec, peakNumMax, peakNumMin)
}
\arguments{
\item{InputData}{The input data as a table incl... |
e4ece3182af20922df0048b4abe32420977a7ca1 | 02b794c7cb49497868da94b411ab78e6d9e0162f | /R/summary-method.R | 6b854d85fecfae575c673af23ebcd104e27e9fba | [] | no_license | cran/iCARH | c5fc09a2f23b3253f27149e23c354750b5839e74 | 75dbc3f6d441f4f6d85d8c72b290ea282a514b7c | refs/heads/master | 2021-07-12T01:02:42.197343 | 2020-08-27T06:50:07 | 2020-08-27T06:50:07 | 196,477,121 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,750 | r | summary-method.R | #' @title Summarize and return model parameters
#'
#'@description Group of functions to summarize and return model parameters of interest
#'
#' @describeIn iCARH.params Summary of model parameters
#'
#' @param fit Object returned by iCARH.model
#' @param pars Parameters of interest ("theta","alpha","beta","phi"). All p... |
bd2953bea86bbd4cd267fac51ce8b4ef659e6656 | e82101a5856af37a88679820ae82e2cf30afd9b6 | /code/hubway.R | 9cf34461fb8646ef13999251db574791b39c8b32 | [] | no_license | ekonlab/dvux | f3e37ed75c945a4f4ddf1c7c8ade97bac248e8d7 | c781c8a0a1e59c311b28a443bd49387d8dd2a22b | refs/heads/master | 2021-09-03T17:52:18.558210 | 2018-01-10T21:41:52 | 2018-01-10T21:41:52 | 108,869,577 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,840 | r | hubway.R | # Hubway data
options(scipen=999) # avoid scientic notation
# Set up current directory
library(ggplot2)
library(dplyr)
library(tidyr)
library(lubridate)
library(ggmap)
setwd("/Users/albertogonzalez/Dropbox/work_17/bestiario/Mark")
# Import Natgeo water data set and have a initial overiew
hubway_1 = read.csv("hubway... |
03324218b284fdfa26a87c622760f77f1d2bd6a2 | d14bcd4679f0ffa43df5267a82544f098095f1d1 | /R/plot.groupm.out.R | b3b0cd6924619461b1b63172e6c8f76aabb1e208 | [] | no_license | anhnguyendepocen/SMRD | 9e52aa72a5abe5274f9a8546475639d11f058c0d | c54fa017afca7f20255291c6363194673bc2435a | refs/heads/master | 2022-12-15T12:29:11.165234 | 2020-09-10T13:23:59 | 2020-09-10T13:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,995 | r | plot.groupm.out.R | #' @export
plot.groupm.out <-
function (x,
focus.variable,
fixed.other.values,
range.of.focus = range(xmat(data.ld)[[focus.variable]]),
ylim = c(NA, NA),
xlim = c(NA, NA),
xlab = NULL,
ylab = NULL,
grids = F,
title.option = Get... |
d460636910caac6b257d178de23087e18a105154 | 7503dba6d36a46fa2501bb5dd5c874bc44d4805f | /man/MyWpdf.Rd | 9148a2f0110b8c13edb68c549614589e54efb3a8 | [] | no_license | IvanNavarroCytel/MyPack | ce8f2e358442d374e0ed6317dde29f7f4ada5c7e | 61afc2d17e859d7fc5e338b00202ee04fb52d261 | refs/heads/master | 2021-04-29T21:07:43.821898 | 2018-01-24T17:16:19 | 2018-01-24T17:16:19 | 121,609,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 442 | rd | MyWpdf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MyWeibull.R
\name{MyWpdf}
\alias{MyWpdf}
\title{PDF of Weibull distribution}
\usage{
MyWpdf(x, a, b)
}
\arguments{
\item{x}{value.}
\item{a}{Shape parameter.}
\item{b}{Scale parameter.}
}
\value{
Probability density.
}
\description{
This fu... |
1280738693c872cbf3545ab27647c1b05025893b | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.machine.learning/man/sagemaker_update_app_image_config.Rd | 7baf95a7d6866fcd0f69382f4bd036d77f28221f | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 696 | rd | sagemaker_update_app_image_config.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sagemaker_operations.R
\name{sagemaker_update_app_image_config}
\alias{sagemaker_update_app_image_config}
\title{Updates the properties of an AppImageConfig}
\usage{
sagemaker_update_app_image_config(
AppImageConfigName,
KernelGatewayImag... |
031c7b369d42a44b833ebf00533cb21bc8e74553 | f2bfd5ceae6bf32cebc28cf18740a8b44e010e7b | /pkg/retistruct/R/RetinalReconstructedOutline.R | d78ff7da94fe6a055d7e38dd402a67946106ddb5 | [] | no_license | davidcsterratt/retistruct | 602972d127b7119df3fda54ac915228d7ac854d1 | f7075b0a8ac84fdc9773300d553c26a11b45ce2e | refs/heads/master | 2023-08-09T20:08:39.039964 | 2023-07-29T09:27:35 | 2023-07-29T09:27:35 | 25,682,590 | 5 | 7 | null | 2017-07-29T09:14:58 | 2014-10-24T10:05:33 | R | UTF-8 | R | false | false | 11,295 | r | RetinalReconstructedOutline.R | ##' A version of \link{ReconstructedOutline} that is specific to
##' retinal datasets
##'
##' @description A RetinalReconstructedOutline overrides methods of
##' \link{ReconstructedOutline} so that they return data point and
##' landmark coordinates that have been transformed according to the
##' values of \code{... |
c35c3988c193b298942f277f51c82f20e1234e49 | 68812e0861a476b85115fe6ddea9e9a216c49387 | /man/several.Rd | 40fd4c03e8b7ebced07b7f9e5b6bb5a88b9f5f72 | [
"MIT"
] | permissive | txopen/histoc | 5a895e4593b7486d66e4a31a3f9a7059f01ce0d4 | 86893ebc4396eb568f8ce5c85146aca624fe0af8 | refs/heads/main | 2023-08-24T06:21:32.155839 | 2023-08-04T19:18:11 | 2023-08-04T19:18:11 | 511,302,158 | 0 | 1 | NOASSERTION | 2023-08-04T19:18:13 | 2022-07-06T21:50:33 | R | UTF-8 | R | false | true | 1,757 | rd | several.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mult.R
\name{several}
\alias{several}
\title{Runs several time the function donor_recipient_pairs() as bootstrap.}
\usage{
several(
iteration.number = 10,
df.donors = donors,
df.candidates = candidates,
df.abs = cabs,
algorithm = li... |
20788a980ffc18cbe483f7195e80bf767ddddd4c | aab75123aad01298006206831a197533cae83e79 | /Assignment 2 ZK - Subcourse 1 FINAL.R | 933a01f0fafda8fb53f967d877c814f9317b3b9b | [] | no_license | FridaWP/PSYP14_FridaWP_Assignments | 3053a2f01fa6636215996be171516d77fc743d59 | 06abf55485de733281995f960b3cd24c52a0c7c2 | refs/heads/main | 2023-01-29T07:36:15.584361 | 2020-12-04T16:55:31 | 2020-12-04T16:55:31 | 318,578,883 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,392 | r | Assignment 2 ZK - Subcourse 1 FINAL.R | Data_1_sample = read.csv("https://tinyurl.com/ha-dataset1")
library(tidyverse)
library(ggplot2)
library(dplyr)
library(gridExtra)
library(car)
library(lmtest)
library(psych)
library(sandwich)
library(lm.beta)
data_pain <- Data_1_sample
view(data_pain)
data_pain_exclude <- data_pain [-c(93),]
data_pain_changed <- d... |
ee97fa150c049ea8f0d40b2072e0a0223ab3b019 | ed25ad1a418c4afc0c3c5ee28108fdf85ff6da48 | /openenbewerkkoffie.R | 6c72abe20f44a73558be5e388138091dc3d97ca7 | [
"MIT"
] | permissive | RMHogervorst/koffie | f67df67cf019c565640c7259abbba79e8647c126 | 0fb2833d381cc91d3423dd5ef12ef3fd584398fa | refs/heads/master | 2016-08-12T14:27:17.273361 | 2016-02-09T16:58:09 | 2016-02-09T16:58:09 | 45,740,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,063 | r | openenbewerkkoffie.R | ################################################################
#date: 6-1-15
#by: Roel Hogervorst
#description: het grote koffieproject.
#Rversion:R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
# 22-6-15
#R version 3.2.0 (2015-04-16) -- "Full of Ingredients"
# R version 3.2.2 (2015-08-14) -- "Fire Safety"
# aanpa... |
01bd21e63f3a83c8b1f5bb19e93a52b7d9967e4c | 029bbab7cbb2b6f1ecd48b4f500a52a72caf86bb | /man/hoad.calib.Rd | d0789fbd11308a1021b3cc7860c1bc6fbdbf42b4 | [] | no_license | cran/LinCal | fdc57d51f1bcd3bcde899b2abd3ec3eddf6a33d9 | 40efd11039a97da600d509d69c2523687d492aed | refs/heads/master | 2022-05-13T06:12:19.302304 | 2022-04-29T21:40:15 | 2022-04-29T21:40:15 | 26,346,284 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 967 | rd | hoad.calib.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hoad_calib.R
\name{hoad.calib}
\alias{hoad.calib}
\title{Bayesian Inverse Linear Calibration Function}
\usage{
hoad.calib(x, y, alpha, y0)
}
\arguments{
\item{x}{numerical vector of regressor measurments}
\item{y}{numerical vector of observa... |
a0516b0a0c85d8618fe780d572a903b08a61bd82 | a2b36f90d65387e0bfe5791ae1a155268b5ec566 | /Model_2/ann_2.R | 366bbd62b90beb96e398239a8ba5e4a9130adaeb | [] | no_license | rmarlon308/SVM_vs_ANN | 27d3a25319428d3888585cfb9ec3887a3aeb3e8b | 24c8433d6d8cf7f3717e290e8b27b1c9d0576cf0 | refs/heads/main | 2023-02-05T22:37:44.131748 | 2020-12-25T21:54:37 | 2020-12-25T21:54:37 | 324,438,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,038 | r | ann_2.R | library(readr)
library(dplyr)
library(keras)
library(tensorflow)
testing = read_csv("/home/marlon/mainfolder/marlon/USFQ/DataMining/10_FinalProject/proyectoFinal/Model_2/dataset/testing.csv")
training = read_csv("/home/marlon/mainfolder/marlon/USFQ/DataMining/10_FinalProject/proyectoFinal/Model_2/dataset/training.csv... |
a7b46a9d70d4225cd14529ddf9d0766f561f37b5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/summarytools/examples/print.summarytools.Rd.R | 713618962291a60a9a725ed4f6aead0e6b688b14 | [] | 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 | 418 | r | print.summarytools.Rd.R | library(summarytools)
### Name: print.summarytools
### Title: Print Method for Objects of Class 'summarytools'.
### Aliases: print.summarytools print view
### Keywords: methods print
### ** Examples
## Not run:
##D data(tobacco)
##D view(dfSummary(tobacco), footnote = NA)
##D
## End(Not run)
data(exams)... |
5a7f00184814b73afeaa6bc8d7f60741cfe4411f | 8f0431de29762061acb57e06f492d22d5ce2604f | /man/gt_sparkline.Rd | d39c5a991ab2e395f28da158714f798eb04f48fb | [
"MIT"
] | permissive | adamkemberling/gtExtras | 2c3e1a81d5dd97666dedab710d49377a2a7572dd | 40d1e5a006fa67833a702733055c94606f8cffb7 | refs/heads/master | 2023-08-17T11:12:00.431133 | 2021-10-13T16:28:10 | 2021-10-13T16:28:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,911 | rd | gt_sparkline.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gt_sparkline.R
\name{gt_sparkline}
\alias{gt_sparkline}
\title{Add sparklines into rows of a \code{gt} table}
\usage{
gt_sparkline(
gt_object,
column,
type = "sparkline",
width = 30,
line_color = "black",
range_colors = c("red", "... |
2bf84a15dfcbf5ebbd7a77f098793943a8a2f8fd | 3bf7d1502b222af53cbda561dd143aaa32a5d538 | /main.R | d5616428d19a8a498deed6174749a1a5ee76febc | [
"MIT"
] | permissive | fdrennan/biggr2 | 90506d9637800d9149d4e6c9b4de21d0a319d9ba | d2c82763bc9331697478dfdc58f11dab6572accc | refs/heads/main | 2023-03-10T22:25:37.241549 | 2021-02-28T07:34:36 | 2021-02-28T07:34:36 | 303,002,767 | 3 | 2 | NOASSERTION | 2021-02-26T17:41:03 | 2020-10-10T22:48:18 | R | UTF-8 | R | false | false | 553 | r | main.R | library(biggr2)
library(glue)
library(readr)
user_data <- read_file("ubuntuinit.sh")
user_data <-
glue_collapse(
c(
user_data,
paste0("echo ", readLines(".Renviron"), ">> /home/ubuntu/.Renviron", collapse = "\n"),
"cd /home/ubuntu && git clone https://github.com/fdrennan/redditstack.git",
... |
4f4bd2080cc7490ec7845ffca132ddebd3d1c592 | 8817c24a3fab4de0600244b5880f2de0c7b97f26 | /plot3.R | 8b2602c90d685613bc02d085a503ea3bb1c51ff0 | [] | no_license | wlb0/ExData_Plotting1 | c96ec5b00eae64b0e69013f84a6ea1a6c524021a | 81d217b2f4e1f0c8c9136c3c8e8dab1070b8660f | refs/heads/master | 2020-12-11T06:00:34.825187 | 2015-06-07T16:31:01 | 2015-06-07T16:31:01 | 35,371,703 | 0 | 0 | null | 2015-05-10T13:17:40 | 2015-05-10T13:17:40 | null | UTF-8 | R | false | false | 1,334 | r | plot3.R | ## exdata-014 Assignment 1 part 3
## code for plot 3
## assumes source data has already been downloaded and unzipped to
## csv file "household_power_consumption.txt" in the current directory
if (!require("sqldf")) {
install.packages("sqldf")
}
library(sqldf)
# define wData as a file with indicated format
wData ... |
5b2e3ae525e7eba9149409030ea4bd44bf286709 | 7c4fa47fe62269bad9c8bbdf9edaf8b3180865f9 | /024-maritime_ports_france_2/01_scrape.R | a4214548a5ccb6c1fcae8a32d7fa89f3f3ca061a | [] | no_license | training-datalab/minard | 6236897f64a49979b219ac962b4de9bfd84ce003 | 194f7e537ad0cc16a5ba71ca28773a814e8946ef | refs/heads/master | 2023-03-23T21:11:18.323214 | 2021-03-17T21:57:44 | 2021-03-17T21:57:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,082 | r | 01_scrape.R | library(rvest)
url <- "http://www.worldportsource.com/ports/index/FRA.php"
doc <- read_html(url)
links <- html_nodes(doc,"br+ a") %>%
html_attr("href") %>%
paste0("http://www.worldportsource.com",.)
name <- html_nodes(doc,"br+ a") %>%
html_text()
ports <- tibble(name,link=links) %>% distinct() %>% mutate(li... |
dc573d45f2679a4e4b5fff3c1ccfd0cdb017a72b | 11394cd22cea3b4e644d20564ff4b500018d943e | /scripts/separateAnalysis/checkCellIdent.R | 21db489ecc39f2104a8fdeb5c4f6b9cac4fff284 | [
"MIT"
] | permissive | shunsunsun/single_cell_rna_seq_snakemake | 3d153c9cb7db9988917aff38991217a35940aa64 | f275546eb3bd63d5d535a13407ce47ee36e94cae | refs/heads/master | 2023-04-17T08:44:13.954986 | 2021-04-27T08:13:50 | 2021-04-27T08:13:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 522 | r | checkCellIdent.R | library(Seurat)
se <- readRDS(file="./data/GEJ_QCed_sctNorm_BatchCCA_clustStab/Louvain_clust_k100_pc50_res0.4.rds")
load(file="./data/GEJ_QCed_sctNorm_BatchCCA_clustStab/allcells_ident_scibet.rda")
load(file="./data/GEJ_QCed_sctNorm_BatchCCA_clustStab/Louvain_clust_k100_pc50_res0.4_singleR_label.fine.rda")
se$singleR_l... |
be69827fd020ea2e0e1b2ba1e4405bc8bb13f45c | 5fabfb8ce7863ffe6daa91dac2971ee85f9d2ad7 | /man/subsample.Rd | 82dd8ca04ec56e038452770e776581ad2ca34ddd | [] | no_license | Pezhvuk/sumrep | a1ff159aa8b025d15c167e434591788bae8cc4b2 | 275c6981f57b14db51746735f32e1ecf6bf6c486 | refs/heads/master | 2020-04-30T12:14:39.350531 | 2019-01-19T20:44:06 | 2019-01-19T20:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 545 | rd | subsample.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Approximation.R
\name{subsample}
\alias{subsample}
\title{Subsample a dataset}
\usage{
subsample(dataset, sample_count, replace = TRUE)
}
\arguments{
\item{dataset}{A data.table, data.frame, or vector object}
\item{sample_count}{Number of sa... |
1143c0b1bc2b469b9f734aac5d65581a440e212f | c9cd1cd8ed8904baa6fa7807e9cfc9fc42774d94 | /plot4.R | 2562514897a8ad86e656fda207b9a552ecc6e05a | [] | no_license | BirgitR/ExData_Plotting1 | 274b054c11c63b77d403eb894504bd77fffb4d01 | 72a46ca9c3dc7e5c82c4d498a3671914d4fc613d | refs/heads/master | 2021-01-21T23:45:36.735643 | 2014-09-07T19:39:37 | 2014-09-07T19:39:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,075 | r | plot4.R | hpc <- read.csv("household_power_consumption.txt", sep=";", na.strings="?",
stringsAsFactors=FALSE)
hpc2 <- hpc[min(which(hpc$Date == "1/2/2007")):max(which(hpc$Date == "2/2/2007")),]
datetime<-strptime(paste(hpc2$Date, hpc2$Time), format="%d/%m/%Y %H:%M:%S")
Sys.setlocale("LC_TIME", "C")
par(mfcol=c(2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.