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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a9be545b22313089fe2f0e40599a552a9bbe72b | c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab | /man/gdkPixmapColormapCreateFromXpmD.Rd | d34d5ed04b8dd922af0c8f373d9b8b98227b9a31 | [] | 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 | 1,326 | rd | gdkPixmapColormapCreateFromXpmD.Rd | \alias{gdkPixmapColormapCreateFromXpmD}
\name{gdkPixmapColormapCreateFromXpmD}
\title{gdkPixmapColormapCreateFromXpmD}
\description{Create a pixmap from data in XPM format using a particular
colormap.}
\usage{gdkPixmapColormapCreateFromXpmD(drawable, colormap, transparent.color, data)}
\arguments{
\item{\code{drawable}... |
e0bdf5a395f07046ab989ec1ddaf02d930d5ff10 | 7c756f0eaa3779587672508437e5eef5db9b9236 | /R/simulate-nplcm.R | b262d24df406044d12afaa5987b1a7c8e8fbdfbe | [
"MIT"
] | permissive | vjcitn/baker | 6da8e43e717eeb68f00b80eb27cdd60dfc9336f8 | 140718dfb9e87d23543570f4a402a39ea024f095 | refs/heads/master | 2021-01-19T10:32:40.575869 | 2016-12-21T16:55:12 | 2016-12-21T16:55:12 | 82,190,742 | 0 | 0 | null | 2017-02-16T14:42:24 | 2017-02-16T14:42:24 | null | UTF-8 | R | false | false | 10,427 | r | simulate-nplcm.R | #' Simulation data from nested partially-latent class model (npLCM) family
#'
#' @details Use different case and control subclass mixing weights. Eta is of
#' dimension J times K. NB: document the elements in \code{set_parameter}. Also, current
#' function is written in a way to facilitate adding more measurement c... |
912948ad018bdcef90d10983da7653838a8bd864 | 5f03e099038f2b374eefd88dc5627b94e204fc43 | /linear model function.r | b11af9d0036b3753008d06d8fa2ba673c0a081f5 | [] | no_license | jatinr507/CS2610 | 18e79937bd2119045026c1137bbb156a6f8fc87f | 4c31e791d6cce9feccd755e5e5648b1f7e74343a | refs/heads/master | 2021-01-10T10:36:01.841813 | 2016-01-27T23:13:51 | 2016-01-27T23:13:51 | 50,544,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 513 | r | linear model function.r | linereg <- function(x,y){
n <- length(x)
data1 <- cbind(x,y)
data1
xbar <- mean(x)
ybar <- mean(y)
xc <- x-xbar
yc <- y-ybar
xs <- xc^2
b1 <- sum(xc*yc)/sum(xs)
b1
b0 <- ybar-b1*xbar
yhat <- b0+b1*x
e <- y-yhat
y <- b0+b1*x+e
y
plot(y~x)
abline(a=b0,b=b1)
b1
b0
print(linereg)
}
... |
820a9f4399944f4ad379d505cbc5d49d2bd3b509 | db01e20713fde3d6341dbb2f3e74ad64ae6c72c1 | /plot3.R | ca7ef6f77de8581ded77b7f1b84862b7e80db88b | [] | no_license | geisbsuj/ExData_Plotting1 | 323f7f824f6cb7fa6deca26510bd1ea9fbd13d73 | fd3ee68b1db55f83c6758368e5dbc163fcf75276 | refs/heads/master | 2021-01-06T04:06:36.745166 | 2018-03-01T16:41:58 | 2018-03-01T16:41:58 | 123,417,776 | 0 | 0 | null | 2018-03-01T10:10:36 | 2018-03-01T10:10:35 | null | UTF-8 | R | false | false | 991 | r | plot3.R | #read data
gap <- read.table("household_power_consumption.txt", header = TRUE, sep=";", stringsAsFactors = FALSE, dec = ".", na.strings ="?")
#Subset
sub_gap <- subset(gap, gap$Date =="1/2/2007" | gap$Date == "2/2/2007"| is.na(FALSE))
#eliminate potential na's(date and time do not have na's)
sub_gap <- sub_g... |
2fc751d1c51fc729f72878cde9630a9ae22a055f | 41624700d7fe9ecd40ed18d9bc12524cd4861aae | /src/3-do/API/cnvXmrnas/API_cnv_X_mrnas.R | c0749608b0e2777c72ce1797a997cc4c70cf3c2b | [] | no_license | mabba777/multiomics | b7dfd1668d29642f823d3113e7048ac0c9033b95 | caba3bf76c585e75febad3303b4d92dcd4f86058 | refs/heads/master | 2021-01-19T20:43:22.698926 | 2017-04-17T17:08:38 | 2017-04-17T17:08:38 | 88,539,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,095 | r | API_cnv_X_mrnas.R | #If the CNV has got repeated genes, it will use the first row in the order.
CnvXMrnas <- function(mrna, meth, meth.to.gene, output.path="~/",
output.file.name="methXMrna.csv",
r.minimium=0.7,
... |
57be96ebe27cf5dfe282e9392e19cc4c1614ed9d | 527cff34256966e0c0798879da45e829d8d143c5 | /Hamilton/CheckInput.R | f62d137eda4d59305718ed44df45c776588d8c8f | [] | no_license | DomiSchr/Hamilton | 92286095c08fb2631d297039268aac202a0d9269 | 5b5b05f51cef7279d0ec954312e02cbb98d5b08f | refs/heads/master | 2022-11-14T00:35:32.203949 | 2020-07-07T14:57:05 | 2020-07-07T14:57:05 | 248,734,286 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,046 | r | CheckInput.R | CheckInput <- function(vector.population, integer.housesize) {
# Validates the input for population vectors and the housesize
# Author: Dominik Schröder
#
# Args:
# vector.population: a vector containing the population of each state per column.
# integer.housesize: the house size as variable.
#
... |
36b5ca3e89fd1fc60e234d8beeac8ec2b08907c4 | fa31be675e9c3fd68779b932c44a00ffa55d8904 | /Clase 4.R | 5567d4b4ef67f446b94703c54405461b84c2c0cb | [] | no_license | senboada/Curso-R | b79e53f03c598ef2c532f23e1c91dd3958abfce6 | 14fb62970e8386fcddb73b48a5c7b2f5d01454fd | refs/heads/main | 2023-08-12T10:32:22.313149 | 2021-10-12T23:25:36 | 2021-10-12T23:25:36 | null | 0 | 0 | null | null | null | null | ISO-8859-2 | R | false | false | 7,443 | r | Clase 4.R |
### Una base
url1="https://raw.githubusercontent.com/Cruzalirio/Ucentral/master/Bases/ICFES/PruebaSaber1.csv"
url2="https://raw.githubusercontent.com/Cruzalirio/Ucentral/master/Bases/ICFES/PruebaSaber2.csv"
Icfes1 <- read.csv(url1, sep=";")
Icfes2 <- read.csv(url2, sep=";")
names(Icfes1)==names(Icfes2) #... |
5a46e1e82a435893ac48f8c01160ce2fd00dd8cb | 6862189c57af437672aa818a2b6f15f1c1e3e463 | /R/surveyPoints.R | d1c5727a969deeb9cc42e89e449fa34e321622cd | [] | no_license | cran/soilassessment | e16dfac3f1d6b331be10e4d305ed3d807525ae6c | f9d33fe490db6c4c1be3336094c90c877e86bd6f | refs/heads/master | 2023-07-20T10:41:19.945716 | 2023-07-08T11:10:03 | 2023-07-08T11:10:03 | 217,496,098 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,121 | r | surveyPoints.R | surveyPoints=function(soilmap,scorpan,conditionclass,mapproportion){
if(is(soilmap,"RasterLayer")){
map=soilmap;
w=scorpan;
b=conditionclass;
j=mapproportion
tagt=which(map[]<=b)
emerg=sort(sample(tagt,length(tagt)*(j/100)))
map[emerg]=1
area=length(subset(getValues(map), getValues(map) == 1)... |
da769b1fdc97360fa85e9cc18eb0bfa193c8fda8 | 43e760ddd28bdb0f5ce1251766ae6bef56c1efd9 | /R Projects/Practice/2. Inferential Statistics.R | cd10a41b78934bea68511807c436ef57dcf9ca66 | [] | no_license | giteshpoudel/DataScience_Repo | 878d889ee5787c7ffca1af22ee8a4a95960aacd9 | fafa9039ae8965b1ae2dcda2f0a48fc1e3958e8a | refs/heads/main | 2023-01-18T23:41:53.211599 | 2020-11-14T14:51:51 | 2020-11-14T14:51:51 | 299,972,670 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,881 | r | 2. Inferential Statistics.R | setwd("C:/Users/Gitesh/Desktop/Term 2/ALY6015/Week 2 Project")
library(tidyverse)
install.packages("dslabs")
library(dslabs)
data(murders)
summary(murders)
#calculating murder rate in per hundred thousand people
murder_rate <- murders$total/murders$population * 100000
murders <- mutate(murders, murder_rate)
head(mu... |
28c05a435ffdce0d5507ad273e123aa8d5435c62 | 711d4bc7205b2049fa56fa274d110792ce27f12b | /ties.r | 7886593b760b466e68785151b714fa810eac3213 | [] | no_license | slavojstar/general | e2593851dc85bbb9617343801cd6feb417f7fb22 | fd796759488f1b6dbc952dfa217ad91bb4ae65e1 | refs/heads/master | 2020-09-08T21:43:44.165356 | 2020-01-08T10:23:28 | 2020-01-08T10:23:28 | 221,250,328 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,388 | r | ties.r | tie_checker <- function(vector_in) {
# Returns a list of the positions of ties, in clusters.
# (i.e. a cluster is a list of positions in which all the elements
# at those positions are equal)
tie_positions <- list()
len <- length(vector_in)
# For each position in the vector, search along the rest of the ... |
1488cff45a2e0783d3169234263f92d28826d45a | 77e1f3fff1cfdf8f76c5a0a1f7b3694d0c9ced89 | /refbias/Scripts/mult_testing4.R | 6f4046589d9d64d55e05ecfefaca3c7b2579d29a | [] | no_license | evigorito/geu_pipeline | ed0065eaf67cfe79519e4015b7087be16e8b0842 | 646b76f21cc9313e16aa3c7a21d8494736ffdb09 | refs/heads/master | 2021-04-04T16:53:50.221458 | 2020-03-23T11:32:34 | 2020-03-23T11:32:34 | 248,472,913 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 41,345 | r | mult_testing4.R | #' ---
#' title: Choose prior and set threshold for making significant calls with Bayesian model
#' author: Elena
#' output:
#' pdf_document:
#' toc: true
#'
#' ---
## Report built by rule Btrecase_analysis from
## /home/ev250/Bayesian_inf/trecase/Scripts/stan_eff/real_data/refbias/Snakefile
## Load R... |
857fbb148add42627189eaab73aff083d31d9fc6 | d8e775429487eefa8b4e5731b4d50d4a95d20cd8 | /man/TaskDens.Rd | 8a683a41e1727b0b8db70671769a80343197597f | [
"MIT"
] | permissive | sands58/mlr3proba | 766dd7d977badcd81f6efdeab1e51a2d661a0859 | 901e3bc04d4eaacc2ce28126c97df16df736b5b6 | refs/heads/master | 2021-05-17T00:48:58.863868 | 2020-03-25T22:09:24 | 2020-03-25T22:09:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,624 | rd | TaskDens.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TaskDens.R
\name{TaskDens}
\alias{TaskDens}
\title{Density Task}
\description{
This task specializes \link{Task} for density estimation problems.
The target column is assumed to be numeric.
The \code{task_type} is set to \code{"density"}.
Pr... |
e5b5ffbc72f6c2e2ff088a8bfc74ee0a16db8e35 | 241e5ec1146e8f606eed1ddb1f578592af7fbc03 | /R/Hilmo_import_csv.R | 256252c97b515839b077a8391928a6cc03f9cd89 | [] | no_license | vilponk/hilmotools | a5cece4af47a491c98bc2a44ce0f9092abea5b0d | f04a244cd35cae8c3b7ed2e9ec2b9cf8a9b8ccde | refs/heads/master | 2021-03-21T03:09:40.120896 | 2020-03-14T10:54:54 | 2020-03-14T10:54:54 | 247,259,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 881 | r | Hilmo_import_csv.R |
#' A Hilmo import .csv function
#'
#' This function allows you to import csv files in more tidy format and it creates ID column from lahtopaiva and tnro
#' @param filename the name of your file you wish to import
#' @keywords csv hilmo import
#' @export
#' @examples
#' Hilmo_import_csv()
Hilmo_import_csv <- function... |
d900f11382618c2d3ed72926075a05076f88bfde | 198ff2dd375b7bcf822662bc2dbf31ec87cfdc46 | /Packages/diff/R/Hessian.R | 76c2882f495839ab19f29f335091962429530811 | [] | no_license | AleMorales/DynamicPhotosynthesis | 7905f7bbf83e347b6b1bea0d39627565b6abcd6e | 82486e89635ed116c814eb8b939338d36734c616 | refs/heads/master | 2021-06-14T14:57:48.797872 | 2021-05-26T15:47:13 | 2021-05-26T15:47:13 | 30,246,331 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,076 | r | Hessian.R | # For multivariate- functions
# Finite difference -----------------------------------------------------------------------------------------------
#' @export
finite_hess = function(ofun, h = 1e-4, d = 0.1, zero.tol = sqrt(.Machine$double.eps/7e-7), r = 4, v = 2, ...) {
function(pars, ...) numDeriv::hessian(func = of... |
8f8c8fd9c1fc072d1a25a331041902fa519dde63 | 90f0578e52e91b50b67f7f762d9cfc14e93928e3 | /R/Scripts/unsupervised_learning/k_means_clustering1.R | 099b77a91342aeca9298ece5250be0abd0b34544 | [] | no_license | tdworowy/Data_science_notes | 0d755f1de1a1e55398413d45f26055185285a0a5 | 3f08e0a1d87d78c663dd91d413f15be8cf813e84 | refs/heads/master | 2021-06-23T02:05:18.234198 | 2021-01-09T09:36:21 | 2021-01-09T09:36:21 | 173,426,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 477 | r | k_means_clustering1.R | set.seed(9999)
x <- rnorm(48, mean = rep(1:3,each=8),sd=0.2)
y <- rnorm(48, mean = rep(c(1,2,1),each=8),sd=0.2)
df <- data.frame(x,y)
k_means <- kmeans(df,centroids=3) # need to guess number of clusters in advance
library(cluster)
clusplot(df, k_means$cluster, color=TRUE, shade=TRUE,
labels=2, lines=0) # ... |
b039e78b7862f23deb1f1c218a41b5a15a419520 | 0c7a06b9b2e1d9df4d085ead823e54861c8575fc | /server-side/code/LINCS.data.statistics.R | f5e6ddc1c512cfdb96a466851a12093d29cfe53c | [] | no_license | bioklab/CancerImmunoTherapy | b59fc5a794b8f8bb16ea5c4fa63a727222c9d48e | bb874859dc01933704313145dd5f53628bb6a156 | refs/heads/main | 2023-06-16T16:04:35.293470 | 2021-07-11T22:33:37 | 2021-07-11T22:33:37 | 385,063,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 485 | r | LINCS.data.statistics.R | require(plyr)
require(dplyr)
df1 <- fread(input= 'PhaseI/GSE92742_Broad_LINCS_inst_info.txt',header=TRUE) %>% as.data.frame
df2 <- fread(input= 'PhaseII/GSE70138_Broad_LINCS_inst_info_2017-03-06.txt',header=TRUE) %>% as.data.frame
col.name <- c('cell_id','pert_type')
df <- rbind(df1[,col.name],df2[,col.name])
df <- ta... |
d50d1a98e0831368d425157108099a9b43c23b4c | 77d9df18e27e81c6cd7fa91c7808433b7d0a128b | /plot6.R | c44b1e0a3b9ec8212a0960ffa21ac845236e7324 | [] | no_license | krsn4/DataAnalysisCourseProject2 | 7a72a37fe52549b7f3722906f8020abcc3cfa962 | fc02f895a1a469eaa6433208b1e8df90f24f5fa0 | refs/heads/master | 2020-12-01T16:00:08.307049 | 2019-12-29T22:19:48 | 2019-12-29T22:19:48 | 230,691,627 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 832 | r | plot6.R | #fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
#download.file(fileUrl, destfile = "dataset.zip")
#unzip("dataset.zip")
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#6 (Emissions from MC, Baltimore vs Los Angeles)
NEI_LA <- NEI[NEI$fips == "060... |
acdf01b2b6b044e8588c639ab46e8589ba8ef893 | 34534a12548e0ed95c1ae9e9fb435946eff92838 | /man/R0_recurrence_seroprev_whole.Rd | b6324332cb910ed1889dd2083f670f48b3a3790d | [] | no_license | mrc-ide/YFestimation | d9b52bd9d9eda1634de6bf4d9e1cd72f29c69d2d | a352fe9369c4e1ec5915d63f0b36c8cfcc18894b | refs/heads/master | 2021-03-08T16:29:37.221197 | 2021-03-03T18:07:05 | 2021-03-03T18:07:05 | 176,555,403 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,029 | rd | R0_recurrence_seroprev_whole.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/R0_model_functions.R
\name{R0_recurrence_seroprev_whole}
\alias{R0_recurrence_seroprev_whole}
\title{function to calculate seroprevalence everywhere by recurrence relation in R0 model}
\usage{
R0_recurrence_seroprev_whole(adm, dat, R0, t0_vac... |
7ce0d4e5b26ff1014a8c624c9e62f91f6465dcee | b419072cba7e59d581a5f0a5df63b3525e6de214 | /R/create_summary_table.R | 8704ebd3f9c55e88fc79adbaf27c428de3d9af42 | [
"MIT"
] | permissive | awconway/ptds | 797ffe9edc4ca8eb561d93c890cb23f11a2189dd | d2573059f4a92d5ac9a740463a3310572e658cca | refs/heads/master | 2022-12-28T16:02:55.930052 | 2020-10-18T19:04:08 | 2020-10-18T19:04:08 | 249,006,473 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 587 | r | create_summary_table.R | ##' @title
##' @return
##' @author Aaron Conway
##' @export
#' @importFrom dplyr select
#' @importFrom gtsummary tbl_summary italicize_labels as_flextable
create_summary_table <- function(data_ptds) {
data_ptds %>%
select(age, sex_factor, procedure_factor, fluids_duration, food_duration) %>%
droplevels() %>%
... |
7bb4a33f05f858f3486b013b2e9b0b5df576e889 | cfb022d19e331e397707619aea2d5142cf76b491 | /src/linear-modeling.R | ac74ee4474a3a8c97d4f5ae376141e298ffc8427 | [] | no_license | rajaldebnath/F1000_workflow | 6d356d88bf12cf48d9a809ed61e0bac825c0e1d7 | b29977a21d7f46ec0cedfc8052ff77a80763580e | refs/heads/master | 2020-06-20T00:47:30.501132 | 2017-07-31T13:18:02 | 2017-07-31T13:18:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,453 | r | linear-modeling.R | #! /usr/bin/env Rscript
# File description -------------------------------------------------------------
# Linear modeling to relate sample characteristics to community
# summaries.
## ---- lm-get-alpha-diversity ----
setup_example(c("phyloseq", "ggplot2", "nlme", "dplyr", "vegan", "reshape2"))
ps_alpha_div <- estima... |
a6268ebfa427935d3c9032d4a151d505a78a6abf | 10d24e42cda4c05ee04a47a0e292a2f2b5dc86a3 | /plot6.R | f67ac7ee6eae44386507738a0d2c8ee21e848848 | [] | no_license | AviaPeron/Exploratory-Data-Analysis | 00840fcff7adb5db236f2ca0da37d46a66304215 | 83fdd9e9572e9cfcd5b52a89733ed89d6af6d6b1 | refs/heads/master | 2021-01-19T14:13:55.712387 | 2017-08-20T21:08:50 | 2017-08-20T21:08:50 | 100,888,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 903 | r | plot6.R | library("ggplot2")
if(!exists("NEI")){
NEI <- readRDS("./data/summarySCC_PM25.rds")
}
if(!exists("SCC")){
SCC <- readRDS("./data/Source_Classification_Code.rds")
}
## Subset the dataset to Emission In Baltimore City + LA and the type = ON-ROAD
MotDatLABal <- subset(NEI, NEI$fips %in% c("06037", "24510") ... |
c688a2aaed7cd83870f21d77ac1724236139bb82 | 5e16efbfd051bb517527df48815622b9b227e216 | /man/coo_rotatecenter.Rd | b43317267157c39f55be4bf837725206e9a586d8 | [] | no_license | yuting27/Momocs | ac41fb817a689c90be97788c4cf4dbdc769b7ff5 | d4cb2a504e7f78a0d39e3e741620a9d4364b9437 | refs/heads/master | 2020-12-29T03:18:50.753927 | 2016-02-10T19:44:48 | 2016-02-10T19:44:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 817 | rd | coo_rotatecenter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coo-utilities.R
\name{coo_rotatecenter}
\alias{coo_rotatecenter}
\title{Rotates shapes with a custom center}
\usage{
coo_rotatecenter(coo, theta, center = c(0, 0))
}
\arguments{
\item{coo}{a \code{matrix} of (x; y) coordinates or a \code{list... |
2c042975ac86f9080e8ada09842087f5ac4669e7 | 2b76e72f3e46d2fa85721b1a6ff4bdbb71c40f04 | /man/list_sheets.Rd | 6d86bfda273afa7282e0567eaf323dc38303b7ab | [
"MIT"
] | permissive | elias-jhsph/rsmartsheet | ae7f1a8531ce2225417d3444d3de213152c169d5 | 18bff1da9dce5acdaff07a3da49c5fe4827c4d98 | refs/heads/master | 2021-07-07T09:57:20.373524 | 2021-05-10T17:57:50 | 2021-05-10T17:57:50 | 236,876,103 | 8 | 6 | null | null | null | null | UTF-8 | R | false | true | 432 | rd | list_sheets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Smartsheet-R-sdk.R
\name{list_sheets}
\alias{list_sheets}
\title{Download a file of an existing attachment on a Smartsheet with a specific sheet name}
\usage{
list_sheets()
}
\value{
returns table of smartsheets
}
\description{
Download a fil... |
fc497ca1ac66ffde0f6f14949180907f5abec4f2 | a6d14a208a21ce11d36f9f1ada90fb3cfd11081a | /development/result_sco_prem/scripts/05_build_ensemble_and_evaluate_performance.R | 7df92fa48b965c7f860978bc6ab1c6760e74ea87 | [] | no_license | Sol-Won-1100/panenkar | b04e70be375b7da9a907742d67bc09569e210d33 | b50a29f62445b3be35c5949bf082abb659be2ab5 | refs/heads/master | 2023-05-06T18:20:39.853010 | 2021-06-04T23:37:15 | 2021-06-04T23:37:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,987 | r | 05_build_ensemble_and_evaluate_performance.R |
# TITLE: Build Ensemble and Evaluate Performance
# DESCRIPTION: Build an ensemble model and evaluate its performance on the result market of the Scottish Premiership
# Setup ----------------------------------------------------------------------------------------------------------------
.competition_id <- "sco_... |
3fd1adde42d75007eb32407d0b3dfff79671ec34 | fef76dd9866c037d7120d04843bcc5403f5b1abd | /diveRsity.R | 8293092273e40440ccd5aef8acf45e2f62ba9619 | [] | no_license | popgenomics/quantiSex | cffec93511f3a9e3f98156d7b7d8609de3202a19 | c2c0622bd50ed1342578b2fc168fccfeffd5fb00 | refs/heads/master | 2021-06-24T15:52:50.696400 | 2020-12-28T17:46:04 | 2020-12-28T17:46:04 | 58,804,295 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 438 | r | diveRsity.R | #!/home/roux/R/bin/Rscript --vanilla
# # !/usr/bin/env Rscript
#./diveRsity.R input=nameOfGenePopFile output=nameOfROutputFile
.libPaths("/home/roux/softwares/R-3.4.2/library")
library(diveRsity)
#require(diveRsity)
options(warn=-1)
for(i in commandArgs()){
tmp = strsplit(i, "=")
if(tmp[[1]][1] == "input"){input = tm... |
cf90d2616aba0b6e85282d10fee54d360802ba07 | d2a85f1faf32de2203f1a3e3083762b481c420c2 | /regresi-.R | 10fb2ec14c5a4d3a1f25d1bd6f4d9e4cef86f932 | [] | no_license | dwiabdulrahman/R-studio | e2ebe54fc6b73f129602b4cc95269a56f5ed245c | 0a2f4ff5df1dc4d0a75f8082623cec0619b8a7ba | refs/heads/master | 2020-03-30T07:57:03.856949 | 2019-01-11T09:08:36 | 2019-01-11T09:08:36 | 150,976,525 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 807 | r | regresi-.R | # Nama
# Dwi Abdul Rahman ( 17523151 )
# Girendra Egie Zuhrival (17523154)
#-----------------------------------------------------
#Data
data1<-read.csv(file="dataproduksi.csv", header=TRUE)
data1
#Linear Regresion
model <-lm(jamKerja ~ JumlahProduksi, data=data1)
summary(model)
plot(jamKerja ~ JumlahProdu... |
b9b7e7e73fba489a09a4f3ecfd641e5f01dd1ccd | ec60cf027d03789e22f9ff00257b3148cc93ed46 | /PCAplots2.R | 73aee0fa1f4472c04d7fc369e37280414bcb0691 | [] | no_license | ReubenBuck/99Lives_scripts | 85f0000e6e442671dc65350036eac4ad12f2b560 | a45b82008e4ca3a1b3af46a92c1b5965bf69fc13 | refs/heads/master | 2022-07-20T14:26:56.676655 | 2020-05-17T22:54:04 | 2020-05-17T22:54:04 | 256,058,911 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,068 | r | PCAplots2.R | rm(list = ls())
options(stringsAsFactors = FALSE)
library(gdsfmt)
library(SNPRelate)
library(RColorBrewer)
library(dendextend)
#system("rm ~/Desktop/TMP/data.gds")
#vcf.fn <- "/mnt/raid/projects/99Lives_analysis/vcf_200117/thin_snps/combined.thin_1kb.1maf.vcf.gz"
#snpgdsVCF2GDS(vcf.fn,"~/Desktop/TMP/data.1maf.gds",met... |
5f8a9d576eedfde15d523f3f385f797d42199699 | b6c500373edf55d6c32030eda2a9d524641fa420 | /server/server-renderTable.R | b46cb0a926e02542adb034c8ac782a09b0d4293c | [] | no_license | hyeyeankkim/GEOprogram | 45137d6c87a43c98574b9ecbb18e20e0cfb7f270 | b0669109645c095fbafa5afd1a1fc5c75827a75e | refs/heads/master | 2020-05-29T16:09:10.162329 | 2016-12-07T08:41:47 | 2016-12-07T08:41:47 | 58,996,096 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 182 | r | server-renderTable.R | observe({
output$content <- renderTable({
infile <- input$file1
if(is.null(infile)){
return(NULL)
}
read.table(infile$datapath,header=input$header, sep=input$sep)})
})
|
dadf3eacff2106d762ab64556e11041ff1fbda13 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/doBy/examples/is-estimable.Rd.R | dd13cee848f244a3c3c5df046a03c15b39b9c947 | [] | 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 | 192 | r | is-estimable.Rd.R | library(doBy)
### Name: is-estimable
### Title: Determines if contrasts are estimable.
### Aliases: is-estimable is_estimable
### Keywords: utilities
### ** Examples
## TO BE WRITTEN
|
47a3e6bc3bbddea1ad96acfd33655d4f230bb193 | 5e94cd423bfcb82cb06789be954fdccc183b3e09 | /code_FILLIAT_ELMELLOUKI.R | 3df14c88aff5cf38a13ec17793fb007ea10615a7 | [] | no_license | omarelmellouki/electric_appliances | 160012e1c3ce657799d04fc83e9c64dc427994f3 | d937198afff2a201c48ca30d16756395644a4ed2 | refs/heads/main | 2022-12-25T11:27:15.494183 | 2020-10-07T09:29:58 | 2020-10-07T09:29:58 | 301,985,117 | 1 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 21,003 | r | code_FILLIAT_ELMELLOUKI.R | ####################################################################################################################################
###################### Chargement des jeux de données et premières transformations pour commencer à travailler #####################
####################################################... |
a54f3c0b405cc1fef9fdf868734b07f00f4b8b9f | c5de5d072f5099e7f13b94bf2c81975582788459 | /R Extension/RMG/Utilities/Interfaces/FTR/R/FTR.performance.R | c75ada847264b4b68dad1e6fd947c5f25b2b46d3 | [] | no_license | uhasan1/QLExtension-backup | e125ad6e3f20451dfa593284507c493a6fd66bb8 | 2bea9262841b07c2fb3c3495395e66e66a092035 | refs/heads/master | 2020-05-31T06:08:40.523979 | 2015-03-16T03:09:28 | 2015-03-16T03:09:28 | 190,136,053 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,292 | r | FTR.performance.R |
FTR.performance <- function(paths, ISO.env)
{
paths <- paths[order(paths$path.no), ]
must.have <- c("auction", "class.type", "sink.ptid", "source.ptid", "mw", "CP")
if (any(!(must.have %in% colnames(paths))))
stop(paste("Missing column", must.have[!(must.have %in% colnames(paths))],
"in variable pa... |
53ab80a6ba21acab0e68c6e5f343a4a311e3c55a | 80c9ba35106e5314544610f42cbb54a26d0289b0 | /function_presence only.R | 4070799433e2ec72142153b0c5ce6278fcdb9d95 | [] | no_license | bandara10/research | 91c5d176d3aee771f61801d8ef14dcc735c16fac | e5589c6a2a78a0f6b9135e2bc15aba706f15f1c4 | refs/heads/master | 2021-01-22T18:43:47.087735 | 2021-01-16T14:58:34 | 2021-01-16T14:58:34 | 102,412,442 | 0 | 0 | null | 2017-10-31T01:06:02 | 2017-09-04T23:55:48 | R | UTF-8 | R | false | false | 4,862 | r | function_presence only.R | ###################################################################################################
###################################################################################################
#likelihood functions
# Utility functions
logit = function(pp) { log(pp) - log(1-pp) }
expit = function(eta) {1/(1+exp... |
6eaf581bc279cffd177e2e075d3c024ede70c6a3 | 8a716d9d649c90826bc02d003aa252537ff53003 | /TP2/ex2/CAHMutations.R | 3f64958affdc2062290260d5a863bdfbce13a3f5 | [] | no_license | BenFradet/SY09 | 36dd3f4c1c1a2cd03613a317713b4a83e3b9a424 | ed96f21d3538d31341df01e4af1d734e98697641 | refs/heads/master | 2020-12-24T13:44:52.641642 | 2014-06-14T17:31:49 | 2014-06-14T17:31:49 | 18,172,748 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,414 | r | CAHMutations.R | mut <- read.table("mutations2.txt", header = F, row.names = 1)
distMut <- as.dist(mut)
cluster <- hclust(distMut, "single")
png("DendrogrammeMutationsSingle.png", width = 500, height = 500)
plot(cluster,
hang = -1,
main = "Dendrogramme des especes\npar le critere du lien minimum",
xlab = "",
ylab = ... |
7e58bb1df2e297184af5d03a50203a63d1e52881 | 151326bb8bb8252ae4524b30d31df14cef65d0c0 | /programmingr/complete.R | 4bc1ca655f938a75c464275d43d570d8b9ef981c | [] | no_license | sergiosennder/datasciencecoursera | bb4df5b42e98112656a9a2eb8baf08137a3cda30 | 747c7255073ea6b02cb2fd47764f9e9ec06ef649 | refs/heads/master | 2021-01-10T04:14:57.077573 | 2015-12-27T10:36:02 | 2015-12-27T10:36:02 | 43,112,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 724 | r | complete.R | if(!exists("readPollutantFile", mode="function")) {
source(paste(getwd(),"/pollutantUtils.R", sep=""))
}
complete <- function(directory, id = 1:332) {
data_frame <- data.frame(id=1:length(id), nobs=1:length(id))
index <- 1
for (cur_id in id) {
file_data <- readPollutantFile(directory, cur_... |
aa2c4386b365a04cef2680124ea123f229e6c715 | 2bcf4cbdf9bea03e82e930259894f95a58963f4b | /man/produccion.Rd | 13936b7da872e2b5f0f670b84ea2d52bc01d33a5 | [
"MIT"
] | permissive | Nolivera007/openhn | 4bf00653cd71d8402aa719175147ed87ff87eda8 | 24541de5bcebe2aa4f057aecec286300f244f03f | refs/heads/master | 2023-02-26T05:16:45.227380 | 2021-02-02T21:49:07 | 2021-02-02T21:49:07 | 332,574,755 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 749 | rd | produccion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/produccion.R
\docType{data}
\name{produccion}
\alias{produccion}
\title{Producción por actividad económica.}
\format{
Un objeto de la clase \code{data.frame}
}
\source{
\href{https://www.bch.hn/}{Banco Central de Honduras (BCH)}
}
\usage{
dat... |
2b6fade21ef3437e073f192cc0540d2266c4d3a6 | c8e3fa93ea24cbcc8a447a53142a7526dc34214d | /Scripts/GetImagesForCompound.R | 1e4b91d99e99d6f2715ef365ef40ca0ccc89eb0b | [] | no_license | mas29/ClarkeLab_github | c982e617be4a2c067234af5afd5fdaf349a40618 | 52cb8a851b7e1209865e1cf163076a544250e748 | refs/heads/master | 2016-09-06T19:40:41.104117 | 2015-04-15T22:01:48 | 2015-04-15T22:01:48 | 28,983,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,560 | r | GetImagesForCompound.R | # Script to convert images for a compound to jpeg
# Load libraries
library("jpeg")
library("tiff")
library("animation")
# Function to get the folder structure of the archive directory for year/month/days levels
get_experiment_days <- function() {
# Experiment years/months
expt_yrs_months <- list.files(path = arc... |
176330425c8f6ed0ddffb9d8f0695372a51828f0 | 4853ece98a8d98418d9b881bef404ac358946eee | /spiral_Rcode.R | 12056cb1f80fc4b1cc58dfd588bff3891017d2bb | [] | no_license | irene1014/benchmarking-study-cluster-analysis | d9c0bdc91a0e5303916d4c38cbc4cfab4680f38d | 414d73d7a57adf9648746587a48029db9da8827c | refs/heads/master | 2022-11-06T14:51:03.620597 | 2020-06-20T20:37:48 | 2020-06-20T20:37:48 | 236,908,422 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,548 | r | spiral_Rcode.R | #####################################################
######## Simulated Dataset 2: Spiral Data ###########
#####################################################
library(mlbench)
library(dbscan)
library(kernlab)
library(matrixStats)
set.seed(120)
spiralData <- mlbench.spirals(n = 400, cycles = 2.5, sd = 0.025)
# Fin... |
fcd938e2563db2d458903bfb92fbab99e5e62d74 | 1fc02d5293e23639d667acc9c228b761478206e2 | /R/ADDIS-spending.R | 8751187dd275ae331fd2b5e8262d533404c774ef | [] | no_license | dsrobertson/onlineFDR | caf7fa9d6f52531170b3d5caa505a15c87d6db11 | 2e5a3eaf9cf85d2c04a587ad3dd8783f66435159 | refs/heads/master | 2023-04-29T11:25:12.532739 | 2023-04-12T10:30:23 | 2023-04-12T10:30:23 | 129,420,795 | 14 | 4 | null | 2023-04-12T10:33:39 | 2018-04-13T15:27:02 | R | UTF-8 | R | false | false | 5,925 | r | ADDIS-spending.R | #' ADDIS-spending: Adaptive discarding algorithm for online FWER control
#'
#' Implements the ADDIS algorithm for online FWER control, where ADDIS stands
#' for an ADaptive algorithm that DIScards conservative nulls, as presented by
#' Tian and Ramdas (2021). The procedure compensates for the power loss of
#' Alpha-spe... |
a45c89db298a8b18c90a5d1aaa6bcb105c2cc846 | 76df3746402d3e8c842a9e8d2bc6bb72fc6791be | /R/hilbert_minmax_function.R | 03a0b6521db1ae09a6f648a67c3c8de46f83d374 | [] | no_license | htsikata/projects | 010062169fc4b5019a1d3fe07b95f6c71572e130 | eda6bdc510249cfdab94e837273944838d12a903 | refs/heads/master | 2021-01-20T07:48:57.878518 | 2014-11-05T05:09:14 | 2014-11-05T05:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 899 | r | hilbert_minmax_function.R |
## h phase
library(seewave)
t = seq(0,80,.01)
y = sin(pi * t/40) + sin(2* pi * t/40) + sin(6 * pi * t/40)
hil = function(y) ## t is a free variable
{
y = y-mean(y)
h = hilbert(y,0)
phase = Arg(h)
idx = seq(1,length(t),1)
D = diff(phase)
minindex = idx[abs... |
64a380086c2e1c76e6252dcc42376be787e53d0d | 46f12da014c71be8d1e10e5b9d3b30a3f64baf63 | /Plot1.R | ea30e812ed44d42250601f8a4aca987aa0546324 | [] | no_license | fedossa/ExData_Plotting1 | 0393502c55e40eccfdaea69d2b4a8d9ecc24f0d7 | 1a624ab553d1ec0e05d380747b4cb19dcea14b96 | refs/heads/master | 2020-12-29T06:22:39.441265 | 2020-02-12T18:16:28 | 2020-02-12T18:16:28 | 238,489,734 | 0 | 0 | null | 2020-02-05T15:57:49 | 2020-02-05T15:57:47 | null | UTF-8 | R | false | false | 228 | r | Plot1.R | # get cleaned dataset
source("Data Prep.R")
# Plot 1
png("Plot1.png", width = 480, height = 480)
hist(Data$Global_active_power, col = "red", xlab = "Global Active Power (kilowatts)", main = "Global Active Power")
dev.off()
|
4647c42e70685f30cf885457db2a450efabef37c | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/196_2/rinput.R | fa937aad2eb5b79d3618194d776bfaa84452f710 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 133 | r | rinput.R | library(ape)
testtree <- read.tree("196_2.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="196_2_unrooted.txt") |
57143821b17ca0b2debeecaee544f5624fc3a1b0 | 4b7e1c30467c953a57a672d1cb555626f2cc85d9 | /plot2.R | 3720c6534d347b2f174a5db9571e32b82a9eb980 | [] | no_license | maitry-shah67/ExData_Plotting1 | c9b70bce2035443453c952075a7df70b1a7ab384 | 581c06be2c9f4d412e1a688ecbd7fead962885f0 | refs/heads/master | 2022-11-06T06:17:44.153531 | 2020-06-29T05:19:59 | 2020-06-29T05:19:59 | 275,737,176 | 0 | 0 | null | 2020-06-29T05:17:18 | 2020-06-29T05:17:18 | null | UTF-8 | R | false | false | 725 | r | plot2.R | #reading the dataset
plot2 = read.table("household_power_consumption.txt",header = TRUE,sep = ";",stringsAsFactors = FALSE,dec = ".")
#subsetting the dataset for the required dates
plot2 = subset(plot2,Date == "1/2/2007" | Date == "2/2/2007")
#converting dates to date class
datetime = as.POSIXct(paste(plot2$Date... |
ed04e488caafe9f4c1f93f8cf53ffee60db0adc6 | 871795af955282150cebba237e9b800ac5060eb4 | /problem5.R | ab34179684963feb714aa8d07fceb212d2d16eb4 | [] | no_license | JeffreyLinWeiYou/EE5324701_HW1 | 3ed156c08a37a784495aabfb7698d3605ea5a857 | 74eb3b2f87c503fea14b97ee397cf93c21ab128c | refs/heads/master | 2021-01-19T22:53:26.064902 | 2017-04-20T16:46:34 | 2017-04-20T16:46:34 | 88,885,534 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,093 | r | problem5.R | library(datasets)
a <- anscombe
fitlse = function(x,y){
res = NULL
res$b = sum((y-mean(y))*(x-mean(x)))/sum((x-mean(x))^2)
res$a = mean(y) - res$b * mean(x)
return(res)
}
library(datasets)
a <- anscombe
par(mfrow=c(2,2))
f1 = fitlse(a$x1,a$y1)
f2 = fitlse(a$x2,a$y2)
f3 = fitlse(a$x3,a$y3)
f4 = fitlse(a$... |
b6fd1d8df2949b23090ece17d6c580e6501c6463 | b53235b3eb41adf731df65e1b78b4819576bec98 | /scripts/function_two.R | 1147d31a9bcb44bd8496ef767467a050ce168623 | [
"MIT"
] | permissive | amicha23/University-Data | ccc9ab0ff5bb4dfd728e81d12c9339c3dbe9e865 | 52d8d3a7bfd58e3f63ff9b2c7ecfd4cdc9598a80 | refs/heads/master | 2022-12-09T21:16:04.523979 | 2020-09-15T07:07:40 | 2020-09-15T07:07:40 | 271,671,293 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,130 | r | function_two.R | # Importing necessary libraries.
library("jsonlite")
library("openxlsx")
library("dplyr")
# Loading in necessary dataframes.
df1 <- read.xlsx("data/IPEDS_data.xlsx")
df2 <- data.frame(fromJSON(txt = "data/schoolInfo.json"))
df3 <- read.csv("data/Most-Recent-Cohorts-All-Data-Elements.csv",
stringsAsFact... |
308a7a229702b18c6be9dbd4cf44773a76eacdac | d60a4a66919a8c54d29a4677574b418107b4131d | /man/periodogram.Rd | 51129e672b5f24ace014e844581af13e803911fd | [] | 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 | 887 | rd | periodogram.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/frequdom.r
\name{periodogram}
\alias{periodogram}
\title{\code{periodogram} determines the periodogram of a time series}
\usage{
periodogram(y, nf, ACF = FALSE, type = "cov")
}
\arguments{
\item{y}{(n,1) vector, the time series or an acf at... |
902546f39c17667364452d8c83b98cd766fa9f87 | 6bbe96ebaa3d52d8c96635be1f70b0a8d07a29a3 | /tcgaDataProcessing.R | 4926cb6b51b62e277d1377efebd3cd0b04b42993 | [] | no_license | carlosback/Stat579Project | 8710f618518b6edab6b3f1a87a65da3f0988fabe | e8eea3e8461ccdddb34eb8fc653a521c78a0339f | refs/heads/master | 2020-04-08T10:38:12.915501 | 2018-11-25T07:32:29 | 2018-11-25T07:32:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,500 | r | tcgaDataProcessing.R | library(TCGAbiolinks)
library(dplyr)
library(DT)
library(data.table)
library(plyr)
packageVersion("TCGAbiolinks")
query <- GDCquery(project = "TCGA-CHOL", data.category = "Clinical", file.type = "xml")
GDCdownload(query)
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
queryB <- GDCquery(project = "T... |
c8d5161c8e6f2bfa580e4f2609418f333c02a598 | 85ea2cd459c7f3fc8f2dbe4880e5734277f8a9c0 | /man/IRA.Rd | 571b65514da223b91b76171af27dd798a013b53e | [] | no_license | alishinski/CRTpower | 3359cd250edc22687e46ad20f031b50ed2cf59d4 | 0609a2ac07b20239ccb619d5989d20e5f660699d | refs/heads/master | 2020-03-25T03:15:54.398373 | 2018-08-03T05:53:30 | 2018-08-03T05:53:30 | 143,331,917 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 699 | rd | IRA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/power_formulas.R
\name{IRA}
\alias{IRA}
\title{Model 1.0: Individual Random assignment}
\usage{
IRA(R2, P, k, n, alpha = 0.05, power = 0.8, tails = 2)
}
\arguments{
\item{R2}{Proportion of variance explained in the outcome by the covariates}
... |
3af677061c158d9ef62459b7f1adf43b9704fcbb | d2a3b0d54bd54e488bf0a8a98af7b205e1d912c0 | /man/find_vars.Rd | a0c5dc4dc68d4e2fdb61fce725d7d31aa8c6b40b | [] | no_license | Ajfrick/ajfhelpR | 05feaa2e7625540455af4447271d5b77ddfd32bd | 64d8e60c64d47a9b8bef2ef5f0ecb653ac99d976 | refs/heads/master | 2023-06-24T23:24:15.562243 | 2023-06-15T15:36:12 | 2023-06-15T15:36:12 | 161,224,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 738 | rd | find_vars.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/find_vars.R
\name{find_vars}
\alias{find_vars}
\title{Find columns containing string or regular expression}
\usage{
find_vars(dat, pattern, ignore.case = TRUE)
}
\arguments{
\item{dat}{data frame, tibble, or named vector}
\item{pattern}{char... |
35579704758aaca1eef9eb6d1e80be1ee697a45b | ec98c3ff6cf5638db5c590ea9390a04b674f8f99 | /release/test/test_allele_probs_format.R | 5edef7825649d5babc1062943e9897e472da2f8e | [
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | gavinband/qctool | 37e1122d61555a39e1ae6504e4ca1c4d75f371e9 | 8d8adb45151c91f953fe4a9af00498073b1132ba | refs/heads/master | 2023-06-22T07:16:36.897058 | 2021-11-13T00:12:26 | 2021-11-13T00:12:26 | 351,933,501 | 6 | 2 | BSL-1.0 | 2023-06-12T14:13:57 | 2021-03-26T23:04:52 | C++ | UTF-8 | R | false | false | 2,778 | r | test_allele_probs_format.R | library( argparse )
parser <- ArgumentParser( description = 'Generate and test randomly generated GEN files through bgen' )
parser$add_argument(
"--iterations",
type = "integer",
nargs = 1,
help = "Number of iterations",
default = 100
)
parser$add_argument(
"--variants",
type = "integer",
nargs = 1,
help = "Nu... |
15aa885be9a0a7511b732b20f6cdd38ae9b3b3b4 | e7829a3d3690aa9c42eea95574ac6796765c2ee1 | /assignments/assignment_3/student_test_suite/runit.merging.R | 9166a88915f5d8f9b273fd22a2c2018d3d330415 | [] | no_license | pjhartout/Computational_Biology | b71d62e9b53ba01c5275b21f2e4c85c9c7a1cf5a | 35443c20521b2338a241d6ef5057df107db9aaa5 | refs/heads/master | 2022-04-07T15:21:53.015194 | 2020-02-09T17:03:40 | 2020-02-09T17:03:40 | 217,732,551 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 570 | r | runit.merging.R | test.get_merge_node_distance = function() {
load("matrices_prov.RData")
df = data.frame(node_sizes = c(1,1,3,2) ,row.names = c("a","b","c","d"))
md = get_merge_node_distance(df,Hdm,c("a","b"),"d")
checkEqualsNumeric(13.5, md, "Wrong merge distance when merging tips")
md = get_merge_node_distance(df,Hdm,... |
ae684bfb2182eb69b6b3943d36a65e6efdaf5940 | 3ba20eb1ab9c2cf32e5f74008c4832f7417303f2 | /data_processing/comorbidities/hes_data.R | 89cbda7972a267897b91a4fe201826f70e41e123 | [] | no_license | S-Dhungana/tds_7 | 89ee06730bce0ede35429023d50413024db77348 | 043e7acd4a4d03759507816c9b795e2d48d86918 | refs/heads/main | 2023-04-20T07:34:02.879030 | 2021-05-06T20:18:43 | 2021-05-06T20:18:43 | 350,891,998 | 1 | 2 | null | 2021-05-06T20:07:01 | 2021-03-23T23:59:49 | HTML | UTF-8 | R | false | false | 1,971 | r | hes_data.R | rm(list=ls())
setwd("/rds/general/project/hda_students_data/live/General/")
library(data.table)
library(ukbtools)
hes=data.frame(fread("hesin.txt", nrows=100))
# hes$epistart # start of episode date
episode_ID=paste0(hes$eid, "_", hes$ins_index)
hes_diag=data.frame(fread("hesin_diag.txt", nrows=100))
episode_ID_diag... |
e81caedc891563eff99fc5e8cb91cc766bf1d8eb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bfast/examples/bfastmonitor.Rd.R | fc392c762c0f5532129a12b5518a8ccdf839f3cd | [] | 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 | 3,024 | r | bfastmonitor.Rd.R | library(bfast)
### Name: bfastmonitor
### Title: Near Real-Time Disturbance Detection Based on BFAST-Type Models
### Aliases: bfastmonitor
### Keywords: ts
### ** Examples
## See Fig. 6 a and b in Verbesselt et al. (2011)
## for more information about the data time series and acknowledgements
library(zoo)
NDVIa <... |
52e5d681f3e03fdcd16f46238326bae3ee1e1e43 | 2bfd2b59474b38750f91807f42f91453406c2429 | /fticr_test/code/a-fticr_processing.R | 7ab93f2848077e168b61acd799d56826362f1ea5 | [] | no_license | kaizadp/suli2021 | 94ac3da36b35ac4033ca77517b41662d5f03b60e | 3b058ac1743c70921b3a4effe49436ae8471779b | refs/heads/master | 2023-06-25T15:02:41.437285 | 2021-07-28T18:46:46 | 2021-07-28T18:46:46 | 373,258,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,997 | r | a-fticr_processing.R | ## SPATIAL ACCESS
## KAIZAD F. PATEL
## 2-JULY-2020
## FTICR-PROCESSING
## 2021-06-07: modify code for CC, SULI-2021
# load packages -----------------------------------------------------------
library(tidyverse)
# load files --------------------------------------------------------------
# the data file contains m/... |
a42ea1cf32d2962850fb0059c14d92ed07f54a63 | dcaf6a9ecc81bbb3bc8dabba825263e93ed856e3 | /cds_shiny_services/RelaunchCarStat/ui.R | c758561e3ce45732264440b4dec69462fffc5b58 | [] | no_license | zir12345/shiny | 79eb6f961007abb579286a38d37f09874e2a5bba | d7d32aaed9238d3466bdbc34cf4a43c485507e2d | refs/heads/master | 2020-09-28T15:40:27.540745 | 2019-12-11T15:49:36 | 2019-12-11T15:49:36 | 226,807,689 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,753 | r | ui.R | library(shiny)
library(rsconnect)
library(ggplot2)
library(plotly)
plotType <- function(data, x, y, type){
switch(type,
"Line" = ggplot(data, aes_string(x, y)) + geom_line(),
"Scatterplot" = ggplot(data, aes_string(x, y)) + geom_point()
)
}
ui <- fluidPage(
sidebarPanel(
# Input: sele... |
992820f1bad7ff86e367e1a309bf5beea341bd78 | 1e7af5ef0fc68fd0df55eb671040057f777767c5 | /vectors_operations.R | 1e4c2498e2276ec94d2393734760c1b8427dd424 | [
"MIT"
] | permissive | Naghipourfar/R-Learning | 96a174abef4d90c671dbbf9713df5959e08d4b8f | d8bc5c3c5895331d53f754c884a126b05b98bd1e | refs/heads/master | 2021-08-14T19:47:54.375006 | 2017-11-16T15:38:01 | 2017-11-16T15:38:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 401 | r | vectors_operations.R | ###### Operations on vectors ######
x <- 1:10
mean(x) # computes the mean of x --> 5.5
sum(x) # sum of elements --> 55
nchar(x) # elementwise operation
##### MEAN ######
arr = c(1, 2, NA, 1:20)
mean(x = arr, na.rm = TRUE) # na.rm is what should be done if NA observed (remove or not)
mean(x = arr, trim = 0.1, na.rm =... |
8da560819ca401bdcc00344714a27cbf53caa549 | 4056e89d2e74109f4938051dbe09017ab0c48f43 | /man/seed_production.Rd | bf5f3c1d15e37eac85e7ab15a774872b2c727af0 | [] | no_license | petrelharp/landsim | af4209dd8f5ffdd8a32a367d8e58b1b1f632e885 | c4e7cb8cb637c58bcacc1d92e4a01023eb0b281a | refs/heads/master | 2021-01-19T04:32:44.496828 | 2017-11-22T22:54:10 | 2017-11-22T22:54:10 | 47,908,664 | 6 | 2 | null | null | null | null | UTF-8 | R | false | true | 853 | rd | seed_production.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/seed_production.R
\name{seed_production}
\alias{seed_production}
\title{Mean Seed Production}
\usage{
seed_production(seeders, pollen, mating, fecundity = 1)
}
\arguments{
\item{seeders}{A numeric matrix of numbers of seeding individuals, wit... |
8e3124178c8ad7d8b8f27e8c9ed5a065e46cc7da | 8c9cbd810c862f0abe589c1ad3424d0d4d7d3af0 | /crawlerR/rvest_in_action.R | e0c1aa7c8193c0e87728d31ac3e8e488bf39999c | [] | no_license | mi2-warsaw/pracuj | 1849fce49a2c30811499df331dea49c0beb662bd | 213e344a35837b8dd75bece934fbd49020493607 | refs/heads/master | 2020-12-15T03:56:36.978926 | 2017-03-26T12:21:14 | 2017-03-26T12:21:14 | 51,036,295 | 5 | 6 | null | 2016-02-10T09:32:18 | 2016-02-03T22:45:48 | Python | UTF-8 | R | false | false | 2,842 | r | rvest_in_action.R | library(rvest)
library(RPostgreSQL)
dbname = "pracuj"
user = "pracuj"
host = "services.mini.pw.edu.pl"
sterownik <- dbDriver("PostgreSQL")
polaczenie <- dbConnect(sterownik, dbname = dbname, user = user, password = password, host = host)
dbGetQuery(polaczenie, "SELECT count(*) FROM offers")
dbGetQuery(polaczenie,... |
755312b9bd6d9f293298fe9d0fe895695a719948 | 3b57195605cc03aa5bbf21d9de3ee913dbd1f03c | /data_cleaning/raw/fiscal_contracts/combine_fiscal_contracts_data.R | b50983459a986f5092175e7aae7b120721029a2f | [] | no_license | christophergandrud/eurostat_revisions | ddfd399cf9c3860ef82d9eaed9f31d3229188d3f | 297e71a1d5043180cc632c3011ae4ff07d0418a7 | refs/heads/master | 2021-01-10T13:08:10.883746 | 2017-01-22T19:31:30 | 2017-01-22T19:31:30 | 46,604,897 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,874 | r | combine_fiscal_contracts_data.R | # ---------------------------------------------------------------------------- #
# Merge various versions of Hallerberg et al.'s fiscal contracts/delegation variables
# Christopher Gandrud
# MIT LICENSE
# ---------------------------------------------------------------------------- #
library(dplyr)
library(rio)
librar... |
7654670569dac6886e308eeff7a499419f58642b | eaef4d0bec6c465e25a1e716ecaff1cfb53a2688 | /cachematrix.R | 301c9c54e5a26b38f8dd8dc825e489e558af77be | [] | no_license | pedrosnk/ProgrammingAssignment2 | ae29d44cbaa7290cee5c553be8e88a358942fdf7 | eb33f1aa78cfc0f6bd930f56ac3acd2e459c059c | refs/heads/master | 2020-12-26T03:55:58.539182 | 2015-05-19T23:37:10 | 2015-05-19T23:37:10 | 35,797,936 | 0 | 0 | null | 2015-05-18T05:09:08 | 2015-05-18T05:09:04 | null | UTF-8 | R | false | false | 1,337 | r | cachematrix.R | ## This is the set of functions created to solve and cache the value of the inverse of a matrix
## This function is responsable to store a data structure that can be
## used to cache the resulve of the inverse of a matrix.
## The first and only argument must be a matrix.
##
## e.g.
## makeCacheMatrix(matrix(1:4, ... |
4e79d0d9337dd210e293253d647150c49c35be66 | 98095937c67ba70cff3cb29356ca0d917959e1eb | /man/getfreqs.Rd | b1683d8d46cb187d7c7236555138be056d0c926f | [] | no_license | danjlawson/pcapred | 88be09966c8a5392a638b01429042f881834028b | d7cbd6327e2673ea72baf35681d85e0cd7eede68 | refs/heads/master | 2023-08-21T19:56:40.805484 | 2021-10-04T19:46:12 | 2021-10-04T19:46:12 | 261,128,161 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 504 | rd | getfreqs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rbed.R
\name{getfreqs}
\alias{getfreqs}
\title{Compute the allele frequencies for bed file}
\usage{
getfreqs(bed, verbose = TRUE)
}
\arguments{
\item{bed}{An "rbed" object as returned from \code{\link{readbed}} or \code{\link{mergeref}}}
\it... |
5c77c569ccdadf90f6d7ad5da8ce9052c7d20481 | 0eb0abb22102826cd233d2dbf51c4a1576412769 | /R/QueryEnsembl.R | b9a84b3e56f73b2cf3c1ad4d709c3c811fdd3343 | [] | no_license | barzine/randomUtils | d8a2c05fdfdcd4e6b13403eb049a3b08e8880cc1 | 77909cffbd450e35a6615aef6dd21b107f275e92 | refs/heads/master | 2021-01-17T11:38:27.300874 | 2017-08-07T15:09:20 | 2017-08-07T15:09:20 | 20,893,193 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 711 | r | QueryEnsembl.R |
useMart_HSG<-function(host){
suppressPackageStartupMessages(library(biomaRt))
useMart(host=host,
biomart='ENSEMBL_MART_ENSEMBL',
dataset='hsapiens_gene_ensembl')
}
ens76<-useMart_HSG(host='aug2014.archive.ensembl.org')
ens78<-useMart_HSG(host='dec2014.archive.ensembl.org')
ens79<-us... |
05d6d31edd28637033cbd12dabe506318bd6f83f | 0eb1c0b93987d339b6b5e58978b6afc3c03f4e4c | /cachematrix.R | 838dfa3f5db87dba038260ed045e9a77d16576ac | [] | no_license | dudub100/ProgrammingAssignment2 | 49363e500fea3692ef917a19c84850fc79e7ff57 | 945e36e1c8ba216c7c15372103b659e42b7bb404 | refs/heads/master | 2021-01-21T15:43:49.566698 | 2015-05-18T06:58:10 | 2015-05-18T06:58:10 | 35,799,902 | 0 | 0 | null | 2015-05-18T06:08:10 | 2015-05-18T06:08:09 | null | UTF-8 | R | false | false | 866 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## This function get a matrix x and store it as cache Matrix
makeCacheMatrix <- function(x = matrix()) {
inv_m <- NULL
set <- function(y) {
x <<- y
inv_m <<- NULL
}
get <- function() x
setinv <- function(inverse) inv_... |
dbb94ff0a91d6217b7321fc5ad03f95e83c60484 | d74208b48e1595366435acfe90584036e89dd88e | /man/tilesPolygonIntersectVIIRS.Rd | e21fdca9577266a3a5d6c552e0106380a66fbc90 | [] | no_license | mjdhasan/Rnightlights | 85feaac20d8ed20429d95a41b59fef59e23a4cfa | f34fd986a405b1ca51d9a807849d2274f8e22d22 | refs/heads/master | 2022-11-06T18:50:41.533156 | 2020-06-26T12:11:28 | 2020-06-26T12:11:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 831 | rd | tilesPolygonIntersectVIIRS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tiles.R
\name{tilesPolygonIntersectVIIRS}
\alias{tilesPolygonIntersectVIIRS}
\title{Get the list of VIIRS tiles that a polygon intersects with}
\usage{
tilesPolygonIntersectVIIRS(shpPolygon)
}
\arguments{
\item{shpPolygon}{a SpatialPolygon or... |
791713f71c5747f29b972e711b574798f2b0f1fa | 8c5fff9b393f672dc04fda46c84ebea71571b83b | /code/mdsr1e/learningII.R | c1f8e2aed566021c6411e10b7638580348f25f64 | [] | no_license | mdsr-book/mdsr-book.github.io | 370b29d33639cd344ccb747b3627b96c77c099da | 97554b0a2f639c0cbef0a5094692f42df74f4936 | refs/heads/master | 2023-08-28T14:32:31.476236 | 2023-07-27T19:22:42 | 2023-07-27T19:22:42 | 53,080,248 | 15 | 13 | null | 2016-08-28T19:00:42 | 2016-03-03T20:18:33 | HTML | UTF-8 | R | false | false | 6,423 | r | learningII.R | ## ----cache=FALSE, echo=FALSE,include=FALSE-------------------------------
source('hooks.R', echo=TRUE)
fig.path='figures/learningII-'
## ----echo=FALSE,eval=TRUE------------------------------------------------
options(continue=" ")
## ----message=FALSE, eval=FALSE-------------------------------------------
## down... |
0304a45ca0aac3fc92dfb9a2b876d1291432c2d1 | 4eb8d68d4dc3bf23ccdae7cc0b93082570321434 | /pkg/man/subset.ff.Rd | d8d84dc114628793070c1bb718975a5f62a9491e | [] | no_license | edwindj/ffbase | 5d034d8d1ec65e94e7f4feec3da81e20841aa405 | 98236ab7501fc9765741300879f80baddfe991a3 | refs/heads/master | 2023-07-08T22:39:38.448615 | 2023-06-21T07:59:40 | 2023-06-21T07:59:40 | 8,315,596 | 26 | 8 | null | 2023-06-21T07:59:42 | 2013-02-20T15:15:55 | R | UTF-8 | R | false | true | 580 | rd | subset.ff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subset.R
\name{subset.ff}
\alias{subset.ff}
\alias{subset.ffdf}
\title{Subsetting a ff vector or ffdfdata frame}
\usage{
\method{subset}{ff}(x, subset, ...)
}
\arguments{
\item{x}{\code{ff} vector or \code{ffdf} data.frame to be subset}
\ite... |
c436f65ba2d7822ac282424ffc9d09d5ea8895c4 | d02848aed91696cd42a854f3a1bc17f8a3d22d2b | /dmisc/R/renderLatexTable.R | d96a8eefd1b88510cf4526dc9c03000026adb901 | [] | no_license | antoniofabio/dmisc | 88fc51650a2912761503999d3a35f552783cd168 | 732d8d60d025bb4e48fbac525f909940398662b9 | refs/heads/master | 2016-09-05T19:54:01.088162 | 2014-12-11T14:37:50 | 2014-12-11T14:37:50 | 721,700 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,448 | r | renderLatexTable.R | collapse <- function(x, sep="") paste(x, collapse=sep)
matrixTabularHead <- function(m, align="c") {
return(paste("\\begin{tabular}{", collapse(rep(align, NCOL(m))), "}", sep=""))
}
matrixTabularTail <- function(m) {
return("\\end{tabular}")
}
matrixTabularBody <- function(m) {
return(paste(apply(m, 1, collapse,... |
f97ddd2e7cbdc684927b91730a9502ebd41bdcb7 | c759164f6d93a71095038a3320b4ba3343c94fae | /inst/rstudio/templates/project/inst/tools/debug.R | a88306b7aa8685c6dd88dd18a08e1d1cfe1b0f93 | [] | no_license | dipterix/rave2 | cf0f68e70734105455aad12f3effcbded5a3e4fb | 40a9d4448ad3edeae0a8773c0f7ebf4135932ca7 | refs/heads/master | 2022-12-09T04:19:12.523858 | 2020-08-31T17:48:02 | 2020-08-31T17:48:02 | 291,144,544 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,004 | r | debug.R | ravecore::load_scripts(rlang::quo({
# debug.R runs before comp.R and main.R,
# providing some basic tools that will be available during the run-time
# Session data: run-time based. Should store the reactive user's inputs
# session_data will be different for each tabs
session_data = ravecore::getDefault... |
44f7f1bb04495e498837b0506617af9f9ec7a3b3 | 9e8615839d1361b9690b32c59085ffeeccc91b07 | /2021/RScripts - Copia/organiza_dados.R | 6090ea0d8d73533fd7081c58a436d568c0042c9f | [] | no_license | rdosreis/MAT02018 | 7dbb658308b75997b14fe010fdc3c029d22819ca | 4e8e0ba81bd19de67a6f68ef8866d5389b6f42b8 | refs/heads/master | 2022-10-04T12:55:53.010897 | 2022-09-22T13:26:15 | 2022-09-22T13:26:15 | 244,178,904 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 900 | r | organiza_dados.R | ## ----carrega-dados0, echo=TRUE, eval=FALSE, warning=FALSE, message=FALSE----------------------------------------
## # install.packages("readxl")
library(readxl)
dados <- read_excel(path = "companhia_mb.xlsx")
## ----carrega-dados2, warning=FALSE, message=FALSE-----------------------------------------------------... |
671f4402fef95541f8aa7a7278ca3f3c2712b827 | dd54e4975bf7d91056c15b491f6dfb448fc0dca1 | /R/parseData.R | dc11f4ce02c28502fb874a6efbce4efdb4ff6aec | [
"CC-BY-4.0"
] | permissive | petedodd/dtree | afa3163323d9653ccacf214d983597e8fefed3e4 | 0641bf317853c91e48570b28f436f44c85d9f05c | refs/heads/master | 2021-01-17T19:56:23.963819 | 2017-10-02T13:31:25 | 2017-10-02T13:31:25 | 60,473,953 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,514 | r | parseData.R |
## parse the string and extract the data
parseData <- function(x){
lnz <- unlist(strsplit(trim(x),split='\n')) #lines
lnz <- lnz[lnz!=""] #ditch empty lines
lnz <- unlist(lapply(as.list(lnz),FUN=function(x) unlist(strsplit(x,split="\\\\"))[1] )) ## strip comment
lnz <- trimall(lnz)
ln... |
6f1e17dc716bbb7daa1f8ed3f7c912b2b6ca7f84 | 1f092c22a5746af10ce574af15002d53881c6ef7 | /tests/testthat/testRankTimePoints.R | d0f1a69a15008211dea649cc1e96fb0baf5b02d6 | [] | no_license | cran/microsamplingDesign | 50ce4ca2e1439049c20733194c5962e0e3b696c8 | 49a02faf102dfc9abef4d34bbdd7041a251f64f8 | refs/heads/master | 2021-10-27T09:12:27.351890 | 2021-10-13T12:52:04 | 2021-10-13T12:52:04 | 131,901,288 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,734 | r | testRankTimePoints.R | # Project: microsamplingDesign
#
# Author: ablommaert
###############################################################################
context( "test Rank timePoints " )
#source( "/home/ablommaert/git/microsamplingDesign/microsamplingDesign/tests/testthat/beforeTesting.R" )
#source( "../testthat/beforeTesting.R" )
... |
c0d7f3c9ac62dfc62f7e639c2a193be199e669d0 | a3454c956328b71bd7f1aabbe4113c20d4f93293 | /R/lseqcurlib1D.R | f7c70a5270c22e472d71e18d2baa954c1f81c18a | [] | no_license | promodel/reldna | 82abcf93f2385b972b47df68db62bb92cb7ca54b | 9f109d12794de55c8985956e3046b13183fc8d41 | refs/heads/master | 2021-01-01T19:07:39.791554 | 2015-05-22T09:44:27 | 2015-05-22T09:44:27 | 6,617,501 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,722 | r | lseqcurlib1D.R | lseqcurlib1D <-function(
### DEPRECATED! SHOULD NOT BE USED
### function to calculate electrostatic profile of DNA
s, ##<< DNA sequence
bound, ##<< define a fragment of interest
width=1, ##<< smoothing window width
ref, ##<< reference position
filename=NA #<< name of the file to save data in. Empty string or NA value ... |
7460361143e981c28bf94fdce7dfc9f012fdd3dc | 5469acfbb49e648582702a6322bf9989044b12b0 | /Code/survival_model.R | a764eefb05f7955c33674be91b4922106db2d760 | [] | no_license | Batuhanipekci/dmc | 3d93e208ada5ebca90fec190a9803a3eaf1e5aa3 | e1abd6b53540747eb26c61bd4686c1127b18f048 | refs/heads/master | 2020-03-19T04:33:39.099663 | 2018-05-17T09:20:19 | 2018-05-17T09:20:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,489 | r | survival_model.R | ### Survival analysis: Cox proportional hazard model
# use all cases from prediction-dataset and test with 1 unit
validation.surv <- subset(validation, units == 1)
# EVTL: Delete cases with releaseDate 2007-10-01
#validation.surv <- subset(validation.surv, validation.surv$releaseDate != "2017-10-01")
# Event-varia... |
a97565a93a7ef087e78173910fb32e06c520a5f4 | 0d524ddf0b2f832ac03d1b1529765e795e519c49 | /run_analysis.R | 9d5f9e7a083de244d9e6627a42fec3bb4c930292 | [] | no_license | ikersanchez/Getting-and-Cleaning-Data-Project | e3662ec7a93a7f223b99425bbf0e7b4117e21fe8 | f858f57ad319449dc8a1f4dce2416576b06c4e49 | refs/heads/master | 2021-01-13T01:26:16.450461 | 2014-04-27T20:12:20 | 2014-04-27T20:12:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,357 | r | run_analysis.R | #######################################
# Getting and Cleaning Data Project #
#######################################
### Set your working directory (UCI_HAR_Dataset folder already there,
### and we assume that this folder has been downloaded,extracted
### and renamed in the same way).
wd <- getwd()
### Useful ... |
deffe70f16bd356b198e97359ccfdf6fc113dd07 | 1bcbbf7a623d2605e4951096c6e6c78204b02dac | /publishtoblog.R | cfbfd923fd13cbdb0c7a1df04b05ec0ff02f8f0c | [] | no_license | qg0/rltrading | 5153bdf80680df3b32778de0cfb745ef2840be08 | f78045ec021bdc257e856dc926039276d97e47a5 | refs/heads/master | 2021-06-14T08:43:25.942764 | 2017-02-24T17:53:36 | 2017-02-24T17:53:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 325 | r | publishtoblog.R | library(knitr)
library(rmarkdown)
knitr::opts_knit$set(base.url = 'https://dl.dropboxusercontent.com/u/860546/',
base.dir = 'C:/Users/Roman/Dropbox/Public/')
knitr::opts_chunk$set(fig.path="figure/futfutarb06032015")
knitr::opts_chunk$get("fig.path")
knit2html("futfutarb.Rmd", encoding = 'UTF-8'... |
ff5aaf0d78622e2d6dac9679494b4767dee30119 | fb21cc60eb492ecf70c6a74f63eeaf8be96c6239 | /man/write_csv.Rd | e43501c8d85040f0636481bf269e21e0906873da | [
"MIT"
] | permissive | Lextuga007/monstR | 5740bd78d64074e8807a73b5df4e728e09edae05 | 3444c73711c79be1ae04eb1c03b005d1f444813b | refs/heads/master | 2023-05-26T23:18:39.778873 | 2020-11-16T22:07:13 | 2020-11-16T22:07:13 | 284,761,064 | 1 | 0 | MIT | 2020-08-03T17:15:59 | 2020-08-03T17:15:59 | null | UTF-8 | R | false | true | 536 | rd | write_csv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util.R
\name{write_csv}
\alias{write_csv}
\title{write the data as a csv.}
\usage{
write_csv(data, monstr, create_directory)
}
\arguments{
\item{data}{The actual data}
\item{monstr}{metadata dataframe created by the pipeline}
\item{create_d... |
e0bebbdfefe2fe4e1ad3304b481132f91e413dda | 279571b80e226589d2fbf4b53644334565969b11 | /man/arg.max.Rd | 6e1837f1c1cd0bf6852b594ca2b8496dd381fc35 | [] | no_license | 42n4/dmr.util | f3ad4caf28c5c6b7e7800cfc0657483968df677d | 2bb248cff14f7fb6fcf65360694bf80b2e96565b | refs/heads/master | 2021-01-20T15:33:03.219584 | 2017-05-09T19:46:31 | 2017-05-09T19:46:31 | 90,785,516 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,698 | rd | arg.max.Rd | \name{arg.max}
\alias{arg.max}
\title{Find an argument that maximizes a function}
\description{
This function applies a numeric-valued function to a vector or list of arguments and returns a specified number of arguments that yield the greatest function values. It is used in examples presented in the book Cichosz, P.... |
38c863ca33cbaaa23d6a959eedec2a910a94c051 | a22038311e0a8faf72479b5eb2ed0c5e226f14df | /assignment 2.R | 1fbb24e97d5dc5d8229338fc0262b5d17788c10b | [] | no_license | jessybaker78/Statistics-1 | b8bc23dca0c1c239cff700bf52323d6ac41a230e | 8bc76d3240cda91eec03409fc39317d914718a5f | refs/heads/master | 2021-01-24T22:53:30.605444 | 2012-12-11T02:14:50 | 2012-12-11T02:14:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,830 | r | assignment 2.R | setwd('/Users/art/Movies/Study/Statistics/R')
data <- read.table('DAA.02.txt', header=T)
data <- split(data, data$cond)
aer <- subset(data$aer, select = -c(cond, pid))
des <- subset(data$des, select = -c(cond, pid))
cor(aer)
cor(des)
# 1. Which measures displayed the lowest correlation pre-training, suggesting the ... |
ac0b60ee1fa9a19f86b746d1ab8061a9c3bbec9a | e2b8329825d8ff9804eaea9c6a35f724579391b7 | /man/getMSTLeafRootISOMulroot.Rd | c8287f3655046f49186466d9712ac7be8de2b51d | [
"Apache-2.0"
] | permissive | ouyang-lab/LISA2 | 9cfb049344547ab38933821d27bd4f7619055657 | 92007b5e1310ebe0f60fb0799b0f0fd1db529a84 | refs/heads/main | 2023-07-01T14:07:48.616712 | 2021-07-31T18:55:17 | 2021-07-31T18:55:17 | 366,900,149 | 3 | 4 | null | null | null | null | UTF-8 | R | false | true | 1,137 | rd | getMSTLeafRootISOMulroot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mainMethods.R
\name{getMSTLeafRootISOMulroot}
\alias{getMSTLeafRootISOMulroot}
\title{getMSTLeafRootISOMulroot: create spanning tree with specified root and leaves}
\usage{
getMSTLeafRootISOMulroot(
neigDist,
cenDist,
cluid,
L2 = 2,
... |
5e649a799b00e13cd93c933a44a08088de726a20 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/pablobarbera/instaR/getLocation.R | 5b0cdab59b423e788a0af10060d43a07f90e5da3 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,132 | r | getLocation.R | #' @rdname getLocation
#' @export
#'
#' @title
#' Get basic information about a location using a location ID
#'
#' @description
#' \code{getLocation} retrieves location information
#'
#' @author
#' Jonne Guyt \email{j.y.guyt@@uva.nl}
#'
#' @param location_id numeric, location id.
#'
#' @param token An OAuth token cre... |
d9cafc7028585b4fb095e0993cc302f2a69ddad7 | 01ececa7c221357eaedf85a1c2b8414fd45302a2 | /R/processVelocytoPyResults.R | e7667272381797e176c6d3e75330b06fe3529751 | [] | no_license | sonejilab/cellexalvrR | d7e30f147d3d991e6858f50b11e90a31863e759c | c533136f59fa906e1c173a46cc4f2e36608c0204 | refs/heads/master | 2023-03-31T19:05:15.669831 | 2023-03-17T07:24:40 | 2023-03-17T07:24:40 | 133,559,720 | 4 | 2 | null | 2018-05-15T18:52:17 | 2018-05-15T18:52:15 | null | UTF-8 | R | false | false | 5,112 | r | processVelocytoPyResults.R | # #' Velocytopy is becoming more and more important and the analysis (normally)
# #' creates a normalized expression hdf5 file and a more detailed (e.g. variable genes based)
# #' dimensional reduction hdf5 file.
# #'
# #' The processed file likely also has velocity information which can also be added
# #' in th... |
73c2ef50d0b6f80dd77074c5b5ea1cd4f735392c | a04cefa1c882b70dd3351b85eccc8cb65d3ef302 | /scripts/30_Visualization.R | 38476c997474c4a089d4d3dcf12472971eccd9ad | [] | no_license | PirateGrunt/raw_clrs | bd965dd49212d8695ff6be27f40990cf47c79605 | 01e9fc67b5f30761f28b4346353ae97193ad347e | refs/heads/master | 2020-12-24T06:48:26.277534 | 2017-03-08T04:45:17 | 2017-03-08T04:45:17 | 57,164,304 | 0 | 2 | null | 2016-09-06T04:03:41 | 2016-04-26T21:51:52 | HTML | UTF-8 | R | false | false | 3,953 | r | 30_Visualization.R | ## ----echo=FALSE----------------------------------------------------------
knitr::opts_knit$set(root.dir = "../")
knitr::opts_chunk$set(
comment = "#>",
collapse = TRUE,
fig.pos="t"
)
## ------------------------------------------------------------------------
dfUpper <- read.csv("./data/upper.csv", stringsAsFac... |
bd5dc183d2ffd45e0d6779ab11d3a90945687508 | 10ce1da1350976694f829448dfb611e52f809840 | /src-old/make_train_test.R | 1f687a357e57099aaca216efb06740fa0fb17db5 | [] | no_license | bkelemen56/SwiftKeyProject | 740e818522888b0bd7bd46cde115e76fc36b0c88 | a1fac1faa349048931c21f8dd54675e2d24df518 | refs/heads/master | 2021-01-22T04:09:28.492874 | 2017-04-01T23:40:41 | 2017-04-01T23:40:41 | 81,502,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,471 | r | make_train_test.R | # ---------------------------------------------------------------------
# make train, test and validation data sets
#
# the following combination are created:
# 1) small: only 1000/1500/3000 lines from blogs, news and twitter
# 2) 0.01-0.05: 1%-5% of each file
# ---------------------------------------------------------... |
221f39a3809e7cb697bb37ad0f72c805d17be098 | e2a5cdf2dcbd788ac7c091897b5a027a809c302a | /R/segmentHighlight.R | c3f864e4312d432694915520cf6671f400551169 | [] | no_license | lindbrook/cholera | 3d20a0b76f9f347d7df3eae158bc8a357639d607 | 71daf0de6bb3fbf7b5383ddd187d67e4916cdc51 | refs/heads/master | 2023-09-01T01:44:16.249497 | 2023-09-01T00:32:33 | 2023-09-01T00:32:33 | 67,840,885 | 138 | 13 | null | 2023-09-14T21:36:08 | 2016-09-10T00:19:31 | R | UTF-8 | R | false | false | 3,047 | r | segmentHighlight.R | #' Highlight segment by ID.
#'
#' @param id Character. Segment ID: a concatenation of a street's numeric ID, a whole number between 1 and 528, and a second number to identify the segment.
#' @param highlight Logical. Color segment.
#' @param col Character. Highlight color.
#' @param rotate.label Logical. Rotate segment... |
41091edfb01bceab913916469c9629c3c33960c8 | 08e5449bbb28ce2e4dda96e40a5d38e176fd0179 | /Stats700/HW_solutions/HW0/Yuanzhi/Bivariate-normal-1.R | 19992e1677f2d0bed02e2af1ddedff201c2b9730 | [] | no_license | Pill-GZ/Teaching | 7e63e894ce975170569de754db992290568d8e1d | c60b7c6d478419bb361978f137ac2c17bbcc24de | refs/heads/master | 2021-01-22T03:15:01.534748 | 2020-07-27T15:10:25 | 2020-07-27T15:10:25 | 81,099,878 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,818 | r | Bivariate-normal-1.R | Inv.quadform <- function(X, Sigma){
Y = t(X) %*% solve(Sigma, X)
return(Y)
}
library(MASS)
N = c(20,100,500,2000)
M = 5000
sigma.X = 1
sigma.Y = 1
rho = 0.3
Sigma = matrix( c(sigma.X^2, sigma.X*sigma.Y*rho,
sigma.X*sigma.Y*rho, sigma.Y^2), 2, 2 )
mu.X = 10
mu.Y = 10
Fin.Width.Fie... |
f341f28567d433e4059cf49c075800eed2361180 | e83330b72a1a023b4b0f85bb02552484282eacf9 | /R/control_params.R | 74d93c0608dd732c6b873062db20eec02abebf66 | [] | no_license | cran/bootfs | e352d8e0446c32dca97649adf8767680d012c602 | 5266e612d0ad413989bdf36ab71867cde22e8b3e | refs/heads/master | 2019-03-10T15:35:35.058997 | 2012-08-01T00:00:00 | 2012-08-01T00:00:00 | 17,694,859 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,673 | r | control_params.R | #' Create control parameter object for the classifiers
#'
#' This function creates a set of control parameters which is passed to the classifier functions.
#'
#' @param seed A random seed to be set before the classification
#' @param bstr Integer. Number of bootstrap iterations.
#' @param ncv Integer. Number of crossva... |
67dd5c1dfd164a829b7f8a26541d8b5823b794e2 | 04b15e454486b62d7cfe9aed63d9347ecae90a39 | /R/importedFunctions.R | 137092dfe17a40b3d45f3c757d45f8ffc067b126 | [] | no_license | egmg726/crisscrosslinker | 272d39ec99abba40d1a9f057caf6d5d3361b846f | f0d5f80c5ee7966b11586923f8e1a89c74cb9661 | refs/heads/master | 2021-06-18T07:40:20.028850 | 2021-01-15T00:15:57 | 2021-01-15T00:15:57 | 146,306,055 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 490 | r | importedFunctions.R | #' @import ggplot2
NULL
#' @import bio3d
NULL
#' @importFrom Biostrings pairwiseAlignment
NULL
#'@importFrom seqinr read.fasta a aaa
NULL
#is that notation correct?
#'@import RColorBrewer
NULL
#'@importFrom prodlim row.match
NULL
#'@importFrom openxlsx read.xlsx
NULL
#'@importFrom stringr str_locate_all str_count
NULL
... |
93b83c8ffb1c3c2521ac19532ccd2f67cb848edd | 8f24cc9723b56cd7c684c117e2f567d5b84b1ef1 | /man/plot.EEM.go.Rd | a8cc0c8879b68b49a2ee5b53b7c36c03df19611f | [
"MIT"
] | permissive | RichardLaBrie/paRafac_correction | 1723a77eb15c17a50109815d2690882b67c1e336 | c0d0dda8b7f70fe02290684f7875583b01b1fc20 | refs/heads/master | 2023-04-09T08:06:22.107375 | 2023-03-08T12:41:16 | 2023-03-08T12:41:16 | 89,527,851 | 1 | 1 | MIT | 2022-02-11T11:00:40 | 2017-04-26T21:23:21 | R | UTF-8 | R | false | true | 2,094 | rd | plot.EEM.go.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.eem.go.R
\name{plot.EEM.go}
\alias{plot.EEM.go}
\title{Subtract and plot fluorescence Excitation-Emission Matrix (EEM)}
\usage{
\method{plot}{EEM.go}(
path,
zlim = c(0, 10),
SUBTRACT.BLANK = TRUE,
PLOT.RAMAN = TRUE,
PLOT.BLANK ... |
26bb87c51ba6861a2136dbf15577d5ef550db370 | 25a47e4e218143016496b4ebb1e767afb3d28bae | /shiny_app/global.r | 9dc8eca2fe5ea025defe8f423ce65e960d582e18 | [] | no_license | greg-slater/london-atmospheric-inequality | 81f175bd4a5b04222c5a5161f82cb3eadeea0779 | f3e36da451aaf9b1871eae7eae28c429d8330159 | refs/heads/master | 2020-05-18T08:55:34.146975 | 2019-04-30T18:29:04 | 2019-04-30T18:29:04 | 184,309,737 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 112 | r | global.r | library(shiny)
library(leaflet)
library(dplyr)
library(tidyr)
library(ggplot2)
library(sf)
library(RColorBrewer) |
9a70583805168448710ee35ac16cbbaec2e3d5c4 | 909b271137b3144466c77f94581b33a8bc368576 | /106/0522.R | 7b590320076a4f83bf716d90893cc2f458588c13 | [] | no_license | CGUIM-BigDataAnalysis/BigDataCGUIM | 8c5f1ece53853cbef7f455be5ad3ee724f5a2e8b | c69c1383dcb21971b9e91a9915d857030fd543f3 | refs/heads/master | 2023-01-22T11:45:49.819933 | 2023-01-20T13:58:03 | 2023-01-20T13:58:03 | 53,340,224 | 54 | 43 | null | null | null | null | UTF-8 | R | false | false | 2,194 | r | 0522.R | library(jsonlite)
BikeData<-fromJSON("https://data.tycg.gov.tw/opendata/datalist/datasetMeta/download?id=5ca2bfc7-9ace-4719-88ae-4034b9a5a55c&rid=a1b4714b-3b75-4ff8-a8f2-cc377e4eaa0f")
BikeDataDF <- data.frame(
matrix(unlist(BikeData$retVal),
nrow=length(BikeData$retVal), byrow=T),
stringsAsFactors=FALS... |
8fbab454ccf8086b302f6704ddee5ae394b20f5b | 5508a3732fcbe38d33d887bdbc5c48d466e5bfac | /hw10/OMDB/plot.R | f856d09346be782bec36b0ff2db5850a4eeec64f | [] | no_license | arthursunbao/STAT545-Homework | dbc5a81c7b9524b35b014c2f3c9aeb35b635cb0f | 2bac65bab3db6b3daf0773a7955a36d7262c0eb6 | refs/heads/master | 2021-08-24T00:20:21.764582 | 2017-12-07T07:27:11 | 2017-12-07T07:27:11 | 103,560,458 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,480 | r | plot.R | library(purrr)
library(ggplot2)
library(reshape)
library(stringr)
library(tidyverse)
library(glue)
library(plyr)
#Get the data from the csv
movie_rating_transformers <- read_csv("./transformers_rating.csv")
movie_rating_startrek <- read_csv("./star_trek_rating.csv")
#Let's get a brief overview of the current dataset ... |
fe093c32bf99ba2068c7e2cf597dc9007f90e466 | 1855cfeeb88680ebcad978f73ecf11aac5e37bf3 | /vmstools/R/old/distanceVMS.R | 14362a745792d578a7fdd6fa4b03e97790494d58 | [] | no_license | nielshintzen/vmstools | ddb996dd4d5b3b2504216911284d3dd872f81baa | 8bb3666d3778eac5b8be1c9454573a85157f11c3 | refs/heads/master | 2023-06-22T08:48:54.584274 | 2023-06-09T09:10:05 | 2023-06-09T09:10:05 | 37,326,848 | 16 | 13 | null | 2023-06-01T20:23:18 | 2015-06-12T14:35:02 | R | UTF-8 | R | false | false | 525 | r | distanceVMS.R | distanceTacsat <- function(tacsat,index){
res <- unlist(lapply(as.list(1:dim(index)[1]),function(x){
iS <- index[x,1]
iE <- index[x,2]
iL <- iE-iS+1
res <- distance(tacsat... |
442076076f42164518f657db61e5545bba4d6ae7 | 44486d32ef587a23383bd855b30cc33506a1034b | /Pima_analysis.R | 4e76b25f770e29f3fad1967206bd4d2421e1f2c0 | [] | no_license | BlancNicolas/SY09_TP3 | a348ddc407dd040eed98e68a796bf9c1e7da75e2 | 86312d38edb736590375f195c11344df93d94835 | refs/heads/master | 2021-01-22T11:10:42.477058 | 2017-05-30T20:32:52 | 2017-05-30T20:32:52 | 92,672,107 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,853 | r | Pima_analysis.R | #load file
dataPima <- read.csv("Pima.csv")
XPim <- dataPima[,1:7]
zPim <- dataPima[,8]
#/!\--------Estimate parameters---------/!\
data = as.data.frame(dataPima);
mu1 = apply(data[which(data$z == 1), 1:2], 2, mean);
mu2 = apply(data[which(data$z == 2), 1:2], 2, mean);
epsilon1 = cov(data[which(data$z == 1), 1:2]);... |
fa323a9e0e96c3df5f4a9b2ed4a7704545404c83 | a989b8e71744214e0b43546273845bae12463f84 | /man/is_jwt_expired.Rd | 49fd67aae7a3827d7db866f531fe8aab34b0634c | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | xenos-code/sealr | cceff9c597a042a86b612b28dbbeb61015f167c4 | 3843e3ee3f2d5a6efc88b964e72353f520060f82 | refs/heads/master | 2023-08-22T09:40:01.453801 | 2021-10-01T10:03:09 | 2021-10-01T10:03:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 450 | rd | is_jwt_expired.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_jwt.R
\name{is_jwt_expired}
\alias{is_jwt_expired}
\title{This function checks whether a JWT is expired.}
\usage{
is_jwt_expired(payload)
}
\arguments{
\item{payload}{list. Payload of JWT.}
}
\value{
TRUE if JWT is expired, FALSE if not... |
0b98be57547633c70cdeba5d49e6aaca9a1e95f0 | 0ea643a7898c3319fb850a6bbdddc3f3b6406207 | /R/nodes.R | b42821ffb54b1dae70ec620c3b460366cd503145 | [] | no_license | hjunwoo/slimy | 2109f501863bbce31c7c1803ad8b5d089bb2e0ac | 1343c890725762a33b8f9279216db07af8d44380 | refs/heads/master | 2020-03-27T09:34:32.933265 | 2019-02-11T15:15:33 | 2019-02-11T15:15:33 | 146,353,817 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,003 | r | nodes.R | # returns matrix of columns each representing all possible parent sets
parent.sets <- function(nodes, kappa=3){
p <- length(nodes)
ac <- matrix(0,nrow=p,ncol=1)
rownames(ac) <- nodes
a <- diag(p)
if(kappa > 0) ac <- cbind(ac,a)
if(kappa > 1 & p > 1) for(i in seq(1,p-1)) for(j in seq(i+1,p))
ac <- cbin... |
e8d721962612097e141b768c1eea64d071cb36d0 | 153e17d4c7288c386a8f119d2ad08a336a96b934 | /Naive Bayes/code.R | fbd82ef3f072c625ff41ec8aacfffcb246351c0f | [] | no_license | KevorkSulahian/data-mining | 96d5fdb5b728c2462d9e62695edb89982fc062f8 | 510f5f96c11a3db0ffd7a252aa43f49e99046f7a | refs/heads/master | 2020-03-29T15:57:13.242893 | 2018-12-09T18:19:35 | 2018-12-09T18:19:35 | 150,089,429 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 572 | r | code.R | library(caret)
library(e1071)
library(ROCR)
data <- read.csv("Naive Bayes/HR_balanced.csv")
set.seed(1)
index <- createDataPartition(data$left, p = .75, list = F)
train <- data[index,]
test <- data [-index,]
model <- naiveBayes(left ~., data = train, laplace = 1)
pred <- predict(model, newdata = test)
confusionMatr... |
9c9a7fcf251f90a2c5c35886312c0f6f00d6bbb3 | 76ca270b79fdc7e4a573fe22d65e5c6a911bc7fb | /R/inicial.R | cb070544a053cdac6143533586b3106b8542c8f4 | [] | no_license | srgmld/foofactors | ce94f1bd4d42057f2d2b85172782b1ef22cf79bb | bc9ac62cb49d85611875aeb6f26017040a4fa448 | refs/heads/master | 2023-08-12T19:30:24.160397 | 2021-09-28T17:09:08 | 2021-09-28T17:09:08 | 411,371,982 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 128 | r | inicial.R | library(devtools)
library(fs)
library(dplyr)
list.files()
dir_info(all = TRUE, regexp = "^[.]git$") %>%
select(path, type)
|
bfa079d64937f162060c32bd8f188e67dbbb8fb8 | ad3a6d7e0851cd786b6356b8cf0a12256f2d37bc | /man/ID3.Rd | ccbe3cc603e1f04286f52c63531d48a3dcd47820 | [] | no_license | talgalili/HBP | 53d22b34bcdf283bc2192373ea0be55aeed382f6 | c0ce7a77dcb6ecfb0120706bfa175108e25eb8cc | refs/heads/master | 2020-07-26T06:41:44.539200 | 2014-09-04T20:08:51 | 2014-09-04T20:08:51 | 23,677,324 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,667 | rd | ID3.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\docType{data}
\name{ID3}
\alias{ID3}
\title{ID3 - an R/Weka Classifier Trees}
\format{\preformatted{function (formula, data, subset, na.action, control = Weka_control(), options = NULL)
- attr(*, "class")= chr [1:2] "R_Weka_classifier_interface" "R_Weka_interface... |
914f7e4f5798f573cb294a2a0324fe899a316766 | 6702a35116f3405621d52296e2e97a2b66f9db1d | /plot_trajectory.R | b770c434d7b22af6295489aa158dcc2d9a68b09d | [] | no_license | snoopycindy/rcomgame | 944054c54c3f9e672eef44b2a439d9f582373b1e | f6859e8a5d530e5d50147f57ca1539f12ed79079 | refs/heads/master | 2016-09-06T08:23:25.382221 | 2015-06-24T01:18:55 | 2015-06-24T01:18:55 | 37,356,034 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,839 | r | plot_trajectory.R | adir_id <- "../gestureLog/1parseData/"
picdir = "../pic/"
#read std
std={}
for(p in 1:len(p.list)){
fn = paste(gdir, "gameStd/", p.grp[p], "_", p.list[p],".csv",sep="")
d = read.table(fn)
d = cbind(p.list[p], d)
std = rbind(std, d)
}
names(std)[1]="sub"
# list all subject files =================
#list file ... |
0f8ed1e0201ccef9797258d839462baf9f852477 | 588281e9a734d8154b6716d0aeca01f4cbfeab3c | /man/CityPopularity.Rd | 0356a6caeae29ce0e7253d7e1a06f59e32feeca2 | [] | no_license | jburos/GoogleVis | a6e3a4546d567b38ac254a86eec433d6702eddbd | 0b27d495443063522867541f704d886327473157 | refs/heads/master | 2021-01-21T06:59:24.517424 | 2013-07-11T17:26:20 | 2013-07-11T17:26:20 | 11,345,957 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,035 | rd | CityPopularity.Rd | \name{CityPopularity}
\alias{CityPopularity}
\docType{data}
\title{
CityPopularity: googleVis example data set
}
\description{
Example data set to illustrate the use of the googleVis package.
}
\usage{data(CityPopularity)}
\format{
A data frame with 6 observations on the following 2 variables.
\describe{
\item{... |
1c96ffbf04a830d16cbbfabd8bf9576fda129044 | e7acb77613505ac3851e4255b800eef2304586a7 | /scripts/3_hsm.R | 61be579276f97babc94fa18ef5580d65385f6fae | [] | no_license | kalab-oto/ruspolia-expansion | 57f940db412fe93703096fd33ee976bbb69949fc | bf76e9f9b1295bd4b818b4bbaf5c2c53f07e0df9 | refs/heads/master | 2023-06-19T02:34:42.715338 | 2021-07-18T10:12:10 | 2021-07-18T10:12:10 | 385,578,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,884 | r | 3_hsm.R | #' The script executes the entire HSM, including filtering the finding
#' data (i.e. spatial thinning), selecting environmental variables with
#' VIFm, background data generation, choosing features and beta multiplier
#' for maxent (ENMeval), performing and evaluating maxent model. Final
#' model output is exported... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.