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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a093e02b2ce226dd6e00b7b10ec33b053c74d163 | 16dcba576362af261592e4a94bab06f23c9f9b6e | /analysis/scripts/viznetwork.R | ba3058fb297b103b8715db4dbdb5183a5284c93f | [] | no_license | confunguido/prioritizing_interventions_basic_training | 1bcaa53a20774a4a47d2ca73faa505f623c661b8 | 19911fb4f251bac67ee42c50ffb4e11137f28c6e | refs/heads/master | 2023-06-26T05:49:01.596517 | 2021-07-12T14:32:02 | 2021-07-12T14:32:02 | 384,942,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,281 | r | viznetwork.R | library(igraph)
load('FB_fit.RData')
############################################################################
# plot network graph
x = 102
edges1 = edges[[x]]
date.symptoms1 = date.symptoms[x,]
isolate.date1 = isolate.date[x,]
quarantine.date1 = quarantine.date[x,]
campusCases = edges1[which(edges1[,1]!=0),]
sym... |
892828ba662b4347bc99c623384c88eb979c4328 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pivottabler/vignettes/v02-datagroups.R | e9ef9b07104c9ce9f30ef496e1904542af1ec3c3 | [] | 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 | 7,013 | r | v02-datagroups.R | ## ---- message=FALSE, warning=FALSE---------------------------------------
library(pivottabler)
pt <- PivotTable$new()
pt$addData(bhmtrains)
pt$addColumnDataGroups("TrainCategory")
pt$addColumnDataGroups("PowerType")
pt$addRowDataGroups("TOC")
pt$defineCalculation(calculationName="TotalTrains", summariseExpress... |
1a6dfd8d4852e7b3e50d895633ee6fcff509a9fc | 2dfc0a0f7339c62f03498b17fbd4666d30d829c7 | /inst/doc/ChemoSpec.R | a4e3872b8d809a9587fe940370c143898c50aae7 | [] | no_license | msgama/ChemoSpec | a8780f47c62f59ca31e7a9ced733ea910b78b34c | ae7e81956608e46df0e09ac5613efac55a105d26 | refs/heads/master | 2020-07-12T05:00:09.288588 | 2019-07-25T18:00:02 | 2019-07-25T18:00:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,914 | r | ChemoSpec.R | ## ----SetUp, echo = FALSE, eval = TRUE, results = "hide"----
# R options & configuration:
set.seed(9)
rm(list = ls())
suppressMessages(library("knitr"))
suppressMessages(library("ChemoSpec"))
suppressMessages(library("ChemoSpecUtils"))
suppressMessages(library("mclust"))
suppressMessages(library("RColorBrewer"))
opt... |
3ccb20f5ae6217bdac9c47c5fe436ba6a2d3736d | 1e8f633ed2d20379e6f2fb52ccd2a86668d57b13 | /analyses/analysis_script.r | 9e91487ae12a408579cd06f403de0265867aedca | [
"MIT"
] | permissive | JannisBush/Object-biases-in-visual-attention | 618385c8ac08b6b66d32978ff98c9f202ffc3205 | 97292ebdd7c8cd57cc4ac3367f47edf0d4bedbeb | refs/heads/master | 2020-03-18T14:58:31.353317 | 2018-07-12T14:11:37 | 2018-07-12T14:11:37 | 134,878,728 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,497 | r | analysis_script.r | library(tidyverse)
setwd("F:/SS18/Kurse/PsyLab/")
#setwd("/data/Share/SS18/Kurse/PsyLab")
#setwd("C:/Users/tillh/Desktop/Programming/R/Homework")
# read the data
d = readr::read_csv("results_final.csv") %>%
# only look at main trials
filter(block != "practice") %>%
# kick out all participants with less than 85... |
fec9b3045bfaf91676b8626a5ae9a095aec0ba28 | 4003354cbb4c85712659ed69897a583b8764367b | /man/standardise_names.Rd | 837083108c932c855be387049f88f875550cf3c4 | [] | no_license | RandhirBilkhu/rarc | a11afedef24daec87c346186d738117168201026 | 6d9c2cd970e8c09ea70592348872c774102a15ae | refs/heads/master | 2023-08-13T18:42:10.928732 | 2021-09-16T09:20:12 | 2021-09-16T09:20:12 | 407,087,673 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 495 | rd | standardise_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility.R
\name{standardise_names}
\alias{standardise_names}
\title{Standardise names}
\usage{
standardise_names(dt, name_col, clean_patt)
}
\arguments{
\item{dt}{data.table}
\item{name_col}{vector of names to standardise}
\item{clean_patt}... |
4ae8a3ebea2953c99a098569a279c8fb15a314b0 | 50fd8f6425e04985cb897b7b7f798d28df0dcdb1 | /man/ilc-package.Rd | 8ef0b2f3f0925eecf4322cc30351b7ad760efff7 | [] | no_license | valentinamiot/ilc | 60462445c98c3ffc31bdb855dd808c687a6851f6 | c32d1333359b952c9bf661464ed106a41befc9b4 | refs/heads/master | 2020-12-24T10:10:30.156649 | 2014-11-19T00:00:00 | 2014-11-19T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,538 | rd | ilc-package.Rd | \name{ilc-package}
\alias{ilc-package}
\alias{ilc}
\docType{package}
\title{
Generalised Lee-Carter models using iterative fitting algorithms
}
\description{
The package implements a specialised iterative regression method for the analysis of age-period mortality based on a class of generalised Lee-Carter type modellin... |
364e24f5e6c449003ead1f3d7d63060c1fb23120 | 66bd89427a891617a3d3ae46173dc0d4e9930788 | /tests/testthat/test_report.R | 1c73f670b0064085220fc86e3ad892cc99e2802c | [] | no_license | StevenMMortimer/roas | 8a664635f8a07f0adf47f9f54b23fa73bd79feff | 301dca0cc6c8426d9abcda89f94b7390b6ecaafa | refs/heads/master | 2021-06-18T18:24:04.089744 | 2017-04-28T20:29:16 | 2017-04-28T20:29:16 | 44,409,233 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 972 | r | test_report.R | context("OAS Report")
roas_setup <- readRDS("roas_setup.rds")
options(roas.account = roas_setup$account)
options(roas.username = roas_setup$username)
options(roas.password = roas_setup$password)
credentials <- oas_build_credentials()
site <- roas_setup$site
test_that("oas_report", {
site_delivery <- oas_report(... |
1700ff1fb5368faa80422adf5f5bd151be320407 | 3dbb408ab830a572260dd9c8f755d7ee00cdf89c | /day04/part2.R | ed2007e9773ff3acd32e6c59e69a592adb7c5ca0 | [] | no_license | ryanbthomas/adventofcode2020 | 32bf46be3b91479ccab69ae67d6cc95dbb2d6da6 | 2dfd227538c08e6d6fdf30c25b8ac5b6b72574c2 | refs/heads/main | 2023-04-09T08:50:51.176833 | 2021-04-23T19:36:58 | 2021-04-23T19:36:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,140 | r | part2.R | input_file <- "day4/input/real"
req_fields <- c(
"byr", # (Birth Year)
"iyr", # (Issue Year)
"eyr", # (Expiration Year)
"hgt", # (Height)
"hcl", # (Hair Color)
"ecl", # (Eye Color)
"pid", # (Passport ID)
"cid" # (Country ID)
)
library(purrr)
library(stringr)
library(tibble)
library(... |
8cf5cb0ac98daae19f4464b9428abbd7fc51337f | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_Makkink/AFL_ET0_Makkink/ET0_Makkink_valgrind_files/1615848353-test.R | 41a805fa286e3f5da52a8a6453082225e0aef3f0 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 972 | r | 1615848353-test.R | testlist <- list(Rs = numeric(0), atmp = numeric(0), relh = numeric(0), temp = c(1.67426818175e-308, 5.07589131392394e-116, 2.37468745902918e-249, 4.17274709511642e-255, -5.21627137864989e-108, -4.55414938104631e-200, -2.03359480463139e-82, 7.98607285654083e-294, 9.53216075507615e+121, -1.91273986076876e-272, 5.620... |
5d073b0f41ebd0602baf25d8c0af9b10aae89534 | 63e88fdead24a8e1a13ca667ed3e806b17fda334 | /man/add_rowgroup.Rd | fc452e2ec7cc446c8b2a5fa6024728dbe9fabe54 | [] | no_license | eeenilsson/layout | d0b225e8b5ef63b420f4e388882ffe6dba559b9a | b5c643aa3571e7b2409d953365a1b3dffda65495 | refs/heads/master | 2022-09-24T06:21:05.145699 | 2022-09-19T14:08:02 | 2022-09-19T14:08:02 | 101,881,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,436 | rd | add_rowgroup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/layout.r
\name{add_rowgroup}
\alias{add_rowgroup}
\title{Add row groups}
\usage{
add_rowgroup(object, object2, rgroup_names = "")
}
\arguments{
\item{object}{A layout object including a body containing the table.}
\item{object2}{A layout obj... |
bcd200bb9e76a59d375f6c5e2a8d607cb388faf7 | b4ad0c0f735ba84e5c261398ad16ccf5ecd2ccfd | /Pre_CashFlow_RT.R | 9c5971da318fdf769c47330e3b4553f5160f688b | [] | no_license | zhiguo-wang/MCMC_2 | 50eeb30b6767b4e559486785fcaafe88abfe8b2f | a083a7b264b67e17881c86b251d2ed6315daf15b | refs/heads/master | 2021-01-10T01:44:22.295666 | 2015-12-07T04:59:12 | 2015-12-07T04:59:12 | 44,928,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,841 | r | Pre_CashFlow_RT.R | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# Program Name: LIFP - Cash Flow - Retirement Plan (401k)
# Version: 1.1
#
# Created By: Justin Xu
# Modified By: Justin Xu
#
# Database Used: Investment Portfolio.csv
# Source Tables: \\Inputs\\Financial P... |
68034d3d79d9ebd4c82251d821dd64ed04ef79d7 | 85663bd7121504705a0de1837f21307b1dbd4e7d | /man/bioC_downloads.Rd | 5f1d8d7615166b4f81922efef30331cb04470bc5 | [] | no_license | cran/bioC.logs | 228b6a5499246067b3638e12272bf8382346cf1e | 1867670988f473aa1a907b3ccb5fcdb11c7609cb | refs/heads/master | 2023-01-15T12:47:20.129216 | 2023-01-06T21:00:02 | 2023-01-06T21:00:02 | 239,394,596 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,669 | rd | bioC_downloads.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bioC_logs.R
\name{bioC_downloads}
\alias{bioC_downloads}
\title{function to download logs from bioConductor stats}
\usage{
bioC_downloads(
pckg = NULL,
format = "bioC",
from = NULL,
to = NULL,
when = NULL,
verbose = TRUE
)
}
\argu... |
cc8a1427cfdf5a06a349daf7677239b877053ba5 | 0e94e1e4e71a941f921ccb8a5a17bde88b72796f | /extra/PRM Functions/RunCatchMSY.R | a3852c6fa32a1f654c1ad8d53e644d8543754b1d | [] | no_license | OHI-Science/datalimited | c83d6245cc0745cbe7c03429584eb3c82d984715 | 46eced5a8274447e6715cb9a43df749a3aed3be7 | refs/heads/master | 2021-04-29T07:24:31.029164 | 2017-03-21T22:39:48 | 2017-03-21T22:39:48 | 77,954,118 | 0 | 0 | null | 2017-03-20T23:16:40 | 2017-01-03T21:17:22 | R | UTF-8 | R | false | false | 6,585 | r | RunCatchMSY.R | ######################################
#Calculate MSY--------------------------------------------------
#This code runs CatchMSY on fisheries
######################################
RunCatchMSY<- function(Data,ErrorSize,sigR,Smooth,Display,BestValues,ManualFinalYear,n,NumCPUs,CatchMSYTrumps)
{
# Data<- Gl... |
a19de84918118124f51c4159df3bf3ed474cecd5 | 8b760b801d253df7f0ac77aa2c4188cb37094604 | /bash/rtags | 182e654d650507b6ac2cbcc40c2a0cead1b26bae | [
"MIT"
] | permissive | mertnuhoglu/stuff | 5a5c9841136cda69d9cea6a754e2184e457ba31c | cb9be48bbc84a84d6fca2d0891cc1dccb86c0326 | refs/heads/master | 2021-01-21T14:08:29.680536 | 2020-05-17T15:07:07 | 2020-05-17T15:07:07 | 34,980,477 | 0 | 0 | MIT | 2020-05-17T15:07:50 | 2015-05-03T09:25:42 | R | UTF-8 | R | false | false | 45 | rtags | #!/usr/bin/env Rscript
rtags(ofile = 'tags')
| |
7e1fee8a8e688afe484ccf177348857f6b1829de | c4a77d19da5d46766311c3b9eb68131bc696daf9 | /man/ResistanceGA-package.Rd | c081604b2d5888fc65417611500b4c86f8861b7b | [] | no_license | rmarrotte/ResistanceGA | ac57bff6c3e2bd05006e923f4af93eec9e1e18c1 | 6934cf25cf025baec0dccc3bf67311ca170c9808 | refs/heads/master | 2020-03-27T18:24:03.423010 | 2018-09-14T17:30:07 | 2018-09-14T17:30:07 | 146,920,028 | 1 | 0 | null | 2018-08-31T16:57:59 | 2018-08-31T16:57:59 | null | UTF-8 | R | false | true | 2,421 | rd | ResistanceGA-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ResistanceGA.R
\docType{package}
\name{ResistanceGA-package}
\alias{ResistanceGA-package}
\title{About this R package}
\description{
This package contains functions to optimize resistance surfaces using Genetic Algorithms. Continuous and cate... |
02569296178ce18cb15bb8a0b9ac83d1969b62dd | ad235e29d57ff1fd2f1efe822989a24de3491740 | /Code/resample.r | e37420e52f3136e4579a56a892ee9efcbe957ac1 | [] | no_license | asgr/samimaxi | 12410ea8a2f934f4a84b6907230f471a2bdfea2f | 1fb8c3944ad83f2980005a1a4469438de3e5ef8e | refs/heads/master | 2021-05-02T10:33:00.841753 | 2019-07-31T02:25:27 | 2019-07-31T02:25:27 | 13,374,828 | 0 | 2 | null | 2019-07-31T02:25:29 | 2013-10-07T04:01:45 | R | UTF-8 | R | false | false | 189 | r | resample.r | resample=function (x, size, ...){
if (length(x)<size){size=length(x)}
if (length(x) <= 1) {
if (!missing(size) && size == 0)
x[FALSE]
else x
} else sample(x, size, ...)
}
|
7cb521e029eb03dd6efe4553f65e842085b2063a | 4a00886d627412c19bfa4c6e664dc44740a3d675 | /man/themeXYblank.Rd | db02acf10d44659d381aa0f14c4312b7e1e61945 | [] | no_license | mireia-bioinfo/plotRegulome | a668abe92445594bbdba54014b08388cfea7378d | 21a46e971c4f249dd84073faa437350a8b17d290 | refs/heads/master | 2021-06-25T12:34:50.322389 | 2020-12-30T16:30:54 | 2020-12-30T16:30:54 | 175,781,508 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 496 | rd | themeXYblank.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/themesBlank.R
\name{themeXYblank}
\alias{themeXYblank}
\title{Blank X and Y axis ggplot2 theme}
\usage{
themeXYblank(title = FALSE, ...)
}
\arguments{
\item{title}{Logical indicating if the title of the axis should be included. Default = FALS... |
eef84cef03d83360159cdfe6553a9839cd950329 | c15f2824bc90ca148b77fde9a2a40d8bd7f5927d | /ui.R | e24f144443723e7981385ac1358939ba1695681d | [] | no_license | marwanmuhamad/first-shiny-app | 0499495444c670d943e0a29df9e1b32bdb8dcdf7 | e587ce0376e080e6a54bfe156fb03fcfab173259 | refs/heads/main | 2023-07-26T10:19:29.315761 | 2021-09-06T14:40:54 | 2021-09-06T14:40:54 | 403,490,863 | 0 | 0 | null | 2021-09-06T07:09:29 | 2021-09-06T05:00:54 | R | UTF-8 | R | false | false | 1,941 | r | ui.R | library(tidyverse)
library(shiny)
library(shinythemes)
# ui ----------------------------------------------------------------------
shinyUI(fluidPage(theme = shinytheme(theme = "yeti"),
title = "Shiny App",
sidebarLayout(
sidebarPanel = sidebarPanel(width = 3,
helpText("Select Country to Preview ... |
285cbbbd875fd9896489668d1c1408d8d4cf509e | 4306c2158515df6dd1d74197684f1b3030f1225f | /pulentiwi/app.R | 0bd88024c86431a590f5df4f890d2c02a07fc7c3 | [] | no_license | jbkunst/usach-ingemat-intro-elementos-ds-201802 | d7b47d0b3cd95303823197dc77f77f23967bf30d | 70378cdc90901a9b4e1b51fb644d99a9a8034e83 | refs/heads/master | 2022-04-29T05:27:02.533727 | 2022-04-20T20:54:55 | 2022-04-20T20:54:55 | 142,888,540 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,047 | r | app.R | library(shiny)
library(tidyverse)
library(lubridate)
library(rvest)
urlr <- "https://www.rankia.cl/blog/analisis-ipsa/3229498-que-empresas-forman-parte-ipsa-2018"
textos <- read_html(urlr) %>%
html_nodes("td") %>%
html_text()
textos
imp <- seq(1, length(textos), by = 2)
empresas <- textos[imp]
ui <- fluidP... |
ebf6292453789b80241940a9e6ba37207d508294 | 02fae1d676e16cf1db8bd556ca9491e5f40aacfd | /Code/Iteration_15.R | 3b431ce0bf228e8dc37f8fb30c4ef36cd6528962 | [] | no_license | astronerma/Amazon | 0581d99286f01d0d035d3647655ff06be6e3df3f | e8351935bc52fe94494265bd0bf476cc17f40da7 | refs/heads/master | 2016-09-05T22:17:20.508906 | 2013-07-31T18:54:16 | 2013-07-31T18:54:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,207 | r | Iteration_15.R | # Info about this idea:
# http://www.kaggle.com/c/amazon-employee-access-challenge/forums/t/5060/using-response-for-new-features
setwd("/Users/aszostek/Projects/Kaggle/Amazon")
train <- read.csv(file="./Data/train.csv")
test <- read.csv(file="./Data/test.csv")
# Remove redundant column
train <- train[,c(-10)]
test <-... |
89241cff4c4ffe1d7ee91009e385b76e0ff88a5c | 2e5bcb3c8028ea4bd4735c4856fef7d6e46b5a89 | /R/AffymetrixTabularFile.R | 4e13c4fa8980756b2119dcb8b89ed23b928f02d9 | [] | no_license | HenrikBengtsson/aroma.affymetrix | a185d1ef3fb2d9ee233845c0ae04736542bb277d | b6bf76f3bb49474428d0bf5b627f5a17101fd2ed | refs/heads/master | 2023-04-09T13:18:19.693935 | 2022-07-18T10:52:06 | 2022-07-18T10:52:06 | 20,847,056 | 9 | 4 | null | 2018-04-06T22:26:33 | 2014-06-15T03:10:59 | R | UTF-8 | R | false | false | 1,478 | r | AffymetrixTabularFile.R | # @author "HB"
setConstructorS3("AffymetrixTabularFile", function(...) {
extend(TabularTextFile(...), c("AffymetrixTabularFile",
uses("AromaPlatformInterface"), uses("FileCacheKeyInterface"))
)
})
setMethodS3("translateColumnNames", "AffymetrixTabularFile", function(this, names, ...) {
# Convert '... |
0cafba5fea3db26e4be81df3edf45ed280dacebd | 62ad2cfdf0461bfdca74ab7249769b5b2e67595b | /TCGA PanCancer/ATP analysis/Correlation heatmap (filtered).R | 1ca12e02985717c39af0811fafb5e8f894ed338f | [
"MIT"
] | permissive | jihunni/Bioinformatics_project_2021_spring | d60ba9e2adae1ac68208c68aa97a485323d9d3e0 | dbbd83ea5051346f333352fef7ffb1fc3f6e2dcc | refs/heads/main | 2023-07-18T10:15:17.045411 | 2021-08-31T14:34:04 | 2021-08-31T14:34:04 | 391,852,070 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,514 | r | Correlation heatmap (filtered).R | library(readr)
library(stringr)
library(tidyverse)
#correlation
library("Hmisc") #correlation matrix with p-value
library(corrplot) #visualizing correlation matrix
library(pheatmap)
library(grid)
library(RColorBrewer) #color annotation
library(beepr) #beep() : alarm function
# #load pan-cancer data (small)
# tcga_tp... |
f605233530f740ee58b425193c4db712daec834f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/charlatan/examples/elements.Rd.R | 9d7df05fe1f4ebb0be59fea5d76d0d0903d4800e | [] | 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 | 276 | r | elements.Rd.R | library(charlatan)
### Name: elements
### Title: Get elements
### Aliases: elements ch_element_symbol ch_element_element
### ** Examples
ch_element_symbol()
ch_element_symbol(10)
ch_element_symbol(50)
ch_element_element()
ch_element_element(10)
ch_element_element(50)
|
c04204f567a94b5f6771f978227abb2d9a09cd6e | fe6100b141c19152a7a38c6b3022034853d8848a | /Figures/Fig.7/Fig7-TissueEnrich.R | b96e3dd334dec8e7a35d6c8ac524238845f9472d | [] | no_license | YiweiNiu/STR_2022 | fc213aa724730d728825a7ca5fc568b43e6156e3 | d8cdca0c157bb893978fdfe0c0c4eef50e6cca27 | refs/heads/main | 2023-04-27T15:02:22.480097 | 2023-04-15T10:17:35 | 2023-04-15T10:17:35 | 574,407,342 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,036 | r | Fig7-TissueEnrich.R | library(TissueEnrich)
genes <- "gene-unique.txt"
inputGenes<-scan(genes,character())
gs<-GeneSet(geneIds=inputGenes,organism="Homo Sapiens",geneIdType=SymbolIdentifier())
output<-teEnrichment(inputGenes = gs)
seEnrichmentOutput<-output[[1]]
enrichmentOutput<-setNames(data.frame(assay(seEnrichmentOutput),row.names = ... |
0d3718b50bbfe78189ce58d189ee2168bff4fd87 | dea374ddade7f98bfd036f4d753ff0ca8d1cdeb0 | /wilcoxon.R | d4b491c204dbc1622767bd228f5fc3c5e3abdf2e | [] | no_license | bcervantesg/itesm-dcc | 66f314ae8f4d73e9a9be9d1d10ad0e9fdab748ad | dafc928fa3fbcc4bff7cd9b5d66a6647fc9755e9 | refs/heads/master | 2021-08-30T01:20:55.336152 | 2017-12-15T14:20:55 | 2017-12-15T14:20:55 | 112,964,608 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 939 | r | wilcoxon.R | databasesall = read.csv("~/databases/databases120.csv")
binary= databasesall$classes ==2
loet10all = databasesall$atributes <=10
b11a100 = ((databasesall$atributes >10) & (databasesall$atributes <=100))
all = rep(TRUE,120)
bool = all
setwd("~/ProcessedOutput/")
A = read.csv("PRFW10/120/Exp3aFW10RP100AcC.csv") #RF
B = r... |
68978c281dc51e4602b4d7ac6f524a380957c428 | 87065fbf9252d3157932a7de91c0064ec92d30c1 | /R_attempts/Exercise_2_2.R | b982d7c528c48fb8584dc6949739dfe379263733 | [] | no_license | Skhurana136/ml_summerschool_102020 | 9a6ce02d68a0d32db798eb33b9a4a3060738dcad | 87f4ee6315c169ca43fbb55924ecd9f4f3537a4b | refs/heads/master | 2022-12-25T04:28:06.625269 | 2020-10-01T13:32:23 | 2020-10-01T13:32:23 | 300,288,315 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,594 | r | Exercise_2_2.R | #Choose some of the classifiers already introduced in the lecture
#and visualize their decision boundaries for relevant hyperparameters.
#Use mlbench::mlbench.spirals to generate data and use plot learner prediction for visualization.
#To refresh your knowledge about mlr3 you can take a look at https://mlr3book.mlr... |
c8675c36b611287c6e5d58da64b2ead80ce38ac8 | 2cc758c13a14e5044b08a7bafb6d9f923a83c773 | /older/hus/Tabs_server/Tab11_SaveHusListInDropbox.R | cb0bda7980a76899d90dfac789f2621f89a3bb38 | [] | 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 | 600 | r | Tab11_SaveHusListInDropbox.R | # - save Planner in your dropbox -
observeEvent(input$saveDropbox, {
if(is.null(rv$DFhus)){
rv$infoText = "I do not think you want to upload an empty hus list to your Dropbox"
return(NULL)
} else {
Name <- "Hus"
fi... |
bf12ac77094b03b08cbba002bc607f11b34777c3 | 206ba0ae3465c8dc00a7a8e9ac4fa87150be5d47 | /SexRatio.R | 846ed0aab5ed703fe835ca9a134e3997dd5ecadf | [] | no_license | IMASau/AbResearch | 2169fead4c864fe450c05918cc5a8c3aed51d530 | 5f260058e2a103e15374cd843d1fdea2aa71f7cb | refs/heads/master | 2023-08-17T12:25:37.148260 | 2023-08-08T04:50:16 | 2023-08-08T04:50:16 | 30,902,630 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 711 | r | SexRatio.R |
library(openxlsx)
SexRatio <- samdata %>% group_by(Site_Name, SamplePeriod, SizeC,Sex) %>% summarise(n=n()) %>%
pivot_wider(id_cols = c(Site_Name, SamplePeriod, SizeC), names_from = Sex, values_from = n, values_fill = list(freq =0))
wb <- loadWorkbook("CatchbyDiver.xlsx")
addWorksheet(wb, "blacklip")
addWorksheet(... |
27bb8e81eb0bba559b1aa1f6a7dc835c5c3550fb | fe612f81a3118bf3ebef644bae3281bd1c156442 | /man/h2o.get_leaderboard.Rd | 5d70c594db572f30263b9e25b5ef81a32f91fd7f | [] | no_license | cran/h2o | da1ba0dff5708b7490b4e97552614815f8d0d95e | c54f9b40693ae75577357075bb88f6f1f45c59be | refs/heads/master | 2023-08-18T18:28:26.236789 | 2023-08-09T05:00:02 | 2023-08-09T06:32:17 | 20,941,952 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,527 | rd | h2o.get_leaderboard.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/automl.R
\name{h2o.get_leaderboard}
\alias{h2o.get_leaderboard}
\title{Retrieve the leaderboard from the AutoML instance.}
\usage{
h2o.get_leaderboard(object, extra_columns = NULL)
}
\arguments{
\item{object}{The object for which to return th... |
facd3bc5174b33e2ad925193b043f31d4f9a06e9 | b400b9f91e21da74aa590b73c54cbacfb418257f | /R/white_train.R | 3848ab66d092a82acbdf3fa7b6fc3a22982b9ac3 | [] | no_license | group-wine/sommelieR | 5162335e92f8f2e6f53ba91d4001b70b9ad19b81 | d99a83553e40e75590df633576dcd8f45199badc | refs/heads/master | 2020-05-02T21:09:28.641195 | 2019-04-28T19:02:10 | 2019-04-28T19:02:10 | 178,212,398 | 0 | 2 | null | 2019-03-28T17:37:13 | 2019-03-28T13:45:55 | R | UTF-8 | R | false | false | 770 | r | white_train.R | #' Training dataset of quality ratings for white wine
#'
#' A training dataset containing the quality ratings and chemical characteristics of white wine.
#'
#' @format A data frame with 12 variables:
#' \describe{
#' \item{fixed.acidity}{Fixed acidity.}
#' \item{volatile.acidity}{Volatile acidity}
#' \item{citric... |
afa85eb6682465842e691f03e2576902c0728597 | 77f5651577d90091e045bd21e1dd86ce4bfa4711 | /run_analysis.R | 02554ad4c2c5ff7b017d0dd76c3fcee0e1c8c9a5 | [] | no_license | AbuNurullah/getting_and_cleaning_data | a80a6ed83130ac1458388f99734fb0223d6ad64e | 5490f1a8e038d4d38d427c71bae75c3a1162c803 | refs/heads/master | 2016-09-01T15:16:10.765801 | 2015-10-27T23:33:47 | 2015-10-27T23:33:47 | 44,032,425 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,991 | r | run_analysis.R | #Course: "Getting and Cleaning Data"
# Project R code
#Abu M. Nurullah
# 10/21/2015 revision : 10/23/2015
#----------------------------------
# Section: 1 merging of the two datasets #
##########################################
require(reshape2)
require(plyr)
#download and unzip the project data file
setwd("C:/temp/"... |
7763dbe5fc69b7e39b19ba3c9486bd21f29b721d | 2080044625e70fbe2407d923d1b3727da9ced1b2 | /FCaldata.R | 4000914bbb453ad8815e56871b165dbde7e65df4 | [] | no_license | kurla-sreevalli/DS_Rcode | 01a26929ed49f239fdf1b7d7eff50633ec857758 | 7d527816715954c993112ce1dcabd1a30fc26a1e | refs/heads/master | 2023-01-29T07:40:32.493397 | 2020-12-08T11:04:02 | 2020-12-08T11:04:02 | 294,662,354 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,130 | r | FCaldata.R | library(readxl)
ALset <- read_excel(file.choose())
View(ALset)
attach(ALset)
#plot(ALset$Passengers...000.,type = "o")
# So creating 12 dummy variables
library(dummies)
X<- data.frame(outer(rep(Quarter,length = 96), Quarter,"==") + 0 )# Creating dummies for 4 quarters
View(X)
colnames(X)<-Month # Assign... |
2799b3c9d9a220f13c7481964f55da5437b6c415 | f03d90856f67713cf21f72b4bca85e57b8f73919 | /plot2.R | 5a8b1a6567a150935cc3ccf6c2857a05c7b1c278 | [] | no_license | svangaal/ExData_Plotting1 | bb290d2b17bdad5c74a1b12c9415aec06ef7c0df | ed6cbbd0dffdd457c771569d125b7496a06d8bb1 | refs/heads/master | 2020-12-07T06:29:25.741876 | 2016-08-21T03:10:37 | 2016-08-21T03:10:37 | 66,112,846 | 0 | 0 | null | 2016-08-19T21:15:43 | 2016-08-19T21:15:43 | null | UTF-8 | R | false | false | 293 | r | plot2.R | png("Plot2.png",width=480,height=480)
plot(powerSubset$DateTime,
powerSubset$Global_active_power,
type = "n",
main = "",
ylab = "Global Active Power (kilowatts)",
xlab = "")
lines(powerSubset$DateTime,
powerSubset$Global_active_power,
type = "l")
dev.off() |
6e0df5a634442d9a03c654f906ee66b2844bfd3f | 1ebe6dc8c3124767c45536647b917f776ce3954d | /R/lm_diagnostics.R | bd14aa37a8bf9c04e61a965d10e7bb38c4d25e84 | [] | no_license | jenniferthompson/JTHelpers | bb25ffdd7bde3c5178ab389caaf0e2e1ed4c9a12 | 0ce6de6bca8603c4d237b668a64fa929344f3554 | refs/heads/master | 2021-01-13T11:50:16.819305 | 2017-02-22T21:12:04 | 2017-02-22T21:12:04 | 77,569,155 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,724 | r | lm_diagnostics.R | #' Check assumptions of heteroscedasticity and normally distributed errors for a linear regression
#' model fit.
#'
#' @param lmObj Model fit of class `lm`.
#' @param outcomeString String to identify outcome in X axis label. Defaults to "Outcome."
#' @param titleString String to add to plot titles.
#'
#' @export
#'
#' ... |
0b30787cff04ea9c6dd94dd65996187c958f4d3b | e47740fe0c4b2688f7b9e380ee9d903a68542af4 | /man/label.endpoints.Rd | c7c7c64a3590ad524aea3b541fa25e0f1942322c | [] | no_license | tdhock/directlabels | caa95eab62394181b0b3635bf705fa2d95cdf802 | 10e243b8671a2cff465955bd7e48f3c1d724d8a2 | refs/heads/master | 2022-06-29T00:56:27.733948 | 2022-06-17T05:01:20 | 2022-06-17T05:03:49 | 37,545,421 | 74 | 21 | null | 2021-07-15T04:49:53 | 2015-06-16T17:31:55 | R | UTF-8 | R | false | false | 479 | rd | label.endpoints.Rd | \name{label.endpoints}
\alias{label.endpoints}
\title{label endpoints}
\description{Make a Positioning Method that labels a certain x value.}
\usage{label.endpoints(FUN,
HJUST)}
\arguments{
\item{FUN}{FUN(d$x) should return an index of which point to label. for
example you can use which.min or which.max.}
\ite... |
79594722233845a564dc3616a74f430557743d8e | 85d6645766e27f8fbc0303c714835eeae66b4fbb | /man/dynamicddm.Rd | dbeef3d3fb06d2129c8d8d3902aae8541e5dc8c3 | [
"MIT"
] | permissive | AlexanderFengler/addmtoolbox | f0b1fcfd03cb8bd6574c327a31342de5c30f0e89 | e60dec1761c03600a9823158e8e4f1b608ae2ea8 | refs/heads/master | 2016-09-05T21:16:52.479209 | 2015-03-13T21:16:09 | 2015-03-13T21:16:09 | 30,930,838 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,219 | rd | dynamicddm.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{dynamicddm}
\alias{dynamicddm}
\title{Simulate DDM process (by condition, 2 items)
\code{dynamicddm()}}
\usage{
dynamicddm(parameters, decision = 0L, valuations = 0L, nr_attributes = 0L,
fixpos = 0L, fixdur = 0L,... |
09898999c1cb0faf54d9cae163a4bf8f09e8b8ac | 418a0db93fb9562801df2d74b6390997e5fbcc24 | /man/scrape.Rd | 45cef773558218ecabb8df71b727c4dab10ba1b9 | [
"MIT"
] | permissive | stephematician/statsnbaR | 078f0bc028b5a9f3009fb47b21ba7a16a8900e65 | 0d92d876c0255e16500db02f77f3bb43c4b77824 | refs/heads/master | 2021-01-10T03:25:07.417842 | 2018-01-02T09:20:46 | 2018-01-02T09:20:46 | 52,210,889 | 8 | 4 | null | null | null | null | UTF-8 | R | false | true | 202 | rd | scrape.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrape.R
\name{scrape}
\alias{scrape}
\title{Main scrape function}
\description{
Main scrape function
}
\keyword{internal}
|
497267f79f738252df2b7401f808cc4f5505de81 | f042fbdf31a2106bfbe298b32dc0aa551bd3ae84 | /R/simulate_spatial.R | 0ab3097c40cfafb2ea800498fc3392c42262f8c7 | [] | no_license | danielbonhaure/weather-generator | c76969967c3a60500a6d90d5931a88fb44570eba | 6a207415fb53cca531b4c6be691ff2d7d221167d | refs/heads/gamwgen | 2023-01-21T17:38:46.102213 | 2020-12-04T21:59:05 | 2020-12-04T21:59:05 | 286,565,700 | 0 | 0 | null | 2020-12-01T13:19:05 | 2020-08-10T19:50:16 | R | UTF-8 | R | false | false | 61,881 | r | simulate_spatial.R |
## OBS: modo de ejecución (son tres)
## 1- locations a simular coinciden con los puntos ajustados (fit$stations), no necesitan estar todos los puntos ajustados pero todos los puntos a simular debieron haberse usado en el ajuste
## 1.1- ruido Santi
## 1.2- ruido nuevo (espacialmente correlacionado)
## 2- locations a si... |
4616c16c9c409178e1603f72ab4a708b2ee818ff | 8455fc20fed9641f65ed8a5b2e065c7e8075e730 | /man/compatability.Rd | df126f0685ece31e4d06f0e6a6d8517f9082dbf5 | [] | no_license | andreas50/uts | 0cfb629448886bcee992e6ae8ab453d15fd366ff | f7cea0d2ba074d332a4eb9b5498451fe0bc9a94f | refs/heads/master | 2021-07-24T13:41:29.982215 | 2021-04-05T14:41:04 | 2021-04-05T14:41:04 | 35,902,127 | 16 | 0 | null | null | null | null | UTF-8 | R | false | true | 933 | rd | compatability.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ts_compatability.R
\name{compatability}
\alias{compatability}
\alias{as.ts.uts}
\alias{cycle.uts}
\alias{frequency.uts}
\title{Compatability with ts class}
\usage{
\method{as.ts}{uts}(x, ...)
\method{cycle}{uts}(x, ...)
\method{frequency}{u... |
caffb08748834e8d814084c7999679f5b84a9525 | 379452dad7d01072f5cd143be9d5227f372dc727 | /plot_figureS6.R | 4fb2022e417f96810f983dbb5f8573772c0b4ffc | [] | no_license | BennyStrobes/gtex_v8_rare_variant_figure_generation | 51f4d6ec0e11cd4f956a7e8d158a075603697ae5 | 43eff32438fc47fbeed982f8b04a76b6f4aab42c | refs/heads/master | 2023-01-01T18:13:15.092394 | 2020-10-26T21:14:44 | 2020-10-26T21:14:44 | 265,935,957 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,178 | r | plot_figureS6.R | library(ggplot2)
library(cowplot)
theme_set(theme_cowplot())
gtex_v8_figure_theme <- function() {
return(theme(plot.title = element_text(face="plain",size=8, hjust=0.5), text = element_text(size=8),axis.text=element_text(size=7), panel.grid.major = element_blank(), panel.grid.minor = element_blank(),panel.background... |
236ae66fdaa6572770fce8d5779f71c15aae8d39 | 89f471a1facf26cba075e79ad778f58c1d03a175 | /man/create_stick_plot.Rd | 90674fe86ccf287b182c0ebeb9ed7139e5211489 | [
"MIT"
] | permissive | deandevl/RplotterPkg | a90d229946639235949483f595b9ee8c5eeab101 | 5a70e51eeb45d84685e4fddc9a9f7bd9e68f089a | refs/heads/main | 2023-05-12T06:55:22.537757 | 2023-05-01T09:47:17 | 2023-05-01T09:47:17 | 230,162,174 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,303 | rd | create_stick_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_stick_plot.R
\name{create_stick_plot}
\alias{create_stick_plot}
\title{Function wraps a ggplot2 geom_linerange to produce a "stick" plot.}
\usage{
create_stick_plot(
df,
base_val = 0,
aes_x = NULL,
aes_y = NULL,
aes_color = N... |
a09ac4804f68a792eeb4c90151ae36a83c9214ec | fed93c5054545d927f3695b51f3a8c9dafb90086 | /R/tagtools/R/interp2length.R | 9b6f60c1ef4367035963e942e6c0683c53aa53cb | [] | no_license | spluque/TagTools | 34629e360afd3170aa167437cccfd72001b2c69c | 5f150109114cbbdf551cbf8a02e335006613d332 | refs/heads/master | 2021-12-07T10:54:11.656760 | 2021-10-14T20:36:29 | 2021-10-14T20:36:29 | 233,162,704 | 0 | 0 | null | 2020-01-11T02:11:30 | 2020-01-11T02:11:29 | null | UTF-8 | R | false | false | 3,831 | r | interp2length.R | #' Interpolate regularly sampled data to increase its sampling rate and match its length to another variable.
#'
#' This function is used to reduce the time span of data by cropping out any data that falls before and after two time cues.
#'
#' @param X A sensor list, vector, or matrix. If x is or contains matrix, ea... |
1368d40cd0c828e955d7856bec05509953ddef33 | c23a1fce67d95efab4c3e5a59e76a09d41d946a2 | /tests/testthat/test-utils.R | aa014009f658d7e0720587d2e4caae8bdf161d21 | [] | no_license | OJWatson/context | d4b56e1816f3f9c0f86595e6fa290e0ad0e46dae | d3e038f179417353ec6f2d74422ec5dff79a0566 | refs/heads/master | 2021-01-16T21:57:15.997940 | 2016-05-27T10:59:29 | 2016-05-27T10:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,766 | r | test-utils.R | context("utils")
test_that("filter_warnings", {
f <- function(x) {
warning(x)
}
expect_warning(filter_warnings(f("warning"), character(0)), "warning")
expect_warning(filter_warnings(f("warning"), "pattern"), "warning")
expect_silent(filter_warnings(f("warning"), "warning"))
expect_silent(filter_warning... |
346c5319f8851dcf60fe1082e499244853ddf516 | 0301c0c718e4be5f3323a2e6776a8f4daa7b173e | /R/std.ramp.R | a491b6e7d60396d7b60d84788940f3ba8b09d6dc | [] | no_license | suztolwinskiward/VSLiteR | c719b13ab5b242c3735fa2e99c5f24a178d2d7cd | b96bb4b668326e8b9cfded3ce23badc28b02059b | refs/heads/master | 2021-06-04T07:24:13.451521 | 2015-09-16T14:34:11 | 2015-09-16T14:34:11 | 34,275,377 | 12 | 5 | null | 2018-09-14T00:38:27 | 2015-04-20T17:29:40 | R | UTF-8 | R | false | false | 665 | r | std.ramp.R | #' "Standard ramp" function for building growth response functions.
#'
#' \code{std.ramp.r} takes a lower and upper bounds, and creates a linear response
#' between 0 and 1 for values in between the bounds. Values below (above) the lower (upper)
#' bound are assigned a value of zero (one).
#'
#' @param x The value ... |
c1622f9afc8bd785cfe69cbb7db086b1740aee4c | b613db234c506cd10f1ffd333097fa94a2c8215e | /ncaa_scraping/ncaa_scraping.R | 74b6e88108c9892d3def40e5ea479ce7dc85aa98 | [] | no_license | BillPetti/baseball_research_notebook | b6d8e21b62296dbaf5d14806d4cd280b667fb2e7 | 935edea8a81dd8213d733864bba3f1918dc14a61 | refs/heads/master | 2021-01-17T18:18:18.743291 | 2018-02-17T20:15:34 | 2018-02-17T20:15:34 | 71,358,789 | 12 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,713 | r | ncaa_scraping.R | #### Bill Petti
#### billpetti.github.io
#### Research Notebook
#### Acquiring Baseball Stats from the NCAA with R
#### Originally coded November 2016
# load required packages
if(!require(baseballr)) {
install_github("BillPetti/baseballr")
require(baseballr)
} # functions for baseball analysis
require(rvest) # f... |
92be820f20ca6e62d262e7a10ff63676883b893c | 3fa0a9316249793f6c25be59084603b99c700961 | /old/choropleth_pop_land_co2.R | 7072b95a85146f05ea56c2580c4c0de3a0cbd456 | [
"MIT"
] | permissive | TimothyNguyen/Climate-Change | 58820b1df20a81f5e9c0b0135a6887413486926b | daeec30acbee24d1b064d7add4f46a70323a8c23 | refs/heads/master | 2023-04-17T23:18:31.418922 | 2021-05-05T00:05:19 | 2021-05-05T00:05:19 | 342,430,285 | 0 | 0 | MIT | 2021-03-01T02:01:25 | 2021-02-26T01:40:52 | HTML | UTF-8 | R | false | false | 6,372 | r | choropleth_pop_land_co2.R | rm(list=ls())
# install.packages("choroplethrMaps")
library(shiny)
library(ggplot2)
library(plotly)
library(tidyr)
library(dplyr)
library(countrycode)
library(choroplethr)
library(readr)
library(lubridate)
gdp_per_cap <-
read.csv(
"./data/income_per_person_gdppercapita_ppp_inflation_adjusted.csv",
header ... |
163ce118b0df2ba0562e3b1dcc29727063d71190 | 27b8a460e3d1085b0a0eb09540238b0e9f9ed1de | /cachematrix.R | 0137511422516eb8f877440123047c81f64bb353 | [] | no_license | limbt/ProgrammingAssignment2 | e76a18068afa65bbcd790af6d114fc879e1d8338 | 9ff3c04f48ef7452f488d35303a23b108f6e2508 | refs/heads/master | 2020-12-11T03:36:47.292148 | 2016-07-27T04:33:32 | 2016-07-27T04:33:32 | 64,272,593 | 0 | 0 | null | 2016-07-27T03:03:20 | 2016-07-27T03:03:20 | null | UTF-8 | R | false | false | 1,471 | r | cachematrix.R | ## makeCacheMatrix - this function creates a special "matrix" object that can cache its inverse
## initialize objects x and inv
## define the functions for objects of type makeCacheMatrix - set, get, setInverse and getInverse
## set changes the vector stored in the main function
## get returns the vector x stored in t... |
813197bef5b0bed3485ff090d0205e432c1dba84 | aca4485cc47b6b8c62d2c3f9b4139ffae188f30d | /R/SullivanStatsSurveyII.R | a6aa6934472e9fa220fd6b23b9893fc95befb589 | [] | no_license | dtkaplan/sullystats6e | df5c4df3beacc177f8cfe7e523ed5f2d97790a39 | 3d2be5e92266b0971c4bc889f8d5ccd923443908 | refs/heads/master | 2022-06-08T01:15:52.076015 | 2020-05-05T17:14:52 | 2020-05-05T17:14:52 | 259,423,101 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,231 | r | SullivanStatsSurveyII.R | #' Sullivan Statistics Survey II data
#'
#' @docType data
#'
#' @details This data represents the results of a survey written by the students of Michael Sullivan.
#'
#'
#' @usage data(SullivanStatsSurveyII)
#'
#' @format The variables are
#'
#' - `Gender`: The gender of the respondent.
#' - `Age`: The age of the respon... |
72a2921ca3c1ac6d01cfd304763177254ec50bfe | 5318dfda83a8070e821dd7d2975cf8f86f323d01 | /analyses/20CR/obs_feedback/plot_scatter.R | 7edfbfa565162c774657200cd5b7b6c922cd4de6 | [] | no_license | oldweather/oldWeather1 | a8f82d1c56c21a74b69af00935e830803691097e | 04b970cf0e93d4de1ea8a1dc0b2a870dcb5870c6 | refs/heads/master | 2021-01-17T13:11:48.821947 | 2020-11-13T16:56:03 | 2020-11-13T16:56:03 | 10,826,748 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,865 | r | plot_scatter.R | # Make scatter plots from the 20CR obs feedback files
library(TWCR)
library(grid)
Year<-1918
Month<-8
Day<-12
Hour<-6
Version<-'3.3.8'
# Get obs used in single assimilation run
local.TWCR.get.obs<-function(year,month,day,hour,version=2) {
base.dir<-TWCR:::TWCR.get.data.dir(version)
of.name<-sprintf(
... |
aaeb6334dee8d494dae25ba7c9bcfe8faee3f5ea | e0e538679b6e29837839fdbc3d68b4550e256bb9 | /docs/spring/code/ex08.R | fede6155bafd4429a59d905bb1ae33b68d85b6be | [] | no_license | noboru-murata/sda | 69e3076da2f6c24faf754071702a5edfe317ced4 | 4f535c3749f6e60f641d6600e99a0e269d1fa4ea | refs/heads/master | 2020-09-24T20:23:36.224958 | 2020-09-22T07:17:54 | 2020-09-22T07:17:54 | 225,833,335 | 0 | 0 | null | 2019-12-05T08:20:51 | 2019-12-04T09:51:18 | null | UTF-8 | R | false | false | 2,345 | r | ex08.R | ###
### 例: Yahoo! finance から株価のデータを取得して整理
###
install.packages("quantmod")
library(quantmod)
## Google(Alphabet), Microsoft, Amazon, Facebook, IBM, Apple
companies <- c("Google","Microsoft","Amazon","Facebook","IBM","Apple")
symbols <- c("GOOG","MSFT","AMZN","FB","IBM","AAPL")
getSymbols(symbols)
myData <- data.frame... |
a89f00b97f5f1f5014fc3c0c7101d8fea03d90ec | 00daf46a1286c20caa103a95b111a815ea539d73 | /man/Function.Rd | a0f1539f7bd36f4338cfa3abfe36c0f17a49dd0a | [] | no_license | duncantl/Rllvm | 5e24ec5ef50641535895de4464252d6b8430e191 | 27ae840015619c03b2cc6713bde71367edb1486d | refs/heads/master | 2023-01-10T15:12:40.759998 | 2023-01-02T18:05:26 | 2023-01-02T18:05:26 | 3,893,906 | 65 | 14 | null | 2017-03-09T07:59:25 | 2012-04-01T16:57:16 | R | UTF-8 | R | false | false | 3,081 | rd | Function.Rd | \name{Function}
\alias{Function}
\alias{Routine}
\alias{Function-class}
\alias{names<-,Function,character-method}
\alias{names<-,ParameterList,character-method}
\alias{names,ParameterList-method}
\alias{names,Function-method}
\alias{[,Function,numeric,missing-method}
\alias{[[,Function,character,ANY-method}
\alias{coer... |
d89d10c2b9d484af9eb3194b5db4e40bd47461c4 | 11b609da66e0f4034f887ea0201ca29687b85531 | /Starter Kit/scripts/scoping.R | 66140ebd2f4f99e907255fecce4bbfcfdb77bd7b | [] | no_license | petarnikolovski/Introduction_to_R | 1c81228499d76268f8d02710f2ff40bba2270a79 | 29a054939fd83eb0fc52506e88d5ed5848f90724 | refs/heads/master | 2021-08-12T07:03:57.788839 | 2015-10-22T14:33:16 | 2015-10-22T14:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 740 | r | scoping.R | # Scoping Rules
# The search list for R environment can be found by using:
search()
# An example of lexical scoping:
z <- 27
myFun <- function(x, y) {
(x * y) / z
}
myFun(3, 9)
# Lexical scoping can be understood best by nested functions
# If a function is nested, then its parent environment is the
# function in... |
3946aeb9f6015f1e8e583ccdfc3fa1793a2e43d8 | f75388ed157784a05bdd1c1ba3eed739a8c9fa25 | /tests/testthat/test-sentenceTokenParse.R | 29e7fecad56a5094b0affb0c14d5757f04602b8c | [] | no_license | tbwhite2/lexRankr | 9675fa427f72060327b5efd72c2897d2478a41ec | 42e4c1576f67bd660b077726bcc2d3de769b9ebd | refs/heads/master | 2020-12-30T16:27:41.905598 | 2017-05-11T14:30:23 | 2017-05-11T14:30:23 | 90,988,457 | 0 | 0 | null | 2017-05-11T14:27:54 | 2017-05-11T14:27:54 | null | UTF-8 | R | false | false | 1,529 | r | test-sentenceTokenParse.R | context("sentenceTokenParse")
# test output classes ----------------------------------------
test_that("object class and structure check", {
testDocs <- c("12345", "Testing 1, 2, 3.", "Is everything working as expected Mr. Wickham?")
testResult <- sentenceTokenParse(testDocs)
expect_equal(class(testResult), "... |
8b3ce967766f22f31065ad8b995dec933cf5338e | 646d95fd691c086c13c4dc968990cddc971d87c6 | /man/rot.Rd | e109402bca0cb47ce5dc41be7ae289130b79dedf | [] | no_license | AlunHewinson/geocacheR | 5ec85b1e9c38b3e72e5e2d0f0e64e959d8dd5989 | b5599e8449475a33f62a66e803e1caa98506ba63 | refs/heads/master | 2021-05-02T02:00:01.625359 | 2020-02-16T18:25:17 | 2020-02-16T18:25:17 | 230,493,492 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 664 | rd | rot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/text_manipulation.R
\name{rot}
\alias{rot}
\title{Caesar-shift a string by a given number of letters.}
\usage{
rot(x, n = 13, alphabet = standard_alphabet, showWarn = TRUE)
}
\arguments{
\item{x}{A string.}
\item{n}{A number of letters to sh... |
026d5ce3959a653e60cd1405271300fe1b5e8bf2 | 8f501777660f04ddadf06400074bc6b412c90fb9 | /IsoriX/man/relevate.Rd | 56eb7e9585fa9e99297c395c3181a9713cd0f18c | [] | no_license | PhDMeiwp/IsoriX_project | db0e323fd2822a98cf16c4708fc9ef31df85b9f8 | 14510f948a3497a99554e80d563a9131d40550c0 | refs/heads/master | 2020-03-09T18:24:08.128374 | 2017-08-14T08:23:56 | 2017-08-14T08:23:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,719 | rd | relevate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/relevate.R
\name{relevate}
\alias{relevate}
\title{Prepare the elevation raster}
\usage{
relevate(elevation.raster, isofit = NULL, margin_pct = 5,
aggregation.factor = 0L, aggregation.fun = mean, manual.crop = NULL,
verbose = interactive(... |
c02c18cfeb99a642049add011b4dbdb31eb14be9 | 1056a8291e402622e3aad540fc9416c2fe652886 | /FunctionsTwitterApi.R | 4ada5e28720f621f92237797c5ce4065695b805f | [
"MIT"
] | permissive | M3SOulu/TrendMining | 61e46e2b16f2af4e59ad9f6acf17df3ced0e6b52 | 26035780f358a485b999268e9967d72b08ece1f4 | refs/heads/master | 2023-04-28T14:04:35.468283 | 2023-03-10T11:55:10 | 2023-03-10T11:55:10 | 91,310,593 | 12 | 23 | MIT | 2023-04-14T17:23:27 | 2017-05-15T07:58:26 | R | UTF-8 | R | false | false | 1,712 | r | FunctionsTwitterApi.R | #install.packages("devtools", dependencies = TRUE)
#install.packages("rJava", depdendencies = TRUE)
library(devtools)
library(rJava)
get_twitter_data <- function (query_string, maxtweets=100){
#Start the JVM
.jinit('.')
.jaddClassPath(getoldtweets_path)
#For selecting a date range
#from_dat... |
a229fc6714fe600d52efc113bf1ba5021af90663 | 2b37e34406d54afb3e714ba651358f4e9bb7430d | /R/representative_curves.R | 95cb95619922da1014f9f24f5aa24a075d2cb7d2 | [] | no_license | jpmeagher/sdsBAT | 68c3bacffb9fe5c680c7cd3de9acc49ed946c4f1 | 257a28dbc707155f35cd899799184ffff1948198 | refs/heads/master | 2021-01-20T03:14:53.593120 | 2017-05-15T20:47:55 | 2017-05-15T20:47:55 | 89,512,838 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,259 | r | representative_curves.R | #' Representative spectral curves
#'
#' @export
species_mean <- function(df = smooth_and_regularise_call_densities(), ignored_columns = c(1,2), vector_length = length(df$chirp1[[1]])){
individual_representation <- individual_means(df = df, ignored_columns = ignored_columns, vector_length = vector_length)
species_re... |
d697be1512367f9a5d47b45950def345d9788559 | 885080787fa0f6300760f2bcc406f0eea3feef64 | /R/rscript/Main.R | 435adc0755cd56e437cb852e4edbd3bc692f2685 | [] | no_license | ming19871211/docker-tools | 2a9de2aab2ad612556dfea0549f3b68dd9e3f4e1 | f045804df72c3c001852691e577112cee19753d7 | refs/heads/master | 2021-12-14T21:24:57.924974 | 2021-12-14T09:30:48 | 2021-12-14T09:30:48 | 172,426,617 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 16,312 | r | Main.R | ###单个维度的查询方法####
dataQueriesSingleDim <- function(df,dimension,dimkey,doWhere,myorder,seriesDim=c(),runType,mergeShow){
#创建一个空的list用于保存结果集
resList <- list()
#对原始数据过滤
df <- oriFilter(df,dimension,doWhere=doWhere)
if (nrow(df) == 0){
return(resList)
}
if(length(seriesDim) > 0 ){
#拼接组合系列条件的字... |
dd04368b8fbe6476b7b3250b8bb1ed99aa1ee074 | 74cf495f1758e3e791395694a9eba2b7c08ed531 | /GEUVADIS.11-17-15/ui.R | 2d666e2a58925f192048b15d819555f9128c4600 | [] | no_license | DrOppenheimer/Shiny_fun | c423dfaa36fa401fa82c7e7114c76fba0d8133c1 | 97e7e49295e52fd4c25394031840d9baa1f4c87d | refs/heads/master | 2021-01-18T23:10:24.963976 | 2016-06-03T21:42:03 | 2016-06-03T21:42:03 | 46,286,375 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 926 | r | ui.R | library(shiny)
library(shinyRGL)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
# Application title
titlePanel("Expression Profiles for a Subset of GEUVADIS Samples"),
# Sidebar with a slider input for the number of bins
sidebarLayout(position="right",
sidebarPane... |
b955628d0d8911958168796aef4c456afcb5a0c4 | 1be1c1a52dcdc8b63e19b430f4fba64f8403b7b8 | /man/cophylogeny.Rd | 7358e8368a8ebf4f795c03cf491c8797971ef3ff | [] | no_license | JanEngelstaedter/cophy | 5af999cd1aed5261a1ab5052e1de3348698e146c | 81853cd5b56502e6f9ab5595606feeb8a37b9bb4 | refs/heads/master | 2023-08-16T20:28:45.084296 | 2023-08-14T06:18:45 | 2023-08-14T06:18:45 | 134,203,070 | 3 | 3 | null | 2021-02-18T06:29:43 | 2018-05-21T01:36:30 | R | UTF-8 | R | false | true | 661 | rd | cophylogeny.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert.R
\name{cophylogeny}
\alias{cophylogeny}
\title{Creates a cophylogeny object}
\usage{
cophylogeny(HP.tree)
}
\arguments{
\item{HP.tree}{a list of a pre-built host phylogenetic tree and a parasite
phylogenetic tree of class 'cophylogen... |
f32a9b9a10759458f6982e65b43963b4487526b8 | d9f588314bfea0c7e066a4e9b19a4e8bbad07153 | /test.r | 98e52707c247ce3e62c1f04d2bc3d02adbea00df | [] | no_license | karanpanjabi/r-compiler | 9d4e56271b4bc94849ddeedcddbe590e566073d3 | 9ba2d1a8c35dd07ce2a729cccd6fd299f534fdf3 | refs/heads/master | 2022-07-27T07:32:42.661250 | 2020-05-19T15:04:51 | 2020-05-19T15:04:51 | 239,592,210 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 204 | r | test.r | # this is a comment
a = 3
b = "hello"
c <- 2.3
if a == 2)
{
a = 3
}
# egd <- 567
print(a)
a <- 3.5
for (i in 1:4) {
print(i)
}
2 + 3*4
(2+3)*4
while(i < 5)
{
a = 3
print(a)
} |
4d81379dd46be3599f23eec3dc7d03dc4716a491 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /CENFA/R/vulnerability.R | 81602375bf3b992d8d12d430b69c3af376dc81cd | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,215 | r | vulnerability.R | #' Climatic vulnerability
#'
#' Calculates the climatic vulnerability of a species using a \code{cnfa} and
#' \code{departure} object.
#'
#' @param cnfa Object of class \code{cnfa}
#' @param dep Object of class \code{departure}
#' @param method character. What type of mean should be used to combine sensitivity
#' and... |
af33383548a672ef24916101e01ca5d2f14cd5a8 | 2da2406aff1f6318cba7453db555c7ed4d2ea0d3 | /inst/snippet/nfl-bt01.R | 05d005a57dd598837bd29d09e615674e0fcec1d4 | [] | no_license | rpruim/fastR2 | 4efe9742f56fe7fcee0ede1c1ec1203abb312f34 | d0fe0464ea6a6258b2414e4fcd59166eaf3103f8 | refs/heads/main | 2022-05-05T23:24:55.024994 | 2022-03-15T23:06:08 | 2022-03-15T23:06:08 | 3,821,177 | 11 | 8 | null | null | null | null | UTF-8 | R | false | false | 201 | r | nfl-bt01.R | NFL <- NFL2007 %>% mutate(
dscore = homeScore - visitorScore,
winner = ifelse(dscore > 0, home, visitor),
loser = ifelse(dscore > 0, visitor, home),
homeTeamWon = dscore > 0
)
head(NFL, 3)
|
75eb080583ed556e8f2b495d0c0b6c41881be604 | 868e671dcb7c2fbadf6b214e560ccb436dc3d839 | /man/im_cols.Rd | 3698dff1bf0cf3a893ec8c0334ba801a5e316953 | [] | no_license | nationalparkservice/IMDColorPalette | 132ec0ebaadebe48e47653a2a33e709187cc7220 | 9b691cc06f2fcb114f513881720215712a78c56a | refs/heads/master | 2023-01-05T11:10:24.556831 | 2020-11-06T23:04:24 | 2020-11-06T23:04:24 | 309,830,213 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 425 | rd | im_cols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/color_palette.R
\name{im_cols}
\alias{im_cols}
\title{Function to extract colors as hex codes}
\usage{
im_cols(...)
}
\arguments{
\item{...}{Character names of colors}
}
\value{
A named character vector of hex codes
}
\description{
Function t... |
231fcc0cedff5d5e1095383784a07c30bcfec709 | 71236830d36a3d76a37252515cf93c45fcbb9cec | /R_code/Preprocessing/concatenate_fields.R | 4d32db8be5b4cddbe8b2ccc3f687b2cfffb32320 | [
"MIT"
] | permissive | pcollender/Firearm-injury-geocoding | 58830f07b13d64caeecb40614cb268d695328bb8 | 5460944c802a329a7c093d58d45773da799e4608 | refs/heads/main | 2023-04-27T04:34:28.246943 | 2021-04-21T18:25:38 | 2021-04-21T18:25:38 | 348,461,773 | 0 | 0 | MIT | 2021-04-07T18:44:43 | 2021-03-16T19:02:58 | R | UTF-8 | R | false | false | 323 | r | concatenate_fields.R | args = commandArgs(trailingOnly = T)
#should be file name followed by fields to be concatenated
data = read.csv(args[1], stringsAsFactors = F)
fields = args[-1]
data$ADDRESS = do.call(paste,data[,fields])
cat('\n')
head(data)
cat('\nNew data written to temp_data.csv\n')
write.csv(data,'temp_data.csv', row.names = ... |
80bb79acb5dd832de0f1ca29466ed09e3cec8fe4 | 6a0cc324741a1651a1937e13a5ed2e968c731566 | /man/drug_categories.Rd | 71576fb29b5e4b948f500c8a4143707b263aeb47 | [] | no_license | cran/dbparser | 1cc45add1e836e89b5269709cccd2c2358c925d6 | 8136c971d88388f9fdabfd2f4ce56a957ec6997e | refs/heads/master | 2023-04-09T18:03:16.200329 | 2023-03-27T06:30:05 | 2023-03-27T06:30:05 | 162,203,907 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 498 | rd | drug_categories.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/drug_parsers.R
\name{drug_categories}
\alias{drug_categories}
\title{Drug Categories parser}
\usage{
drug_categories()
}
\value{
a tibble with 2 variables:
\describe{
\item{category}{category name}
\item{mesh-id}{The Medical Sub... |
750d5732e963121220536f439504f2d68ab15b76 | feedc553c26cd01e9c9a0335f157d48ce58adf51 | /man/DataBackendDplyr.Rd | 1ae7e527bb67a2ade8f9d0b821d170a196a15faa | [] | no_license | cran/mlr3db | c0280baeffbea302dab808653a558d0b156ec417 | c6bb90b40a2c9711e806d929895e9bd254befd24 | refs/heads/master | 2022-09-07T02:19:32.872601 | 2022-08-08T09:10:02 | 2022-08-08T09:10:02 | 218,371,421 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 10,741 | rd | DataBackendDplyr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DataBackendDplyr.R
\name{DataBackendDplyr}
\alias{DataBackendDplyr}
\title{DataBackend for dplyr/dbplyr}
\description{
A \link[mlr3:DataBackend]{mlr3::DataBackend} using \code{\link[dplyr:tbl]{dplyr::tbl()}} from packages \CRANpkg{dplyr}/\CRA... |
0aba5d17ef5cd9daeefd29e4d2929fe491b8bc0a | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.compute/man/eks_untag_resource.Rd | 2b2ebffe91bb7c2993e41f408d09e9c73c96d4d9 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 741 | rd | eks_untag_resource.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eks_operations.R
\name{eks_untag_resource}
\alias{eks_untag_resource}
\title{Deletes specified tags from a resource}
\usage{
eks_untag_resource(resourceArn, tagKeys)
}
\arguments{
\item{resourceArn}{[required] The Amazon Resource Name (ARN) o... |
71c96d42907b795f0b84650b6e5aa1b31745ae01 | dd435ea466117a0071e46b14ad8bc8f81a736d21 | /man/nord_palettes.Rd | d13a04dc1a387bf2f09da81268d1308da5eff3a8 | [
"MIT"
] | permissive | saera-chun-hud/hud-palletes | c1251b48c993c1e85e0a2d7e1f32db7d935bac2f | a6810329626cedd2bb970e839cf210cb4ccb87bb | refs/heads/master | 2023-03-17T11:59:46.486420 | 2019-08-29T18:28:40 | 2019-08-29T18:28:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 934 | rd | nord_palettes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/colors.R
\docType{data}
\name{nord_palettes}
\alias{nord_palettes}
\title{Nord and northern-themed color palettes}
\format{An object of class \code{list} of length 16.}
\usage{
nord_palettes
}
\description{
Nord: An arctic, north-bluish color... |
b9367dd8a871a2d8e39b673f1795793bae9beb3f | d31492b02b5d4a249cfa3a731054be8ee02a5c2e | /man/Lagged3d-class.Rd | c5cc2422ada69c658a0fed5b774b84f1e8b98c5c | [] | no_license | GeoBosh/lagged | 6fc59d2f8ad26a05f3454b07e158d82ab651040a | 2697b9e5faf7fcf88f5b18da94c34de248a54be7 | refs/heads/master | 2022-05-02T03:37:40.976743 | 2022-04-04T21:33:54 | 2022-04-04T21:33:54 | 92,064,916 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,358 | rd | Lagged3d-class.Rd | \name{Lagged3d-class}
\Rdversion{1.1}
\docType{class}
\alias{Lagged3d-class}
\title{Class Lagged3d}
\description{Class Lagged3d.}
\section{Objects from the Class}{
Objects can be created by calls of the form \code{Lagged(a)} or
\code{new("Lagged3d", data = a)}, where \code{a} is a 3-d array.
\code{new("Lagg... |
0ff3c0e88e0a1fbacbc75cf8205da9a0dda1b919 | b1a226a32212563ff5caa6eef79d87c4c415c5fa | /packrat/lib/x86_64-w64-mingw32/3.5.1/cowplot/doc/plot_grid.R | dc626c2da1e76eec01f30210656cc5071b8b9064 | [
"MIT"
] | permissive | jcvdav/curso_marea | 05b0b7b9a48066c558c0911c2172bb8cd6c1874e | 07c175488e90256f5a6590fa43f36d193b04a1ad | refs/heads/master | 2020-04-07T10:01:29.749199 | 2019-03-21T20:15:19 | 2019-03-21T20:15:19 | 158,272,854 | 0 | 2 | MIT | 2018-11-29T22:01:39 | 2018-11-19T18:36:22 | C++ | UTF-8 | R | false | false | 4,028 | r | plot_grid.R | ## ---- message=FALSE, fig.width=6.8, fig.height=2.55----------------------
require(cowplot)
theme_set(theme_cowplot(font_size=12)) # reduce default font size
plot.mpg <- ggplot(mpg, aes(x = cty, y = hwy, colour = factor(cyl))) +
geom_point(size=2.5)
plot.diamonds <- ggplot(diamonds, aes(clarity, fill = cut)) + geom... |
b8e92b2fe65f622fe0d4bfc65d994efb6a1776ff | 885441742c392cf44286b27f1c379b07c3b9ee68 | /Quad_Venn_example.R | 2b80f14e3e33131c05a03c5e6bdf6fcfee64d613 | [
"CC0-1.0"
] | permissive | DCGenomics/Delmarva_R_Users_Group | 86415f56c9be64e92e5150b867b57116252e9f4f | 1fff51c317c9f7e4e16072b2cfb4b64677dd8ef5 | refs/heads/master | 2021-01-25T12:07:23.236972 | 2015-02-05T23:04:25 | 2015-02-05T23:04:25 | 30,382,176 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,004 | r | Quad_Venn_example.R | require(VennDiagram)
n1234<-1865
n123<-6372
n124<-292
n12<-17486
n134<-204
n13<-791
n14<-73
n1<-14856
n234<-123
n23<-905
n24<-82
n2<-15023
n34<-249
n3<-2516
n4<-468
venn <-draw.quad.venn(area1=n1+n1234+n123+n124+n12+n134+n13+n14,
area2=n2+n1234+n123+n124+n12+n234+n23+n24,
ar... |
860392f431c25194e5f9740c376185383c7ce1eb | ac655728cfed40aacb3686b9a3fd2c26f8facdc0 | /scripts/dhs/dhs_plot_gamma.R | 535c9dc92ae3b8a109e493f2cce92df4ffc3423e | [] | no_license | jakeyeung/Yeung_et_al_2018_TissueSpecificity | 8ba092245e934eff8c5dd6eab3d265a35ccfca06 | f1a6550aa3d703b4bb494066be1b647dfedcb51c | refs/heads/master | 2020-09-20T12:29:01.164008 | 2020-08-07T07:49:46 | 2020-08-07T07:49:46 | 224,476,307 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,420 | r | dhs_plot_gamma.R | # Jake Yeung
# 2015-09-03
# Test out Gamma fitting functions
source("scripts/functions/MixtureModelFunctions.R")
bedpath <- "/home/yeung/projects/tissue-specificity/data/beds/merge/ucsc_names/Cerebellum.dhs.merged.bed"
gammapath <- "/home/yeung/projects/tissue-specificity/data/beds/merge/cutoffs_smoother_gamma/Cereb... |
f65208427b84f529df21edb52dc98fe26bb727e9 | 84690a057ce5002c22f75239a77a0d75b291e940 | /BAN400 Term Project.R | 881ee3b6357d4362880c6e30ab3cd9fbbc846ff1 | [] | no_license | chrlov/project | 5b7cb28c700131781cf4a60d969c112152c97939 | b9391a6d3ef820e59222dfd3ec176db1477063bf | refs/heads/main | 2023-01-23T10:37:13.769505 | 2020-12-11T19:25:29 | 2020-12-11T19:25:29 | 302,040,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,306 | r | BAN400 Term Project.R | #### Packages ----------------------------------------------------------------
library(tidyverse)
library(shiny)
library(leaflet)
#### Data --------------------------------------------------------------------
# COVID-19 data
data <- COVID19::covid19() %>%
transmute("Country" = adm... |
05997f07c0731e0a7fcc7d0421063a3223dcd9e4 | d033955c754784fed28e497f4aca27fbc06cc574 | /data-types.R | a91397b8c68e641c9bb84ecf61f03b17abd50090 | [] | no_license | hammyasf/learning-R | 51e1bf4bb9c9c3deffac8bd0597203376779f6f6 | 4b2d2b329948431b65621a534002d2fb87229f99 | refs/heads/master | 2021-05-31T16:44:00.899233 | 2016-03-07T23:28:33 | 2016-03-07T23:28:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 136 | r | data-types.R | a <- 32
b <- "Bugs"
c <- 12114.44
d <- -121
class(a)
class(b)
class(c)
class(c)
is.numeric(a)
is.numeric(b)
is.numeric(c)
is.numeric(d) |
537b30eb1ae6eeb4d8b75256b61e2d1ffae97b84 | 0db6dd83f3358bd98f944c36d4a618e43de52345 | /TimeCapsule_Code/RunFile.r | f2688452716cd307ad952fcd2c21f307a485d426 | [] | no_license | yanliangs/A-Bayesian-Approach-to-Multistate-Hidden-Markov-Models-Application-to-Dementia-Progression | f38bf524f0b93113b08d80501a6da321a23be668 | aa2e576eadf16e942e81653c2bad71bf51032470 | refs/heads/master | 2023-03-20T04:52:19.430189 | 2019-12-01T17:28:32 | 2019-12-01T17:28:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,270 | r | RunFile.r | library(hmm)
source('SetupFunc.r')
args <- commandArgs(TRUE)
set.seed(as.integer(args[1]))
sensitivity_test <- args[4]
NCORES <- as.integer(args[5])
Dir <- args[6]
if(args[2]=='Simulation'){
load(paste0(Dir,'demData',args[1],'.rda'))
DATA <- demData
STEPS <- 15000
BURNIN <- 10000
} else if(args[2]=='RealData')... |
c4e45ab427d1ffa68d1f3ffcd675377dd19d9dd3 | 88b5925e6cd7c318e82cbedd429bdad8d6229c72 | /Rpackage/scrbook/R/scr2secr.R | dcd8589369691963b897416f3dbffc34f6087b40 | [] | no_license | jaroyle/scrbook | 290a6055cbcc6a34b2915a6267cbddbfab632a06 | 6554f7cf3af819870a001022a25c020379db475f | refs/heads/master | 2021-03-19T16:02:26.707679 | 2017-12-19T15:05:35 | 2017-12-19T15:05:35 | 2,988,377 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 429 | r | scr2secr.R | scr2secr <-
function(scrtraps,type="proximity"){
hold<-rep(NA,nrow(scrtraps))
for(i in 1:nrow(scrtraps)){
hold[i]<-paste(scrtraps[i,4:ncol(scrtraps)],collapse="")
}
traps1<- cbind(scrtraps[,1:3],"usage"=hold)
#
# to make use of the trap operation information you have to do this I think:
#
write.table(traps1, "traps.tx... |
5bc6d668b70087a0379d1847d64454bf6a55e57c | f84139438cc48d29c45d14596638d5027ca640af | /man/stretch.Rd | 7d990a53d05eb64fcee4965e31788394cedc539f | [] | no_license | cran/currentSurvival | 15c99ed83f3d31b6e9efab253f1cb5147ceb64a4 | 076bfc7cc68a49acedd51befa0bcab02a165e674 | refs/heads/master | 2022-06-05T23:53:27.567904 | 2022-05-12T06:20:02 | 2022-05-12T06:20:02 | 17,695,347 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,407 | rd | stretch.Rd | \name{stretch}
\alias{stretch}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Assigns Survival Estimates to Each Day of the Follow-up }
\description{
This is an internal function and is not usually called by user. \cr
This function assigns survival estimates to each day of the follow-up.
... |
a56745935d3c4f56cc5f1d1465bec2e863bbdebf | 005bb9edaf643be9c8548d803483628c80cc0225 | /second_fall_experiment/scripts/clay_R_scripts/crap/scale_data_analysis_3.R | ffc7efd422dac5cf90996676ab431dcc8a2aaf8e | [] | no_license | sean-gl/2020_greenhouse | 16b35b6b035a1926dc8858c7d0b2eba6b8dbe864 | 691c3923c75eea1bd57b8d218b343e8fdc10c33c | refs/heads/master | 2021-05-22T00:22:46.456072 | 2020-05-25T17:28:54 | 2020-05-25T17:28:54 | 252,879,077 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,784 | r | scale_data_analysis_3.R |
rm(list = ls())
wd <- "/home/sean/Documents/Clay/greenhouse/2019 greenhouse data/experiment2/scale_output/"
setwd(wd)
require(ggplot2)
require(lubridate)
require(plyr)
require(dplyr)
require(tidyr)
###
### ------Read and process data
###
# read in files
files <- dir(wd)
files <- files[grepl('.csv', files)]
files
... |
bd8aff71da8345a611a9a8a46c1050f5be270686 | 2e731f06724220b65c2357d6ce825cf8648fdd30 | /UniIsoRegression/inst/testfiles/pre_2d_l2_inc/libFuzzer_pre_2d_l2_inc/pre_2d_l2_inc_valgrind_files/1612736876-test.R | 32eded7b6d1d70fc24e73264b86125ac52f75df3 | [] | no_license | akhikolla/updatedatatype-list1 | 6bdca217d940327d3ad42144b964d0aa7b7f5d25 | 3c69a987b90f1adb52899c37b23e43ae82f9856a | refs/heads/master | 2023-03-19T11:41:13.361220 | 2021-03-20T15:40:18 | 2021-03-20T15:40:18 | 349,763,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 312 | r | 1612736876-test.R | testlist <- list(data = structure(0, .Dim = c(1L, 1L)), w = structure(c(1.92302623483659e-314, 4.94065645841247e-324, 2.87111428111265e-319, 8.20251227200115e-304, 2.71615461243555e-312, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 3L)))
result <- do.call(UniIsoRegression:::pre_2d_l2_inc,testlist)
str(result) |
20412e4056441080be6b70dff62be906462e79c5 | 5ad706fdaa7ec49564fe8f48f37aafd44ebed397 | /R/import.pems.working.R | 99f377b720ec5245825c0a45c9268d963186f643 | [] | no_license | cran/pems.utils | 34d79305d0cbfdddc5f798e49381a264eee3d864 | 8763120b096dc7fe37482f47f0f6188931ab404a | refs/heads/master | 2021-07-07T11:48:43.028189 | 2021-04-25T05:40:02 | 2021-04-25T05:40:02 | 52,953,467 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,699 | r | import.pems.working.R | ##########################
##########################
#various pems imports
##########################
##########################
#additional
#work in progress
#############################
#############################
##importRoyalTek2PEMS
#############################
##########################... |
e80cdcd07dcc8b42136fab5c0e03f0f54ebff9dc | bd204a62b4fcf1c6714cc66eaf08217b03a0a36d | /cyclistic_bike_share/scripts/data_summarize.R | bfe89a2a920fef2ffdee9b960a07673b49aa8090 | [] | no_license | labwilliam/data_analysis_projects | 672bb4200b049b686f8440e810675efc7a706e7a | eb194d933cf96ab2212b1edfd0e7ce3958b56c27 | refs/heads/main | 2023-05-27T21:23:34.170078 | 2021-06-11T03:19:35 | 2021-06-11T03:19:35 | 375,850,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,189 | r | data_summarize.R | # Create mode function
mode_func <- function(data){
unique_data <- unique(data)
tabulate_data <- tabulate(match(data, unique_data))
unique_data[tabulate_data == max(tabulate_data)]
}
# Create save function
save_file <- function(data, file_name){
write_csv(data, paste("../datasets/analyzed_datasets/", file_name... |
4b3e37e363ca4a46f9231c32ce5a2974fccce55b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sequoia/examples/writeSeq.Rd.R | f7d306a788ac0cec9699d94fd3c630a3bb6f5aaa | [] | 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 | 433 | r | writeSeq.Rd.R | library(sequoia)
### Name: writeSeq
### Title: write sequoia output to excel or text files
### Aliases: writeSeq
### ** Examples
## Not run:
##D writeSeq(SeqList, OutFormat="xls", file="MyFile.xlsx")
##D
##D # add additional sheets to the excel file:
##D library(xlsx)
##D write.xlsx(MyData, file = "MyFile.xlsx", ... |
6b8a0aadc4a5792298ec49e7d1f70241c2a4eac6 | 421ec6d784e9da250cb7d976cbacb8784cf782e4 | /R/ParameterSet_methods.R | 2398206194fed229db9360fac1fa12f767f816d9 | [
"MIT"
] | permissive | hadley/param6 | b03ed91e2d5f1646d51c75c5490d25c69ece0ab3 | 7eb791f0685df4045f10b362a4e1cdd14dd6d40e | refs/heads/main | 2023-08-14T10:48:56.854254 | 2021-07-28T20:23:31 | 2021-07-28T20:23:31 | 398,088,712 | 1 | 0 | NOASSERTION | 2021-08-19T22:22:13 | 2021-08-19T22:22:13 | null | UTF-8 | R | false | false | 13,929 | r | ParameterSet_methods.R | #---------------
# Public Methods
#---------------
.ParameterSet__initialize <- function(self, private, prms, tag_properties) { # nolint
if (length(prms)) {
checkmate::assert_list(prms, "prm", any.missing = FALSE)
prms <- unname(prms)
ids <- vapply(prms, "[[", character(1), "id")
if (any(duplicated... |
1a0826a132eafce740152616653eb363bda690cb | 75db022357f0aaff30d419c13eafb9dddfce885a | /R/gridTrends.r | 27b7280aaaa2ec67664422437998a68d35689811 | [] | no_license | LobsterScience/bio.lobster | d4c553f0f55f561bb9f9cd4fac52c585e9cd16f8 | b2af955291cb70c2d994e58fd99d68c6d7907181 | refs/heads/master | 2023-09-01T00:12:23.064363 | 2023-08-23T16:34:12 | 2023-08-23T16:34:12 | 60,636,005 | 11 | 5 | null | 2017-01-20T14:35:09 | 2016-06-07T18:18:28 | R | UTF-8 | R | false | false | 367 | r | gridTrends.r | #' @export
gridTrends = function(data,grids,yrs,variable="CPUE",fun=median){
grid.lst=as.list( rep(NA,length(grids)))
for(i in 1:length(yrs)){
griddata = lobGridPlot(subset(logsInSeason,SYEAR==yrs[i],c("LFA","GRID_NUM",variable)),FUN=fun)$pdata
for(j in 1:length(grids)){
grid.lst[[j]][i] = griddata$Z[gridd... |
4a97e14884a9d39dc11fa4c1723fd1c12c3fcd5c | 0645b7cf525ec6294c059fe5eda8b743a1416624 | /R/1-wordcount.R | 38f28a3c242d29153cdefb6d1d3d97a663889d14 | [] | no_license | jeffreybreen/tutorial-rmr2-airline | d8645c5126aa5bbf1060a495e3df3a608a3e3799 | 26a91e52e295a97fc3d07ef220a3f3bb4ebd0d30 | refs/heads/master | 2021-01-13T02:27:54.866452 | 2015-03-06T23:49:56 | 2015-03-06T23:49:56 | 9,311,321 | 2 | 6 | null | null | null | null | UTF-8 | R | false | false | 1,639 | r | 1-wordcount.R | #!/usr/bin/env Rscript
#
# Example 1: wordcount
#
# Tally the number of occurrences of each word in a text
#
# from https://github.com/RevolutionAnalytics/RHadoop/blob/master/rmr2/docs/tutorial.md
#
library(rmr2)
# Set "LOCAL" variable to T to execute using rmr2's local backend.
# Otherwise, use Hadoop (which needs ... |
c405864504382867023e327f1459b530947dbdb9 | 77fc5f1afbbcc237e108ec852a574b1633f90eed | /Code/DeschutesData.R | 1114b312e5fb030afbe52b73e4d523134dd18b62 | [] | no_license | dungates/DSPG | ebff52ea4a4653952eec8759df8b07f5fd41e8a3 | 466882664a14ff7fc296388595ae51e2bf2822f8 | refs/heads/master | 2023-02-04T23:42:11.118631 | 2020-12-28T20:37:10 | 2020-12-28T20:37:10 | 277,666,166 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 61,996 | r | DeschutesData.R | library(plyr)
library(ggpmisc)
library(tidyverse)
library(lubridate)
library(RColorBrewer)
library(directlabels)
library(gridExtra)
library(gtable)
library(grid)
library(lubridate)
library(readxl)
library(broom)
library(hydrostats)
setwd("~/DSPG")
# Biggs USGS Data
BiggsData <- read.table("Data/BiggsData2.txt", heade... |
76e693d6221560a8fdd64279b0596d7545bef30e | 4c4155a486454e3468945f8870d116a96ae31b7a | /2-2 -- GLMs/Afternoon/2-2 afternoon -- intro to linear models.R | 859d0ba88ca5ee918c3d57941c341276d90d667a | [] | no_license | gastonnv/2016_class_CMR | 10edab424f85f7103a78814b8da3837772fc71e8 | df5e01a6fc544624e9b4d07d11780ea7e04cc962 | refs/heads/master | 2022-07-09T14:30:21.291004 | 2022-07-05T00:01:24 | 2022-07-05T00:01:24 | 169,748,312 | 0 | 0 | null | 2019-02-08T14:38:50 | 2019-02-08T14:38:50 | null | UTF-8 | R | false | false | 3,445 | r | 2-2 afternoon -- intro to linear models.R |
setwd( "C:/Users/James.Thorson/Desktop/Project_git/2016_classes_private/CMR models/2-2 -- GLMs/Afternoon/" )
###### Example GLm code
# simulate example data
TrueMean = 3
TrueSize = 1
Counts = rnbinom(20, mu=TrueMean, size=TrueSize) # Var = mu + mu^2/size
Covariate = rnorm( length(Counts), mean=0, sd=1)
#Counts = rpo... |
b9710c0a5d7e271f0998b18f518d5e8d4975ad71 | 55ac76adb9cfd550ba1041f784b1a9d6acaacaee | /Assignments/02_Analysis/11-a.R | 3b1179f4626bf4643a1ce44c1b5f2640888d5c90 | [] | no_license | sanazy/Hesaba-Data-Science-Course | 6efc70280776fc8c69d9aa0a931de8d8ecc15ebd | f64b96703d7fd2be9fa980b2e9ad3bc7fce650df | refs/heads/main | 2023-07-14T20:23:50.969676 | 2021-08-15T18:48:22 | 2021-08-15T18:48:22 | 396,456,228 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,171 | r | 11-a.R | # Load libraries
library(engsoccerdata)
library(ggplot2)
library(tidyr)
library(dplyr)
library(lubridate)
############# teams with most consecutive games without lost ##################
# Load Spain dataset
fdb = as_tibble(spain)
# Create empty vectors
num_nl <- vector()
teams_nl <- vector()
# Seperate hosts
df... |
9e332918b15a170d3577c3d82cd2840fdfaffdd4 | 49f642b345f41180cf310f8ba4df140282c51cf8 | /R/factors.R | 5c1afd62115aae551e0e3af65573526cc483b1c4 | [] | no_license | jrnold/jrnoldmisc | 2631d0d9fff71ac8872566f2bf6523fd5747f8ff | 4418beb0dbfcbc60225f56303fc256924802eb99 | refs/heads/master | 2021-09-12T13:15:43.399948 | 2018-04-17T03:07:49 | 2018-04-17T03:07:49 | 77,298,951 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,134 | r | factors.R | # copied from forcats:::check_factor
check_factor <- function(f) {
if (is.character(f)) {
factor(f)
}
else if (is.factor(f)) {
f
}
else {
stop("`f` must be a factor (or character vector).", call. = FALSE)
}
}
#' Is a one- or two-sided formula?
#'
#' Functions to test whether an object is a one-... |
ca1378f2c87f454d013f2ed5bb976f8cdbbc31a2 | aebca85114388224fc24481fdfce04be048110db | /R/annoXeset.R | 9347096e1e098920f6e0510cff7ba00dfe923770 | [] | no_license | mssm-msf-2019/BiostatsALL | 4f79f2fbb823db8a0cbe60172b3dcd54eac58539 | 0623dd13db576b2501783b31d08ae43340f2080b | refs/heads/master | 2020-05-25T15:16:01.949307 | 2019-05-21T18:11:12 | 2019-05-21T18:11:12 | 187,864,190 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,169 | r | annoXeset.R | #' Function for cross annotating a mouse expression set with human attributes.
#' @description This function takes a mouse expression set as input, and outputs a merged expression set with mouse and human annotations.
#' @param eset Mouse expression set
#' @param AnnPkg.in Annotation package that corresponds to the ... |
8981e059f1a6fbe8f3051f98cff6ad5d34bb840e | 7db7705a9e12bf20d7fd60ff0f03e61c9e15e4c2 | /man/getProjectName.Rd | 21ca9834878ce41f65dc56a6e79a0ea8605bb3a2 | [] | no_license | paul-shannon/R-travis-CI-demo | d447ae6ae968c3b2d8f134c5e3e841598c52d75b | c699ea63294341b05afe712986a8e94bb34b7e51 | refs/heads/master | 2020-07-31T01:58:49.111316 | 2019-09-24T14:06:45 | 2019-09-24T14:06:45 | 210,442,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 430 | rd | getProjectName.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CIDemo.R
\docType{methods}
\name{getProjectName,CIDemo-method}
\alias{getProjectName,CIDemo-method}
\alias{getProjectName}
\title{get the project name - to be set by derived classes}
\usage{
\S4method{getProjectName}{CIDemo}(obj)
}
\arguments... |
69d255e977daa8ea8a333d466303f9f4f48425ee | 647c208abde7d27a7d55ffb6e41b62e360955c63 | /man/pancreatic.Rd | dab3d3dc0936e87fea7410deda4f5fc230e44f79 | [] | no_license | cran/asaur | b0a309d806ac06eb050ee9aecfabe61f778e30fb | 0d782825331f15a729be9f999faec7e13180bc06 | refs/heads/master | 2016-08-11T15:12:10.855558 | 2016-04-12T06:23:05 | 2016-04-12T06:23:05 | 51,957,067 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,135 | rd | pancreatic.Rd | \name{pancreatic}
\alias{pancreatic}
\docType{data}
\title{pancreatic
%% ~~ data name/kind ... ~~
}
\description{
Data from a Phase II clinical trial of patients with locally advanced or metastatic pancreatic cancer.
}
\usage{data("pancreatic")}
\format{
A data frame with 41 observations on the following... |
a5effa0faa882bc0653394f18e6e1203907d15f3 | d67d5acbbc10e3eb56b08547d1832ea8e09bc483 | /R/states.R | 9fad5b3f4e61e55d0f216fd61a592f00dcf340c4 | [] | no_license | balachia/renmr | 4127c760b71ab927da4a2afffca8b1eccda5b356 | c3333a411d42664b10f5355a780983ab7ee4dc4f | refs/heads/master | 2020-12-24T16:59:51.773939 | 2014-07-28T23:34:27 | 2014-07-28T23:34:27 | 21,967,967 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,980 | r | states.R | #' @export
print.renmr.state <- function(obj) {
cat('renmr.state: ', obj$name, '\n')
cat('taking types: ', paste(names(formals(environment(obj$new)$fun)), sep=', '), '\n')
}
# generic state factory
# should be used to build skeleton states
state.factory <- function(name, fun) {
state <- list()
class(st... |
f7161d1d199ad18b0a95a7f30afcda97074f77a7 | ce001a65650d8058f082652cc073e959bce4871f | /man/j_decode.Rd | a6afb85a142db961dc02033db9adb7d0daf202cb | [] | no_license | cran/json64 | f7acd97ae4862e3c3d5b7c577fef6357c68d1cbf | cc839eb5ad8c24f70307fbd47b333ea20b713851 | refs/heads/master | 2020-12-22T00:39:54.419938 | 2019-06-03T13:20:03 | 2019-06-03T13:20:03 | 236,617,500 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 796 | rd | j_decode.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/decode.R
\name{j_decode}
\alias{j_decode}
\title{Decoding Function}
\usage{
j_decode(str, json = TRUE)
}
\arguments{
\item{str}{The string to be decoded.}
\item{json}{Defaults to TRUE. If TRUE, the function expects str to be an en... |
649d5496b594988ff96b47c6575eb1bd96a1e6ec | 141320fd3b4d5361f89fc887ac4e7eba6e06d615 | /R_Basics/09_Boxplots.R | 0beac40c7b508d0d742e271bba9b9c7e60cc0ca7 | [] | no_license | CodeInDna/R_Essentials | 84cb4b488b1f0cc1bdccdf290e300f63e3e58615 | 9b143a0e1d9c149e49c9647894d4bf005a3d53ac | refs/heads/master | 2020-11-29T00:24:09.727997 | 2020-01-10T13:18:52 | 2020-01-10T13:18:52 | 229,960,552 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,439 | r | 09_Boxplots.R | # File: 09_Boxplots.R
# Project: Baiscs_R
# INSTALL AND LOAD PACKAGES ##########################
# pacman must already be installed; then load contributed
# packages (including pacman) with pacman
pacman::p_load(pacman, tidyverse)
# LOAD DATA ##########################################
# Using the diamonds dataset ... |
df804f7b9679c5e91c3dcebf93b6909e25f81574 | e02e405d4109a4f35359815e1214fd1d9b78e62c | /server.R | f443da097d7318ab2c9ac1fb401b44b0a10d20ef | [] | no_license | EconometricsBySimulation/Rstylizer | 57ac45908f428afc15d201bdf74c03b1fe34c1fb | 86bd1d1addf909ca6b988ab9dffdd23911b5508f | refs/heads/master | 2021-01-19T12:36:05.240820 | 2013-08-27T20:42:57 | 2013-08-27T20:42:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,496 | r | server.R | library(shiny)
# We tweak the "am" field to have nicer factor labels. Since this doesn't
# rely on any user inputs we can do this once at startup and then use the
# value throughout the liff.etime of the application
mpgData <- mtcars
mpgData$am <- factor(mpgData$am, labels = c("Automatic", "Manual"))
# Define server ... |
046b038a2d1b38fb3ce82f76a9d0dff4c35b3dfb | efa527bcdaf3c77f408b9da6bdf5b2778b234529 | /R/awsConnect-package.r | 54c6a8d9d4bc0d72dd501003b3c0192c87b15184 | [] | no_license | lalas/awsConnect | ee8898b3e5a891eefad26dd1252ad5f4e4e2aa41 | 3f3e5ba79d021319b3b8df8dce0ce333a8e6ea59 | refs/heads/master | 2016-09-10T11:08:19.806427 | 2014-11-25T01:35:20 | 2014-11-25T01:35:20 | 22,846,255 | 3 | 2 | null | 2014-11-25T01:35:20 | 2014-08-11T16:34:08 | R | UTF-8 | R | false | false | 63 | r | awsConnect-package.r | #' awsConnect.
#'
#' @name awsConnect
#' @docType package
NULL
|
bef169517f31c524c611a77491955071ea2f1a84 | 8f3bd5ef1b27757c8c16737d24cbb250e736b2f8 | /man/projectIntoHeight.Rd | 22cd0de7ba5938f8529130f2fb26b98cc671fd11 | [
"MIT"
] | permissive | tunelipt/model3d | 5ba394a84e2ac77602c310385a7b1f92dd1c3d66 | 2a92047e7f66b3dbf8423e5008cf6e6c861a05cd | refs/heads/master | 2020-07-25T14:02:49.769011 | 2019-09-13T17:41:07 | 2019-09-13T17:41:07 | 208,315,730 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 848 | rd | projectIntoHeight.Rd | \name{projectIntoHeight}
\alias{projectIntoHeight}
\title{Chops a polygon at two different heights.}
\usage{
projectIntoHeight(p, hmin, hmax, dnum = 3)
}
\arguments{
\item{p}{Polygon, a matrix where the rows are x, y, z
coordinates of the vertices.}
\item{hmin}{Minimum height to chop the polygon.}
\item{hma... |
e4341f29e117dfb0087ddf13ec198be67d0b7029 | 80a3908146756e6386bd14b8a7d9df54dc759e15 | /plot1.R | 64cb3a59e31260511a75c072437c7cfb59b9d832 | [] | no_license | matt21511/ExData_Plotting1 | 42fbe50aa1febb3c13546ad02c6b4da44bb18233 | 2f6d3126de3c2510937a988c40afa4e9d4d769ee | refs/heads/master | 2021-01-16T21:31:04.098764 | 2015-02-08T04:03:10 | 2015-02-08T04:03:10 | 30,469,794 | 0 | 0 | null | 2015-02-07T20:51:40 | 2015-02-07T20:51:40 | null | UTF-8 | R | false | false | 369 | r | plot1.R | #Import Data
mytable <- read.table("household_power_consumption.txt",header=TRUE,sep=";",na.strings="?",colClasses=c(rep("character",2),rep("numeric",7)))
ftable <- mytable[grepl("^[12]/2/2007",mytable$Date),]
#Create Plot
png(filename="plot1.png")
hist(ftable$Global_active_power,main="Global Active Power", xlab="Glob... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.