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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
03bc02a2ba21287608c9798eee0d6aaf9e0ca765 | eeff270817c8e739230bfd668635dbbdd10f6fb5 | /PaperCode_PTE_circlePlotR.R | da58617697aeb49aad74b788d5eff0a5be2b310a | [] | no_license | AnnaCastelnovo/sleep-EOC | 6d3fee1d7705190c03b4d54042bf747fe925e1e2 | 9e8934a10f62f87d8f1838322bfc6391148e5a28 | refs/heads/master | 2022-07-03T15:44:59.715786 | 2022-06-14T12:39:41 | 2022-06-14T12:39:41 | 219,853,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,930 | r | PaperCode_PTE_circlePlotR.R | library(circlize)
library(R.matlab)
library(stringr)
library("readxl")
#add path
setwd("/.../CirclePlots/")
set.seed(14)
TFM <- readMat("TFM_reord.mat")
labelsh <- readMat("reord_labelHigh.mat")
labels <- readMat("reord_scouts2.mat")
label = labels$test
labelh = labelsh$reord.label
temp = list.files(pattern="*.mat")
... |
c2353812b5fa9d944a5266c1b11da8edb69ab60e | c023ef48ba59adc6c7c23162971086518910f914 | /cachematrix.R | 291a5320728ca2d3824229cfc51eb3c708114854 | [] | no_license | surya0389/ProgrammingAssignment2 | fbb91190eb4968e74bb5411492953a4db2cd0dbd | 0eeb290fd2f6866fed4b1d1c7748e7534147ae06 | refs/heads/master | 2021-01-18T02:45:59.649224 | 2015-05-24T20:11:04 | 2015-05-24T20:11:04 | 36,190,539 | 0 | 0 | null | 2015-05-24T20:03:26 | 2015-05-24T20:03:26 | null | UTF-8 | R | false | false | 2,033 | r | cachematrix.R | ## Pair of functions that cache the inverse of a matrix.
## This function creates a special "matrix" object that can.
## set the value of the matrix
## get the value of the matrix
## set the value of the inverse
## get the value of the inverse
makeCacheMatrix <- function( m = matrix() ) {
## Initializ... |
a9a1746815171a3b58940e9ae4d664a126e9cb1d | 3456a09a3b1727f273c2ed92a0b2841a420f105b | /Maker.R | d05fdd2507e4e9893e7634d1177c22ca6dc6bb12 | [] | no_license | xxxjvila/exampleMoodle | 48398ad8c531572705f8c8ad3d42a136f67e8010 | edb0ef3dd306ee1bc339082d93c74b09fb277ec9 | refs/heads/master | 2020-06-18T08:34:57.575187 | 2019-07-30T17:22:36 | 2019-07-30T17:22:36 | 196,234,781 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,373 | r | Maker.R | rm(list=ls())
library(exams)
setwd("/Users/jvila/Dropbox/UseR2019/ExampleMoodle")
## create exams skeleton with:
## - demo-*.R scripts
## - exercises/ folder with all .Rmd/.Rnw exercises
## - templates/ folder with various customizable templates
## - nops/ folder (empty) for exams2nops output
# dir.create(mydir <- ge... |
1d2b794883fd3fc58f82bb06e4f99065b6979d6c | 022fc53b9f32151c34edf0f8476122c4707f2314 | /Functions.R | 6da85c52e7d82290f31e3de8556ec7a9e1503f54 | [] | no_license | githubmao/MawanDrivingSimulatorDataAnalysis | b5c7fae383aae6d3fa83e27570acef2e489232ac | f321623aabb2666001d3743bb3f5b5bf13c601fd | refs/heads/master | 2020-03-11T18:49:54.961600 | 2018-04-19T09:11:15 | 2018-04-19T09:11:15 | 130,189,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,804 | r | Functions.R | #-----------------------Code Description---------------------------------------#
# Notes:
# ver1.0, data: 20171217, by MaoY
#
# Description: 存放各类分析函数
#------------------------------------------------------------------------------#
# 道路线形示意底图绘制----
PlotRoadLine <- function(kXStart, kXEnd, kYStart, kYEnd, kLineType = ... |
168419c43a0fde8deebd728c77faeb37e8e270f5 | f85c3a502acc3e1252b28ca1af2f728a6ca573f0 | /R/are_valid_protein_sequences.R | 7a5c0484208dbb74ffc85e5392084bf552c01f9f | [] | no_license | cran/pureseqtmr | 9f3d7f4010adfdc6c5b9a8446a13b3cc904dd406 | 9b53165e7dd3cdd0ded2fdf163f5c73b0c5a7fae | refs/heads/master | 2023-04-15T04:44:21.088795 | 2023-04-06T12:40:02 | 2023-04-06T12:40:02 | 284,769,850 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 545 | r | are_valid_protein_sequences.R | #' Determine if these are all valid protein sequences
#'
#' Determine if these are all valid protein sequences,
#' as can be used in topology prediction
#' @inheritParams default_params_doc
#' @return TRUE if the protein sequence is valid
#' @export
are_valid_protein_sequences <- function(
protein_sequences,
verbos... |
79e592ff878129ef9d59e7a6a03ead471ee193dd | 433a68e1105316e046a4a61e786d214dc877301e | /Analysis/Binary Exchange/Revising answers.R | 902c50e482e768db3aa99603e9d86b7272deb661 | [] | no_license | joshua-a-becker/crowd-classification-problem | b039048802976f9ca5c68bbecd318c55f6fa7fdb | e6c541d7543ff365f9f58ca7b573b5b23dd918f8 | refs/heads/master | 2021-08-29T13:27:22.351212 | 2021-08-16T14:05:36 | 2021-08-16T14:05:36 | 172,978,414 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,490 | r | Revising answers.R | ################################################################################
# This is the script for the main results about revising answers for
# proposition 1: Binary Exchange
################################################################################
###############
# Preparation #
###############
# C... |
43d25936aa8a81e43554fc148c9a390bea778212 | 434ef872d538c03eee9cc47563ea88c737ffb88a | /exp1/scripts/run_nsga3.R | 6fe74d3320a680dc72fda0433b9816320de0f1bf | [] | no_license | minghao2016/MOFS-in-CS | 6f360862d7f80e236b950b415ea70e4032f74eaf | d8da8d168ff393935e5b60c9dcde31d46ab656ab | refs/heads/master | 2020-09-03T00:04:51.377930 | 2019-03-23T08:55:27 | 2019-03-23T08:55:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,659 | r | run_nsga3.R | library(nsga3)
for(f in datasets){
df <- readRDS(file.path(data.folder, f))
# Convert values in target column into binary
levels(df$BAD)[levels(df$BAD) == "GOOD"] <- "0"
levels(df$BAD)[levels(df$BAD) == "BAD"] <- "1"
print(paste(f, "rows: ", nrow(df), "features: ", ncol(df)))
# Tune m... |
e21efdaa1499b9139fb5e29995f3f5b28a601c65 | 948dc17401eb812276c36df79c695cf14d91ae06 | /docs/book/sppa-026.R | 2b280679e633d7ffe39e8e2309f392ed3b1515a9 | [
"CC0-1.0",
"CC-BY-4.0",
"CC-BY-3.0"
] | permissive | r-spatial/asdar-book.org | bc5d177add0128affb61b8c2ea84dd7ed47869c3 | 366af3b26c2083e585daf2faab6b261e3c622a9b | refs/heads/master | 2023-05-24T19:33:13.224914 | 2023-05-23T10:52:17 | 2023-05-23T10:52:17 | 153,242,511 | 50 | 35 | null | 2020-10-15T08:24:57 | 2018-10-16T07:35:34 | PHP | UTF-8 | R | false | false | 210 | r | sppa-026.R | plot(k, ylab="Intensity", main="")
points(x, rep(0, nx), pch=20)
for(i in 1:length(x))
lines(density(x[i], bw=bw, kernel="biweight"), lty=2)
legend(x=14, y=0.6, legend=c("Intensity", "Kernel"), lty=c(1,2))
|
06b83916f4c6c873ce14dfc65e4ff7b266d4e15c | c43ae097b3e0a7821be41f9c060716442f4e9382 | /assets/shinyapps/app5/ui.R | a6ab3bc451c669d330a942b2fa1f4ec9f2dc531f | [] | no_license | seankross/developing-data-products | 7d4eb15b173c70562cd70570826ea4b639d86d9f | 6a9ebde26547e6300145ee052a555d6c4ae46cd4 | refs/heads/master | 2021-01-13T13:14:49.323266 | 2017-03-29T18:01:19 | 2017-03-29T18:01:19 | 72,706,347 | 5 | 11 | null | 2017-03-29T17:53:17 | 2016-11-03T03:43:40 | R | UTF-8 | R | false | false | 317 | r | ui.R | # ---- app5-ui ----
library(shiny)
fluidPage(
titlePanel("Dynamic UI"),
sidebarLayout(
sidebarPanel(
selectInput("country", "Which Country do you live in?",
choices = c("USA", "Canada")),
uiOutput("region")
),
mainPanel(
textOutput("message")
)
)
) |
ed16923a408c39a08bc989e2d32063899c830d91 | 80dd264661fa2d22dd89e765a76ea245b0379433 | /man/mx.concave.cond.Rd | c2662b08c6e69df3d2f83ee2064ae2c3434b05ef | [] | no_license | skranz/RMaxima | 6bd3ae2bc63b237b3c20b9ad36af2f457c257e25 | 4abcf82e9e54971e44af32519d78d2fa316df13b | refs/heads/master | 2021-01-01T05:47:31.037235 | 2015-06-13T03:54:01 | 2015-06-13T03:54:22 | 12,140,704 | 5 | 3 | null | null | null | null | UTF-8 | R | false | false | 555 | rd | mx.concave.cond.Rd | \name{mx.concave.cond}
\alias{mx.concave.cond}
\title{Returns the conditions from the principal minor test
that the function f is jointly quasi-concave in in all variables in var}
\usage{
mx.concave.cond(f, var, with.descr = FALSE,
hessian = NULL)
}
\arguments{
\item{f}{a string that specifies the Maxima formul... |
f234106c0044aefde940875d5b06628c18c3160c | 878aa28161ed778da05902113a9a18fbb2738319 | /R stan run/Keogh Stan run v2.R | c870081e43fffaed8cd54b9b823218a5b625c7f2 | [] | no_license | klwilson23/Keogh | a6f9f3ccb24d10ce08d694eaa8cdecae8dd06dbf | e499c087c267d3e3a89c8edfe4b088248f6338ec | refs/heads/master | 2023-04-11T02:09:36.009864 | 2022-01-21T21:39:32 | 2022-01-21T21:39:32 | 152,797,463 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,780 | r | Keogh Stan run v2.R | source("some functions.R")
library(reshape2)
library(gridExtra)
library(ggpubr)
library(ggplot2)
library(MARSS)
library(broom)
library(wesanderson)
library(rstan)
library(loo)
library(rethinking)
rstan_options(auto_write = TRUE)
#options(mc.cores = parallel::detectCores(logical=FALSE))
#Sys.setenv(LOCAL_CPPFLAGS = '-m... |
2958bd216ad806fb8978840504fa31c698f72764 | 6cb50a95d62f1318f867d6b695bf3c31bb894d97 | /R/tsJumpStats.R | 14282c2e7abd1ff37fdb6b9555169ebec79d2c43 | [] | no_license | TankMermaid/seqtime | c15364705f265538e826004f8100189a6885ea4b | 960903d37e2ba95763ef58a1eaf78d94375fe829 | refs/heads/master | 2020-03-29T21:34:12.267387 | 2018-06-13T06:46:21 | 2018-06-13T06:46:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,551 | r | tsJumpStats.R | #' @title Compute statistics on jumps through community space
#'
#' @description Consecutive samples representing time points in an ordination plot can be interpreted
#' as vectors, which have a length and an angle. If ordinate is true, these lengths and angles
#' are computed from the selection dimensions of the ordin... |
851cf3bf631edb70e5894c45435a0e9b8bc9b61e | c13ce1d62b066f4180b0a4b5c4db6a068eae079f | /R/nifti_2_hdr.R | 4b296922456a43242cefa5c25aa0903366d373bf | [] | no_license | muschellij2/cifti | 9aa5c0ef0edeafd1a2688166dfc99a8b0e9f661e | 84b7947310dd5657dd22b809ca838e876f03673b | refs/heads/master | 2020-12-24T11:53:10.701313 | 2020-08-10T16:06:53 | 2020-08-10T16:06:53 | 73,105,792 | 4 | 7 | null | 2020-07-20T12:35:01 | 2016-11-07T17:57:04 | R | UTF-8 | R | false | false | 4,947 | r | nifti_2_hdr.R | #' @title Read NIfTI-2 Header
#' @description Reads a NIfTI-2 header from a filename
#' @param fname Filename
#' @param verbose Print diagnostic messages
#' @param warn Should warnings be printed? Passed to \code{\link{options}}
#'
#' @return Object of class \code{nifti}
#' @export
#' @note The \code{unused_str} part o... |
4e51229fe0623c0f91f9ddab7c1a1c6353cfe157 | 90c59b8d40e17af30b065103aff8c039855881d3 | /leaflet/sample.R | 3e9a2738449f842a78e146d4272d53af5bc7dfbc | [] | no_license | xaltin/spacial_temporal | 3b587f7db47bbb1b1314c352ac562abe9a89fa60 | 561e4e34f2eabdb92635d97d1fc389529b4007f0 | refs/heads/master | 2021-01-19T00:47:00.974910 | 2015-03-10T13:03:04 | 2015-03-10T13:03:04 | 31,841,994 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 3,875 | r | sample.R | library(leaflet)
m = leaflet() %>% addTiles()
m
m = m %>% setView(-93.65, 42.0285, zoom = 17)
m
m %>% addPopups(-93.65, 42.0285, 'Here is the <b>Department of Statistics</b>, ISU')
# add some circles to a map
df = data.frame(Lat = 1:10, Long = rnorm(10))
leaflet(df) %>% addCircles()
# you can also explicitly use Lat a... |
9419ca19fb33d7f6ac84a3d705f3fa679185d312 | fd823404007a3616481ac53efb0822f55b8e4956 | /R/carb.R | d667a253a6c68991dbb1946469e634538a719405 | [] | no_license | jamesorr/seacarb | ca5dde55c5cf2cc61d5da579fa4e6b62bd1c73f2 | 6eaa18524501bc299bbacd901a71a7e6ff7c50be | refs/heads/master | 2021-01-18T05:15:59.351380 | 2014-09-09T07:38:59 | 2014-09-09T07:38:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,832 | r | carb.R | # Copyright (C) 2008 Jean-Pierre Gattuso and Heloise Lavigne and Aurelien Proye
# with a most valuable contribution of Bernard Gentili <gentili@obs-vlfr.fr>
# and valuable suggestions from Jean-Marie Epitalon <epitalon@lsce.saclay.cea.fr>
#
# This file is part of seacarb.
#
# Seacarb is free software; you can redistrib... |
17e66b6b58917e493b448effab8ebeed58b26593 | 5483f96944be1d5c164f1478337bbf0ef2040cb9 | /R/adj_file_nos.R | cb5ece74eea46a909259b3a4f0b977c4bcaed8bf | [] | no_license | cran/ptspotter | da898cc45d0d2d621ed543ac41a78a179959c645 | b87d6088ba511e9516773c1c28e9dd1a3c316a23 | refs/heads/master | 2023-08-30T23:40:51.686523 | 2023-08-13T14:00:02 | 2023-08-13T15:30:43 | 360,262,383 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,901 | r | adj_file_nos.R | #' Adjust file numbers.
#'
#' This function is used to increment / decrease sequential scripts within the
#' specified directory, allowing efficient adjustment of script sequence for
#' additional or removed files.
#'
#' @param target Required. The number in the sequential scripts to begin the
#' adjustment. Use single... |
d37cae39ba19e54e33e1f35f3b5ec833a5e11675 | e9aec749b5e84915816eaf435c90d740945c297e | /Projects/URLLinkFinder/man/traverseLinks.Rd | 69f7157a61909db8488bbf47feadd98e26978299 | [] | no_license | omegahat/XDynDocs | 399fe9eb6de25ec1423cc4275d0971f7945b9caf | a7c850f4e893640983bd2c68cdcb9af5d3bc99d7 | refs/heads/master | 2021-01-19T05:01:47.981346 | 2012-04-12T15:46:05 | 2012-04-12T15:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,700 | rd | traverseLinks.Rd | \name{traverseLinks}
\alias{traverseLinks}
\title{Collect hyperlinks in HTML pages}
\description{
This function is used to collect a catlog of
links within HTML pages and to recursively process these
links to find their links and so on.
}
\usage{
traverseLinks(urls, max = -1, filter = dropLink()$dropLink, process... |
5d9ee9f663c18903fe2b9959bbc51234f55f0883 | ea7af3b4112333ba3b39d0018c72ccab285361b2 | /man/cohere.Rd | 60af12ceb8445781d61f9c8b928eb0b325439f60 | [] | no_license | cran/dfcrm | 8c412a456595a4e6b676f679791c43a3866d857a | 18891ccb969e3e4f87e4489a04b48df227bb9273 | refs/heads/master | 2020-04-06T04:09:06.222620 | 2019-01-26T15:38:38 | 2019-01-26T15:38:38 | 17,695,480 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,085 | rd | cohere.Rd | \name{cohere}
\alias{cohere}
\title{Coherence of two-stage CRM}
\description{
Returns a message on the coherence status of a two-stage CRM
design.}
\usage{
cohere(prior, target, x0, method = "bayes", model = "empiric",
intcpt = 3, scale = sqrt(1.34), detail = TRUE)
}
\arguments{
\item{prior}{A vector of in... |
eba90301d7b0c0858577f0429c1993c66e882a53 | bed9f5b2c923aa4f9d9e94296530a7b82f923585 | /Rpiday2.R | 74b24fb0da8f2a7a061bf23c1f312e43ef1eb0f6 | [
"MIT"
] | permissive | hack-r/Rpiday2 | 509f22e9f13a3976da562ec3985ad5c71eab1d6a | eb8267d3fa6c3379e385de256f8e19c6866558e3 | refs/heads/master | 2021-01-10T11:06:06.083247 | 2016-03-14T23:28:21 | 2016-03-14T23:28:21 | 53,893,991 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,799 | r | Rpiday2.R | ## File: Rpiday2.R
## Desc: Just a little Pi Day fun
## Copyright: (c) 2016, Jason D. Miller, http://hack-r.com
# Load Libraries ----------------------------------------------------------
source("functions.R")
# Source Pi ---------------------------------------------------------------
source(pi.R)
# Greet the user, ... |
b38c3f577fde7f667705dbcffa6c5d5ca354fe70 | 10c97b033b7d93d500a4dd563234eef128dc43ab | /tests/testthat/api.sleeper.app/v1/league/521379020332068864.R | 42684c4cf9361c731354c58b0653dab0405802d9 | [
"MIT"
] | permissive | tonyelhabr/ffscrapr | f38e7c87bb65ddbf6e1c9736c16e56944760af46 | 4e0944da56d8890c441c4abe9c25bc2477a1e388 | refs/heads/main | 2023-03-10T08:48:01.840281 | 2020-12-16T06:19:07 | 2020-12-16T06:19:07 | 328,791,006 | 0 | 0 | NOASSERTION | 2021-01-11T23:59:24 | 2021-01-11T21:03:44 | null | UTF-8 | R | false | false | 5,140 | r | 521379020332068864.R | structure(list(
url = "https://api.sleeper.app/v1/league/521379020332068864/",
status_code = 200L, headers = structure(list(
date = "Tue, 13 Oct 2020 01:45:17 GMT",
`content-type` = "application/json; charset=utf-8", vary = "Accept-Encoding",
`cache-control` = "max-age=0, private, must-revalidate",
... |
868581a4b191586a3cc552d35a5308cf506a8102 | 5eb7493308e326f7bcee6820d1125198137cd08b | /Supplemental_Script_2_Calculate_effect_sizes.R | 629d6240a0f7ab1729e305addd07e4c968d77b0d | [] | no_license | jmwhitha/Trimming_and_decon | 34fe8449cf5e4e8bf70616dde87c4866ee566ca8 | 35bc81ab942b05054bd348c730b28bc8da62bb27 | refs/heads/main | 2023-04-16T09:19:01.254031 | 2021-04-22T17:32:48 | 2021-04-22T17:32:48 | 339,747,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,972 | r | Supplemental_Script_2_Calculate_effect_sizes.R | #Compute effect size of statistically significant differences
#Reference: Trimming and decontamination of metagenomic data can significantly impact assembly and binning metrics, phylogenomic and functional analysis
#Jason M. Whitham 2021
#Data for raw (assembly metrics)
raw_reads <-c('9117.5.MEGAHIT.assembly', '... |
b21c0fa3f101a17a0d077d8eba75a765beda3b8b | 0958d382d115a89410129f940bcdf6660f9dab7d | /class-notes/data-transformation/manipulating-strings.r | 96ab253feea56e48579490a32fee3944ff707fb7 | [] | no_license | nyrkuredla/learning-r | 3ba9e007b4783c40d9d14a3ce89f86d0b84bedf6 | cfdc5d8784dc80bbc32078f570305b4e41dd6a75 | refs/heads/main | 2023-06-10T23:38:59.363112 | 2021-07-08T00:49:50 | 2021-07-08T00:49:50 | 358,353,261 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,597 | r | manipulating-strings.r | ## string manipulation
# load libraries
library (stringr)
library (tidyverse)
# for string functions, can pass in either a string literal (standalone) or a variable w/string data
## first let's practice storing string literals in variables
# string literal
"abc"
# assigning it to a variable
str_three <- "abc"
# can ... |
1910c9313679ae1f3de32f9c52c0ddf2678c6cb9 | c199c4414f7a080016460c74016d365a27c11bba | /stray/stray.r | f694e67b62131067881be41d6fa6d539b3e1c1e3 | [] | no_license | knazir/smac-resources | dc0c9adc3cfe08bbaa118f95af8298a067ec19b1 | 34e94ac0b84b17c4c8db6f1ae2e62c28533d0e2f | refs/heads/master | 2022-12-24T10:07:10.818906 | 2019-12-14T02:16:37 | 2019-12-14T02:16:37 | 227,952,347 | 0 | 0 | null | 2022-12-10T12:05:56 | 2019-12-14T02:02:20 | Python | UTF-8 | R | false | false | 277 | r | stray.r | raw_data = read.csv("./tibble_data.csv")
data_matrix = as.matrix(raw_data)
data_tibble = tibble::as.tibble(data_matrix)
outliers <- find_HDoutliers(data, k=1, knnsearchtype="brute", alpha=0.25)
display_HDoutliers(data, outliers) + ggplot2::ggtitle("Aimbot Anomaly Detection")
|
3e865f5c55ee774cfee9183dbe66c0c91fab6162 | a8792a4288284653418fd560ef07a90a53a4db4e | /ShinyTutorial/lesson-5/app.R | c8884a1b11a0a99fd7d1d5d1dd98991e5e30c151 | [] | no_license | CristianAbrante/ShinyVisualizationAssignments | c5a3d189843ef694ab6a57a28a26eaf34078dea3 | a0beea8c92a8afbedaea1999e781870ca42c4755 | refs/heads/master | 2023-02-17T11:54:22.915005 | 2021-01-21T11:51:41 | 2021-01-21T11:51:41 | 224,014,764 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,219 | r | app.R | # App for the lessons 3, 4 and 5
library(shiny)
library(maps)
library(mapproj)
source("helpers.R")
counties <- readRDS("data/counties.rds")
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("censusVis"),
# Sidebar with a slider input for number of bins
... |
042c109f8edfbe5fe919ec5f5c7fef80dcc362a5 | 47d321f1c911444704812e2c7aa403553163fe2f | /gbmTestBatch.R | b15b8022faaeb8cf198031afb6f1495c854a5abe | [] | no_license | jaredpark/cleanNLF | e57502fe5f15d6676f64fdb7a0c50266d4351f95 | f7e129fa9f1a16215d69a99b756cf48db17333b7 | refs/heads/master | 2020-03-30T21:32:32.212472 | 2013-07-09T23:52:35 | 2013-07-09T23:52:35 | 11,297,064 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 736 | r | gbmTestBatch.R |
decisionRule = c('abs')
chooseMin = F
chooseParsimonious = F
chooseParsOnlyByTrees = F # ignored if chooseParsimonious == T
runName = ''
rootDir = '~/GitHub/VM_share'
load(paste(rootDir, '/', runName, '/settings.Rout', sep = ''))
require('gbm')
source(paste(rootDir, '/funcs.R', sep = ''))
configurations = read.table(p... |
c1515aad219a14539f0353fc855effbee81f8a52 | cb41d91d9e15a8f5b5fe3d7941b4a23c821665f3 | /Loaddata.R | 972900c678a193057a758fd4c84824818bbda9b5 | [] | no_license | samir72/Project-CollegeMajor | 0e73da689668e7944236c602693ca7778fc760c5 | 41d219bd04e67c71ea7fbfea5f0f05d9b06eba4c | refs/heads/master | 2020-05-22T07:09:50.927309 | 2017-03-19T03:23:37 | 2017-03-19T03:23:37 | 84,679,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 493 | r | Loaddata.R | Loaddata <- function(file)
{
# browser()
## Read the csv file
Dataload <- read.csv(file, header = TRUE,stringsAsFactors = FALSE)
## Coerce some character columns to numeric
#numcols <- c('price', 'bore', 'stroke', 'horsepower', 'peak.rpm')
#auto.price[, numcols] <- lapply(auto.price[, numcols], as.numeric)... |
442980b1fee1c7ceb27d3c1d898359162595e19a | 96da706d22c938b2912b4254eb44e5a4b49a000b | /02_script/s016TZA/02a_merge_recode_s016TZA.R | 41ee39b5862152b4b02edd1d79b3efbf651845cb | [] | no_license | jmroemer/CATI_Panel_Attrition | 32c1c327078c49feed0aaf56100e3230a9bf3592 | 5c4472bc6c672a1cc7598f82007c8d6f2521033e | refs/heads/main | 2023-05-02T17:52:06.189238 | 2021-05-26T23:16:10 | 2021-05-26T23:16:10 | 360,322,107 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,127 | r | 02a_merge_recode_s016TZA.R | #------------------------------------------------------------------------------#
# TITLE: 02a_merge_recode_s016TZA.R #
# PURPOSE: Merge the relevant variables of the F2F-Baseline survey with #
# the columns of the CATI waves containing the call status... |
dbb42e710c01aa68fe6fcd40a57262e1e84378df | 302d026524486f0ad386599fac8dd4f57278ba38 | /man/cpmSetSize.Rd | 3a84410bcf455aa5bf614212dedd4fba9cb74eaa | [
"CC0-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | cwhitman/GenEst | 96d72e50eafe5e71c25a230c8046f80e152b1963 | 7c84c887b3f671fa8786eee8077512b8d80b7883 | refs/heads/master | 2020-03-30T18:03:28.168191 | 2018-10-11T07:04:03 | 2018-10-11T07:04:03 | 151,481,672 | 0 | 0 | NOASSERTION | 2018-10-03T21:17:44 | 2018-10-03T21:17:44 | null | UTF-8 | R | false | true | 2,516 | rd | cpmSetSize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/carcass_persistence_functions.R
\name{cpmSetSize}
\alias{cpmSetSize}
\title{Fit all possible carcass persistence models across all size classes}
\usage{
cpmSetSize(formula_l, formula_s = NULL, data, left = NULL,
right = NULL, dists =... |
8a072b255b32f5b1902350f69fb1e8c71a794b87 | cc7e47fdebabbdb367e2a06b64db0ebebb201f02 | /man/args_csem_dotdotdot.Rd | e67ed88795246e8f8f2b4945f1e87a98c597f6bb | [] | no_license | RicoDiel/cSEM | c54cde9bb313c74ffa089b52c8142088c5578352 | 44a19cfadb238e93a6ec8628a99c4f2a4ee8ee7e | refs/heads/master | 2021-01-06T14:00:20.427330 | 2020-02-18T12:34:29 | 2020-02-18T12:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,384 | rd | args_csem_dotdotdot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zz_arguments.R
\name{args_csem_dotdotdot}
\alias{args_csem_dotdotdot}
\title{Internal: Complete list of csem()'s ... arguments}
\arguments{
\item{.approach_cor_robust}{Character string. Approach used to obtain a robust
indicator correlation m... |
b776d7c3d73b5e67b5bc6feb1da42deab03568cb | ee54a85e446285fcc568caffe2dab934089e12e2 | /xp04/05b_tables_dscore_xp04.R | e6914c67f9d3d7f4b9c04dd5ed6d53063b9d4f27 | [
"CC0-1.0"
] | permissive | bricebeffara/rwa_evaluative_conditioning_data_analysis | e8697aee9cb7097c19ec9207a092d547658246e2 | 81c35c84148f9579b68624e32c0efc0dbad43e3c | refs/heads/main | 2023-06-03T01:15:34.778559 | 2021-06-17T09:55:12 | 2021-06-17T09:55:12 | 375,408,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,856 | r | 05b_tables_dscore_xp04.R | p_load(plyr,
knitr,
kableExtra,
formattable,
dplyr,
webshot,
stringr,
install = TRUE,
update = getOption("pac_update"),
character.only = FALSE)
tgen_lme4 <- as.data.frame(tab_modD)
tgen_brms <- as.data.frame(tab_iat_d[c(1:4),])
tgen_lme4$term <- tgen_brms... |
cada1ef5afe2a7bdf554f0cd4db99cff9cd061b5 | 6838ea03822424d0e3eabdb281e02d409006a7f3 | /yspm/man/collect_csv_variables.Rd | eb626cf8a9b7962d8673def2dbb0608616888f36 | [] | no_license | cpfaff/yspm | 8eea7783b29b0183d58ddca3b4af3af94b182cf6 | 46acaba607008d72b143dbed0fe4245e4e09348a | refs/heads/master | 2020-04-23T20:50:47.319430 | 2019-04-05T07:13:16 | 2019-04-05T07:13:16 | 171,452,932 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,435 | rd | collect_csv_variables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function_handle_metadata.R
\name{collect_csv_variables}
\alias{collect_csv_variables}
\title{Collect variables from csv files into a metadata sheet}
\usage{
collect_csv_variables(input_path = yspm::reference_content("data"),
output_path = y... |
27305021b829772b5cdffb05e8c09694315568c8 | cf9b4586abfdb6f859ba840255cb3f4cdbcb2ed1 | /02_try_model1.R | c11867b7cd7531c21711f99bfeabdb914b0c9122 | [] | no_license | gtadiparthi/knocktober | be47996b9ed0e5613ebdc639c777d088e7112849 | 03cffb063fd14171d488cc4cd631fa3533b8cd56 | refs/heads/master | 2021-01-13T08:02:40.905731 | 2016-10-23T10:38:09 | 2016-10-23T10:38:09 | 71,683,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,446 | r | 02_try_model1.R | # Analytics Vidhya Knocktober hackathon
# In this code, we do any preprocessing to the data such as imputations etc.
# Step 0: Clear everything on the workspace and memory
rm(list=ls())
graphics.off()
setwd("/Users/gopalakrishnatadiparthi/Documents/RPrograms/analyticsvidhya/knocktober")
###### Include all the librar... |
0152060a068bb7ae3754072611ef5a4fd5b629c8 | f1d4d986bbfe4d08026fb1c7f5e921becfb8895d | /man/unserializeNode.Rd | 56ce20c3492a20c67544a3320faeb09b3fab6497 | [
"Apache-2.0"
] | permissive | mickash/Adaptive-Bayesian-Networks | 988d3f2fcfeed921055035437e1f4c52f5f89660 | 56611cf9f8562ebcbfa17d876d2a7d27c201b67a | refs/heads/master | 2020-09-09T14:51:25.727845 | 2019-11-13T14:20:59 | 2019-11-13T14:20:59 | 221,476,013 | 1 | 0 | null | 2019-11-13T14:21:01 | 2019-11-13T14:18:43 | R | UTF-8 | R | false | false | 360 | rd | unserializeNode.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/NetworkSerialization.R
\name{unserializeNode}
\alias{unserializeNode}
\title{Unserialize Node}
\usage{
unserializeNode(row)
}
\arguments{
\item{row}{NetworkDataFrame row. See getNetwork}
}
\value{
The unserialized node
}
\description{... |
7c7bac326f316986bd4b19994d310e30756b05be | ee54a85e446285fcc568caffe2dab934089e12e2 | /xp09/01_data_extraction_xp09.R | 84fe5f919564ba9a3130bf7bb752ccf677dad4df | [
"CC0-1.0"
] | permissive | bricebeffara/rwa_evaluative_conditioning_data_analysis | e8697aee9cb7097c19ec9207a092d547658246e2 | 81c35c84148f9579b68624e32c0efc0dbad43e3c | refs/heads/main | 2023-06-03T01:15:34.778559 | 2021-06-17T09:55:12 | 2021-06-17T09:55:12 | 375,408,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,744 | r | 01_data_extraction_xp09.R | ###########
#### RWA & load
###########
# Data preparation --------------------------------------------------------
# Optional generic preliminaries:
#graphics.off() # This closes all of R's graphics windows.
#rm(list=ls()) # Careful! This clears all of R's memory!
## install, load and update necessary packages if... |
5c3172c7370396d81938358bd69cbc27074f4ae8 | 87cb067c3c82e262e28813a1745eaf4b01fab285 | /man/get_sourced_objects.Rd | eedf7bc2eb7e35522c822c703befc3e7970ff676 | [] | no_license | charlesberthillon/clickme | 943ab2ee0f4bb8aa844ec3f98b7440f51c527a23 | 83ad841ba412af0495ac4ba96aff19f2f5705a15 | refs/heads/master | 2020-12-11T01:46:23.122162 | 2014-12-17T23:20:26 | 2014-12-17T23:20:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 603 | rd | get_sourced_objects.Rd | \name{get_sourced_objects}
\alias{get_sourced_objects}
\title{Traverse a list of paths and determine what objects are defined in the
source files that appear in the "translator" folder of each path
It returns a list of sourced objects.
We do this to control what objects get added to the global namespace}
\usage{
get_so... |
fce320867597f7636639e240bfcdfe3eb8648e9e | 604a31300da0d7923819a5e890ce9e860b5bf320 | /R/Functions.R | 2f583af5f2158303dd9736e5de6e54ef2d238dcb | [] | no_license | tallulandrews/scTarNet | f54121bcaf60fdcf6c664dd3c904f2ec1deadd43 | dada65b9290c2f721fe5cce262b2a7df0fa6b54b | refs/heads/master | 2021-01-21T14:49:39.735900 | 2018-09-10T10:53:19 | 2018-09-10T10:53:19 | 95,344,667 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,854 | r | Functions.R | #prevent t-test errors from crashing
getDirection <- function(...) {
obj<-try(t.test(...), silent=TRUE)
if (is(obj, "try-error")) {
obj$p.value=NA
return(0)
}else if (obj$p.value < 0.05) {
return(sign(obj$statistic))
} else {
return(0);
}
}
dcor.test.somevsall <- function(mat, rows, n.cores) {
# P... |
1309b8ec9d8296d2475fe7a8fc48d3241a7b8183 | fd8326488cda5ffcb779bb051101df8668e5e822 | /man/dyntoy.Rd | f93451200f1f8c6cb25b369ce3a11f45fb6d385f | [] | no_license | dynverse/dyntoy | 52ad35edb612455c38dbee1276dbb9cf7d0f4e62 | 0bd547448f1b1d4f16e250a18a3b6c6cdd1648be | refs/heads/master | 2021-06-06T08:32:07.647939 | 2019-05-17T11:10:02 | 2019-05-17T11:10:02 | 103,628,886 | 6 | 1 | null | 2019-05-10T07:08:48 | 2017-09-15T07:40:03 | R | UTF-8 | R | false | true | 292 | rd | dyntoy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\docType{package}
\name{dyntoy}
\alias{dyntoy}
\alias{dyntoy-package}
\title{Generating simple toy data of cellular differentiation}
\description{
Generating simple toy data of cellular differentiation
}
|
7ecc3c97a66bcfa066522a9812e33e0987438590 | 1a8ab42b4aa8213c3bc263376eaf2f1ce07fa113 | /cachematrix.R | d690e65426180e2b9b7dfd0a2a692466a2859451 | [] | no_license | JonnyWPage/ProgrammingAssignment2 | c6ed4d285c61ee6dc89f0d6ccac9271ea2f3d2b0 | 285417ddc3fc43fee558f8faa5736abc5eabbef3 | refs/heads/master | 2021-01-12T13:46:30.678520 | 2017-12-03T23:27:20 | 2017-12-03T23:27:20 | 69,602,467 | 0 | 0 | null | 2016-09-29T19:51:18 | 2016-09-29T19:51:18 | null | UTF-8 | R | false | false | 855 | r | cachematrix.R | makeCacheMatrix <- function(x) {
## x is a matrix with ncol>2 and nrow>2
## makeCacheMatrix creates a matrix object that can
## cache its own inverse
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
get <- function() x
setInverse <- function(solve) m <<- solve
getInverse <- function()... |
5ae285d92a9c01bcadf29355945d80f7b42dadd7 | db3e846cda5e996d42ecb994708fbbf793490b18 | /19_190313_Partitions.R | 82cf86fc5406df06fb5185a6c3bde81e053166f0 | [] | no_license | tomzg12/machinel_R | 5c55dc246aed9b1acc81a50651948aa4bd81db5d | d1bcf96d85a90c27b34ddc73f12879691d5dd1f3 | refs/heads/master | 2021-06-25T10:32:28.214983 | 2020-11-20T19:49:20 | 2020-11-20T19:49:20 | 173,021,947 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,506 | r | 19_190313_Partitions.R | # Importar librería 'Caret'
install.packages('caret')
library(caret)
# Importar dataframe
data <- read.csv('F:/BD/GitHub/mlearningcourseR/r-course/data/tema2/BostonHousing.csv')
# Crear dos sets (entrenamiento, validacion)
raining.ids <- createDataPartition(data$MEDV, p = 0.8, list = F)
data.training <- data... |
75628ac53e2edb25d6533fb1a018ffb4f06735af | f5dac80016e1ba16f7f33a69dbc3c00f032cfab5 | /man/is_time.Rd | 8fdac41fb02383d5372b17d782d9be9e18d6dadb | [] | no_license | imanuelcostigan/predrcats | 154820621a92e63a804e9139b31a45cf9840756d | bcd7b3ab2f432d3393969f9091e47fb3c1fcd5a1 | refs/heads/master | 2021-01-21T14:25:20.304571 | 2016-07-02T05:07:03 | 2016-07-02T05:07:03 | 56,373,950 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 465 | rd | is_time.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/others.R
\name{is_time}
\alias{is_POSIXct}
\alias{is_POSIXlt}
\alias{is_time}
\title{Is a time (Date-Time)?}
\usage{
is_time(x)
is_POSIXct(x)
is_POSIXlt(x)
}
\arguments{
\item{x}{object to test}
}
\value{
\code{TRUE} if \code{x} inherits fr... |
f4b6d36046c399fbc5c3f0297bd217afd70800ec | e70dff828f3912a755d8a95d9b6c4b8832c2b7a1 | /scatterplots_topSanos_vs_todos_subtipos.R | 0978edf9d7d1c4bc09fc666fe5ab4294b5691b36 | [] | no_license | tadeito/scatterplots_for_aracne_networks | 9f77aaffd64e403d4c863e855ad78242ce037464 | 873c02a9898cf515b2019288e38d401f924d7e54 | refs/heads/master | 2021-01-19T01:04:08.040425 | 2016-07-25T22:59:25 | 2016-07-25T22:59:25 | 64,162,726 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,592 | r | scatterplots_topSanos_vs_todos_subtipos.R | #####################################################################
## xy scatterplot for contrasts (healthy vs tumor subtype) with R #####
#####################################################################
setwd("/mnt/e/tadeo")
library("ggplot2", lib.loc="/home/tadeo/R/libs... |
2c862f3e8f11c741e2ced789841482cf1c19850e | b9a7317a4f83ec4d51f00cc574c7e492e5e5659f | /R/data.grid.R | e4cc9718fb98e32d4fb7efd6cbc71639dff6a852 | [] | no_license | rubenfcasal/npsp | 98120f2d1196e1f96941d2a874b41fcbf5fd9694 | 9655e881102c642219cb792607de93062bf138a2 | refs/heads/master | 2023-05-02T01:14:01.909236 | 2023-04-22T09:59:19 | 2023-04-22T09:59:19 | 64,307,277 | 5 | 6 | null | null | null | null | UTF-8 | R | false | false | 9,467 | r | data.grid.R | #····································································
# data.grid.R (npsp package)
#····································································
# data.grid S3 class and methods
# coords.data.grid(x)
# coordvalues.data.grid(x)
# dimnames.data.grid(x)
# dim.data.grid... |
3bf76617c5fe810c7ec023ea082d2ad23090c9cb | 5f74a6d3a3ac0aa6eb0a3cf1711875ccbddd5a28 | /logistic_mtcars.R | 0bffaf4377ad737994c2f291e5ce0ad194ca2a9b | [] | no_license | avadhootdeshpande/DataScience | 074398ce7091d628e155c82fe67f015ec226992d | a832dc6d3a73a39c9006abb381e52df754027609 | refs/heads/master | 2020-06-01T04:23:50.429618 | 2019-06-09T13:56:32 | 2019-06-09T13:56:32 | 190,634,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,385 | r | logistic_mtcars.R | #Predict if a vehicle is automatic or manual - mtcars
logmtcars=mtcars
head(logmtcars)
library(caret)
summary(logmtcars)
set.seed(111)
traininput=createDataPartition(logmtcars$am,p = 0.8,list = FALSE)
Trainmtcars=logmtcars[traininput,]
Testmtcars=logmtcars[-traininput,]
sum(Trainmtcars$am)
sum(Testm... |
375941f2844a58f943dae1034328095cd11532b9 | 0df74bd962e4b7158f3ca513f2336e54fdb4007b | /man/lik_ratios.Rd | f0c6b3db55265a306f17b2ac62d016444d71586a | [
"CC0-1.0",
"CC-BY-4.0"
] | permissive | cboettig/earlywarning | 8491e60225200c75dd2903fd27fa60a04f8d3a25 | ae00bfc1748f861c942a920785d4f34963412775 | refs/heads/master | 2021-01-25T10:06:29.025812 | 2017-10-17T04:26:47 | 2017-10-17T04:26:47 | 3,328,506 | 6 | 4 | null | null | null | null | UTF-8 | R | false | false | 494 | rd | lik_ratios.Rd | \name{lik_ratios}
\alias{lik_ratios}
\title{extract the likelihood ratios under both null and test simulations}
\usage{
lik_ratios(reps)
}
\arguments{
\item{reps}{a list of outputs from compare()}
}
\value{
a data.frame of columns "simulation" (null or test),
"value" (deviance between models on that simulation)... |
0d0ed38a4f853b3a3741202bcf51aeda90f678a1 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /esreg/inst/testfiles/G1_fun/libFuzzer_G1_fun/G1_fun_valgrind_files/1609892604-test.R | d22b93e62da8cdca8d0680ab44593998812133df | [] | 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 | 117 | r | 1609892604-test.R | testlist <- list(type = 1193814627L, z = 4.44387685038413e+252)
result <- do.call(esreg::G1_fun,testlist)
str(result) |
7633bc90773ff91c0c9a1f45ac1c43ea75e9118a | 1dc421a198c86a888f2029ce96d09924aac6cab2 | /R/fbed.glmm.reg.R | 421ab4cee84a780c0a14dddd47fb2a02d537032b | [] | no_license | JokerWhy233/MXM | 519b8216a1a2a965a8e43531fd52fb0a7c460f86 | 035673338ed6647239a4859981918ddf3b8ce38e | refs/heads/master | 2021-08-22T14:54:05.597447 | 2017-11-30T10:41:38 | 2017-11-30T10:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,157 | r | fbed.glmm.reg.R | fbed.glmm.reg <- function(y, x, id, alpha = 0.05, wei = NULL, K = 0, method = "LR", gam = NULL, backward = TRUE, type = "gaussian") {
#check for NA values in the dataset and replace them with the variable median or the mode
if ( any( is.na(x) ) ) {
#dataset = as.matrix(dataset);
warning("The dataset... |
d1c1cfb653a1c3db5a8bbcae145a7871265086f4 | 60884ab1db4935c61b405bffc7524d6d47ba8cc1 | /man/update_dc.Rd | 40cf4c488dc0335ee8b14edb6777591fb16de90e | [
"MIT"
] | permissive | chintanp/wsdot_evse_update_states | 82ac74bbe24226487ff3cdac6908537d72b98d5e | e959ace59d69225b8235799a4979c11b9627365a | refs/heads/master | 2021-08-31T08:33:08.616016 | 2021-04-27T19:52:25 | 2021-04-27T19:52:25 | 211,201,432 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 324 | rd | update_dc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/update_dc.R
\name{update_dc}
\alias{update_dc}
\title{Find if there is a destination charger}
\usage{
update_dc(a_id = 1)
}
\arguments{
\item{a_id}{analysis_id}
}
\value{
}
\description{
Find if there is a destination charger
... |
699bf3aaef84e29c9f48ba665152e520dbad1775 | 35e707c55cff22002c6c66f967837736e3e0a0d8 | /tests/testthat/testcor_stressed.R | 5dee86bbd6e6a490733107a29c5ccd2a2cc5fc7e | [] | no_license | spesenti/SWIM | 9f4416b990e9bc82109b87b849ffd208f8bfe77f | 4e9cd0b2b4e4ad36e0798b1d67fdcd03c2d7114a | refs/heads/master | 2022-05-04T10:16:25.964880 | 2022-01-10T12:41:16 | 2022-01-10T12:41:16 | 185,445,679 | 5 | 2 | null | 2022-01-09T23:04:06 | 2019-05-07T17:08:21 | HTML | UTF-8 | R | false | false | 3,383 | r | testcor_stressed.R | context("Correaltion")
library("SWIM")
################ stress ################
set.seed(0)
x <- as.data.frame(cbind(
"log.normal" = rlnorm(1000),
"gamma" = rgamma(1000, shape = 2),
"normal" = rnorm(1000)))
res <- stress(type = "VaR", x = x, alpha = 0.9, q_ratio = 1.2)
res <- stress(type = "VaR", x = res, alph... |
6d425a52f9230a94b9ff3029cd7c776dbf370f25 | da9cdef9c1dab99c3b805e9560add92fdb9fdca9 | /WizualizacjaDanych/app.R | 048f7642e49234d3638df5cf3c0c125815385254 | [] | no_license | aleksandramiesiac/BigDataProject-QWERTY- | f4875f2e607f89b5ba6b83bc79c52b6555a0d933 | e9e4c1de7e1d3dd018e1403e9779f61e0d53ba5b | refs/heads/master | 2022-01-12T21:48:36.487353 | 2019-06-05T00:37:43 | 2019-06-05T00:37:43 | 180,004,780 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,615 | r | app.R | ### Packages
library(shinydashboard)
library(shiny)
library(dplyr)
library(ggplot2)
library(ggthemes)
library(RColorBrewer)
library(dplyr)
library(scales)
library(stringi)
#-----------------------------------------------------------------------------------------------------------------------
### Data
... |
93b88ea0e8245363f413a1ecc8152be9ad5e5dbf | 260be20ea7e944dd620f48cbadc071811b5a6213 | /apriori_algorithm.R | 02e803f08d094b6dd3d58a5fd0f10cdccdbadf0d | [] | no_license | PoojithaSuryadevara/Market-Basket-Analysis-with-R | ff666f0a5555152e10a747c7cd72ddc36d4c100b | 1c9f4d5affefa86466d984b6e47011819db04535 | refs/heads/master | 2020-03-23T03:14:17.507368 | 2019-06-10T04:28:17 | 2019-06-10T04:28:17 | 141,018,460 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,761 | r | apriori_algorithm.R | #install packages
install.packages("arulesViz")
library(arules)
library(arulesViz)
# get and set directories.
getwd()
setwd("/users/poojitha/documents/data mining")
#read the transaction data and assigning it to class object.
FDGROC <- read.transactions("/users/poojitha/documents/data mining/transactions.txt",s... |
abeab8df238703e6f6f2e5e8d2ce52a891ba860f | 884294cf55b43c2a577422b34128bcf1db416ccb | /plot1.R | 46aa287e2eb887414404fa1bc00c1663aa0f1b6d | [] | no_license | belgraviton/ExData_Plotting1 | ed3cf207234b50feec687fe9db9e3320fd3bc872 | 49d1a9f474e216382188b81ddae6f456e57b58f0 | refs/heads/master | 2021-01-15T12:09:14.131155 | 2014-05-10T14:46:12 | 2014-05-10T14:46:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,074 | r | plot1.R | ## This script creates png histogram of household global minute-averaged active power distribution
## Data file 'household_power_consumption.txt' should be in current R directory
## Reading all data
data = read.table(file = 'household_power_consumption.txt', header = TRUE, sep = ';', colClasses = "character")
## Addi... |
266054e207c7ca9b6fbaf756f0be3fc697aedf9c | 53078bb734f8c5a246d0112d09009ba28b50a66e | /splines/TMB/TMB_spline.R | c27249e2eff4fd86783ce714337a4c66ff6a52b0 | [
"MIT"
] | permissive | bowlerbear/sMon-insects | d30a6a9df0b174fd491173b2557bfe0f7ef67418 | 00e547b594ab2b50788c67860a28acc95057883b | refs/heads/master | 2022-01-06T09:00:32.042770 | 2022-01-04T10:55:15 | 2022-01-04T10:55:15 | 119,070,555 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,942 | r | TMB_spline.R | #read on data
#based on
#https://github.com/r-glennie/occuR
#https://r-glennie.github.io/occuR/
#remotes::install_github("r-glennie/occuR")
library(occuR)
library(occuR, lib.loc="/gpfs0/home/bowler")
library(tidyverse)
#myfolder
visit_data <- readRDS("splines/JAGS/listlengthDF_MTB_Sdanae.rds")
#add coordinates
l... |
c1f1c198e6397dfbe973d365839d7da170d089d0 | fef9155106b66ee0f21d6b6c54ac00f6b7f6b688 | /LongTerm/A375+A2058.R | 7eb92960ad13691398f1875acafd51a5267ac1b7 | [] | no_license | paudelbb/Paudel_et_al_2016 | 18dff7353562e250c449bae7e090d7273c970e81 | f27c27a0f3e89db9acc8a416e490560b1b9d6210 | refs/heads/master | 2021-01-12T09:56:39.769241 | 2018-01-18T21:16:47 | 2018-01-18T21:16:47 | 76,297,130 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,323 | r | A375+A2058.R | #=====================================================================================================================
# Analysis of A2058 response in PLX4720
#=====================================================================================================================
# Set the working directory, read the file... |
0cefa9526e2af9efe362d2fcd35a631cd154a015 | 319afdb8fe0ff0556d75e3ba287f956792b67538 | /scripts/PCA-across-patients.R | c446529bdec8c796823fe58e4f012af5929e19b0 | [] | no_license | myazdani/KEGG-study | c4866a403494695fd23371a83688548b938a8123 | 223861de499f770fe43403f68bc46f7b4b9e74de | refs/heads/master | 2021-01-17T17:58:39.386078 | 2018-09-01T01:37:34 | 2018-09-01T01:37:34 | 58,764,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,454 | r | PCA-across-patients.R | ####
#
#
## explore reducing KEGGs by their uniqueness (as a way to get rid of a lot of zeros)
##
#
#
##
setwd("~/Documents/KEGG-IEEE-BigData/")
df.patients = read.csv("./data/table-kegg-clean-transpose.csv", header = TRUE, stringsAsFactors = FALSE)
numeric.df = df.patients[,-c(1, ncol(df.patients))]
num.unique = ap... |
5f0e246355a2da5759cfd23aefb82dc96f789347 | efcda1097e024f543e0359b68aa349187ccedd46 | /Brainwaves-Societe-Generale/ma,knn,eval.R | 1c12d4c35e2d561659b32467fca302a025c9427b | [] | no_license | neelnj/Data-Science-Competitions | c473c875c0724de6833a02242288bb9cb86cc055 | 0c926347957162ff2c344330eee854f9bd4a59c2 | refs/heads/master | 2020-07-04T03:41:01.341726 | 2017-03-23T09:52:47 | 2017-03-23T09:52:47 | 74,213,768 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,532 | r | ma,knn,eval.R | library(class)
E=read.csv("train.csv")
cl=E[,ncol(E)]
cl=as.factor(cl)
E=E[,-ncol(E)]
E=E[,-1]
#E=E[,fs]
#ma <- function(x,n){filter(x,2*c(1:n)/(n*(n+1)), sides=1)}
ma <- function(x,n){filter(x,rep(1/n,n), sides=1)}
nma=20
nk=30
svm_res=vector(length = nma)
acc=matrix(ncol = nk,nrow = nma)
for(ii in ... |
10beeda4eed4a2c1cfe2679ce66a269d7c209889 | ede41b362f24057224cbcd608695ad2ad2a0144c | /page_uploads/Farragut_1942_pt1/build_manifest.R | 9321210f748ce12807ec95e5d1276f1fd56b9556 | [] | no_license | oldweather/oldWeather5 | 57ac0a899ea5e3ee811decd2a452aec7e59ffd50 | fc0eeda44e8bd4aae99ce545f4dec9d1bce2823e | refs/heads/master | 2020-04-06T10:03:03.464364 | 2016-11-10T17:11:16 | 2016-11-10T17:11:16 | 48,338,644 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 650 | r | build_manifest.R | # Make the manifest CSV file for the Farragut 1942 images
log.files<-Sys.glob('/data/local/hadpb/oW5.uploads/Distant_Seas/Navy/Farragut_DD-348/Farragut-DD-348-1942-pt1/for_upload/*.jpg')
# Redirect ouput to the manifest file
sink("/data/local/hadpb/oW5.uploads/Distant_Seas/Navy/Farragut_DD-348/Farragut-DD-348-1942-pt... |
99b6773a7b8fbd72ecb28112139c74ff81a5f59a | a784fbda4d32c7700a9737616c91ff2a84ca5182 | /module1.R | e3d70716fa744eb1fc4910453ed780deee60e053 | [] | no_license | leojacoby/moneyball | 1f2716695214db5f8ec7875710d97b2927f12bcc | 26dd9afe5860fdd7cff368930fa2dac71cf4a05c | refs/heads/master | 2020-04-14T06:39:57.943503 | 2018-12-31T19:16:50 | 2018-12-31T19:16:50 | 163,692,500 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 608 | r | module1.R | fgm <- c(805, 572, 470, 710, 698, 737, 498, 373, 215, 552)
fga <- c(1597, 1349, 1034, 1617, 1381, 1416, 1112, 886, 442, 1061)
tpm <- c(402, 115, 64, 236, 186, 87, 126, 81, 0, 2)
tpa <- c(887, 327, 206, 657, 480, 282, 342, 243, 2, 6)
ftm <- c(363, 272, 395, 720, 447, 359, 250, 201, 92, 208)
fta <- c(400, 344, 475, 837, ... |
8450a64344a31e150f0a97875d2af7afbf9255fd | 3bba52743cc37cd587df45d1e3cfb25fde65ce2b | /src/datacleansing/createrating.R | fef38aa5cc98e405d71b7397be32c2fa8aab2d08 | [
"MIT"
] | permissive | kim3-sudo/march_madness_analysis | 5b4229453ccba27e6ce543c19691b2c06d0ab469 | 8d9c0b72f50e3fb1c0a7d8241a82afd4b63639ce | refs/heads/main | 2023-04-08T09:51:18.644655 | 2021-04-21T18:25:31 | 2021-04-21T18:25:31 | 342,004,796 | 0 | 0 | MIT | 2021-03-16T04:01:57 | 2021-02-24T19:01:00 | Python | UTF-8 | R | false | false | 1,185 | r | createrating.R | ### March Madness Analysis
### Steven Lucas & Sejin Kim
### STAT 306 S21 @ Kenyon College
# Prerequisites ----
### You should have already downloaded the tarball with CSV data
### Unroll the tarball and put it in a directory that R has +R permissions for
### Make sure you have a directory that R has +RW permissions to... |
41ddec47da5d2006efc340cad3c6ea53e2633949 | 594f65513c5f1a18e61ba7a748da58942c1896fb | /old/scripts/layers.r | 0f835874a0601058447d92833ed2f400bda7a52e | [] | no_license | cyang-2014/ggplot2-book | f050778b2bf326511ab9cef21b4f76da8ac8c2fe | 49af540b919e69e02ff1686260e2805cd8459def | refs/heads/master | 2021-01-16T22:12:14.512001 | 2015-07-30T22:28:04 | 2015-07-30T22:28:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 886 | r | layers.r | source("latex.r")
l(decumar)
aesthetics <- function(o) sort(c(names(o$default_aes()), o$required_aes))
params <- function(x) sort(setdiff(names(x$parameters()), c(aesthetics(x), "...")))
output <- function(o) sort(names(o$desc_outputs))
comma <- function(x) paste(escape_tex(x), collapse= ", ")
ap <- function(x) paste... |
1d4a62e9a2f5a02bf8a53daf827d215e156d7fe6 | 2e0a2841d2e00e22a91924e1f35a5689511eb6b3 | /Scripts/Notes.R | 6046ba852fc54535f50cbad67875014c0d920393 | [] | no_license | CarsonLKeeter/RMACSM_Conference | ef1544c13fc9cec0153d8b40261234a4dba1de6d | cf410de4adc5a50133d0f7af92330dd0d410b7a1 | refs/heads/master | 2020-04-19T00:38:45.506445 | 2019-01-27T20:36:22 | 2019-01-27T20:36:22 | 167,852,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 500 | r | Notes.R | #Notes
#1) Largest mean daily change score compared to largest mean change score of restriction week. Set value = mean largest change during baseline. Compare change score between baseline and restriction. Mean change score = mean restriction (avg 3-7) - mean baseline (avg 8-10).
#2) Is the change observed differently... |
3801c3cd59579c4a27d17507ee3a36531ebe0412 | c7b332e8cd2371fc24356804c2d56ce2faa5975e | /man/use_survival_analysis.Rd | c7a43bd49e7ed2ff34a4bf3e7c07dff926ee1716 | [] | no_license | sheejamk/packDAMipd | a138a132bb34da27dbbf7c02c17d0b26650c7458 | f37cbe0702f8bb9addc4ae1875669a08f5d20416 | refs/heads/main | 2023-03-18T19:36:50.293630 | 2022-07-28T20:32:51 | 2022-07-28T20:32:51 | 342,639,162 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,719 | rd | use_survival_analysis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/2b_parameter_estimation_survival_functions.R
\name{use_survival_analysis}
\alias{use_survival_analysis}
\title{############################################################################
Get the parameter values using the survival analysis}
... |
e9fa218ea3b2c9a9b44261c4af3446481160ce5c | 468394e5eea229ac8076cdb399fbe14e803311f4 | /man/gendata.ep.Rd | 1ff4dae49870b10c6c93045190a2a1dc8f9dd61f | [] | no_license | cran/RxCEcolInf | 825ab7284a775c45f9c059bbe72d1a834be0bd64 | 6c02fe52ce6f582a08488debaca58ec823b708da | refs/heads/master | 2023-04-07T04:32:42.759661 | 2021-11-06T13:50:12 | 2021-11-06T13:50:12 | 17,693,465 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,259 | rd | gendata.ep.Rd | \name{gendata.ep}
\alias{gendata.ep}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Function To Simulate Ecological and Survey Data For Use in
Testing And Analyzing Other Functions in Package}
\description{
This function generates simulated ecological data, \emph{i.e.}, data in the form of co... |
3844d31b9f4e522c96e07a529e383044ea6c3daa | c234fabf31a9f69610b2135486ca99dc3e61aa75 | /man/exchange_rate.Rd | 4c40ae715eb4212e38a28dff90b02eb039a0b611 | [] | no_license | cran/geckor | 8a1b5258ed648835e90333cc73d285c5daa8e127 | 1d585c4dfe990622be9b0c2c7bbde0d567260224 | refs/heads/master | 2023-08-23T08:54:12.952509 | 2021-11-01T14:20:02 | 2021-11-01T14:20:02 | 385,804,363 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,950 | rd | exchange_rate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exchange_rate.R
\name{exchange_rate}
\alias{exchange_rate}
\title{Exchange rate}
\usage{
exchange_rate(currency = NULL, max_attempts = 3)
}
\arguments{
\item{currency}{(character or \code{NULL}): a vector with abbreviated names of th... |
2b7cc003cbd48f870895477b2de738b3522637f2 | 46fc788c22af1c49f9a3bc013e1bf1abf66c6231 | /dataAcquisition.R | f694b9b766121b863b50078ff0963c6cf92ddb39 | [] | no_license | hoyinli1211/WCprediction2 | 700f92ed1e4f96d9ef92aa8f13158eb6a94889cb | 0741304d6ce7468ebf0aecbd1c9466fd1003c1ea | refs/heads/master | 2020-03-21T20:57:51.575567 | 2018-07-08T16:04:23 | 2018-07-08T16:04:23 | 139,039,257 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,001 | r | dataAcquisition.R | ################################
#data acquisition
################################
library(rvest)
#FIFA coca-cola ranking
#source: https://www.fifa.com/fifa-world-ranking/
df.fifaRanking.Extraction <- function (v.year, v.team) {
v.year <- as.character(v.year)
v.url <- df.wc.timeframe %>%
filter(year==v... |
b4977c3a2669345eee1563f8e9921a7ae2c4fef3 | f23cb8b279cc83b0ccb87b1cb320084f595d7dee | /OpinionDiffusion/Source/cluster_tweet_id_mapping.R | 213f9e6a37307ba0881c9be99aaaa634a75d80c0 | [] | no_license | AadhithyaRamesh/Opinion_diffusion | 5f243b2d084de19389a3fad4e6e38501561ba42b | b33d49a760a7a1c46d38ad1fd75bcb90292797a8 | refs/heads/master | 2020-03-28T14:10:04.406405 | 2019-03-20T08:03:32 | 2019-03-20T08:03:32 | 148,462,763 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,013 | r | cluster_tweet_id_mapping.R | library(igraph)
library(hashmap)
retweet_table = read.csv("../Data/demonetization_retweet_table.csv", sep = ";", stringsAsFactors = FALSE)
cluster_table = read.csv("../Data/demonetization_cluster_tweet_table.csv", sep = ";", stringsAsFactors = FALSE)
unique_clusters = 1:max(cluster_table$Cluster.number)
cluster_twee... |
d73a895ec12799734a589e6b7951d2540e264d28 | 37804579772f536b8703c27eba4185ab41d30d16 | /demographies.R | 671b6bd63082b5135784bb1dc87ce141b93e8a1e | [] | no_license | abhishekterdalkar/World-Bank-Demographics | f126daad0d3eaec6d3031affe9fe61cad448fed2 | 625d57654b9f5f1fe247f030ff5cd67f8decd3d8 | refs/heads/master | 2022-04-21T10:33:54.104144 | 2020-04-20T18:13:13 | 2020-04-20T18:13:13 | 257,245,388 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,200 | r | demographies.R | getwd()
stats <- read.csv("P2-Demographic-Data (1).csv")
head(stats)
colnames(stats) <- c("Country","CountryCode","BirthRate","InternetUsers","IncomeGroup")
tail(stats)
nrow(stats)
ncol(stats)
summary(stats)
testDF <- data.frame(Code = Codes_2012_Dataset, Countries = Countries_2012_Dataset, Regions = Regions_2012_D... |
15eace57bd2db5f0a2acdc5bcd601811adbea180 | 9b3455cfbb8a16b9380a5f8a725cc1e410301761 | /Web Scraper.R | 3654087331caa8604c5e0518140a576ea0342e1d | [] | no_license | ChapmanNitta/R_Web_Scraper | d289a8f3f541d27cbd895663d635dd3a0c882674 | 499d088049d16d7f0bb05c09d0936cc7cf50c793 | refs/heads/master | 2022-01-21T17:35:37.216460 | 2019-07-22T02:49:04 | 2019-07-22T02:49:04 | 198,135,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,878 | r | Web Scraper.R | library("rvest")
library("googleVis")
library("tidyverse")
library("xml2")
#Access the specific movie theater's show times web page from your R code.
#. Import the HTML content of the show times web page into an R object called"Showtimes".
URI <- 'https://www.cinemark.com/pennsylvania/cinemark-university-city-penn-6... |
8ebe2dad864e4903126349a58554ea1f991324c2 | d0a780845a48a3190c3861224eccc1cf077b750a | /R/TF_Activity.R | 12ec54ea6fa81b719bb7ce21ca693c8ec106d9ec | [
"MIT"
] | permissive | lusystemsbio/NetAct | 58f77c079262471e69a060bf14c635dc3ec36d16 | a763ef165e6c05424439c674566eaac9f107a0dd | refs/heads/master | 2023-04-26T16:05:06.257855 | 2023-04-19T16:14:28 | 2023-04-19T16:14:28 | 285,619,557 | 12 | 2 | MIT | 2022-04-06T19:32:12 | 2020-08-06T16:30:48 | R | UTF-8 | R | false | false | 7,465 | r | TF_Activity.R | ########################################################
################ TF Activities Function ################
########################################################
#' Inference of TF activity
#' @param tfs a vector of selected tfs
#' @param GSDB gene set database (a list of gene sets, each of which is comprised... |
e74cb4517fbcadd753076c799f39d58a0cc03c9c | 3cbe123168055dd2e245e7fd4a2a052441c520a8 | /R/annotate_functions.R | 15bfe777e311f0510a496cf786e1fed0c980af41 | [] | no_license | westbrook-lab/MEMA | 21ad5980df5f7f13181cbb94dfa96365231399b7 | 7fd622576a4322418f497c0883a1f5ea4ea8fcf3 | refs/heads/master | 2021-01-20T13:36:27.269466 | 2017-01-18T19:01:21 | 2017-01-18T19:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,603 | r | annotate_functions.R | #Functions to support MEMAs printed in 8 well plates
#' Rotate the metadata 180 degrees in Array space
#'
#'@param DT A data.table of metadata with Spot, ArrayRow and ArrayColumn columns.
#'@return The same data.table rotated 180 degrees in array space. The ArrayRow, Arraycolumn and Spot values are updated.
#'
#' @ex... |
5bb549cd3b5f358d69d3466175983e0cab82e0bf | 7be2f6044afbbf654bebca5caa7a7e34b0e75d42 | /man/print_dict.Rd | e05e77e394176bb1d143b0f85a3ffda390720e59 | [
"MIT"
] | permissive | KWB-R/kwb.pathdict | b6228fd423dbc6de33094e997644e0a6ed86dd33 | b107485e18408a1bfb0346c785ce28d90fa6b087 | refs/heads/master | 2022-06-16T01:50:12.815755 | 2020-01-10T13:53:33 | 2020-01-10T13:53:33 | 175,963,892 | 0 | 0 | MIT | 2019-03-17T17:17:06 | 2019-03-16T11:33:35 | R | UTF-8 | R | false | true | 335 | rd | print_dict.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{print_dict}
\alias{print_dict}
\title{Helper function to print the dictionary to the console}
\usage{
print_dict(x, maxdepth = 1, compressed = NULL)
}
\description{
Helper function to print the dictionary to the console
}
\key... |
68ba18f78c928e4080040c3bdd2e0826609b5029 | a36e639e16fe3008ffd166377a7af05ca1c76fba | /analyses/code/2.1.2-risk-loss-relation.R | a4392fc64d9e37263a1bf7443ab4666ad4d4145d | [] | no_license | JanaJarecki/RRC | 91ecaa54082972919f85187368788ae59a7d466f | 1fa413f607747deeff62daad4fffcc0f4faa6365 | refs/heads/master | 2020-04-27T07:51:38.701073 | 2020-04-24T13:24:06 | 2020-04-24T13:24:06 | 174,150,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,861 | r | 2.1.2-risk-loss-relation.R | library(data.table)
library(papaja)
library(corx)
# z-standardise or not?
z <- FALSE
# Read the data
d <- fread("../../data/processed/study2.csv", key = 'id', colClasses = list(factor = c('id', 'index', 'quest'), double = "perception"))
# Mean-center the perceived ratings (1-7 Likert-type scale)
d[, perception := p... |
7dc297e03bf79f1e1da9b3c4520ff63e567594e7 | af6952b5f75ac8f6268ee148b138ad2de69887e2 | /man/microtiter_data_frame.Rd | 59d2df613b5bf40a5ef0faa61dec2e13a63acbba | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | briandconnelly/microtiterr | 361f36dc748db1d0b30d051d6d6946809443cca4 | 4d80ff62cb3c3abee74c0c820f104168428ef8e6 | refs/heads/master | 2021-01-19T00:50:53.459630 | 2017-04-18T00:23:58 | 2017-04-18T00:23:58 | 87,212,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 910 | rd | microtiter_data_frame.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/microtiter_data_frame.R
\name{microtiter_data_frame}
\alias{microtiter_data_frame}
\alias{microtiter_tibble}
\title{Create a Data Frame or Tibble with All Wells in a Microtiter Plate}
\usage{
microtiter_data_frame(nwells = 96, include_well = ... |
872eb6229fc30f061e7508589d4a5941e04069f4 | a114996ecfdd212ea60e54238a24b3bf51112b13 | /Problems/Problem12.R | 9985a0de280336feeea5f5b92993767d4c5b6f97 | [] | no_license | Adam-Hoelscher/ProjectEuler.R | 35610697d5bc4c61e9adfaec6d923a424df20486 | e060484365cafcfcd400c3cecacc189293dfc682 | refs/heads/master | 2021-01-23T01:29:54.585429 | 2017-09-11T18:28:46 | 2017-09-11T18:28:46 | 102,432,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 232 | r | Problem12.R | Problem12<-function(){
FactorCount<-function(x){return(2*length(which(0==x%%(1:sqrt(x)))))}
i<-1
temp<-1
fc<-FactorCount(temp)
while (fc<=500){
i<-i+1
temp<-temp+i
fc<-FactorCount(temp)
}
return(temp)
}
|
57106ed4237c7e02d6165733808bb1f3e429864d | 33d5ef0b582ff31345eeb78c8bddf70b49166eb2 | /Models/PenalizedCox/penalizedcox.R | 299d62f33887b04b8a7ee21bd9241fb263006c32 | [] | no_license | 1RuobingLiu/DeepTensorSurvival | 3ad0d60741d06bc1dc9f8969c3286115380e4718 | 6f81515197edf2e5a084ff8771905ba79e5b50ca | refs/heads/master | 2023-07-01T07:43:18.482886 | 2021-08-04T14:24:07 | 2021-08-04T14:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,191 | r | penalizedcox.R | #import libraries needed
library(tidyverse)
library(survival)
library(ggplot2)
library(ggfortify)
library(dplyr)
library("glmnet")
library(coxphf)
library(caret)
library(boot)
library(rlist)
#separate data into train/test set by predefined index
sep_data <- function(alldata, ind) {
sets = list()
... |
4f82c45bf2093253cd5afd205c4b23ee5b5d3dbf | 2c09783547da268fc37456f4dfafb7016f3f9744 | /R/surrounding_signal.R | 6c5f3d926b7d16cdc76b4fb906effbdd72f6d42d | [] | no_license | rpolicastro/deepTSSscrubbeR | 8170048b20de8cab71d759b51b5ef6ad62e85ccd | ccec83f6355f9efaddd925103ca0d62082664aee | refs/heads/master | 2020-09-10T17:31:05.200261 | 2020-03-17T17:27:05 | 2020-03-17T17:27:05 | 221,779,402 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,025 | r | surrounding_signal.R |
#' Get Surrounding Signal
#'
#' Get TSS signal around selected TSS
#'
#' @import tibble
#' @importFrom dplyr select contains count rename left_join bind_rows vars mutate_at
#' @importFrom tidyr pivot_wider replace_na
#' @importFrom GenomicRanges GRanges makeGRangesFromDataFrame
#' @importFrom IRanges findOverlapPairs
... |
be0885d87c7849aadaee478c1f64708d24f9bc37 | ead929cf3aefc7867206e9710cf3ec406545bb63 | /data-raw/quadrats.R | 36b6e8e27ab41916e114edbe5ad18cb2f88dec37 | [] | no_license | lydiaPenglish/STRIPS2veg | cadee6c843d09dfec156defe820937fb68777181 | 3482b932fbd50e76bbe6131b2a9b3cf2a9f3a070 | refs/heads/master | 2022-11-06T07:47:17.287401 | 2020-06-08T17:53:08 | 2020-06-08T17:53:08 | 132,038,278 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,360 | r | quadrats.R | library("STRIPS2PRIVATE")
library("dplyr")
library("tidyr")
library("readr")
library("stringr")
my_read_csv = function(f, into) {
readr::read_csv(
file = f,
col_types = cols(quadratID = readr::col_character(),
easting = readr::col_double(),
northing = readr::col_d... |
f4e0cc38ebf2a7134bf04ae405eb2e7e5182350c | 6cbffff7534b28f260777a84b889eb1e521c02b3 | /R/m_plot_activity.R | 884bad765cc3b1868f6b2992db79392e0af51bb6 | [] | no_license | sebmader/LizardsAndNiches | 281291fcafc844f84d2027bfc3b2f4175f305b46 | cfb3e19a9e60becdc44a2e74292b5e7a2895e120 | refs/heads/master | 2021-06-27T15:38:21.453007 | 2021-02-22T11:54:26 | 2021-02-22T11:54:26 | 217,536,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,415 | r | m_plot_activity.R | #' @title Plot activity times over the organisms reflectance
#' @description This function plots the output of the biophysical model of ectotherms
#' from the NicheMapR package.
#' @name m_plot_activity
#' @param multi_ecto A tidy data frame of summarised output results of the ecotherm function
#' containing the activi... |
e1eade8d1e34860663567b303d149727d8a646ca | 3d811680b4e998091fd76e78017d089cd0749857 | /cytometry_analysis/pLac_EXPRESSOR/run.R | 5e18ef906135864a80aa568ff68655ed44005aa5 | [] | no_license | CIDARLAB/phoenix-core | ba4b59c0a2a80ed288f3d482dc6e397453030519 | c1d3cf6749305fd5a52131419c0234a71410a79b | refs/heads/master | 2021-07-06T22:56:14.940755 | 2017-04-04T22:14:35 | 2017-04-04T22:14:35 | 27,271,578 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 350 | r | run.R | #Import key file
key <- read.csv("key_EXPRESSOR_pLac_81115.csv", header = TRUE)
key [is.na(key)] <- ""
#Specify minimum number of events to be considered
minEvents <- 1000
#Call master script
wd <- getwd()
dataPath <- "data"
source("~/phoenix/phoenix-core/cytometry_analysis/master_analytics_scripts/analyze.R",chdir=T... |
0729a518386ab79c0964e322c41cb19c9e1a298e | c7b332e8cd2371fc24356804c2d56ce2faa5975e | /R/3c_costing_medication_liquid_functions.R | ee115c63241e0593898b3b4888f8577cc3762cf5 | [] | no_license | sheejamk/packDAMipd | a138a132bb34da27dbbf7c02c17d0b26650c7458 | f37cbe0702f8bb9addc4ae1875669a08f5d20416 | refs/heads/main | 2023-03-18T19:36:50.293630 | 2022-07-28T20:32:51 | 2022-07-28T20:32:51 | 342,639,162 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,493 | r | 3c_costing_medication_liquid_functions.R |
##############################################################################
#' Function to estimate the cost of liquids taken (from IPD)
#' @param ind_part_data IPD
#' @param name_med name of medication
#' @param brand_med brand name of medication if revealed
#' @param dose_med dose of medication used
#' @param uni... |
549632a39219fcf452d135426582bc33678b21fc | 03d4032ed72d3f1a543a6ac8aa629f5a49cdd30e | /R/nearest_neighbours_on_a_torus.R | 8eead18c0e9fec24e2224950642cf8dfed6a8aff | [] | no_license | paulnorthrop/donut | 2eea636531c0e272dda7390b6ad71b5804357ccf | d0f36d21f773dadfafb3a55aeff70ee7799585af | refs/heads/master | 2022-04-29T19:21:34.265544 | 2022-04-11T21:55:18 | 2022-04-11T21:55:18 | 211,706,498 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,475 | r | nearest_neighbours_on_a_torus.R | # ================================== nnt ==================================== #
#' Nearest Neighbour Search with Variables on a Torus
#'
#' Uses a user-supplied function to find the \code{k} nearest neighbours of
#' specified points in a dataset, adding the option to wrap certain variables
#' on a torus.
#'
#' @param ... |
606ee1ffd94e5c1853f46f790f403440f47fe6f3 | c824ffc8c30991afc74f8079f8c73f18f7f0ca24 | /tomtomsimple.R | 59437dca97404d841db6f30eb5cc4aab1669e3ff | [] | no_license | tolgakurtuluss/tomtomtrafikendeksi | 65ee2f3f3b5c44a10ea66320193f2c2d9e44ec04 | 73a70539b76c9eae62e20f030e811d352c1acffc | refs/heads/master | 2022-06-01T23:46:46.416262 | 2020-04-30T16:08:38 | 2020-04-30T16:08:38 | 259,356,142 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,090 | r | tomtomsimple.R | library(jsonlite)
library(httr)
library(ggplot2)
library(hrbrthemes)
sehir_isim1 <- "ankara"
sehir_isim2 <- "istanbul"
df <- fromJSON(paste0("https://api.midway.tomtom.com/ranking/live/TUR_", sehir_isim1))
df2 <- fromJSON(paste0("https://api.midway.tomtom.com/ranking/live/TUR_", sehir_isim2))
data <- df$d... |
fded4aa4076530c54c9620bf82466145f4e51c0d | 99dc4dace4f7be1e04655a19bfa26938c319d85c | /R/spark_functions.r | b281f352b1004ac629f460a83cdd68f12625c5c8 | [] | no_license | tito-am/prsim.tools | 04ca8eaf69139801152f8b280b7e7d33a3776055 | 217fe9e5b10746c9be63a39f642bcb5f6cd98351 | refs/heads/master | 2023-03-14T18:57:57.448477 | 2021-03-09T20:14:10 | 2021-03-09T20:14:10 | 291,827,646 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,409 | r | spark_functions.r |
#' ecriture_prsim_vers_csv
#'
#' @param path
#'
#' @return
#' @export
#'
#' @examples
#' mainDir<-'/media/tito/TIIGE/PRSIM/0.9995/bv_csv_hecressim'
ecriture_prsim_vers_csv_angliers<-function(path){
require(tidyverse)
require(readxl)
require(reshape2)
bvs_angliers<-c("Dozois","Lac Victoria et lac Granet","Ra... |
f5baac4214a8e673635ee6c7cb73a61ff066eb56 | 45135fd392d35d2bdc37e7d2af71b3631bc525f3 | /analysis/clustering_analysis_plots.R | 7a29aef2447b0019ffde9245d5643e2a9aba37e6 | [] | no_license | stripathy/valiante_ih | bec9d294ed8ebf58193454c05c91c23fec087f5c | 4f48897f17b6fd9279e50210db42ae999bba4d57 | refs/heads/master | 2022-11-11T12:16:41.622014 | 2020-06-14T13:57:12 | 2020-06-14T13:57:12 | 227,676,491 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,007 | r | clustering_analysis_plots.R | library(ggbeeswarm)
library(ggrepel)
cell_patient_ephys_combined = read.csv('summary_tables/cell_patient_ephys_combined.csv')
cell_patient_ephys_combined$layer_name = plyr::mapvalues(cell_patient_ephys_combined$layer_name, from = levels(cell_patient_ephys_combined$layer_name), to = c("Layer 2/3", "Layer 3c", "Layer 5"... |
5d8f1a09f7b1607ebf108a3280e71ffb4032d6d8 | 651ce52e8e4a3c5bf8812420230334e21c5c0d48 | /R-Script_Assignment 4.R | a6c87dce32e5818ee84e6e3d0d942b06d607385f | [] | no_license | erichmccartney/R | a9f5accddac8531f49343288ee8f1843e8e3d320 | ba26cadee28b05f08ea600aa42ba8c5d763a7651 | refs/heads/main | 2023-06-06T10:03:13.455199 | 2021-06-26T13:12:22 | 2021-06-26T13:12:22 | 333,322,798 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,847 | r | R-Script_Assignment 4.R | # Pre-processing
#1 Load and Clean file
rm(list=ls())
library(rio)
library(moments)
cars=import("6304 Assignment 4 Data.xlsx")
colnames(cars)=tolower(make.names(colnames(cars)))
#2 Convert year and origin
str(cars)
cars$year=as.factor(cars$year)
cars$origin=as.factor(cars$origin)
str(cars)
attach(ca... |
f770ac422f41b8126f88150b377e9e2bdd0e7a53 | 6ae8330e79111d9bd1905bb7eae2125c06a6eb42 | /cachematrix.R | 346695fcc30e221d787b34efdeb18a4b7de1e207 | [] | no_license | linazhu11/ProgrammingAssignment2 | 8457dada4ce2e864fad191a030bb20137cf53916 | 5917d283097d26569941be76a5d12bbf66964399 | refs/heads/master | 2020-12-30T21:35:01.460554 | 2015-05-24T20:25:34 | 2015-05-24T20:25:34 | 36,156,163 | 0 | 0 | null | 2015-05-24T04:37:36 | 2015-05-24T04:37:35 | null | UTF-8 | R | false | false | 1,288 | r | cachematrix.R | ## The functions below, "makeCacheMatrix" and "cacheSolve," calculate the inverse of
## a square, numeric matrix and store the results. These matrix objects can then be
## retrieved later without repeating calculations.
## "makeCacheMatrix" creates a list of functions for a numeric matrix object,
## allowing the user... |
7d36ab04b4e19ca5529f5cbabc53b96711e52000 | 5ef320a68d5ca4ee0e7d8a85cabfc0ca5a7b1647 | /code/solitary_decision_data_analysis.r | 7453cc938a525682d8e85f853821c40c634003fa | [] | no_license | michael-franke/choice-prince-evo | b95f9b70183b8ee84d28cb8aae980107a12b7bf0 | 3cc92c5c30ebd313ad1af3868e615f7c092fd62f | refs/heads/master | 2020-04-05T14:38:33.521104 | 2016-09-23T15:12:45 | 2016-09-23T15:12:45 | 22,376,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,109 | r | solitary_decision_data_analysis.r | require('gtools') # for dirichlet distribution
require('plyr') # to conveniently manipulate data frames
require('ggplot2')
require('reshape2')
# load('data_solitary_decisions_10x10.RDATA')
grandMeans = c(br = mean(data$u.br), mr = mean(data$u.mr), mm = mean(data$u.mm))
show(grandMeans)
means = ddply(data, .(data$n.t... |
bb9173e86957183a9adbde18e81686d998e7f636 | 7b1db0e77a666a37f1597cda09299fb2b0730dac | /week 3.R | 07259ea130fe4b78b883080313be4dfe91431a7d | [] | no_license | ericborn/R-555 | c4d952f043410ef2c8cc666fb3f7449972dc6fc0 | 323174bc56becdb1d1e2e02cd58057de4a11700a | refs/heads/master | 2020-06-20T21:03:21.794297 | 2019-08-21T00:24:49 | 2019-08-21T00:24:49 | 197,248,151 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,936 | r | week 3.R | # 1)
# Read the data into R
dat <- read.csv(file='c:/CS_555_Assignment_3.csv', sep = ',')
# 2)
# The x-axis should be the explanatory or independent variable, which is generally the
# one that occurs first. For this I chose the number of fish meals per week, as the fishermen
# would need to eat the fish befor... |
6c64f6a5bf3d15d96b079ddc7982112ba9f3fa60 | da695472b178c4edb0122c29c7eae68a75e2e408 | /R/Code/Experiments/2017.09.10/run_Benchmarks_2017_09_10.R | 3e59e9d661c6275b8528037e104b3935c4d6997e | [] | no_license | shlpu/RandomerForest | 029b43c9f71569970673138df298741816eb2fe1 | d8e939ab6a878a844542bb83d4a3f8e246fa1998 | refs/heads/master | 2020-03-18T10:19:14.870064 | 2018-05-07T23:41:19 | 2018-05-07T23:41:19 | 134,606,629 | 1 | 0 | null | 2018-05-23T17:52:44 | 2018-05-23T17:52:43 | null | UTF-8 | R | false | false | 8,248 | r | run_Benchmarks_2017_09_10.R | # evaluate classifiers on benchmark datasets
rm(list=ls())
options(scipen = 999)
rerfPath <- "~/"
dataPath <- "~/Data/uci/processed/"
source(paste(rerfPath, "RerF/Code/Classifiers/rfr_function.R", sep = ""), chdir = T)
# source("~/R-RerF/rfr_function.R", chdir = T)
classifiers <- c("rf", "rerf", "rerfr", "rerfp", "r... |
e9eb478ab13ea2176b52451d22f176688e682f0a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hierfstat/examples/boot.vc.Rd.R | be0a749eba45a463bed5a8ffbb3ac7a859b66283 | [] | 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 | 260 | r | boot.vc.Rd.R | library(hierfstat)
### Name: boot.vc
### Title: Bootstrap confidence intervals for variance components
### Aliases: boot.vc
### Keywords: univar
### ** Examples
#load data set
data(gtrunchier)
boot.vc(gtrunchier[,c(1:2)],gtrunchier[,-c(1:2)],nboot=100)
|
2377ca58d95a0cbd29c7951785a1c60258445692 | 908b58d65454acadbfb22c8f6ec32a907d4434fe | /myApp/server.R | 8c74db8894abbf67c5f617daee3aa78cc1aed3b9 | [] | no_license | ysebega/developingdataproduct | c3df6d543e4e23404c679c307ecbdb1703b9c42b | 0116a3ffe313bcd703b44f044ca9ddfa5540e3d0 | refs/heads/master | 2021-01-12T07:15:42.895594 | 2016-12-20T05:30:24 | 2016-12-20T05:30:24 | 76,925,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 641 | r | server.R |
library(shiny)
dfshowCAC<- EuStockMarkets[, 1]
dfshowDAX<- EuStockMarkets[, 2]
dfshowSMI<- EuStockMarkets[, 3]
dfshowFTSE<- EuStockMarkets[, 4]
shinyServer(function(input, output) {
output$EuStock <- renderPlot({
plot(EuStockMarkets, col=input$var, title(main = input$txtTitle))
if (input$showCAC){plot(d... |
e3c1e1f52d8c24b880d9b45e5669740b6bec3467 | 31f3d6031b5ac2310317b72a20ef8f2c29d55049 | /r/src/column_obs/oco_functions/get.wgt.oco.func.r | d7a98cf228eac0bb79328157a7b243ba7e06e450 | [] | no_license | uataq/X-STILT | 638c3c76e6e396c0939c85656a53eb20a1eaba74 | eaa7cfabfc13569a9e598c90593f6418bc9113d5 | refs/heads/master | 2023-07-22T03:14:50.992219 | 2023-07-14T16:40:55 | 2023-07-14T16:40:55 | 128,477,511 | 12 | 5 | null | 2023-06-19T22:57:03 | 2018-04-06T22:46:36 | R | UTF-8 | R | false | false | 6,650 | r | get.wgt.oco.func.r | ### subroutine to get new AK PWF profiles based on OCO-2's
# pressure weighting and averaging kernel, for combined levels
# OCO-2 only provides the PWF, AK and a priori at 20 levels,
# use linear interpolation to "approx" values at given STILT releasing levels
# Dien Wu, 08/05/2016
# Bugs fixed, DW:
# fix 1, 11/20/201... |
11eceaf69fb24dc10d13f24ba4e61c78af954272 | b27f3ca9fb38ee017c82a3308ba774f20070cc6d | /code/final_code_Kristin/extract/difference_maps.R | 9483caffdf11ebd359a8307149570fb5e66e684d | [] | no_license | PennLINC/isla | ef085f563827c50ed51a12f2085ca4589c71f75a | 24e0a252b0c47cca0a458a3a82aaedad16c65187 | refs/heads/master | 2022-04-19T19:40:47.046576 | 2020-04-21T19:29:44 | 2020-04-21T19:29:44 | 151,718,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,475 | r | difference_maps.R | library(methods)
library(fslr)
library(stringr)
library(dplyr)
library(data.table)
library(readr)
pncdir = '/project/taki2/pnc/n1601_dataFreeze2016'
rootdir = '/project/taki2/kristin_imco'
# Brainmask
maskdir = file.path(rootdir, 'masks')
run = function(nsize, type){
imcodir = file.path(rootdir, 'coupling_maps', pas... |
b0ee5b267fdad28a8dba014c8ea6b15643e2c604 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/diffeqr/tests/testthat.R | 61bb589277ad97ef487e7d0c34448bfd76dd1824 | [] | 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 | 42 | r | testthat.R | library(testthat)
test_check("diffeqr")
|
b03d2afba758652179c894f81ca415317bc1a4b7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spMC/examples/mixplot.Rd.R | 81952db0739eb2f7f6e3f0ca3cb9d6d8ad20698d | [] | 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 | 654 | r | mixplot.Rd.R | library(spMC)
### Name: mixplot
### Title: Plot of Multiple One-dimensional Transiograms
### Aliases: mixplot
### Keywords: spatial distribution hplot
### ** Examples
## No test:
data(ACM)
# Estimate empirical transition
# probabilities by points
ETr <- transiogram(ACM$MAT3, ACM[, 1:3], c(0, 0, 1), 100)
# Estima... |
0ce85293fe36862c3ce641f30afd377dbbf844c0 | 438f8d0cea301874566a98cab57cdacf4250c00a | /db_update.R | 733df942b4378106020bd12ca6ca66ceb252657f | [] | no_license | Poissonfish/MC_Function | 3efb019d17dc6d35407cab370e1bdf5ffd3ab62f | 9d02683d1f38b0c0a441850744f7c80f58470357 | refs/heads/master | 2021-01-17T13:17:56.045533 | 2016-10-16T00:19:26 | 2016-10-16T00:19:26 | 59,733,350 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 870 | r | db_update.R | library(RCurl)
library(magrittr)
setwd("/home/mclab/workspace/M.C.Function/db")
db_names=getURL("ftp://ftp.ncbi.nlm.nih.gov/blast/db/",verbose=TRUE,ftp.use.epsv=TRUE, dirlistonly = TRUE) %>%
strsplit("[\\\\]|[^[:print:]]",fixed = FALSE) %>%
unlist() %>%
(function(x){x[grep('^nt\\.',x)]})
#UPADATING DABABASE FRO... |
c362630745000ee0a57582937e8e823417df0e9a | 3c782d524ed4378ecd48022797182f23869f85cd | /first.r | 0f36a56b72fb65f806bb7aa4b6bbbe38cade8eff | [] | no_license | DilberHusainKhan/R_Programming | 9002778db639c00ed4dc5dff84c7e8e7304e724a | 9388317033841a963856af6e7ee8c6ff4e76d0fb | refs/heads/main | 2023-03-30T14:10:07.150039 | 2021-03-17T09:46:45 | 2021-03-17T09:48:40 | 348,655,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 186 | r | first.r | print("Dilber Husain KHan")
#assignment -> , <- ,->> ,<<- ,=
x<-10
x
y<-15
z=99
#vector
apple<- c("red","green","yellow") #c() is a combine function.
print(apple)
print(class(apple))
|
d71a9634a33f1ef791293562424ebb6825063f22 | 7374303c14e64c42bed64be1c8aff78e9aefa3d8 | /inst/doc/kde.R | 7031484140f75cbc8e6302c70c3199d237e6d08a | [] | no_license | cran/ks | cd7d27f9a0d865f577c0bc4e857dbeca09ed55a6 | f571ffa28e9dbc5ab649b4f6ac30879cf8fad43c | refs/heads/master | 2022-11-30T03:47:41.411752 | 2022-11-24T02:40:02 | 2022-11-24T02:40:02 | 17,696,943 | 6 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,761 | r | kde.R | ### R code from vignette source 'kde.Rnw'
###################################################
### code chunk number 1: kde.Rnw:99-107
###################################################
library(ks)
set.seed(8192)
samp <- 200
mus <- rbind(c(-2,2), c(0,0), c(2,-2))
Sigmas <- rbind(diag(2), matrix(c(0.8, -0.72, -0.72, 0.... |
aa4d4678987c7b04768f796a6b0352ab4469303d | b56b1c0841477c9505405170e7a3f56b81088270 | /errortypes/server.R | 7470830d0e75639151e83a133e7c3e3bbfe2fcbf | [] | no_license | dswalter/shinylibs | 365b1202adf12d106f82aad7fa88e2bbc20d8f92 | 7f7f35ab107fe5869a44a174e5be320b2c36765e | refs/heads/master | 2021-01-10T20:46:24.309440 | 2015-05-12T03:49:44 | 2015-05-12T03:49:44 | 29,115,500 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,546 | r | server.R | library(shiny)
library(ggplot2)
library(grid)
multiplot <- function(..., plotlist=NULL, file, cols=1, layout=NULL) {
# Make a list from the ... arguments and plotlist
plots <- c(list(...), plotlist)
numPlots = length(plots)
# If layout is NULL, then use 'cols' to determine layout
if (is.null(layout)... |
812bcbb2b7c55f9f77ec5bd9779edc5deb2d4ffe | 2cc758c13a14e5044b08a7bafb6d9f923a83c773 | /calendar/Tabs_ui/html_styles_ui.R | adf36dad71db9f2a048a78d6f46f963526ab98b6 | [] | no_license | TBrach/shiny_apps | 2cfdbbe11a1702251198d7186c16a87c8b42004d | c727095900d35d0c06107d7e3fdffffbd1d03ff2 | refs/heads/master | 2023-02-27T15:12:24.809444 | 2021-02-08T08:23:53 | 2021-02-08T08:23:53 | 326,055,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 451 | r | html_styles_ui.R | html_styles <- tags$head(
# set color of the info texts
tags$style(HTML("
.shiny-text-output {
color: rgb(102,0,51);
font-size: 15px;
}
")),
tags$style(HTML("
... |
a5ed8a71b2f4b2c2f761deb426e79a1ed2561df2 | 4d242778c9ed5edc3ef5ba1d75b996151c88c49f | /r-scripts/pop.R | df1b3d6765ecd607037907fcb7d60adac7c03ce3 | [
"Apache-2.0"
] | permissive | pviotti/lurch | 39486ce896ed2eab703f75e33e68e1da4cd5a950 | ec8e33fdda1bdec8672348ee1728f4f7f25f9c54 | refs/heads/master | 2021-01-19T16:46:27.710869 | 2013-09-17T13:21:50 | 2013-09-17T13:21:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 338 | r | pop.R | suppressMessages(library("VGAM"))
param_zipf = 2.0 # zipf parameter
n_files = 50 # number of files
n_req = 1000 # number of requests (downloads)
ps = dzipf(1:n_files, n_files, param_zipf)
req = sample(1:n_files, n_req, replace='TRUE', prob=ps)
#H = hist(req, breaks=1:(n_files+1)-0.5, prob=T)
#lines(1:n_files, ps... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.