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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9ec44ebd90c15764ee9d221dbcc52472d0a8f8bc | 7f13e2c02d75b633d448d487b819f13048dd75a9 | /R/pmsampsize.R | 1377d68f3e430986d51bee9cba23c00e9895409a | [] | no_license | medical-imaging/pmsampsize | ed21779ac8cfca611850017fda65ecdafbb427a3 | f151bcfc59d6f8935ac588dc8a6dd070fbcb6668 | refs/heads/master | 2020-05-30T03:06:33.538716 | 2019-01-08T15:30:03 | 2019-01-08T15:30:03 | 189,509,756 | 1 | 0 | null | 2019-05-31T01:57:29 | 2019-05-31T01:57:28 | null | UTF-8 | R | false | false | 14,688 | r | pmsampsize.R | #' pmsampsize
#' - Calculates the minimum sample size required for developing a multivariable prediction model
#'
#' \code{pmsampsize} computes the minimum sample size required for the development of a new
#' multivariable prediction model using the criteria proposed by Riley \emph{et al}. 2018. \code{pmsampsize... |
e904ec298d13cc907b5bd07a71473fe51e368f84 | bcfbfc43b8aaf0ff74736eb8c8e6d61948779a34 | /man/fit.associated.genes.Rd | 5e87d20d35aa27ad0f758fe5a7165e7b35af719a | [] | no_license | hms-dbmi/crestree | 7973500763f9d59ca3b66b67b2a911d4f5746407 | aa37f21ba708267b93b1841415047b4361f65480 | refs/heads/master | 2020-05-07T15:45:24.631955 | 2019-07-09T19:42:15 | 2019-07-09T19:42:15 | 180,649,997 | 9 | 7 | null | null | null | null | UTF-8 | R | false | true | 941 | rd | fit.associated.genes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/crestree.functions.R
\name{fit.associated.genes}
\alias{fit.associated.genes}
\title{Model gene expression levels as a function of tree positions.}
\usage{
fit.associated.genes(r, X, n.map = 1,
n.cores = parallel::detectCores()/2, method = ... |
1758bd955b110b7745f8a1960e2c838d6026645b | 3f6e208060e72146b801676874c1f9cfa51fd932 | /man/dtruncnorm.Rd | 02f21b39caab285479c08703df8dba03ba73b4d0 | [] | no_license | Losses/mlisi | 5e1e34412fd27b7a08a96b9a3b98ca65cdcff90c | 54700ea9b7afb2cc4a342c2beb26f4500c919d9c | refs/heads/master | 2020-09-30T16:51:09.256135 | 2019-10-11T17:39:07 | 2019-10-11T17:39:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 579 | rd | dtruncnorm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trunc-1.R
\name{dtruncnorm}
\alias{dtruncnorm}
\title{Truncated normal distribution}
\usage{
dtruncnorm(x, mu = 0, sigma = 1, a = -Inf, b = Inf)
}
\arguments{
\item{mu}{mean of `un-truncated` distribution}
\item{a}{minimum value}
\item{b}{m... |
0cc3a1ee5cac20e9fc4eaca57d00d03d2f9e0eb1 | 5ebefb6614588ae0f4cb75c8d0c94a6e00648f5a | /xml2_test.r | 35b5a1d99f4aa26a099ee040533272ad2ee0979e | [] | no_license | thefactmachine/automated_svg | da7f99725140e03b63bcaceb05184fa61df64946 | 4ae9489b59499407a4008f58ef1d4a4bf376ca04 | refs/heads/master | 2023-04-07T14:50:57.011549 | 2021-04-16T03:24:39 | 2021-04-16T03:24:39 | 355,420,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,626 | r | xml2_test.r | library(xml2)
# https://cran.r-project.org/web/packages/xml2/vignettes/modification.html
# You can avoid this by explicitly selecting the text node.
x <- read_xml("<p>This is some text. This is <b>bold!</b></p>")
text_only <- xml_find_all(x, "//text()")
# xml_text returns a character vector
x <- read_xml("<p>This ... |
931446733307d4669506b5d24bc7e0709cc2cf82 | 29585dff702209dd446c0ab52ceea046c58e384e | /ExPosition/R/coreCA.R | b0d39f1e4f0a2235c018c64a487707729f475bc3 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,948 | r | coreCA.R | coreCA <-
function(DATA,masses=NULL,weights=NULL,hellinger=FALSE,symmetric=TRUE,decomp.approach='svd',k=0){
DATA_dimensions = dim(DATA)
###PERHAPS ALL OF THIS SHOULD OCCUR IN THE CA FUNCTION?
mRP<-makeRowProfiles(DATA,weights=weights,masses=masses,hellinger=hellinger)
#rowCenter <- mRP$rowCenter
#rowProfiles ... |
afa522ef13fd6e3bbe2635ca06e044b4aabc93f6 | cc9707494002db22ce5797b63326602a99009e9a | /man/shi.Rd | 9af2717d25107fed9d2162fb6b9576d8f56de0d5 | [
"MIT"
] | permissive | CIP-RIU/sbformula | 54fae73fc69c9009ed74d8d6221ccffa907a5e58 | f22517e474411910c890083103f07346ab79c8a8 | refs/heads/master | 2021-06-21T07:55:37.290766 | 2017-08-18T21:34:01 | 2017-08-18T21:34:01 | 33,208,831 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 752 | rd | shi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shi.R
\name{shi}
\alias{shi}
\title{Formula for calculating the Harvest sowing index - Survival (SHI)}
\usage{
shi(noph, nops)
}
\arguments{
\item{noph}{Number of plants harvested}
\item{nops}{Number of plants planted}
}
\value{
A vector tha... |
341b7d80cf41b5d906b513d4c3d224e884cbf940 | 49c918bc3e90a2eb8ec00d687d723cd0a8c9d008 | /R/gather_2015_data.r | 6391d832a395526b748a906dd66249c24e9fc3db | [
"MIT"
] | permissive | sbfnk/measles.katanga | 06feeb9d47e6ac829ff5c2f7b90560342fd21aea | 5b1a1eee5c1217edb15f071647e90bb0a4680674 | refs/heads/master | 2020-06-25T19:44:45.559197 | 2019-11-08T15:21:39 | 2019-11-08T15:21:39 | 199,405,257 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,510 | r | gather_2015_data.r | ##' Gather 2015 data for cases, coverage and campaigns
##'
##' @return data frame
##' @author Sebastian Funk
##' @importFrom dplyr filter group_by summarise ungroup select mutate summarise ungroup right_join left_join
##' @importFrom tidyr replace_na
##' @importFrom lubridate year
##' @keywords internal
gather_2015_dat... |
052358408f33c11e7fdb01f42378e280866a364d | a32fc9e1d570db3f28fad05c0c3255bf6f6829b3 | /plot4.R | 636d9e0655d7ea27f73e215981ecb375b3ad1440 | [] | no_license | zerolocker/ExData_Plotting1 | 22ec4663e328376be093df23f876a19858bce28c | e881cabd6fd6fcdd954e897f8e99b08cf716ef77 | refs/heads/master | 2020-12-27T10:45:37.998733 | 2014-05-11T17:48:12 | 2014-05-11T17:48:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,251 | r | plot4.R | dat=read.csv('household_power_consumption.txt',header=TRUE,sep=';',na.strings=c('?'))
# Note that the argument "na.strings=c('?')" is a MUST, because missing values in the dataset are coded as "?", otherwise '?' char will make R treat the numeric column as factor(i.e. class(dat$Global_active_power) retruns [1] "factor"... |
e9832cce2a42afda64099a66013291feacdb12f0 | e2080f39ca981c320b2c882560bd039b086e11aa | /Scripts/03_zillow-hmda-merge/old/full_merge_11062018.r | a9266a4099cfcb0a7db16c540b192d72d140e406 | [] | no_license | mwibbenmeyer/sorting-wui | 031820ddf5db33d4ff68b2e0cb43027b72eae756 | d915be01e52dfd78fefb69d5d3d873a9aed0c6b0 | refs/heads/master | 2023-08-22T01:49:21.368772 | 2023-08-11T13:48:42 | 2023-08-11T13:48:42 | 254,092,824 | 0 | 1 | null | 2023-08-11T13:48:43 | 2020-04-08T13:17:24 | R | UTF-8 | R | false | false | 21,192 | r | full_merge_11062018.r | #---------------------------------------------------------------------------------------------------
# WORKING DIRECTORY
#---------------------------------------------------------------------------------------------------
#setwd("C:/HMDA_R_Files/")
wd <- "C:/HMDA_R_Files/"
#-------------------------------------------... |
374f3c055723352cf46a42521e78d9de6bbdf863 | dc1c20d5dea4e29634e9a9469025220c621c2575 | /R/listLinks.R | c189fc4bac9cc1e79ec2840bafa143ac18ed5c39 | [] | no_license | voltek62/oncrawlR | b90cee7c4985f01813fe8fcf41759ba50e6bdfaa | a3413465d94ad3cd3406751ee8e217ce2278c8e7 | refs/heads/master | 2020-06-01T05:01:25.932487 | 2020-01-31T16:16:12 | 2020-01-31T16:16:12 | 190,646,777 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,028 | r | listLinks.R | #' List all links from a crawl
#'
#' @param crawlId ID of your crawl
#' @param originFilter select a specific source
#' @param targetFilter select a specific target
#'
#' @details
#' <http://developer.oncrawl.com/#Data-types>
#'
#' ResCode
#' 400 : Returned when the request has incompatible values or does not match the... |
78f1283f3e6f64802b4295c6940f456291bce071 | 142ff7e3bdbf2ff2c3b8b3ca892edc589134b7a9 | /GM-1.R | 7ec36d511711bc5069267b1221a576f54b53402f | [] | no_license | smenon72/DataScienceProjects | 3dcc094767977c6ad33170a5121d00b9da903b06 | 9df3fa9332cf756a2e667f939dddd8000730ba9d | refs/heads/master | 2020-05-20T02:12:12.881046 | 2019-05-18T05:25:00 | 2019-05-18T05:25:00 | 185,326,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 411 | r | GM-1.R | library(ggplot2)
library(dslabs)
data(gapminder)
gapminder %>%
filter(continent == "Africa" & year %in% c(1970,2010) & !is.na(gdp) & !is.na(year) & !is.na(infant_mortality)) %>%
mutate(dollars_per_day = gdp/population/365) %>%
ggplot(aes(dollars_per_day, infant_mortality, color = region,label = country)) +
g... |
f25f22e82d61e1503728fcf5e25c141a7168f0b8 | ec40622f551b357d4a64ab08af683acbb1cfd38d | /data-raw/dados_telemetria_manaus.R | bb15dbee2a6c730b86470562db5e83b7c8fe47c6 | [
"MIT"
] | permissive | theoadepaula/tffdt | 93068762c7f47e526a83090f40da218c0cb3e08b | 68ba8062d9bceec768482af885790470c507adce | refs/heads/master | 2023-06-07T04:22:07.315375 | 2021-06-22T10:43:48 | 2021-06-22T10:43:48 | 376,614,770 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 704 | r | dados_telemetria_manaus.R | ## code to prepare `dados_telemetria_manaus` dataset goes here
# Para arrumar os dados, foi preciso transformar todos os dados em branco
# em NA, transformar as variáveis Nivel,Vazao e Chuva em númericos e
# DataHora em datetime.
dados_telemetria_manaus <- dados_brutos_telemetria_manaus %>%
janitor::clean_names() %... |
b5b44520ec168211783315583813f0ff9c608708 | a1fd4aeda488f2c8abf454b6429a50c3d4a07d11 | /Plot6.R | 0a6a9a7cf2b137b5da41fe78ed384ff1678f8479 | [] | no_license | Monnappa/Exploratory-Data-Analysis-Project-2 | a91a94d87351165890fc78a15e57fdc9998f1608 | 527bd11abacfa29c2b8063f995b2a174a1f67242 | refs/heads/master | 2020-05-17T18:32:02.641709 | 2015-02-21T10:35:36 | 2015-02-21T10:35:36 | 31,122,116 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,765 | r | Plot6.R | # Assignment Question 6
# 6. Compare emissions from motor vehicle sources in Baltimore City
#with emissions from motor vehicle sources in Los Angeles County,
#California (fips == "06037"). Which city has seen greater changes
#over time in motor vehicle emissions?
#Read ggplot2 Library
librar... |
4549d967572523f230b0b6f116c814f424c6790a | b97ad80d43353fa93abe448e57f4fce297c037e0 | /man/info_geno.Rd | 64879718809685a0b773d481f984cb70f58fb59c | [
"MIT"
] | permissive | DannyArends/GNapi | a4dab46ff2b9529bdb497487f19ef43ff43f2c60 | b613e2b61d69c8319e005866d760b14e9b68c5ee | refs/heads/master | 2020-12-24T10:58:08.187096 | 2016-11-10T21:22:43 | 2016-11-10T21:22:43 | 73,219,657 | 1 | 0 | null | 2016-11-08T19:25:46 | 2016-11-08T19:25:46 | null | UTF-8 | R | false | true | 519 | rd | info_geno.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_info.R
\name{info_geno}
\alias{info_geno}
\title{Get meta information for genotypes}
\usage{
info_geno(cross, url = "http://test-gn2.genenetwork.org/api_pre1/")
}
\arguments{
\item{cross}{Cross name as a single character string}
\item{ur... |
6b24af477b7fede438bb08d851536826e6a8dbc1 | c904e7138320728cf05df1728d9875d87f4d5fa7 | /example/code/example.R | 80de162bd8625b19229ebde01f5f73f97c384452 | [
"MIT"
] | permissive | ryanedmundkessler/gaussian_empirical_bayes | c3d6186c64f06f7d897ff0f0e8361726e4240544 | 65b89ad3e84b99318da899fdee2e9dfe2610afbc | refs/heads/master | 2022-01-24T14:45:53.110478 | 2022-01-14T18:45:52 | 2022-01-14T18:45:52 | 168,087,260 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,182 | r | example.R | source('../../r/gaussian_empirical_bayes.R')
set.seed(19281)
main <- function() {
num_obs <- 5000
mu <- 1
sigma_sq <- 4
data <- simulate_data(num_obs = num_obs, mu = mu, sigma_sq = sigma_sq)
theta <- estimate_hyperparameters(beta = data$beta_hat, tau_sq = data$tau_sq)
posterior_param... |
2152be62539722b9ab7aa468441d47e4a3332147 | 17b4fd4a2aa4d7741604e07f585bec783d558dde | /lessons/A_Monday/scripts/E_text_organization.R | 46289ac6da2f5d9e3e02a6ea4d776cc66175d261 | [
"MIT"
] | permissive | anhnguyendepocen/GSERM_TextMining | 41a04517212e5adde60865b6e5b3b1c149b7960d | 0bb2692b1130c9c9fe604e2e610fd057960a44ec | refs/heads/master | 2022-03-27T14:21:53.953619 | 2020-01-16T21:40:07 | 2020-01-16T21:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,622 | r | E_text_organization.R | #' Title: Text Organization for Bag of Words
#' Purpose: Learn some basic cleaning functions & term frequency
#' Author: Ted Kwartler
#' email: ehk116@gmail.com
#' License: GPL>=3
#' Date: Jan-12-2020
#'
# Set the working directory
setwd("/cloud/project/lessons/A_Monday/data/tweets")
# Libs
library(tm)
# Options & F... |
bf2fe189cde31ab0c19b90a684ce33db4214b63d | b8229b3de589d2caca087cc71927e94bbac789b2 | /run_analysis.R | 7f0f859956bf60c8407d1ae4638f57b00ae11be0 | [] | no_license | AConundrum/GettingCleaning | a140d8bec128090b0d3b25d14eb6de2f8a4bcd15 | 4c55e775ad62cd1eff3a6137a12bd1c8a6f3dd6c | refs/heads/master | 2016-09-09T21:17:19.857453 | 2014-07-23T23:27:23 | 2014-07-23T23:27:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,779 | r | run_analysis.R | ##
## Description:
## 1. Merge the training and the test sets to create one data set.
## 2. Extract only the measurements on the mean and standard deviation for
## each measurement.
## 3. Use descriptive activity names to name the activities in the data set.
## 4. Appropriately label the data set with de... |
fd1cb3229349baadeb982252224a22d9cc6e6d39 | 3b9cd006ff3a25604b271c6d19219ed6be65fe07 | /R/autopoints.R | 1e31df35d6975078e1d6c906ac662d962a0a9b91 | [] | no_license | jfrench/autoimage | b9acf2e3e768354f7af7cec15603c5c895918e61 | 967890e8d56f384164b7fa58a8ac97f811b25d1b | refs/heads/master | 2023-03-21T03:50:13.520117 | 2021-03-16T02:50:47 | 2021-03-16T02:50:47 | 60,267,293 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,245 | r | autopoints.R | #' Automatic facetting of multiple projected scatterplots
#'
#' \code{autopoints} plots a sequence of scatterplots (with possibly
#' projected coordinates) while also automatically plotting a
#' color scale matching the image colors to the values of \code{z}.
#' Many options are available for customization. Se... |
41510f532a6f6661ac20c4a7f4326e4d8ac68240 | 3e3cbe2c54db5ac4267d17764877d0e824e08be5 | /R/TRPFunctions.R | b7b835e27e65978e67c70baef581db986d172583 | [] | no_license | avilesd/productConfig | 7444e5d04ce526654b8554a1d6af3adb71d7e8d5 | 516dd365c7f2c1733de2644a180a9098013a4125 | refs/heads/master | 2020-04-06T07:02:03.512297 | 2016-08-18T23:14:38 | 2016-08-18T23:14:38 | 37,199,135 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,299 | r | TRPFunctions.R | #New set of functions for calculating the value matrix of the Tri Reference Point theory and the overall prospect values
## DOCU: Mention that it is a practical problem that trp doesn't use normalized values for its value function, so
## you may have different (mr, sq, g) for each attribute, so you have to run the abo... |
e799031cd0badc7b86631c6be45cb8334456e08e | 5d28ffcf29ea0f190a41010fac518e7cf5a9727b | /man/ez.whos.Rd | 6ccf1fa222508a8c0b939ad0a0b298908527b4f7 | [
"MIT"
] | permissive | rmtsoa/ezmisc | c300dea8d68299f62307bfc71990c9c4dba46aa8 | 70ef4e0efc83ba22081dca87bb43081d5f58ff96 | refs/heads/master | 2021-01-12T05:16:50.924349 | 2016-12-15T16:12:39 | 2016-12-15T16:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 406 | rd | ez.whos.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/os.R
\name{ez.whos}
\alias{ez.whos}
\title{alias of \code{\link{sessionInfo}}, \code{\link{ez.who}}}
\usage{
ez.whos(package = NULL)
}
\value{
Print version information about R, the OS and attached or loaded packages.
}
\description{
alias of... |
d8ca8f0f75a890b9b25458f99e8979284d0aad87 | 2e661bab58e5d83fb7a54fd97a6d180e1a30a3f1 | /R/auxiliary.R | 84f43f176e38e2e03e358e224877da78c43775fa | [] | no_license | cran/InspectChangepoint | cb63f7dc5168cd2fbf2e86ca8c55162e50c4489c | 789b6a84eb1fc9e06dc97ee7e5ed0085e173229d | refs/heads/master | 2022-05-19T19:31:46.071576 | 2022-05-03T06:00:31 | 2022-05-03T06:00:31 | 61,978,349 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,406 | r | auxiliary.R | ########### Matrices and vectors ##############
#' Norm of a vector
#' @description Calculate the entrywise L_q norm of a vector or a matrix
#' @param v a vector of real numbers
#' @param q a nonnegative real number or Inf
#' @param na.rm boolean, whether to remove NA before calculation
#' @return the entrywise L_... |
6d47be695b3c61ad3d336b67933febd4cc78af17 | bb9c41ac9228f6927dfa865c042cf8d24b7a8c86 | /cachematrix.R | 989b9a8d73c12a36f265ed2fcc97a5dfac05b4b2 | [] | no_license | akshatsprakash/ProgrammingAssignment2 | d7919fa57072210749089057e928114685cc9e8f | cfc3ce3b5aa8a39bb11229c983bf421284c9625c | refs/heads/master | 2020-12-25T13:23:51.063944 | 2016-01-23T10:34:16 | 2016-01-23T10:34:16 | 50,231,823 | 0 | 0 | null | 2016-01-23T09:17:54 | 2016-01-23T09:17:52 | null | UTF-8 | R | false | false | 1,407 | r | cachematrix.R | ## Author: ASP Date: 23-Jan-2016
## File created as part of Coursera R-Programming, Week 3
## Assignment to be assessed by course peers
## Creation and submission via GitHub
## function creates a special "matrix" object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
... |
be75b5700df52f721ee91dcff97f8fd7ed1bdcc6 | 0da4f9195a7e1c4651b709463a66308dc7cf771e | /R/approach_ctree.R | 3c73c0d5adca46b4d67cce87da80470c758119d3 | [
"MIT"
] | permissive | NorskRegnesentral/shapr | 6437ab6d4bb2de004dc5937397ab8e15ab2cf43c | 25f207d2e20835cb114ca13224fac49b91443bdb | refs/heads/master | 2023-08-17T22:12:15.012082 | 2023-08-17T14:02:38 | 2023-08-17T14:02:38 | 133,624,629 | 128 | 27 | NOASSERTION | 2023-09-11T11:13:53 | 2018-05-16T07:05:13 | R | UTF-8 | R | false | false | 10,216 | r | approach_ctree.R | #' @rdname setup_approach
#'
#' @param ctree.mincriterion Numeric scalar or vector. (default = 0.95)
#' Either a scalar or vector of length equal to the number of features in the model.
#' Value is equal to 1 - \eqn{\alpha} where \eqn{\alpha} is the nominal level of the conditional independence tests.
#' If it is a vec... |
122a3dbb01017910afc39357b9f398c6990e5928 | 0ae311da8066c14fefe5fdb5eb2a66f8fc7852b7 | /results/analyze2.R | f15c3126d97b0d977983963d098c595991829512 | [] | no_license | multimediaeval/2017-AcousticBrainz-Genre-Task | ca86fca4d0a97a4aa47a81c45819456f31fe927a | 625e47f0e86e27bbf78cefb07a0dae0420f202e6 | refs/heads/master | 2022-04-29T10:13:00.038971 | 2022-03-20T12:15:20 | 2022-03-20T12:15:20 | 89,104,213 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 953 | r | analyze2.R | a <- read.csv("allscores.csv")
b <- read.csv("allscores2.csv")
w <- 320
h <- 240
for(x in c("Ftrackall", "Ftrackgen", "Ptrackall", "Ptrackgen", "Rtrackall", "Rtrackgen",
"Flabelall", "Flabelgen", "Plabelall", "Plabelgen", "Rlabelall", "Rlabelgen")) {
main = paste0(substr(x, 1, 1), " - ",
... |
665accd2da01c90a2dfb015b10d38ea01d1a3480 | 3285eec39395ad2545d850c8ef6cadb6837e2b39 | /R/read_data.R | 8f63fb03a276d3faaa286602e291d37b0cfbeb4d | [] | no_license | Allisterh/MPHM | be0d08d0045072cd755750f17df76011901653fb | 9c78b07920fe7af828eef8bfb7dffc37bfa8ffba | refs/heads/master | 2023-03-15T21:23:19.441289 | 2019-08-28T19:20:09 | 2019-08-28T19:20:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,227 | r | read_data.R | #' This function reads in the CPI data from two datasets.
#'
#' @param x is the filepath to the cp1904 spreadsheet
#' @param y is the filepath to the MacroVar spreadsheet
#' @import readxl
#' @import zoo
#' @import dplyr
#' @export
read_cpi <- function(x, y) {
x <- read_xlsx(x, sheet = "Monthly Series", skip = 3) %>%... |
cb7b809f8a1d0e42876b10e32958531eefd34c8d | e706a7d76a4548173f1e09f957cfa262be330c7a | /1_population_dyn_fit/Analysis.R | 5b33a72ec3d0d51a80e06267097843462c8788f8 | [] | no_license | dieraz/prov-theo | 4dab0d9ae5b87e6109c6fd84996c832f25499da7 | 381fd281cf8f000b5aee9d9d62f124e9bcc0bcd7 | refs/heads/main | 2023-04-13T01:10:22.475014 | 2022-05-23T12:54:31 | 2022-05-23T12:54:31 | 369,817,986 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,827 | r | Analysis.R | library('fitR')
library('MASS')
library(tidyr)
library(ggplot2)
library('coda')
library(lattice)
library(reshape2)
library(plyr)
library(stringr)
library(gridExtra)
source('popdyn_det.R')
source('Functions.R')
load("POP_Haddon.RData")
load("POPDYN.ch1.RData")
my_mcmc.TdC2$acceptance.rate
trace1 <- mcmc(my_mcmc.TdC2$... |
c213faf323c55a59657af802c9194037f5adee05 | a2005588e3714a70314a2e748e5a3e2084262c56 | /plot2.R | e85004da9f8f36e3fa13740c7939444f28e34b6c | [] | no_license | Twilight-Hacker/ExPlot_Coursera2 | 8355c907103762ba1f82d45cb52fc5114bb20049 | 43a0e497f4c1c0ba7962b98704de0489d7f0cb48 | refs/heads/master | 2016-09-06T14:29:35.562145 | 2014-09-13T18:16:48 | 2014-09-13T18:16:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 404 | r | plot2.R | fulldata<-readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
data<-fulldata[grep("24510",fulldata[,1]),]
byyear<-aggregate(data[,4],list(data$year), FUN=sum)
png("plot2.png")
plot(byyear[,1],byyear[,2], type='b', main="Total Emissions by Year in Baltimore City, Maryland", xlab="Year", ylab=... |
b9a3b0d4bfed97cf59accdddac43b64501aa6ee3 | 0b61fdadaaafb28829e1d7eccc07972f53f3aa3d | /man/write_landclim_maps.Rd | bae7e8c7a306c44ab07f3be08a05a2d6ee4ff039 | [] | no_license | mhhsanim/LandClimTools | 1e165ae435d4e4e043866bfc054b9fa8d651464d | 6c1a3c782990e2b4ebda51b0d37396f8868b2fe6 | refs/heads/master | 2020-12-11T09:04:07.487287 | 2016-04-26T19:05:51 | 2016-04-26T19:05:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,607 | rd | write_landclim_maps.Rd | \name{write_LandClim_maps}
\alias{write_LandClim_maps}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
%% ~~function to do ... ~~
Write landClim maps
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
Takes raster stack in the appropiate resolution and writes ... |
57fc1014ce6f50d8c5d89b402051f3f51d8006b8 | 06f709c0ab47580ce21c56bcef7c229b353fff6c | /homework/dieroller/tests/tests.R | 692128f80bb75b0023065454f432c6b9cb9c1864 | [] | no_license | irlandab/stat133 | e5058f9980feca305614db75b8352182f67d157e | c794c4147f177bef305c45dd2db24f5b985778e2 | refs/heads/master | 2021-04-06T20:48:54.352399 | 2018-05-16T20:39:26 | 2018-05-16T20:39:26 | 125,313,385 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 81 | r | tests.R | # load the source code of the functions to be tested
source("../R/functions.R")
|
07ba7bffe3b9548c087556f6aec29472bba56e5f | 693943ad8edc799b5be90daefd21c833d550ee61 | /L10_principal_component_analysis_06.12.2016.R | 48f5538671da290f4251d3d1a8e1d23c04a5dc97 | [
"MIT"
] | permissive | LucieCBurgess/Data_analytics_R_exercises | c63ee29347461d392c8f4a7932b9a7817514a08a | 91de76ca86f77214d5a1acd6e93ee6089fb90b92 | refs/heads/master | 2021-06-10T05:07:40.641411 | 2017-01-06T11:57:03 | 2017-01-06T11:57:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,165 | r | L10_principal_component_analysis_06.12.2016.R | # Lecture 10 Principal Component Analysis
x=c(2.5,0.5,2.2,1.9,3.1,2.3,2,1,1.5,1.1)
mean(x)
xbar=x-mean(x)
y=c(2.4,0.7,2.9,2.2,3.0,2.7,1.6,1.1,1.6,0.9)
mean(y)
ybar=y-mean(y)
cov(xbar,xbar)
cov(xbar,ybar)
cov(ybar,xbar)
cov(ybar,ybar)
CoMatrix=matrix(c(cov(xbar,xbar),cov(xbar,ybar),cov(ybar,xbar),cov(ybar,ybar)),2,2)
C... |
e5987a7378b8f85a4e79a7e26577c92cf8ac7a15 | b6b550212e660111fec2af4280dc34bfc2ba6f00 | /shiny/app.R | 211861bd04c782c90d8b941d9fc10acdc206230f | [] | no_license | TZstatsADS/Spr2017-proj5-grp10 | 2de16590909effd8a7c90f4e37dd58d8fcafacd0 | be661d328e3c1e47a3ef2eee315599dce68ad902 | refs/heads/master | 2021-01-19T20:55:15.751385 | 2017-04-28T17:20:22 | 2017-04-28T17:20:22 | 88,578,838 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,550 | r | app.R | library(shiny)
library(shinydashboard)
library(omdbapi)
library(dplyr)
library(rvest)
library(RCurl)
library(jpeg)
library(shinyBS)
library(pbapply)
library(readr)
library(omdbapi)
library(lda)
library(recharts)
source("../lib/information.R")
source("../lib/rec.R")
load("../output/dat2.RData")
dat <- dat2
load("../o... |
4d1eecfe67593f35e2b442517b3efbc61e8ab1dd | 3f415c71532e3f1c68027c052d399c56ffbd8d92 | /tests/testthat/test_discrete.R | ca3c4560c292b4120dabb925fc4283f8ee239652 | [] | no_license | dereksonderegger/truncdist2 | 6b3a643773e3a33360762ca8036c917396234db4 | 6531407ac277ac4ef111ba936dbcd05911aa140e | refs/heads/master | 2020-04-21T22:40:26.672996 | 2019-04-17T18:47:41 | 2019-04-17T18:47:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,833 | r | test_discrete.R | # library(truncdist2)
# library(testthat)
# Check to see if I get the same values in Poisson distribution
test_that('Unrestricted Poisson values correct', {
expect_equal(dpois( 2, lambda=3 ), dtrunc(2, 'pois', lambda=3) )
expect_equal(ppois( 2, lambda=3 ), ptrunc(2, 'pois', lambda=3) )
expect_equal(qpois( .8, ... |
5424c036add853646c2c4abc10f6376a2ee2ae90 | b2efd59b4a9e1a2d0bfecbed07bde737527377b2 | /testCode.R | f8a62b1d95bc0928e33215290be7e46095084488 | [] | no_license | dadaeuneun/- | e56ed9d77c883c66dbf901bfd9e7d85857f33d17 | c9e4dff35d8804e050ab77a5c998f6ef53bb24e2 | refs/heads/master | 2016-08-11T14:05:53.930929 | 2015-10-06T13:08:26 | 2015-10-06T13:08:26 | 43,750,709 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 52 | r | testCode.R | ## this is the test script
a<- rnorm(100)
plot(a)
|
c184ed539b37311b7913f6cb521ce8314ee875e8 | 1d4d05654b954cbf53d8fd886b38794acda9e020 | /R/fit_bias.R | 6f08990decab5c71e324d22ffe90a8705c9d302f | [] | no_license | mikelove/alpine | 2ca97b67d0650d55448b7aefcb2a77c88255c97a | 12c94f2e70981a520b8f98a2c7aeb35e041d333f | refs/heads/master | 2020-05-30T05:10:53.231643 | 2018-04-20T10:37:41 | 2018-04-20T10:37:41 | 14,243,756 | 29 | 6 | null | null | null | null | UTF-8 | R | false | false | 12,467 | r | fit_bias.R | #' Fit bias models over single-isoform genes
#'
#' This function estimates parameters for one or more bias models
#' for a single sample over a set of single-isoform
#' genes. ~100 medium to highly expressed genes should be sufficient to
#' estimate the parameters robustly.
#'
#' @param genes a GRangesList with the ex... |
3f99e9ef766594868aa8799245f0069745ec885f | 2271a5faab43855132dd5bea92031b5433932bbc | /man/gl.dist.pop.Rd | f4565173c19a9694cf1031003faca7fbea0867cf | [] | no_license | Konoutan/dartR | 26252e126e5f38589e21f726e3777360390a8005 | aa35a02121aff4fb092b3f88e5200d343938656b | refs/heads/master | 2022-06-30T13:41:35.734109 | 2019-12-05T08:58:16 | 2019-12-05T08:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,008 | rd | gl.dist.pop.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gl.dist.pop.r
\name{gl.dist.pop}
\alias{gl.dist.pop}
\title{Calculate a distance matrix for populations defined in an \{adegenet\} genlight object}
\usage{
gl.dist.pop(x, method = "euclidean", binary = FALSE, diag = FALSE,
upper = FALSE, p ... |
eb2342f1644a6301e966cd28cbe7061b72689e50 | cba27e4e22d2206bd8e77ed89ddcda9058c40032 | /03_linear_model_exercise.R | 65bda794817674d44fa7068b3806e1281e225166 | [] | no_license | kristineorten/machine_learning_with_R | bd39fd24570cc250e06248a9258d61b0d8e02628 | 2745e349c4d070482174793e7296f0a72b5d1067 | refs/heads/main | 2023-08-14T01:58:14.036331 | 2021-09-15T07:44:39 | 2021-09-15T07:44:39 | 406,658,153 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,665 | r | 03_linear_model_exercise.R | ################### #
# Attach packages ----
################### #
library(tidyverse)
library(tidymodels)
library(readxl)
#################### #
# Exercise 1 - Import data ----
#################### #
# Insert the appropriate function to import the `houses.xlsx` dataset to R
houses_raw <- read_excel("temp/houses.xlsx... |
40319c526c4eedfd3f0b55042b207472d94c9eee | 67f1d6770a6dba97777c92969e03ecbfbc637d80 | /fixing svar.R | 96cb7c5776010e721e68bf6d1e4f22d761068955 | [] | no_license | bazoc/Masters-Thesis | 0505efd409ba9803a80fda7c2040f34a78159927 | 5149882ea71940a95f0eec0bf0cae11cd5748587 | refs/heads/master | 2022-12-04T23:51:22.974881 | 2020-08-19T17:13:55 | 2020-08-19T17:13:55 | 266,795,151 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,818 | r | fixing svar.R | SVAR
x = fevar
estmethod = c("scoring", "direct")
Amat = amat
Bmat = NULL
start = NULL
max.iter = 100
conv.crit = 1e-07
maxls = 1
lrtest = TRUE
fesvar <- SVAR(fevar, estmethod = "direct", Amat = amat)
function (x, estmethod = c("scoring", "direct"),
Amat = NULL, Bmat = NULL, start = NULL, max.iter = 100, co... |
aa4b079917a0a843d5599cc079f3f65ad1c5bc90 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /detectRUNS/inst/testfiles/genoConvertCpp/libFuzzer_genoConvertCpp/genoConvertCpp_valgrind_files/1609875417-test.R | f22ec1c291050a5f12e679918145727136c3b370 | [] | 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 | 357 | r | 1609875417-test.R | testlist <- list(genotype = c(-1266580863L, 8487553L, -2122218809L, -737627007L, 0L, 128L, 3866624L, 989855955L, NA, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L))
result <- do.call(detectRUNS::... |
b92ca3bd97932e86474f166df880eb027c1efe56 | 8a687f7449214a3a986c539e9ec616d19402730a | /data-raw/bc.R | 76d65699cef3ae9142a4d6cedf940665cc1d31d3 | [] | no_license | Moustapha-A/autopolate | c3e24ebe6ab3c8cf9664a2fa4546c2ba509c60da | c3275c9263792db124dd0b5f023a736c9f04e8ca | refs/heads/master | 2021-07-11T04:20:25.092767 | 2017-10-15T22:04:59 | 2017-10-15T22:04:59 | 106,672,172 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 84 | r | bc.R | BC <- data.table::fread('data-raw/BC.csv')
devtools::use_data(BC, overwrite = TRUE)
|
7836ceb7dd59d43a986910deed418ad77280886d | a06ad0b5797e82bde9ae94c15216aaddc654f214 | /R/quiet_join.R | 4653dc0e198026575b44c52ea142935304385a9b | [
"Artistic-2.0"
] | permissive | khemlalnirmalkar/HMP16SData | 5fb436a4aa6638ed1ec07e0f267f7a68bea9e8d9 | 11795265b43cb5eea1c1de57fd6a9936fe54577a | refs/heads/master | 2023-09-02T18:12:38.092116 | 2021-10-26T16:29:57 | 2021-10-26T16:29:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 234 | r | quiet_join.R | #' @keywords internal
#'
#' @importFrom magrittr %>%
#' @importFrom dplyr full_join
quiet_join <- function(x, y) {
list(x, y) %>%
lapply(colnames) %>%
Reduce(intersect, x = .) %>%
full_join(x, y, by = .)
}
|
6d46388e11f2abd5c8bcafa2e8a16c4c53bad2cb | 54a13f9f44a46c0ac23ceb5b051027bbd2fa0a24 | /Matrix.R | b61b1ac268a5fe1ac2d9facabccae6a1cb0bbbec | [] | no_license | rupinjairaj/R | b5fb75e70ed67e8f5d6d68e744d1b536e515fac2 | 5d8df1e532faa487e50d7320ac77600d939d35d9 | refs/heads/master | 2020-04-14T20:38:29.952930 | 2016-09-13T19:54:11 | 2016-09-13T19:54:11 | 68,141,140 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,465 | r | Matrix.R | ## MATRIX ##
?matrix
# creating a matrix; by default it fills the matrix column wise
tab <- matrix(c("a", "b", "c", "d"), 2, 2)
# using rownames() and colnames() to define names for the matrix
rownames(tab) <- c("Exposed", "unExposed")
colnames(tab) <- c("Disease", "noDisease")
tab
# setting byrow flag as true so as to... |
567b9bda11b580ddc4fce2e561404df5e6367369 | c76fa6dd4dc45f29aafe74e77f5edfe8e17abfb8 | /tests/testthat.R | 31c5646bbac361ab55a971c942241c763c2aec1e | [
"MIT"
] | permissive | alexkurganski/GGenemy | 2a3be4978ee73b43222cf241447e33763931e32e | 4cf380ae3beb4b428044a0e36b8d83116b66a6af | refs/heads/master | 2022-03-03T23:26:09.776736 | 2019-09-23T12:18:33 | 2019-09-23T12:18:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 58 | r | testthat.R | library(testthat)
library(GGenemy)
test_check("GGenemy")
|
3cb8d1d52926ecfd9f85b5c55caca4ef9cac9e37 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/LPWC/examples/prep.data.Rd.R | 9547c83066560c1f2d355740bad38e714a95db38 | [] | 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 | 359 | r | prep.data.Rd.R | library(LPWC)
### Name: prep.data
### Title: Preparing Data
### Aliases: prep.data
### ** Examples
prep.data(array(rnorm(20), c(5, 4)), c(0, 0, 0, -1, 1),
timepoints = c(0, 5, 15, 30))
prep.data(array(runif(100, 0, 10), c(10, 10)), sample((-2:2), size = 10, replace = TRUE),
timepoints = c(0, 5, ... |
e788437ba695eb85b267d08e6d73a5116b9687eb | 6c39e14c011a445d91616cfbbcd43a735d97389f | /plot2.R | e6f1805cd2bad21a7ee83c4b8ced9d66307fa02e | [] | no_license | alexmarandon/ExData_Plotting1 | 91ed2faf71acffc5f7012f508f790e86f83584d1 | 31890d91d48b314e06f968cd4e02ff5cce02e516 | refs/heads/master | 2020-04-01T16:57:33.406447 | 2015-04-10T15:45:04 | 2015-04-10T15:45:04 | 33,735,832 | 0 | 0 | null | 2015-04-10T15:29:12 | 2015-04-10T15:29:11 | null | UTF-8 | R | false | false | 1,090 | r | plot2.R | library("dplyr")
dataset <- tbl_df(read.table("household_power_consumption.txt",
sep =";", header = TRUE, na.strings = "?",
#nrows=1000,
colClass = c("character", "character", "numeric",
... |
4c20575cd27784e8e0d168dde82bb7f5687c87c2 | 0d558825a61837ff21367842628ef7c3e31db925 | /R/batsmanRunsFreqPerf.R | 04a994a84a734f1770c18d19ac703a2cd0091d08 | [] | no_license | tvganesh/ckt15 | e81313a063f357298d53bf6e13f05d2c0246298c | 924522b7ac86f9b2db785f1c202746fab3f9f787 | refs/heads/master | 2021-01-23T13:44:55.189756 | 2015-07-03T04:05:54 | 2015-07-03T04:05:54 | 38,437,805 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,120 | r | batsmanRunsFreqPerf.R | ##########################################################################################
# Designed and developed by Tinniam V Ganesh
# Date : 30 Jun 2015
# Function: batsmanRunsFreqPerf
# This function computes and plots the Moving Average of the batsman across his career
#
##########################################... |
0b6201ad85bd67698ee4f0c3eaefdcf7bcaac88e | dd0f5a54e5b93f8c64a25ee1763f25be10992048 | /bin/call-nuclei-atac.R | 6335501e79c619a292a38419684378c562f8c38e | [] | no_license | porchard/2021-03-sn-muscle | 2e457676026739f6983e4719d579f9e1a63fb4b1 | a850d88ea4b7573e1d330d44456f5c14e8c69eec | refs/heads/master | 2023-08-11T01:58:22.310770 | 2021-09-13T15:53:04 | 2021-09-13T15:53:04 | 343,512,362 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,118 | r | call-nuclei-atac.R | #!/usr/bin/env Rscript
library(dplyr)
library(tidyr)
library(ggplot2)
library(glue)
parse_nucleus <- function(x) {
RE <- '(.*)-(.*)'
lib <- gsub(RE, '\\1', x)
barcode <- gsub(RE, '\\2', x)
return(list('library'=lib, 'barcode'=barcode))
}
args <- commandArgs(T)
METRICS <- args[1]
THRESHOLDS <- args[2]
#thresh... |
edc88865612643181188b68ce0e7fd266d2a3710 | a50422dd9c18f72071e4bc11a9e372abbd342555 | /scripts/setup.R | 996b63a3c0a06c347cf606315e5874524e0c760f | [] | no_license | NoushinN/covid_19_analysis | da981d1ec6c4d53c1dee7495f535587a74598e6b | f70ef351bccd0e1dbe1dc560acd8ee2a8111e445 | refs/heads/master | 2021-04-11T18:07:15.821021 | 2020-09-02T01:12:26 | 2020-09-02T01:12:26 | 249,042,683 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 236 | r | setup.R | # list of libraries
libraries <- c("tidyverse", "data.table", "here", "table1",
"fpp2", "lubridate", "httr")
# load libraries
lapply(libraries, library, character.only = TRUE)
# source the script
.setup_sourced <- TRUE
|
1a73a4d145983140793cc602432daa3b1c6f99c9 | 53a803d4957c26a8cb41e6b9e249ce3b5ebe72da | /01_parse_GFF_files.R | 62adedb1c0d693895160094c990e465216eaf4f7 | [] | no_license | tnaake/PKS_synteny | dd414275eb6d2cf22a28e664e60d0c01a6379315 | 5a674b5a55e7c518e0e37bac1a609cce4f600bfe | refs/heads/master | 2021-07-24T17:00:08.702829 | 2020-08-26T08:31:32 | 2020-08-26T08:31:32 | 212,771,848 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,870 | r | 01_parse_GFF_files.R | ## a script to create a file with genes and their orientations compatible with i-ADHore
setwd("H:/Documents/03_Syntenic_linkage/01_Data/OrthoFinder/input/gff_files")
setwd("W:/Thomas/Data/synteny/synteny_iadhore")
## define the functions write_file, write_file_gff and
## write_file_combine_different_entries
w... |
f0166d85f9e1baa239fbe753320d457bedbfc4e4 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /metafolio/inst/testfiles/est_beta_params/libFuzzer_est_beta_params/est_beta_params_valgrind_files/1612988609-test.R | c8b1db2122fa0c9f3c5cf08a7831121892a303ee | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 141 | r | 1612988609-test.R | testlist <- list(mu = -1.96154140337828e+23, var = -1.96154140339432e+23)
result <- do.call(metafolio:::est_beta_params,testlist)
str(result) |
270386fb70baff76f9848a93229a442c1d29b0b3 | 3660dc3609b4475230efba029ff7ae2e8c888773 | /transposon_annotation/r_scripts/plot_te_similarity.r | 16db16bafe7277e04c743ecdfe301493ac10ae5b | [
"MIT"
] | permissive | sestaton/sesbio | 16b98d14fe1d74e1bb37196eb6d2c625862e6430 | b222b3f9bf7f836c6987bfbe60965f2e7a4d88ec | refs/heads/master | 2022-11-12T17:06:14.124743 | 2022-10-26T00:26:22 | 2022-10-26T00:26:22 | 13,496,065 | 15 | 6 | null | null | null | null | UTF-8 | R | false | false | 707 | r | plot_te_similarity.r | library("ggplot2")
sims <- read.table("all_te_similarity_0106.txt",sep="\t",header=F)
names(sims) <- c("type","element","length","similarity")
sims$type <- factor(sims$type,
levels = c("copia","gypsy","unclassified-ltr","trim","hAT",
"mutator","tc1-mariner","unclassified-tir"),
labels = c("Copia","G... |
c2bd952da133cc7809f7f3ff0626030a7e115a06 | 8aae37f4b346daa3afcc85e507bcaaa8af68de52 | /r analysis.R | 42f41b31be1061ec73276318b4421193846e1106 | [] | no_license | ElvinFox/R-scripts | d80ba5ef93ad4ca4952d5707793549e93fd7618a | 2dc3e12b409478c49bc37371fa6f077d6d397e97 | refs/heads/master | 2020-03-17T13:27:16.855652 | 2019-04-16T11:14:36 | 2019-04-16T11:14:36 | 133,632,330 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,926 | r | r analysis.R | df <- as.data.frame(HairEyeColor)
df1 <- as.data.frame(HairEyeColor["Brown",,"Female"])
chisq.test(df1)
library(ggplot2)
df <- diamonds
head(df)
df <- diamonds
main_stat <- chisq.test(df$cut, df$color)[[1]]
df <- diamonds
df$factor_price <- as.factor( df$price > mean(df$price) )
levels(df$f... |
65a87acd8feee6629b281605126ab910a65afd82 | 747b678e951172195f621fddc63d44c8a7da447e | /Lifespan_Expectancy_NL.R | f8b7b334d4dda887386d813a849003296d420129 | [] | no_license | MiaFia/NewPirates | a2654c706e910ef5bb44bc93feddb2cbfba9e0b1 | 2767e38fd4c8e716454b75a203c1621328aab3b1 | refs/heads/main | 2023-02-21T13:02:00.759533 | 2021-01-22T13:25:42 | 2021-01-22T13:25:42 | 330,686,526 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,474 | r | Lifespan_Expectancy_NL.R | library(tidyverse)
library(readr)
library('ggthemes')
Sys.setenv(LANG= "en")
#With the data file from the github we get life expectancy approximations from before 1800
early_life_expectancy <- read_delim("./Data/Social_High_Class_Life_expectancy_Middle.csv",
";", escape_doubl... |
f02b9ac1c9e8208d1aece53d718080a522f9796c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spatstat/examples/dilated.areas.Rd.R | 83a14bf9099961367fff8c62421863020ff8d771 | [] | 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 | 246 | r | dilated.areas.Rd.R | library(spatstat)
### Name: dilated.areas
### Title: Areas of Morphological Dilations
### Aliases: dilated.areas
### Keywords: spatial math
### ** Examples
X <- runifpoint(10)
a <- dilated.areas(X, c(0.1,0.2), W=square(1), exact=TRUE)
|
0a3d3beee08a6bc87768f8b6270dd4211bf0684e | 76b91c7efb58fc8f1aecbb55f96cfe90793e70d3 | /2018.data.for.analyses.R/2018 behavioral analyses/Scripts/2019.11.13.behavior.figures.MS.R | ebabe814981785d21db66f8f796b007307c97180 | [] | no_license | gcjarvis/Goby_reproduction_by_risk | ddcc0c5323a4242b5c7cff41fa7a9220a49e53b9 | 2e6a824d73af6ade268abee6e26f16315c4c3a90 | refs/heads/master | 2021-11-23T19:15:12.847560 | 2021-11-04T04:14:47 | 2021-11-04T04:14:47 | 168,737,188 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,135 | r | 2019.11.13.behavior.figures.MS.R | # Description: figures for MS, b&w
# Author: George C Jarvis
# Date: Wed Nov 13 21:19:41 2019
# Notes: will lay this out as a 5-paneled figure in PPT, aligning the x axes
# but having different scales on the y axes
# --------------
#clear workspace
rm(list=ls())
#library
library(ggplot2)
#loading data
behave<-... |
ee768ed59d16a42e4445dbb1e4bc1c7bc17d43e9 | d997593085e0a5a90b8c24347c1cdb34364feb08 | /Packages_HMK3/fish.summary/tests/testthat/test-cod_growth-values.R | c6b24c26d3b2db4288fe44c4ba9136db581f7491 | [] | no_license | nparker2016/Computing_Env_Sci | 859551fd00cf5d15f488b71d6609a0b760c30a51 | bc7239457fc82f2ac5a1189f123509d4c52269bb | refs/heads/master | 2020-03-15T01:21:54.122056 | 2018-06-07T04:07:26 | 2018-06-07T04:07:26 | 131,892,061 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 279 | r | test-cod_growth-values.R | context('Output validity')
test_that('cod_growth generates reasonable values',{
a <- -0.497
b <- .1656
c <- .08588
d <- -0.004266
expect_that(cod_growth(a,b,c,d)$Growth_Rate[10]<6, is_true())
expect_that(max(cod_growth(a,b,c,d)$Temp_C)<30, is_true())
})
|
5b92fdd3e50981c1c46608aa87e017adfefe92a7 | b4fb002b30e76436c5f4f1b5e0d6017bc5073067 | /R/lotame_hierarchy_nodes.R | ab675371ea15ecbe0f15e7faad8c25070739b8e6 | [] | no_license | jackpalmer/LotameR | 2f71aef459c69b4722adc41226fa8588c2732a42 | 222f3762e12a88d0910f1d57fe718dca08ce69a7 | refs/heads/master | 2021-01-11T22:30:04.744220 | 2017-12-18T21:28:13 | 2017-12-18T21:28:13 | 78,973,996 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,148 | r | lotame_hierarchy_nodes.R | #'@title Lotame Hierachy Search
#'@description
#'This function returns a data frame of hierarchies for the search term.
#'
#'@export
lotame_hierarchies_nodes <- function(search_query,
client_id,
hierarchy_category = "STANDARD",
... |
4275ed5956b3317c36721b87c2df2e7dd16f08af | b0b04900b0d2cded0f9d0eaddd832a94b62f92c8 | /scripts/36_cp_municipio.R | a6562e93bb669f1af84d99a1e5a73b0ab7750818 | [
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lsy617004926/BachasGertlerHigginsSeira_JF_replication | 85976f7202683a2ba10ff0fc623a3615eb483248 | bf71158ff85e148ac8e6d4b6b44258d2f7625026 | refs/heads/master | 2023-03-18T21:04:35.569326 | 2021-03-14T20:07:29 | 2021-03-14T20:07:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,222 | r | 36_cp_municipio.R | # Get data set with postal code and corresponding municipality
# PACKAGES
library(tidyverse)
library(data.table)
library(dtplyr) # Requires old version 0.0.3; code breaks with 1.0.0
# Install with remotes::install_version("dtplyr", version = "0.0.3", repos = "http://cran.us.r-project.org")
library(magrittr)
... |
006ee508a1b0bbc58e807c822846192a33d31733 | 29585dff702209dd446c0ab52ceea046c58e384e | /Weighted.Desc.Stat/R/w.cv.R | 469f3a3d2a9c26ae59e305af210a5a172e05371b | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 53 | r | w.cv.R | w.cv <-
function(x, mu) w.sd(x,mu) / w.mean(x,mu)
|
b915274adb3d205dc6e9f032323361f6eadd6ba6 | 599232817a2b3f186c3a8c1637dbc3f344c2be90 | /R/citygeocoder-package.r | 75ac9417402df34b46bcd8082ca39a217f9ab21d | [
"MIT"
] | permissive | cjtexas/citygeocoder | 01dc42d919228cc291ebbca28274b9785e22136d | 32b548a84def36f2ad6bad196a786f9e9dcc752b | refs/heads/master | 2021-07-06T23:19:11.132151 | 2021-01-14T17:15:36 | 2021-01-14T17:15:36 | 222,630,201 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 203 | r | citygeocoder-package.r | #' Standard and reverse geocoding for US cities/populated places.
#' @name citygeocoder
#' @docType package
#' @author Caleb Jenkins (@@cjtexas)
#' @import data.table
# @exportPattern ^[[:alpha:]]+
NULL
|
080ffc65b61a35ca5e483cc86778c569f580ba38 | 150d6d6b2d533356b6305fda45f5881d6d87923e | /Project1/Code/DataClean.R | 7de95ec4b374c3756443ba18ba6ec933b9daa7d2 | [] | no_license | zhwr7125/BIOS6624-zhwr7125 | 87eb947a83981f2b691de8c996c0881390a954d7 | 6052dbd00ffe78ee9781400dc9a26e845400d104 | refs/heads/master | 2020-09-27T01:37:55.309861 | 2018-12-10T22:11:37 | 2018-12-10T22:11:37 | 226,391,947 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,493 | r | DataClean.R | library(Hmisc)
library(knitr)
library(devtools)
library(Table1)
#To get Table1, please visit
#https://rdrr.io/github/palmercl/Table1/
#install_github("palmercl/Table1")
#But I made some revise to Table 1, therefore use Macro.R to mask it.
setwd("C:/repository/bios6624-zhwr7125/Project1/Code")
source('Macro.R')
#Rea... |
48d09d1775c714c5c2c9a5db589441e04bb4cfb9 | 89d23903ad3daf4bb7258091dacba54d3a12105b | /stats/MLMC-stats/server.R | b1b104b555ae55a3cfb9254112195f6dc2821ed0 | [
"ISC"
] | permissive | gringer/MLMC | 204502bb17137199cdd30e225fda1216aa8e4c33 | 20d24031ddda9115d974a85c3f98eaa49e94fa14 | refs/heads/master | 2021-01-20T18:54:55.932785 | 2017-03-24T01:57:36 | 2017-03-24T01:57:36 | 64,516,376 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,114 | r | server.R | ## MLMC statistics
## - Backend server -
library(shiny);
library(tidyr);
library(digest);
logOutput <- function(input, requestID){
if(!file.exists("../../logs")){
return();
}
## Don't destroy the App just because logging fails
tryCatch({
timeStr <- as.character(Sys.time());
if(!file.exists("../../... |
934095c8604feacde0f73ee86eae4a26cb42ba42 | c0b41f061f55ec6454ce72b4d803993a33f0c067 | /cs112 class-work 14.1.R | 5582db4c8f4d838685474667619b7eb8a360aff1 | [] | no_license | jccf12/r-minerva | b32e4a929abdcbf8001f70dc5a2ff1391ca97413 | 0936a28562448c9bd1b7fd06ac9a6f9a1f6c1130 | refs/heads/master | 2020-03-28T08:58:16.863587 | 2018-12-31T13:54:52 | 2018-12-31T13:54:52 | 148,003,673 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 213 | r | cs112 class-work 14.1.R | x <- runif(1000,-1,1)
y <- 5 + 3 * x + 2*(x >= 0) + rnorm(1000)
d <- x > 0
reg1 <- lm(y ~ x + d)
summary(reg1)
confint(reg1)
install.packages('rdrubost')
library(rdrobust); rdplot(y,x); summary(rdrobust(y,x))
|
4ad153d4e5c5f28685f3a4f0fe5d07964bab64de | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/unrtf/examples/unrtf.Rd.R | 604cdc94f4b691a2a20aa06f15d09b80d5720ef2 | [] | 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 | 283 | r | unrtf.Rd.R | library(unrtf)
### Name: unrtf
### Title: Convert rtf Documents
### Aliases: unrtf
### ** Examples
library(unrtf)
text <- unrtf("https://jeroen.github.io/files/sample.rtf", format = "text")
html <- unrtf("https://jeroen.github.io/files/sample.rtf", format = "html")
cat(text)
|
5bd4bc02cfb6df1c31e49afbb03baed36da2ab6e | 2431870ca07be400b3c82dcc790c4397182c77c0 | /run_stats_plots.R | c0940a6e77da941c21a704872c5527f1d29b0b7f | [] | no_license | misken/ebird_oaklandtwp | 4cf35e5aa1132afa947338da742812683e58c1a3 | 23eed7cfcb7f976d8ab3d9bd4f6d92a9f9fc256f | refs/heads/master | 2020-09-26T01:08:19.932618 | 2019-12-09T02:39:40 | 2019-12-09T02:39:40 | 226,129,092 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 313 | r | run_stats_plots.R | otbird_top_species(obs, 2017, top = 30, plotfile = './images/top30_2017.png')
otbird_top_species(obs, 2016, top = 30, plotfile = './images/top30_2016.png')
otbird_top_species(obs, 2015, top = 30, plotfile = './images/top30_2015.png')
otbird_top_species(obs, 2019, top = 30, plotfile = './images/top30_2019.png')
|
13cdaabf659a172c0e123e8d21b0f50dd901ed0c | eb1b93a0408d14d34774cec71ac193c727bddadc | /misc/isglobal.R | ee26a68d129cfdb77d59a1390f24cd252c660d94 | [
"MIT"
] | permissive | databrew/covid19 | cdd3fc196d2da5e078e0bc832308dfa083774fc7 | 816258d686fac6468f5468b96568ca55ad82a724 | refs/heads/master | 2021-02-27T13:58:50.624076 | 2020-08-22T14:31:20 | 2020-08-22T14:31:20 | 245,609,799 | 17 | 4 | NOASSERTION | 2020-03-29T15:03:47 | 2020-03-07T10:11:14 | HTML | UTF-8 | R | false | false | 4,073 | r | isglobal.R | library(covid19)
library(dplyr)
library(ggplot2)
a = plot_day_zero(countries = c('Italy', 'Spain'),
day0 = 150,
cumulative = TRUE,
time_before = 0,
max_date = as.Date('2020-03-09'))
a
ggsave('~/Desktop/isglobal/a... |
3dad4a7166c403749714b44f16cedb4cf581a938 | 43116d59e21907eadcbdac87f283c502eb7e9863 | /ansible-playbook/roles/setup_ansible_tower/README.rd | 96248a90d13e1ef8bc7d2f7974d9f74eda16f4d1 | [] | no_license | fossouo/ansible_docker | baa96b4721795404e341e84730297337c8985492 | 73e6b23a3776cb06734c53fda17ca405f2b20444 | refs/heads/master | 2021-01-13T09:59:09.971956 | 2017-05-26T16:04:27 | 2017-05-26T16:04:27 | 76,407,374 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,176 | rd | README.rd | ############### INSTALLATION OF ANSIBLE TOWER ###########
1. This role will install wget
2. it will download Ansible Tower (last release)
3. unarchive it in /etc/ansible-tower-setup-{{version}}
################## NEXT STEPS ##########
1. Edit the file inventory locate in the folder /etc/ansible-tower-setup-{{version... |
c715213aa3c8c96d22d0a1b8fd9021072482542e | 734139adf1cf7d01bba76488f16992913b8d9180 | /Data Wrangling Exercise 1.R | 359d9b9bda7f379c94db55c35c6a3b071450a2a3 | [] | no_license | mseeley3/Data_Wrangling_1.5 | 0d614bfed62b3f194f7d52f60c2afc50a2cd4ee2 | c57b36c25f5feba20f65daa806b5da9937e111b1 | refs/heads/master | 2021-01-20T18:52:23.417802 | 2016-07-26T03:10:37 | 2016-07-26T03:10:37 | 64,184,277 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,535 | r | Data Wrangling Exercise 1.R | #setup
getwd()
setwd("/Users/monicaseeley/Documents/R Files")
library(dplyr)
library(tidyr)
library(readr)
electronics <- read_csv("refine_original.csv")
View(electronics)
#spelling correction of "company" column
electronics$company[electronics$company == "akzo"] <- "AKZO7"
electronics$company[electronics$company == "... |
c56d1812b429bd3298e71ad0519b191c8decd98f | 7daf72d1abe4b13d1e26dc46abddfebcfc42d9e8 | /man/first.Rd | 139f57604af031fc743ff533b5a11160a2ce58fa | [
"MIT"
] | permissive | farcego/rbl | 6c39a7f2e63564c75860aa6a7887b2b49ffb73fb | b1cfa946b978dae09bf4d4b79267c4269e067627 | refs/heads/master | 2020-03-21T15:25:49.368438 | 2017-06-15T09:22:11 | 2017-06-15T09:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 363 | rd | first.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_pkgtools.r
\name{first}
\alias{first}
\alias{last}
\title{Return first or last element of a list of vector}
\usage{
first(x)
last(x)
}
\arguments{
\item{x}{a list of vector}
}
\description{
Return first or last element of a list of vec... |
5ce1971d61fd915d2419aba243c39168961d0319 | 5779497cbc0d0a735d9e67989f2342cacf811e13 | /magda/magda.R | b91b25edd7ae18c847589f421386e746affaa961 | [] | no_license | davidmokos/cuni-biostatistics-2 | a90cff18b3cd42d919c37e95046f500c2e050015 | 28bdc0343268a2c31e70cb58acfae85f3af5e04a | refs/heads/master | 2020-12-18T10:38:36.867205 | 2020-01-21T14:32:26 | 2020-01-21T14:32:26 | 235,350,201 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,632 | r | magda.R | #jednoducha analyza hlavnich komponent (PCA) na prikladu biometrickych dat o Spergula morrisonii
magda<-read.table("magda.txt",header=T)
head(magda)
mstand = decostand(magda,method="stand")
#poznamka: decostand pusobi jak na objektech typu matice, tak typu data.frame
#dulezite je, ze objekty nesmi obsahova... |
890931272ea774a56c74f90417075a42d1e90d45 | 36772829414c869ce25c07fa81b833bce48b0bbe | /Tutorials/Shiny/shiny_base_1.R | c31b92815ca490b42c211063a30f6ded0ae71d35 | [] | no_license | pole-national-donnees-biodiversite/metadata-training | a29d13a7d2a3cf80b95589c2d65362d312fd4a38 | 24974cc05bb09700770e15da8352642135c6cd51 | refs/heads/master | 2021-07-10T22:06:26.666039 | 2020-10-19T14:22:14 | 2020-10-19T14:22:14 | 211,280,538 | 1 | 0 | null | 2019-11-05T08:52:56 | 2019-09-27T09:09:44 | R | UTF-8 | R | false | false | 703 | r | shiny_base_1.R | library(shiny)
# Commençons simplement ! ----
# Shiny dispose de plusieurs "apps" exemples que nous pourrons décortiquer.
# Par exemple:
shiny::runExample("01_hello")
# Cette appli est assez simple et on devine assez bien les parties UI et server
# Plus particulier: un affichage en temps réel.
shiny::runExample("1... |
c2ca759fd3d81c4a8d2ea163858710d952e9e5eb | cd9cd8e93507bc17b2f08a2184e5fedfff55fbf7 | /03_analise_preditiva/aula03/AULA03_Arvore_Decisao.R | 2be7da6588264fb72793c976b280e8b5f9a93ce0 | [] | no_license | Matheusvfvitor/MBA | b7641dc995d98afb38101cf045cce8fc155817ca | d9b348f8f180629e6b2049a34bceee17a4a12886 | refs/heads/main | 2023-01-29T16:48:41.982857 | 2020-12-05T21:06:53 | 2020-12-05T21:06:53 | 318,882,844 | 0 | 0 | null | null | null | null | IBM852 | R | false | false | 12,158 | r | AULA03_Arvore_Decisao.R | #--------------------------------------------------------------------------------#
#--------------------------------------------------------------------------------#
# MBA EM BUSINESS ANALYTICS E BIG DATA
# ANALISE PREDITIVA
# AULA 4 - ARVORES DE DECISAO
#-----------------------------------------------------------... |
027d87e9f68609cfd621528610805c5336dcc19d | 57c5f5c154d88b1ad2f12c9bcfe049a29922f045 | /Brent Young_PREDICT 413_Final_Script.R | eee4e38309260799f2398e24fa00274300f02e13 | [] | no_license | brentdyoung/Dengue-Fever-Forecasting | 4f57b0d6aa3ec8ea752dffda8467e7ec5544d7a3 | 5cdac790432a710f2c75133a8a0f6251b6abf97e | refs/heads/master | 2020-06-01T05:29:45.586683 | 2019-06-06T22:18:53 | 2019-06-06T22:18:53 | 190,656,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,236 | r | Brent Young_PREDICT 413_Final_Script.R | #Final Project Code
#R Code
#Load the data & create time series
library(fpp)
library(tseries)
library(forecast)
library(ggplot2)
library(forecastHybrid)
library(opera)
library(dplyr)
library(corrplot)
library(zoo)
library(MASS)
library(reshape2)
library(mice)
library(VIM)
library(Hmisc)
library(forecas... |
25359f0a786e0fe61eed227bfd615fb78a1e9443 | 263cac0e728dbf7322afbef74aa8bdc556e58da1 | /lib/hpc/resource_usage/resource_usage_lib.R | 06e813ca0e0f8476952984f39736450d7e876917 | [] | no_license | Snitkin-Lab-Umich/prewas_manuscript_analysis | 2a354d83e543085c3ffe75322e4219790b57558e | 8bb999f6c180a83bddb7565b68ec0dfeb3dc6d33 | refs/heads/master | 2020-11-27T03:57:17.678196 | 2020-04-12T18:22:10 | 2020-04-12T18:22:10 | 229,294,473 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,499 | r | resource_usage_lib.R | # ------------------------------------------------------------------------------
# GetResourceUsage
# 2020/01/29
# Ryan D. Crawford
# ------------------------------------------------------------------------------
# Take a job id and return the Job Wall-clock time in hours and the Memory
# Utilized in GB as a numeric v... |
8c806edda4f6da45367ff7b54422410c08254364 | 80fa52e009448e8c2edbc692efc0e190635720c7 | /man/spectrumTable.Rd | ab17acf796fa5826998524721fcc23a028962f43 | [] | no_license | cpanse/plantGlycoMS | d0245b8fb260d6c22b2f7e35d3a5dab4d41b4498 | cdf07bb0649dec81b60c38e82442a262e15ca457 | refs/heads/master | 2020-03-21T09:10:40.641124 | 2018-02-16T02:10:58 | 2018-02-16T02:10:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 454 | rd | spectrumTable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plantGlycoMSFunctions.R
\name{spectrumTable}
\alias{spectrumTable}
\title{A function to calculate monoisotopic precursor mass}
\usage{
spectrumTable(input)
}
\arguments{
\item{input}{a csv file with one column named precursorMZ}
}
\descriptio... |
f113c79f6508ddf1b3de1489b42b9d07f5ace5d7 | 743fd0ca2f91341e70af3e703ad31592175d15d3 | /man/score.Rd | 07e6d2f8906222e9ca46e5c7e9c9049357337362 | [
"MIT"
] | permissive | jlaffy/scrabble | 3a518c119212b37571d1c4f843ea35a29ba8f5d1 | 77087a6becac12677ca5ba6d2a6a9f85a5afe226 | refs/heads/master | 2022-03-10T21:18:32.646221 | 2019-11-14T10:16:50 | 2019-11-14T10:16:50 | 191,061,663 | 3 | 5 | NOASSERTION | 2022-02-20T18:34:00 | 2019-06-09T22:29:07 | R | UTF-8 | R | false | true | 3,311 | rd | score.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/score.R
\name{score}
\alias{score}
\title{Score matrix columns for groups of rows}
\usage{
score(mat, groups, binmat = NULL, bins = NULL, controls = NULL,
bin.control = F, center = F, nbin = 30, n = 100, replace = F)
}
\arguments{
\item{mat... |
243f7272a38dbf620654896ff7c3599b4d760b47 | 6e00706c34f29f0aab07719b3fee50eec28abc5c | /R/delta_rel.R | f92d697f3e6f89a8dddc76b51257738e3d5d0f8e | [] | 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 | false | 459 | r | delta_rel.R | #' Interaction effect relative to the effect size for the total population
#'
#' Based on Alosh, Huque, Koch (2015)
#' @param HR_s HR in the Subgroup of Interest
#' @param HR_c HR in the Comparative Subgroup
#' @param HR_overall HR of the Overall Cohort
#' @return Interaction Effect Relative to the Effect Size f... |
147bd74e49ae85604f220aa6f62360bf0a16169f | f00f81057cbb435cfe42244ed367c07f04b5b452 | /plot2.R | db252e5d20ef2761771cd579db8061f13ba29099 | [] | no_license | sschanel/ExData_Plotting1 | 54c99ab2b8e86cbec98ea37723d2a295b6ccac97 | 4f517ef27660f8c28a7a20baa0ea490b5222e316 | refs/heads/master | 2021-01-16T19:52:35.413995 | 2015-09-13T17:21:52 | 2015-09-13T17:21:52 | 42,385,811 | 0 | 0 | null | 2015-09-13T06:10:47 | 2015-09-13T06:10:46 | null | UTF-8 | R | false | false | 420 | r | plot2.R | source("ExData_Plotting1/readTheData.R") # reads the data into household_power_consumption
# start a png file
png(filename="ExData_Plotting1/plot2.png", width=480, height=480)
# plot datetime vs global_active_power
plot(household_power_consumption$DateTime, household_power_consumption$Global_active_power, type='l', x... |
1a29e906dcfafa46f9a72afbccfdcbc468448912 | 401689f219dd46d826e534f7f275e90641223cd2 | /man/reconstructGRN.Rd | 329b4e4716222f8e0fd2450c2de95337d71efc3e | [
"MIT"
] | permissive | epaaso/epoch | d47a8acacf3e21bc269955dcc7b8740ea3163cfd | a59ece16a43b347f3ae176404f8fb909746fed85 | refs/heads/master | 2023-06-19T19:02:28.103690 | 2021-07-13T18:34:03 | 2021-07-13T18:34:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 609 | rd | reconstructGRN.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/1_GRN.R
\name{reconstructGRN}
\alias{reconstructGRN}
\title{reconstruct GRN ala CLR}
\usage{
reconstructGRN(expDat, tfs, dgenes = NULL, method = "pearson", zThresh = 2)
}
\arguments{
\item{expDat}{unsmoothed expression matrix}
\item{tfs}{vec... |
45999557e06aa79ac838fe0292d4b3f7a06b1287 | 9f85c1d7673d586d38475405c58abb9bd633a230 | /read.cps.R | 60595bfe26043a1f96a3dec4d4546e120ba776e3 | [] | no_license | hheelllloo/eitc_replication | c5b7f3087985ca0e0be13b9c8b3bc9110f5b52d5 | c1af5af8b1d501a893e054f5b2a21dbd8bdd6832 | refs/heads/master | 2020-03-27T23:47:06.017527 | 2018-09-04T21:46:56 | 2018-09-04T21:46:56 | 147,346,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,278 | r | read.cps.R | read.cps = function(cps) {
is_household = as.numeric(substr(cps[,1], 7, 8))
h_seq = substr(cps[which(is_household==0),], 2, 6)
hnumfam = as.numeric(substr(cps[which(is_household==0),], 23, 24))
hg_st60 = as.numeric(substr(cps[which(is_household==0),], 40, 41))
hccc_r = as.numeric(substr(cps[which(is_hou... |
f63fc54134fb3ea1565ef0e329221af2e2b19859 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /eive/inst/testfiles/cga_generate_chromosome/AFL_cga_generate_chromosome/cga_generate_chromosome_valgrind_files/1609871832-test.R | 05a7e822c80bbb695de0f354266057362f1e558a | [] | 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 | 503 | r | 1609871832-test.R | testlist <- list(vec = NULL, prob_vec = c(3.64479385580773e+88, 1.06525411223672e-306, 2.76394938498379e-306, 1.33490523347378e+241, -5.26664487232521e+173, 1.00532437556728e-231, -1.3867803071569e+234, 2.84286997340396e-306, 9.20102403264023e-311, 5.68221329302224e-304, 3.46847845393035e-308, 9.54172978829304e-314... |
b882b437d0017b6532c03df303bdcc428479dc3a | ed2892ae0541e9d56f3b234edab712a33a281fe4 | /R/k_kienerES.R | 5c74d5aef39ae58b9aa6f3e977f8246e6f96950b | [] | no_license | cran/FatTailsR | c88ccd7d54de67723afb36a652fca1767b4a4caa | 82796785ae65af40ea504c05710f447788afc88a | refs/heads/master | 2021-07-14T21:46:26.585015 | 2021-03-12T08:00:02 | 2021-03-12T08:00:02 | 21,838,335 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,534 | r | k_kienerES.R |
#' @include j_kiener7.R
#' @title Quantile (VaR) and Expected Shortfall Corrective Functions
#'
#' @description
#' Quantile functions (or VaR) and Expected Shortfall of Kiener distributions
#' K1, K2, K3 and K4, usually calculated at pprobs2 = c(0.01, 0.025, 0.05, 0.95, 0.975, 0.99),
#' can be expressed as:
#'... |
5d8e91753be68a42e922a7950e678119c40715a1 | a2486374afa095172e596aed81b16ea9788aa4ea | /machine-learning-ex3/ex3R/oneVsAll.R | 0916e28278454397f35f3b0ffa14cc0f327e2d52 | [] | no_license | jerryhsieh/Stanfor-Machine-Learning | 41bd0dbd95f5f2484d3b9967de451a38d909332a | f35658e5465596ff810536e1e822ae7c76b458b7 | refs/heads/master | 2021-01-10T09:06:18.649084 | 2017-02-27T01:42:19 | 2017-02-27T01:42:19 | 36,797,928 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,391 | r | oneVsAll.R | oneVsAll <- function (X, y, num_labels, lambda) {
#ONEVSALL trains multiple logistic regression classifiers and returns all
#the classifiers in a matrix all_theta, where the i-th row of all_theta
#corresponds to the classifier for label i
# [all_theta] = ONEVSALL(X, y, num_labels, lambda) trains num_labels
# logis... |
b535ff441d708db594e6188fc45c6b20bbea41b6 | c874e55ec73043f6b837601cc58d855d37649e59 | /mlcenzer/stats/morph_stats.R | 77467ab67c41942c6c4ec5545ccc6a0f30251731 | [] | no_license | mlcenzer/SBB-dispersal | 85c54c924b399834a798d700cabf0b2702ae0755 | 1a777370986f83186180552a09149dfba72b96d0 | refs/heads/master | 2022-12-11T10:13:32.416530 | 2022-12-03T16:23:52 | 2022-12-03T16:23:52 | 229,098,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,947 | r | morph_stats.R | rm(list=ls())
setwd("~/Documents/Florida soapberry project/2019 Dispersal/SBB-dispersal git/Meredith is working on/")
data_all<-read.csv("data/full_data3.csv", header=TRUE, sep=",", quote="", stringsAsFactors=FALSE)
data_morph<-read.csv("data/bug_morphology_flight-trials-Autumn2019.csv", header=TRUE, sep=",", quote="... |
f945158c6f9a742e69d8a4e1c5cb79d796c5d074 | f8fb2645b2bb7624b7c37c1adc7e456955dde8cd | /man/ly_image.Rd | f183c03eb79ff76e774727b2b3ab06b72a20689b | [
"MIT"
] | permissive | fxcebx/rbokeh | 94608202871cca2cb9271173ceb56be879e09a5e | 251a7f72832451ffceaad8a8d061d52c9b069049 | refs/heads/master | 2021-01-18T13:10:17.529497 | 2016-01-05T00:10:41 | 2016-01-05T00:10:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,001 | rd | ly_image.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/layer_image.R
\name{ly_image}
\alias{ly_image}
\title{Add an "image" layer to a Bokeh figure}
\usage{
ly_image(fig, z, rows, cols, x = 0, y = 0, dw = 1, dh = 1,
palette = "Spectral10", dilate = FALSE, lname = NULL, lgroup = NULL)
}
... |
a24a1f54b530617b849c20fc9fa7a034a6c09d75 | 8ae75ba8be59e47b20103c536b22e5d6df5ebbe4 | /man/srmsymc_read_setup.Rd | f3c54f4fbedbbb2cbd7112f443ef0683f09e8e1c | [] | no_license | AndyCampbell/msy | 361c9fbb82310611b5fbeaa14a998984f3711dbe | 107a0321e84edab191f668ec14cc392bd1da11e5 | refs/heads/master | 2020-12-03T05:19:51.796250 | 2014-11-13T18:37:57 | 2014-11-13T18:37:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 316 | rd | srmsymc_read_setup.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{srmsymc_read_setup}
\alias{srmsymc_read_setup}
\title{Read the srmsymc setup}
\usage{
srmsymc_read_setup(path)
}
\arguments{
\item{path}{The path to the directory that stores the srmsymc results}
}
\description{
Reads the setup from the srmsymc.dat file
}
|
f3cee86981e60534740a593ec87aede32291c8b0 | 84bc15d548ca9a86696cf329fb037d7909eab88c | /tests/testthat/test-crosswalks.R | 2cea07cdd682f72fc279795b400a36f4b698f61f | [
"MIT"
] | permissive | tdjames1/dataspice | b89d84006497979017b2c9fe715c4d66da81c8a3 | 26f76857c7cda7471c13a89465b6b4fcd8fa03de | refs/heads/main | 2023-04-24T01:30:27.690311 | 2021-03-25T07:03:35 | 2021-03-25T07:03:35 | 364,992,372 | 0 | 0 | NOASSERTION | 2021-05-06T17:47:26 | 2021-05-06T17:47:25 | null | UTF-8 | R | false | false | 609 | r | test-crosswalks.R | context("crosswalks")
test_that("test crosswalk_datetime", {
expect_equal(
crosswalk_datetime("FOO"),
list(calendarDate = "FOO", time = NULL))
expect_equal(
crosswalk_datetime("1990"),
list(calendarDate = "1990", time = NULL))
expect_equal(
crosswalk_datetime("1990-01-01"),
list(calendarD... |
85f21cce9f87d544c28e66d2959af66f46910acd | 0d1fec9f827ee26b046d387689a5042e8adc8c76 | /run_analysis.R | 19083498049ab29a6fcde3982009eeb818aa67ac | [] | no_license | mzamyadi/Coursera_Getting-and--Cleaning--Data | 4e3a28ac28decda75636608243318aad74929712 | 3c1d729440070aa2dd9c4b6968624995487a2f2b | refs/heads/master | 2023-04-21T02:46:30.981975 | 2021-05-05T21:31:24 | 2021-05-05T21:31:24 | 364,586,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,091 | r | run_analysis.R | # Coursera's "Getting and Cleaning Data" Course Project
# Author: Mojdeh Zamyadi
# This R script performs the following:
# 1. Merges the training and the test sets to create one data set.
# 2. Extracts only the measurements on the mean and standard deviation for each measurement.
# 3. Uses descriptive activity names... |
c3754efd4926c03050b38de3ff79655a5760178c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/HMP/examples/MC.Xmcupo.statistics.Rd.R | 84732ff033c0fc8c48c7751011e1f98d7fae0e34 | [] | 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 | 1,257 | r | MC.Xmcupo.statistics.Rd.R | library(HMP)
### Name: MC.Xmcupo.statistics
### Title: Size and Power of Several Sample RAD-Probability Mean Test
### Comparisons: Unknown Vector of Proportion
### Aliases: MC.Xmcupo.statistics
### ** Examples
data(saliva)
data(throat)
data(tonsils)
### Get a list of dirichlet-multinomial parameters for t... |
e26cf0c3d8e5358a8c5aa4ad47387d387f126e0e | 201398772b3822744c6fb77529880ca974a795fb | /man/coloc-class.Rd | b558fd1f5a71ae2e9eae81162927d578fc51139d | [] | no_license | Hui-Guo/coloc | bbcfe99c2a38015f47e8bd537279af638b12b790 | 4904d3b2a9fb674759ba7ab7b54395698ecbbd58 | refs/heads/master | 2020-12-11T03:25:56.651519 | 2013-12-09T11:34:09 | 2013-12-09T11:34:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,240 | rd | coloc-class.Rd | \docType{class}
\name{coloc-class}
\alias{coloc-class}
\alias{colocBMA}
\alias{colocBayes-class}
\alias{colocBayesBMA}
\title{Classes \code{"coloc"} and \code{"colocBayes"}}
\description{
Classes designed to hold objects returned by function
\code{\link{coloc.test}} which performs a test of the
null hypothesis th... |
7b651a07d2c9ac95995beb84c4ce9e7f28ac3ca4 | 519578112ec38f95e7c9ec28543b1963b8639f1b | /man/filter_dups_.Rd | 3387fef65e5bf0022a0f75bf8cda7d2463e81349 | [] | no_license | pachevalier/tricky | 62416b2686493c569967c76d98deb2f5215d60a7 | b9e58e962d773984b8bc389fe1c3a8e4f53944c1 | refs/heads/master | 2020-05-29T12:28:26.514050 | 2018-04-10T12:00:26 | 2018-04-10T12:00:26 | 44,686,532 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 575 | rd | filter_dups_.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tibbles.R
\name{filter_dups_}
\alias{filter_dups_}
\title{Filter duplicates}
\usage{
filter_dups_(.data, .groups)
}
\arguments{
\item{.data}{a data frame}
\item{.groups}{a grouping variabme}
}
\value{
a data frame
}
\description{
filter_dups... |
afda36307eb061fe69acfc2f1fa36d95e9061db1 | 997294803275aa3441464fe804e30e616f765651 | /man/transfer_bin_raster.Rd | 38bb2a369e5f5a6cc59c6038c77a3fe0e9c04acd | [] | no_license | cran/geoTS | ce24c3ebc3b6bc40ee9897da9483b4f151d9ecba | f66e073e8182bbbde505767b0bcaa9ff5fb4e442 | refs/heads/master | 2022-11-24T13:58:19.461113 | 2022-11-17T17:10:18 | 2022-11-17T17:10:18 | 245,601,719 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,008 | rd | transfer_bin_raster.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transfer_bin_raster.R
\name{transfer_bin_raster}
\alias{transfer_bin_raster}
\title{Transfer values from a binary image file to a raster file}
\usage{
transfer_bin_raster(
inputPath,
outputPath,
master,
what = integer(),
signed = TR... |
d2f1eea5926b0de5e53e308abc81f20112ebc42f | f8302d2843f1cc1f831c9c040b4ef992418d4a2b | /ClubLectura_R4DS_Sesion4_2021-06-24/Scripts/ClubLectura_R4DS_Sesion4_Cap21.R | 3b4d15e3b29d7b2e7d659b71b3f71c5d429a39eb | [] | no_license | rladies/meetup-presentations_galapagos-islands | fc640d9d3c92382baceeb0f1224eef9ca2904bfb | 04e10005274139102ba71e85545e791580f2bdce | refs/heads/master | 2022-07-25T17:44:06.779368 | 2022-06-21T22:47:13 | 2022-06-21T22:47:13 | 231,669,176 | 7 | 5 | null | null | null | null | UTF-8 | R | false | false | 11,694 | r | ClubLectura_R4DS_Sesion4_Cap21.R | ###########################################################################
#Club de Lectura:
#R para Ciencia de Datos (Wickham y Grolemund)
#R-Ladies Barranquilla, Galapagos, Guayaquil y Milagro
#
#Sesion 4: Capitulos 21 (Iteracion)
#Script por: Denisse Fierro Arcos (R-Ladies Galapagos)
###############################... |
e0dc3a4f92a96d36474433abacf698d2f6e0899d | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /segmenTier/R/RcppExports.R | d0c965f0385181c14e4c64f9da3b220eacfcb075 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,449 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' Pearson product-moment correlation coefficient
#'
#' Incremental calculation of the Pearson correlation coefficient between
#' two vectors for calculation within Rcpp functions
#' \code{\lin... |
da63a15117ce8febe27bc8dffc7fb7aff6dd1672 | 49ff0bc7c07087584b907d08e68d398e7293d910 | /mbg/mbg_core_code/mbg_central/LBDCore/R/plot_other_params.R | 77ae40d5ebc78e296f14c6c2f84a2eef677389cf | [] | no_license | The-Oxford-GBD-group/typhi_paratyphi_modelling_code | db7963836c9ce9cec3ca8da3a4645c4203bf1352 | 4219ee6b1fb122c9706078e03dd1831f24bdaa04 | refs/heads/master | 2023-07-30T07:05:28.802523 | 2021-09-27T12:11:17 | 2021-09-27T12:11:17 | 297,317,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,106 | r | plot_other_params.R | #' @title Plot other parameters
#' @description Create a plot of other parameters from INLA fit
#'
#' @param model_results table from [whatever]_model_results_table.csv
#' @param other_params names of other parameters (not stackers)
#' @return ggplot object plotting parametersby region
#' @examples
#' \dontrun{
#' # Pl... |
c37e2fc374cc1aa777b24bc72e70eee1c9c9fe39 | 29585dff702209dd446c0ab52ceea046c58e384e | /Stem/R/d2_Sigmastar_logb.exp.R | 052278dc8f0446c25324225cea08bfcea13a632d | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 93 | r | d2_Sigmastar_logb.exp.R | `d2_Sigmastar_logb.exp` <-
function(logb,d) {
d2 = diag(exp(logb),d)
return(d2)
}
|
1530b6b68d013b2dad97c8a6d178e3255fb42714 | c8562cbb51164d7c1d3c50ed3b8455fb60c7f90a | /R/data.R | f7966432fa637eb9d69cc654e39e128d6379403d | [
"Apache-2.0"
] | permissive | maciejsmolka/solvergater.solvers | 5de6f7e96c2d3a48bba414968a9c170735bf80cd | a95a58235faaed7a2973856a0792a3b6bffad0f3 | refs/heads/master | 2023-02-12T23:08:25.241772 | 2021-01-15T18:30:56 | 2021-01-15T18:30:56 | 307,970,112 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 757 | r | data.R | #' Data for MT problem
#'
#' @format A list with the following components:
#' \describe{
#' \item{nparams}{number of parameters;}
#' \item{nqoi}{number of quantities of interest;}
#' \item{max_iter}{maximum (sensible) number of iterations;}
#' \item{precision_levels}{available precision levels sorted from the m... |
b9d572ea8130bd32493ae0b9727862b1502e0e4e | 9e8936a8cc7beae524251c8660fa755609de9ce5 | /R/data.R | 41b778416b92fc1662af07c1350bbdd3589808b0 | [
"MIT"
] | permissive | tidymodels/parsnip | bfca10e2b58485e5b21db64517dadd4d3c924648 | 907d2164a093f10cbbc1921e4b73264ca4053f6b | refs/heads/main | 2023-09-05T18:33:59.301116 | 2023-08-17T23:45:42 | 2023-08-17T23:45:42 | 113,789,613 | 451 | 93 | NOASSERTION | 2023-08-17T23:43:21 | 2017-12-10T22:48:42 | R | UTF-8 | R | false | false | 355 | r | data.R | #' parsnip model specification database
#'
#' This is used in the RStudio add-in and captures information about mode
#' specifications in various R packages.
#'
#' @name model_db
#' @aliases model_db
#' @docType data
#' @return \item{model_db}{a data frame}
#' @keywords datasets internal
#' @examplesIf !parsnip:::is_cr... |
75ab7ad56e6a5c8dc2edb8263572b358320a8ad8 | 53de60b485e5642bd1cc7634eaa8b7bf04caeb27 | /code/network_visualization/global_plots/g_create_ggplot.R | e34ebb7fe73e742618991c23bf8f7d9147a27018 | [] | no_license | wallingTACC/sdfb_network | 4061ae0fafef695d189fe13b97b14c66863b8ecf | 38649a628c1f834767b1c14bdb4402863f5f325a | refs/heads/master | 2020-04-05T23:11:51.984616 | 2017-01-30T17:52:27 | 2017-01-30T17:52:27 | 60,351,123 | 0 | 1 | null | 2016-06-03T13:48:46 | 2016-06-03T13:48:45 | R | UTF-8 | R | false | false | 7,565 | r | g_create_ggplot.R | #@S Code that extracts data from given coordinate file (graphvis text output)
#@S and generates ggplot object.
# TODO: Eventually split this into multiple parts?
# must load in vector of names from some source, that match IDs.
# Old settings?
# edge.weight.range <- c(0.5,1.5) ##Controls amount of edge ink
# n... |
ebca3274b66da3f61698c5bbb1bdfc3f69d49c56 | b4df3231200267fcaac105d9a554ac489d2a3984 | /man/datecols.Rd | b42c21bf1973d72df5b7c8ad704ced51ebede1a7 | [] | no_license | byadu/libcubmeta | 9e9736347db7f95504b5696b595fdafd93bac19c | 166040c8bf8b7af586f3d35d43af689b64c17b66 | refs/heads/master | 2022-11-19T18:12:37.639065 | 2020-07-20T11:22:02 | 2020-07-20T11:22:02 | 279,065,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 394 | rd | datecols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/db.R
\name{datecols}
\alias{datecols}
\title{datecols}
\usage{
datecols(dbconn, tab)
}
\arguments{
\item{dbconn}{is the database handle}
\item{tab}{is the table for which columns are required}
}
\description{
Get the date columns in a table ... |
c5ec3561d40ca154e64445534a392fe68bd660dc | 8c9a6e668b6f6ce94167a21554c4175cb57465fd | /WAV_timeval_7292018.R | 680646edf30cec22fd176a4a61f4f9ef9147c64a | [] | no_license | eafinchum/wav | 9576016ee7f30aa2e5efb3f68a1e0873b93eaa10 | 8ccc4ace1c0bd31ba33fccfb55d662ead91b5783 | refs/heads/master | 2020-04-22T05:51:24.368397 | 2019-02-11T17:20:11 | 2019-02-11T17:20:11 | 170,169,786 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,986 | r | WAV_timeval_7292018.R | library(readstata13)
library(ggplot2)
library(dplyr)
library(knitr)
library(tidyr)
xd <- read.dta13('WAV_HH_PANEL_MOD_8.02.17.dta')
xd1<- xd %>%
filter(in_both_waves=="panel") %>%
mutate(treatcondition = ifelse(survey_treatment==0 & in_kbk=="Non-KbK", "Control",
ifelse(survey_trea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.