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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1f7a6dbb7c97122e2594d2149328b5d6ce1a4505 | 54f90d5a909bc8b969502db1de21098166e928cc | /double_fa_analyzer_2.R | 2141b6c73169f42cb8bc8fe520a532d78bfcb569 | [] | no_license | GuZase/ddcfDNA | f430145c706afb2995255e208fc497ebe1ed42c9 | 4ed5a018d61d5485c3969c7138fbabe0f2d66e96 | refs/heads/master | 2023-04-27T21:13:03.297800 | 2019-04-26T17:13:27 | 2019-04-26T17:13:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,505 | r | double_fa_analyzer_2.R | setwd("/home/delaram/delaram/data/CareDx/CareDx_2019_Feb_23")
library(stringr)
library(data.table)
library(GenomicRanges)
library(IRanges)
library(rlang)
library(ggplot2)
library(Rsamtools)
library(BiocManager)
library(parallel)
library(plyr)
library(UpSetR)
############################################## functions
pi... |
03a850e33ee7e44816838acc5644157d86fef861 | b9db037ee7bc2ebf9c228ad1f66fecabccfa70be | /tests/testthat/test_add_feature_weights.R | 4ef0f9089d75f4607b645fe9e9a8faf6813882be | [] | no_license | IsaakBM/prioritizr | 924a6d8dcc7c8ff68cd7f5a2077de2fa1f300fe7 | 1488f8062d03e8736de74c9e7803ade57d6fcc29 | refs/heads/master | 2020-12-10T06:23:19.437647 | 2019-12-22T00:04:20 | 2019-12-22T00:04:20 | 233,524,401 | 1 | 0 | null | 2020-01-13T06:13:19 | 2020-01-13T06:13:18 | null | UTF-8 | R | false | false | 14,578 | r | test_add_feature_weights.R | context("add_feature_weights")
test_that("compile (compressed formulation, single zone)", {
# generate optimization problem
data(sim_pu_raster, sim_features)
b <- floor(raster::cellStats(sim_pu_raster, "sum")) * 0.25
p <- problem(sim_pu_raster, sim_features) %>%
add_max_cover_objective(budget = b) %>%
... |
19dbfef965e70f5fb6256b390bcbbb05e3bf3d43 | dadfa5ac29f15b2ed6387c02a137c8aa5b491e83 | /R Programming Advanced Analytics in R/Creating a TimeSeries plot.R | b82175a51320627999a1d858c0585db2376829f6 | [] | no_license | guilhermeaugusto9/R-Userful-Scripts | 70bb21e712d5dad634d1fc79b0274dd24eae1671 | 327ab34138016b991d6dd26a707359c90340cb4a | refs/heads/master | 2020-12-04T02:55:19.420406 | 2020-01-03T12:24:52 | 2020-01-03T12:24:52 | 231,580,679 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,201 | r | Creating a TimeSeries plot.R | # THis tutorial starts at the line 400
#LISTS IN R
#Deliverbable a lista with the faloowing components
#Character: Machine list
#Vector : (min, mean, max) , utilization for the month (excluding unknown hours
# Logical: Has utilization ever fallen below 90% ? TRUE/FALSE
#Vector: ALL hours where utiliza... |
33df3513b1e0b2df1d660e09eed3b07c69c018bd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Compounding/examples/pgfIthomas.Rd.R | e3736bb0852391f86902776e5cc96562917d6ced | [] | 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 | 422 | r | pgfIthomas.Rd.R | library(Compounding)
### Name: pgfIthomas
### Title: Function pgfIthomas
### Aliases: pgfIthomas
### ** Examples
params<-c(5,.4)
pgfIthomas(.9,params)
## The function is currently defined as
pgfIthomas <- function(s,params) {
xval<-length(s)
for (i in 1:length(s)) {
func<-function(x) pgfthomas(x,... |
009576e7444dc1abbc077e92eafb12b28a7d9da2 | 3805a17d29ec60517c95ea63cd4a393d530d5b15 | /man/raw_track_get_similar.Rd | 01646a748b5e6cada18b5631161a76461d89b29f | [] | no_license | bkkkk/lastfmr | da73596e853989cfe116f52244c617b3f6ae78da | 8617f03a7485c4bc2c1b4baa3c46595e6c959a3c | refs/heads/master | 2022-09-05T11:35:18.732279 | 2022-08-31T06:54:54 | 2022-08-31T06:54:54 | 125,021,275 | 0 | 0 | null | 2021-11-20T07:19:08 | 2018-03-13T08:57:09 | R | UTF-8 | R | false | true | 1,633 | rd | raw_track_get_similar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods-track.R
\name{raw_track_get_similar}
\alias{raw_track_get_similar}
\title{Search for similar tracks}
\usage{
raw_track_get_similar(
track = NULL,
artist = NULL,
mbid = NULL,
autocorrect = TRUE,
lang = NULL
)
}
\arguments{
\i... |
6711ac7d57cd8a502923802c72050abb7d75147d | 13d258a894224d5836517ce1a61500e64ce3cb0e | /scripts/getTopGenres.R | 6cd46a69ac3c0b7d1a3b6e49352d366c3674ed9e | [] | no_license | tomcopple/lastfm | ffb478b6651718d362ad3869a2a120b3b1ac6b88 | 9d467cf51ef0e2b2d8b05609f5ced842322d2ce5 | refs/heads/master | 2023-09-04T10:21:31.278361 | 2023-08-26T14:26:42 | 2023-08-26T14:26:42 | 72,945,592 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,066 | r | getTopGenres.R | # Send list of artists to lastfm, get popular tags, then collate to get summary of genres.
# NB Needs lastfm to exist in the global environment, but doesn't check for it.
getTopGenres <- function(howManyArtists = 100) {
library(tidyverse);library(lubridate);library(httr);library(jsonlite);library(zoo)
#... |
e68284d5a3f3f667b082cef3e0f40426bc39fd0e | 52ac04f7c1918eb52ae4462720f6087c2446e316 | /process_platelets_final.R | e40eadee6686a66903d3cb0ef95f7a3570e60daf | [] | no_license | UCSF-DSCOLAB/combes_et_al_COVID_2020 | fe448c4ecae4a0ccec6b2f054ff9036c41d56f05 | 47ae7eea41bf8e5fc85be91ce1ebaaea378cc8c5 | refs/heads/master | 2023-06-12T19:35:32.670793 | 2021-07-07T22:43:24 | 2021-07-07T22:43:24 | 323,254,169 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,211 | r | process_platelets_final.R | ## Author: Nicholas Kuhn
# Call libraries
library(assertthat) # For sanity checks
library(ggplot2) # For pretty plots
library(cowplot) # For pretty plots
library(dittoSeq) # For pretty, colorblind friendly plots
library(dplyr) # For inline modification of matrices
library(grid) # For plotting ... |
af81358cbb992bd6adfbf16f0af7c494ac81bdc3 | eed3efe915e04af5b5f20acbbc7920f07477d812 | /BCEL/man/BCEL-package.Rd | c0d361357afe550a951407bbb75a7545583b7e43 | [] | no_license | yanzhong07/BCEL | acff2653c48136b7077b6ec494224da630821938 | c697383f9d9ceeb51697ca2d62bbdf0d0ebf778b | refs/heads/master | 2022-07-21T07:13:42.432591 | 2022-06-29T05:54:37 | 2022-06-29T05:54:37 | 292,409,966 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 614 | rd | BCEL-package.Rd | \name{BCEL-package}
\alias{BCEL-package}
\alias{BCEL}
\docType{package}
\title{
\packageTitle{BCEL}
}
\description{
\packageDescription{BCEL}
}
\details{
The DESCRIPTION file:
\packageDESCRIPTION{BCEL}
\packageIndices{BCEL}
Main functions:
exclusivelasso_project(): proximal operator of exclusive lasso.
exclusivelasso(... |
2e86a2bc1a5443d98b33fe681953070fade0b1af | 6dde5e79e31f29db901c81e4286fea4fa6adbc48 | /R/AmpPhaseDecomp.R | cd008bcdcb90f369cd5b207b2bd4a7eff175be03 | [] | no_license | cran/fda | 21b10e67f4edd97731a37848d103ccc0ef015f5a | 68dfa29e2575fb45f84eb34497bb0e2bb795540f | refs/heads/master | 2023-06-08T07:08:07.321404 | 2023-05-23T22:32:07 | 2023-05-23T22:32:07 | 17,696,014 | 23 | 19 | null | 2022-03-13T17:58:28 | 2014-03-13T04:40:29 | R | UTF-8 | R | false | false | 1,810 | r | AmpPhaseDecomp.R | AmpPhaseDecomp <- function(xfd, yfd, hfd, rng=xrng)
{
# Computes the amplitude-phase decomposition for a registration.
# Arguments:
# XFD ... FD object for unregistered functions
# YFD ... FD object for registered functions
# HFD ... FD object for warping functions
# Returns:
# MS.amp ... mean square for... |
8dfa1fbf49645bec698735fcc662a94427794dd5 | ee77fb8b2c8a4de8aad82de953a462ae9b38668e | /man/validate_aflelo_model.Rd | 8213abcd8d37d2675488b57c9a6f8450b95d27ad | [] | no_license | lazappi/aflelo | 700a281c9eb086887128f3ea968de8d0bbbd87a4 | a5c3d964140fbcd092b13a6672fffd474fb67692 | refs/heads/master | 2021-04-12T12:24:49.305211 | 2018-04-19T11:45:22 | 2018-04-19T11:45:22 | 126,563,142 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 392 | rd | validate_aflelo_model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model.R
\name{validate_aflelo_model}
\alias{validate_aflelo_model}
\title{Validate AFLELO Model}
\usage{
validate_aflelo_model(model)
}
\arguments{
\item{model}{The aflelo_model to validate}
}
\value{
Raises an error if invalid, otherwise ret... |
068570301b5c9dad3b3a0359bb7db845867fe90f | 9d4522c3ddcbd5bb4f4db1de74b94f93268ddf38 | /plot4.R | 9bd7cd28c4f8fdb5a7adb7c7220a3d5127a40975 | [] | no_license | ayoademob/ExData_Plotting1 | 4a06aae577994c2a2cdf5088fdae1e8f29d0a3da | 85417907196707122f405ecb39e07263db34af60 | refs/heads/master | 2021-01-15T12:41:23.896207 | 2015-10-12T23:11:27 | 2015-10-12T23:11:27 | 44,068,618 | 0 | 0 | null | 2015-10-11T20:34:59 | 2015-10-11T20:34:59 | null | UTF-8 | R | false | false | 2,321 | r | plot4.R | # First run the getConsumptionData() in the loadData.R script
# pass the returned dataset to the plot functions
# must have ggplot2 installed e.g. install.packages("ggplot2")
plot4 <- function(rawDT){
# Load libraries
library(ggplot2)
library(scales) # to access breaks/formatting functions
library(grid)
# ... |
d6e136dcd354fa1400d2d9c69c1bfd84e80a2975 | 9d4e36cab5ff517d4d4138d4031200a5e4b002e1 | /man/csd.Rd | 464391aef14d199fa80a61e6edb20a3ea619d116 | [] | no_license | FranzKrah/ClimInd | 9a4d248e329c9d57b57fc2669bc242c01fe2ee06 | 0a7be3c7e437201407ec549401d3547ce3496888 | refs/heads/master | 2023-04-05T00:27:36.346935 | 2021-04-09T23:00:03 | 2021-04-09T23:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 600 | rd | csd.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/indecis_indices.R
\name{csd}
\alias{csd}
\title{Maximum consecutive summer days}
\usage{
csd(data, data_names = NULL, time.scale = YEAR, na.rm = FALSE)
}
\arguments{
\item{data}{daily maximum temperature, Celsius}
\item{data_names}{names of ... |
7a0e01414d6a26948d271227531967b3e7d2aada | 9a710be47265c0a9e8654a71b0a32e58bdb0b7c5 | /R/Visualizer.R | 3ab86da350f2c7e116b9e8519037b07057030e32 | [] | no_license | shaowenguang/guidance | 0c62e3b6152c6a495966c2deee2c21422c61e548 | 31cebf6e03f56ed2d327dfc24ab8b451a4d1a33a | refs/heads/master | 2020-04-21T14:40:16.588236 | 2019-05-16T15:19:29 | 2019-05-16T15:19:29 | 169,642,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,986 | r | Visualizer.R | #' @importFrom ggplot2 ggplot
#' @importFrom ggplot2 aes_string
#' @importFrom ggplot2 geom_density
#' @importFrom ggplot2 theme
#' @importFrom ggplot2 element_text
#' @importFrom ggplot2 element_blank
#' @importFrom ggplot2 element_line
#' @importFrom ggplot2 labs
#' @importFrom ggplot2 ggtitle
# Visualize peptide pr... |
85b00605ad7d5994f48d96edeba0ed6166fbf70f | 6e00706c34f29f0aab07719b3fee50eec28abc5c | /man/meta_interaction_term.Rd | 90473e8f63935e8e80ac3b6531d5ebf7b75e97cc | [] | no_license | th-zelniker/TIMI | 21f53786b5ee6e0d2ffefc19cd8dc36c424340e6 | 53ce5a7e195b6646b70424a80829a32734a41a0e | refs/heads/master | 2022-10-13T23:26:24.055586 | 2022-09-23T14:11:35 | 2022-09-23T14:11:35 | 135,347,152 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 886 | rd | meta_interaction_term.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/meta_interaction.R
\name{meta_interaction_term}
\alias{meta_interaction_term}
\title{Calculate the interaction term incl. 95 Percent-CI when the RR or HR for two subgroups are given.}
\usage{
meta_interaction_term(
Group_A_HR,
Gro... |
53f16d749239c991bf6cce789a3d92802d4dfa56 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/PoweR/R/plot.discrepancy.R | 3823ab473f055a4bc7331667fff18c38b1600911 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,361 | r | plot.discrepancy.R | plot.discrepancy <- function(x, legend.pos = NULL, ...) {
Fx <- x
if(!inherits(Fx, "Fx")) stop("Method is only for Fx objects!")
## Retrieve informations from Fx computed by calcFx()
Fxi <- Fx$Fx.mat
xi <- Fx$x
law <- Fx$law
statnames <- Fx$statnames
N <- Fx$N
## Now ... |
91251469ac2175ac7e74a4af244356df3d8762dc | 1671090de75c79510a1bb0c2af13694e588e899d | /kim_Rstudy/postcrawling.R | 5e4ebe855b813cc332e45702ffa25d36c5b99479 | [] | no_license | sam351/TIL | c8d4dd7088003a22488cdaf8ad2a3b1192bc0b10 | 4c82ae553a4512bcc26658de9803b908a6d0b60a | refs/heads/master | 2022-12-10T17:57:47.003905 | 2020-12-15T13:39:54 | 2020-12-15T13:39:54 | 226,819,223 | 0 | 0 | null | 2022-12-08T03:44:47 | 2019-12-09T08:15:03 | Jupyter Notebook | UTF-8 | R | false | false | 225 | r | postcrawling.R | library(httr)
library(rvest)
url <- "http://unico2013.dothome.co.kr/crawling/post.php"
res <- POST(url, encode = "form", body = list(name = "R", age = 27))
nodes <- html_nodes(read_html(res), "h1")
print(html_text(nodes))
|
635e238f01c08b40b213d2111ffe907a4836c3ec | 4edb70f7ad1b1fb7aff633ec9a2c38e62ff2d9e3 | /mcb/figures/src/fig1.R | 0dbc420daa596d894135a40c1c91dc28032cb0cf | [] | no_license | zhuchcn/egg_study | 472a67f3b6f4f086d3c825cde650ecb60ab9aeb0 | 6f420d6aea901c183bd9bcd7f79056231ceab2ad | refs/heads/master | 2020-03-23T04:09:31.828577 | 2019-10-01T22:38:26 | 2019-10-01T22:38:26 | 141,053,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,090 | r | fig1.R | setwd(dirname(parent.frame(n = 2)$ofile))
source("global.R")
load("../data/data.rda")
# Figure 1A
# alpha diversity boxplot before and after egg and white
library(Metabase)
library(phyloseq)
otu = as_phyloseq(data$mcb$count$data$otu)
alpha_div = estimate_richness(otu, measures = "Shannon")
alpha_div$Timepoint = sample... |
352ffa601c1a086c6351b5cdc19f71b95c264ea2 | ff71205c6230bc579c380b2b38247934ec44074c | /Project 3/Question 1.R | 97160aa648cfbf82592395b12d0b8871881afd40 | [] | no_license | lamawmouk/Data-Mining-II | a05f01ffc1a30267a7394b4753fb46de19803d94 | a96231b5be0ba28d5c8393454ebb7f7ae174e9de | refs/heads/master | 2023-01-08T16:58:51.847201 | 2020-11-08T04:43:39 | 2020-11-08T04:43:39 | 310,982,071 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,419 | r | Question 1.R | # Delete all the objects in the workspace
rm(list=ls())
#Problem 1
setwd("C:/Users/Administrator/W_all_pt1/Desktop/hw3")
#load package which has nci data
#install.packages("ElemStatLearn") #package 'ElemStatLearn' is not available (for R version 3.6.3)
#library(ElemStatLearn)
load(("C:/Users/Administrator/W_all_pt1/De... |
5bfce59108234999f8cff9e6fa79cec4ad7c4636 | bd0bb262fda22a09140f77b8eb6db5b5b951d895 | /f_sim_pop_dyn.R | 84bad77cff62e07ee0c0cb8ceddd55d9d46fa0c7 | [] | no_license | erikbsolbu/ecy22 | 470ae9a26be9f5bf70e92475a484e1d95274c9ce | 871f18869f7538841ab9da4a1f12cc749cdbfaff | refs/heads/main | 2023-04-08T10:37:06.115137 | 2022-03-24T12:03:04 | 2022-03-24T12:03:04 | 456,653,719 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,424 | r | f_sim_pop_dyn.R | # Simulate discrete version of population dynamic model
# n_sp: number of species
# tmax: number of time points
# gamma: strength of density regulation
# ss2: species specific response to environmental variation
# sr2: variation in growth rate among species (heterogeneity)
# sE2: general response to environmental... |
fc4394d230670cb63af00022e0342c641cba5a7e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/officer/examples/docx_summary.Rd.R | d0c360310862f4872ab35db8a71c27aff1b1d100 | [] | 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 | 263 | r | docx_summary.Rd.R | library(officer)
### Name: docx_summary
### Title: get Word content in a tidy format
### Aliases: docx_summary
### ** Examples
example_pptx <- system.file(package = "officer",
"doc_examples/example.docx")
doc <- read_docx(example_pptx)
docx_summary(doc)
|
ffd999013d97e97f4b9da033bcef4243c92f05f8 | 8adaa7c9a5505cb3592846f9ee6c1351483e49df | /src/H1/extra.R | c5a8c7a2fdcf38a1b0ad8730e95ba1a7bfe50027 | [] | no_license | yyyliu/crowdsourced_data_analysis | c5a0f32d195964b877019c8bf28e0c8dcc98ba9b | ded93041cc4c66512ad4175b575c001e3b2db236 | refs/heads/master | 2023-01-31T14:28:44.071570 | 2020-12-15T00:22:37 | 2020-12-15T00:22:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 748 | r | extra.R | # here are the code for computing model fit and uncertainty
# it works for lm only
# --- (O)
# cross validation
fit <- cross_validation(df, model, '{{DV}}')
nrmse = fit / (max(df${{DV}}) - min(df${{DV}}))
# wrangle results
result <- tidy(model, conf.int = TRUE) %>%
filter(term == '{{IV}}') %>%
add_column(NRMSE = ... |
9abb8de96360434bf165a36938ff665e7c2b0b8c | ae364e75fa67793917d78042759ff1c951c2ca8c | /MSE_model_2.R | 52554cd460e08eb143ea1560da04af6443aef469 | [] | no_license | joewbull/MSE_offsets | a89bd11c8abe78f291c9643dd690bcfa6fc43b07 | d2d168fb2d968683196141048d375dc7bd0e2c28 | refs/heads/master | 2020-08-04T08:44:32.418316 | 2019-10-01T11:23:19 | 2019-10-01T11:23:19 | 212,077,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,993 | r | MSE_model_2.R | ####################################
## Management Strategy Evaluation ##
####################################
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
install.packages("scatterplot3d")
install.packa... |
bf2f6e3d2940afae9c128fa3073b8826b3689fd0 | 6296202cdd3cefaa5f4ebebfcbe8feebe80a0308 | /run_analysis.r | 58f66813b8f8eff2942d9cca25a914d1d939644a | [] | no_license | arousos/samsungData | 62ede3ac7fb35ea32d7ae989d021da88e24c2dab | 90c6f5ec8be8023c7c69f2033c743c236923b478 | refs/heads/master | 2020-04-06T04:14:55.209289 | 2015-04-26T17:19:50 | 2015-04-26T17:19:50 | 34,621,385 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,673 | r | run_analysis.r | # Download and Extract the original data
zipURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(zipURL, destfile = "UCI HAR Dataset.zip", mode="wb")
dataXtest <- read.table(unzip("UCI HAR Dataset.zip", "UCI HAR Dataset/test/X_test.txt"))
dataYtest <- read.table(... |
e3df06c203326e8eab4a9afd272c38a8afbb7cb7 | 433947a5e18c57628d86ee9182fdba44f5ee6748 | /assignment5/facebook/facebook.R | dce4e3060027d1b7b72a72e7f4d38695fb46edb9 | [
"MIT"
] | permissive | maturban/cs595-f13 | e4210eed78a3fbdd30a8d56ae66f417620a82461 | ba4f396bfb2412712c9d90d5015f1717e2725477 | refs/heads/master | 2021-01-16T20:35:55.697415 | 2013-12-06T05:17:00 | 2013-12-06T05:17:00 | 12,801,710 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,801 | r | facebook.R |
x <- c(1, 160)
y <- c(6, 4000)
plot(x,y, type="n", xlab="Friends", ylab="Number of Friends" ,log="y")
x1 <- c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54... |
1850801e04cafc581ac9594cad401f52820a897e | d58294d8a3635f8cfacd8b2755fda5fe3a189bc5 | /Letter Recognition Using Support Vector Machines/DDA1710199_main.R | 50619cd570148beae2755179a40d1615a046c5ca | [] | no_license | sauravramuk/DA.Projects | eadbd7dc8f45db5075756dc976fd46d3d33d8f3a | 8020aa0395b8fe854add087cb428989b7eb74bd8 | refs/heads/master | 2021-06-30T00:50:56.912278 | 2017-09-20T03:27:15 | 2017-09-20T03:27:15 | 101,907,958 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,838 | r | DDA1710199_main.R | library(caret)
library(caTools)
library("kernlab")
library(dplyr)
digits.train <- read.csv("mnist_train.csv")
digits.test <- read.csv("mnist_test.csv")
#There are no NA or non numeric values for the records
colnames(digits.train)[1] <- "Digit"
colnames(digits.test)[1] <- "Digit"
#Function that tr... |
1b2fda07a14ecd2f53363fd1991061e40bf2803b | 4e180e6b0753c9bf344891866eb3b8e26b1ce56d | /code_old_reference/regen_analysis_zscore_lme_3.R | d62fbe9961a4cda00b1ccb9a52a5b41f97e4e238 | [] | no_license | youngdjn/postfire-regen | 631b1a85df9d449e918475360166d599766d7992 | 7e561bfdf4003a04b3ae3654ca0f2962cf91a1fe | refs/heads/master | 2023-03-18T01:37:18.722791 | 2023-03-08T05:13:48 | 2023-03-08T05:13:48 | 75,105,347 | 0 | 0 | null | 2017-07-25T20:23:47 | 2016-11-29T17:29:47 | R | UTF-8 | R | false | false | 25,772 | r | regen_analysis_zscore_lme_3.R | setwd("C:/Users/DYoung/Dropbox/Research projects/Post-fire regen shared")
source("R/regen_utils_2_zscore.R")
library(arm)
library(plyr)
library(MuMIn)
library(snow)
library(lme4)
library(ggplot2)
library(gridExtra)
d <- read.csv("Data/regen_clim_full.csv",header=TRUE)
d$FORB <- d$FORBE
d$firesev <- d$FIRE_SEV # u... |
73913f565f485fa640527f01f9f6e85d70aedfbe | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ifultools/examples/scaleData.Rd.R | a89454ef49f0a7614f5f6b3916b166e00a51b12a | [] | 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 | 178 | r | scaleData.Rd.R | library(ifultools)
### Name: scaleData
### Title: Scale numeric data
### Aliases: scaleData
### Keywords: utilities
### ** Examples
scaleData(c(1,10,100,1000),scale="db")
|
1d118e95327d5d98aa08cb7151ce6603bbc488c2 | f4cc3754e8d6de28625650ed2d93cf7b71e3ff19 | /Lectures/Lecture_W06_Discrete_Probability/main.R | 5ce1178228baac5c2f9d66c2f81b80512e796412 | [] | no_license | xujianzi/GEOG533 | 2bc3cacee25a02c51dbd07f8db3364e54cfbe926 | a141022819d6ceb2e03c1bdba4610630f5fc4d3e | refs/heads/master | 2021-05-15T06:19:05.409487 | 2017-12-14T22:11:22 | 2017-12-14T22:11:22 | 114,300,878 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,109 | r | main.R |
### Counting the number of combinations
#choose(n,k) = n!/k!(n-k)!
choose(3,2)
factorial(3)/(factorial(2)*factorial(3-2))
choose(5,3)
factorial(5)/(factorial(3)*factorial(5-3))
choose(50,3)
factorial(50)/(factorial(3)*factorial(50-3))
choose(4,2)
### Generating combinations
#combn(items, k)
combn(1:5,3)
combn(c("T... |
8d7e6d93932cd83bd94be457c0f26c157114bb03 | c438e401cbc856aeb77707846260f0525734b997 | /data-raw/06-process_events_data.R | b9e7c7da369ed46b9b95f1315f13c7682773ffd5 | [] | no_license | geanders/hurricaneexposuredata | 6794f93831b7ee3dec19ea83975e1b2b738a0014 | b42fe54788ba8ade5e6aab614c75eea41d51a80c | refs/heads/master | 2022-06-02T05:47:11.387854 | 2022-05-16T01:39:35 | 2022-05-16T01:39:35 | 61,568,076 | 8 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,136 | r | 06-process_events_data.R | ## Be sure to re-build package after running 02 before running this script
library(noaastormevents)
library(dplyr)
data(hurr_tracks, package = "hurricaneexposuredata")
storm_id_table <- hurr_tracks %>%
select(storm_id, usa_atcf_id) %>%
distinct()
storm_years <- gsub(".+-", "", storm_id_table$storm_id)
storms <- s... |
8e8e38a0a164ba1ca49dde70b32bb7a3f453946c | 9489320a4fc68aed3e900830a32a25703639a0d7 | /code/disturb-events-co13/nCLIMDIV-Palmer-Drought-In-R.R | a83aa44b80ef056425ba0fb090d4f1a827bf9dd0 | [] | no_license | mperignon/NEON-Lesson-Building-Data-Skills | bf79c792ba098b5b6b863539acc39205f212a3fe | 7619414db6453a042566cd02bbaf1356cb89ad32 | refs/heads/gh-pages | 2020-12-24T11:18:07.939012 | 2016-11-07T05:27:18 | 2016-11-07T05:27:18 | 73,037,865 | 0 | 0 | null | 2016-11-07T03:10:09 | 2016-11-07T03:10:09 | null | UTF-8 | R | false | false | 9,794 | r | nCLIMDIV-Palmer-Drought-In-R.R | ## ----load-libraries------------------------------------------------------
library(ggplot2) # create efficient, professional plots
library(plotly) # create interactive plots
## ----load-libraries-hidden, echo=FALSE, results="hide"-------------------
# this library is only added to get the webpage derived from ... |
490308a55795ef2e8fd6a46cfc60dad0c877954c | b4f4751efb5a7b380039c6c312bf4c31125fdff7 | /man/TF_robotarm.Rd | 92e1ee4cd7316889f93c6cb5c6145eef07dd2bfc | [] | no_license | CollinErickson/TestFunctions | df948bfa4194284c01bc30d139c56ff54ba8f1f4 | f7755de107c453fccbefabdddbe8c2c9d68d1200 | refs/heads/master | 2023-02-22T16:09:08.483163 | 2023-02-13T02:26:17 | 2023-02-13T02:26:17 | 63,456,817 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 463 | rd | TF_robotarm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions1.R
\name{TF_robotarm}
\alias{TF_robotarm}
\title{TF_robotarm: Robot arm function for evaluating a single point.}
\usage{
TF_robotarm(x)
}
\arguments{
\item{x}{Input vector at which to evaluate.}
}
\value{
Function output evaluated a... |
80ef385fdbd59799b9b0eaeb0a0552f0cb87bf15 | 59d0ef049e63b38cb5a8b84cad8cd45fcaad8974 | /R/calcLambda.R | 6233b243d19d11d64c3294847dd0dc8e721a885c | [] | no_license | guhjy/lavaPenalty | e6a9452992c34c555e7de8957b34e79b7338fc7f | 9bbaaa25517c12b81ad282b0b05b3029f4a8e6f5 | refs/heads/master | 2020-04-08T14:24:05.235200 | 2018-02-26T09:43:01 | 2018-02-26T09:43:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,379 | r | calcLambda.R | # {{{ doc
#' @title Estimate the regularization parameter
#' @name calcLambda
#' @description Find the optimal regularization parameter according to a fit criterion
#'
#' @param x a plvmfit object
#' @param seq_lambda1 the sequence of penalisation paramaters to be used to define the sub model
#' @param data.fit the d... |
3cf4791a36bdb81ff1d0299765bdf4ebf6a5a960 | dd559bdf01b7e9f10040f158f98629c92f29fa06 | /tests/testthat.R | c4065c91a54dc8b9dce1e8c5dfcb514905c7a5b6 | [] | no_license | sunqihui1221/MyPackage | 7a06f7309c5fa404faa63eaf906a9e1a92c87165 | b49d300d3adbbe52fd81ab2d8da3babe0d5f3b21 | refs/heads/master | 2020-08-21T00:06:49.570422 | 2019-10-18T18:22:55 | 2019-10-18T18:22:55 | 216,080,357 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 79 | r | testthat.R | library(testthat)
library(MyPackage)
test_check("MyPackage")
plus10(5, TRUE)
|
abcbc07541c0d4b9cd11409b5b3e86dd18f1c057 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/LSD/examples/heatscatterpoints.Rd.R | c5b50041f0b8391aa9e916d8686907a1fc3363ce | [] | 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 | 535 | r | heatscatterpoints.Rd.R | library(LSD)
### Name: heatscatterpoints
### Title: A colored scatterplot based on a two-dimensional Kernel Density
### Estimation (add to an existing plot)
### Aliases: LSD.heatscatterpoints heatscatterpoints
### Keywords: heatcolors scatterplot,
### ** Examples
points = 10^4
x = c(rnorm(points/2),rnorm(points/2... |
c1b345d27bc4b109e4b397a421f3f72181d06086 | a47ce80aa269ff4f7c0c54e0df97815b0bb783a7 | /plot4.R | 4adcf680fe9a941f88e51f519347b7af793a9382 | [] | no_license | rajathithan/ExData_Plotting1 | 176f9287b78ad195d184d460535ef0caed3faab3 | 095cd8437d1fd408d9a1d410fea79e19b3c2cc8d | refs/heads/master | 2021-01-18T18:58:50.418531 | 2016-02-14T13:31:58 | 2016-02-14T13:31:58 | 48,317,156 | 0 | 0 | null | 2015-12-20T11:12:41 | 2015-12-20T11:12:39 | null | UTF-8 | R | false | false | 791 | r | plot4.R | data <- "ec/newecdata.rds"
ecdata <- readRDS(data)
png("ec/plot4.png", width = 480, height = 480)
par(mfrow=c(2,2))
plot(ecdata$Time, ecdata$Global_active_power, type = "l", xlab = "", ylab = "Global Active Power")
plot(ecdata$Time, ecdata$Voltage, type = "l", xlab = "datetime", ylab = "Voltage")
plot(ecdata$Time, ecd... |
27a9b13af058ba6d1b39e51bd137f8d4cb4a64f6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Claddis/examples/ReadMorphNexus.Rd.R | 9c08d7705b212e8802c5ed3d2bdb42cbc70ea60b | [] | 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 | 859 | r | ReadMorphNexus.Rd.R | library(Claddis)
### Name: ReadMorphNexus
### Title: Reads in a morphological #NEXUS data file
### Aliases: ReadMorphNexus
### Keywords: NEXUS
### ** Examples
# Create example matrix (NB: creates a file in the current
# working directory called "morphmatrix.nex"):
cat("#NEXUS\n\nBEGIN DATA;\n\tDIMENSIONS NTAX=5 N... |
8fad7a3c16feb95c922aa3bd17c860a869be01b3 | 7fc89fddba6496ed4a7541a4acaca0f3bbc84816 | /features2.R | 9638449d8d7aff7818b82162dd4690b9e7d88a47 | [
"MIT"
] | permissive | nathanjchan/ice-on-mars | bb9b3a4f0f0188fbd42e030daee870a487a045d7 | e28671df241c286f825b84f3eded695eff530b6c | refs/heads/master | 2023-07-21T00:46:29.469174 | 2023-07-10T03:30:17 | 2023-07-10T03:30:17 | 279,992,372 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,709 | r | features2.R | # Libraries ----
library(parallel)
# library(fractaldim)
# library(radiomics)
source("functions.R")
# Global Variables ----
df = read.csv("radar.csv", stringsAsFactors = FALSE)
df = df[, !(colnames(df) %in% "X")]
# Sample ----
n = 500
global_i = 0
global_n = n
global_start_time = Sys.time()
set.seed(23*3)
sa... |
aa95ea5c50307a2f36b7754b1840fbbf59a9e425 | 1444cdcb441dc2ce139819c81ca60b775fc5270d | /run_analysis.R | 620042fb3bf232c87f6c619880cad7b82217511c | [] | no_license | dvfriedheim/Getting-and-Cleaning-Data-Course-Project | f04d27325b255e1231f8721246a075071e60a248 | 940865c3df82a46230339ea8a7f16481959f9ac0 | refs/heads/master | 2021-01-23T04:19:53.158390 | 2017-03-25T20:24:12 | 2017-03-25T20:24:12 | 86,186,098 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,162 | r | run_analysis.R | ## Preliminaries: download data, read in and combine subject, activity and raw data files
if(!file.exists("./data")){dir.create("./data")}
URL<-"https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(URL,"./data/Dataset.zip")
unzip(zipfile="./data/Dataset.zip",exdir="./da... |
229d18419b93c56461e0bf4e696c21e7c5196b8d | 60938027552d345a7afe52d4800abccacb18abf1 | /Functions_equilibrium.R | d33892439006f47059126ba20c2d04113e3375b0 | [] | no_license | matthewhholden/Management_Targets_For_Anti_African_Elephant_Poaching | 07a23d7827b8a8ac8e81674bd3c4fb22e73d38ae | a12dadc8ce82bb39bff31fd8410798e91e711812 | refs/heads/master | 2021-01-21T20:37:59.569767 | 2017-05-25T02:35:47 | 2017-05-25T02:35:47 | 92,258,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,300 | r | Functions_equilibrium.R |
# Functions ####
dEdt.nulcline = function(pars, N){
r = pars[1]; k = pars[2]; q0 = pars[3];
cp = pars[4]; s0 = pars[5]; b = pars[6];
s1 = pars[7]; mu = pars[8]; pc = pars[9];
cc = pars[10]; p0 = pars[11]; area = pars[12];
eta = pars[13]; z = pars[14];
m = pars[15]; delta = pars[16];
E = ... |
3baf4c28123642a5936cff62971167c4953b17c8 | 9334d2ce11d1c587b9233cd727e0649c34957cef | /Scripts/complete.R | 74f950935e33b4bd0e1dc740bcaf8a709557bc97 | [] | no_license | sanketdave88/R-Programming-Notes | 61ee0e983e40044d78cfd196795ecfd7ec3f7c3e | 21d0a91e54f80540ff6c5c8dc51e38d91b08a660 | refs/heads/master | 2022-11-26T19:22:13.974622 | 2020-08-09T03:13:04 | 2020-08-09T03:13:04 | 284,391,689 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 531 | r | complete.R | complete <- function(directory,id = 1:332){
if(grepl('specdata',directory) == TRUE){
directory <- "./Data/rprog_data_specdata/specdata"
}
complete_data <- numeric(length(id))
allfiles <- as.character(list.files(directory))
filepaths <- paste(directory,allfiles,sep = "/")
j <- 1
for(i in i... |
7b5fa410b40d193eff0c268c3a032a17a586f8f1 | 7f4ebcf527bea646b1a0a74c3e2e50fb035f4b3d | /comparison chart.R | 4b82725569208a2a3a8492c5d6e4225dc0f3483a | [] | no_license | hsmohammed/COVID-19 | c37ac52e54c2eb55176d1b1d6cca8ec83d4a6728 | d608cc10a1f3dadf3ff33b987241b3196513750d | refs/heads/master | 2021-04-04T01:39:57.027576 | 2020-04-15T03:46:16 | 2020-04-15T03:46:16 | 248,413,576 | 1 | 1 | null | 2020-03-19T04:52:57 | 2020-03-19T04:52:57 | null | UTF-8 | R | false | false | 2,077 | r | comparison chart.R |
COVID_confirmed_viz <- COVID_confirmed %>%
dplyr::filter(country %in% c("Iran", "US", "Italy", "Spain")) %>%
group_by(country) %>%
arrange(country, date) %>%
dplyr::filter(date >= "0020-02-15")
#
COVID_deaths_viz <- COVID_deaths %>%
dplyr::filter(country %in% c("Iran", "US", "Italy", "Spain")) %>%
group_b... |
768ef104bbfa630516280c75fd02da2cb28f5cfc | 29d34e3302b71d41d77af715727e963aea119392 | /R/cols2list.R | 10797202c3426a276262613e9e32748f4c1ae353 | [] | no_license | bakaibaiazbekov/rtemis | 1f5721990d31ec5000b38354cb7768bd625e185f | a0c47e5f7fed297af5ad20ae821274b328696e5e | refs/heads/master | 2020-05-14T20:21:40.137680 | 2019-04-17T15:42:33 | 2019-04-17T15:42:33 | 181,943,092 | 1 | 0 | null | 2019-04-17T18:00:09 | 2019-04-17T18:00:09 | null | UTF-8 | R | false | false | 520 | r | cols2list.R | # cols2list.R
# ::rtemis::
# 2018 Efstathios D. Gennatas egenn.github.io
#' Convert data frame columns to list elements
#'
#' Convenience function to create a list out of data frame columns
#'
#' @param x Input: Will be coerced to data.frame, then each column will become an element of a list
#' @author Efstathios D. G... |
af7978e38e24a789068b58179e911afba1b07f62 | b7bbe4cc327717b7f20cbe80eeb4bbd3ae18d1ac | /R/Modelling/DLtune.R | 1f5f2d5045e120331799752a445474e9ddc16ce7 | [] | no_license | guillaumelf/Challenge2018 | dd29fd918475e88da932ebeb256592c7b1383d37 | 1c403a6105c9fe4a7c1f1a3020b56c706ab5a9c0 | refs/heads/master | 2021-05-08T07:33:59.598679 | 2018-01-07T14:24:38 | 2018-01-07T14:24:38 | 106,869,111 | 0 | 1 | null | 2017-10-14T12:13:05 | 2017-10-13T20:13:51 | null | UTF-8 | R | false | false | 3,319 | r | DLtune.R | #ALLEAU 20/11/2017
#h2o Deep learning avec coord sans na sans
library(h2o)
library(readr)
library(dplyr)
source(file="R/fonction.R", encoding ="UTF-8")
### importation
test=read.csv('R/modif/test_WNADL.csv',sep=',',dec='.',header=T,stringsAsFactors = FALSE,encoding = "UTF-8")
test$ech <- as.factor(test$ech)
test... |
d48a33468b44647e8680261a04906ac6cc1b6cce | 330a27c197664d05c9592b21d0bf2682b6ae094a | /MLOpsMonitoring/man/add_selected_but_no_bought.Rd | 72b991dd6094731a4e322c26fd87d0a3ee392dbd | [] | no_license | datastorm-open/demo_webinar_mlops | 091140efe460c98b85789b8c70c11f81bd37e371 | 1dbd231478b84939460294464131b525b3d015f4 | refs/heads/master | 2023-08-03T10:34:59.647526 | 2023-07-20T09:21:35 | 2023-07-20T09:21:35 | 321,422,579 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,298 | rd | add_selected_but_no_bought.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/modeling.R
\name{add_selected_but_no_bought}
\alias{add_selected_but_no_bought}
\title{add_selected_but_no_bought}
\usage{
add_selected_but_no_bought(data, from, to, by, min_customer = 500,
max_customer = 1000, odd_new_customer = 5, mu_sku ... |
3e85a79e56254c26446d56bb21e51eebcc7d3beb | 8de55d619d716b78e4f532e72811fb229a285841 | /R/graphReport.R | 847550bf2435f24848a5f4f5aa49ccc898d46585 | [] | no_license | tbendsen/VIAreports | e9b99373586a2fe8bdd05585f76ee44fd73eccaf | 2997d35368e03c803affaf7d12c69f10cf22279e | refs/heads/master | 2020-09-10T17:10:39.841646 | 2019-11-14T19:39:05 | 2019-11-14T19:39:05 | 221,772,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,127 | r | graphReport.R |
#run this file to generate the graph-reports
defaultPath="C:/Users/THBE/Desktop/rapporter/"
#' createGraphReports
#' Laver en grafisk rapport, som på forskellig vis illustrerer lokaleudnyttelsen.
#' Creates one report pr. campus, placed in defaultfolder/names.pdf (defaultname is campus_suffix)
#' Creates one... |
3585cf3c472651ae7dc07ad0e31bb785fa807335 | 274c11c96f4976067674e3c76b7f490aba020123 | /man/commit.Rd | 0c865a4dec2d2a0c02fa86d376c2296069ce2d73 | [] | no_license | FvD/gert | 2b169acfd21a1179a946bedc042e43f7d7d904f9 | 5c2de88c1b07a140b774d1240c07b06a94e6dae1 | refs/heads/master | 2020-06-06T16:04:26.407104 | 2019-06-18T14:05:28 | 2019-06-18T14:05:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,153 | rd | commit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/commit.R
\name{commit}
\alias{commit}
\alias{git_commit}
\alias{git_commit_all}
\alias{git_add}
\alias{git_rm}
\alias{git_status}
\alias{git_ls}
\alias{git_log}
\alias{git_reset}
\title{Stage and commit changes}
\usage{
git_commit(message, au... |
785b670288ac01c5a6f1e7ad86e8970b0c591f97 | 9ede8acadd3134305ac53c221f589764c9a4b694 | /10_VectorData.R | d1fd23dffa06a2e61026d60b3423128f75863828 | [] | no_license | ColinChisholm/SpatialR | a98644cc5f6be31250f2b55e70d5fa620c3acb72 | 7f12ee62fab9888777a60a09883b6c1f6fbb564d | refs/heads/master | 2020-04-03T04:29:36.584028 | 2019-06-24T15:59:13 | 2019-06-24T15:59:13 | 155,015,594 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,760 | r | 10_VectorData.R | # Title: Spatial R
# Section: 10 Vector Data
# Purposes: Present Basic Vector Data usage including:
# - Data Import
# - Examination of data structure and attributes
# - Basic Visualization (Lines, Polygons, Points)
##### Libraries essential for spatial data ####
# #List of libraries (t... |
3bfe94a63e4aff83a535016a1070169a4e01f446 | 4a2cc98530bca183b9a88fbfc96675dbd3677075 | /man/statistics.classNRI.Rd | 428d2984fb6d91b8d8820fc18fd876d0985e3046 | [] | no_license | JohnPickering/rap | c09648ef716a68ee4e1557882d6110740830b896 | cca6dfaa31fbad726f952d552cf8a36594815a91 | refs/heads/master | 2023-07-10T10:35:04.541536 | 2023-06-30T05:13:54 | 2023-06-30T05:13:54 | 37,507,613 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,181 | rd | statistics.classNRI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rap.R
\name{statistics.classNRI}
\alias{statistics.classNRI}
\title{Reclassification metrics with classes (ordinals) as inputs}
\usage{
statistics.classNRI(c1, c2, y, s1 = NULL, s2 = NULL)
}
\arguments{
\item{c1}{Risk class of Reference model... |
2dcfff6315e267bb1a570f3a40d218f8bee08995 | 141f0b24bc5bb5e50c1e71af6bad133d9886b33e | /regresion_polinomica.R | 2e886c08876dffdc29f99e52ca93a80a58a2183c | [] | no_license | lauralpezb/ML-con-R | 6470bb9187852e72a40f7ed64a81740c676f635e | b9b3fc1045fa2512a238f4f90275e9903a09d2f2 | refs/heads/master | 2022-12-19T15:01:00.938523 | 2020-09-10T04:54:58 | 2020-09-10T04:54:58 | 294,294,484 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,388 | r | regresion_polinomica.R | rm(list=ls()) #Limpiar memoria
#Librerias
install.packages("tidyverse")
library(tidyverse) #Visualización
install.packages("MASS")
library(MASS)
install.packages("caTools")
library(caTools)
install.packages("ggplot2")
library(ggplot2)
#datos
data("Boston")
head(Boston,7)
#Preparar datos
set.seed(1234)
split <- s... |
b468ef2c4e8dd8b50dc5d597c6086916881d65af | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Devore7/examples/ex11.53.Rd.R | ad3474b9f840e09b4c6244f16e31af38f333c798 | [] | 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 | 160 | r | ex11.53.Rd.R | library(Devore7)
### Name: ex11.53
### Title: R Data set: ex11.53
### Aliases: ex11.53
### Keywords: datasets
### ** Examples
data(ex11.53)
str(ex11.53)
|
5776046d5c886613099d4b0a9368749ae468459d | ac95f4a5c652a9a328068edf009ab67cc8f62bff | /man/plot_iphc_map.Rd | 71c17edf14b85480b9c47e5d0be33a024f2e98ef | [] | no_license | pbs-assess/gfiphc | 8f200dcef7e36de6ecaef09cdb0383166f9307da | 90ad0b6d4ac6e1b5f52a3e55fc0b7ce0fe0069d3 | refs/heads/master | 2023-06-25T09:32:58.894375 | 2023-06-19T17:42:20 | 2023-06-19T17:42:20 | 177,639,706 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,580 | rd | plot_iphc_map.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iphc-maps.R
\name{plot_iphc_map}
\alias{plot_iphc_map}
\title{Plot the locations of the IPHC stations for a given year, with various}
\usage{
plot_iphc_map(
set_counts_of_sp,
sp_short_name = NULL,
years,
main_title = NULL,
mar_val =... |
30a3f2ce4bc3facfd030ae7589b301deb33e75b0 | 2d4bdf7c3b1ecdc0aec813bf59795db3a2050145 | /inst/doc/nll_functions_modifying.R | b92be6ac0663d15877990966a6d6ac80b8b715f6 | [] | no_license | cran/anovir | ebb268bade210c8869f9bd0c638265ea51d28399 | 80ffca0c6bebcc536d21d0982cd49c83f2226486 | refs/heads/master | 2023-01-03T22:26:35.098839 | 2020-10-24T07:50:05 | 2020-10-24T07:50:05 | 307,946,785 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,218 | r | nll_functions_modifying.R | ## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup, message = FALSE---------------------------------------------------
library(anovir)
## ----------------------------------------------------------------------------... |
5921ac8712a22d9e23b6351f9b88fa5013c2043f | c7c9a9753e068d93b32f90a9bafff236c0c85c11 | /Expt1_Sensicality Study/SensicalityPops.R | 8d4ba40bcbff17e94d00773d198150ce2fc752a6 | [] | no_license | hughrabagliati/CFS_Compositionality | bc1af660df540d43fc73414a029a1a0f941521ca | 364270a3a61289f54dffa4e1468b3c3afc158dca | refs/heads/master | 2021-01-17T15:18:20.755866 | 2017-07-04T10:31:45 | 2017-07-04T10:31:45 | 52,354,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,838 | r | SensicalityPops.R | library(plyr)
library(lme4)
library(doBy)
library(ggplot2)
library(bootstrap)
# From Mike Frank
theta <- function(x,xdata,na.rm=T) {mean(xdata[x],na.rm=na.rm)}
ci.low <- function(x,na.rm=T) {
mean(x,na.rm=na.rm) - quantile(bootstrap(1:length(x),1000,theta,x,na.rm=na.rm)$thetastar,.025,na.rm=na.rm)}
ci.high <- functio... |
0908a0413d3016ac8ab7b594d9d2480b7eee3fdd | 3812d02a0b7a2b17ffae371fc2d41076fe2ad868 | /man/PSM.Rd | 77e2e6c969c2f15f669bc3ddffc7a4f777d461bf | [] | no_license | reealpeppe/PSM | eef24128396d06bfa1ff1203bc35b6ba99b17463 | 027a8440461c5d3e698ab42620599fdbb2c96d5c | refs/heads/main | 2023-07-24T05:44:06.384114 | 2021-09-06T20:36:13 | 2021-09-06T20:36:13 | 401,394,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,241 | rd | PSM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PSM.R
\docType{package}
\name{PSM}
\alias{PSM}
\title{PSM: A package to estimate Partial Splines model}
\description{
The PSM package provides the main function "PartialSplines" that allows the user to estimate a model through which th... |
d7c48dca06e62aef4d6aa736e4a933f7be15c7a2 | 613b46174610a2284afb644d43f95f47f5e02e9f | /R/diffExp/diffExpFunctions.R | 85db9e9511ea3b6b29d8485c0efc235bfb9a58bf | [] | no_license | leipzig/retinoblastoma_mirna_analysis | c18c368ce1d6ee2e7f00ebd00b2454da10f4dc0f | c3d2756cb4dfdd9adce9b54b72579de20e25a41e | refs/heads/master | 2020-03-21T21:23:03.949913 | 2012-07-19T01:46:43 | 2012-07-19T01:46:43 | 139,060,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,126 | r | diffExpFunctions.R | library(rtracklayer)
library(stringr)
loadConfig <- function (aligner, alignmentStringency, reference, alignmentStrategy) {
#bamDirectory<-concat("/bam",aligner,alignmentStringency,reference,alignmentStrategy,"/",sep="/")
assign("bamDirectory", concat("/bam",aligner,alignmentStringency,reference,alignmentStrategy... |
e3c663133388a1e21e5338db5c1868bbe2063d19 | 6f3de667027be0523a1c79df9506e07872e208b1 | /srfc_life_cycle.R | 5a72d7e57c9ce478fedd56f0bab72fddfc54a637 | [] | no_license | paulcarvalho/diagram | 07d75693a68944618c081181b48a68c74cdfe20d | b1ec00f6594fbdbe8af90d89f812cc821eeff329 | refs/heads/main | 2023-06-01T05:58:52.797217 | 2021-06-21T16:12:48 | 2021-06-21T16:12:48 | 375,136,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,451 | r | srfc_life_cycle.R | # Sacramento River fall-run Chinook salmon life cycle diagram
library(DiagrammeR)
# Create the first graph
nodes_1 <- create_node_df(n = 17,
x = c(0, 2, 4, 6, 8, 3, 5, 7, 9,
-2, -4 , -6, -8, -3, -5, -7, -9),
y = c(1, 1, 1, 1, 1, 3, 3,... |
b295bb483a5986e6c2fac0c720ef6e6c949c8ab1 | 2593252f36443bc674855110e0c17b5b6bd3561d | /epigeneticX/blood_pipeline_QC.R | 6f134a19ddcff58b79ecf09427c226dc1546a610 | [] | no_license | zhenyisong/core.facility | 045b0f3eca0694d6013cee7e99715a301e20f63e | 1df864d0ee9ba89e7217490fb7940ba60345a4bd | refs/heads/master | 2021-06-30T05:54:24.338355 | 2019-03-31T11:39:40 | 2019-03-31T11:39:40 | 115,390,474 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,778 | r | blood_pipeline_QC.R | # @author Yisong Zhen
# @since 2018-03-22
# @update 2018-04-12
# @parent blood_pipeline_QC.sh
#---
pkgs <- c( 'tidyverse', 'GenomicRanges',
'ChIPseeker', 'rtracklayer',
'GenomicAlignments', 'BiocParallel',
... |
d77822ee14d77d1a03c3d24ed9715530b1c50513 | b6a153835bad8716f08f12d572d9ee32c72238dd | /Scrape PCS Rider Attrs.R | de823e872f3543fde7a41bd174bd3a6d63781bb7 | [] | no_license | jfontestad/p-c | 7213ef310f932413997e8c06f687610a9f3a2c55 | 23d0b3449c621d53c93bfb32ff38583da335646a | refs/heads/master | 2023-09-05T03:35:25.580973 | 2021-11-20T13:32:41 | 2021-11-20T13:32:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,011 | r | Scrape PCS Rider Attrs.R |
library(tidyverse)
library(lubridate)
library(rvest)
library(RMySQL)
con <- dbConnect(MySQL(),
host='localhost',
dbname='cycling',
user='jalnichols',
password='braves')
#
LIMIT = 200
DATES1 = c(31759, 12408, 1951, 34621, 1951)
DATES2 = c(43578, 3... |
bdc22a67d5d919585126e6e12085ead355da0dfa | c8a19968f69bc99fa6dd6deae56fc4f77c672275 | /getting_and_cleaning_data/quiz3.r | 47b04803257d86664bb013e1fdf536a423237d69 | [] | no_license | rodolfoksveiga/courses | 9d77f0deadcc9e1edf43da835beff3fdbc874740 | a6d314ab4381121f5683bb6b4465cfd13fac36cc | refs/heads/master | 2023-06-05T02:27:38.076022 | 2021-06-23T12:50:08 | 2021-06-23T12:50:08 | 288,047,890 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,256 | r | quiz3.r | # set environment ####
pkgs = c('dplyr', 'jpeg')
lapply(pkgs, library, character.only = TRUE)
setwd('~/git/courses/getting_and_cleaning_data/')
# question 1 ####
df1 = read.csv('https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv')
index = which(df1$ACR == 3 & df1$AGS == 6)
# question 2 ####
file_url2 ... |
7be203c2cbf30cfe9a8dfe9085987b7107e287fc | ca25692e5f1e3c1f63c59e37fd92ffcdc6c78412 | /code/50_plotting_state_random_effects.R | 7086e6b0c3b3ac26052771e65736349b6b1448cb | [] | no_license | mkiang/decomposing_inequality | 3a06f8d86c1eddc161e0c83bbfaa092cde7285f8 | b3431e499572aeb2b11bfd2f7a2ea82d84ecfbb1 | refs/heads/master | 2020-09-06T12:19:47.116124 | 2019-11-09T06:40:55 | 2019-11-09T06:40:55 | 220,422,411 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,934 | r | 50_plotting_state_random_effects.R | ## Imports ----
library(magrittr)
library(rstan)
library(tidyverse)
library(matrixStats)
source('./code/helpers/99_helper_functions.R')
## Load data ----
load('./data_working/model1_extracted_samples.RData')
load('./data_working/model2_extracted_samples.RData')
fips_idx_map <- readRDS('./data_working/fips_to_dummy_ma... |
df42a7dd82c5eca9f1adf52a3ec590ddcd69d1ec | 0d1ef2cb3818bcadd602a0f46cbfec7ed55a9aef | /h2o_3.10.4.4/h2o/man/h2o.clusterInfo.Rd | c91a41ce1503c3b5c0cbd656f824cd80c97464e5 | [] | no_license | JoeyChiese/gitKraken_test | dd802c5927053f85afba2dac8cea91f25640deb7 | 3d4de0c93a281de648ae51923f29caa71f7a3342 | refs/heads/master | 2021-01-19T22:26:29.553132 | 2017-04-20T03:31:39 | 2017-04-20T03:31:39 | 88,815,763 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 199 | rd | h2o.clusterInfo.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{h2o.clusterInfo}
\alias{h2o.clusterInfo}
\title{Print H2O cluster info}
\usage{
h2o.clusterInfo()
}
\description{
Print H2O cluster info
}
|
4b054ab8436bf3cd9a43b2629ca209f97da9fbee | c3f087b8e2e2331b4d4946b722d8357cef1b8fc7 | /man/setParameters.Rd | 60ee64af99fd31e0343868a17888deee67f2c88c | [
"LicenseRef-scancode-unknown",
"Artistic-2.0"
] | permissive | jpahle/CoRC | 40f2d27b1adb321ecc93eb087c7f6d516cae94a4 | 103fb7ae2d01538703fc20a0745f8ffa0adea24b | refs/heads/master | 2023-03-17T07:23:55.156712 | 2023-03-12T22:49:13 | 2023-03-12T22:49:13 | 87,799,312 | 5 | 2 | Artistic-2.0 | 2021-07-21T19:12:51 | 2017-04-10T10:39:08 | R | UTF-8 | R | false | true | 2,048 | rd | setParameters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/entity_accessors.R
\name{setParameters}
\alias{setParameters}
\title{Set reaction parameters}
\usage{
setParameters(
key = NULL,
name = NULL,
value = NULL,
mapping = NULL,
data = NULL,
model = getCurrentModel()
)
}
\arguments{
\it... |
efb70bed67abb91b7f13e0327c0511d163291ce5 | be043b7fe4d683b44246fd7bb4045885c5205402 | /plot2.R | b322fa21df8d080ea1b6d3c642958d4683bf32e3 | [] | no_license | mkschle/ExData_Plotting1 | ae866e327d807afeb400ef84e7e767ab9adc1539 | 00d6689c9ceefa0045c38fa15cfb2819bd5b8151 | refs/heads/master | 2021-05-10T09:34:40.332412 | 2018-01-25T17:14:37 | 2018-01-25T17:14:37 | 118,928,675 | 0 | 0 | null | 2018-01-25T15:12:19 | 2018-01-25T15:12:19 | null | UTF-8 | R | false | false | 1,055 | r | plot2.R | # read the data
data_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(data_url, destfile = "data.zip")
unzip("data.zip")
data <- read.table ("household_power_consumption.txt", header =TRUE, na.strings = "?", sep = ";", stringsAsFactors = F)
# Clean the data... |
b776f0e28d392df5145d4e89fef228dbcabd28c8 | 687f1e6cb6665509677d644a8fbbb4cde4846d57 | /R/anovaSStypes.R | 20e8acbd46566ada210b78c0b470fca1e10dfa00 | [] | no_license | ramnathv/RExRepos | 75cbb338725af8189dcce6cfeb723489786cfbc0 | e0edd9d2272ae7290a94b64c62af8acb1e675848 | refs/heads/master | 2016-08-03T00:32:11.574993 | 2012-08-14T14:09:03 | 2012-08-14T14:09:03 | 5,886,181 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,056 | r | anovaSStypes.R |
## @knitr unnamed-chunk-1
wants <- c("car")
has <- wants %in% rownames(installed.packages())
if(any(!has)) install.packages(wants[!has])
## @knitr unnamed-chunk-2
P <- 3
Q <- 3
g11 <- c(41, 43, 50)
g12 <- c(51, 43, 53, 54, 46)
g13 <- c(45, 55, 56, 60, 58, 62, 62)
g21 <- c(56, 47, 45, 46, 49)
g22 <- c(58... |
151db5326f49a3b3054dce210e32c58c03c0d534 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/951_0/rinput.R | f6a8b3206452b8ba3a8523c2d6a6efeefafffcbf | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 133 | r | rinput.R | library(ape)
testtree <- read.tree("951_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="951_0_unrooted.txt") |
11255ef050b29703c2c51faadd2f5078816d8aaa | 0e5313e368f15aeffd5426e96f15ddfc7cbfc05b | /scripts/rangeSize/OBIS_explore.R | a6b0138661cfe0f63e8273d9efccee25ad3eb507 | [] | no_license | baumlab/open-science-project | 144346d1f7befc82f8eb159542a8b2832363f7ab | 7112ce9d6739c3f8a50da9f0aa028ac9cb1c90c8 | refs/heads/master | 2020-07-16T13:17:30.400656 | 2018-02-07T13:44:44 | 2018-02-07T13:44:44 | 73,947,077 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,106 | r | OBIS_explore.R | # Created by Jamie McDevitt-Irwin
# Created on 16-October-2017
# Purpose: this code explores the obis range size data and appends it to trophic data
# setwd("~/Desktop/Research/open-science-project")
# setwd("~/Documents/git-jpwrobinson/open-science-project")
# setwd("~/Documents/git_repos/open-science-project")
s... |
b415419a909a4be430d4b51129e1be57c7886aea | 634b04b41470149ff9e41850c9c6b8b7b085634f | /man/assert_pos.Rd | 470d65c410c8559c41a64b5a9b1bd52f0c28b5bb | [
"MIT"
] | permissive | KeithJF82/vectorpower | f04fa79322e0ac551b56df13c90a2cbc120e20dc | 2f224b79f2db6226bc686b791253c06cb2b443df | refs/heads/master | 2023-06-21T21:21:26.338743 | 2023-06-08T09:31:20 | 2023-06-08T09:31:20 | 212,610,822 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 812 | rd | assert_pos.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper_functions.R
\name{assert_pos}
\alias{assert_pos}
\title{x is positive (with or without zero allowed)}
\usage{
assert_pos(
x,
zero_allowed = TRUE,
message1 = "\%s must be greater than or equal to zero",
message2 = "\%s must be g... |
8f3d8453c02402b2cde06b5a34a3f52dced1eaa8 | 2a9668232a4e5757d2166f7f23b1f3ea740dc343 | /analysis/shiny-app/shiny_ui.R | ba4be6f72284b3e521a1ad464233b77cbf7ed5ce | [
"CC0-1.0"
] | permissive | analytics-ufcg/obras-pb | b5b6e9d551d1e395f83699a889e53ef11aa9607f | 47b33a17180547b1f76ee61d8ec676d884bdeac9 | refs/heads/master | 2021-05-07T14:30:01.875163 | 2018-06-18T18:42:48 | 2018-06-18T18:42:48 | 109,882,326 | 1 | 0 | null | 2018-07-23T19:13:53 | 2017-11-07T19:40:12 | HTML | UTF-8 | R | false | false | 8,443 | r | shiny_ui.R | # Interface do usuário
sidebar.width <- 240
ui <- dashboardPage(
title = "Sagres obras",
skin = "purple",
dashboardHeader(
title = span(
img(src = "sagres-obras.png")
),
titleWidth = sidebar.width
),
dashboardSidebar(
sidebarMenu(
menuItem("... |
b58a1c1be143b6637578481ad7ecc089c1f1cad4 | 3070367b785de76331a3a89682cfba01517e81d5 | /hsownd.R | 2929edf8c2ab1f593f7eba645a848b2d8c60a99a | [] | no_license | nezzag1/RM01A_LE482_2018 | 24ac13750b189836c3145da7aad9a6d800aa2408 | 34604666725b9a0758c279be763729724ab235d3 | refs/heads/master | 2021-09-04T12:58:38.789794 | 2018-01-18T23:21:50 | 2018-01-18T23:21:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,484 | r | hsownd.R | #RM01 Coursework - Testing whether the housing wealth effect is
#altered by housing ownership
library(lmtest)
library(xlsx)
library(ggplot2)
setwd("C:/Users/Neil/OneDrive/Documents/MPhil Environmental Policy/RM01")
#load and prepare data
df1 <- read.xlsx('RM01_OptionA_data.xlsx', sheetIndex = 1)
df1 <- ... |
eb458f85c063163c88857ab3d383604166dfc4fa | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sim1000G/examples/getCMfromBP.Rd.R | 4b828c831565e5b3bb6ed0d220a24536801592b5 | [] | 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 | 572 | r | getCMfromBP.Rd.R | library(sim1000G)
### Name: getCMfromBP
### Title: Converts centimorgan position to base-pair. Return a list of
### centimorgan positions that correspond to the bp vector (in
### basepairs).
### Aliases: getCMfromBP
### ** Examples
library("sim1000G")
examples_dir = system.file("examples", package = "sim1000G... |
25ad02369b9ebcf9b590b50336aa912656f5445f | d2eb97d81317dc5d774a8119bd517b6936bfe5bd | /man/segplots.Rd | f50566a45add5383eaaa9e5ac5a8584201227f92 | [] | no_license | nverno/seedsub | 91cf34cdd559380e9e412908fdffa7fa77c4d37e | c0a0243f465f686572a75fa37ff7f92e1bec551d | refs/heads/master | 2021-01-10T05:48:28.702693 | 2016-03-12T05:46:14 | 2016-03-12T05:46:14 | 50,882,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 916 | rd | segplots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/segplots.R
\docType{data}
\name{segplots}
\alias{segplots}
\title{Contour segments plot-level data.}
\format{An object of class \code{data.table} (inherits from
\code{data.frame}) with 157 rows and 13 columns.
\itemize{
\item PID: Plot i... |
ddccf0aa278bf74edf7cf7a27e1af9058e4660fa | fc683f8ce6f3eb8c4ef6f0309f3c7bb7bf8eef60 | /xgboost.R | 33052db04f52ae83c0f04051d7a832c805b666db | [] | no_license | lolgein/Machine-Learning | 6976ce6e13642ce701fc6b76a0a965a6560fe9f3 | c1861d5f4fdfbf80ad9df15815a790c31b147324 | refs/heads/master | 2021-01-18T20:44:56.355064 | 2017-04-02T13:47:24 | 2017-04-02T13:47:24 | 86,987,226 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,414 | r | xgboost.R | # Gradient Boosting (Ensemble of weak decisions trees) of the package xgboost
library(xgboost)
# Set parameters, seed, best logloss and index
best_param = list()
best_seednumber = 1234
best_logloss = Inf
best_logloss_index = 0
mydataMatrix = data.matrix(train_data)
mydataMatrix[,15] = mydataMatrix[,15] - 1
... |
2751bc59e76b1f2555c00ebcd469e8f5c6bb413d | f666db90df3146ec868d4d4174de715adf84b3dd | /.Rprofile | 4c2c99cfa8e57459a5a63c1edddbccc5e9a92477 | [] | no_license | kevyin/home-settings | 116ecf89c2688ad2f37ec5c599c00116e5e19231 | e6b0f2c94a23f7b3451a0bffa25f308194ff0cc5 | refs/heads/master | 2021-01-23T15:04:08.771973 | 2018-05-01T12:31:38 | 2018-05-01T12:31:38 | 4,710,677 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,493 | rprofile | .Rprofile | ## see help(Startup) for documentation on ~/.Rprofile and Rprofile.site
#.Library.site <- "/usr/lib/R/site-library"
#.Library.site <- ""
local({
# CRAN mirror
r <- getOption("repos")
# r["CRAN"] <- "http://cran.ms.unimelb.edu.au/"
r["CRAN"] <- "http://mirror.aarnet.edu.au/pub/CRAN/"
options(repos=... |
0ad7d6e763aab519c7f55bcd1d5cfeef0d099e67 | 45630d190e8f27cbc45821ba0ff9eeb3cbb9f211 | /Simulation/simulation5_2/2/DDEestimate.R | 1b1a380a72e104c76ce8fb60ee4b47ac6d4c2307 | [] | no_license | ecustwy/smcDE | 822d24281f6be249cf5a2fdbf9885495ae6ba934 | c9d75fcb162b29e98a0ea82b0319e36d31e8006f | refs/heads/master | 2023-01-15T13:44:44.893025 | 2020-11-23T14:03:20 | 2020-11-23T14:03:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 787 | r | DDEestimate.R | gname = c("EstimatedDDE2.eps",sep="")
postscript(gname,width=10,height=5,horizontal = FALSE, onefile = FALSE, paper = "special")
par(mfrow=c(1,2),oma=c(0.2,1.5,0.2,1.5),mar=c(3,2,0.2,2),cex.axis=1,las=1,mgp=c(1,0.5,0),adj=0.5)
plot(output[,2], type = 'l', ylim = c(-8, 30), xlab = expression(X[1]), ylab = '', lwd = 3... |
3bad30b6b2a9dc42b7a41a58943ae7079b34b5a8 | 4e5f8a57cc9e4bca1711d4d32a89cbaa691ee57f | /man/node_download.Rd | 6eee703b59ad7f284d6cdb794a06d22f14c49fcd | [
"MIT"
] | permissive | Hong-Sung-Hyun/multilinguer | 1db6704266b91011f20c31d54acf2ad0dfa9a38c | 6068e6377e493ad60ec95e874d5cfcee9d619207 | refs/heads/master | 2021-06-21T14:37:57.385129 | 2020-02-02T16:52:25 | 2020-02-02T16:52:25 | 254,499,426 | 1 | 0 | null | 2020-04-09T23:27:02 | 2020-04-09T23:27:01 | null | UTF-8 | R | false | true | 315 | rd | node_download.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download_node.R
\name{node_download}
\alias{node_download}
\title{nodejs installer download}
\usage{
node_download(os, dest)
}
\arguments{
\item{os}{Type of OS}
\item{dest}{where to download}
}
\description{
nodejs installer download
}
|
1ca89bc294fd96c71c5ae5cb2dccba332bcb9fc7 | e791ebe596bd3f12a7554acffa70947839c29c55 | /preprocessing/get_singer_connection.R | 655f0dfe7e136bb070ddbedbd6d6da9afc941d8d | [] | no_license | ruibai118/Edav-Final-Project-1 | 46ec9db37296f4b45cc0710c580a4f41df131568 | 90d45d1670e8c4efc0d5f5455c0e17c04648df8c | refs/heads/master | 2022-04-02T07:34:49.711801 | 2019-12-13T05:37:26 | 2019-12-13T05:37:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,569 | r | get_singer_connection.R | library(tidyverse)
library(spotifyr)
library(readr)
Sys.setenv(SPOTIFY_CLIENT_ID = '2396242d1c2043ae90fa37810b334c56')
Sys.setenv(SPOTIFY_CLIENT_SECRET = 'e972f10fc0384e5683be1f603b869a55')
access_token <- get_spotify_access_token(client_id = Sys.getenv('SPOTIFY_CLIENT_ID'), client_secret = Sys.getenv('SPOTIFY_CLIENT_... |
955153295040849a732bb8bae211f2063345a39f | b85e454878ccfed1848bf255315123784279f134 | /plot3.R | cc2dede93d7bb7177df7f4ef3ef7ccdb5b00aa68 | [] | no_license | Wyingli/ExData_Plotting1 | fb4bd99474ee863a2fb586c3a7b0590defcb6b06 | bc8e08d5b793d0e126a026edeb037299bf400e9b | refs/heads/master | 2022-12-02T08:29:44.193303 | 2020-08-18T07:39:58 | 2020-08-18T07:39:58 | 286,737,644 | 0 | 0 | null | 2020-08-11T12:23:17 | 2020-08-11T12:23:16 | null | UTF-8 | R | false | false | 901 | r | plot3.R | data1<-read.table("C:/Users/li/Documents/exdata_data_household_power_consumption/household_power_consumption.txt",header=TRUE,sep=";")
data2<-data1[grepl("1/2/2007|2/2/2007",data1$Date),]
data22<-filter(data2,Date=="1/2/2007"|Date=="2/2/2007")
dates<-data22$Date
times<-data22$Time
x<-paste(dates,times)
a<-strptim... |
8d62cd4b1331d95d437560a1aea8f8fb88c4d3ad | 02f053ce70b065724d4a02619fb402adcc0ec997 | /analysis/boot/boot156.R | 6c8a8f6c8c9d96c393e777d179ac314a24f65c02 | [] | no_license | patperry/interaction-proc | 27950482929240bba55c7d0f2f8c5235d770feea | cf8dfd6b5e1d0684bc1e67e012bf8b8a3e2225a4 | refs/heads/master | 2021-01-01T06:11:47.125853 | 2012-12-04T20:01:42 | 2012-12-04T20:01:42 | 673,564 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,742 | r | boot156.R | seed <- 156
log.wt <- 0.0
penalty <- 2.8115950178536287e-8
intervals.send <- c()
intervals.recv <- c(56, 112, 225, 450, 900, 1800, 3600, 7200, 14400, 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600, 29491200, 58982400)
dev.null <- 358759.0022669336
df.null <- 35567
dev.resid <- 224930.... |
c771ae7ca6e2ba4bf3c634b23a7a46819d30eb8c | c142155fe76ba283c3ab4e91653a7dfa1bdecd2f | /cachematrix.R | 455827a6cce95adba539322fffb44b41687b666b | [] | no_license | prajwal-naik/ProgrammingAssignment2 | 102de9b972adbaf7441856133684f45bf8b46ee6 | 8cd9b087ff87d0e872adb36e9a62fca85348e3f5 | refs/heads/master | 2022-12-05T14:09:08.772586 | 2020-08-04T10:16:01 | 2020-08-04T10:16:01 | 284,932,697 | 0 | 0 | null | 2020-08-04T09:17:04 | 2020-08-04T09:17:03 | null | UTF-8 | R | false | false | 1,038 | r | cachematrix.R | #These function find the inverse of a matrix.
#However, since the processing of inverting a matrix is not resource friendly, the functions tcashe thevalue of the inverse for future use
#This function creates a special "matrix" object that can cache it's inverse
makeCacheMatrix <- function(x = matrix())
{
inv... |
688196a9b8d2f7bd4ebe9db5a2b8cf7493ae297a | 6cab63f138aa37eaeb2366284ee4001496356fa1 | /Analyses/BlueOregonLogistic.R | e58e180d50e94ba8dadbf55d0ba7738333864c18 | [] | no_license | dackerly/PepperwoodVegPlots | a5e5c6ddbcd20a1d5a514c0edf169d3606817cdd | 4cbe62ab9c12c5dd266ffe1cf40a16155b341e6f | refs/heads/master | 2023-08-09T00:45:48.425990 | 2023-07-24T22:33:34 | 2023-07-24T22:33:34 | 36,311,558 | 8 | 9 | null | 2019-03-27T18:27:42 | 2015-05-26T17:17:19 | R | UTF-8 | R | false | false | 4,752 | r | BlueOregonLogistic.R | # Logistic Regression with QUEDOU,QUEGAR Seedlings #
# Author: Meagan F. Oldfather
# Date Created: 20150530
# I added one line to try a push and commit
# clear workspace
rm(list=ls())
library("RCurl")
library("data.table")
library("picante")
#function to source html
source_https <- function(url, ...) {
# parse ... |
7ec21130c9cc0ca6998202964a67692713b8ed28 | ddd24d6bad77216149d891f5d1fd95ac73f41bcd | /man/getEnv.Rd | 025d64029d70d19b1cd083484adad6e5ec0fbc66 | [] | no_license | itsaquestion/EasyRedis | f276bfbf526dcb1687667291435eed41e90ce384 | 82edfc47eea8f591fb8114c80618ac840fdb7b84 | refs/heads/master | 2020-03-30T09:53:57.239860 | 2019-05-16T02:22:08 | 2019-05-16T02:22:08 | 151,097,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 305 | rd | getEnv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/easy_redis_api2.R
\name{getEnv}
\alias{getEnv}
\title{getEnv get env value.}
\usage{
getEnv(x)
}
\arguments{
\item{x}{env value name}
}
\value{
the value. if value == "" then return NULL
}
\description{
getEnv get env value.
}
|
603d2497db914dd8c5cf551cbcedbfaf69cdaed4 | 6a174492297d65704b2788db6b4ae280421d2e29 | /RShiny_Proj/cancer/global.R | 46048d869e44f105f41e2a93ec106dc4ec9a3b9d | [] | no_license | ericjmeyers1/RShiny_Proj | 9a9879d5f42ba4c70768c766a8b89cb86dc7ad89 | 4e08d561e9bc9ca4da743ce3de5030d4002f032c | refs/heads/master | 2020-06-29T17:18:22.458580 | 2019-09-23T20:01:10 | 2019-09-23T20:01:10 | 200,576,752 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 480 | r | global.R | library(shinydashboard)
library(shiny)
library(DT)
library(googleVis)
library(ggthemes)
library(vcd)
library(dplyr)
library(ggplot2)
options(scipen=20)
cancer <- read.csv(file = './Cancer.csv')
cancer$Age.Groups.Code <- substr(cancer$Age.Groups.Code, 1, 2)
cancer$Age.Groups.Code <- gsub('-', '', cancer$Age.Groups.Cod... |
7212c40293d4c9cd64285306bc6dc84c87c9d4b5 | ff9eb712be2af2fa24b28ecc75341b741d5e0b01 | /R/pred.int.norm.k.of.m.on.r.K.R | 85f43156f2f0369f54da547750a267859eda87f3 | [] | no_license | alexkowa/EnvStats | 715c35c196832480ee304af1034ce286e40e46c2 | 166e5445d252aa77e50b2b0316f79dee6d070d14 | refs/heads/master | 2023-06-26T19:27:24.446592 | 2023-06-14T05:48:07 | 2023-06-14T05:48:07 | 140,378,542 | 21 | 6 | null | 2023-05-10T10:27:08 | 2018-07-10T04:49:22 | R | UTF-8 | R | false | false | 2,708 | r | pred.int.norm.k.of.m.on.r.K.R | pred.int.norm.k.of.m.on.r.K <-
function (n, df = n - 1, n.mean = 1, k = 1, m = 1, r = 1, delta.over.sigma = 0,
pi.type = c("upper", "lower", "two-sided"), conf.level = 0.95,
K.tol = .Machine$double.eps^(1/2),
integrate.args.list = NULL)
{
if (!is.vector(n, mode = "numeric") || length(n) != 1 ||
... |
2321423f7490c595412c6a44d796274c8fdbe321 | ca836882bc56c582c31eeda51b1b33eee1a021aa | /R scripts/qPCRs/anova and tukey qPCR.R | e8787af57b1369f8d5b37f843e61cfcb29d1d9ef | [] | no_license | jucapitanio/Software | 9ccea783da2c81e3b099fda6cb3fdfed8677e211 | 5ca179d6fb54f743c75222e85196220324255de0 | refs/heads/master | 2021-01-19T08:23:15.057621 | 2016-05-16T16:25:14 | 2016-05-16T16:25:14 | 43,160,269 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,522 | r | anova and tukey qPCR.R | # ANOVA and Tukey for qPCR data
qPCR <- read.csv("stats.csv")
qPCR <- qPCR[1:9,]
pvals <- vector("list",26)
tuknames <- list(c("NUP98-CO", "RHA-CO", "NUP98-DHX9"), c("nada"))
tukresult <- matrix(data = NA, nrow = 3, ncol = 1, byrow = FALSE, dimnames = tuknames)
for (i in 2:26) {
fitanova <- aov(qPCR[,i] ~ qPCR[,1],... |
b47d9c13e6ffee28317afccae89aa4e9453c82bc | 3c258c7fe3244f4a41dea7d264098ac614eef19a | /man/validateFetchedData.Rd | 15584672feefb2d08de98f5296f619a8e1ebbdef | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | USGS-R/repgen | 379be8577f3effbe7067e2f3dc5b5481ca69999e | 219615189fb054e3b421b6ffba4fdd9777494cfc | refs/heads/main | 2023-04-19T05:51:15.008674 | 2021-04-06T20:29:38 | 2021-04-06T20:29:38 | 31,678,130 | 10 | 25 | CC0-1.0 | 2023-04-07T23:10:19 | 2015-03-04T20:24:02 | R | UTF-8 | R | false | true | 1,236 | rd | validateFetchedData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-validation.R
\name{validateFetchedData}
\alias{validateFetchedData}
\title{Validate to ensure it is not null or empty and has all required fields}
\usage{
validateFetchedData(data, name, requiredFields, stopNull = TRUE,
stopMissing = ... |
61d7b27860a667806624528a879a9b9b6c14b15e | 9aae9188b7c460f3ab26dc68a21ac3bce128b1be | /part_1/data_cleaning_pt1.R | c4644a8d74007f206347657b66a6ad149ef33697 | [] | no_license | richardsalex/r_cleaning | 5a4a35644e4b1c9fdd1ccfb4624d3ed7741416e3 | ce5a78bd2df7e2fcebb9d96b81b7615f232d5954 | refs/heads/master | 2020-03-18T05:16:29.863518 | 2018-05-31T23:36:45 | 2018-05-31T23:36:45 | 134,333,973 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,394 | r | data_cleaning_pt1.R | ###############################################
## Data Cleaning with R (Pt. I) ##
## Alex Richards, NerdWallet (@alexrichards) ##
###############################################
# Much credit for this cleaning exercise goes to Sandhya Kambhampati (@sandhya__k)
# and Caelainn Barr (@caelainnbarr).
######... |
c8581aee64eded2a3ed022f4bec9e731820ecc1f | edfdfa035aa28d3acffa1a65ca9ea40bb8fd01e2 | /Get_SPR.R | bfd568ebda4a816f19545c963ce5fff493af87c0 | [] | no_license | chantelwetzel-noaa/Ch3_DataLoss | 4da7bb569d7b8fd6b2cf7c93de7c6ad54a613273 | b020669f3f681ca2de8c46b76206bdb27a65dcd0 | refs/heads/master | 2021-03-27T14:44:26.747508 | 2019-08-07T22:21:21 | 2019-08-07T22:21:21 | 19,943,691 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,470 | r | Get_SPR.R | drive <-"F"
LH <- "flatfish"
SR <- "BH" #"Shep"
nsim <- NSIM <- 1
start.survey <- 1
require(compiler)
#Source in the life-history parameter values
source(paste(drive,":/PhD/Chapter3/code/LH_parameter_values.R",sep=""))
#Source in external functions
source(paste(drive,":/PhD/Chapter3/code/Functions.R",sep... |
5cd4da85d397eb97e016ed61412f121a899769f7 | 6222f8aba75f7adbb2793a488e4a28b704cfab23 | /cvirus2.R | 33ea6e89c8d94de9115e0c8cc110c039cb90f11d | [] | no_license | anovitt/C_Virus | 5816983ab930bfe1317337574cedce26902d5fd9 | 5bdc5d42fa22e906fd2e3aa3e3a735e3684061fc | refs/heads/master | 2021-07-12T22:59:00.405937 | 2021-03-21T11:13:33 | 2021-03-21T11:13:33 | 242,705,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 70,199 | r | cvirus2.R | library(data.table)
library(ggplot2)
library(lubridate)
library(leaflet)
library(tidyverse)
library(deSolve)
library(directlabels)
# Load data
source("R/2019-coronavirus-dataset-01212020-01262020/cvirusDataLoad.R")
#####
# Plot by all states confirmed cases
#####
notIn <- c('Princess', 'Guam', 'Samo... |
e8261018de6ab70f22428b76caf83c173d5f329e | 92d5a6381615b2e46cef6f9f9a13955ad78ed2c7 | /scripts/CALC_poolrichness_regional.R | fed38c6694f6dad85ffdb157bfd001dec137ce5c | [
"MIT"
] | permissive | katherinehebert/insular-mammals | 250d082d9bde1fcc357cd1aeb79e5da64137b762 | 037b9c1dc7bbbf35bcc90cfefb274c63bedbba64 | refs/heads/main | 2023-06-04T15:22:18.026892 | 2021-06-24T04:07:48 | 2021-06-24T04:07:48 | 368,992,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,778 | r | CALC_poolrichness_regional.R | # Script to assemble taxonomic and phylogenetic diversity of the regional pools
# Author: Katherine Hébert
library(dplyr)
# load community matrix of the metacommunity as a whole (all sites x all species)
comms <- readRDS("data/comm_metacomm.RDS")
# load assemblage dispersion fields
adfs <- list(
readRDS("output/re... |
dc3f6018938ca3e44db867712f385ab8ece65a3b | a54451d8d537b7b3c72183e4564de5e4785a8945 | /R/useLuaVM.R | 3f01a723e3aaade740fc77675480ee8b14a640e9 | [
"MIT"
] | permissive | arkraieski/shinyLua | ba3a92d69fdf4c2cc717495f19910ed94b490619 | 3b5fa606ecf179ccca81a79b5975815b39cf17ed | refs/heads/main | 2023-02-22T01:02:39.490178 | 2021-02-01T01:52:13 | 2021-02-01T01:52:13 | 334,735,226 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,283 | r | useLuaVM.R | #' Embed the Lua VM in the UI of a Shiny app
#'
#' @description This is a setup function that must be called from a Shiny app's UI to
#' add the Lua implementation required for other \code{shinyLua} functions to work.
#'
#' @param rmd Logical; this must be set to \code{TRUE} if you are using \code{shinyLua}
#' in an in... |
0361a97423b87490d66ef5796af641a1c6f2b95e | d6af6ce27dee34cca22a3b62ff65f0583391bfb2 | /man/cohort.Rd | 357a7f6b37a0b0edb03418d0895a76bff0148aa3 | [
"MIT"
] | permissive | eringrand/RUncommon | 8c1339c53f9ca962c4a9b24b4206134864a172df | 2ff03e918d18420354f7fa19a8732475f80d23e6 | refs/heads/master | 2022-12-18T22:13:16.828217 | 2020-09-22T18:52:37 | 2020-09-22T18:52:37 | 110,620,053 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 708 | rd | cohort.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/common_functions.R
\name{cohort}
\alias{cohort}
\title{Cohort Tag}
\usage{
cohort(grade, school_year = "")
}
\arguments{
\item{grade}{Enrolled grade of the student (0 - 12)}
\item{school_year}{School year either in 20XX-YY or 20XX (spring) ... |
ebe992ec363fcdf85d3c80a8e4fa365c1a214cf7 | f097fff6b2db5935e85ffbcc56e04cbd7586846c | /plot4.R | b5a8ab9b6be759ddcfb647aea89c6ee66fdc87d1 | [] | no_license | ManelNavarro/ExData_Plotting1 | 76c477ae94fd62322fdb51d5b276a2718a5982b9 | 938fd15ecabeab10891c21800d43ee4ddf09388d | refs/heads/master | 2020-12-14T06:16:56.895208 | 2015-05-10T20:29:34 | 2015-05-10T20:29:34 | 35,292,373 | 0 | 0 | null | 2015-05-08T17:25:34 | 2015-05-08T17:25:34 | null | UTF-8 | R | false | false | 3,760 | r | plot4.R | ##plot4.R
##Multiple Plots: measuring 4 variables across time
##1. Global Active Power
##2. Voltage
##3. Energy sub mettering
##4. Global Reactive Power
##Assumption: base data file is in working folder, already unzipped ("household_power_consumption.txt")
##Base data file NOT pushed to github as it is large (120Mb un... |
53c276fde32a178bdb2e2a336f9d543b4b554773 | a8def44ca5bb9d5a1435d3d853df90b28ac9c44b | /R/Training/histogram/histogram_smallRNA_lengths.R | a1448da6afa541135cac0ca96f40a4c05e74c09c | [] | no_license | edyscom/dataviz | 706a15d001bb2da0de9f236cd99df5bcd147ddfe | 63acf2f045c01b057bf6ba698100138360b3c04f | refs/heads/main | 2023-08-23T01:57:28.191324 | 2021-10-26T06:45:28 | 2021-10-26T06:45:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 415 | r | histogram_smallRNA_lengths.R |
library(histogram)
mat <- read.table("../KnownGenes.bed",header=F,sep="\t")
head(mat)
category <- mat[,4]
category <- levels(category)
length_list <- mat[,3] - mat[,2]
pdf("histogram_mm10_smallRNA.pdf")
vector <- as.character(mat[,4])
par(mfrow=c(2,2))
for (cate in category){
do_list <- vector == cate
length_... |
71d1940b3bdb7013ecf198f0bc54e57c78636bd6 | 06288661e11115193a6032097bc7d06e2b553cff | /mapping_clean.R | 4a48c43d1d226653ec3541cf569c3d01db7a0020 | [] | no_license | divyargarg/Predicting-Voter-Turnout-for-2020-Presidential-Election-in-Charlotte | f4b627e928e297f148a71a73ed9ace5e7986b248 | d376cba306e8c9adb52106c536f156f9b0c25853 | refs/heads/master | 2020-12-13T11:35:27.194749 | 2020-01-16T20:36:41 | 2020-01-16T20:36:41 | 234,404,371 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,159 | r | mapping_clean.R | library("rgdal")
library("tmap")
library("readxl")
library("dplyr")
library('reshape2')
#Shapefile for data; dataset for county
meck_county <- readOGR(dsn = "qol-data", layer = "NPA_2014_meck")
summary(meck_county)
plot(meck_county)
#Adding additional information
#Income and demographics
meck_data <- rea... |
b348953582f56913f17e14ac632eb3244cdbaacf | 387f07b6ecb1f1218fc3b78889703bb4bab2f4f5 | /man/plot_multibars.Rd | 806e60f2c85ff2cf30488cae18280144040b9355 | [
"MIT"
] | permissive | JouniVatanen/stools | 94dee1eb23e1883b782220e8dd1f749dcba895fa | e0035fd5aa26dcb06fc7a0b1c4088e7f71f489d0 | refs/heads/master | 2023-01-28T21:39:41.085342 | 2023-01-11T07:31:22 | 2023-01-11T07:31:22 | 142,003,341 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,016 | rd | plot_multibars.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_multibars.R
\name{plot_multibars}
\alias{plot_multibars}
\title{Multiple custom bar plots}
\usage{
plot_multibars(data, row = 1:nrow(data), labels = waiver())
}
\arguments{
\item{data}{dataframe}
\item{row}{select which row to plot. Def... |
cc6284a233c85f23f8adaad20cfd59504353ab46 | 6b6e9d8dd2672b35936ba3b06b7f8ac30503778b | /man/ltr_age_estimation.Rd | 7fec67c3ef08af7414d90f903d83523f4d7c2e54 | [] | no_license | anandksrao/LTRpred | 4f0d9104bb7706ad4aaea22a202fdf829a20e17c | 4e4f3a1cfaadfce7a4680f8629d567294c731e48 | refs/heads/master | 2020-04-23T00:56:47.445461 | 2019-02-11T17:11:17 | 2019-02-11T17:11:17 | 170,797,492 | 1 | 0 | null | 2019-02-15T03:40:18 | 2019-02-15T03:40:18 | null | UTF-8 | R | false | true | 1,834 | rd | ltr_age_estimation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ltr_age_estimation.R
\name{ltr_age_estimation}
\alias{ltr_age_estimation}
\title{Estimate retrotransposon insertion age in Mya based on 5 prime and 3 prime LTR sequence homology}
\usage{
ltr_age_estimation(ltr_seqs_3_prime, ltr_seqs_5_prime, ... |
5044773fbf313a471b023afe9ea264f44e2ba06e | 549ff637adc9779ac1b8a16a843042e48714aba6 | /src/Fig2_smc_plot.R | 5ce3d8a8f24db5669135f9eb5e01f4382e85fa27 | [
"MIT"
] | permissive | mishaploid/Bo-demography | 4f4c6c3b1a3e3de01bc38811200ec7a3768e2b3a | ce040cb57548e6f2b561701ea57a7f7c75830c4c | refs/heads/main | 2023-09-05T13:36:55.737420 | 2023-08-18T20:17:54 | 2023-08-18T20:17:54 | 175,095,224 | 13 | 2 | MIT | 2023-09-08T18:26:23 | 2019-03-11T22:44:34 | Python | UTF-8 | R | false | false | 2,907 | r | Fig2_smc_plot.R | library(tidyverse)
library(cowplot)
cols <- c(colorRampPalette(c("black", "gray"))(4),
colorRampPalette(c("#004949", "#66c2a4", "#ccece6"))(6),
"#490092", "#AA4499", "#DDCC77", "#006ddb", "#882255", "#924900")
names(cols) <- c("Brassica_cretica", "Brassica_incana", "Brassica_rupestris", "Brassica... |
2214173dc8199272ca94ec4995a83297b31a72d9 | d5be72cb7f0964db9fd98aece7c9f9113d84a3c7 | /Phase_2/Lazer Cutters/ctl_bot.rd | a26e24279efbf2af2ba751306a2c6866871f610c | [] | no_license | apimentel1/CatchTheLight | 85bdfd3da9e336067b0f4448f372ec5ecee13e39 | 68e341a88862424c3f9acde83f7aeb80324b8e13 | refs/heads/master | 2020-08-21T10:23:31.706960 | 2019-12-17T23:45:19 | 2019-12-17T23:45:19 | 216,139,567 | 1 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,954 | rd | ctl_bot.rd | Òp» ¥½
¥½
Òpp±ppé¯ÙpÙpYé¯Ùp p
B©Ð9¯»Ð»¯»ÐI¯»Ð˯»ÄÄIpÛp[é¯Ùpipëé¯ÙÄ«pÝpÝ p]p] päpépppé¯Ùp+pp?é¯Ùp é¯ÙÄ ÄÄ ¹Ä Ä... |
a94f9e0417c88361258304a5db125b9be4b14b3e | 22a04444c55e3ed4bf60f5d22558ac28bff08828 | /man/ActorMeasures.Rd | 028f2b99ffad73a8c7bec08a0b3abf48bcb4557d | [] | no_license | Sparkoor/multinet | af24aa52bad86d9d0b6facca153726fc1eac1b2d | 9f6d3f76055caebb7f5436c9a3f168d18c9a46e1 | refs/heads/master | 2020-08-06T06:14:54.237417 | 2019-07-13T21:40:05 | 2019-07-13T21:40:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,500 | rd | ActorMeasures.Rd | \name{Measures: basic}
\alias{Measures: basic}
\alias{degree_ml}
\alias{degree_deviation_ml}
\alias{neighborhood_ml}
\alias{xneighborhood_ml}
\alias{connective_redundancy_ml}
\alias{relevance_ml}
\alias{xrelevance_ml}
\title{
Network analysis measures
}
\description{
These functions compute network analysis measures pr... |
68319a93cff7310dcfb223a8e4537a56f1d2a075 | 939e31c911886d78e27e45af198a380b618054f3 | /R/MakeInput_Fn.R | 2cb253f0216753a63b454d8f311ee7b4d72b1b90 | [] | no_license | GodinA/spatial_factor_analysis | e5c06b05861e77987efa62ea63f2d0d1d96de87e | ab9436df59fdfc876dc60a8e6ded76ddd23e072d | refs/heads/master | 2021-01-18T19:01:00.896176 | 2015-02-23T19:11:24 | 2015-02-23T19:11:24 | 36,754,960 | 1 | 0 | null | 2015-06-02T18:59:08 | 2015-06-02T18:59:07 | null | UTF-8 | R | false | false | 17,603 | r | MakeInput_Fn.R | MakeInput_Fn <-
function(Version, Y, X, Y_Report=NULL, LastRun=NULL, Loc, isPred, ObsModel, VaryingKappa, n_factors, n_stations, Use_REML, Aniso, mesh, spde){
# Pre-processing in R: Assume 2-Dimensional
Dset = 1:2
# Triangle info
TV = mesh$graph$tv # Triangle to vertex indexing
V0 = mesh$loc[TV[,1],Ds... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.