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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
327581dc4a9840fa476c0e7b7c02d881798ee5fd | 6f44fa8b69db185adad4fdd568141ab31aa9193f | /man/fitSubmodels.Rd | 4bec5422f6eedddeb897a105fd8aceadf2c03735 | [] | no_license | cran/semtree | c3df84fa4f712c299f18c68b4cd0f25731edd67f | b542f84cac056c4fa0c04f6c8475d6154edeac8b | refs/heads/master | 2022-06-03T00:39:18.868941 | 2022-05-13T19:20:02 | 2022-05-13T19:20:02 | 76,660,595 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 839 | rd | fitSubmodels.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fitSubmodels.R
\name{fitSubmodels}
\alias{fitSubmodels}
\title{Fit multigroup model for evaluating a candidate split}
\usage{
fitSubmodels(
model,
subset1,
subset2,
control,
invariance = NULL,
return.models = FALSE
)
... |
2745f8e644fd4e61b68d27492142c98d3717ce79 | 6830bb160593902fa71f49947d7aaa8aaf3c7f7a | /gdp-difference-teaching.R | 1ce760436e7a8e7b78ae7db24603eea276571ed3 | [] | no_license | egalion/rsnippets | 2a682c77176a845bf579bf24cd4cfd27f494c7ed | 3d9ec01823ba9826d8da423dc0a2195173b818f9 | refs/heads/master | 2016-09-15T16:52:04.409196 | 2016-05-23T16:56:19 | 2016-05-23T16:56:19 | 40,814,186 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,615 | r | gdp-difference-teaching.R | rm(list = ls())
library(tidyr)
library(ggplot2)
library(gridExtra)
library(scales)
growth <- as.data.frame(matrix(1, ncol = 3, nrow = 55))
head(growth)
growth$V1 <- seq(1:55)
attach(growth)
growth <- transform(V1, country1 = 1000*(1+0.1)^V1,
country2 = 10000*(1+0.05)^V1)
detach(growth)
colnames(gr... |
8a45809a58d2d665a58f3a8a8259db7aa2324b4f | 1f8d064f98fce1cb7a1e39a6223aec20dbeed5d3 | /man/ematrix.nhm.Rd | 8f5e9f5ba5f4a406c691894989ad4b16b0c67baa | [] | no_license | cran/nhm | c2234b2c9c698fa021ea31af9238c34ba11aaab3 | d77273020ba895b337f3d304886e72a7d8aff09e | refs/heads/master | 2020-12-22T01:37:56.389788 | 2019-10-11T08:10:05 | 2019-10-11T08:10:05 | 236,631,983 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,264 | rd | ematrix.nhm.Rd | \name{ematrix.nhm}
\alias{ematrix.nhm}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Compute the misclassification probability matrix from a fitted nhm model
}
\description{
Outputs the matrix of misclasification probabilities in a misclassification type hidden Markov multi-state model fitted u... |
085db0750920856aa97b6516797b9a4f5b995486 | bb0fb51530335b10a2e64557fb6c950be61b7968 | /Rscripts/5.2.createOverviewDF_HCV_2.ref.R | 4baefae7b4b970678e8a62afc26f36447030d522 | [] | no_license | kahot/HCV_project | bd0450d07c84906b13b3cf6b442de68cdc7f3e44 | 0047c945f9f1522ebbda2b1cb3adf7742ce01a9e | refs/heads/master | 2022-03-24T06:01:24.189668 | 2019-12-16T17:13:03 | 2019-12-16T17:13:03 | 187,297,639 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,328 | r | 5.2.createOverviewDF_HCV_2.ref.R | #Script to create an overview files with mutation frequency data and their associated features
#(mut freq/features calculated based on Ref NT, Results=Overview2)
library(dplyr)
library(tidyverse)
source("Rscripts/baseRscript.R")
#Get the file names (SeqData files)
HCVFiles_SeqData<-list.files("Output1A/SeqDataQ35/"... |
07f8526de78e4510b559bc995f3d996e95f056e3 | eb4af2a181e073c9752385cccbbe5495709d2c1a | /precise_value/R/model_parameters.R | dd31287d383e45a9974e450a468346d622e726e6 | [
"MIT"
] | permissive | ndhendrix/precise-value | d50d029d6d7c9de48e603bce8d8f45e36d2f8a52 | a7c30631982af34e2c6006334a51bf77ae0f21f2 | refs/heads/master | 2022-05-31T05:13:40.208643 | 2022-05-16T23:03:46 | 2022-05-16T23:03:46 | 246,849,108 | 0 | 1 | null | 2022-05-13T18:15:24 | 2020-03-12T14:02:26 | R | UTF-8 | R | false | false | 3,128 | r | model_parameters.R | # Fixed model parameters
# Last updated: 01/12/21
#discount
discount <- 0.03
## Benefit pattern. Joyce updated on 01/12/2021
# Prevalence of CYP2C19 variants: Poor metabolizer and Intermediate metabolizer.
p_clo_a <- 0.5394
p_clo_b <- 0.3900
p_clo_w <- 0.3818
# Prevalence of CYP2C9, CYP4F2, VKORC1 variants. Updated... |
3fdc017a9d925c8b691db4aa8b410607c4942ef2 | d45bc588dbbee43609f67712791b984ae6224c07 | /10-adam_functions.R | f6f16e3cf9e632b0d1f8e2195316f19e13f8cd02 | [] | no_license | patyk11/RkaKrakCompetition2 | 6a0b4f71019d7e1711d9b1a7d2140ede86972ebe | 59472d93fa09bf72d9325d98cb269df7b1e0e8ff | refs/heads/master | 2021-01-16T21:07:56.355392 | 2016-08-07T18:26:46 | 2016-08-07T18:26:46 | 64,416,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,730 | r | 10-adam_functions.R | check_method_different_stop_times <- function(DT_fun) {
DT_testing <- copy(DT_fun) # copying to avoid issues with data.table references
# means for shrinked data set, second possibility: take values from not shrinked DT and save them
questions_means_shrinked_dt <- DT_testing[, lapply(.SD, mean, na.rm =... |
f2f78c70532b8450805b5d803356c0ccc03bac2f | 24944f7d1dfe96cd14016b6c3143c24a8d7b802b | /AMS PA Paper/FigureCode/Procrustes Rotations to compare intra- and inter-party NOMINATE.R | 24ad92be276e97c51a95ae92a34da3125608b4e2 | [] | no_license | ballardao/RCDim | 19f720df46fbae0502f93a04a0ab440ce2145a9c | 229cc0fa4608a9d28fcc64a4b2aac3f436fdea70 | refs/heads/master | 2020-12-24T17:54:46.404030 | 2018-05-18T04:25:58 | 2018-05-18T04:25:58 | 27,838,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,693 | r | Procrustes Rotations to compare intra- and inter-party NOMINATE.R | rm(list = ls())
setwd("~/Dropbox/Dimensionality/PAFinal/")
#################
# Load packages #
#################
installPackages <- FALSE
toInstall <- c("mvtnorm", "pscl", "wnominate", "ggplot2", "arm", "snow",
"oc", "MASS", "akima", "vegan",
"plyr", "fields", "foreach", "multicore",... |
9a40ed8a8b29ff2133ce2aff8d979bcecc3fc62e | 8b6b6b11a2e720daeeb7ca26309dea7110e67901 | /R/falling-limb.R | 711213daedd0b4213bebf468ac93d16e34f3dacf | [] | no_license | tbradley1013/dwqr | 2f10a3fdcac882aad32e8a83ece67af883aea4b2 | f94c1b4114a2197a6a898523a1003cb131999eea | refs/heads/master | 2023-01-13T00:07:25.981734 | 2023-01-08T03:29:29 | 2023-01-08T03:31:00 | 150,794,592 | 1 | 0 | null | 2023-01-08T03:27:40 | 2018-09-28T21:06:06 | R | UTF-8 | R | false | false | 5,081 | r | falling-limb.R | #' classify the falling limb of chlorine trend
#'
#' \code{falling_limb} use the first and second derivative of a
#' time series slope to classify portions of it as the falling limb
#' of the curve
#'
#' @param data a data frame with chlorine residual results
#' @param method the method used to classify the falling lim... |
0afc5d34780f754043a219f5c93c20a44727d856 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sharpshootR/examples/plotSoilRelationChordGraph.Rd.R | 4b2c54f85abd2c199798c07c653c9aac249f75fe | [] | 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 | 329 | r | plotSoilRelationChordGraph.Rd.R | library(sharpshootR)
### Name: plotSoilRelationChordGraph
### Title: Vizualize Soil Relationships via Chord Diagram.
### Aliases: plotSoilRelationChordGraph
### Keywords: hplots
### ** Examples
## Not run:
##D data(amador)
##D m <- component.adj.matrix(amador)
##D plotSoilRelationChordGraph(m, 'amador')
## End(Not... |
980e96dc70d2951046284cd89ee42b5aa8fa1048 | d123ea08fcb9291515e9180ea98ba4c897bbb835 | /man/std_in.Rd | af807d996b5881acbf17c33b77538e277aaf8096 | [] | no_license | cran/SSSR | 33e04f0e52c4e704f232563b4034979d0e2681b3 | dec2dec99f9deede4fa033d0cc025204ede7ccc5 | refs/heads/master | 2020-05-17T03:50:43.143096 | 2011-07-27T00:00:00 | 2011-07-27T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 159 | rd | std_in.Rd | \name{std_in}
\Rdversion{1.1}
\alias{std_in}
\docType{data}
\title{
std_in
}
\description{
A public variable that stores the data came from STDIN device.
}
|
809ea3ba2de9bfc573cf3fe3d0a430a13a7e7797 | b0756c2b2fe8d84ebe08e6f6366302154631a16d | /R/kmciFunctions.R | 765b98dc4c105a8585a3349e7b8e5dd128c00a5e | [] | no_license | cran/bpcp | 3bd9ec222e7bfebef44657e7bf5a4fe332263efd | 8a4c3eee0e16a13c0af564e326dfd35f5a4469e4 | refs/heads/master | 2022-05-01T09:05:24.289735 | 2022-03-11T22:10:11 | 2022-03-11T22:10:11 | 17,694,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 57,873 | r | kmciFunctions.R | ### this file contains most of the functions
### for the kmci package
# uvab: take mean and var of Beta, get back beta parameters
# u,v may be vectors
uvab<-function(u,v){
a<-u^2 * (1-u)/v - u
b<-u*(1-u)^2/v -1+u
a[u==1 & v==0]<-1
b[u==1 & v==0]<-0
a[u==0 & v==0]<-0
b[u==0 & v==0... |
693ca1c43956c09c5e40e1bdcfdb786da86ab17c | 049b6e37472c3d460bb30911cd7d470d563c612d | /man/ti_phenopath.Rd | 1442eb3bc2d4bba8112dfe1516d2d557a451c125 | [] | no_license | ManuSetty/dynmethods | 9919f4b1dc30c8c75db325b4ddcd4e9ada5e488b | 337d13b7a6f8cac63efdeb0d06d80cd2710d173d | refs/heads/master | 2020-03-21T11:34:35.406210 | 2018-06-24T20:25:50 | 2018-06-24T20:25:50 | 138,512,485 | 1 | 0 | null | 2018-06-24T20:16:12 | 2018-06-24T20:16:11 | null | UTF-8 | R | false | true | 2,042 | rd | ti_phenopath.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ti_phenopath.R, R/ti_container.R
\name{ti_phenopath}
\alias{ti_phenopath}
\alias{ti_phenopath}
\title{Inferring trajectories with PhenoPath}
\usage{
ti_phenopath(docker = dynwrap::test_docker_installation(), thin = 40,
z_init = "1", model_m... |
d82c3e9e1a78128113e96a91d4dac094f6846be0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/VLF/examples/vlfFun.Rd.R | 6e0fcf074a643a23622a5bd7e69e075b580b1523 | [] | 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 | 202 | r | vlfFun.Rd.R | library(VLF)
### Name: vlfFun
### Title: Nucleotide VLF Assessment Function
### Aliases: vlfFun
### ** Examples
## Not run:
##D data(birds)
##D bird_vlfAnalysis <- vlfFun(birds)
## End(Not run)
|
b4f79c31c101a1acaacd2cdc43a39f79e68f2605 | 55b430f8b24f521dc5860413c1bc607cda807049 | /webapp/run.R | d61a898a1ffefdd3d30ab606562370b14c3139d4 | [
"MIT"
] | permissive | alan-turing-institute/DetectorCheckerWebApp | b4480ca58d1d37585c4931926200d1751ade31c7 | 68b802907d6b07ae5154c0979c8adfce65b56348 | refs/heads/master | 2021-06-26T16:42:36.017045 | 2020-11-30T09:35:16 | 2020-11-30T09:35:16 | 147,701,683 | 2 | 0 | MIT | 2020-11-30T09:35:18 | 2018-09-06T16:24:47 | R | UTF-8 | R | false | false | 170 | r | run.R |
source("global.R")
source("ui.R")
source("server.R")
source("gui_utils.R")
shiny::runApp(
appDir = ".",
port = 1111,
host = "0.0.0.0",
launch.browser = FALSE
)
|
fd8514396ccaa43f98943bd35903b4ee13754752 | 6fe9e93d478301e087b8af377f4ae39f1da75724 | /plot4.R | 538ae2f5858e7a21e133eb1a9cb335fa58078ee8 | [] | no_license | cshelley/ExData_Plotting1 | c5c8537e65c317fc282e560f7327c9dda0a327af | 3c10a2b7e9efe209f0c55009f4f4073a2c86e7e3 | refs/heads/master | 2021-05-29T01:00:05.118960 | 2014-09-04T23:10:27 | 2014-09-04T23:10:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,892 | r | plot4.R | #### Read in only relevant subset of data set
file<-"household_power_consumption.txt"
power <- read.table(file, header = TRUE, sep = ";", stringsAsFactors=FALSE)
power$Date <- as.Date(power$Date, format="%d/%m/%Y") # Convert $Date into searchable dates
power$Time <- strptime(power$Time, format="%T") # Conv... |
15c93596fee268b3c4fe94e71b29ed12f5324663 | b0b3634623fad77cde5f77b19d40db6eb048c7e8 | /man/post_Gauss.Rd | 493deb981893a119ae6bee8a92baf650e5965d23 | [] | no_license | sgolchi/sepsis | 4a7a3c2ce7606df23fe8d5e7840bf5e3571a0edb | 45259dd6ea2a33a49313f34e38bd5e52dbe54f7c | refs/heads/master | 2023-01-24T00:12:27.800592 | 2020-11-28T17:08:32 | 2020-11-28T17:08:32 | 291,101,741 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 718 | rd | post_Gauss.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim_funs.R
\name{post_Gauss}
\alias{post_Gauss}
\title{Closed form Gaussian Posterior}
\usage{
post_Gauss(yb, xb, prior, ysd)
}
\arguments{
\item{yb}{vector of new responses, length equals number of patients in the most recent batch}
\item{x... |
8fdecfa512d22389d5a0d4cec865cad81368d424 | 96ef61c09bbccb62d8dda37d7b680c0f2e4f0322 | /R/mixing_distribution_predictive.R | 7043aef506486c6e9468a81185c8e377799a17f6 | [] | no_license | cran/dirichletprocess | c8115fa9572799c5cb585054e8ddbaa68c2296ce | 862545127839b7404b8de7082c1ffaba5a21028c | refs/heads/master | 2023-03-15T13:22:38.733647 | 2023-03-10T10:50:02 | 2023-03-10T10:50:02 | 119,422,815 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 245 | r | mixing_distribution_predictive.R | #' Calculate how well the prior predicts the data.
#'
#' @param mdObj The distribution
#' @param x The data
#' @return The probability of the data being from the prior.
#' @export
Predictive <- function(mdObj, x) UseMethod("Predictive", mdObj)
|
0f11fe7b8562204b6571b83a81128e5164182d28 | 9b469a38a8a26dce43e8d9eb820140bf90241210 | /Exploratory Data Analysis/Project 2/plot2.R | a463e08e2a2a35dfb008dab44acfa8b5ac5eea0b | [] | no_license | KDThinh/R-Programming | e4485756230f8fdb03a1824f8f4eb70601e129a1 | 7eabd4a4fba70037747e89c2819abe7a3b2ef9e0 | refs/heads/master | 2021-01-01T18:23:09.238087 | 2015-06-21T11:37:54 | 2015-06-21T11:37:54 | 26,592,418 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 777 | r | plot2.R | #This script is for Q2 in Exploratory Data Course - 2nd project
#Have total emissions from PM2.5 decreased in the Baltimore City, Maryland
#(fips == "24510") from 1999 to 2008? Use the base plotting system to make
#a plot answering this question.
#Create a subset dataframe contains only data for fips == "24510" (Ba... |
5df4c00954ce2d7004ec78b6e9d2cc3c0c61853c | c49197d22ea4788802e64b837e639a0085fcc4c6 | /man/sann_generate.Rd | 038d42d5bc23e7ba079a2c73827dd714c1ea3a49 | [
"MIT"
] | permissive | stevehoang/pbayes | 3559bc112fda5875f1fb7f4ae8495b43845ff1fd | 62611a3c2e60243e792bdf2043bbfab0f5b902a3 | refs/heads/master | 2021-09-06T05:10:25.443028 | 2018-02-02T16:33:49 | 2018-02-02T16:33:49 | 104,502,287 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 299 | rd | sann_generate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sann_generate.R
\name{sann_generate}
\alias{sann_generate}
\title{Generate a new point for simulated annealing}
\usage{
sann_generate(...)
}
\arguments{
\item{...}{The arguments to the negative log likelihood function}
}
|
e91a24c2bbc74bf73571f5c503ce81e3a0dc737b | d09c16a6dc4452160ef777cc3346eb08b8eb4caa | /man/Diversity.Rd | 59f61c46c45bfb53912800b549c8608310f7bd57 | [] | no_license | JohnsonHsieh/SpadeR | 978f72b52e9c46e0029f82e129dc07c7b9dc4763 | 7501ce163ef187450b7e907352ea91d79f920ae2 | refs/heads/master | 2021-01-18T15:08:32.482927 | 2015-07-07T09:24:52 | 2015-07-07T09:24:52 | 38,677,027 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,030 | rd | Diversity.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/spader.R
\name{Diversity}
\alias{Diversity}
\title{Etimation of species diversity}
\usage{
Diversity(X, datatype = c("abundance", "incidence"))
}
\arguments{
\item{X}{a vector of species sample frequencies (for abundance data), or inc... |
dd039c03f22b935d1d6f6529599d25247fc5a577 | d60a4a66919a8c54d29a4677574b418107b4131d | /man/symplot.Rd | de7cf40b33b82fb0ce0faa523a431593575cf322 | [] | no_license | cran/tsapp | 65203e21a255e832f0ad9471f9ee308793eb7983 | f2679a3d5ee0e3956a4ba013b7879324f77cf95f | refs/heads/master | 2021-11-12T21:18:18.835475 | 2021-10-30T10:30:02 | 2021-10-30T10:30:02 | 248,760,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 361 | rd | symplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smaniplot.r
\name{symplot}
\alias{symplot}
\title{\code{symplot} produces a symmetry plot}
\usage{
symplot(y)
}
\arguments{
\item{y}{the series, a vector or a time series}
}
\description{
\code{symplot} produces a symmetry plot
}
\examples{
\... |
9ce9338f60fba7733c1a9742f58ac9d97cd2e7f6 | c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab | /man/gtkTableSetColSpacing.Rd | b96ca38ab0543179872e475b73645ce1c5137113 | [] | no_license | cran/RGtk2.10 | 3eb71086e637163c34e372c7c742922b079209e3 | 75aacd92d4b2db7d0942a3a6bc62105163b35c5e | refs/heads/master | 2021-01-22T23:26:26.975959 | 2007-05-05T00:00:00 | 2007-05-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 558 | rd | gtkTableSetColSpacing.Rd | \alias{gtkTableSetColSpacing}
\name{gtkTableSetColSpacing}
\title{gtkTableSetColSpacing}
\description{Alters the amount of space between a given table column and the following
column.}
\usage{gtkTableSetColSpacing(object, column, spacing)}
\arguments{
\item{\code{object}}{[\code{\link{GtkTable}}] a \code{\link{GtkTabl... |
126b253a123de0e41c5a643f758cfa22e04a4422 | db603c24a01b17d275a117b2aa6fc0bc10a6615d | /covid_library_mine.R | fa8e120660a27a87ba2652d23878e413393948a4 | [] | no_license | briesser1/covid_reports | e56bda8d9f8e8303b2cc6a97029379fed9066841 | d995f986ab24e3ad1a201d0701e2dc7283657dd3 | refs/heads/master | 2023-02-15T12:31:37.053098 | 2021-01-01T13:24:16 | 2021-01-01T13:24:16 | 276,073,684 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 725 | r | covid_library_mine.R | library(COVID19)
library(tidyverse)
library(skimr)
cd_city_us <- covid19("US", level = 3)
states_df <- covid19("US", level = 2)
states_df <- states_df %>% ungroup()
skim(states_df)
names(cd_city_us)
df1 <- cd_city_us %>%
filter(administrative_area_level_2 == "South Carolina") %>%
filter(administrative_ar... |
14f94d67ab5608b940ea664126dd9853aed6dc21 | 37580f0f76b251d1ba217fb30137f7cd7e024d07 | /person_clustering.R | 1c05682e64b4a29bbcd7505901291bf1d9f31a06 | [] | no_license | poletaev/russir-2015-hackathon-on-point-of-interest-recommendation | 6757b000f83961dfdf8280f1c0dc70ffa48188ec | 4c267718c8d21ddc67aca49f82a5c0272b6f2b2b | refs/heads/master | 2021-01-10T20:03:35.332402 | 2015-09-09T03:00:28 | 2015-09-09T03:00:28 | 42,153,788 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,700 | r | person_clustering.R | library(cluster)
genders <- tolower(data$body$person$gender)
genders[genders == "f"] = "female"
person <- data.frame(data$body$person$id)
person$location.name <- tolower(data$body$location[,5])
person$age <- as.integer(data$body$person$age)
person$normalized.age <- apply(person[3], 2,
f... |
b8d2613a6d9f0929f309a1d5e26360239f6e29c8 | c262aa9d1819623e627386fd43e61e0d988d405a | /pipeline/scripts/peakFiltering.R | 44fe9f39c0ee3c52f58653a571ea074d12904b39 | [
"MIT"
] | permissive | UMCUGenetics/DIMS | bf818ebefd272f2b4726b9db26b6326a5070911f | dd98c1e4fb3cf8fbe0a08761b6583e7930696e21 | refs/heads/master | 2023-08-08T03:11:34.213700 | 2023-03-28T09:23:11 | 2023-03-28T09:23:11 | 175,600,531 | 1 | 3 | MIT | 2023-08-25T15:27:21 | 2019-03-14T10:34:21 | R | UTF-8 | R | false | false | 1,609 | r | peakFiltering.R | #!/usr/bin/Rscript
.libPaths(new="/hpc/local/CentOS7/dbg_mz/R_libs/3.2.2")
run <- function(indir, outdir, scanmode, thresh, resol, version, scripts) {
# scripts="./scripts"
# outdir="./results"
# version=2.0
# indir="./data"
# scanmode="positive"
# filtering moved to grouping! Only in 2.0
startcol... |
ac1e30ef34a6440b15541d5807eee38acbdb5c25 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.security.identity/R/identitystore_operations.R | 9f3772c4f85fab9cc4287dd08115610033416815 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 32,514 | r | identitystore_operations.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include identitystore_service.R
NULL
#' Creates a group within the specified identity store
#'
#' @description
#' Creates a group within the specified identity store.
#'
#' S... |
fdf73d7fb95ce3fac05bb58be51d34bba1395b76 | 43c872cf62f47b010cb81761f8bb7e49b922b236 | /backend.R | 1c9ba0d2982a0bc0382668eadb0234883396d042 | [] | no_license | mmsee/PAT-seq-explorer | 4042d15b75dda169a24ec58b3ee972316661276d | 2b0e6356783f9498205f73dd88bca1959a2a0996 | refs/heads/master | 2021-01-17T07:36:31.218721 | 2015-12-22T03:54:12 | 2015-12-22T03:54:12 | 48,205,366 | 0 | 0 | null | 2015-12-18T00:23:27 | 2015-12-18T00:23:26 | null | UTF-8 | R | false | false | 17,696 | r | backend.R | # Returns a list of bam files from the nominated directory
setwd("/data/home/apattison/ShinyApps/andrew/")
find_bam_files <- function(file_path) {
if(file.exists(paste0(file_path,'/','plotter-config.json'))){
json <- fromJSON(paste0(file_path,'/', "plotter-config.json"))
bam_files <- json$samples
}
else{
... |
81e5b5080865c9323bb73f7a011afaf4add14a2d | 975e84bbd9861fa51a9ca9f5a321460435ef19c6 | /AllGraphics.R | 699737e59a336343ab545b8d92413725fa4bc469 | [] | no_license | srinithish/Location-Matching-Engine | bbd3b4c0f2edc699c3f21ada06254a1d5ff2863b | 0ee0b461821dd69ebce28b4143f497c80f6e0583 | refs/heads/master | 2020-04-15T19:26:07.371786 | 2019-01-18T02:09:29 | 2019-01-18T02:09:29 | 164,949,556 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,794 | r | AllGraphics.R |
theme_update(plot.title = element_text(hjust = 0.5))
##Bargraph for AIG Participation
## To do change the space between the columns
ParticipationPre = PolicyLevelTermsCompDF$`AIG Participation %_Pre`
ParticipationPost = PolicyLevelTermsCompDF$`AIG Participation %_Post`
AIGParticipationPlotExp = ggplot() +
... |
dda85078f5e7119772fa22cc33f710b4ae2e6d97 | d38e3540c42dc8019d83b410599166db3acd9de2 | /data-raw/creando_mis_datasets.R | 3eb1b4cd69d2119eb32c68945f276d9ed0d6ada2 | [
"MIT"
] | permissive | perezp44/pjpv.datos.01 | e55c2b8177d7794a8baf2583dd2ab9e05c74e3aa | 90ad8f4b99b6af25ab35117c6599237399acd7ea | refs/heads/master | 2023-04-09T11:06:53.157945 | 2021-04-24T15:55:07 | 2021-04-24T15:55:07 | 355,845,724 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,341 | r | creando_mis_datasets.R | #- creando los datasets q voy alojando en el pkg ----------------
library(tidyverse)
#- pob municipal -----------------
pob_1996_2020 <- readr::read_rds("/home/pjpv/Escritorio/my_datos_2021/datos/INE/pob_mun/ine_pob_mun_1996_2020.rds")
pob_muni_1996_2020 <- pob_1996_2020 %>%
pivot_wider(names_from = poblacion, value... |
f0d011865593083e6935a613fddea6f6a3e5e959 | c8d782557b9e25775936dd9a9436203d2abb0fdc | /R Assignment Nilesh.R | 96529873cb1c34cf16e18b100851b6b2cf96e172 | [] | no_license | ndixit2862/R-Assignment | bfc6f9fa218b76f542704ee63e377b60539cb4a2 | 55e2fe9b8f68e309b80b7e4e5abd22b6a6358a21 | refs/heads/main | 2023-04-30T15:56:34.991664 | 2021-05-16T13:25:43 | 2021-05-16T13:25:43 | 367,887,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,764 | r | R Assignment Nilesh.R | 1.#Try to write a code for printing sequence of numbers from 1 to 50 with the differences of 3, 5, 10
s1<-seq(1,50,3)
s1
s2<-seq(1,50,5)
s2
s3<-seq(1,50,10)
s3
2.#What are the different data objects in R? and write syntax and example for each and every object
a.vector
x<-c(1,2,3)
b.Matrix
x<-matrix(c(1,2,... |
8f04cc4eb64a472a071a441172bb498b44dff10f | 08a2a7468e3f09e803afb74616b9c37fd4f05335 | /R/utils_page.R | cc9961a2ba8d1af385df4f12ae16ec739358bd3d | [
"MIT"
] | permissive | ginberg/brochure | 8b2e9fb6551d045730fb3e14f6950ebafb583d2e | 33a1c2fe59e5ec43cb800bc0864eb388638eefd9 | refs/heads/main | 2023-03-05T00:43:56.760095 | 2021-02-23T07:11:48 | 2021-02-23T07:11:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 615 | r | utils_page.R | with_class <- function(res, pop_class){
class(res) <- c(pop_class, class(res))
res
}
check_redirect_code <- function(code){
attempt::stop_if(
code,
~ !.x %in% c(301:308, 310),
sprintf(
"Redirect code should be one of %s.",
paste(c(301:308, 310), collapse = " ")
)
)
}
extract <- fun... |
87cf8330f4b953744363ea50138cf6d23422ae21 | 8a659785a0346a35671e71bbe0cf4ae9940e46f1 | /test-nlar-model/test.R | 14af0388398f7c903638cc2cd75f5c615e2ac71b | [] | no_license | ashtonbaker/beetle-model | 56b4f244d5650ba20e73dea84ace46f6ba40ddf6 | 50337898aab105971ce39d010f7880d1fd87008e | refs/heads/master | 2021-01-12T17:31:22.601637 | 2017-06-14T18:17:14 | 2017-06-14T18:17:14 | 71,592,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | r | test.R | library(pomp)
library(magrittr)
library(reshape2)
source('./models/nlar-model/nlar-model.R')
read.csv("../data/data.csv") %>%subset(weeks <= 40, select=c(weeks,rep,L_obs,P_obs,A_obs)) -> dat
cls_params <- c(b=10.45, mu_L=0.2000, mu_A=0.007629, cel=0.01731, cea=0.1310, cpa=0.004619,
sigma_1=1.621, sigm... |
841639d0d587df61672c8bf0609e3c90cf14c01e | f1971a5cbf1829ce6fab9f5144db008d8d9a23e1 | /packrat/lib/x86_64-pc-linux-gnu/3.2.5/rprojroot/tests/testthat/test-root.R | df694e5e8e493bad5a78fe9e3a89d7ad907ab420 | [] | no_license | harryprince/seamonster | cc334c87fda44d1c87a0436139d34dab310acec6 | ddfd738999cd302c71a11aad20b3af2f4538624f | refs/heads/master | 2021-01-12T03:44:33.452985 | 2016-12-22T19:17:01 | 2016-12-22T19:17:01 | 78,260,652 | 1 | 0 | null | 2017-01-07T05:30:42 | 2017-01-07T05:30:42 | null | UTF-8 | R | false | false | 3,390 | r | test-root.R | context("root")
test_that("has_file", {
wd <- normalizePath(getwd(), winslash = "/")
hierarchy <- function(n = 0L) {
do.call(file.path, list(wd, "hierarchy", "a", "b", "c")[seq_len(n + 1L)])
}
stop_path <- hierarchy(1L)
path <- hierarchy(4L)
with_mock(
`rprojroot:::is_root` = function(x) x == sto... |
5c5175266d8169cf0f8ef1f5eacd7a73e356f0b1 | 90fd7aea435253900e6f376162e702191bca0756 | /plot2.R | 92f0ba800a06ce82d62dba1b87015c23715028f4 | [] | no_license | qhong/ExData_Plotting1 | 30b3106b80086234f475397e94d80e68f226d77e | 3cd255b4a204ca9911113179edd3d44011a10511 | refs/heads/master | 2021-01-18T16:16:58.982088 | 2016-05-24T21:34:43 | 2016-05-24T21:34:43 | 59,598,577 | 0 | 0 | null | 2016-05-24T18:32:40 | 2016-05-24T18:32:39 | null | UTF-8 | R | false | false | 972 | r | plot2.R | rm(list = ls())
library(rCharts)
setwd('C:\\Users\\qhong-10\\coursera\\Exploratory data analysis\\project\\assignment1\\ExData_Plotting1')
top <- read.table('../../exdata-data-household_power_consumption/household_power_consumption.txt',
header = T, sep = ';', nrow = 5)
classes <- sapply(top, class)
... |
07162455fea7474d5c6d615bb32eaaf04fbe2f59 | 46a9bf820a271c574149329e627afa2e511d42b0 | /man/arl_aewma.Rd | ae0ad962e5ff4214865197a1493e7b1cc66494f0 | [] | no_license | samuelanyaso/DyAEWMA | 5dfaf7788a3b2249b2fe1c178700fc1bad13be9a | 0e8f9ab26daa8030ac279f4762725d427a846c91 | refs/heads/master | 2020-09-29T08:22:03.523641 | 2020-02-28T22:38:43 | 2020-02-28T22:38:43 | 216,295,837 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 813 | rd | arl_aewma.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/arl_aewma.R
\name{arl_aewma}
\alias{arl_aewma}
\title{ARL value of the Adaptive EWMA control chart (with p-values)}
\usage{
arl_aewma(alpha, w = 50, nsimul, shift = 0)
}
\arguments{
\item{alpha}{a real number; the level of significance}
\ite... |
1d09e74a2486e8b7beb54da381093f03fffb28e9 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610387773-test.R | fa796b158866362f8a0097feb4f9154d3c6fe15e | [] | 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 | 380 | r | 1610387773-test.R | testlist <- list(a = 751965952L, b = 71319807L, x = c(16777215L, -183L, 1229539657L, 1229539657L, 1229539657L, 1229539657L, 1229539657L, 1229539657L, 1229539657L, 1229539657L, 1229539657L, -768856879L, -768856879L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -234L, 370546198L, 370546198L, 0L, 771L, 0L))
... |
8bf96b6ded5663b3f3ef396dfbbfd4f1dcac932a | d52c2f7fcc59530a3aebf56b099810f12cc82660 | /R/sem_tables.R | ef7335c4570d1455d0494612f43ea9a706bcf378 | [] | no_license | admahood/dissertation | 61f1a74a23ec3b9a94bf6562a837ec483aa17687 | 50981750702b146b1c523a00fd4412759877541d | refs/heads/main | 2023-04-14T15:07:45.741154 | 2021-08-27T16:48:18 | 2021-08-27T16:48:18 | 354,950,697 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,529 | r | sem_tables.R | # creating sem tables
library(tidyverse)
lut_et<- c("c"="Contrast", "i"= "Indirect (single pathway)","d" = "Direct",
"I"= "Indirect (multiple pathways)","T"="Total")
# scn_boot<-readRDS("data/scn_boot.RDS")
load("data/bootstrapped_sems.Rda")
# Tables
# soil C and N, stages 1 & 2 ==========================... |
4ea88b79fa9374e506a57913751784c5b237149a | c3035443d312d175595aac17220607b0b9009351 | /Ill-coinflip_02.R | 1a5f2b4122cb4057afaac628e246f9387945daab | [] | no_license | Oleg-Krivosheev/Statistical_Inference | 2015883b346e4708a1e63a84987dd5893ddbaefa | 0ec636b3096dbfce2f91cb6e18ca28be1537181a | refs/heads/master | 2021-01-13T14:30:20.800412 | 2016-12-01T19:45:04 | 2016-12-01T19:45:04 | 72,881,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,040 | r | Ill-coinflip_02.R | library(ggplot2)
set.seed(22345)
## parameters of the distributions
n <- 100
p <- 0.5
## number of simulation
nosim <- 10000
## expected binomial mean/variance
mu <- p
s2 <- p * (1.0 - p)
## sampling
r <- matrix(rbinom(nosim * n, size=1, prob = p), nosim)
u <- apply(r, 1, sum)
m <- apply(r, 1, mean)
s <- apply(r,... |
35702cfad87a9649be4b4f1081ec92e22f3c708b | 4abf320205d58409cd2dc5b667d6767a24411ab3 | /cachematrix.R | 17dbaf9bddb2aaeecdb2b9e85c8141e8a336abaf | [] | no_license | caramirezal/ProgrammingAssignment2 | f4f0349f9e687a30862355681b72bf08cedd54ee | ef87b62392e80d0093746deede018ce3bde073b2 | refs/heads/master | 2021-01-22T10:13:38.265364 | 2017-02-15T11:43:10 | 2017-02-15T11:43:10 | 81,994,618 | 0 | 0 | null | 2017-02-14T22:16:14 | 2017-02-14T22:16:14 | null | UTF-8 | R | false | false | 1,452 | r | cachematrix.R | ## Definition of a matrix like object which stores both
## a data matrix and also its inverse if it is already calculated.
## makeCacheMatrix constructs an object that stores
## a data matrix and its inverse.
makeCacheMatrix <- function(x = matrix()) {
## set default values for the inverse
inv <- NULL... |
249383b1f48ba244da18ef5cc6cb7fe7d7957ef9 | 7c1d52fa5ffae4b03301603c5ff84022851a4b2e | /experiment3/timepoint1/data/read.R | 7518c66fc887e28253e51bd0858de8a8a56a734b | [] | no_license | WhiteJP/AmbiguityAversionProject | eff01981918443cee4e48f31557227b5262fda87 | 6e91803f3bb1bc1e64166de1a55c85360a2d8507 | refs/heads/master | 2022-06-22T22:10:31.673041 | 2022-05-26T16:06:56 | 2022-05-26T16:06:56 | 167,326,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,121 | r | read.R | library(here)
library(tidyverse)
library(jsonlite)
location <- here("experiment3", "timepoint1", "data")
setwd(location)
# read data
rawData <- read.csv(file="rawresults-exp3a.csv", header=TRUE)
# convert json data to dataframe.
d <- rawData %>%
mutate(json = map(content, ~ fromJSON(.) %>% as.data.frame())) %>%... |
3ca7672397341135bd8d386885a7da1c3fef1d16 | 15f8232b8a574ae94266927e4df5182cfc99f517 | /man/path_to_root.Rd | fb688f6f874f82ab6843a83ab5fab7798b4e60a8 | [] | no_license | cran/autoharp | a2c6d51ad22354a276145098200e92aecd7bc3fd | d2efbb0a76285ba95ed6950a61e05f1398b5e656 | refs/heads/master | 2023-09-06T05:29:22.580401 | 2021-11-12T21:50:02 | 2021-11-12T21:50:02 | 334,082,346 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 733 | rd | path_to_root.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tree_routines.R
\name{path_to_root}
\alias{path_to_root}
\title{Extract a path from node to root.}
\usage{
path_to_root(th, node_num)
}
\arguments{
\item{th}{A TreeHarp object.}
\item{node_num}{A node number to start tracking upwards from.}
... |
4cb24e7f9d9c3cec4b435f1bf9dca21d4acff127 | 1e820fe644a039a60bfbee354e50c775af675f6b | /ProbStatsR/Chapter 6 Point Estimation.R | 735c3e9df5b83c922910429c585ac4374f583b5e | [] | no_license | PyRPy/stats_r | a334a58fca0e335b9b8b30720f91919b7b43d7bc | 26a3f47977773044d39f6d8ad0ac8dafb01cce3f | refs/heads/master | 2023-08-17T00:07:38.819861 | 2023-08-16T14:27:16 | 2023-08-16T14:27:16 | 171,056,838 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 779 | r | Chapter 6 Point Estimation.R | # Chapter 6 Point Estimation ----------------------------------------------
# 6.1 DESCRIPTIVE STATISTICS ----------------------------------------------
# Ex6.1-1 -----------------------------------------------------------------
dat <- scan("Data-R/E6_1-01.txt")
dat
# find sample mean
xbar <- mean(dat)
xbar
# sample... |
8266e7bdadc3405ab3b168b06a887b30f5d666f7 | b3bc093f56f7a211e54cda4a289688d2bb545500 | /man/sdemodel_display.Rd | a7799395aeea22ab0bcd3e3ebabd4a387e9dcc80 | [] | no_license | ogarciav/resde | 730499e376a6a66a7f87e1047cc554324a70f50f | 776449729e833359250d13c83a1cb81b18a070e8 | refs/heads/master | 2023-06-10T13:28:04.436257 | 2023-05-20T01:27:59 | 2023-05-20T01:29:13 | 296,492,518 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 436 | rd | sdemodel_display.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sdemodel.R
\name{sdemodel_display}
\alias{sdemodel_display}
\title{Display the model specification}
\usage{
sdemodel_display(model)
}
\arguments{
\item{model}{SDE model specification, as produced by sdemodel()}
}
\value{
Invisibly returns its... |
d5fb3ff4b6a12a3b919949d9bdc71dac99e755e8 | 0d5568144297e43517ee75e40daf5c034e9fd454 | /R/Mapping_functions.R | 1b56a9fa71ae2f7989d115b6bfec9a1abf51ca1b | [] | no_license | DanielAyllon/EarthQuakeAnalyzer | ef118152bb2144269ae1caa8dfd54a5b69359cd7 | cbcd11f210fc2b2e7d5b5fb8c89f77913db1d8b5 | refs/heads/master | 2021-01-20T00:01:09.807430 | 2017-07-04T08:38:38 | 2017-07-04T08:38:38 | 89,068,802 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,212 | r | Mapping_functions.R | #' Function to visualize the epicenters of earthquakes with annotation in a leaflet interactive map
#'
#' This function reads a filtered data frame with earthquakes to visualize. The function maps the epicenters (LATITUDE/LONGITUDE) and annotates each point in a pop-up window containing annotation data stored in a colu... |
9f8b0b06025b6f47f9bc70a6c51cf766d91f6920 | 1b637d140ccad852fc1431ce48ae4da50629d0e6 | /R/sumstat_seg_sites.R | b5f9c151a5de2585ec05b4d0618f23b038ddec4b | [] | no_license | ijwilson/coala | aaa671daf9763057ea5a34efc90c98ba8dfbacf5 | 909e6f237d42e3972e3e54384473efde9d8841e7 | refs/heads/master | 2021-03-16T06:04:40.515782 | 2017-04-01T09:49:28 | 2017-04-01T09:49:28 | 91,571,290 | 0 | 0 | null | 2017-05-17T11:57:55 | 2017-05-17T11:57:55 | null | UTF-8 | R | false | false | 2,250 | r | sumstat_seg_sites.R | #' @importFrom R6 R6Class
stat_segsites_class <- R6Class("stat_segsites", inherit = sumstat_class,
private = list(req_segsites = TRUE),
public = list(
calculate = function(seg_sites, trees, files, model, sim_tasks = NULL) {
seg_sites
}
)
)
#' Summary Statistic: Segregating Sites
#'
#' This summary... |
4bbaaa165a5f8fb3a817f849fb7215f28641eaa1 | 4359d75816ac645b6b80e72b75068f1d4ffc5164 | /R/plot_lollipop.R | 9f22e900a5f23931ab79103080da61106b94e003 | [] | no_license | Changing-Cities-Research-Lab/seattleViz | 04e5e3cfad30a57b632614fed310729ebc2b0a7b | fbcb42776e3dbf74153f24d509801d7b5cfb288d | refs/heads/main | 2023-04-13T15:55:07.183707 | 2021-04-12T23:06:48 | 2021-04-12T23:06:48 | 337,885,525 | 0 | 2 | null | 2021-02-25T06:54:14 | 2021-02-10T23:48:54 | null | UTF-8 | R | false | false | 3,428 | r | plot_lollipop.R | #' Produce lollipop plot by King County HRA.
#'
#' This function takes in data and produces a horizontal lollipop plot by
#' King County HRA The order of these categories can be adjusted by changing
#' the factor levels of the facet variable. Input data needs columns for
#' variable of interest (titled "var") and HRA... |
588af74ab6c661b500f64dec9fdf99e88061ecb4 | 7a4d8e8be2fc97eb81e71f58a43849a3f806eb5d | /man/gglasso_forstab.Rd | 409aa3289602b51309038dc3e55b773324bce77c | [] | no_license | Marie-PerrotDockes/Fus2mod | eb1033ea78e903e9f0184825e53197531b857786 | 889ba6df691260f18708833ac2cba636a5b16529 | refs/heads/master | 2020-03-11T04:14:08.265434 | 2018-08-17T11:28:49 | 2018-08-17T11:28:49 | 129,771,020 | 0 | 2 | null | 2018-08-17T12:27:22 | 2018-04-16T16:07:03 | R | UTF-8 | R | false | true | 1,132 | rd | gglasso_forstab.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/grp_lasso.R
\name{gglasso_forstab}
\alias{gglasso_forstab}
\title{Description of the function}
\usage{
gglasso_forstab(x, y, group, ord, q)
}
\arguments{
\item{group}{a vector with two levels. (The group of the ANCOVA)}
\item{response}{a vec... |
9477a5698ad5aac4fbb18d255563f3dc991cc346 | de6f15325cc65450595fe52e5d03f0a8b79fc3da | /cachematrix.R | 885b36a215bedf8b1295a19f8e8944c0b048bb37 | [] | no_license | keyurkulkarni/rprogramming | 4ee3678e142081c857b042aafc2e7f1c9e3282c8 | b7aa9d8bc02bb7cc9e2877cbebf9a4f84f0b005d | refs/heads/master | 2021-01-13T13:11:28.300431 | 2016-11-03T06:58:14 | 2016-11-03T06:58:14 | 72,717,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 771 | r | cachematrix.R | # This function gets called first and generates a list with 3 functions, getting i , setting and getting inverse
makeCacheMatrix <- function(x = matrix()) {
i = NULL
get = function() x
setinv = function(inverse) i <<- inverse
getinv = function() i
list(get=get, setinv=setinv, getinv=get... |
6816d3170e9b8c79998041542d68ea0247a7bdbb | a2f5e5bbad23093de07d356032573a53e880b6bf | /R/arrayIndex.R | 4dde209124f103726a0a451be5e439a655dc67b6 | [] | no_license | AntonKrasikov/R.utils | 4bfdba6e3f27b20c723e354d3231adcea5264fd9 | 5d6f194b30356fb7118e0d290bce2b5c39b8fb06 | refs/heads/master | 2020-05-29T12:33:06.471354 | 2019-02-14T21:51:03 | 2019-02-14T21:51:03 | 189,131,159 | 0 | 0 | null | 2019-05-29T15:47:16 | 2019-05-29T01:48:47 | R | UTF-8 | R | false | false | 1,410 | r | arrayIndex.R | ###########################################################################/**
# @RdocDefault arrayIndex
#
# @title "Converts vector indices to array indices"
#
# @synopsis
#
# \description{
# @get "title" assuming last array dimension to "move fastest", e.g.
# matrices are stored column by column.
# }
#
# \arguments... |
225b88303677b6b3a90499d8ed3f392b366541c2 | 36ae6e4e2e726125534f74044101f4a57c13c223 | /plot1.R | c0488a75447735ff9b5096c4b851e926b3803150 | [] | no_license | LadyHema/ExData_Plotting1 | dce4048933b3c322902dcc57bf7848fa68b86508 | 9d7cbae89979395c7273d4a5feb3ac70f00fe678 | refs/heads/master | 2021-04-27T00:27:26.383647 | 2018-03-11T18:25:22 | 2018-03-11T18:25:22 | 123,819,283 | 0 | 0 | null | 2018-03-04T19:02:16 | 2018-03-04T19:02:16 | null | UTF-8 | R | false | false | 857 | r | plot1.R | #read data
download.file(url = "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",
method = "curl", destfile = "household_power_consumption.zip")
unzip("household_power_consumption.zip")
household <- read.table("household_power_consumption.txt",
sep = ";"... |
7c4e06733db863161534318a3f11f64639ab3fdf | 9c3dbd18c38c5316549079b17620d945da9f6393 | /R/ChurnReductionEDA.R | cc8103f1c6b966f31c76d79e3f0528a532070819 | [] | no_license | snowdj/CustomerChurnReduction | 3536394e3bcc7513ded1a7f32cc0c516e7902beb | 714658b6d678426ec5206e6af439fdceb759f1fb | refs/heads/master | 2020-03-22T07:04:42.645291 | 2018-05-31T11:33:34 | 2018-05-31T11:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,202 | r | ChurnReductionEDA.R | # Customer churn reduction EDA
rm(list=ls())
#loading requried libraries
library(dplyr)
library(ggplot2)
library(stringr)
library(corrplot)
fillColor = "#FFA07A"
fillColorRed = "#56B4E9"
train_data <-
read.csv("Train_data.csv",
sep = ',',
na.strings = c(" ", "NA"))
#look... |
7bc63bbcf69d6f44824091e3974fe7b1a68eeb63 | 82e6137d5d2a0e9114f76c7e427514bba62aaaf3 | /ercel/app.R | 15ef32977eeb43df10bc62e13dcdf0a7980ecaa5 | [] | no_license | lukuiR/Rpublic | 3a0c25519d10457bc08d6d3a8510865212943a37 | daa067ca078ddce54bb4d822666d4e9f9335c6a5 | refs/heads/master | 2022-06-28T16:10:50.713523 | 2022-06-21T14:48:48 | 2022-06-21T14:48:48 | 119,683,495 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,265 | r | app.R | #dt ext https://rstudio.github.io/DT/extensions.html
#DT ino: https://yihui.shinyapps.io/DT-info/
###
library(shinydashboard)
library(shiny)
library(DT)
library(plotly)
library(shinyalert)
library(readxl)
library(tidyverse)
# Use purrr's split() and map() function to create the list
# needed to display the... |
e5ea32cfe87111218b4d2ca13aee2461829e8bb3 | 4fe0de9dd230e8d4b5a01032c0bb2aa72459aa8c | /DivvyMapping.R | 9eb39db40c428dbc05fcff51df1a74399ea283c6 | [] | no_license | dan-peters/EvanstonDivvy | de3dee447031fb728eb561661907cc89a66018b4 | c1d35bf1c234306d4cc868c33cc51d28e466e674 | refs/heads/master | 2020-04-25T23:18:45.918349 | 2019-04-02T02:17:18 | 2019-04-02T02:17:18 | 173,141,519 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,858 | r | DivvyMapping.R | library(sp);library(dplyr);library(ggplot2);library(osmplotr);library(tidyr);library(readr)
#load data tables from DivvyMappingData.R output
divvystations <- read_csv('divvystations_mapping.csv')
evanstontrips <- read_csv('evanstontrips_mapping.csv')
evanstonstations <- read_csv('evanstonstations_mapping.csv')
#creat... |
d0f2a15b42e921f65ca8404c27d8ce7436b5dc1b | 419378b1a49d1b19fbf84f1673c7bfa77fe0bd9d | /Zajecia3/Zajecia3.R | 9b1c86e8f1a72b87d869f9ed2553059e17a0daf2 | [] | no_license | mkazber/AI | a6d7a42fe903360b5526aae18d7507f72c9209f7 | 87b31a8e63f6bea12f1aecbe165caf0394312c00 | refs/heads/main | 2023-07-15T12:01:56.982462 | 2021-08-25T20:38:44 | 2021-08-25T20:38:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 485 | r | Zajecia3.R | library(class)
library(tree)
library(mlbench)
dane1 <-read.table("/home/student/Pobrane/Zajecia3/iris_train.csv",header =T ,sep =",")
dane2 <-read.table("/home/student/Pobrane/Zajecia3/iris_test.csv",header =T ,sep =",")
tree.iris <- tree(klasa ~., dane1)
plot(tree.iris)
text(tree.iris)
tree2.iris <-prune.tree(tree.... |
4224396e9a7c6d51e2f96a7565ee7727d3ca51ed | c4dd2b2a2416a62dd5219bee0191077bce8600f5 | /AlexaMarketingShiny/app.R | f29fc561d45ca6bfa57b82fa0b022605e98b5a15 | [] | no_license | william-hatzar/Shiny-app | 0f552230772cfebce3b2f250c3fec658e153b382 | 1644347b90e7285f91b3d09701547cc2b7447a35 | refs/heads/master | 2020-04-14T20:40:13.710175 | 2019-01-04T12:07:45 | 2019-01-04T12:07:45 | 164,102,574 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,125 | r | app.R | library(shiny)
library(tm)
library(wordcloud)
library(memoise)
library(dplyr)
setwd("C:/Users/Admin/Documents/WordCloudWork")
review <- read.csv("amazon_alexa2.csv", stringsAsFactors = FALSE)
reviewsum <- read.csv("summary2.csv")
reviewQuote <- review
getTermMatrix <- memoise(function(sorter){
myCorpus = Corpus(Vec... |
67fe47d5e9e04ec3338f617d98ad9313031d0577 | 069bb009df38d9adc4cfcc6dcd20437c476f3077 | /GlobalRed.r | 2a06fa44fef05d1b90508784baf6f57b548f82c6 | [] | no_license | kazitoufiq/conversion-prediction-model-in-R | 210420717761087c56e872df887e681a70c4a57f | 3333361784a24cdbb7b96489609b3ba036e0eb9d | refs/heads/master | 2022-09-02T11:03:56.627235 | 2020-05-21T02:33:25 | 2020-05-21T02:33:25 | 265,735,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,263 | r | GlobalRed.r | library("caret")
#data collection
setwd("E:/final_data")
data <- read.csv("final_data.csv", header=F)
#data preparation - adding column header
header_name<-c("year", "month", "day", "atime", "placement_id", "exchange_id", "hour",
"name", "exchange_name", "site_id", "site_name", "size", "target")
... |
fbb0a2e52e6ff5cae4ae9706718cc84f5830159d | 3d2aa9f86c2b169a662a2fa0c685c7aa052172e0 | /R/corr2t2d.R | 55c947cf86de3b6c83714fe68e0e3fcff5b2c5a0 | [] | no_license | clacor/corr2D | 970f367e04ce4a704c28cde0a645c7eac7f3a143 | 5d68ee2a6ccfff62823c612a2206c3c89b83cbe2 | refs/heads/master | 2022-07-21T15:49:10.519634 | 2022-07-14T08:59:10 | 2022-07-14T08:59:10 | 60,271,071 | 0 | 1 | null | 2016-06-03T09:53:38 | 2016-06-02T14:31:10 | HTML | UTF-8 | R | false | false | 3,705 | r | corr2t2d.R | #' Two-trace two-dimensional (2T2D) correlation spectroscopy
#'
#' \code{corr2t2d} compares a pair of spectra in the form of a cross
#' correlation analysis.
#'
#' \code{corr2t2d} implements the Two-trace two-dimensional (2T2D) approach
#' as described by I. Noda (2018) <DOI:10.1016/j.molstruc.2018.01.091>.
#... |
fd2b75c53995c4d9fbfaeb67d591ee8344d3338f | 97fce78c83f0c42fc930d957053d20cef71a6f74 | /BetterUniversities.R | 4ce97130e9f7f86f40545431234be10fa8de9197 | [] | no_license | jarechalde/FinalProject2 | 95cbc88ea7ae3096a51ffd9b5a52925888371c24 | 0edabee8f85265f3ae3073d7fa19f466f70f5a33 | refs/heads/master | 2020-03-18T02:14:53.509021 | 2018-05-20T19:50:30 | 2018-05-20T19:50:30 | 134,181,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,851 | r | BetterUniversities.R | #Loading libraries
library(stringr)
library(gmapsdistance)
#Setting the working directory
#setwd('C:/Users/Javier/Documents/GitHub/FinalProject')
setwd('/home/javier/Work/FinalProject')
getwd()
#We read the data
data = read.csv('UniversitiesScorecard.csv', header = TRUE, sep = ",")
#datafeat = read.csv('DataFeatures.... |
6072bd8bb4fad08bcc88f7d712ce47bb68d6494c | fcc6f2050afa406a13c3746bffe287b890a3ee12 | /plot4.R | 6739820da2ce2de079ce0abe313026f4f62eb866 | [] | no_license | james08/ExData_Plotting1 | 64a7b9d7e5b4e6be474184ecb72fe030920dbc95 | 07c64e5a5b70721a3a24f55e767dae3863e5d83b | refs/heads/master | 2020-12-31T02:22:20.758273 | 2016-08-02T19:50:07 | 2016-08-02T19:50:07 | 64,592,986 | 0 | 0 | null | 2016-07-31T12:35:26 | 2016-07-31T12:35:26 | null | UTF-8 | R | false | false | 1,449 | r | plot4.R | ## This script assumes dataset file is in the current working directory.
library(lubridate)
library(dplyr)
## Read in data from file
consump <- read.csv("household_power_consumption.txt", sep = ";",
stringsAsFactors = FALSE, as.is = c(3:9), na.strings = "?")
## Convert to tbl_df for dplyr and re... |
6d3105428dc46832eb4faa881fc50cbed580bc14 | c7c07988b39a67180ba22c20a78a8fc26b5f7907 | /generate_copynumberheatmap1.R | 20142bb3e81b1f03e8ea00fae3fa6645863add20 | [] | no_license | xwang234/copynumber | 0919c2ce3489e4972ee84f9559948f499108cd54 | d2ba998f4e5362a1b85661e1f9fe6fe105747c5b | refs/heads/master | 2021-01-17T15:57:38.339124 | 2017-04-18T23:41:18 | 2017-04-18T23:41:18 | 84,119,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,189 | r | generate_copynumberheatmap1.R | #!/usr/bin/env Rscript
getwholetable=function(alllessiontable,wgstumors)
{
alllessiontable$Descriptor=gsub(" ","",alllessiontable$Descriptor,fixed=T)
uniq_cytoband=unique(alllessiontable$Descriptor)
cytobandtable=data.frame(matrix(" ",nrow=length(uniq_cytoband),ncol=length(wgstumors)))
rownames(cytobandtable)=... |
c9db8ad57dde4e5025b3a8ba4302a2c0a784f641 | f2bb9dc756f74ccfd1aa7bb4e1aa9d682d93e628 | /R/javaFunctions.R | a5748cbe84c448abf32b619238cb31cd0c3cd3c5 | [] | no_license | HenrikBengtsson/R.io | 660437c62f692db4fecfbae08648eb56237e9ca2 | 7ff13117d31299027e9029c2ec9d92ec5079273b | refs/heads/master | 2021-01-01T19:43:25.136246 | 2014-06-19T04:11:28 | 2014-06-19T04:11:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,255 | r | javaFunctions.R | #########################################################################/**
# @RdocDefault writeJavaByte
#
# @title "Deprecated. Writes a byte (8 bits) to a connection in Java format"
#
# \description{
# Writes one or several byte's (8 bits) to a connection in Java
# format so they will be readable by Java.
# }
#
... |
a9ca48b7c55e50c7c801fa9b093ee198d4ea188f | 8a6c123dce13e5a0a96f258cd0fd78f32f166014 | /man/FLTable.Rd | 4f945f999b7c64aa2196441050473d82e8df4dba | [] | no_license | mcetraro/AdapteR | c707cd5bd4918cee093e5f151248e0ed047eacda | 4ea6ba9226ad187b0a61ab95286043c1eb5fbec3 | refs/heads/master | 2021-01-18T12:45:14.416907 | 2015-07-30T14:41:48 | 2015-07-30T14:41:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 842 | rd | FLTable.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/FLTable.R
\name{FLTable}
\alias{FLTable}
\title{Constructor function for FLTable}
\usage{
FLTable(connection, database, table)
}
\arguments{
\item{connection}{ODBC connection handle as returned by \code{\link[RODBC]{odbcConnect}}}
\i... |
1d78abfabb207528851cad34ac0fb2410e0bb73f | 0795ee23a87aa1a0339848e3a7c682e58ce3f398 | /SimulateData.R | 484dc72bfd7adabf0d32ddd5e15e9f453284ddc5 | [] | no_license | alessandro992/CodeMetaAfterDataCollection | fb05aea963749ec149b4734f5a5062736bda7faa | ac579c33ca4795a74c3c5d8191391b64cbfdd6a7 | refs/heads/main | 2023-08-21T14:29:11.972916 | 2021-09-16T15:35:02 | 2021-09-16T15:35:02 | 407,217,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,876 | r | SimulateData.R | library(dplyr)
#simulate a dataset for the stress meta-analysis
#General info of a study
set.seed(123)
publication_year <- NA
researchDesign <-sample(c(1,2,3,4,5),346, replace=T)
# 1 = RCT, between-subjects design 2 = between-subjects design, comparing pre-existing groups (no randomization into groups) 3 = within-s... |
af1dcea979666591a65e6c5d72fec3330833f678 | cb4809896e29fc708a38c25a8b1c0b568c96bd6f | /inst/experiments/wvs/wvs_csv_to_country_data_frames.R | 4b5e11d4cd1adf5c30206a30398cc41725ef675b | [] | no_license | matloff/polyanNA | de45bb422cfd2dd9d28447e1ab34018bde1ed280 | be403cfbc9b8be1cd216ab715b5d710c7b71b793 | refs/heads/master | 2020-03-23T06:46:50.410088 | 2019-05-04T23:03:29 | 2019-05-04T23:03:29 | 141,229,142 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,067 | r | wvs_csv_to_country_data_frames.R | # wvs_make_data
# returns nested listed with X_train, y_train, X_test, y_test, by country
# after perfoming a series of tests to ensure crossvalidation is possible
# in spite of the large number of categorical variables and other nuissances.
# if W is provided, PCA is run on W (at the country level, not the world leve... |
a91d6d17acec30183a42a5104d0a2ae0a94585c9 | e4caa843c38e349a7c8312276f1d94de1925fb9f | /simpleExpo.R | a542305213fcc453600b2077e3c56ca3cda19c7b | [] | no_license | jfgilman/ST740 | f29342e8ec4bd2053a86fdf38a8633f959cf53a5 | 91efc8d4bf142b0c21d5908fa840ba470639cd99 | refs/heads/master | 2021-05-15T16:54:13.212415 | 2018-01-16T15:26:32 | 2018-01-16T15:26:32 | 107,549,377 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,674 | r | simpleExpo.R |
simpExpoMCMC <- function(data, samples = 50000, shapePriorA = .001,
shapePriorB = .001, lamPriorA = .001, lamPriorB = .001,
theta1PriorA = .001, theta1PriorB = .001, theta2PriorA = .001,
theta2PriorB = .001, theta1Start = 1, theta2Start = 1, tuning = 1,
... |
76409811ba287b29dee7f3dd115538e2f763c6a2 | c9034013cb33396a94a1614bce890a1dc472a3d0 | /scripts/Half_done_ideas.R | b65da114ef6bebef4d970d30785c8edca66fa2f9 | [] | no_license | goldenberg-lab/LFS_fibroblasts | 0fe02ed6aebeaafd1b82abd3f5b8a866c83ce0c9 | d772ef38c49e1c82799d80398dba2eac23cffa2f | refs/heads/master | 2020-06-10T01:06:23.509583 | 2020-04-07T14:27:54 | 2020-04-07T14:27:54 | 193,541,030 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,534 | r | Half_done_ideas.R | # Half finished, might be useful functions that part way through implementing I
# realised will not help in the way I want them to.
##### This idea was that if I separate the rows into different training and
##### testing sets then I could compare the performance where the same rows are
##### not in the training set ... |
beb859d89e926aa751ed6de222fc17787d966f27 | 20fb140c414c9d20b12643f074f336f6d22d1432 | /man/NISTpointComputerTOmeter.Rd | cce86d438bb9cb512eee077270bf6d4ef1386789 | [] | no_license | cran/NISTunits | cb9dda97bafb8a1a6a198f41016eb36a30dda046 | 4a4f4fa5b39546f5af5dd123c09377d3053d27cf | refs/heads/master | 2021-03-13T00:01:12.221467 | 2016-08-11T13:47:23 | 2016-08-11T13:47:23 | 27,615,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 802 | rd | NISTpointComputerTOmeter.Rd | \name{NISTpointComputerTOmeter}
\alias{NISTpointComputerTOmeter}
\title{Convert point to meter }
\usage{NISTpointComputerTOmeter(pointComputer)}
\description{\code{NISTpointComputerTOmeter} converts from point (computer) (1/72 in) to meter (m) }
\arguments{
\item{pointComputer}{point (computer) (1/72 in) }
}
\value{... |
0589a94ee0e61115c05e988415503d706087ba8d | c5235bf92b10b622d67ceb30b48835f2f8293f6f | /single_cell_workflow/workflow/scripts/infercnv_analysis.R | c433aba4f294e6ea7710ff5cb0f0a1268880486e | [] | no_license | wlchin/IFNsignalling | 2f601533466cadf7d5b8e72fced40ed00666bbc2 | 4b94c464e685224157e951e22daa6585e647caae | refs/heads/master | 2023-04-09T09:32:50.099304 | 2022-09-12T03:34:00 | 2022-09-12T03:34:00 | 282,825,263 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,156 | r | infercnv_analysis.R |
library(infercnv)
library(Seurat)
x <- readRDS(snakemake@input[[1]])
genes_ <- read.table("resources/mm10.data")
genes <- data.frame(genes_[,2:4], row.names = genes_[,1])
annots <- data.frame(label = paste0(Idents(x),"_", x$seurat_clusters), row.names = colnames(x))
annots <- data.frame(label = x$analysis_ident, ro... |
e4a23e5a47926e601867354a7c56843d45939535 | 13674bb67f76e685de0dbf1f245d2eee614d397c | /bonemarow_asapseq/code/34_TF_pseudotime.R | 19275c836855511fa4a0a43224696ffa095de001 | [] | no_license | liuxiaoping2020/asap_reproducibility | 38101126d37563a4a5f593ee5b7cf7a3ab2690d2 | 9968e6151fb1e3d0d98ee6ad6e30e729838f06d2 | refs/heads/master | 2023-05-14T08:13:22.943175 | 2021-06-11T02:30:24 | 2021-06-11T02:30:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,728 | r | 34_TF_pseudotime.R | library(Seurat)
library(viridis)
library(scales)
library(Matrix)
library(ComplexHeatmap)
library(BuenColors)
library(dplyr)
library(data.table)
"%ni%" <- Negate("%in%")
# Import ATAC processed data
mdf <- readRDS("../output/ArchR_main_metadata.rds")
mdf$barcode <- gsub("ASAP_marrow_hg38#", "", rownames(mdf))
# Order ... |
7c1d7826d251805b996b99143158108ebc787e2d | 691b2f580c409e4d257b4934c566083cbd14d4d1 | /Listings/Chapter 2/2-4-eikon.R | 372624dfa619f148845b4d1f3a48b722f34816d3 | [] | no_license | momokeith1123/automated_trading_with_R | d18c9679314cc360b384be634ae6e5eaffe01362 | 93340bf1c71d71d6ffecbf739c1918c88492c6d1 | refs/heads/master | 2021-05-02T17:08:00.076023 | 2021-03-31T15:58:51 | 2021-03-31T15:58:51 | 120,684,366 | 0 | 0 | null | 2018-02-07T23:20:01 | 2018-02-07T23:20:01 | null | UTF-8 | R | false | false | 805 | r | 2-4-eikon.R | require(tidyverse)
# Load "invalid.R" file if available
invalid <- character(0)
setwd(rootdir)
if("invalid.R" %in% list.files()) source("invalid.R")
# Find all symbols not in directory and not missing
setwd(datadir)
toload <- setdiff(S[!paste0(S, ".csv") %in% list.files()], invalid)
# Fetch symbols with yahoo fun... |
de4703011f2f2a5976dcd9a477981354c442ff02 | 1e78df69ad033f9229d7d668cfd355190356db7e | /cachematrix.R | 23a0181f7b19f55e9d6aad6c2fea541f2f0cea41 | [] | no_license | tdailey80/ProgrammingAssignment2 | 254f091d2065d5e66febd5c35357fa2ee5b82143 | aece48f3ce81e4e1858b49543ee9ed0d33c37dbe | refs/heads/master | 2021-01-20T21:49:04.310508 | 2015-03-22T03:20:12 | 2015-03-22T03:20:12 | 32,651,601 | 0 | 0 | null | 2015-03-21T21:54:37 | 2015-03-21T21:54:37 | null | UTF-8 | R | false | false | 1,932 | r | cachematrix.R | ## The below functions calculate the inverse of a provided matrix using
##the solve function. When called the cahced version of the matrix is
##retreived using lexical scoping.
## This function creates a special "matrix" object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
# sets m to ... |
191bb00210825b2172e3abc94920987572423737 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mistr/examples/nbinomdist.Rd.R | f0eb5e63fc4d850311191e2995abb6ee553d1b16 | [] | 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 | 210 | r | nbinomdist.Rd.R | library(mistr)
### Name: nbinomdist
### Title: Creates an Object Representing Negative Binomial Distribution
### Aliases: nbinomdist
### ** Examples
N <- nbinomdist(10, 0.5)
d(N, c(2, 3, 4, NA))
r(N, 5)
|
2d0101f690fa46f45c6132955b4d19b6434b597c | 4814eeccf3b50778214fbee7b0eac1ddbd4d50c1 | /man/table_names.Rd | 5784e289430b22e640fb95cfa09fdcf9d91f8732 | [
"BSD-3-Clause"
] | permissive | marcpaterno/h5tables | 61abd6bea82794653435c28035daf11f33c08422 | 9b2af22b875e4af7407963926516b3bbdc6aa576 | refs/heads/master | 2022-11-21T01:40:25.115608 | 2020-07-14T02:27:50 | 2020-07-14T02:27:50 | 278,502,859 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 638 | rd | table_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funcs.R
\name{table_names}
\alias{table_names}
\title{Return the names of all tables in a tabular HDF5 file.}
\usage{
table_names(file, pattern = NULL)
}
\arguments{
\item{file}{an H5File object representing an HDF5 "tabular data" file, or th... |
919b41cfb636c8531772f4c271b8c934cc8782c1 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /paws/R/acmpca_service.R | 52051c213f536418c9e68d15274956242a12722b | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 9,691 | r | acmpca_service.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common new_handlers new_service set_config merge_config
NULL
#' AWS Certificate Manager Private Certificate Authority
#'
#' @description
#' This is the *Amazon Web Services Private Certificate Authority API
#' Reference*. It provides d... |
f7f7604672f51021a08fe9b8ba1529456c232ef2 | 33d91334004f2b8db94430ac5778bd977c99e0ac | /R/denom_batter.R | 102858e7d791e040d787af22d47ae5de01aaae24 | [] | no_license | BillPetti/fgrapher | fa78fad07af6344c79f5352773b17b3079229392 | 58446ef6f3b293724fb39598e45ef63f485cc02e | refs/heads/master | 2020-07-04T20:55:13.045018 | 2017-08-15T18:13:10 | 2017-08-15T18:13:10 | 74,143,798 | 2 | 2 | null | 2016-12-06T16:21:03 | 2016-11-18T15:50:21 | R | UTF-8 | R | false | false | 83 | r | denom_batter.R | #' denom_batter
#'
#' A data set
#'
#' @docType data
#' @usage data(denom_batter) |
1a1d0ac45e6a12b0aaa2f0691aeeb06fa6ef9b5d | 8ff63b3ecfcc72e98faff13578dfab9a6f2b79a5 | /R/json_list.R | dad259be47b9667455303580ef4b4de332653aa3 | [
"MIT"
] | permissive | lstmemery/rmangal | 8c767619d20deea1ba7877940697ed1dcb6df898 | 902697c123e0a7000b2cca465a4460c561d83278 | refs/heads/master | 2020-04-10T11:07:47.355941 | 2018-04-27T15:40:31 | 2018-04-27T15:40:31 | 160,984,354 | 0 | 0 | null | 2018-12-08T22:33:39 | 2018-12-08T22:33:39 | null | UTF-8 | R | false | false | 857 | r | json_list.R | #' @title Dataframe into json list
#'
#' @description Convert a dataframe into a list of json data
#'
#' @param df A dataframe, header must be the names of attributes
#'
#' @return
#'
#' A list of json data, each level of the list is ready for injection in Mangal
#'
#' @author Gabriel Bergeron
#'
#' @keywords manip
#'
... |
0d04b2e95373a2dd812dc3716f504ec32b2c9a4c | 3e6bea01f47934e55bda80a6e796da59eacb8ba7 | /R/loading_gen.R | 381a32049002603f21ff9fad4a4a0192621ea3a8 | [] | no_license | nathansam/MSc-diss-code | b581c411b773d435d7f00bc65624712fb77d7c4d | 1f3f4af207bc840e0056fa3027567874621b7aed | refs/heads/master | 2021-05-21T01:01:15.706062 | 2020-04-02T14:27:34 | 2020-04-02T14:27:34 | 252,478,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 838 | r | loading_gen.R | #' @export
LoadingGen <- function(genenumber) {
loading_values <- rep(0, 20)
for (i in 1:20) {
loading_values[i] <- round(genenumber/20 * i)
}
return(loading_values)
}
#' @export
LoadingPrint <- function(iteration, loading_values) {
if (iteration == 1) {
cat(crayon::red(noquote("Thi... |
3ad3e4991c9a2c8b4fb9fbe24929641d71145174 | b65f2ec075f7b95009a8b7998f44a50fc814f0b7 | /man/data_prep_func.Rd | 169cf9e6e634c305db6f9943bba759ee472e769f | [] | no_license | ssh352/sumots | 6eb5e887aa18f4eb7fc1855dab1990b3efccc0ce | ce517ce9a37290837bc4808db3f82508c03f3349 | refs/heads/master | 2023-03-30T17:18:51.145725 | 2021-04-05T20:50:13 | 2021-04-05T20:50:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,318 | rd | data_prep_func.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prepare_ml_data.R
\name{data_prep_func}
\alias{data_prep_func}
\title{Prepares data for modeling}
\usage{
data_prep_func(
data,
outcome_var,
negative_to_zero = FALSE,
fix_gap_size = FALSE,
max_gap_size,
remove_one_obs ... |
96daa89ec151a54930e5731a1fefdefcb1943656 | 8d85451aa39c842322ae4eb08c0be46c64dbaf72 | /man/add_gnomAD_AF.Rd | ef3e722dd62cb20979ecb3557c920e2377baaaf4 | [
"MIT"
] | permissive | KalinNonchev/tMAE | e9b1d13ae2c3054bce66a73311d3faf0216cce34 | ef0e45ceb2997550485464b534b9dcf24ae2a372 | refs/heads/master | 2023-05-06T12:35:01.111897 | 2020-12-31T15:44:43 | 2020-12-31T15:44:43 | 371,254,091 | 1 | 0 | MIT | 2021-05-27T05:13:56 | 2021-05-27T05:13:55 | null | UTF-8 | R | false | true | 1,231 | rd | add_gnomAD_AF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_gnomAD_AF.R
\name{add_gnomAD_AF}
\alias{add_gnomAD_AF}
\title{Add allele frequencies from gnomAD}
\usage{
add_gnomAD_AF(
data,
genome_assembly = c("hg19", "hs37d5", "hg38", "GRCh38"),
max_af_cutoff = 0.001,
populations = c("AF", "... |
5ed014c625db8edf0349b7fe555b6c318bacc01d | 21b37e4bc292073d4347931b40bb2afcc511f8c0 | /run_cces_cumulative.R | 88a02fca449c3b17f108e6d90f00d5d4c9b8ba95 | [] | no_license | stevenworthington/cces | b8d515085cf09481e659f97fd1f174471695ee73 | 013336dc6f3c19d72ecd554460c76d8fabd34bb5 | refs/heads/master | 2022-02-24T20:14:44.076336 | 2019-10-08T16:14:29 | 2019-10-08T16:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,958 | r | run_cces_cumulative.R | library(tidyverse)
library(brms)
library(mapdata)
library(parallel)
# vote 1 means voted for trump, vote 0 means hillary
# sex -0.5 means male, 0.5 female
preprocess = function(df) {
df %>%
mutate(male = -0.5 + 1 * (sex == "Male"),
educ = factor(educ, levels = c("noHS", "HS", "some_or_assoc", "bach", ... |
06a860fe8c0291b53034902e7f32e7fa7e13c70e | a16e440a2f04998e7a2d2c56b0d61070d5d75422 | /lib/regression.R | f2241378b6646a981b62e86bd48e0872bf04115b | [] | no_license | wesleytao/BigDataElectricityAnalysis | 530a56408aaa7d1f8e36a588333d67e9fee0bd70 | c510e1943acc490737b39c43c2d0d14b93c5a848 | refs/heads/master | 2020-03-18T22:38:37.225325 | 2018-07-24T15:01:23 | 2018-07-24T15:01:23 | 135,356,105 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,576 | r | regression.R |
#regression
#input 18foodprice_unit.csv
#
# encoding UTF-8
library(foreign)
rm(list=ls())
setwd("C:/Users/Wesle/Documents/R")
mydata<-read.csv("18foodprice_unit.csv")
all_names<-names(mydata)
drop<-grep("item_id",all_names,ignore.case=F,fixed=T)
all_numbers<-1:length(all_names)
final<-setdiff(all_numbers,drop... |
980961813b1e0c67d574fe8d9c1b88de7723d543 | e4c1422348ae1cd4aa316aad156fefe59670e776 | /pkgs/debias/man/MLEw2p_cpp.Rd | 45700b0836503fc12ae96aa2a071ba34e008faa2 | [] | no_license | thomas4912/pkgs | 161170c78068340a82ddde7535293f812cc77a73 | 8f060661cca439e13b16990bcd2268cc96aac4b3 | refs/heads/master | 2021-01-22T07:27:29.068120 | 2017-02-13T12:17:52 | 2017-02-13T12:17:52 | 81,818,568 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,505 | rd | MLEw2p_cpp.Rd | \name{MLEw2p_cpp}
\alias{MLEw2p_cpp}
\title{Weibull 2-parameter MLE calculation.}
\description{
\code{MLEw2p_cpp} is a wrapper function to a fast C++ implementation optimizing parameters of the 2-parameter
Weibull distribution for a set of data consisting of failures, or alternatively failures and suspensions.
}
... |
760f5205fb5259d4d0ed76b91eb9bcdc8312b11f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mmpf/examples/makePermutedDesign.Rd.R | 9c5336a7731b2af39bd24b5159fea5f1bff7c358 | [] | 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 | 237 | r | makePermutedDesign.Rd.R | library(mmpf)
### Name: makePermutedDesign
### Title: creates a 'data.frame' with some columns permuted
### Aliases: makePermutedDesign
### ** Examples
data = data.frame(x = 1:3, y = letters[1:3])
makePermutedDesign(data, "x", 3)
|
3673dcae8c1c531f947e0ed765334b8ac13e5b01 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bibliometrix/examples/lotka.Rd.R | f6ead8fff3052dda2cd69e2df6b0c5054674ae40 | [] | 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 | 209 | r | lotka.Rd.R | library(bibliometrix)
### Name: lotka
### Title: Lotka's law coefficient estimation
### Aliases: lotka
### ** Examples
data(scientometrics)
results <- biblioAnalysis(scientometrics)
L=lotka(results)
L
|
066e569fa829c1ace85502234b0fdea38873dbdc | a176626eb55b6525d5a41e2079537f2ef51d4dc7 | /Uni/Projects/code/P006.NAS/cn009_SA.r | 3c442595f32e19e4840d1cbc7b0baa6616850c28 | [] | no_license | zeltak/org | 82d696b30c7013e95262ad55f839998d0280b72b | d279a80198a1dbf7758c9dd56339e8a5b5555ff2 | refs/heads/master | 2021-01-21T04:27:34.752197 | 2016-04-16T04:27:57 | 2016-04-16T04:27:57 | 18,008,592 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,248 | r | cn009_SA.r | library(foreign)
library(stats)
library(mgcv)
library(splines)
library(MASS)
library(nlme)
# IMPORTS
#import mod1 DB (PM-AOD)
mb1 <- read.csv("c:/Users/ekloog/Documents/$Doc/3.PostDoc/3.1.Projetcs/3.1.6.NAS/3.1.6.4.Work/3.Analysis/MB_analysis/mb1_met.csv", header=T)
names(mb1)
# Outcomes: Fibrinogen,... |
0d4763c8ced9423fec85708cd18194801f4fecbf | bc536251f89d76d70f702647fc63a0b8df50032c | /Estructuras-Programacion-R/f12.R | d994a32b2bc0cfb17f2a89a9b8db80f3ef6f1b78 | [] | no_license | Louiso/Curso-R | 50ff8439ff42e6cb987bee9ead88a795e04e51ed | 0c0880196ca086b51eb718983fc45cfdab1c3ad1 | refs/heads/master | 2021-01-24T00:03:55.885946 | 2016-06-11T03:13:49 | 2016-06-11T03:13:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 161 | r | f12.R | # Distribucion Geometrica, en ejemplo
n <- 1000
p <- 0.25
u <- runif(n)
k <- ceiling(log(1-u) / log(1-p)) - 1
# Es mas eficiente
k <- floor(log(u) / log(1-p))
|
fc497659da837513e3e99a503735fe744357b720 | 8b1e43bc1809dba3d7def4500cd096550c04228e | /SMU_phylogeny.R | 306a11fb6fa56260d7c2f722879c8fe6ba226b3a | [] | no_license | garlandxie/phylo-traits-BEF-green-roofs | 217f477e1edd0320bcc9ca1938d2be34cd1d2a75 | 0c2b6536ae02e7eef0505a21db191c11878882cd | refs/heads/master | 2021-10-08T04:08:15.868087 | 2018-12-07T15:39:04 | 2018-12-07T15:39:04 | 103,181,691 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,874 | r | SMU_phylogeny.R | ############################################################################
################# METADATA ##############################################
############################################################################
# mega.phy: time-calibrated molecular phylogeny of 13 000+ plant species
# ... |
a3538d3fd699d88c964d345f8d0ca53aa96b3af7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NISTunits/examples/NISTdegCtOdegCentigrade.Rd.R | a6c39d069a50c4e8ed42839b3748c43f4626e540 | [] | 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 | 225 | r | NISTdegCtOdegCentigrade.Rd.R | library(NISTunits)
### Name: NISTdegCtOdegCentigrade
### Title: Convert degree Celsius to degree centigrade 15
### Aliases: NISTdegCtOdegCentigrade
### Keywords: programming
### ** Examples
NISTdegCtOdegCentigrade(10)
|
7d8f402fe4f1118d81fb72a83dc8a57a7cc6498c | e7febfbbb225fab212d0032457d1e27f6fffccfc | /cachematrix.R | 1c2cd0496213c5c1117f73a1dc8b4c52b952d8f6 | [] | no_license | Jules1980/ProgrammingAssignment2 | 13c57ecc6a654b56391236ab313f4bec0bddfe51 | b05ed326c132c9b3d9400e6b43fc064db72f1be3 | refs/heads/master | 2020-03-27T19:05:01.857120 | 2018-09-04T02:20:37 | 2018-09-04T02:20:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,030 | r | cachematrix.R | ## makeCacheMatric - Julia Hamilton - R Programming - Week 3 Assignment
#1. set the value of the maxtrix
#2. get the value of the matrix
#3. set the inverse of the matrix
#4. get the get the inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {
invs <- NULL
set <- function(y) {
... |
3bf357761a595d2ce24d15ced2dbebfe99fbc7e7 | 221072e790a97e05eea0debadbe87955b81ae2e1 | /R/Squiggle-methods.R | 794c9cab41d280881ba949a49bd1fffb70aa43e4 | [
"Apache-2.0"
] | permissive | Shians/PorexploreR | 2ca3d93956ba4592564c8019f1a76252a0696283 | 5086f3e704c6c6036a80d103752d9bce984a0e15 | refs/heads/master | 2020-06-06T05:51:25.714267 | 2019-06-20T07:44:16 | 2019-06-20T07:44:16 | 192,655,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,979 | r | Squiggle-methods.R | #' @include Squiggle.R
#' @import ggplot2
#' @importFrom tibble tibble
#' @importFrom dplyr filter
NULL
#' @rdname Squiggle-class
#' @export
setGeneric("raw_signal", function(object) {
standardGeneric("raw_signal")
})
#' Extract raw signal
#'
#' @param object the Squiggle object
#'
#' @return numeric vector of ra... |
f6d5d45a12d5142588f4f2ba1dacfcc0401824a9 | 0c93e201530984c1dfd41db112457c017fd55a83 | /gyokaikyor/R/handle_str.R | 684754be3070aab7bdf161f5f8b4c23a54274f83 | [] | no_license | Rindrics/reformr | a763e4a0885f2913d24e687cc2e5ab8ceb7b14db | 5f1994f9febe8d9adeb3f0003e93af6bb444b9c3 | refs/heads/master | 2021-10-20T00:11:22.350559 | 2019-02-25T01:05:50 | 2019-02-25T01:05:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 145 | r | handle_str.R | get_col2load <- function(target, regex, offset) {
match <- stringr::str_detect(target, regex)
out <- which(match == TRUE) + offset
out
}
|
b5ad2d4c45051afbb3c0f4fb02f20f26c245d263 | eb6c9070f548b6e21b7439b247997665c951b6f7 | /man/get_sub.Rd | d99164746395f3a5ffbba6e2376216c0519c26f2 | [
"MIT"
] | permissive | billspat/azrunr | 48b7330d003a1247c198de4bf76d2c59d564b815 | 256e6cc253e76d6b5b6faf6e2c7c9dc1411f2c77 | refs/heads/master | 2023-03-23T00:18:57.121185 | 2021-03-17T18:52:12 | 2021-03-17T18:52:12 | 276,467,750 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 750 | rd | get_sub.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/azure_setup.R
\name{get_sub}
\alias{get_sub}
\title{get the azure subscription object for the given sub id value
can also be used to test if a the azuresub is valid (will return NULL)
requires Azure login and this function will initiate that}... |
45de4b33919bc7aa8a0894f782df0215a807b8d8 | 97a10d4612014d6f1b3cae279d70983f876b7586 | /inst/expt/topography3d.R | 9ee6a7b8bfde7f9f815b88f08369d8946ccbd25f | [
"MIT"
] | permissive | mdsumner/pproj | c3dfe25404bb1c0063dd0c8960e5d48ff8559d93 | 9aa2c45c8efd71c5bc19ad1d6b58a93834cbbebb | refs/heads/main | 2023-02-06T08:47:59.650271 | 2023-02-05T22:55:54 | 2023-02-05T22:55:54 | 24,184,076 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,017 | r | topography3d.R | library(marmap)
library(geosphere)
library(raster)
library(geometry)
## one part of this is upside down
llh2xyz <- function(lonlatheight, rad = 500) {
cosLat = cos(lonlatheight[,2] * pi / 180.0)
sinLat = sin(lonlatheight[,2] * pi / 180.0)
cosLon = cos(lonlatheight[,1] * pi / 180.0)
sinLon = sin(lonlatheight[,1] * pi / ... |
00c5e6ddb00da671ed0bd5e3bbee9a03df09535e | 304fe6596b84657320497f82c73bd319497faf9a | /man/ManualAlignImages.Rd | 6c236af02d739b1f4f3b4299665c27b808fe930f | [] | no_license | diegosainzg/STUtility | 30e76fd1c323b3d0806e43c85ca0b05922ed2ff4 | 1817a5dab56589459e0442216cbd9ee219842be3 | refs/heads/master | 2023-07-18T12:37:37.321338 | 2021-09-08T14:06:37 | 2021-09-08T14:06:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,010 | rd | ManualAlignImages.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generics.R, R/image_processing.R
\name{ManualAlignImages}
\alias{ManualAlignImages}
\alias{ManualAlignImages.Staffli}
\alias{ManualAlignImages.Seurat}
\title{Manual alignment of images}
\usage{
ManualAlignImages(
object,
type = NULL,
re... |
b6b2eeff8ab6c8f9ed5099514b6a8ff6b9eb5da3 | eb159b0bc342c6b7e698ecce39001cbd0361b240 | /man/findoneBP.Rd | 44ed776951cbcf591372d0b9df425b1d6b8abf87 | [] | no_license | tudou2015/pwlPackage | a1a51a5a6d1fbf2c20a81dc1932635781a6b0261 | 98da97128e0626750e490f9b20859021fb53e230 | refs/heads/master | 2021-01-12T10:21:15.033645 | 2016-12-10T21:09:32 | 2016-12-10T21:09:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 513 | rd | findoneBP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/findoneBP.R
\name{findoneBP}
\alias{findoneBP}
\title{A function that is used to find one breakpoint only, without creating the SSR matrix.}
\usage{
findoneBP(data, l)
}
\arguments{
\item{data}{The dataset that wants to be approximated}
\ite... |
d38a1a952c4ecf9615d1b925775b027e6af9a730 | e0c2333f3d040ca611556ed4fdf922ee40048a40 | /R/mongrel_sim.R | 524e691341b84f03f4423896d9869121b91a0f70 | [] | no_license | jimhester/mongrel | 3d174970ec1cadb3fd73bce9c2ac5dd0245c4f4a | d21bbcf10e6b9c94cf4a8e3d1fff67dc80c6340f | refs/heads/master | 2020-03-22T18:54:56.060946 | 2018-07-10T21:54:46 | 2018-07-10T21:54:46 | 140,491,115 | 0 | 0 | null | 2018-07-10T21:55:28 | 2018-07-10T21:55:28 | null | UTF-8 | R | false | false | 1,603 | r | mongrel_sim.R | #' Simulate simple mongrel dataset and priors (for testing)
#'
#' @param D number of multinomial categories
#' @param N number of samples
#' @param Q number of covariates (first one is an intercept, must be > 1)
#' @param use_names should samples, covariates, and categories be named
#' @param true_priors should Xi and... |
caf5df427a250d4ecd9f44bca89b6be751fab906 | 754868022840f77a82c56e9c1f2632dd6412c004 | /man/loadModels.Rd | 581972d74facc16fdcf42d07219503637371b035 | [] | no_license | tetratech/baytrends | d0ef7f96aff8be56193f76d6fdb8f6148d3bf6b2 | f5227d506b88db28da73f015ce81ef98fa0fe622 | refs/heads/main | 2023-06-09T18:41:34.007828 | 2023-05-25T12:09:29 | 2023-05-25T12:09:29 | 113,074,527 | 12 | 4 | null | 2023-04-05T00:53:05 | 2017-12-04T17:40:27 | R | UTF-8 | R | false | true | 993 | rd | loadModels.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/loadModels.R
\name{loadModels}
\alias{loadModels}
\title{Load Built-in GAM formulas}
\usage{
loadModels(gamSelect = "gam4")
}
\arguments{
\item{gamSelect}{character vector of models (Current options include gam0,
gam1, gam2, gam3, gam4, gam5)... |
9d0823dca3245af7de31b87111608b125917e295 | 2c38fc71287efd16e70eb69cf44127a5f5604a81 | /man/tar_assert.Rd | 9203cead7d0a6f74092fd60c444cca685e810fbc | [
"MIT",
"Apache-2.0"
] | permissive | ropensci/targets | 4ceef4b2a3cf7305972c171227852338dd4f7a09 | a906886874bc891cfb71700397eb9c29a2e1859c | refs/heads/main | 2023-09-04T02:27:37.366455 | 2023-09-01T15:18:21 | 2023-09-01T15:18:21 | 200,093,430 | 612 | 57 | NOASSERTION | 2023-08-28T16:24:07 | 2019-08-01T17:33:25 | R | UTF-8 | R | false | true | 3,998 | rd | tar_assert.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_assert.R
\name{tar_assert}
\alias{tar_assert}
\alias{tar_assert_chr}
\alias{tar_assert_dbl}
\alias{tar_assert_df}
\alias{tar_assert_equal_lengths}
\alias{tar_assert_envir}
\alias{tar_assert_expr}
\alias{tar_assert_flag}
\alias{tar_asser... |
e31bbe83eb650cf27835335a5fa5e70733c1b700 | dc78e2e767d9a9b817f8915420f62cffba8bd390 | /app.R | 20324c419809c8315cc9062fdfe2f7073462d1ad | [] | no_license | enjieli/BAILA_ShinyR | 03da0647adacaa7964ef710952d8a295f0791f4b | 46ec7367d2413b8378e05a5e888921863195a630 | refs/heads/master | 2021-08-08T08:35:05.851209 | 2020-08-06T01:25:56 | 2020-08-06T01:25:56 | 208,141,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,865 | r | app.R | rm(list=ls())
library(leaflet)
library(geojsonsf)
library(sf)
library(tidyverse)
library(shiny)
library(ggmap)
library(classInt)
library(RColorBrewer)
rsconnect::setAccountInfo(name='janeli',
token='YOUR API TOKEN',
secret='YOUR API secret')
typology <- geojso... |
1d8cc762a0a112e3f4ecb6d123ab56230118cdd4 | 07c1415fbd3bd67accf767aa5df03d4ec8361258 | /create_data/create_crosswalk.R | b6954550d1d8ab158dea149392225d254f3952eb | [] | no_license | Meeris/kuntar | ab4df7c175b96b765dda4f3cd4bb39b0ac1fa54b | 382c0b6f804abe0d9f8d7e94c7439ce140752151 | refs/heads/main | 2020-07-25T01:53:49.982674 | 2019-11-10T22:01:36 | 2019-11-10T22:01:36 | 208,121,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,352 | r | create_crosswalk.R | ## ---------------------------
##
## Script name: create_croswalk
##
## Purpose of script: create crosswalk files
##
## Author: Meeri Seppa
##
## Date Created: 2019-07-11
##
## Copyright (c) Meeri Seppa, 2019
## Email: meeri.seppa@helsinki.fi
##
## ---------------------------
##
## Notes:
##
##
## ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.