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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
734f3cb5f5c295b3db6f32bd6b1edb1c391a1435 | 34ac695a2de980764e2e95b3e6157dd436318872 | /man/nse_advances_declines.Rd | 29e52d61ed563927c21b14b5a1804198739dc0e8 | [
"MIT"
] | permissive | rsquaredacademy/nse2r | f560eb6e347c4705de21fb298570827d4900a02b | 15a41b20c7919649f151b0e6a241519e11352272 | refs/heads/master | 2023-08-30T17:02:03.385691 | 2022-11-10T15:01:16 | 2022-11-10T15:01:16 | 219,264,577 | 26 | 9 | null | null | null | null | UTF-8 | R | false | true | 789 | rd | nse_advances_declines.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nse-advance-decline.R
\name{nse_advances_declines}
\alias{nse_advances_declines}
\title{Advances & Declines}
\usage{
nse_advances_declines(clean_names = TRUE)
}
\arguments{
\item{clean_names}{Logical; if \code{TRUE}, makes the column names
de... |
ef4a5968ad10d4483c5e7002dbdc7f09bc5f663c | ab00bc7e17121d2dcf3741dc9f650a4e76ed4a44 | /man/cross_join.Rd | b3d6fe00c9d847446509895b55f4fe9918261af1 | [
"MIT"
] | permissive | tidyverse/dplyr | 9b7fdc07e6a70bc8e802094e2e2a127af22bcc02 | cf8031d00f406c6dc5d483d7e9e34639df797b81 | refs/heads/main | 2023-09-01T03:52:50.608019 | 2023-08-25T13:42:29 | 2023-08-25T13:42:29 | 6,427,813 | 3,290 | 1,982 | NOASSERTION | 2023-09-09T20:14:25 | 2012-10-28T13:39:17 | R | UTF-8 | R | false | true | 2,600 | rd | cross_join.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/join-cross.R
\name{cross_join}
\alias{cross_join}
\title{Cross join}
\usage{
cross_join(x, y, ..., copy = FALSE, suffix = c(".x", ".y"))
}
\arguments{
\item{x, y}{A pair of data frames, data frame extensions (e.g. a tibble), or
lazy data fram... |
73be29a21145411e42c0500e043b693c33b70dda | cadb326d010e1e8e7065a9dd77df7b12691e1c12 | /man/esriUrl.Rd | afac61311d64a76eef53ca20d01429726f374b91 | [] | no_license | inkyscope/esri2sf | ece28b0863434ca3e34882529a1571dfab0cbb35 | 9abb560d612eec5e0b21ffae23e243d0e2486150 | refs/heads/master | 2023-09-01T11:06:31.329530 | 2021-11-02T17:47:17 | 2021-11-02T17:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,551 | rd | esriUrl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/esriUrl.R
\name{esriUrl_ServerUrl}
\alias{esriUrl_ServerUrl}
\alias{esriUrl_parseUrl}
\alias{esriUrl_isValid}
\alias{esriUrl_isValidID}
\alias{esriUrl_isValidService}
\title{Get parts of the Map/Feature Server URL}
\usage{
esriUrl_ServerUrl(u... |
8afb7f3065d54747b68c06963ca7294836900b75 | 4fd04c1e97d00a0d2a9297d7026d0565675ec4bb | /warsztaty/00_basics/pobranie_danych/01_pobranie_ofert.R | f0ee16a049740ac39dbd914c79ee88a31e482bf8 | [] | no_license | mi2-warsaw/RLadies | 933a9f1d7cc2a35e155774fb10aa7e67cef528e1 | c2deed7a2bee724a6f33b8d5371bd1d398b3c284 | refs/heads/master | 2021-01-11T02:16:30.163472 | 2018-07-02T05:38:53 | 2018-07-02T05:38:53 | 70,984,738 | 6 | 18 | null | 2017-10-17T13:37:58 | 2016-10-15T11:48:11 | HTML | UTF-8 | R | false | false | 3,995 | r | 01_pobranie_ofert.R | # znajdz linki ofert z pierwszych 30 stron
library(rvest)
obuwie_strona1 <-
read_html('http://allegro.pl/obuwie-1469') %>%
html_nodes('.offer-title') %>%
html_attr('href')
library(pbapply)
pbsapply(2:30, function(strona){
read_html(paste0('http://allegro.pl/obuwie-1469?p=', strona)) %>%
html_nodes('.offer-t... |
b10d0831a9042fa82f5f55fed1fbee4d34617a96 | bb47fdee30e0785574029203d13a58de626c3587 | /Functions.R | 33faad94844bcc5fe6bb3dcf32633c12913526d6 | [] | no_license | felt0134/vegetation_precipitation_interactions | ffb0c7cc3bebb0addfc3d66f4e31b5fde3c0bce8 | 264960f401cc6adaff693f3a515640646b9bac7e | refs/heads/master | 2021-07-04T22:29:10.652630 | 2020-10-13T20:58:21 | 2020-10-13T20:58:21 | 183,475,620 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,815 | r | Functions.R | #functions
#function to separate pixels by above or below the regional mean annual precip
above_below_map <- function(x){
mean.mm <- round(mean(x$mm),digits=1)
below <- x %>% dplyr::filter(mm < mean.mm)
below$map <- 'below'
above <- x %>% dplyr::filter(mm > mean.mm)
above$map <- 'above'
above_below <-... |
c13c21382ff61de70d3dc6aa3166a35f75e44014 | ca234ee6ccc8d32ce250eb8c2e4e4c9f51b62cc9 | /pkg/man/set_data-methods.Rd | b6886739a433c5ee07d61bfe1aa5bb27957193cc | [] | no_license | timemod/isismdl | ccf7b378027ef64a4c157cbaca3a960033a1c15f | b322bc8dc32d7aaeecd59b5bf96da04eea2f7416 | refs/heads/master | 2023-03-08T13:31:29.896095 | 2023-03-02T09:09:44 | 2023-03-02T09:09:44 | 116,271,435 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,598 | rd | set_data-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/IsisMdl_doc.R
\name{set_data-methods}
\alias{set_data-methods}
\alias{set_data}
\alias{set_ca}
\alias{set_fix}
\alias{set_fit}
\title{\code{\link{IsisMdl}} methods: transfers data from a timeseries
object to the model data, constant adjustmen... |
db7067d4c2c1734e172cbd46696ef00343212d6c | 317ab2d664c90292aaa3c98d55e3970c5b9089e1 | /FS12_pigtrips.R | b83c92803efa28ab175f1576e9eaf78fff216dff | [] | no_license | Jtrachsel/FS12 | a35dd5d190d3ccd78c057e9028de2fd90022afde | 2cbbad7db6583592928ab98391d7925aca92c1c5 | refs/heads/master | 2021-07-09T08:28:18.223628 | 2020-07-30T17:44:41 | 2020-07-30T17:44:41 | 173,172,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,161 | r | FS12_pigtrips.R | # library(dada2)
#
#
# list.files('../FS12/16S_raw/')
# path <- '../FS12/16S_raw/'
# list.files()
# fnFs <- sort(list.files(pattern="_R1_001.fastq", full.names = TRUE))
# fnRs <- sort(list.files(pattern="_R2_001.fastq", full.names = TRUE))
# # Extract sample names, assuming filenames have format: SAMPLENAME_XXX.fastq... |
3c94ee5db00f4159fadd6caffdc0289e779b60bf | c6cdb4e29e0a2f7d6c4a275e6ac2ac3cfdb5db42 | /docs/Lectures/Week 3/marss_example_3.R | de9d3be8c371769297a98c1a0391f969929fed06 | [] | no_license | atsa-es/atsa2019 | 8ed2305b056cc29236075e39ab3761e65c77771b | 6b01e33f763609f3f43c87e75732562d3605ba32 | refs/heads/master | 2023-01-31T17:50:48.327528 | 2020-05-21T21:53:05 | 2020-05-21T21:53:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,398 | r | marss_example_3.R | #################################################################
## Example 3. The hidden x is a random walk.
## We observe it multiple times but some observations from a similar
## type of survey and others from another
#################################################################
library(MARSS)
libra... |
bdc2d4dd8cb17a8ee327063fd4341dbf8092052f | 1d4c729a11381851e0b5c8578bf5cd7289fc082f | /R/xSocialiser.r | 36635744ad8e81b6f10ea36c0cf7fb818b81d53c | [] | no_license | hfang-bristol/XGR | 95b484a0350e14ad59fa170ead902689a34be89a | 7b947080b310363e2b82c24c82d3394335906f54 | refs/heads/master | 2023-02-05T12:35:24.074365 | 2023-01-28T05:49:33 | 2023-01-28T05:49:33 | 52,982,296 | 9 | 3 | null | null | null | null | UTF-8 | R | false | false | 24,348 | r | xSocialiser.r | #' Function to calculate pair-wise semantic similarity given the input data and the ontology and its annotation
#'
#' \code{xSocialiser} is supposed to calculate pair-wise semantic similarity given the input data and the ontology direct acyclic graph (DAG) and its annotation. It returns an object of class "igraph", a n... |
40570e7883bfbb7b868c3a18533aeb192755ea26 | 4eb8d68d4dc3bf23ccdae7cc0b93082570321434 | /pkg/man/expand.ffgrid.Rd | 27a25f068241ed1d87aef20a5c8d7d9994155d9b | [] | no_license | edwindj/ffbase | 5d034d8d1ec65e94e7f4feec3da81e20841aa405 | 98236ab7501fc9765741300879f80baddfe991a3 | refs/heads/master | 2023-07-08T22:39:38.448615 | 2023-06-21T07:59:40 | 2023-06-21T07:59:40 | 8,315,596 | 26 | 8 | null | 2023-06-21T07:59:42 | 2013-02-20T15:15:55 | R | UTF-8 | R | false | true | 1,292 | rd | expand.ffgrid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/expand_ffgrid.R
\name{expand.ffgrid}
\alias{expand.ffgrid}
\title{Create a \code{ffdf} from All Combinations of Factors}
\usage{
expand.ffgrid(..., KEEP.OUT.ATTRS = TRUE, stringsAsFactors = TRUE)
}
\arguments{
\item{...}{\code{ff} vectors, \c... |
b201969c6cc271541c7a0565c16f27ef136b0836 | 31d14a22f970218c74b8a451c8c4908adfcfdef6 | /5.TE.cor.with.gene/TE.mean.exp.cor.with.gene/TEmean.cor.with.gene.R | 79be5407d4d7cbf6526feb0f0dd105f9edad0829 | [] | no_license | LovelyMonkey123/immune.overdrive | b7f5244d903867f3b80f340c856aa5a11f91564b | 179cb3eedc0d68cb1badccf8352d62b3a50d4cca | refs/heads/master | 2023-06-23T13:31:04.720026 | 2021-07-26T14:32:24 | 2021-07-26T14:32:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,673 | r | TEmean.cor.with.gene.R | #######
load("/home/zhuxq/nas/Xiaoqiang/opti.data/1.CGC.TE.CRC.REdiscoverTE/stats.20200311/4.model/Mean.expression.of.9.TE.model.RData")
#############cor of TE matrix and gene expression matrix in CRC
########
load("/home/zhuxq/nas/Xiaoqiang/opti.data/1.CGC.TE.CRC.REdiscoverTE/stats.20200311/5.TE.cor.with.gene/TE.gene.... |
7a892c5c7b0f33f91b05ef4cd22b26978f53321b | eb8146d108b1e3c84aea7cef4a061e233ca26f33 | /visualize_results.R | e69fc395a09b2d3b0ca88c44d42f001d4ba6e3c8 | [
"MIT"
] | permissive | adadiehl/MapGL_analysis | 68fc5fb941371b956606a7ad3b9b66776ee5ed2f | c13d0f3f6a3c45e9cf18d4abb0dafbffc0471ce1 | refs/heads/master | 2022-12-11T23:53:14.793610 | 2020-09-02T18:22:01 | 2020-09-02T18:22:01 | 292,353,004 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,574 | r | visualize_results.R | # Load the mammalian data.
dat = read.table("results/hg19_to_mm9.out", stringsAsFactors=FALSE, header=FALSE, sep="\t", col.names=c("chrom", "start", "end", "name", "peak", "label", "mappedChrom", "mappedStart", "mappedEnd", "mappedPeak"))
# Draw the pie chart.
pdf("results/hg19-mm9.pie.pdf")
pie(c(length(which(dat$labe... |
1636da86ce234c83f7abf5dbd3384c2a6e53ed3b | 867c5949d469be8e105016dd5587bcbbec63f718 | /inst/Rbiodalliance/shinyBiodalliance.R | 16b617ed7ffb631d623ed33370720053ef531165 | [
"MIT"
] | permissive | Marlin-Na/Rbiodalliance | 255f88d369b964526763ce3dde26038776f540fe | 63bb9c13cc1659ef0be73aa6f4ca496e726de30b | refs/heads/master | 2021-01-12T09:31:19.972398 | 2016-08-17T22:25:49 | 2016-08-17T22:25:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 509 | r | shinyBiodalliance.R | library(shiny)
library(Rbiodalliance)
ui = shinyUI(fluidPage(
textInput("chr_id", "Chromosome", value = "3"),
textInput("start_val", "Start value", value = 135),
textInput("end_val", "End value", value = 145),
biodallianceOutput('biocalliance')
))
server = function(input, output) {
output$biodalliance <- re... |
9e6f24122b995b569be05155a607bd2ad3447440 | 6d95e76c05f19c6811eb3da94b34d9bcef514835 | /man/cvAll.Rd | 332c2308a3a6248767fca33b6897b4d1f70e6c07 | [] | no_license | kohleth/kmisc | 6a6627a63aba63a3f18cc5ce06c2011e809ddca2 | 0360a4acb0de8c07a7dc5e6011e8f3539336ebc0 | refs/heads/master | 2021-01-23T07:59:48.025198 | 2016-12-12T01:27:01 | 2016-12-12T01:27:01 | 32,491,515 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,958 | rd | cvAll.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cvAll.R, R/vall.R
\name{cvAll}
\alias{cvAll}
\alias{cvAll.default}
\alias{cvAll.lm}
\alias{cvAll.lme}
\alias{cvAll.merMod}
\alias{validateAll}
\title{Cross Validate all nested models}
\usage{
cvAll(x, ...)
\method{cvAll}{default}(x, data, k,... |
47723316aee0773cc50cb622118120102bf9f49b | 940b109fd731a59a1e8646614be1fb90189601d7 | /R/aggsum.R | d358cbc98e3a4290dbb96e882c64a33f4ca9de1e | [] | no_license | cran/scar | 1bf1f51bb9d775a1b8aa5bc5bcea9db778e76c2b | dffb2dd867390cbe9f3935a77d475653578c1ef9 | refs/heads/master | 2022-06-02T06:29:13.794537 | 2022-05-25T21:50:02 | 2022-05-25T21:50:02 | 17,699,483 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 254 | r | aggsum.R | aggsum <- function(x,reverse=FALSE){
n = length(x)
if(n>1){
if(reverse==FALSE){y=.C("AggSum",as.integer(n), x = as.double(x))$x} else
{y =rev(x); y=.C("AggSum",as.integer(n), x = as.double(y))$x; y = rev(y)}
}
return(y)
}
|
c2d856b9bb6165e9e662cad5ffbc9371c9cb8859 | fda4a8a5fe69bb435780af09aa0ed7e4fca8ac9c | /man/plot_comembership.Rd | c28bf2d94d6d711b367700645134c8d14472585e | [] | no_license | lubianat/CEMiTool | 81294291ae68f336008ec9b7f6e55e8e3b1248d2 | 5968c8ed248554f364a9592b750c0c9491e07dfd | refs/heads/master | 2020-05-30T09:36:52.181941 | 2019-05-22T23:07:12 | 2019-05-22T23:07:12 | 189,649,766 | 1 | 0 | null | 2019-05-31T19:44:54 | 2019-05-31T19:44:54 | null | UTF-8 | R | false | true | 1,219 | rd | plot_comembership.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/integrate.R
\name{plot_comembership}
\alias{plot_comembership}
\title{Plot module edge co-membership}
\usage{
plot_comembership(cem_overlap_df)
}
\arguments{
\item{cem_overlap_df}{Output of function \code{cem_overlap}}
}
\value{
A plot contai... |
6a020664e646bf48e3523dee8798b5d0398c8742 | 44e97a4f153fede9ad36444426382599a0b5ad34 | /R/active_snw_search.R | bf80ae3e355234e2071afebecf2c1223fbfe2fbc | [
"MIT"
] | permissive | egeulgen/pathfindR | 3f58046ad48ecb7698c604bc9959e7a70d49b53a | 857f4b70566ea3a0413c015fd9580c15137a1615 | refs/heads/master | 2023-08-22T15:13:58.185804 | 2023-08-22T12:57:44 | 2023-08-22T12:57:44 | 115,432,311 | 149 | 28 | NOASSERTION | 2023-08-27T15:21:31 | 2017-12-26T15:11:22 | R | UTF-8 | R | false | false | 15,410 | r | active_snw_search.R | #' Perform Active Subnetwork Search
#'
#' @param input_for_search input the input data that active subnetwork search uses. The input
#' must be a data frame containing at least these 2 columns: \describe{
#' \item{GENE}{Gene Symbol}
#' \item{P_VALUE}{p value obtained through a test, e.g. differential expression/met... |
6af87cd4b13d0efb0e9cc11a40ee944246135205 | 7ab653551514159fff07a489fb5ae8a6b337bc30 | /scripts/install/install_Rpackages.R | 549a9a3c2329f1ec1e9e434b656def1c4e165ce2 | [
"BSD-3-Clause"
] | permissive | nservant/HiC-Pro | 4546a8427a349fcc53dcb1c1442fd38c731a9447 | 57a0bf2cb1d7ebeb44b4f11e78058b504260c5c9 | refs/heads/master | 2023-09-02T22:52:52.473658 | 2022-06-17T18:01:56 | 2022-06-17T18:01:56 | 30,088,728 | 352 | 226 | NOASSERTION | 2023-08-25T13:33:24 | 2015-01-30T20:09:25 | Python | UTF-8 | R | false | false | 728 | r | install_Rpackages.R | ## HiC-Pro
## Copyright (c) 2015 Institut Curie
## Author(s): Nicolas Servant, Eric Viara
## Contact: nicolas.servant@curie.fr
## This software is distributed without any guarantee under the terms of the BSD-3 licence.
## See the LICENCE file for details
## Install R packages for HiC-Pro... |
1f829b66a96ec5a2203caa00a0059fcee85171bd | fea55c2c028f7d108f7f4559720d3bd620bb5815 | /Nursing Home Compare.R | 58635ed79c1014e143d9c36fea2f1f246345cd66 | [] | no_license | virinchiande/Nursing-Home-Compare | 28ccf82eac9b8373f7eeaa0dde77d44a6db1a81d | 34dba1ac90ce43f48f8259c6a381bde4373c443f | refs/heads/master | 2021-08-09T02:58:51.755172 | 2017-11-12T01:40:25 | 2017-11-12T01:40:25 | 110,395,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 39,958 | r | Nursing Home Compare.R | #Project : Nursing Home Compare
#Group Name : DarkLooters
#Members: Ravindra Rashmi Dasappa
# Virinchi Ande
# Aishwarya Kesari
# Sravani Kannelur
# Amarnadh
#**********************************************************************************************************
#input data set Def... |
b52cc9eeac06b36ee0fc6ce4d07e279955269bbd | 2137baa3ae280af2580b2c340497d200a17dc51b | /2VA/2VA.R | 615781da8c8729ddfb9284369fd6249f63cd4749 | [] | no_license | Kyzard0/DataAnalysisWithR | e81fb1de6b4b13d63f460fd2620d3e5855a32ad6 | d6180baba2f2a077b703b05e96cf58c4564663ed | refs/heads/master | 2023-02-20T20:46:48.355967 | 2021-01-22T04:58:26 | 2021-01-22T04:58:26 | 331,836,802 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,148 | r | 2VA.R | ## 1 Questรฃo
VADeaths
categories <- colnames(VADeaths)
idades <- row.names(VADeaths)
colors <- c("green", "blue", "yellow", "orange", "red")
barplot(VADeaths,
main="Taxa de Mortes em Virginia (1940)",
xlab="Categoria",ylab="Taxa de Mortalidade",
col=colors,
beside = F)
legend("topright"... |
27961d89c5f4952a7a36124dfbf0cbe6aa3a733a | 49b263dc5413e824c2d86f5ae1d55f28181dfd36 | /code/ptery_sulfate/database_construction.R | afaa29225553b6d599151fec51d3a9dfbc63e448 | [] | no_license | katygard/rep-sci-project | 81fd396b1080f56332eecf690977e7610963d9c1 | ebdd98325784ea6cbf9c2b3e725fa5addfcc2f07 | refs/heads/main | 2023-04-16T02:07:37.587159 | 2021-04-27T17:12:05 | 2021-04-27T17:12:05 | 359,587,130 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,938 | r | database_construction.R | #build RSQlite database
#load packages
library(DBI)
library(RSQLite)
library(dplyr)
library(tidyverse)
library(lessR)
library(tibble)
### Creating the database
#establish a database connection
ptery_sulf_db <- dbConnect(drv = RSQLite::SQLite(),
"../../raw_data/ptery_sulf.db")
#load in USUA... |
67bef18a81b661dc587ed382186b0734676cf2f7 | 7427b38633f54e01d368b00357d78956bacfd3f9 | /sims/figures/fig6e-g/lunSim.R | e0ce6ec31665b66a3e5fb068d85b3e98683d94a3 | [] | no_license | drisso/zinb_analysis | 3d7d8075a79033ab0a77d1ad160070ce04fadc8b | 303cd1f1b5a2109af4ecf87869cbd0efba809832 | refs/heads/master | 2021-06-26T14:50:37.579475 | 2020-07-23T17:52:32 | 2020-07-23T17:52:32 | 69,053,084 | 9 | 4 | null | null | null | null | UTF-8 | R | false | false | 824 | r | lunSim.R | library(zinbwave)
library(EDASeq)
COUNT_GEN <- readRDS("fig6e-g/function.rds")
ngenes <- 1000
B <- 10
for (ncells in c(100, 1000, 10000)){
for (x in c(0, .33, .67)){
n1 = n2 = round(ncells/3)
n3 = ncells - n1 * 2
labels = c(rep(1, n1), rep(2, n2), rep(3, n3))
simData = lapply(seq_len(B), function(i)... |
9d5fdb673cd661133c82ba4ef9c1e023ee46386e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hexView/examples/hexViewFile.Rd.R | 2ed4031c9e93fb98feb5a592e09e47458c884c82 | [] | 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 | 168 | r | hexViewFile.Rd.R | library(hexView)
### Name: hexViewFile
### Title: Specify an Example File
### Aliases: hexViewFile
### Keywords: file
### ** Examples
hexViewFile("rawTest.txt")
|
81b9545184281e4a6cbb1ddbe92102b48f5fd603 | f982775e7247587f17b871ebbf52725248e9c734 | /R/citations.r | 57b96545f1003f7b005f7e58c9a8ea508a2aba8d | [
"MIT"
] | permissive | statisticsforsocialscience/rmd_templates | b7182d710b9dada6306e19d439330bc4ab57cae1 | 745d94a410daa448d93ccceab681ef9b848111db | refs/heads/master | 2020-09-24T20:07:49.200646 | 2020-02-03T21:24:17 | 2020-02-03T21:24:17 | 225,832,867 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,530 | r | citations.r | ##
#
# Prepare bib-tex files
# source this file in an results = "asis" to cite the packages
# change the pkgs variable to read those packages you want to cite
#' Write the bib-tex file from alist of package-strings
#'
#' @param pkgs a Vector containing package names to be cited
#'
#' @return nothing
#' @export
#'
#' @... |
906a4ba897bec511ca5fc2e5788c271065ed0d8c | 3468ee723fe50f8ec5db48426f60c1c1aa812177 | /18 - Creating Scatterplots with ggplot2.R | 8b3b5105b295bc244c19573317823c83ce874d0e | [] | no_license | DenisOliveira1/course_r_programming_tutorial | 8ebaf6208b54abd798235da57cd265fcb42daec0 | f00a4b7920d22a2cd3a2e1e7d443b5495246b44b | refs/heads/master | 2023-03-29T01:23:46.007408 | 2021-04-11T12:08:36 | 2021-04-11T12:08:36 | 207,676,529 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 191 | r | 18 - Creating Scatterplots with ggplot2.R | #instalei gplot pelo gerenciados de pacotes de ambiente do navigator
library(ggplot2)
head(diamonds)
qplot(x = diamonds$carat, y = diamonds$price, data = diamonds, color = diamonds$clarity)
|
b25da7a4468156813e0ce6b02e8b251628d29dc6 | 9dde18b1fb75b8e548a51e89adaa8e1add950d97 | /man/reverse_not_df.Rd | 3a148cc50f31b61638d79e8fed3b101765df8c61 | [
"MIT"
] | permissive | skgallagher/EpiCompare | e47e0450c0e29fdacade85e6c36355b197ff8578 | 6433b7a7dfa4eb8b95a1a8a10aba498a73102d19 | refs/heads/master | 2023-08-15T14:15:38.113832 | 2021-09-11T15:54:48 | 2021-09-11T15:54:48 | 198,687,670 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 509 | rd | reverse_not_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tidy-dist-mat.R
\name{reverse_not_df}
\alias{reverse_not_df}
\alias{reverse_not_df.not_df}
\title{removes the \code{not}() operation (that makes a df a \code{not_df})}
\usage{
reverse_not_df(x)
\method{reverse_not_df}{not_df}(x)
}
\arguments... |
9f13ded6b50d88fef5aa44dd15a7640142cf1564 | 14ca805e60a5381b9ffde356ea6daea8abf6bfad | /Part_IV/RunPrepareData.R | 3cbcd063ece21790e6a21e42d215a2375f6453db | [] | no_license | hunglviet/darch12 | 11f5a7c22063f1428f58fa4e0d6b1f088e47027a | 1ec6aa668e43bff8ca0b5a145b1c785f81d7b960 | refs/heads/master | 2022-03-04T01:49:48.219765 | 2019-10-13T07:17:12 | 2019-10-13T07:17:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,074 | r | RunPrepareData.R | evalq({
dt <- PrepareData(Data, Open, High, Low, Close, Volume)
DT <- SplitData(dt, 2000, 1000, 500,500)
pre.outl <- PreOutlier(DT$pretrain)
DTcap <- CappingData(DT, impute = T, fill = T, dither = F,
pre.outl = pre.outl)
preproc <- PreNorm(DTcap, meth = meth)
DTcap.n <- NormDa... |
3ae2f3c4b501f2f4505f391ae2408acb8841138e | 191ddff701070da5fcf1ac6727fa148dd4996c01 | /daily_saustcyc_ensemble.R | 35a85a467322cc04b57c85d7935f2460d0d9942d | [] | no_license | apepler/R-Raijin | 6323170a2a540a67da15a2a3ff45d4aa08a31a6f | b1f5a90b10c42f8eaef3121b17cb55ec943b7406 | refs/heads/master | 2021-09-23T09:39:17.927701 | 2018-09-21T05:26:58 | 2018-09-21T05:26:58 | 107,910,158 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,621 | r | daily_saustcyc_ensemble.R | ## This is code that takes the 11 ensemble members of a POAMA run
## Started on a particular day
## And outputs some interested results for further analysis
## I care about ECLs, so main result is a daily timeseries of # of members that
## have an ECL on that day
## Also outputs a figure for each of the months in the... |
23493015a4eb03cd06be94b4061672c6afdb94ce | 812e6b47bcf70e03f6260f352b8d884b4d3fa373 | /Scripts/00_packages_v1.R | 2c48fc1bf4b118e6a39e09d2aee84635a53a72fe | [] | no_license | saritamw/Insect-data-Herbarium-CDRS | 40487a2e458264e582a1fc0468010f62eeb447ff | b584d4d2d69e6b94795cc7d04de6c345cce8af9c | refs/heads/main | 2023-02-16T23:36:09.981762 | 2021-01-14T15:40:19 | 2021-01-14T15:46:46 | 317,945,123 | 0 | 0 | null | 2020-12-02T17:49:20 | 2020-12-02T17:49:19 | null | UTF-8 | R | false | false | 400 | r | 00_packages_v1.R | ################ Insect Data CDRS #######################
##### List of packages used for analysis
### Package scripts
library(tidyverse) #For data cleaning and graphs
library(lme4) #For modeling
library(lmerTest)
library(readr) #For reading cvs files
library("lubridate")
# library(RColorBrewer) #For PCA analysis
... |
6faa0f144203160dbf4542de9f916d03fc7e529a | 1d57b029ae4916055554f2312d2beff3338632b0 | /DataWrangling/PhenoCombinedDataImputation.R | 8630716e0e8d765344d8fcb183bf2fb457fd164d | [] | no_license | mblai35/BrassicaDBN_Neo4j | 2e954b1487685ab949b1d0761e20012e951a7b50 | f81c7323357edc9bed915ca262d8d30a42b829c6 | refs/heads/master | 2021-01-11T15:19:32.457364 | 2017-05-23T16:39:15 | 2017-05-23T16:39:15 | 80,324,918 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,456 | r | PhenoCombinedDataImputation.R | # PhenoCombinedDataImputation.R
# R version 3.3.1 (2016-06-21)
# January 15, 2017. Mallory B. Lai.
# Reviewed by: TODO (Mallory B. Lai) : Find reviewer to proofread
# Investigate accuracy of current values, remove extreme outliers, and
# impute missing Brassica phenotype data for analysis. Uses .csv file
# generated fr... |
777883473c97e90e6c74069eca132ef24b16e018 | 1221741cc28b079bb32183fe494ce555382d4323 | /SCGscagnostics/SCGScagnostics.R | 8b945ed5c00dfc1b71a2fce53fbbc9eef5f7c19d | [] | no_license | ceausuio/SCG_Scagnostics | 8f3da8301bdfad7e0dc465e2acef9a1bc2f8f8d2 | 1ab497bc4762843fab812fc9b1e0bc9859424ec1 | refs/heads/master | 2020-03-30T10:09:11.085805 | 2019-06-26T11:10:54 | 2019-06-26T11:10:54 | 151,108,058 | 1 | 1 | null | 2019-04-04T10:55:42 | 2018-10-01T15:04:24 | Jupyter Notebook | UTF-8 | R | false | false | 1,680 | r | SCGScagnostics.R |
# Packages needed ---------------------------------------------------------
install.packages("rJava")
install.packages("scagnostics")
install.packages("psych")
# Library -----------------------------------------------------------------
library(scagnostics)
library(psych)
# Calculating the scagnostics -----------... |
f5cf721346c1bd1b263a6b1d92c95df8f6b822c7 | 51830cdacf31aa85281af6673eaf364ddf815c30 | /R/do_full_boxplot_RNA.R | 7b9d14e8a1a251a94e8b87ddb3a4e25edfce27a3 | [] | no_license | niko-balanis/small.cell.project | 1895cdc9a716d50984b1958cded6f44ea9da8c35 | ddcd781aa5db10e6012be59d2a50f3a59fe578e3 | refs/heads/master | 2021-10-22T22:30:41.411050 | 2019-03-13T02:44:46 | 2019-03-13T02:44:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,480 | r | do_full_boxplot_RNA.R | #' create tcga boxplots
#'
#' Creates boxplots from prediction scores from pls or plsda
#' Makes some boxplots
#'
#' @param pattern pattern to grep for in files that have predictions
#' @param tcga_location location of predicted files of tcga
#' @param crpc_file location of predicted file of crpc
#' @param nepc_file l... |
cd5b5f239a22645f6fc228f5d9746cb958e8421b | cac1797024bb41409b7256f4a5ee7f1696890d27 | /R/latChanNet/man/makeLatentModel.Rd | 12f8aab4e614017c53602403f01ca28f19fdc061 | [] | no_license | pistacliffcho/LatentChannelNetworks.R | 293d8878e43715cdc8f0c1fad87366f979380f66 | 20ab9a1665c9973c566ed34ce8a7e09fc838082b | refs/heads/master | 2020-05-22T01:01:19.410391 | 2019-10-29T05:21:55 | 2019-10-29T05:21:55 | 186,184,055 | 1 | 0 | null | 2019-07-22T04:52:29 | 2019-05-11T21:42:52 | HTML | UTF-8 | R | false | true | 1,752 | rd | makeLatentModel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LatClass.R
\name{makeLatentModel}
\alias{makeLatentModel}
\title{Make Latent Structure model}
\usage{
makeLatentModel(
edgeList,
nChans,
model = "LCN",
missingList = NULL,
metadata = NULL
)
}
\arguments{
\item{edgeList}{An matrix ed... |
df6518b3766594890f4f3a3b63e6a6b0e64b3c5f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/penMSM/examples/plmatrix.Rd.R | cc3b8d36f0f4fe80a8a8889c97a09d1a24558961 | [] | 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 | 143 | r | plmatrix.Rd.R | library(penMSM)
### Name: plmatrix
### Title: plmatrix.
### Aliases: plmatrix
### ** Examples
## Not run: plmatrix(psv, beta, constant)
|
327e6477627173a7eb5f8b57bdf44544af6ee9fb | c2b34e631c39b992e928fb758634880f47cc679a | /paper_ClusterRobustTesting/R/figures for PRC.R | e618a5851835170677a80d71459b4b01e77d661f | [] | no_license | jepusto/clubSandwich | b74b04f3d8a1fc7aab3b385317436f4fd80b69bb | 9084e82485b74723c4ca39fed8e7e9c062ad2468 | refs/heads/main | 2023-08-19T07:31:47.250073 | 2023-08-04T22:50:22 | 2023-08-04T22:50:22 | 38,020,216 | 47 | 11 | null | 2023-08-04T22:48:21 | 2015-06-25T01:17:20 | HTML | UTF-8 | R | false | false | 1,781 | r | figures for PRC.R | library(tidyr)
library(dplyr)
library(ggplot2)
library(stringr)
rm(list=ls())
setwd("paper_ClusterRobustTesting")
source("R/format results for figures.R")
# standard test
filter(results_long, alpha == .05 & test == "Standard") %>%
mutate(q_fac = paste("q =",q,ifelse(q==1, "(t-test)", "(F-test)"))) %>%
ggplot(aes(... |
874e10f1e986085911f258cabae0b4bcadbc00cb | 44c3fb481c817317ef3d01297ca6b98d728f711c | /Aiptasia_salinity_SIMPER.R | 84d578e6f2e9363773356d3cba58f26d4aa04b93 | [] | no_license | ajcardenasb/Aiptasia_salinity_thermotolerance_16S | 7223a31b2edd2c8b544aef9e76ac5af2e11fa053 | 7805cd87e04894d7de431ec54580090f4f8504cb | refs/heads/master | 2022-12-28T11:23:18.137230 | 2020-10-01T08:30:37 | 2020-10-01T08:30:37 | 299,562,036 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 16,953 | r | Aiptasia_salinity_SIMPER.R |
######SIMPER############
library("vegan")
library("pracma")
mat=t(read.table("OTU_noConta", row.names = 1))
mat.n=sweep(mat.m,2,colSums(mat.m),`/`)
sqrtm(mat.n)
map= read.csv("lookup.csv", header = TRUE) #lookup table
groups = map[-c(58:59), c(2)] # assign groups
simp=simper(mat.n, groups, permutations = 0, trace ... |
050b9bf68937aca49308096dd28c9d9218a9c836 | d28763dd7d45945bca5cb01327deba0e158028e9 | /DS_ML_breast_cancer.R | 2084d6a5b2fe8e304b12db0192bcab6747d6efde | [] | no_license | humaidmaa/DS_ML_Breast-Cancer | c0636b5bcbea2b16955ca643ff22cf84e17ed911 | 069aabfa78b4aaf03180cfdb0bd1dce00735de5f | refs/heads/main | 2023-01-20T08:03:17.388350 | 2020-12-03T20:25:09 | 2020-12-03T20:25:09 | 312,196,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,681 | r | DS_ML_breast_cancer.R | # Title: Breast Cancer study
# Name: Mansour Alhumaid
# Date: 02 Nov 2020
#The data contain Clinical features were observed or measured for 64 patients with breast cancer and 52 healthy controls.
#The dataset is downloaded from The UCI Machine Learning Repository
#There are 10 predictors, all quantitative, and a binary... |
9f235f16f5494a42ca7a3c5b54f461daf658fe14 | cfa4051255dfdeae0fa53814ff4781ed4215f22e | /select_best_image/server.R | 165d757a89c85c8214d7564606af5513ab8f3da6 | [] | no_license | gu-stat/shiny-server | aa56a390ee46a0b326bb70622e65950d68f2f715 | ed6c5ee8bfe520db48e2a85473a9da98a0f94a01 | refs/heads/master | 2020-04-21T23:45:41.376495 | 2019-02-10T08:16:08 | 2019-02-10T08:16:08 | 139,287,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,029 | r | server.R | library(shiny)
server <- function(input, output) {
# Generate file names
orig.filenames <- 1:10
# Create a reactive variable with filenames
## Reactive in the sense that we will update its values by removing the
## selected ones
filenames <- reactiveValues(names = orig.filenames)
# Function to ... |
594ee45cf7057b0df7c2842377f28d4a3fafd1cc | 91fb1b183544b1744cc71da58c7de898ed78cd73 | /plot1.R | fe3b2e70c4e1c6f1c3483a962dd65cf54cb679ae | [] | no_license | jbaxx/ExData_Plotting1 | 8d58a684f14a1bb8f2bd3118db90feeb58b7964d | 588b50917c400fb19def1cf889fdaa29780edd89 | refs/heads/master | 2021-01-21T09:42:43.439544 | 2016-02-08T03:01:22 | 2016-02-08T03:01:22 | 44,068,277 | 0 | 0 | null | 2015-10-11T20:24:52 | 2015-10-11T20:24:52 | null | UTF-8 | R | false | false | 1,768 | r | plot1.R | #if dataset is not present in current directory, download and decompress
if(!file.exists("./household_power_consumption.txt")){
download.file(url="https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",destfile="pdata2.zip",method="curl")
unzip("pdata2.zip")
}
#read dataset
gdata<-read.t... |
281c82f356168427c9285147d8af3bffdfd4deac | 90510e5285461a4f8ac8e34228ae93be8ca6a9c7 | /Coursework Projects/Concordance between Microarray and RNA-Seq data/heatmap.R | 070df997a45aa1c148c6a031af3e79fe1322b286 | [] | no_license | AishwaryaD1/Projects | a7bacd3c8c366aacc2b03ec435f7fe254f2a3f38 | 41f29fb36665963755f9b4a1a1548374a5ee0b11 | refs/heads/master | 2023-04-05T16:45:56.355092 | 2021-05-06T17:41:11 | 2021-05-06T17:41:11 | 262,642,141 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,327 | r | heatmap.R | read_norm1 <- read.csv("/projectnb/bf528/users/group4/project3/samples/deseq2/deseq_norm_counts1.csv")
read_norm2 <- read.csv("/projectnb/bf528/users/group4/project3/samples/deseq2/deseq_norm_counts2.csv")
read_norm3 <- read.csv("/projectnb/bf528/users/group4/project3/samples/deseq2/deseq_norm_counts3.csv")
read_de1 <... |
a02e026e36211050c85532d2a70fbc4c79f98dd3 | 477c1e2c585bc0f7547c7504b567db744cd9f210 | /tests/testthat/test-sparse-matrix-updated.r | 76c8141fac4c7b5af435086049b63af2f2e7a4ab | [] | no_license | matthew-seth-smith/bis557 | 5c20d679979438448c748961f1ff99ee9c84ce3e | 8689e912b95783f60d6651b12b155516001eb24d | refs/heads/master | 2020-03-28T02:01:16.232098 | 2018-12-20T18:33:15 | 2018-12-20T18:33:15 | 147,542,014 | 0 | 1 | null | 2018-12-11T17:55:19 | 2018-09-05T15:43:22 | R | UTF-8 | R | false | false | 1,333 | r | test-sparse-matrix-updated.r | library(testthat)
context('Test the sparse matrix functions')
# If no dimensions are given, assume the largest coordinates are the
# dimensions.
sm0 <- sparse.matrix(i = c(1, 2), j = c(1, 1), x = c(1, 1))
sm1 <- sparse.matrix(i = c(1, 2), j = c(1, 1), x = c(3, 1), dims = c(3, 2))
sm2 <- sparse.matrix(i = c(1, 2, 2), ... |
f58c8d2eeda1c50784e5d3879dfbece37a59ccf6 | a32e555f7423dee61075b2960ee5990c433ddf46 | /CPDMoran.r | 0817984db8580938867a2e38c8bfc602d4e47cdb | [] | no_license | etlundquist/CPDCrime | 955bffd64f28309e8c2c11b61db79f942dbfe17d | 284cd923bbd36072da86ea69a2fc1b5c33dc1fdc | refs/heads/master | 2021-01-10T11:51:00.771617 | 2015-12-24T22:22:51 | 2015-12-24T22:22:51 | 48,557,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,368 | r | CPDMoran.r | # set enviornment variables and load required packages
#-----------------------------------------------------
setwd('C:/Users/elundquist/Documents')
source('./R/Authentication/gpcnx.r')
library(RPostgreSQL)
library(readr)
library(dplyr)
library(geosphere)
library(ape)
library(ggplot2)
# begin a connection... |
e76c96196eea3ae3599a630d271d7be2b4a627a4 | a6ceb899c88a42ea26f09be3ff69bab456218e06 | /man/print.ugrid.Rd | eb58e2a0535f5849e6ee8006eac039bb6d6f9871 | [] | no_license | pankajcivil/dcepucp | 485432c4b06f09d542b10880de86e607f9b36a2e | 4561e3e52447635f8efe38d6834f821da30dbe95 | refs/heads/master | 2021-10-08T13:28:49.312860 | 2018-10-01T10:29:41 | 2018-10-01T10:29:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 739 | rd | print.ugrid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/objects.R
\name{print.ugrid}
\alias{print.ugrid}
\title{Print urban grid information}
\usage{
\method{print}{ugrid}(x, ...)
}
\arguments{
\item{x}{Object of class \code{ugrid}.}
\item{...}{Other parameters not used here.}
}
\description{
Pri... |
8faf724ef73f3f7a198c23b24ab139541e445c5e | f740111d82ddbc5b3e4f24774a0ef5ce6ba10953 | /extra_scripts/get_MMETSP_project_stats.R | 2fe5389ed3fc62edf868f6def8867a24bb2730c6 | [] | no_license | camillescott/MMETSP | 1b897e2a7efbf28b0467b33c08aaa8b3f0c0e308 | da2a20ad965c3f0a5a2c13fed5114275a8884763 | refs/heads/master | 2021-01-13T07:49:34.653304 | 2016-09-26T21:17:19 | 2016-09-26T21:17:19 | 69,296,653 | 0 | 0 | null | 2016-09-26T22:04:12 | 2016-09-26T22:04:12 | null | UTF-8 | R | false | false | 870 | r | get_MMETSP_project_stats.R | imicrobe<-read.csv("imicrobe/Callum_FINAL_biosample_ids.csv")
ncbi<-read.csv("SraRunInfo.csv")
MMETSP_id_NCBI<-ncbi$SampleName
MMETSP_id_imicrobe<-imicrobe$SAMPLE_NAME
source('~/Documents/scripts/overLapper.R')
setlist <- list(NCBI=as.vector(MMETSP_id_NCBI),imicrobe=as.vector(MMETSP_id_imicrobe))
OLlist <- overLapper(s... |
9c8dde9d5c4f55a36444a605b18587a61b5512cc | f4e62d86408f5cbc154fb2e7ff7119d76763ca92 | /meta_start.R | 59b9eb0ad7f20f9e2f9ab53915e3f3f59273f1c1 | [] | no_license | Mattgeary/Metapopulation | 0e162ae977d48f1d4f43b1bce8bf936838749291 | 5131e0ee005bd15ed3800e704e50f26cd1263dcf | refs/heads/master | 2021-01-13T02:19:12.921459 | 2013-12-10T10:45:40 | 2013-12-10T10:45:40 | 1,985,625 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 419 | r | meta_start.R | require(sp)
require(raster)
require(dismo)
require(msm)
work <- getwd()
source("meta_control.R", echo=T)
source("meta_94.R", echo=T)
setwd(work)
setwd(paste(work, "Scenario_1", sep="/"))
source("meta_s1.R", echo=T)
setwd(work)
setwd(paste(work, "Scenario_2", sep="/"))
source("meta_s2.R", echo=T)
setwd(work)
... |
6865318cd1a8d69828145c3974f42dc5d6e60b07 | e61a07d21c89c454349c9636e911c13fa1a00f1e | /descriptivestats.R | acc72bd8d7c5b2992ecf36b13b116493643b67fe | [] | no_license | hfreid-pton/thesis | 07917e0bfc49a7379d13efffa68c419bd5e21761 | 81edde85e7cf7a2b4bd1f17a7e0d5b6b0f1efa8a | refs/heads/main | 2023-04-03T08:41:45.239668 | 2021-04-14T21:31:52 | 2021-04-14T21:31:52 | 356,765,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,029 | r | descriptivestats.R | #descriptive stats
library(dplyr)
library(tidyr)
library(stringr)
# loading distance to fracking site data and finding who is exposed and who is potential control
dist <- readRDS("/home/HPA/Hannah/BenCode/datafiles/frackDist.RDS")
dist_10 <- dist %>% filter(distance_ff_site <= 10)
all_ffid <- unique(dist$ffid)
ffid... |
f2e3a6658c9c292733022235a544a09a768021a4 | d86c85ffd7d8aa7a7427085f035ac989f5c8c6b5 | /Developing Data Products Course/Week 4 Final Project/ui.R | e8440992b1c2d7a364803eebbe4fb541f7a5bea1 | [] | no_license | Diego-Angulo/Data-Science-Specialization | 2d0ff81fc79c14250de58c260ebfc72b3c807b03 | ffb8d1a5c51108a53d381f58b210bf09c9e6dcda | refs/heads/master | 2020-07-07T20:09:43.479615 | 2019-10-10T21:23:37 | 2019-10-10T21:23:37 | 203,463,760 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,585 | r | ui.R | library(shiny)
shinyUI(fluidPage(
titlePanel("Linear Regression App"),
sidebarLayout(
sidebarPanel(
h2("Regressors:"),
sliderInput("sliderWeight", "1.- Car Weight (1000 lbs)", 1.5, 5.5, 1.5),
sliderInput("sliderTime", "2.- 1/4 mile time (secs)", 14.00, 23.00, 1... |
914f8f17d7b26178554428454bce076157dfba40 | 2071843ec9534c1b92ac6234e174cce3c44eff04 | /R/summary.R | af4e184a8025f7029c9d3c8ad3c81da4b3589087 | [] | no_license | JimMcL/mimicry-in-motion | da0ec9be9213ea978a04005e55d0a466cc4d8374 | 6ffd8fa966bd090557f4d7ea1944fbd3f2f95a1c | refs/heads/main | 2023-04-29T20:46:33.728348 | 2021-05-23T04:49:20 | 2021-05-23T04:49:20 | 321,585,072 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,304 | r | summary.R | library("JUtils")
source("LDA.R")
source("logit.R")
source("PCA.R")
source(file.path(SAMPLEIT_DIR, "sampleItMaps.R"))
ReportStatTest <- function(htest, qualifier = "") {
cat(sprintf("%s%s\n", htest$method, qualifier))
cat(sprintf("%s = %g, %s = %g, p-value = %f\n", names(htest$statistic), round(htest$statistic, 2)... |
5e2d5197dbc4b696af8c7b2d00e197d18250182c | 2195aa79fbd3cf2f048ad5a9ee3a1ef948ff6601 | /docs/ImportLargeNumberOfMessages.rd | 47602889ecbaef93fa561233418ceb41ff24d2f1 | [
"MIT"
] | permissive | snakamura/q3 | d3601503df4ebb08f051332a9669cd71dc5256b2 | 6ab405b61deec8bb3fc0f35057dd880efd96b87f | refs/heads/master | 2016-09-02T00:33:43.224628 | 2014-07-22T23:38:22 | 2014-07-22T23:38:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,084 | rd | ImportLargeNumberOfMessages.rd | =begin
=ๅคง้ใฎใกใใปใผใธใใคใณใใผใใใใใจใใใจใจใฉใผใซใชใใพใ
((<[ใใกใคใซ]-[่ชญใฟ่พผใฟ]|URL:FileImportAction.html>))ใงใกใใปใผใธใใคใณใใผใใใใจใใซใฏใ((<[่ชญใฟ่พผใฟ]ใใคใขใญใฐ|URL:ImportDialog.html>))ใฎ[ใใน]ใซ่คๆฐใฎใใกใคใซใๆๅฎใใใใจใใงใใพใใ
ใจใใใใ[ๅ็
ง]ใใฟใณใใฏใชใใฏใใฆใใกใคใซใใคใขใญใฐใ้ใใฆใใกใคใซใ้ธๆใใใจใใซใๅคง้ใฎใใกใคใซใ้ธๆใใใจใใจใฉใผใซใชใใใจใใใใพใใใใฎใใใชๅ ดๅใซใฏใ[ใใน]ใฎๆฌใซใฏใคใซใใซใผใใไฝฟ็จใใฆใใกใคใซๅใๆๅฎใใใใจใงๅ้ฟใงใใพใใใใจใใฐใC:\Mailใซใใๆกๅผตๅญใemlใฎ... |
8d13e6031abccd926cd45a9e5bff508f5e70ff64 | 69319c0616fb57a3da8adfbf3e94a64035876de4 | /plot1.R | 09746cb8b0cd17e281ba04fb3563c3abfcc3eb05 | [] | no_license | asamuelson/Exploratory-Data-Analysis-Project-1 | 1209a0acbd3f75d4b3f52760cd38d8126578833e | 1d6c6dfcd2fec092940a30e26899ff8059fff450 | refs/heads/master | 2021-01-10T13:58:29.758846 | 2016-02-28T19:17:26 | 2016-02-28T19:17:26 | 52,738,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 349 | r | plot1.R | ElectricPower <- read.table("household_power_consumption.txt", sep = ";", header = TRUE, as.is = TRUE)
ElectricPowerData <- subset(ElectricPower, Date == "1/2/2007" | Date == "2/2/2007")
png("plot1.png")
hist(as.numeric(ElectricPowerData$Global_active_power), col="red", main="Global Active Power", xlab="Global Active P... |
4a281f099b814ec72f93945b48d2a81874b8760b | b8e3cde25baedc8cffbd06edc77991feeec9eab6 | /man/eff_est_wan_c1.Rd | 474eb6375febce27a9b84d81b9bd3629896cd28d | [] | no_license | garthtarr/varameta | e22297bb4c5b5bd222c86bc272935706dffa01b0 | 6c36b0eaf49888f6f2f679c6f6c2d873bb0778b3 | refs/heads/master | 2021-08-29T23:49:34.565206 | 2017-12-15T10:08:08 | 2017-12-15T10:08:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 429 | rd | eff_est_wan_c1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eff-est-wan-c1.R
\name{eff_est_wan_c1}
\alias{eff_est_wan_c1}
\title{WanC1 effect estimator}
\usage{
eff_est_wan_c1(a, m, b, n)
}
\arguments{
\item{a}{Minimum value of sample.}
\item{m}{Median of sample.}
\item{b}{Maximum value of sample.}
... |
91de39b0a351f98ddc9aba160ab90471dff43536 | 8765a5aca6a11e92ca8cd69b7f363db50d1ab9cf | /tamu/basic_stat/R/ci_quartiles.R | 5b52fe27e502f3707f600a9fb0f4a94885195d2f | [] | no_license | sadepu1915/data-science | 4f6f041db6d9e5530b7470e656a181b568c5f4d7 | 64f847d50d1cfddb365f3fe9e2e4ebf62c27d626 | refs/heads/master | 2020-05-25T09:58:03.448166 | 2019-05-08T04:45:03 | 2019-05-08T04:59:31 | 42,747,175 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 197 | r | ci_quartiles.R | n=50
L=.95
P=.75
s=ceiling(n*P)-1
r=floor(n*P)+1
cov=0
while(s<n-1 && r>1 && cov<L)
{s=s+1
cov=pbinom(s-1,n,P)-pbinom(r-1,n,P)
if(cov>=L) break;
r=r-1
cov=pbinom(s-1,n,P)-pbinom(r-1,n,P)
}
r
s
cov
|
a72b35b24af8b170cb94e4da6204df4cafffcec3 | 950712902dbfa263aa27283c465c1149bf33277f | /request_NEON.R | bfc1c942cdd52e13aafaf45b3c94933d9c15a9de | [] | no_license | michelleckelly/StreamEnergyBudgets | e1d713af17c40eead9643a5f9371a80a620a3d07 | 80c6d5d772b2f45b4c08bb688a305cb928399bef | refs/heads/master | 2023-05-09T02:55:45.494192 | 2021-05-21T14:15:52 | 2021-05-21T14:15:52 | 240,099,418 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,500 | r | request_NEON.R | # Function name: request_NEON
# Function purpose: pull data products necessary for two-station metabolism
# modeling at NEON sites
#
# Arguments:
# NEONsites character string specifying 4-letter NEON site code to request
# data from (ex. `"HOPB"`). Can be more than one site (ex.
# `c(... |
b6aa659a77c8ed9cce30886a0dd4dd6d31a3a4ff | 6aa096ee1fcb2f5608396a1f8914fd996e528e4b | /choques_sp_app/app.R | 565be505691f81c329d612d00c5c2ec76d969565 | [] | no_license | rben18/choques_sp | 481cf5c0ae8af7b899ff4a6e8d345d114cba49fa | 7fd65c057813ade97d7b7d431e58c3617547c1c3 | refs/heads/master | 2020-12-14T00:37:38.471028 | 2020-02-24T18:39:51 | 2020-02-24T18:39:51 | 234,579,628 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,553 | r | app.R | #Autor: Rodrigo Benavides
#Fecha: Enero 17, 2019
#Objetivo del script es poder visualizar en un mapa donde es la ubicaciรณn con mayor cantidad de choques en San Pedro y visualizar incidencias de distintos tipos de accidentes
#Los datos son de Enero 2014 a Septiembre del 2016 para los choques y Enero 2016 a Septiembre 2... |
f55d9ff04de16b52bb0f64384d53adc5a63849d4 | a2170e32571a703e4acf2f2dcc0880044866b20c | /man/Project.Rd | 9c77bf28da939b6bc4d5a507d01ced346917802b | [
"MIT"
] | permissive | grepinsight/lookr | de7cfd7e5870fc2f2296771be5c6ba64d1994f39 | c8a5e2f0a55bbfc3ce056974f09ade9187359951 | refs/heads/master | 2020-10-01T03:55:06.264726 | 2020-09-09T22:07:10 | 2020-09-09T22:07:10 | 227,449,023 | 1 | 0 | MIT | 2019-12-11T19:57:46 | 2019-12-11T19:57:45 | null | UTF-8 | R | false | true | 2,952 | rd | Project.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Project.r
\name{Project}
\alias{Project}
\title{Project Class}
\description{
Project Class
Project Class
}
\section{Public fields}{
\if{html}{\out{<div class="r6-fields">}}
\describe{
\item{\code{id}}{}
\item{\code{name}}{}
\item{\code{use... |
21feeb7f3e9c12d4a60cffe01e69f56421a30e60 | 21fe898de252d09cb47c02f7fd2868719fbab3f9 | /app.R | e759f180d5b8189a43e5173f6134e50426cce03c | [] | no_license | Hannah-Walsh/CatanDiceGitHub | c0543dc95385165bc6230b303b59e62295f1ce5d | 3d90a83af1f5aff735276ddfbbfa4a2ca80dea1a | refs/heads/master | 2021-01-20T17:40:30.424234 | 2016-06-01T02:55:13 | 2016-06-01T02:55:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,694 | r | app.R | ### Laura's Catan Dice UI in Shiny ###
# rsconnect::deployApp('/Users/hannahwalsh/Desktop/CatanDice/')
## Import packages I need
library(shiny)
## Run non-interactive code
seed = sample(1:100000, 1); # Random Seed
set.seed(seed)
dicerange = 2:12
dicefreq = c(1,2,3,4,5,6,5,4,3,2,1)
## Create the User Interface
ui ... |
aa3dcd524802eb4879cb7bc78f403d25bb38a3dd | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /metacoder/inst/testfiles/centroid/AFL_centroid/centroid_valgrind_files/1615765308-test.R | 29fe19f7adc36b0486f56244f00a6422a1d2cb9a | [
"MIT"
] | permissive | 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 | 216 | r | 1615765308-test.R | testlist <- list(b = c(5.53925700216802e-260, 2.47032822920623e-323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0))
result <- do.call(metacoder:::centroid,testlist)
str(result) |
80c70b91de845833e81a8b841ed3dd470d231b75 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/imagerExtra/examples/SPE.Rd.R | d87073791c2fafad6bd98bb4885a7c94b6fbae92 | [] | 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 | 325 | r | SPE.Rd.R | library(imagerExtra)
### Name: SPE
### Title: Correct inhomogeneous background of image by solving Screened
### Poisson Equation
### Aliases: SPE
### ** Examples
dev.new()
par(mfcol = c(1,2))
boats_g <- grayscale(boats)
plot(boats_g, main = "Original")
SPE(boats_g, 0.1) %>% plot(main = "Screened Poisson Equation"... |
ea6210088c129f4e9788e37dd45216e14b310cc4 | 401d5b052500528eee3f93f99c370d8f6de30cfb | /working_with_dates.R | 9362471c75b14506ad328c951f70b613511f0103 | [] | no_license | rrogerr/getting-and-cleaning-data-w3 | 9f5b4922bec6e9afe8eefcdea75c6b47f60ee232 | 1f70102defdf5485d647fea758ff1ea1ed6d8656 | refs/heads/master | 2020-09-13T10:53:55.163200 | 2016-10-02T23:24:19 | 2016-10-02T23:24:19 | 67,573,740 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 492 | r | working_with_dates.R | d2 <- Sys.Date()
# %d = day as number (0-31), %a = abbreviated weekday, %A = unabbreviated weekday,
# %m = month (00 - 12), %b = abbreviated month, %B = unabbreviated month, %y = 2 digit year
# %Y = 4 digit year
# format(d2, "%Y, %B, %A, %d")
# how to format messy dates
x <- c("1991oct07", "1967mar07", "1950jul01")... |
e581262661d72f42357090ecb4c76f81e1790148 | 96aeeffe655e13a4da83c8f73918372cc7335df5 | /R/DichromatColorFilter.R | 69c095c3c5125ae8b6390f9a636172c1b64bf4cb | [] | no_license | HenrikBengtsson/R.colors | 2ff1a46725d4ad00215c1a4c8e775fdbb6cb98aa | 500d2e4ffb153f990ceedfd4b6b5251c5a206c01 | refs/heads/master | 2021-01-20T00:58:43.927288 | 2014-06-19T04:20:16 | 2014-06-19T04:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,444 | r | DichromatColorFilter.R | ########################################################################/**
# @RdocClass DichromatColorFilter
#
# @title "Color filter emulating dichromatic color blindness"
#
# \description{
# @classhierarchy
#
# @get "title".
# }
#
# \section{Fields and Methods}{
# @allmethods
#
# }
#
# @synopsis
#
# \arguments{... |
620f5b870a9f5f542ededc710fcf85fb1561ec6a | f026e2cc24fac94cfdf91a2e72e90b0f16f83766 | /Computation/Rustbucket Analyses/ekd40_tmp/03_clustermap.R | 9377eb579d2de5f0694edae7ce409987e59d5e08 | [
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | edridgedsouza/mphil-thesis | a4ad6dad210fa452329b0fbd689605e589a23dc7 | c3078a1a712f7af7597f2b300f1176c07e2e5266 | refs/heads/master | 2023-02-07T09:06:52.103243 | 2020-12-02T23:09:02 | 2020-12-02T23:09:02 | 295,594,087 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,708 | r | 03_clustermap.R | #!/usr/bin/env R
library(ClusterMap)
# Allen markers file generated by script 02 on rustbucket
# Allen RDS object generated by script 02, renamed/moved to ClusterMap dir
# Avalos marker file generated by ClusterMap script on machine edsouza
# Same script was used to save avalos RDS object, then filezilla moved bot... |
97ccd1e15368bdd3c7bd7f2ac024d536c818aaaa | 001d7ade2820d0aadcc365fcf0cc68f5c2305aa0 | /face_example_dim_reduc.R | 5f91e82e0333080283404ec987887af4007fd231 | [] | no_license | rrogerr/exploratory_data_analysis | 7e5a02e9e4504cdcd1435cc1a2b45caff7ed922e | fd684682e347e02869fe28c1a9b2132b3c9792b9 | refs/heads/master | 2020-02-26T15:59:17.771909 | 2016-10-26T23:09:16 | 2016-10-26T23:09:16 | 70,959,455 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 890 | r | face_example_dim_reduc.R | setwd("/home/rogelio/Desktop/datasciencecoursera/exploratory_data_analysis")
load("./face.rda")
image(t(faceData)[,nrow(faceData):1])
svd1 <- svd(scale(faceData))
plot(svd1$d^2/sum(svd1$d^2), pch = 19, xlab = "singular vector",
ylab = "variance explained")
################# APPROXIMATIONS OF IMAGE #############... |
e6dcb74550388766ae78a851e95adfdea8479de2 | 19cefcdf0f9540e70b6b8fc6ae187f28ad6f2f0e | /thongke_ungdung/Rfacebook.R | fa7ab0b17268f73fbcb3100f8e69c6d02b8f9664 | [] | no_license | chuvanan/data_projects | 5d64eae9a4a3e78853a00f94d3782a8315519b79 | b21af873cabeaae30a958bb5ea391cb5a19bd3c3 | refs/heads/master | 2022-08-18T08:59:34.453121 | 2022-07-25T23:40:51 | 2022-07-25T23:40:51 | 73,444,316 | 2 | 9 | null | null | null | null | UTF-8 | R | false | false | 1,432 | r | Rfacebook.R |
library("Rfacebook")
library("anytime")
library("dplyr")
my_oauth <- fbOAuth(app_id = "1463623273653549",
app_secret = "ca7f450acc28a5a8710f7d56957c952e")
save(my_oauth, file = "my_oauth")
load("my_oauth")
## group_data <- getGroup(group_id = "472656846222343", token = my_oauth, n = 1000)
gro... |
f18e15f69314c6f6448f8a8ed065ebe719747897 | 743bddc13a3e15773f40400652fa000a2c3d8568 | /use_getCounties_function.R | 1939b5e1c4820519428f0689138f6463602b3c57 | [] | no_license | arkut/rdataclean | 24471b039efaf7f0b92f440327e872e5d032eb20 | 9443b174c67ef3505c8ab692ba902649bcf031f6 | refs/heads/master | 2020-12-24T14:54:08.105836 | 2015-04-08T13:48:21 | 2015-04-08T13:48:21 | 33,603,837 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 139 | r | use_getCounties_function.R | setwd("/Users/randyrosso/data")
popfile <- "CO-EST2013-Alldata.csv"
source('~/code/getCounties.R')
vapop <- getCounties(popfile,51)
vapop
|
f8b1ec193b6f0584125a43e4f7a008cacd72a6e1 | 87fdfb3b380612107b5de682608a0683f91f1b9d | /man/no_connection.Rd | 5823e90c6e7215b8e5b5539975dd5c4ea6d39a46 | [
"MIT"
] | permissive | USAID-OHA-SI/tameDP | 1fc6031677a579ae3aec0a0639ad9a82425a735e | a998c0970e5bf89e96dc0645ba1da277182dcf29 | refs/heads/main | 2023-04-18T08:31:31.286755 | 2023-04-05T12:38:56 | 2023-04-05T12:38:56 | 171,746,192 | 1 | 3 | NOASSERTION | 2023-04-05T12:38:58 | 2019-02-20T20:42:45 | R | UTF-8 | R | false | true | 393 | rd | no_connection.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{no_connection}
\alias{no_connection}
\title{Check if computer has internet connection}
\usage{
no_connection()
}
\description{
Check if computer has internet connection
}
\seealso{
Other validation:
\code{\link{is_file}()},... |
6b275a7ec234d534928edb35d43ce638effceb95 | 3acb739c7e7bd2038dbe1c13a86837dcb8af52a9 | /R/plot_dyn_profile.R | 0f5308237f171d719d7956249c0dee9b36f786f8 | [] | no_license | magrichard/facsticor | fc42994763391fb5d236cc0796356f3752484656 | bcd0691649df8e3f0efbbf32eb5e78859e0ab9d8 | refs/heads/master | 2021-06-03T13:18:45.874658 | 2018-01-05T15:44:30 | 2018-01-05T15:44:30 | 57,718,569 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,176 | r | plot_dyn_profile.R | #
# Author: Gael Yvert, CNRS
# Gael.Yvert@ens-lyon.fr
#
#---------------------------------------------
#' Indexes bins.
#' @param x A value between 0 and 1
#' @param n An integer indicating the number of bins between 0 and 1
#' @return The index of the bin containing x, or NA if x > 1 or x > 0
#' @export
x2i <- functi... |
f8ba0445df8a020b475be74d6658823c1b532e3a | 1056a8291e402622e3aad540fc9416c2fe652886 | /thesis_R/C16_trends-fig-five-hot-Adjusted.R | 215641188b5dcc4e29fe62be37c26aa9e63880ae | [
"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,199 | r | C16_trends-fig-five-hot-Adjusted.R | library(lattice)
#bwtheme <- standard.theme("pdf", color=FALSE)
cold_and_hot_ts <- cbind (
theta_mean_by_year_ts[, topics_hot [1:5]] , deparse.level =0)
#colnames (cold_and_hot_ts) <-as.character(c(topics_cold [1:5], topics_hot[1:5]))
colnames (cold_and_hot_ts) <- as.character(c( unname( Terms[1,topics_hot [1:5]])... |
6adad5c8d55019fdcff87f7b4ccfc5d3a25a99aa | 83ff66e08bde51d1b31b12ee7b5452fb2fed2432 | /subscription_data.R | a64136555d40dfd4c553c90b9308beba4223cf79 | [] | no_license | favrin/CUP | 1bf23a7b45c04734ec3386434f1968d16a70304c | 6a9fb89715d7b8e961c68878f60e2706f0b1e84f | refs/heads/master | 2021-01-20T19:59:50.053291 | 2016-08-24T14:08:04 | 2016-08-24T14:08:04 | 61,106,221 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 824 | r | subscription_data.R | setwd("~/Documents/Dropbox/NEO4J-TEST/CUP-try")
library(gdata)
library(boot)
#library(xlsx)
#LINES = 629697
LINES = 10
subdata <- read.delim("cup003b_subs_data.txt",header=T,stringsAsFactors=F,,sep="|",nrows=LINES)
unique <- matrix(0,LINES,5)
#for (x in 1:27372)
k=1
for (x in 1:LINES)
{
for (y in 1:LINES){
if(... |
926f95c731d0139b18a381fdf6e2d6562a01597c | 539faa1d2b1afe62667db4511b2bd06899c22de9 | /plot3.R | 8332d4706d3b17760dbd1631affe8eb2f592c6d6 | [] | no_license | jkriptos/ExData_Plotting1 | 2350d9f55ebbd5875e75af2b60b001aa8272f060 | 9b1c2e385214d09e9cc7ab2750fad5aae4074373 | refs/heads/master | 2021-01-17T11:25:14.726296 | 2015-07-12T22:08:55 | 2015-07-12T22:08:55 | 38,973,581 | 0 | 0 | null | 2015-07-12T18:48:40 | 2015-07-12T18:48:39 | null | UTF-8 | R | false | false | 211 | r | plot3.R | source("core.R")
Plot3.Compose <- function(uri = "household_power_consumption.txt"){
png(file = "plot3.png", bg = "white")
par(mfrow = c(1, 1))
EnergySubmetering.Plot(uri)
dev.off()
}
|
608ebf3c1b275732b26d7312d3845bcd81b4c027 | 64e38921903014f892033a6c802cee381956c37c | /man/update_criterion.Rd | cb230975541a6b1f7f561256f99e9ae10710bb90 | [
"MIT"
] | permissive | scienceverse/scienceverse | 53092891f145f456b02c351d848516271dffb013 | 2519e7af87eae9439828cd36d4468160cf6e09a5 | refs/heads/master | 2021-06-28T12:32:23.106786 | 2020-11-09T17:22:09 | 2020-11-09T17:22:09 | 182,833,527 | 31 | 2 | NOASSERTION | 2020-06-26T12:30:50 | 2019-04-22T17:17:36 | HTML | UTF-8 | R | false | true | 1,392 | rd | update_criterion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_criterion.R
\name{update_criterion}
\alias{update_criterion}
\title{Update a criterion}
\usage{
update_criterion(
study,
id,
result = NULL,
operator = NULL,
comparator = NULL,
analysis_id = NULL,
hypothesis_id = NULL,
new_... |
63d81300dc9044f6215c4b40365cf44f8529eb40 | ff6cd64471c3dd38fb4b8ed3d5b5f816e9450063 | /rangesurvey/man/make_attitude_cluster_plots.Rd | 9e1db708ebf1da97acf1c6355674045419f11809 | [
"MIT"
] | permissive | JamieCranston/RangeShift_survey | c9dcc97e9a433079138633f23f97b59c39b777e0 | 71f9318f650bc9e02389c227c77b16cfda2305cb | refs/heads/main | 2023-04-14T02:46:13.075353 | 2022-03-20T12:08:55 | 2022-03-20T12:08:55 | 471,427,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 288 | rd | make_attitude_cluster_plots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_attitude_pca.R
\name{make_attitude_cluster_plots}
\alias{make_attitude_cluster_plots}
\title{Title}
\usage{
make_attitude_cluster_plots(hcpc)
}
\arguments{
\item{hcpc}{}
}
\value{
}
\description{
Title
}
|
286a6b7eec94b1df57769336139516bc553afff1 | 235238131b967c87b68ff90af79351875583ee70 | /man/dssJoin.Rd | 6cbfabe1a35f977008fe6cf6b7c4e58c687a5643 | [] | no_license | neelsoumya/dsSwissKnifeClient | 40087ae0d70169e103bd57844c3e6fefe009125c | 7caf9fd9b8c2a396ffda29fed19438bfeaeb2165 | refs/heads/master | 2023-04-14T15:46:38.383665 | 2021-04-26T12:13:04 | 2021-04-26T12:13:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,780 | rd | dssJoin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dssJoin.R
\name{dssJoin}
\alias{dssJoin}
\title{Join 2 or more dataframes}
\usage{
dssJoin(
what = NULL,
symbol = NULL,
by = NULL,
join.type = "full",
async = TRUE,
datasources = NULL
)
}
\arguments{
\item{what}{a vector of names ... |
0f1ac4e57422a208e55e8ed041179d649d2dacea | 74241a3b99ef6f03878086c96db6c4742916e8f2 | /plot2.R | 4dc2dca389f1e4e67f71748c27af11d9eb1b93b2 | [] | no_license | vlam116/Data-Viz-in-R | a7062a877d1424c5fc57accbbd6f8bf15fef5682 | f7c7d2821ed946491203be0be340097204091a69 | refs/heads/master | 2022-04-16T10:50:00.449165 | 2020-04-12T02:45:52 | 2020-04-12T02:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,598 | r | plot2.R | ## Course Project 2 Plot 2
library(tidyverse)
#Reading in the data
NEI = readRDS("summarySCC_PM25.rds")
SCC = readRDS("Source_Classification_Code.rds")
## Plot 2: Have total emissions from pm25 decreased in Baltimore City from 1999 to 2008? Use base plotting system.
## Create a new DF filtering observations with fi... |
041110c69780972a72e2373b2f60630a767c750b | c4b0d7556bc0ef16bad5c92123b50a213bb153d2 | /.Rproj.user/ABE7B653/sources/s-CDD9FAB8/9DECAFF6-contents | 36eab6382b6477470f5b67694b579d5f83571517 | [] | no_license | darwinanddavis/maptrack | 2db362c5118ae46a68b69d2da0be1c084cd95652 | 40399154ff9c389ce64af92906dff87d78d1d8b0 | refs/heads/master | 2022-12-18T13:22:31.016276 | 2020-09-22T12:16:15 | 2020-09-22T12:16:15 | 297,638,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,377 | 9DECAFF6-contents | # import new fonts
pacman::p_load(ggplot2,ggthemes,dplyr)
# get file name from fontbook.app
newfonts <- c("A DAY WITHOUT SUN.otf",
"MUNICH SANS.ttf",
"Moon Flower.ttf",
"DK Lemon Yellow Sun.otf",
"beacon.ttf",
"BREVE2.ttf",
"AHundr... | |
7bece81823e70325ca1ade4a67073c828a3bef1c | 203dce31208f4901e3ee2520c0cedfe9331f1eff | /man/trait_summarise_boot_moments.Rd | ca06acfecba278ec3e3f52424ea6bbab81efac89 | [
"MIT"
] | permissive | audhalbritter/traitstrap | 9f7e0819cd9a3c5576622c92f27f32cf0a06bab0 | 920ea29fbf222ed9e2d2e3726fb69efa66d2cf5d | refs/heads/main | 2023-05-13T15:37:40.763827 | 2023-03-02T19:11:09 | 2023-03-02T19:11:09 | 173,810,604 | 0 | 0 | MIT | 2019-03-04T19:47:32 | 2019-03-04T19:47:31 | null | UTF-8 | R | false | true | 1,568 | rd | trait_summarise_boot_moments.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summarise_bootstrap_moments.R
\name{trait_summarise_boot_moments}
\alias{trait_summarise_boot_moments}
\title{Summarise Bootstrap traits}
\usage{
trait_summarise_boot_moments(
bootstrap_moments,
parametric = TRUE,
sd_mult = 1,
ci = 0.... |
084c4e91b6fae4ac13fd97de0f6e1bb56007dd87 | 7c0ce79410cb02e36fc524346a3c316c2108376b | /man/validMinid.Rd | 93903dbac803d2aaa47c900d4384c54f24dbe484 | [] | no_license | bheavner/minidtools | 471ba86953ec06e9467298cf6c3d17f3262d3e97 | 7be9895f40c93b318f169c3cfc00cd354477ccd0 | refs/heads/master | 2022-11-27T05:59:11.045330 | 2020-07-29T14:46:37 | 2020-07-29T14:46:37 | 61,151,866 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 220 | rd | validMinid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validity-methods.R
\name{validMinid}
\alias{validMinid}
\title{Check validity of minid object}
\description{
Check validity of minid object
}
|
287eb08139cb65e7bd52e44e30919b0a2ba6f321 | 5a4f7bb7eb437a0118beb13d39b65bfd6be11199 | /approximation/mc_gaussian_sim2_oneplot.R | d05418df97f03d795412bfd540fa8fc9ca671ea0 | [] | no_license | snarles/fmri | f4c35a560813b7e0f7fb669a2ce85d456cd554ca | 43c81b184745ca7ea462400ef2d576967cc5b86b | refs/heads/master | 2021-01-17T00:59:51.226279 | 2019-12-06T20:07:10 | 2019-12-06T20:07:10 | 35,619,927 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,648 | r | mc_gaussian_sim2_oneplot.R | library(parallel)
library(abind)
mcc <- 40
source("approximation/gaussian_identity_finsam.R")
source("extrapolation/ku_source.R")
p <- 10
p <- 10
sigma2 <- 0.3
sigma2_tr <- sigma2 ## equivalent to 1 nn
K <- 2000
ksub <- 500
load("approximation/mcgs2f.rda", verbose = TRUE) ## get the true_acces
matplot(t(all_accs... |
ee773249fbb85251943c4b72efe1dca454de1cf0 | d98771be70b857999e3879e36a630317bbf1fe08 | /R/ex-raster_basic_steps.R | b9b8f6f38158153faa65b4e75f832b3148ac4a7d | [
"MIT"
] | permissive | ajgatdu2/Census2020-redistricting | 2a931181f787f03c8250761146a8520815a83870 | 2e50a858bd9f865f446ecd1ed90e85cbadf4e8f1 | refs/heads/main | 2023-08-29T03:01:04.860660 | 2021-10-25T19:31:59 | 2021-10-25T19:31:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 255 | r | ex-raster_basic_steps.R |
## Simple raster steps
# library(raster)
# r <- raster(ncol=700, nrow=700)
# extent(r) <- extent(shp_tracts_2020)
# shp_tracts_2020$tot <- shp_tracts_2020$TOT / as.numeric(shp_tracts_2020$ALAND20)
# rp <- rasterize(shp_tracts_2020, r, 'tot')
# plot(rp)
|
90f05271c772186577271898d5032b9b1b31e927 | 2c748fba5f0f1f15f3017d4e3ad7e9db3365ad33 | /hwk01/ans/anshwk01.R | 35845c2516ba1f8e5fdd61bb8583ec0ba4d55cf5 | [
"MIT"
] | permissive | syfyufei/Quantitative_Analysis_II | a2044ee4d642150d67171bcc654a52696b43dd18 | 7c17e6320dac6097e7c75ea2d1d7b7af6eb1d142 | refs/heads/main | 2023-08-31T21:37:14.086546 | 2021-10-16T06:06:58 | 2021-10-16T06:06:58 | 342,441,655 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,266 | r | anshwk01.R |
setwd("G:/QuantII/hwk01/")
library(foreign)
dat <- read.dta("cgss2010.dta")
a3a <- ifelse(dat$a3a < 0, NA, dat$a3a)
age <- 2010 - a3a # continuous
a33 <- ifelse(as.numeric(dat$a33) < 4, NA, as.numeric(dat$a33))
a33 <- a33 - 3
trust <- a33 # ordinal
a5 <- ifelse(as.numeric(dat$a5) < 2, NA, as.numeric(dat$a5))
relig ... |
3d44b19e22282d11de030851ffe99178c34cc269 | 628217c1cc7b01167d96e1a82d254e833865d36c | /man/perturbation.Rd | 0830230257fe049aa3045a8b8ac0fa610a8bedb4 | [] | no_license | karpfen/perturbation | 120f793c458ab06655feeb8c51600b8aaa44e6a3 | b9a92ef2c80d58a9382bc144569153069fdb5e3d | refs/heads/master | 2020-03-25T14:04:54.422500 | 2018-08-09T09:36:15 | 2018-08-09T09:36:15 | 143,853,848 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 239 | rd | perturbation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/perturbation-package.R
\docType{package}
\name{perturbation}
\alias{perturbation}
\alias{perturbation-package}
\title{perturbation}
\description{
perturbation
}
|
6d5fe8aabbb0090820ed0d7196851ae029214156 | bcb5cab1adacbb33424625dafbfc403626cf2edd | /R/make_a_matrix_for_each_BCR.R | 2fc7692f6c3b792e5cc62e965db15cfb46c485f2 | [] | no_license | coreytcallaghan/LAND-D-19-00128R1 | 2b228eb5720a9a8bb2d1bbe5ee7d237febb78eaa | 879b0c053f767ce827b7c036527eff46c0128406 | refs/heads/master | 2022-01-21T22:56:04.204600 | 2019-06-16T08:02:41 | 2019-06-16T08:02:41 | 121,342,935 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,320 | r | make_a_matrix_for_each_BCR.R | #### setwd
setwd("H:/Dissertation/Dissertation Chapters/Data Chapters/United States Urban Bird Patterns/Data/eBird data/eBird_BCR_split_data")
#### packages
library(readr)
library(dplyr)
library(tidyr)
#### read in species classification excel document
Species_classification <- read_csv("H:/Dissertation/Dissertation ... |
6e128d4a8a62d2ce306f7c7e029468c0a0cfc6f2 | 4827ecdcada67d1dbfd03159e68477095e5fafb9 | /run_analysis.R | 38b339805eee025b3b8b5be43f363fdcba792bea | [] | no_license | anand-vardham/Getting-and-Cleaning-Data | 5bbd81f5afebb8da552baa3fd0747158a597d8ff | dd9049e4d59cd59100a51a32f603fae83fa8a921 | refs/heads/master | 2020-06-02T21:37:32.907125 | 2015-06-21T18:06:37 | 2015-06-21T18:06:37 | 37,818,971 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,641 | r | run_analysis.R | run_analysis <- function(datasetFile) {
# Path to the dataset zip file
unzip(zipfile=datasetFile ,exdir="./data")
if(!file.exists("./data")){
dir.create("./data")
}
path_rf <- file.path("./data" , "UCI HAR Dataset")
files <-list.files(path_rf, recursive=TRUE)
# Load the Files
... |
472841f225f6f470050f9a4bb8bfe4bf81bd23d1 | 62cafdbfb72091b3b6dc8de513a190f6a8c3dbb1 | /man/unary_ops.Rd | 41d46aae7510bc2f38d059429bb05fc024492a0a | [
"Apache-2.0"
] | permissive | Open-EO/openeo-r-client | 8e3d0a75f4705f935353cf67c4ecedc4e5d41c89 | 904ee0eaba4af39b1b1e4b494111a1b49d702288 | refs/heads/master | 2022-12-22T14:30:46.540578 | 2022-11-30T11:49:28 | 2022-11-30T11:50:48 | 118,483,093 | 62 | 17 | Apache-2.0 | 2022-11-17T14:46:11 | 2018-01-22T16:25:35 | R | UTF-8 | R | false | true | 4,839 | rd | unary_ops.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ops.R
\name{unary_ops}
\alias{unary_ops}
\alias{abs.ProcessNode}
\alias{abs.ProcessGraphParameter}
\alias{sign.ProcessNode}
\alias{sign.ProcessGraphParameter}
\alias{sqrt.ProcessNode}
\alias{sqrt.ProcessGraphParameter}
\alias{trunc.ProcessNod... |
2a59d73d681c093146e2da052113701d909081cf | 575c4f1be3540cdea2e66c5aa295ca0d9b88fca7 | /Assignment1/Scripts/part2/ModelScript.R | e626136d405bb8ca1c98bd4c80af4f2fd0431699 | [] | no_license | wenjin-cao/INFO7390-AdvancesDataScience | a270746343724996b6e05e59f2dbf2a2f9a17845 | 27007380aa99d5b1a8fca61be8f84edc0d09dcfc | refs/heads/master | 2021-06-08T16:49:54.928572 | 2016-12-14T16:55:23 | 2016-12-14T16:55:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,964 | r | ModelScript.R |
library(MASS)
library(ISLR)
ready <- read.csv("D:/R files/ready-data2.csv")
ready$logkWh <- log(ready$kWh)
#75% of the sample size
smp_size <- floor(0.75 * nrow(ready))
#Set the seed to make your partition reproductible
set.seed(123)
train_ind <- sample(seq_len(nrow(ready)), size = smp_size)
#Split the d... |
d78b282d375f7987c40ed76fea76c4a3010d5d1e | 6c97b2d6b59baf360f0c9723fd8924b61a57cfb8 | /Spotify Data.R | 0b094447a86a8ac941a336e567dd88c0d54c64f1 | [] | no_license | Manudecara/General-Data-Science | c233f8a38f47008acfb4431a94da07fe1c1fc22b | 191927b634afc8546e7d818b74467a526ab90ed8 | refs/heads/master | 2023-07-04T18:09:04.467666 | 2021-08-09T13:14:47 | 2021-08-09T13:14:47 | 291,320,282 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 687 | r | Spotify Data.R | setwd('R practice')
#Spotify data analysis
spotify <- read.csv("~/Downloads/spotify.csv")
#which is the most common genre
sort(table(spotify$Genre), decreasing = TRUE)
#what is the mean of minutes of all these songs
mean(spotify$Length.)
#which artist has the most songs on the dataframe
sort(table(spotify$Artist.Name... |
525911fc8bbbfcfd2b46bfdd881c2ef21879bc40 | be7ec470487b549020f3b51b761c468828afc4bf | /ui.R | c0c78ac567eb4b7e806441e2937028b17fdf9297 | [] | no_license | xprofessor/DDP_Course-Project | 0f18b1b2cfc5b78a4623556ef6ce25c8a769e54f | 232d0036595aca773bb4caf780c8cf1f6fd439f0 | refs/heads/master | 2021-01-22T05:43:15.862755 | 2017-02-12T01:33:02 | 2017-02-12T01:33:02 | 81,693,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,289 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a histogram
shinyUI(flui... |
54e9954c65b1d53f7eae91febf649516e8dfd436 | d147a55b6e967273df47daeaf782ae1942dbff07 | /R/Seurat3/Phase_I_II/Identify_Cell_Types_Manually.R | aa80fda17935ad2b65521e92b487efed0fd1e7c6 | [] | no_license | nyuhuyang/scRNAseq-MCL | 9d7fa919eb88be89cf432ed51a29484476ee46fc | 4f46e4aeb4d50f9e6eade36244060fae769ea456 | refs/heads/master | 2023-02-05T16:32:57.533234 | 2023-01-31T16:23:00 | 2023-01-31T16:23:00 | 134,882,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,157 | r | Identify_Cell_Types_Manually.R | library(Seurat)
library(dplyr)
library(tidyr)
library(kableExtra)
library(magrittr)
source("../R/Seurat3_functions.R")
path <- paste0("output/",gsub("-","",Sys.Date()),"/")
if(!dir.exists(path))dir.create(path, recursive = T)
marker_path <- paste0(path,"markers/")
if(!dir.exists(marker_path))dir.create(marker_path, rec... |
95566af20cd6b2468bd81a56fe2703ad0175eb15 | d9027dbb97c212b315ea780737c3fc17d844c82b | /Setup.R | 6ed7e9ec2e6542010a9685defd426e7628c72a6b | [] | no_license | ilayda21/ShelterProblem | a1c4a2e4c0748581d04c6464f460b62902547a42 | 141539326a0df87aa23d1543255a128205db2e6e | refs/heads/master | 2023-02-15T20:03:50.474228 | 2021-01-09T09:44:06 | 2021-01-09T09:44:06 | 311,017,319 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16 | r | Setup.R |
set.seed(1024)
|
ec8697ee812417188b339305ead1b126c11ca922 | a607b44335be39a267f5b78908189d5605c10145 | /man/SCA.Rd | 52b64a47a5900a4bfb0bd3db2b12fa616ce4dd13 | [] | no_license | tcarruth/MSEtool | 75d4c05b44b84bb97e8f9f85d4dfa7f4246453d5 | c95c7bcfe9bf7d674eded50e210c3efdc7c2725f | refs/heads/master | 2021-03-27T20:44:23.407068 | 2020-10-13T15:20:26 | 2020-10-13T15:20:26 | 116,047,693 | 2 | 4 | null | 2020-02-27T23:59:15 | 2018-01-02T19:06:42 | R | UTF-8 | R | false | true | 13,478 | rd | SCA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/assess_SCA.R, R/assess_SCA2.R,
% R/assess_SCA_Pope.R
\name{SCA}
\alias{SCA}
\alias{SCA2}
\alias{SCA_Pope}
\title{Statistical catch-at-age (SCA) model}
\usage{
SCA(
x = 1,
Data,
SR = c("BH", "Ricker"),
vulnerability = c("logistic", "... |
e9ed216bcefa5fff9b703080573205d863fdcba0 | 7bf20e797b31e78e43cabb172c070d687fbe63e9 | /Exif_Process_CombinewithRenameFiles.R | f042a33c19e7fe36f1f496e42d3fa4df1aa9d14c | [] | no_license | janecowles/CameraTrap | 63419c3e134c9691de8bef78e5d2b16277b917ea | c84c28cc3c4748e4da2b9f14467bdefeccb540f1 | refs/heads/master | 2020-12-19T02:40:05.156257 | 2020-04-05T17:58:43 | 2020-04-05T17:58:43 | 235,595,623 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,423 | r | Exif_Process_CombinewithRenameFiles.R | #THIS FILE SHOULD NO LONGER BE NECESSARY. EXIF DATA NOW USED FROM PROCESSING PIPELINE (BETTER MATCHING)
# exif -- making "clean" file
exifdat <- fread("C:/Users/cowl0037/Downloads/Exif_Merge/img_meta.csv")
#so much info! this is what I decided was important. Includes a ton of time variables and temperature and image ... |
0a9ac9dafa69194bb6bc351c2f8d76ea61e58908 | 78003d67dfe7535148a2ae38559da21c5260150f | /plotting_code/covid19school_plots.R | 08ba6cad6192e93e07366297d8024a5da33b53f7 | [] | no_license | tm-pham/covid19_school_transmission | 5300dcb865331f2b560be6bfa7c6643c73f94b1e | 90586b8608f90843efd46cd4c8e0dd40b676ed14 | refs/heads/master | 2023-04-09T11:51:32.364366 | 2021-07-01T21:39:38 | 2021-07-01T21:39:38 | 366,713,337 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,227 | r | covid19school_plots.R | # ============================================================================ #
# Plotting
# ============================================================================ #
source("covid19school_packages.R")
source("covid19school_plotting_functions.R")
name <- "simJ1"
load(paste0('../results/', name, '/', name, '1-6.R... |
5301572433d5daa642379721ea567772fd861286 | a821548aafca709b1c4da9f5d8c05ffeac2ffb8d | /R/diamond_protein_against_ncbi_nr.R | 8e8456e15405ac1a599078071d3dc4339f5f6cef | [] | no_license | drostlab/rdiamond | e122c87b0b476fa759b89139931aa5b976d1a769 | c1398ab0503db1b77550d775ab9892eac1b5142a | refs/heads/master | 2023-06-08T17:01:09.574216 | 2023-06-02T11:04:09 | 2023-06-02T11:04:09 | 253,858,477 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,012 | r | diamond_protein_against_ncbi_nr.R | #' @title Perform Protein to Protein DIAMOND2 Searches (BLASTP)
#' @description Run protein to protein DIAMOND2 of reference sequences
#' against a blast-able database or fasta file.
#' @param query path to input file in fasta format.
#' @param ncbi_nr_folder_path_path path to the directory that either stores the raw N... |
bee72bb536e5cf50aa8f0a9c5e5fbabe991ebec7 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /bravo/inst/testfiles/colSumSq_matrix/libFuzzer_colSumSq_matrix/colSumSq_matrix_valgrind_files/1609959082-test.R | 23a1dd4344ab65411be48763b6618e7d1e16944b | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 233 | r | 1609959082-test.R | testlist <- list(x = structure(c(5.32149034689147e-308, 3.90789135599008e-167, 2.11757176204319e+214, 1.42475951162883e+214, 1.15963946977339e-152 ), .Dim = c(1L, 5L)))
result <- do.call(bravo:::colSumSq_matrix,testlist)
str(result) |
338932a86addcc1f811d4a026df482d6be6444ba | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/7568_0/rinput.R | a0321350bf7bb8449fcbcfc383c19b8ccedf4383 | [] | 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 | 135 | r | rinput.R | library(ape)
testtree <- read.tree("7568_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="7568_0_unrooted.txt") |
fa003ab3f9e276620a8cb5abab5816568d92bf4b | 4c2e243d15a098cfb5e7992848c3fb60483bbb08 | /scripts/initiate-project.R | ee4f200d082df5d64c0a7f76ec44365ace816fc4 | [] | no_license | erlris/ssb-api-og-shiny | d9fd1abf2d97f6a2b025485ec2e6bba3bd4de848 | 030e22d7bd771f77a28281977f6dc6c7fe6744b5 | refs/heads/master | 2020-04-18T02:02:40.525743 | 2019-02-15T08:22:27 | 2019-02-15T08:22:27 | 167,144,341 | 0 | 0 | null | 2019-01-24T09:33:42 | 2019-01-23T08:15:44 | R | UTF-8 | R | false | false | 435 | r | initiate-project.R | #initiate project
install.packages("checkpoint")
library("checkpoint")
checkout("2019-01-21") #or your preferred date
#Sys.info() #Useful command for checking versions and play around with checkpoint
#sessionInfo() #Useful command for checking versions and play around with checkpoint
#Add package here for relative fil... |
7694592d7ddf30c39a1ef4fe47d5f0caee2c9bbe | b2b0f56551befd85687bfc48f7a74546e82d40fb | /merge_all_pheno_for_qtl2.R | 0ee7a1f2393a502667eb45af223ea3cfc5f2dc66 | [] | no_license | dmgatti/AttieMetabolomics | 8ac5abe14873b86c1d49de6d71fede39c1ce9a45 | 3a69bb163c6eab95ad3e7d3a5df1cc18e085c89b | refs/heads/master | 2021-01-01T16:01:22.939765 | 2018-01-12T19:21:07 | 2018-01-12T19:21:07 | 97,755,967 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 20,384 | r | merge_all_pheno_for_qtl2.R | ################################################################################
# Gather all of the Attie phenotype data and the intersection of the genotype
# data and create one file with everything in it.
# We will use JAX normalized data throughout.
#
# Convert all sample IDs to DOnn format.
#
# Use the new data s... |
d1763e099762db4f50fc39c29866e620b8dccfe6 | 1106b4de0d7c222cd932790e2efc0e8894d03f00 | /evaluation/mle_g.R | ad1f70690c15deab1ec48afeacb01e7af8cab276 | [] | no_license | tkusmierczyk/pmf-jags | ffed27b88d8e18974e242b912f816ad1d3eb4754 | 51b871c48a147804ce6759112fb522fdff3ead93 | refs/heads/master | 2021-01-21T13:07:36.874832 | 2017-09-13T13:04:44 | 2017-09-13T13:04:44 | 49,207,546 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 442 | r | mle_g.R |
#MLE:
r2 = matrix(nrow=N, ncol=M)
for (j in 1:M) {
for (i in 1:N) {
if (!is.na(test[i,j])) { #to speed up calculate only for test samples
g = ((retrieved.u[i,] %*% retrieved.v[j,]))
g = 1/(1+exp(-g))
r2[i,j] <- g
}
}
}
#####################################################################... |
cd1518e32ad980686acd112302891d22b77a07f3 | 14f34fb7a2840cbb7b06f06b7c8aec1bf72ecadf | /man/roclet_process.roclet_tests.Rd | d1d3be17715cb69235e36998b407d082dc776b39 | [] | no_license | cran/roxut | ebd952512705cd460436202f08f7f578b63767c2 | eb4e82c450165cd05d6b3f63bb45cae29219a5f3 | refs/heads/master | 2023-07-17T07:30:28.768046 | 2021-08-22T18:20:02 | 2021-08-22T18:20:02 | 278,311,925 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 585 | rd | roclet_process.roclet_tests.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/roclet_process.roclet_tests.R
\name{roclet_process.roclet_tests}
\alias{roclet_process.roclet_tests}
\title{Process @tests Tags}
\usage{
\method{roclet_process}{roclet_tests}(x, blocks, env, base_path)
}
\arguments{
\item{x}{A \code{roclet} o... |
4154b67fb8411e4d0dd40aee786e9676701dc23f | ac08e0d2e47098022b913bea6015ccb56f0461be | /scripts/graph-models.R | 472fd3a35bae28d74c91f6c039024fe399b77681 | [] | no_license | rjcmarkelz/learn_bayes | 0e944b9f073ae50b3171694d94796eb4d61b42bd | d8f712cf876fa85f3922d434f608c43f18db008a | refs/heads/master | 2021-01-23T13:49:36.630817 | 2016-09-28T22:50:18 | 2016-09-28T22:50:18 | 39,530,609 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,561 | r | graph-models.R | # from book Prob graph models R
prior <- c(working = 0.99, broken = 0.01)
prior
likelihood <- rbind(working = c(good = 0.99, bad = 0.01),
broken = c(good = 0.6, bad = 0.4))
likelihood
data <- c("bad", "bad", "bad", "bad")
data
# bayes update function
bayes <- function(prior, likelihood, data){
#create matrix t... |
c0a7abf3e42d12371e94576a0c30a74d045a8103 | f93554f5f1db9541b4dc323fcea9af01aca096ee | /Assignment/Week2HW-DataManagement.R | de249550ef0886d906d555ff1b454168284f3b44 | [] | no_license | goodstart57/Data-Science-with-R | 54d24ef99a6cfd63ff5d93fdebddfb52f175d531 | 6ece0d8eaf64ed3f87ab316bb33e0d157ddb65fa | refs/heads/master | 2021-04-05T23:55:18.472059 | 2018-04-06T04:37:06 | 2018-04-06T04:37:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,801 | r | Week2HW-DataManagement.R | ## 1. cow_data์์ is_edible ์ด๋ผ๋ ์๋ก์ด ์ด์ ์ถ๊ฐํ๊ณ
## ๋์ด(age)๊ฐ 50(๊ฐ์)์ด์์ด๋ฉด์
## ๋ฑ๊ธ(grade)์ด "3" ๋๋ "๋ฑ์ธ"์ด๋ผ๋ฉด "ํ๊ธฐ์ฉ", ์๋๋ฉด "์์ฉ"์ ์์ฑํด์ฃผ์ธ์
cow <- read.csv("./Data/cow_data.csv")
head(cow)
str(cow)
## 2. cowNA_data์์ ๊ฒฐ์ธก์น๊ฐ ๋ฐ์ํ ๊ณณ์ ํ๊ท ๊ฐ์ ์ง์ด๋ฃ์ ์๋ก์ด ์ด์ ๋ง๋์ธ์
cowNA <- read.csv("./Data/cowNA_data.csv")
head(cowNA)
str(cowNA)
## 3. co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.