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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6920f7bed0a6fcd1f70fdbb1281c373cae2eccc8 | 474f7358911271f9911197b3b96a4451b6f8da7e | /Diagrama_de_barras.R | fbd21355e3b8e904151fd4ef4231f8554796a3a0 | [] | no_license | imarcosenciso/BigDataCovid | 923f17945a80748bf427390d01a8ad42f2a9d9af | fea5afb0c1c1e292292d8878f7edcfc43aa21786 | refs/heads/main | 2023-02-15T06:05:43.463761 | 2021-01-10T19:26:13 | 2021-01-10T19:26:13 | 317,830,642 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,123 | r | Diagrama_de_barras.R | rm(list=ls())
setwd(dirname(rstudioapi::getActiveDocumentContext()$path))
getwd()
dir()
cat
library(ggplot2)
library(ggpubr)
library(stringr)
theme_set(theme_pubr())
#Adquirir datos
datos_generales = read.csv("Datos/03.csv",stringsAsFactors = FALSE, sep=';')[1:12,1:17]
#Cambiar nombres
names(datos_generales)[1] <- "... |
256a743d2b7f56dd6e9b2d1781cdb1322abef5c3 | e6e6768e6be64663485beaf7e5bef7a2f0204046 | /R/Microarray-Stuff/matrix_.R | 745e8ab410b1efe60d4a52d958cbe6daf97fa251 | [] | no_license | BJWiley233/Practical-Computer-Concepts-Files | 9d8a8424c574ca5bfc70658d9b724349d7119524 | f157f2dcc2c9974546ad3939afefbac1100b1c27 | refs/heads/master | 2023-04-27T19:54:42.882383 | 2023-04-18T23:42:09 | 2023-04-18T23:42:09 | 203,980,842 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,201 | r | matrix_.R | library(affy)
setwd("/home/coyote/JHU_Fall_2020/Data_Analysis/project")
my.gse <- "GSE79196"
mat <- as.matrix(read.table(paste0(my.gse,"justRMA_keep_matrix.txt"),
sep = "\t", header = T))
dim(mat)
annot <- AnnotatedDataFrame(read.table(paste0(my.gse,"_SelectPhenoData.txt"),
... |
6f07e66cc0173b9dcce5220eefa2a90ec95f68cd | 1b27943fccccbe193c36d332ebfdb5cf2cb15bcf | /scatMatLegend.R | 8399fe84f1fcefdea8aee936b788a63ba8516761 | [] | no_license | Shians/bigPint | 5d3dca62351f54b125b25ac9e9ad839ccc5cdd28 | 85eee64c2d1be153833b9161f99248b2f1f72a55 | refs/heads/master | 2021-01-01T16:44:03.859672 | 2017-07-21T03:28:35 | 2017-07-21T03:28:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,916 | r | scatMatLegend.R | library(plotly)
library(shiny)
library(ggplot2)
library(hexbin)
library(RColorBrewer)
#rm(list=ls())
set.seed(1)
#dat <- data.frame(ID = paste0("ID", 1:1010), A.1 = c(rep(0.5, 1000), abs(rnorm(10))), A.2 = c(rep(0.5, 1000), abs(rnorm(10))), B.1 = c(rep(0.5, 1000), abs(rnorm(10))), B.2 = c(rep(0.5, 1000), abs(rnorm(10... |
167d9abfd0d514c66fcf80464677428444e63cfc | fa571db675071e4b322f49d0d70702e148c24543 | /cleaning_plots.R | 901dfcc8be89bf252e622b9977e925fc8aace8e4 | [] | no_license | CYGUBICKO/hh | 49fcf28cde43d0908b50db45ebc9fef9acb5b293 | 198dcd66e4d948707c3fa3ebe177e54d647497ed | refs/heads/master | 2021-06-19T13:38:03.177664 | 2021-03-02T02:14:12 | 2021-03-02T02:14:12 | 187,945,920 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,289 | r | cleaning_plots.R | #### ---- Project: APHRC Wash Data ----
#### ---- Task: Cleaning raw data ----
#### ---- Fit switch data ----
#### ---- By: Steve and Jonathan ----
#### ---- Date: 2020 Mar 01 (Sun) ----
library(data.table)
library(dplyr)
library(tidyr)
library(tibble)
library(ggplot2)
theme_set(theme_bw() +
theme(panel.spacing=grid... |
cc412d162fc3853eeddd63e4d44f83409284d736 | e5ebddef173d10c4722c68f0ac090e5ecc626b8b | /IL2/bin/pstat5-cd25-ratio.R | 9791de938b320ace8ba97c804c271b079182137e | [] | no_license | pontikos/PhD_Projects | 1179d8f84c1d7a5e3c07943e61699eb3d91316ad | fe5cf169d4624cb18bdd09281efcf16ca2a0e397 | refs/heads/master | 2021-05-30T09:43:11.106394 | 2016-01-27T15:14:37 | 2016-01-27T15:14:37 | 31,047,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 702 | r | pstat5-cd25-ratio.R | #!/usr/bin/env Rscript
suppressPackageStartupMessages(library("optparse"))
option_list <- list(
make_option(c('-f', "--fcs"), help = "fcsfile to parse")
)
OptionParser(option_list=option_list) -> option.parser
parse_args(option.parser) -> opt
suppressMessages(suppressWarnings(suppressPackageStartupMessages(library(... |
35bb51a2d72cff3a42f9d991390f00cba7e17950 | 2c88aced697d5ddc87f8421683e20aa99f70f96c | /plot1.R | f14b1b071aa9ad9e4566e0e5ef392b4c59e84017 | [] | no_license | VitorioProject/ExData_Plotting1 | 97c7bd05a3d1ccdc53bc1b6e9b7f5894ad58a377 | fc7444ff1b1db79f325fcc0c1c07b8d3d052c12c | refs/heads/master | 2020-12-03T03:33:01.804893 | 2015-05-07T21:17:26 | 2015-05-07T21:17:26 | 35,238,455 | 0 | 0 | null | 2015-05-07T19:08:56 | 2015-05-07T19:08:56 | null | UTF-8 | R | false | false | 358 | r | plot1.R | ## Reads the data from Internet, filters it and converts it to the format needed
if ( !exists("selData")) source('loadData.R')
## Creates plot1.png
png(filename = "plot1.png", width=480, height=480)
par(mfrow=c(1,1), new=F)
hist(selData$Global_active_power, xlab = "Global Active Power (Kilowatts)", main = "Global ... |
8945b405ba0b59b84b963d51441a17846d170e22 | 164cfd8fceaf6053f6a32d842c161272a4057dc1 | /R/fusteUnico.R | 41f2328ad7f35e0afcb9386e80ccabcd5f9173d4 | [] | no_license | adalardo/Rppsp | 10e505e33a30912f2d89345c1a0a4a94d04e69c1 | 5fca2cc87f55df930a06016cc84d64dda5352b48 | refs/heads/master | 2022-09-28T16:02:41.270959 | 2022-09-16T12:35:30 | 2022-09-16T12:35:30 | 41,364,041 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 705 | r | fusteUnico.R | fusteUnico <-
function(dados, fuste = "stemtag", tag= "tag", dap= "dbh", censos= c("01","02"), sufixo= ".mm")
{
namedbh=paste(dap, censos,sufixo, sep="")
new_namedbh= paste(dap, censos,".cm", sep="")
dap.cm <- aggregate(dados[,namedbh], list(tag=dados[,tag]), FUN= dap2cm)
dap.cm[dap.cm==0]<-NA
dados... |
815444933cdb53424103d5a4230a046e6f8b75fc | 2b0e7454e2c87076f4f97d35000bf3426b7d9aaa | /man/stockID2name.Rd | 54d915e8e7b190557e102c6541550f9a864106a0 | [] | no_license | raphael210/QDataGet | 52df9d791d7d1d8933555dbdfa9d81e42558a5ee | 83531020e180fe8d07fdfa4a75413fd2b95cd6b4 | refs/heads/master | 2020-04-12T06:29:33.198718 | 2019-02-01T07:50:14 | 2019-02-01T07:50:14 | 64,194,185 | 0 | 5 | null | 2017-03-16T03:29:45 | 2016-07-26T06:00:12 | R | UTF-8 | R | false | true | 629 | rd | stockID2name.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pub02_dataGettingFuncs.R
\name{stockID2name}
\alias{stockID2name}
\title{stockID2name}
\usage{
stockID2name(stockID, datasrc = defaultDataSRC())
}
\arguments{
\item{stockID}{a vector}
}
\value{
a vector
}
\description{
stockID2name
}
\example... |
5dbdec3194668bacb509f1b0b1168c60af130a9d | c24dcd5fc08973fc0a55348293231f17d064d5f5 | /R/data.R | 1380ead207557a357c1770ee7d9283904041507c | [
"MIT"
] | permissive | sebastianueckert/vpc | 2b2ab1bb1186046ba9d0985d120a2f82ef5d882f | 1da3d4dc9a6d46dde36c31cd995f252e4b435798 | refs/heads/master | 2020-12-31T07:19:30.309908 | 2017-08-01T16:34:39 | 2017-08-01T16:34:39 | 86,567,724 | 0 | 0 | null | 2017-03-29T10:13:11 | 2017-03-29T10:13:10 | null | UTF-8 | R | false | false | 240 | r | data.R | #' A small rich dataset
#' @details
#' a list containing the obs and sim data for an example dataset to run a
#' simple vpc.
#' @examples
#' \dontrun{
#' vpc(simple_data$sim, simple_data$obs)
#' }
#' @docType data
#' @name simple_data
NULL |
c43500ee4a1ae55dec7d4638213a2d7d1d4ce678 | 8ee1326bab89b20e1bd63e839a701019f01e29ae | /man/mu.mbl.varknown.Rd | d70b5f59463187475ad774d928c6ab33a4be603d | [] | no_license | cran/SampleSizeMeans | f059c95aa13cb9b1af280f0178acbad1cb1ee766 | 8924ac8d89e8999707b3efd711bdc9336b104bf5 | refs/heads/master | 2023-02-25T10:55:10.170509 | 2023-02-02T12:10:06 | 2023-02-02T12:10:06 | 17,693,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,858 | rd | mu.mbl.varknown.Rd | \name{mu.mbl.varknown}
\alias{mu.mbl.varknown}
\title{Bayesian sample size determination for estimating a single normal mean with known variance using the Mixed Bayesian/Likelihood criteria}
\description{The function \code{mu.mbl.varknown} returns the required sample size
to reach a desired posterior credible inter... |
3b56e065cbe1373633ce4aaf43a7a0aa6cd614d7 | 2b872ebbe0f8537e41e99ce3c7fb31b4468e2d04 | /plot3.R | 8fe06e5aec66fd8c577af61d595c287cacb5b05f | [] | no_license | marcocaldascruz/ExData_Plotting1 | 025a98424fed045b5e08a3c19d26ad5961a91ff3 | 150569d0c568c0880a9c8d13ae4a95f065526eef | refs/heads/master | 2021-01-17T22:47:36.703041 | 2015-08-10T01:39:48 | 2015-08-10T01:39:48 | 40,441,662 | 0 | 0 | null | 2015-08-09T15:53:51 | 2015-08-09T15:53:49 | null | UTF-8 | R | false | false | 1,298 | r | plot3.R | #Read the data.
#data <- read.table("household_power_consumption.txt", sep=";", header=TRUE);
data_wk <- data;
data_wk$Date <- as.Date(data_wk$Date, "%d/%m/%Y");
filter_date <- (data_wk$Date == "2007-02-01" | data_wk$Date == "2007-02-02");
data_wk <- data_wk[filter_date, ];
#Convert to numeric the column of the Global... |
a9df8c790d6b3bc40ea93ae855d884be9d4083b3 | 67efbed42d64fd5df2b3a9fb0242ff6c9205365f | /man/rdrobust_RDsenate.Rd | c760d775bbc83517e3c05ab714759f4d08826ef7 | [] | no_license | cran/rdrobust | 673a77c95a2af57e36d1aa695e732067d8bbe5a2 | 9ae83e4bb8f685d43cb19d604a6400eac2d33b38 | refs/heads/master | 2022-12-14T13:15:25.214049 | 2022-12-05T07:10:02 | 2022-12-05T07:10:02 | 20,614,735 | 4 | 5 | null | 2017-06-02T14:05:17 | 2014-06-08T10:44:29 | R | UTF-8 | R | false | false | 1,213 | rd | rdrobust_RDsenate.Rd | \name{rdrobust_RDsenate}
\alias{rdrobust_RDsenate}
\docType{data}
\title{RD Senate Data}
\description{
Extract of the dataset constructed by Cattaneo, Frandsen, and Titiunik (2015), which include measures of incumbency advantage in the U.S. Senate for the period 1914-2010.
}
\usage{data(rdrobust_RDsenate)}
\fo... |
0dea17f70dc66d4e825661dcbdba7b5a24a8abaa | fb21f877d876327542d0cee3fe9c625953cc30e5 | /man/dmix.Rd | c2dbf948f6ba5e9afbd78b93acd584187fbd49c1 | [] | no_license | cran/fitmix | 5553338ebcafeec3be109ac9c78b3b2634c3ef48 | 29879e03d17a407f3e3870e82bf5ace314d876ed | refs/heads/master | 2023-04-12T00:03:45.486129 | 2021-04-19T07:50:04 | 2021-04-19T07:50:04 | 359,513,558 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 879 | rd | dmix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dmix.R
\name{dmix}
\alias{dmix}
\title{The mixture distribution}
\usage{
dmix(lifespan, model, K, param)
}
\arguments{
\item{lifespan}{Vector of samples}
\item{model}{choice of one of the mixture models; \code{gompertz}, \code{log-logistics}... |
1e017531e8b773a6155e6a8a41f6d08ca43f65f5 | 7fea3e7e2c7fa26b16d4580167207660e1f0c1fb | /Cost Savings plot script.R | 8bb01d059a3ef6255023fe320313ff0ed1096a1d | [] | no_license | CuceDough/Aim-3 | 4d003c144f827adc40e262996673714729fa1a48 | 6ade4016e26c07490ab1cd002759b23d5c777f27 | refs/heads/master | 2020-04-05T22:52:04.859321 | 2015-03-17T04:50:56 | 2015-03-17T04:50:56 | 32,021,240 | 0 | 0 | null | 2015-03-11T21:28:17 | 2015-03-11T14:12:10 | R | UTF-8 | R | false | false | 1,557 | r | Cost Savings plot script.R |
require(reshape2)
require(ggplot2)
require(colorbrewer)
### Plotting Cost savings
cost.dt <- data.table(read.csv("cost savings.csv")) #input
cost.melt <- melt(cost.dt, id.vars = "Vax", variable.name = "type" ) #melted
cost.melt$type <- cost.melt$type ==
#graph
ggplot(data=cost.melt, aes(x=Vax, y=value, colour=typ... |
d6adedc564dff98b7342547f279f7ed86d3f0c77 | c6391f5061c1e6f37d2d67bb636e61703a1da5e7 | /get_clean_data/run_analysis.R | 6007e97c5457e306ca161cc7e29f034804205e41 | [] | no_license | shukohChin/datasciencecoursera | d53ac9fd7e2e41d44671b38ffe0b4597266d117b | faffffaf8fb64bd62b06b4c47ba01f8d8b13a1bb | refs/heads/master | 2021-01-15T18:50:48.848961 | 2014-09-26T13:52:43 | 2014-09-26T13:52:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,739 | r | run_analysis.R | RunAnalysis <- function() {
# assume the UCI CHAR Dataset and R script to be in the working directory
# create a txt file of tidy data required
x.train <- read.table(paste0(getwd(), '/UCI HAR Dataset/train/X_train.txt'))
subject.train <- read.table(paste0(getwd(), '/UCI HAR Dataset/train/subject_train.txt'))
... |
d227ae1b52297da074fd6e7ef7cca99fd14c70a1 | c4539e51bf7495d84473e11e4a05ad80644c5335 | /ayesha_hargey/Biostatistics_Assignment_Code.R | 3d9d994c91aa055c3f8614169e968790af588d21 | [] | no_license | ahargey/Intro_R_UWC | a905b96e2d869def399e1d3976f26e5f57fbc65c | 33975eb73b968b2d471a2073cf0ca1a87067aa13 | refs/heads/master | 2020-04-19T09:20:05.965394 | 2019-05-22T11:45:43 | 2019-05-22T11:45:43 | 168,107,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,246 | r | Biostatistics_Assignment_Code.R | #AYESHA HARGEY
#3650393
#Biostatistics Assignment
#13 May 2019
#Egg morphology in the common cuckoo (Cuculus canorus)
#Load libraries
library(fitdistrplus)
library(tidyverse) #loaded second to prevent masking of the select function
library(ggpubr)
library(RColorBrewer) #for palettes
library(ggthemes)
library(logsplin... |
3fa92e94bfc1f3ab595dc2796e8ffd020cbe25df | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/coxrt/R/coxrt.R | a2a12db89ab0f389296810d48915cbcf62c61674 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,659 | r | coxrt.R | #' A Package to Fit the Cox Regression from Right Truncated Data
#'
#' The method assumes that truncation is independent of covariates,
#' and of lifetime, and that there is no censoring.
#' The method uses Inverse-Probability-Weighting estimating equations with stabilized weights,
#' IPW-S and IPW-SA, as describ... |
8ef60806e30f31ee041736e118b47b3b0383106d | 432f99ef4741d77e26ce625ab107de3116932314 | /avaliacao_risco_de_credito.R | 8ba8ce5d3af6c1409577019adc4fa43e833c2796 | [] | no_license | fthara/Avaliacao_de_risco_de_credito | 10b258872fa853538428620bea40bd4f409bce45 | 148cd148b183aed2c8bf0e210f0b5ce598415882 | refs/heads/master | 2022-11-13T05:15:46.030649 | 2020-07-11T18:28:04 | 2020-07-11T18:28:04 | 278,918,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,323 | r | avaliacao_risco_de_credito.R | getwd()
setwd("/Users/fernando/Google Drive/DSA/BigDataRAzure/Projetos/Risco_de_Credito")
df <- read.csv("credit_dataset.csv", header = TRUE, sep = ",")
str(df)
# O data frame foi lido com todas a variáveis como numéricas, mas a maioria delas
# é categóricas, vou mudando essas variáveis ao longo da análise explorató... |
69ae9c9fc1fcc32f3484bdc7b7c9de007ccc272b | 85593c2102ef58eb8e6d5e34c94695e0e80f7fd0 | /Data_Cleaning/dataset.R | b233b8feb68fe03e53676391150fedd27228bfce | [] | no_license | Gilda95/Intersectionality-Bayesian-Analysis | 84b0b1e7b545954b14dece1c7521eacec953dfb8 | 226044692b24bd7a312b8936891f20ebeb1c057f | refs/heads/main | 2023-03-06T15:12:21.962042 | 2021-02-17T00:30:35 | 2021-02-17T00:30:35 | 338,579,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,460 | r | dataset.R | # - - - - - - - - - - DATASET - - - - - - - - - - #
#### loading libraries ####
library(haven)
#### loading dataset ####
# You should download this data from https://www.europeansocialsurvey.org/
# (round 9, 2018 year)
dataset <- read_sas('ESS9e02/ess9e02.sas7bdat', NULL)
#### selecting variables of interest ##... |
ddc81e63ae70677bc45c443c97662e698f8819f1 | 6fbb5b1e55e155897b7198f1960c231b24f3148d | /Exercise9.R | 7908f1b0cdfec8ec053e2b8bbb01fdbbf8d4f9d0 | [] | no_license | xfeng3/ICB2019_Exercise09 | aa2b57fe26544339fd784a4b8190fbb5f889769f | 276fd35b434f74052073b646c5beaa7e169c914f | refs/heads/master | 2020-09-15T13:36:39.875474 | 2019-12-02T05:07:32 | 2019-12-02T05:07:32 | 223,462,026 | 0 | 0 | null | 2019-11-22T18:27:03 | 2019-11-22T18:27:02 | null | UTF-8 | R | false | false | 960 | r | Exercise9.R | #Question 1
library(ggplot2)
performance = read.table("KCS-1 catalytic performance.txt",header = TRUE, sep="\t",stringsAsFactors = FALSE)
p = ggplot(data=performance, aes(x=Temperature, y = Mass))
p + geom_point() + stat_smooth(method="lm")+ theme_bw()
#Question 2
library(ggplot2)
datafile = read.table("dat... |
696e5ad22d05538c9c5fc7fad602136e3d583a3b | c3bd69562a080767188a3df5c202a5b600e2c81a | /man/ldNe.Rd | b338405384b401ecf0796eb73b43a831932061d1 | [] | no_license | EricArcher/strataG | 007bde64c4f999ddea609e0e18333c9bfe87d155 | d89348cb390379522202beed20be49fa77cd5eae | refs/heads/master | 2023-02-27T16:01:24.665136 | 2023-02-09T21:11:11 | 2023-02-09T21:11:11 | 34,808,785 | 25 | 16 | null | 2020-04-21T16:36:11 | 2015-04-29T17:46:44 | HTML | UTF-8 | R | false | true | 2,229 | rd | ldNe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ldNe.R
\name{ldNe}
\alias{ldNe}
\title{ldNe}
\usage{
ldNe(
g,
maf.threshold = 0,
by.strata = FALSE,
ci = 0.95,
drop.missing = FALSE,
num.cores = 1
)
}
\arguments{
\item{g}{a \linkS4class{gtypes} object.}
\item{maf.threshold}{smal... |
f5698ea83a52394fc5914158ee0d0074493d79cc | cd2a7d03dee24e0245b89370e2c1e497959b9b2b | /deprecated/Location Finder/Received/1. R script/4.0_flood_impact_analysis_script.R | bdd2ec3ff66b5351c648bb62d0e30e15ad0a8aa9 | [] | no_license | rodekruis/text_mining | 5fc8f916182ceb7e538081fc7056a2b37849de16 | fce6a3b092cd5fecdde18f1d6b05c3cd05b9c107 | refs/heads/master | 2022-02-23T21:11:12.542976 | 2022-02-21T14:13:13 | 2022-02-21T14:13:13 | 154,344,621 | 5 | 2 | null | 2021-02-16T09:00:15 | 2018-10-23T14:40:27 | Python | UTF-8 | R | false | false | 10,897 | r | 4.0_flood_impact_analysis_script.R | # Author: Michael Osunga
# Date: 7th, May 2019
# Task: Historical flood data analysis
# Table of contents
# 1. House keeping
# 2. Loading dataframes
# 3. Data cleaning
# 4. Parsing county, subcounty and ward names on 'Comments' strings
## 1. Housekeeping ------------------------------------------------------------... |
e5750a45acf49931fdf08a1c96f0792f4cb6ed94 | cc2d0590bb9b7733d4875c3dac25f9ba5b4bf513 | /inst/example_8.R | b4d9d19c72f6d3ae1fa4d2eadfab1a99c6bf055b | [] | no_license | korterling/jsReact | 2dd66c329fc07468b044413f2af63f8841c13eee | 304439317bca56a1078cfc6d24654f57ca0f824e | refs/heads/master | 2021-08-12T05:34:15.623422 | 2017-11-14T13:25:25 | 2017-11-14T13:25:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,135 | r | example_8.R | # In example 2, we learnt about using slider with plotly. What good does it do us?
# In this example, we reproduce Han Rosling's famous data visualisation.
rm(list = ls())
library(jsReact)
library(magrittr)
library(tweenr)
df <- tweenr_example()
plot_df <- tween_elements(df, 'time', 'id', 'ease', nframes = 500)
plot_... |
7a03ab96e182f76fca7df21adb44ee059c40e0d1 | 98dc55859093633e1ad5aaed6a16d8513ce0aa80 | /R functions/choose_qat_sensors_CL.r | 5012ef41a76e0b00f29b46e6bdd20fe862784aa0 | [] | no_license | reidsteele2/Fixed-Stations-BioChem-Reload | 7ca1fbf637f92802a22f9c4c5ba4134635291d5f | 912931734402745c8fa4c09136162b27cefcb65b | refs/heads/master | 2022-12-03T16:31:51.005131 | 2020-08-19T13:09:49 | 2020-08-19T13:09:49 | 288,531,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,354 | r | choose_qat_sensors_CL.r | # QAT file usualy has primary and secondary sensors for oxy, temp, sal, and cond, named oxy1, oxy2 etc.
# This function allows user to choose between primary or secondary sensor for each parameter.
#
# Input: qat data frame with all columns and sensors
#
# Output: data frame containing ID, pressure, and sensors of... |
d52af9287a3b5bf0f5708b2d295ed26b33482ce9 | 0322546b83d82d604784d71ce4eda7531879a3ae | /cvsc_welcome_mail.R | 2ed2fc772fc0d9e13c6191cfa00d647244493277 | [] | no_license | apawlik/cvcs-mailer | 658ad532f684fdbf507b048b09bd117700d6b713 | c608c82a46812f59fde49f1248af4f8e3ff92f4a | refs/heads/master | 2020-06-20T09:58:23.124375 | 2019-07-28T00:13:12 | 2019-07-28T00:13:12 | 197,086,333 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,643 | r | cvsc_welcome_mail.R | # (c) Aleksandra Pawlik, 2019
# Short script to help automate sending out welcome email to the CVSC guests
# The script reads in the file with all bookings (manually downloaded through the booking portal on )
library(tidyverse)
library(ggplot2)
library(filesstrings)
current_date <- as.Date(Sys.Date(), "%d-%m-%Y"... |
1def381218e9d4bcafde3c74a94cd2e8a26cd3fc | 311ae82a6efaf9c9cac8d1b517ba992815c88128 | /Production/DSM/pH/digital_soil_mapping/spatialprediction/d3/statistical_summaries/spatialise_ph_ss_4a1_d3_.R | 2fb377b6554d5a910fdb4a60446d4d5f2cb03803 | [
"CC0-1.0"
] | permissive | AusSoilsDSM/SLGA | 8c77f0ad24a49e05f00c8a71b452214e401d6a3f | 41d8e2c009c1595c87bdd805a8ba6c4a3f45cbd1 | refs/heads/main | 2023-03-18T13:18:33.073555 | 2023-03-07T23:54:51 | 2023-03-07T23:54:51 | 555,090,777 | 7 | 2 | null | 2023-03-07T21:55:39 | 2022-10-20T23:51:23 | R | UTF-8 | R | false | false | 3,846 | r | spatialise_ph_ss_4a1_d3_.R | ### TERN LANDSCAPES
# Soil pH 4A1
# Author: Brendan Malone
# Email: brendan.malone@csiro.au
# created: 19.5.22
# modified: 19.5.22
# CODE PURPOSE
# calculate mean and statistical moments from prediction iterations
##
### variables
vart<- "pH_4a1"
depth<- "d3"
batch<- 2
# tile counter
i_cnt<- 1
## libraries
library... |
d3655f59f1b9e9334a5b4f2a6e6329b243eeb2c6 | d0cc0897a6a34a064588001b1aae74839c85ba23 | /man/GetCNVClass.Rd | f869dfc9e69f9fc5c7d9537df3e02941a1dffab5 | [] | no_license | rxseadew/iPsychCNV | 5d32ab6587f69d18558da9a7c70e764f2019ec6d | 1c8fa20a6440fa686917ddabbac57d13007fa44e | refs/heads/master | 2022-04-07T07:22:34.497169 | 2017-06-27T11:59:19 | 2017-06-27T11:59:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 588 | rd | GetCNVClass.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GetCNVClass.R
\name{GetCNVClass}
\alias{GetCNVClass}
\title{GetCNVClass}
\source{
\url{http://biopsych.dk/iPsychCNV}
}
\usage{
GetCNVClass(Variable)
}
\arguments{
\item{Variable:}{Numeric, Unknown.}
}
\value{
return data in data frame.
}
\des... |
0f56be58015ae78e7d2f9cc7426944ceba68bcfe | 71101f28de94b8c189ce9b7f7a14cb236dfcfd6e | /man/getProtAtomsNearWater.Rd | 002c55e2ef307701b02426ab7f69cf09e387e5e3 | [] | no_license | Pawansit/vanddraabe | e5434b72fcf771cd28b9dfa6c88a328b140a40ef | 5eccfec7ed511e4eb2e38a21d2218106d7fb2c42 | refs/heads/master | 2023-05-12T18:53:44.718393 | 2021-06-10T20:58:26 | 2021-06-10T20:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,427 | rd | getProtAtomsNearWater.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HydrophilicityEvaluation.R
\name{getProtAtomsNearWater}
\alias{getProtAtomsNearWater}
\title{Number of Solvent Accessible/Exposed Protein Atoms Near a Water}
\usage{
getProtAtomsNearWater(h2o.oi, h2o.idc, atoms.oi, h2o.prot.dists,
h2o.prot.... |
1cd5455b61e1cb6633b510bd4502b409052c6618 | 5cb4a8af988878b929e9a34330d32150ec82eb0a | /server.R | 73928f5a1566979fc8eb6f4a26c2de811c9e9d2f | [] | no_license | gosaldar/data-product-project | 607aebd27018180f25baa1e886985d6c63a50c7a | 98a0a16484e8425b548e80660fa2a92e89f2f5d6 | refs/heads/master | 2021-01-10T10:57:00.363384 | 2015-09-27T10:53:18 | 2015-09-27T10:53:18 | 43,241,072 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,149 | r | server.R | library(shiny)
## Libraries needed for plotting, data processing and maps
library(ggplot2)
library(ggvis)
library(rCharts)
library(data.table)
library(dplyr)
library(reshape2)
library(markdown)
library(maps)
library(mapproj)
## Create helper functions
round2 <- function(x) round(x, 2)
replace_na <- function(x) ifels... |
4a17d1a5ee4e819bc1d8a907ea6ce755411b7ddb | 06b4a0acf81dca602eeee3fbc28429a135b4f868 | /man/plotReward.Rd | 0c52c0a6886fc39da81ff79daee7ba0124e9e71a | [] | no_license | rferrali/banditr | 54767888a89de1b6246b48a92d0120d70bf2afc2 | ccdc05a563a02f8fdf6a4838aa60ffb9456a1281 | refs/heads/master | 2021-01-23T06:14:33.679523 | 2017-07-26T13:06:02 | 2017-07-26T13:06:02 | 86,344,791 | 4 | 1 | null | 2018-02-20T03:13:14 | 2017-03-27T14:22:31 | R | UTF-8 | R | false | true | 785 | rd | plotReward.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{plotReward}
\alias{plotReward}
\title{Plot the reward of a bandit object}
\usage{
plotReward(object, data = FALSE, cumulative = TRUE, expectedReward = TRUE,
maxReward, ...)
}
\arguments{
\item{object}{an object inheriting from ... |
a8803a01ecf49cb01228a0ac0974f0e4543dd2b7 | aa511de45582edbd995b479ca88e5352444dca3d | /src/chapt2/graphics.R | e628be867faf00533ceff02de0908fd8ced1006d | [] | no_license | nickbuker/ISL_labs | 8f81116c1616f60cf754839ab717b0642c5c27b5 | fd057bcc731699846f50a9cc3a24479716aacf55 | refs/heads/master | 2020-05-21T10:42:03.872220 | 2017-08-01T23:46:35 | 2017-08-01T23:46:35 | 84,619,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 932 | r | graphics.R | # plot() used to make scatter plots
x=rnorm(100)
y=rnorm(100)
plot(x, y, xlab='this is the x-axis',
ylab='this is the y-axix', main='Plot of x vs y')
# Save image as png, pdf etc, dev.off() indicates done plotting
png('../images/chapter2.1.png')
plot(x, y, xlab='this is the x-axis', col='green',
ylab='this is... |
29764920eeb3ec0c027ce59efe7d19ec1f9928f4 | c2f658101b90bfdc466003f025113018f5d6344f | /install_some_pkgs_2.R | 79647e84d0650e213a7d1fd33848693483f71c79 | [] | no_license | miguel-conde/ds_pantry | 56902ac2ded9df6c69217f2d234ed8edf5fa008f | 6a9eb453cf0691f03daf4f7dcce2867a9388c222 | refs/heads/master | 2023-08-31T05:16:50.702374 | 2023-08-22T16:05:52 | 2023-08-22T16:05:52 | 244,453,925 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 685 | r | install_some_pkgs_2.R |
# https://stackoverflow.com/questions/66450454/how-to-update-all-packages-for-a-new-r-version-quickly-and-easily
mypks <- pacman::p_lib()
saveRDS(mypks, "~/tmp/mypks_R_3_6_3.rds")
mypks <- readRDS("~/tmp/mypks_R_3_6_3.rds")
install.packages(mypks)
# https://discourse.mc-stan.org/t/new-error-cleanup-makevar-old-argum... |
d0103f15fd186d2afaf6806e7a10e831364d76a3 | 043a1e148a3c928f2dd84fd02370ab5a5a5d3406 | /server.R | 17fce5637e91e976a5da5a5e3797d2f9658145c7 | [] | no_license | ghettocounselor/googleBubbleChart | 8bd6e74657d2e09692bd82e995a6ef543217dfa4 | 4028d76520f3fb6377a267ffd627f93bc0a12f3c | refs/heads/master | 2020-03-23T21:11:42.393111 | 2019-03-25T02:25:19 | 2019-03-25T02:25:19 | 142,088,484 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,103 | r | server.R | # setwd("~/Data/shinny/gitHub_GoogleBubbleChart")
library(dplyr)
shinyServer(function(input, output, session) {
# Provide explicit colors for regions, so they don't get recoded when the
# different series happen to be ordered differently from year to year.
# http://andrewgelman.com/2014/09/11/mysterious-shiny... |
90527446b65d4bf8859ddb285d902cd517e3653d | ef424746a3ea4ed6e167f03d359b39da48a0fc21 | /man/oneStep_MicroEL4PSite.Rd | 2b27bcd4d0fc9a97464e3ac6ceea018bf6590db7 | [] | no_license | smitdave/MASH | 397a1f501c664089ea297b8841f2cea1611797e4 | b5787a1fe963b7c2005de23a3e52ef981485f84c | refs/heads/master | 2021-01-18T18:08:25.424086 | 2017-08-17T00:18:52 | 2017-08-17T00:18:52 | 86,845,212 | 0 | 3 | null | 2017-08-17T00:18:52 | 2017-03-31T17:42:46 | R | UTF-8 | R | false | true | 693 | rd | oneStep_MicroEL4PSite.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AQUA-Micro-EL4P-Methods.R
\name{oneStep_MicroEL4PSite}
\alias{oneStep_MicroEL4PSite}
\title{MICRO \code{\link{AquaticSite}} Method: EL4P One Day Dynamics}
\usage{
oneStep_MicroEL4PSite(tNow)
}
\arguments{
\item{tNow}{current global time of \c... |
362f55632ed8d5db0fe2a06f3c02038e9950e403 | 8863faa181d81a42965abaebe5cc1f03302935e5 | /ui.R | 8bb6224d0b492326f608607260dffcb7201c1613 | [] | no_license | gagejustins/hipsterLocator | 0b43c97ccc86641da0854ab4346f29b13defc353 | 3bc6bd704cc118cf87b5b529c069cd17eda38c82 | refs/heads/master | 2021-05-05T19:01:33.630140 | 2018-01-17T00:00:18 | 2018-01-17T00:00:18 | 117,757,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 610 | r | ui.R | # Use a fluid Bootstrap layout
fluidPage(
# Give the page a title
titlePanel("Elements of a Hipster State"),
# Generate a row with a sidebar
sidebarLayout(
# Define the sidebar with one input
sidebarPanel(
selectInput("data", "Dataset:",
choices=c("Populatio... |
64e1e7f555818e08f673375f75f58a51b0f209a0 | cfb3751c5614a1b512265fb80e49e18f614bb18e | /Multiple_factor_EdgeR_analysis.R | c293a9c087d3d6a7b17ae7cca995b603f293900a | [] | no_license | jamestaylorjr/Trichoderma_Transcriptome_Metabolome | bfdc764655b612b343470d2f77a06a93515b2da7 | 247fe5c2dda904744ae94f4c9ae37261736be634 | refs/heads/master | 2020-03-23T11:13:16.648885 | 2018-11-01T14:36:43 | 2018-11-01T14:36:43 | 141,491,715 | 0 | 0 | null | 2018-11-01T14:36:44 | 2018-07-18T21:23:09 | Python | UTF-8 | R | false | false | 3,751 | r | Multiple_factor_EdgeR_analysis.R | #Multiple factor EdgeR analysis
#James T. Taylor, Jr 2018
setwd("C:/Users/jimta/Desktop/")
library(edgeR)
library(readxl)
path_to_phenotypes = "C:/Users/jimta/Desktop/jim_ballgown/pheno_data.csv"
counts <- read.csv(file="transcript_count_matrix.csv", header=TRUE, sep=",") #Then create the count matrix using read.csv()... |
bd5114b9212d35a5dd9a291ceb47b7aa98d457d1 | 5adc0dfe6cae8f90cc20cd149bf03852b0396e34 | /R/fertilizer_measurements.R | 56877f8cf1f4bdd9a65df4f33413fd01563b1ca7 | [
"MIT"
] | permissive | AGROFIMS/ragrofims | 43664011980affa495c949586bde192d08d4b48e | bc560a62c19c30bbc75615a19a4b9f8a235f7ddf | refs/heads/master | 2023-02-21T08:49:34.989861 | 2021-01-20T16:22:48 | 2021-01-20T16:22:48 | 277,626,238 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,791 | r | fertilizer_measurements.R | #' Get fertilizer product data from AgroFIMS platform
#'
#' @param expsiteId experiment-site Id or expsiteId
#' @param format type of data structure format
#' @param serverURL database server URL
#' @param version api version
#' @examples \dontrun{
#' library(ragapi)
#' library(ragrofims)
#' out<- get_agrofims_fertpro... |
0d1bb0e0f01fec1e38e34e5da4797f60d2cd78b4 | 2cd4292520d1376bbd909c030ae9b4e1ffcf9014 | /data/create_alc.R | 7edb144c2c5aa7ed0885e95ba35dc2e1c8b1ae88 | [] | no_license | Sirke/IODS-project | 29b06e6688d12814f28779ba53d53fe85e878c46 | 94163a4c36242d6cb029f1b8aafb298ffb22adf5 | refs/heads/master | 2020-04-02T16:43:14.904162 | 2018-12-06T19:43:18 | 2018-12-06T19:43:18 | 154,625,518 | 0 | 0 | null | 2018-10-25T07:07:01 | 2018-10-25T07:07:01 | null | UTF-8 | R | false | false | 2,630 | r | create_alc.R | #Sirke Piirainen
#12.11.2018
#exercise 3, creating alc
#data from: https://archive.ics.uci.edu/ml/datasets/Student+Performance
#read in the data
mat<-read.csv("student-mat.csv",header = T, sep = ";")
por<-read.csv("student-por.csv",header = T, sep = ";")
#check structure and dimensions of the data
str(mat)
str(por)
#... |
df32779feb10d7b2bb903aba60a709c387d51961 | f81ac43a1d02013a9cb9eebc2a7d92da4cae9169 | /tests/testthat/test_with_data.table.R | c56fe2c4372d4500191ce72e9574dbef0eef01bd | [] | no_license | gdemin/expss | 67d7df59bd4dad2287f49403741840598e01f4a6 | 668d7bace676b555cb34d5e0d633fad516c0f19b | refs/heads/master | 2023-08-31T03:27:40.220828 | 2023-07-16T21:41:53 | 2023-07-16T21:41:53 | 31,271,628 | 83 | 15 | null | 2022-11-02T18:53:17 | 2015-02-24T17:16:42 | R | UTF-8 | R | false | false | 379 | r | test_with_data.table.R | context("data.table vec ops")
dt2 = data.table(
zz = 42,
b_3 = NA,
aa = 10 %r% 5,
b_ = 20 %r% 5,
b_1 = 11 %r% 5,
b_2 = 12 %r% 5,
b_4 = 14 %r% 5,
b_5 = 15 %r% 5
)
expect_identical(dt2 %n_i% "b_", dt2[,"b_"])
expect_identical(dt2 %n_d% "b_", dt2[,-"b_"])
expect_identical(dt2 %i% anyNA,... |
208664e9b203e32eb4dbfbe99bf7bbc08171876e | 15596649781b0ab5a15a95e7757fee4294b4ea4f | /homework03/code/problem1.r | 398678b3438fe933e7d9f4caa23e96d4f6ec3916 | [] | no_license | kjoyce/applied_linear_models | 422979ddd9765b1d5a21bfef49b55605c5da8813 | 2f8f7d324e7f6cb1f289e80baae8b6d6a1b490fe | refs/heads/master | 2021-01-22T13:41:45.143842 | 2013-12-10T19:11:16 | 2013-12-10T19:11:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,818 | r | problem1.r | library(faraway)
library(ellipse)
data(prostate)
attach(prostate)
mdl = lm(lpsa~lcavol+lweight+age+lbph+svi+lcp+gleason+pgg45,data=prostate)
# a
print(sprintf("(%.4f,%.4f)",confint(mdl,level=.9)[4,1],confint(mdl,level= .9)[4,2]) )
print(sprintf("(%.4f,%.4f)",confint(mdl,level=.95)[4,1],confint(mdl,level= .95)[4,2]) ... |
005b535d5cdcba76ed2f45bd616a09cd7e44b6ff | 33e69ff9d17fd65a39e6f388085dca4fe4703126 | /man/transformestimates.exp.Rd | 74c69896670d5ed3f452331432fad0dd0aad9e4b | [] | no_license | ssouyris/spatsurv | 3451d1cbf8a931a9dbcaa06c20d79a118feb6f53 | 97d16c9a8262a3d19e11bd9c1c98553f71bcb8c4 | refs/heads/master | 2020-12-24T11:52:36.642276 | 2014-06-13T10:46:15 | 2014-06-13T10:46:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 451 | rd | transformestimates.exp.Rd | \name{transformestimates.exp}
\alias{transformestimates.exp}
\title{transformestimates.exp function}
\usage{
transformestimates.exp(x)
}
\arguments{
\item{x}{a vector of paramters}
}
\value{
the transformed parameters. For the exponential model this
is just the identity.
}
\description{
A function to transform estima... |
eb579a0c7afb40395c377c662171fbe3764774a2 | 1bfadb58b266929c359a1a4c3afd9f9ce694228d | /man/state.carto.Rd | 5222a621ee07b1da7b877226c695bf30e3530abb | [] | no_license | adeckmyn/maps | 25c3396c94adfb70262449f29f1fd77ff9583f29 | dc1eefb14d155fca33ace2333c490f5fd52eeb34 | refs/heads/master | 2022-11-11T17:56:03.194633 | 2022-11-01T10:28:10 | 2022-11-01T10:28:10 | 40,031,227 | 29 | 10 | null | 2021-09-24T14:20:18 | 2015-08-01T01:27:16 | R | UTF-8 | R | false | false | 1,424 | rd | state.carto.Rd | \name{state.carto}
\docType{data}
\alias{state.carto}
\alias{state.cartoMapEnv}
\alias{state.carto.center}
\title{
United States State Population Cartogram Map
}
\usage{
data(stateMapEnv)
data(state.carto.center)
}
\description{
This database produces a cartogram of the states of the United States
mainland based on Ca... |
9dc5f0db6d9bfdcc4f072b113c2639de37eaa36a | b8c40ff8d1fc1b0e66aaf4e7a7e70da22b711cef | /man/make_clinical_events_db.Rd | 15acf828ad01bc9df59b54b181299a781f2561b7 | [
"MIT"
] | permissive | rmgpanw/ukbwranglr | 4f25d74583bd260b90431fde32435742458e9591 | a6136c0188eb53066a2ced5da9f110212847c411 | refs/heads/main | 2023-05-23T19:49:36.244874 | 2023-03-29T11:08:10 | 2023-03-29T11:08:10 | 308,650,225 | 9 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,209 | rd | make_clinical_events_db.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sqlite_db.R
\name{make_clinical_events_db}
\alias{make_clinical_events_db}
\title{Create a SQLite database with a \code{clinical_events} table}
\usage{
make_clinical_events_db(
ukb_main_path,
ukb_db_path,
ukb_main_delim = "auto",
gp_c... |
fd7e1b348eec0dde89fe7ef3f8b8a9ee120ac615 | 12619e5af30c95993c1470a1d16b1a508a9d4204 | /mapuloh/R/coord_lookup.R | ee15682e18b72fc0f1d70249dc8041910c72cdbb | [] | no_license | nusrathfatima/advanced-r-lab-5-liu | ab0ec87ced19c0cbfd211a1b129d7679838292fd | f0dab20b9dac8f7010912b5c41ab1cb4b0f10009 | refs/heads/master | 2021-06-04T14:53:49.684430 | 2016-09-29T14:43:10 | 2016-09-29T14:43:10 | 104,630,369 | 1 | 0 | null | 2017-09-24T08:40:33 | 2017-09-24T08:40:32 | null | UTF-8 | R | false | false | 1,661 | r | coord_lookup.R | #' @title Coordinate finder
#'
#' @description The 'coord_lookup' function is a function that provides the user the coordinates of a given
#' address. The funtion uses the google geocode API to retrieve the result.
#'
#' @param address A character string that includes address components
#'
#' @return A dataframe cointa... |
7ce52cf1d66106581b6b4c19e556d3080342f7ce | 34a18d8886baac7cd57ef9ae7977142ec016546c | /opdracht_10/opdracht_10.R | 5c92500d6b86c935293fe45a2af2878ef431c3a6 | [] | no_license | EddyvonB/project_simulaties | 81a9e18f6256d3414e9d726075649c905a90f1c8 | b9a8f247222e0ec10564fac201ccc1e1f67ff960 | refs/heads/master | 2020-04-15T16:56:33.023138 | 2016-06-27T13:16:43 | 2016-06-27T13:16:43 | 35,145,338 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 575 | r | opdracht_10.R | ##Opdracht 10a)
Z(T+alpha(T)) = Z(t) – 5/1000 Z(t) *delta(t)
opgave 10c
dZ/dt = (-d/1000) * Z(t)
dZ/Z(t) = (-d*t)/1000
Primitieveren -->
ln|Z| = (-t*d)/1000 + C
Z(0) = 0,050
Ln(0,050)
C = ln(0,050)
ln(Z) = (-t*d)/1000 + ln(0,050)
Z = e^(-t*d/1000) + 0,050
Uitstroomsnelheid = 13
opgave 10e
... |
f2538e0c10896e3ed5457d5faa2d3d6b325d0e87 | 16d4b34e90bddcaa18e11b6145dd8845ca36cd1e | /source code/Frees - PRIDIT - Book.R | b8faeb6661c0747b270daaf5c0b84640fbbcde56 | [] | no_license | daclapp/iCASexam | 5deb91d2bb751abe7ab5d4700cfaab83a1abb00c | c2bfa596739a8ad7e12601c27a8a8043ecb0b970 | refs/heads/master | 2021-03-30T20:35:01.117931 | 2019-10-27T16:57:28 | 2019-10-27T16:57:28 | 124,601,888 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,810 | r | Frees - PRIDIT - Book.R | #https://instruction.bus.wisc.edu/jfrees/jfreesbooks/PredictiveModelingVol1/unsupervised-predictive-modeling-methods/v2-chapter-7.html
# Code to calculate RIDITs and PRIDITs on Questionable Claims Data
# Read in questionable claims data
# this version of data has dependent var and is 1500 lines
mydata1<-read.csv("data... |
c805586bd9fa5d90fa89357ebe7563ab1290d0f1 | e7c7e8b21ab45ccf91c01f8faa4d11641606ba12 | /R/20200511/other_functions/piumet_code.R | da1f9bca1720d38b3a528ad8c5ca9d006a28eda0 | [
"Apache-2.0"
] | permissive | mohanbabu29/precision_exposome | 09120274ebb7103ca3c73c002497406709a372e3 | 600c20db7eff1ddfc7b2656ddc538153b1044961 | refs/heads/main | 2023-03-18T02:42:36.202085 | 2021-03-11T17:24:59 | 2021-03-11T17:24:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,772 | r | piumet_code.R | ###----------------------------------------------------------------------------
readPIUMet <-
function(path = ".",
marker_table,
text = TRUE,
layout = "kk",
size_range = c(3, 8),
width_range = c(0.2, 0.5),
marker_name = NULL) {
annotation_resu... |
613b1e7b89962632e9f606d0709d01cfe1c2f74e | 280979ed9c1f0238a6b6081688bad512a9c0834c | /get_state_polling_data.R | f3233710eed1cc8207016f2d95ff4dfea18266c5 | [] | no_license | tylerreny/polling_data | 26dfdc3121c456a34bcb6b32bf9b9da79b7f0f7a | 15df3129d05cb26c36d12f908b75d03b4dbe3816 | refs/heads/master | 2021-01-24T07:32:18.379848 | 2017-06-05T00:50:41 | 2017-06-05T00:50:41 | 93,350,838 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 473 | r | get_state_polling_data.R | setwd('/Users/treny/Dropbox/_projects/googleTrends/polling')
files <- list.files()
variables <- c('Trump','Clinton','Other','Undecided',
'start_date','end_date','observations')
master <- data.frame(NULL)
for(i in 1:length(files)){
df <- read_delim(files[i],delim='\t')
df <- df[,variables]
state <- ... |
911a95a93ee647870a17c713e73acb9bcca26f3d | cdc506805e99d4281bfb2b5bf15fc34cdb358fce | /3_estructura de datos.R | bda0c0676f305fe639618eb4acee97d5b99e1bd0 | [] | no_license | anabella005/Holando | 881c9279df052668da4fa36ec84a83900ce23ed6 | 4181b715f08a0d64212024eb637060b772ac4ea4 | refs/heads/master | 2020-08-16T19:08:03.771023 | 2019-10-29T18:28:37 | 2019-10-29T18:28:37 | 215,540,308 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,419 | r | 3_estructura de datos.R | library(tidyverse)
machos <- filter(EBV, SEXOLETRA == "M")
str(machos)
summary(EBV$SEXOLETRA)
hembras <- filter(EBV, SEXOLETRA == "F")
summary(EBV$FNACNUMERO)
year1936<-EBV %>%
filter(FNACNUMERO %in% c(19360206:19370000))
decada1930<-EBV %>%
filter(FNACNUMERO %in% c(19360206:19400000))
decada1940<-EBV %>%
fi... |
9282ed1c380f1b9eab6a071f05ab454ed3d4669b | 0c32a1c89eab6e27a62c782500c926098709ab81 | /tests/testthat/test-alpha.R | 2a819fc554b5bd116d0a0a2906f7f1ea5a74cd2e | [] | no_license | vis-jusuE404/colourvalues | 3e4b457fc3d6c4fda953e2085566e5c85cbf97c8 | 00e18ca3f1e957ae702b7442916dea389c635a00 | refs/heads/master | 2022-05-20T15:57:42.893685 | 2019-04-25T23:18:36 | 2019-04-25T23:18:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,238 | r | test-alpha.R | context("alpha")
test_that("[0,1) alpha values treated as percentage", {
expect_true( colour_values(1, alpha = 0.5) == colour_values(1, alpha = 255 / 2) )
expect_true( colour_values(1, alpha = 1) == colour_values(1, alpha = 255 / 255 ) )
})
test_that("alpha values > 255 are scaled", {
expect_true( colour_values... |
0e21bb0895e5c3a1366630519484d1edd01bf1b8 | ce9e36c47bd8342e17649b3cad0d8ba93ce28cdf | /ProjetStatistique_CodeR_Biernacki-Bruno_Camiat_Deze.r | 37e18f903e8018aabcd7baea0b748a5796318cfa | [] | no_license | florian-deze/Statistical-Food-Analysis | f5e7ee2a19f61f1fb5839d6a710ee549f034e4e5 | 76c4304f9ac12f25546411370ef0b8ad1a2dfdec | refs/heads/master | 2020-12-02T21:18:26.533188 | 2017-07-05T08:05:14 | 2017-07-05T08:05:14 | 96,293,289 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,303 | r | ProjetStatistique_CodeR_Biernacki-Bruno_Camiat_Deze.r | # PROJET STAT
###########################
# Importation des donnees #
###########################
setwd("C:/Users/User/Documents/Polytech/GIS Semestre 8/Projet Statistique")
food = read.csv("food.csv", header=TRUE, dec=".", sep=";", row.names=1)
# On verifie que l'importation s'est bien deroulee
head(food)
... |
0555a4325e7072500bcd26b48f5940b57d0925e5 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /valgrind_test_dir/threshold_multilevel-test.R | 1c205b333a62240769a0c5b4a212bbde7d2b8ab6 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 253 | r | threshold_multilevel-test.R | function (im, thresvals)
{
e <- get("data.env", .GlobalEnv)
e[["threshold_multilevel"]][[length(e[["threshold_multilevel"]]) +
1]] <- list(im = im, thresvals = thresvals)
.Call("_imagerExtra_threshold_multilevel", im, thresvals)
}
|
2c6df0b17ef338d7a068bba08d1a768352fbf489 | 90958e0e0b598f7f789dae0318f2d7f4eb58f374 | /ui.R | b80946a21c4bc47e2c988f9f17cb029a5429b429 | [] | no_license | elan-kumaran/Word-Predictor | 3c3bef7e8aa770bf6f74c75de15ee4f91d3225f7 | 30c38c97be77cfd0ff8358bc70773530552c9142 | refs/heads/master | 2021-04-26T23:08:23.823215 | 2018-03-05T16:46:39 | 2018-03-05T17:19:41 | 123,936,084 | 0 | 0 | null | 2018-03-05T15:10:01 | 2018-03-05T15:03:34 | null | UTF-8 | R | false | false | 2,534 | r | ui.R | shinyUI(pageWithSidebar(
headerPanel("SwiftKey Predict Next word"),
sidebarPanel(
textInput("textInp", "Please Type Text here","sample text"),
h6('The next word will be predicted based on the text you type here'),
# h6('Please type and see.'),
# ... |
bbbfda5da841efbf97f90b322427c6fe7b8c9487 | f69fcac40ce65dc4c0e3e0202d0c0dfab63c3c6a | /07-ngrams.R | cc35782d76a06669c5054d75577a658b2508e6d9 | [
"MIT"
] | permissive | d4tagirl/uruguayan_parliamentary_session_diary | 863545ea161277db7036fc8a3e86d5e21ef3b8a5 | 83b6c04af8603fcdcebd2fd0680be0d0b1047eab | refs/heads/master | 2021-01-25T11:49:06.115262 | 2019-09-19T19:13:33 | 2019-09-19T19:13:33 | 93,946,454 | 16 | 3 | null | 2018-04-19T18:15:58 | 2017-06-10T15:00:59 | R | UTF-8 | R | false | false | 2,647 | r | 07-ngrams.R | library(readr)
library(ggplot2)
library(purrr)
library(dplyr)
library(tidyr)
library(tidytext)
library(ggplot2)
library(viridis)
library(lubridate)
library(rcorpora)
diputados <- readRDS("data/pdf_diputados")
senadores <- readRDS("data/pdf_senadores")
# me deshago de los saltos de línea que sólo los voy a usar más ad... |
a5ae43b7fc277ffec8ecdfe669a5f0aa496c9fbb | d603d1e09427ca593fb0ceb74c15a21b1b307330 | /tests/testthat/test-cleaning.R | 5d31c854eac125a6f17e173a6eae0bf2b9bb863a | [] | no_license | ixpantia/lacrmr | 16fe93d5160906e6a24b8365409e07032a13e5dc | 17940efabe8c69d134f10177f9d7e0b291bb06b3 | refs/heads/master | 2022-07-14T07:34:42.349779 | 2022-07-11T20:16:46 | 2022-07-11T20:16:46 | 169,632,410 | 1 | 3 | null | 2022-07-11T20:16:47 | 2019-02-07T19:49:41 | R | UTF-8 | R | false | false | 1,226 | r | test-cleaning.R | context("Cleaning")
testthat::test_that("List are removed from the pipeline report", {
mockery::stub(where = get_pipeline_report,
what = "jsonlite::validate",
how = TRUE)
mockery::stub(where = get_pipeline_report,
what = "jsonlite::fromJSON",
how = p... |
dd8a99c97aa44b82b1e7f7e164105ea93e83cd7e | 2c80e92261d10e6573dcf216fbd69c6a3db10bb6 | /CSTC/conn_cluster.R | 1fa176eba983de8d570da71672205e6155a67136 | [] | no_license | Tonyfer/Working_scripts | 95ef63fd8e06e192052a34a2f5669929824e7982 | 89f29ae0ade52fc9ea0f67d45e7ae4098ee6d9f3 | refs/heads/master | 2020-04-28T23:14:19.297778 | 2019-09-27T14:35:02 | 2019-09-27T14:35:02 | 175,647,685 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,672 | r | conn_cluster.R | conn_l = list()
si_l = list()
ru_l = list()
cbic_l = list()
for (i in c(1:7)){
conn = read.csv(paste0('~/Desktop/CSTC/122_conn',i,'_after.csv'), as.is = T)[,-1]
si_l[[i]] = conn[hcp_si$group == 0,]
ru_l[[i]] = conn[hcp_si$group == 1,]
cbic_l[[i]] = conn[hcp_si$group == 2,]
}
age_vec = seq(5,21,0.1)
new_age = da... |
212b2674191443f90e8421c7ba60d564e2f2e1b4 | d746fef241f9a0e06ae48cc3b1fe72693c43d808 | /tesseract/rotate/d7xk57-012.r | 94ec25e80569d0d6563ae8fb9219f823097f6dc4 | [
"MIT"
] | permissive | ucd-library/wine-price-extraction | 5abed5054a6e7704dcb401d728c1be2f53e05d78 | c346e48b5cda8377335b66e4a1f57c013aa06f1f | refs/heads/master | 2021-07-06T18:24:48.311848 | 2020-10-07T01:58:32 | 2020-10-07T01:58:32 | 144,317,559 | 5 | 0 | null | 2019-10-11T18:34:32 | 2018-08-10T18:00:02 | JavaScript | UTF-8 | R | false | false | 199 | r | d7xk57-012.r | r=358.59
https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7xk57/media/images/d7xk57-012/svc:tesseract/full/full/358.59/default.jpg Accept:application/hocr+xml
|
e6c4eca6f2dec254644cba7754a9c1d5f7ab47f1 | d4ca19e932de004240920f1a6728eea3244d4295 | /Import.r | e0c20e201409c6ca8bf8aa3a2517f2ee998c1818 | [] | no_license | ejjunju/wbm | 5b23c6a0239cca75c08faa4c369da17c5b8cc2c3 | c08f09d6bdffa8e9a1375bc0d788fddbf563d60f | refs/heads/master | 2016-09-06T05:06:29.814320 | 2013-10-01T09:14:05 | 2013-10-01T09:14:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 561 | r | Import.r | %load('testData.mat') Load data if it exists
cd 'C:\DATA\STATIONS\wbm_Rusumo\Calib\matlab'
%DATA IMPORT
%Control/initialising
[nm,nc,petype,wbmtype] = importInit('init.txt');%Time & Qobs
[Time,Qobs] = importTimeQobs('Qobs.txt');
[prec,tmpr,epot,d,h] = importMet('met.txt');%met data (nrows=nm*nC)[prec,tmpr,epot,d,h]
[... |
17995833d93eb0f92bf706135f61413b4117483a | 0e2383401e7648f7715711f74b8d3f0af5d58960 | /analysis/heuristic_analysis_setup_compare.R | 7ba4ee70c6c20f1f9803253ac126f74c02693e8e | [] | no_license | nareshram256/grid_robust_optimization | 44928c27b08350bf10361439c73941f7f2c075fa | 8d4c0c4b04c51c70efc8ed064f3de4eef8c081ce | refs/heads/master | 2022-11-22T17:48:41.077704 | 2020-07-23T08:06:57 | 2020-07-23T08:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,856 | r | heuristic_analysis_setup_compare.R | # Analysis for the heuristic
# Compare search setupparameters
heuristic <- read_csv("c:/temp/grid_cascade_output/heuristic_results.csv")
heuristic.compare.starttime <- heuristic %>%
group_by(args.instance_location, budget, upgrade_selection_bias, min_neighborhoods, min_neighbors_per_neighborhood) %>%
summarize(sta... |
d4a13e97b64a1a611fa0a55089e0467956e33386 | b445f8db1b80b6ffdf752312e738bc2bc392c310 | /Project_Classification_Jay.R | c3886e67cb7ea3aed9d04f03dca577388c4e21df | [] | no_license | jay953010/Rule-Based-Classifier-Algorithms-in-R | 136fe4429437833e123bf9457633daa965942ae1 | 86b21d6ef40ed467ae473751b880a0c3025a9b91 | refs/heads/master | 2021-07-09T22:10:34.091733 | 2017-10-10T03:17:37 | 2017-10-10T03:17:37 | 106,363,294 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,554 | r | Project_Classification_Jay.R |
library(caret) #Library for data tuning and data preprocessing
library(class) #Library to use for KNN Algorithm installtion package install.packages("class)
library(RWeka) #Package for C45 rule
library(party)
library(e1071) #Package to use for Support Vector Machine
library(xlsx)
library(gmodels)
... |
79dcc9717ccd37098d73c9d88ae250110dcdc77c | 45b5d3662e656932a9a2a5eac26dc16749d952de | /man/write32.dta.Rd | 70cf25220c71125467d5c6536b47949d269be10f | [] | no_license | muschellij2/processVISION | 9dbff7ccb6a4598d3cba7cab080e3c5deb86d0d9 | 7fa7327996a5e0e3ac5872bc2b1aeb2b61f76596 | refs/heads/master | 2020-06-01T10:47:53.914160 | 2017-08-21T20:17:13 | 2017-08-21T20:17:13 | 15,747,358 | 0 | 1 | null | 2014-03-31T23:03:57 | 2014-01-08T20:36:19 | R | UTF-8 | R | false | true | 1,053 | rd | write32.dta.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/write32.dta.R
\name{write32.dta}
\alias{my.write.dta}
\alias{write32.dta}
\alias{write32.dta,}
\title{Process a VISION XML file from their EDC}
\usage{
write32.dta(dataframe, file, version = 7L, convert.dates = TRUE,
tz = "GMT", convert.fac... |
4bdf52f575895f9be4b7951dbcdf5eb5e05ecb0c | a137a1a2290233912f91bd9bdf4401e63f5c7499 | /run_analysis.R | cceee4dbe503d45039e12b1e3c8354067c3c56be | [] | no_license | Phileytan/CleaningData | b5a4d5755f1827807c120a326154cd29233afd02 | 2973a6fa42d6ee3216f76295a89c6f1053c22843 | refs/heads/master | 2020-03-07T18:53:09.381861 | 2018-04-01T17:35:47 | 2018-04-01T17:35:47 | 127,655,164 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,558 | r | run_analysis.R | getandclean <- function() {
#### Download the files form the web
adresseURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(adresseURL, destfile = "./Dataset.zip")
dateDownloaded<-date()
#### Read the tables
X_test<-read.table... |
f061b1639863ed564e1c0041831e33ecadae96c0 | 91021e4ef3da3604739b4ed54684c4605233973c | /RSkripts/Extract_DataMerge.R | b371abc7575cd3365e9a8cd5e657d93c86b664c4 | [] | no_license | michaelbly/CampProfiles_Iraq_2020 | 1e8aedbafbe37c7ff859dcc543773202acc40992 | fc2ad62e6d8500f3497266b51705bf4ad68839fb | refs/heads/master | 2022-02-24T17:51:50.674133 | 2019-09-27T15:57:47 | 2019-09-27T15:57:47 | 211,353,860 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,097 | r | Extract_DataMerge.R | ################
#LOAD AND ATTACH ALL RELEVANT PACKAGES
###################################
#library(tidyverse)
#library(car)
#library(sandwich)
library(texreg)
library(stringr)
library(vars)
#library(zoo)
library(strucchange)
library(data.table)
library(openxlsx)
library(plm)
library(Formula)
#library(g... |
eb308c99f487827d95c2c63ef02dee6a95a7e8fa | fc6ba5dd242c2043ec8c32c96890c7be0a0d260c | /wordcloud2/TextMining_WordCloud2.R | acf3f1e0eacecfd0b9f50c2cc45c4e84fdc2604e | [] | no_license | naind/R_crawling | b63d2393314e17ae2dd474a941692e2d89ceacfd | e3b48afbad23dcdda1550f20f29164c1832700f5 | refs/heads/master | 2022-12-15T08:14:31.381605 | 2020-09-10T09:43:56 | 2020-09-10T09:43:56 | 287,299,417 | 0 | 0 | null | null | null | null | UHC | R | false | false | 822 | r | TextMining_WordCloud2.R | setwd("C:/Users/94050/Desktop/git/R_Project") # 내 워킹 디렉토리 변경
list.files() # 내 워킹 디렉토리 안에 파일목록보기
library(KoNLP)
useNIADic()
# 사전에 없는 단어 추가한다.
mergeUserDic(data.frame(c("청취"), c("ncn")))
text1 <- readLines("ANSI.txt")
text2 <- extractNoun(text1)
text2
# 리스트 안에 리스트가 들어있기에 unlist해준다.
text3 <- unlist(text2)
# 불용어 전처리 ㅎ... |
0f6345a95711e393a208c0bb407bb2d670c6481e | 991c97b4f8697f7c4635b76f4449d83871dcefe2 | /R/show_source.R | e5aea716cdd96def2f1346c18f2b0fe79cc6e96e | [
"MIT"
] | permissive | r-lib/pillar | 803706f4fa4e7f039005f5a8ad27945869fe7d02 | 92095fcc0fffa6d2b2d42c3ec6017e7501c0c99b | refs/heads/main | 2023-06-08T05:12:41.813170 | 2023-03-26T01:56:15 | 2023-03-26T01:56:15 | 91,374,446 | 146 | 40 | NOASSERTION | 2023-04-05T01:30:09 | 2017-05-15T19:04:32 | R | UTF-8 | R | false | false | 1,588 | r | show_source.R | set_show_source_hooks <- function() {
width <- 40
set_show_source_opts_hook(width)
set_show_source_source_hook()
}
# Defines a `show_source` knitr option. If this chunk option is set,
# the code should be a single function (use ::: for internal functions).
# The code will be replaced by the function definition,... |
d628da3c0037a24a731795684dca4a1c849f7c52 | 4a2cd4bcbf96ac29449cd1a785f0cdf757ae26c9 | /shotspotter.R | 90b466d3c0a0deb9376b0379fc2f52bacf9e1a41 | [] | no_license | taehwank15/shotspotter | a87d9b6713a46f6610655b0d6c0077e10042589c | a4edf88c8257a1690ea9cc947aa018aaddcae097 | refs/heads/master | 2020-05-15T06:53:15.120229 | 2019-04-23T03:52:42 | 2019-04-23T03:52:42 | 182,131,644 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,634 | r | shotspotter.R | library(tidyverse)
library(tidycensus)
library(sf)
library(tigris)
library(ggthemes)
library(lubridate)
# Validate
data <- read_csv("http://justicetechlab.org/wp-content/uploads/2017/08/OakShots_latlong.csv",
col_types = cols(
OBJECTID = col_double(),
CAD_ = col_... |
684b1a9711d7da9c73d3eecac671688fc694b8de | 6cbc6e80ae07b8fb1fff0a5cad4ddcd29c358c0a | /R/ezr_gainslift.R | a088b33e28f1f05140feea600ff586f14d179e70 | [] | no_license | lenamax2355/easyr | d99638b84fd9768774fa7ede84d257b10e0bacf6 | 37ab2fe5c28e83b9b5b3c0e3002f2df45708016b | refs/heads/master | 2022-01-09T20:43:17.801623 | 2019-05-13T02:49:48 | 2019-05-13T02:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,343 | r | ezr_gainslift.R | #' Gains, Lift, and KS Calculator
#'
#' Outputs a dataframe that has the cumulative capture rate, gains, and KS metrics at each 1% increment of the score. Also produces the lower threshold of the score.
#'
#' @param df Dataframe of prediction results
#' @param binary_target Should work for either numeric or factor. ... |
0ed5f361cd1360d26fc085ac129609bad2b58f33 | ce055040549214f56f9c603eb0dd67d6b7ad196e | /R/value.R | dc7045e20dfc311e8a10cd2f03f6f4a9a00138b1 | [] | no_license | HenrikBengtsson/future | d3e103cf60bd8bcd9e7e1c45d239ea0e9f3dd18e | 30715de064db5cc0927fc71201f7866e5f45137e | refs/heads/develop | 2023-08-28T20:12:44.689930 | 2023-08-18T11:59:09 | 2023-08-18T11:59:09 | 37,042,109 | 971 | 104 | null | 2023-06-17T07:33:21 | 2015-06-08T02:37:06 | R | UTF-8 | R | false | false | 7,958 | r | value.R | #' The value of a future or the values of all elements in a container
#'
#' Gets the value of a future or the values of all elements (including futures)
#' in a container such as a list, an environment, or a list environment.
#' If one or more futures is unresolved, then this function blocks until all
#' queried future... |
6fea5b4deacdacc6cdcbb07ed4dfdb8531dbc461 | e4ad2398aa4b2d308ba0ec11803d58e36bba43d5 | /R/qcs.R.r | a3947c7944d69fa66f16156d06b0dea9de72e531 | [] | no_license | mflores72000/qcr | 2204b2810a24a91bee75ef68094feaf6198746bd | 4b07dcc8bdc2293ed0504d438e835b9562746612 | refs/heads/main | 2023-06-08T04:46:35.286754 | 2023-05-30T16:06:10 | 2023-05-30T16:06:10 | 387,871,922 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,864 | r | qcs.R.r | #-----------------------------------------------------------------------------#
# #
# QUALITY CONTROL STATISTICS IN R #
# #
... |
1f66a69c1d6abdf3a0e4e1b96baa75b1d177e305 | 406b5b48c4c62b54fb028df3e0e2f54c865c5c06 | /Bingo_enrich.R | 82d1c046e71584afd79140c206ab16aeec7cf0cd | [] | no_license | wenliangz/RNA-seq-shared-Rscripts | e80c7e646a079890d70a9e4f5be94ba63d5d5c7b | 64d061829373a8590c7ddb01ee6e541a42648cdc | refs/heads/master | 2020-06-16T04:14:12.963355 | 2016-12-01T02:10:12 | 2016-12-01T02:10:12 | 75,246,254 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,742 | r | Bingo_enrich.R | library(plyr)
library(dplyr)
library(magrittr)
library(stringr)
library(ggplot2)
source('multiplot.R')
# read bingo data
path <- 'y:/BlueBirdBio/OneDrive for Business/MyProjects/RNAseq_Mike_mRNATransfection/pathway'
# path <- 'C:/Users/Wen.Zhang/OneDrive for Business/MyProjects/RNAseq_Mike_mRNATransfection/pathway/'
f... |
a9ee3c932320e52e60162cf415cecf89649a9d6b | 16ee8d77216b80bb4e6662b89cb914bc1a09f330 | /plot4.R | 7e57bb6c296b355c7dcd014998825ead93144d68 | [] | no_license | AnannyaU/ExData_Plotting1 | b4bcb68f306ad6ad04e5d11325cdd14e05e1401e | 9aecc38d4868753008f3c790b30f8b7a4b5cc992 | refs/heads/master | 2021-01-15T09:51:07.202785 | 2016-08-08T06:35:33 | 2016-08-08T06:35:33 | 65,170,902 | 0 | 0 | null | 2016-08-08T03:51:50 | 2016-08-08T03:51:49 | null | UTF-8 | R | false | false | 1,886 | r | plot4.R | # Converted the text file to csv before reading it
electricData <- read.csv("household_power_consumption.csv", header = TRUE, sep = ";")
# Created subsets corresponding to the two dates used for analysis: Feb 1, 2007 and Feb 2, 2007
electricDataFeb1 <- subset(electricData, Date == "1/2/2007")
electricDataFeb2 <- subse... |
61a998345dea1f1036b7cc248e5f214897a06998 | 89875c4898905aadb7a93ec9def70832b4eb75b2 | /install.R | 534b70385d0ddfddeae22c1416d827a4c3387c36 | [] | no_license | mabarbour/Lanphere_Experiments | 930ef2287bef9538e3e3e376dab93f49441e2e83 | 9d6410706cee5100de043540da15a7f9208a177e | refs/heads/master | 2021-03-27T20:11:21.131315 | 2018-05-12T13:24:08 | 2018-05-12T13:24:08 | 15,195,239 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 223 | r | install.R | install.packages("tidyverse")
install.packages("rmarkdown")
install.packages("brms")
install.packages("rstan")
install.packages("broom")
install.packages("parallel")
install.packages("cowplot")
install.packages("stringr")
|
6115d13096d9389e85f0d0d54361ed761cfcbde4 | f36bc1a3afeb5d2bc03358e818599f286f09dc2b | /modules/immunefeaturesmodule.R | e75503b474a476c79ba3f67e1c62b157c596e14b | [
"Apache-2.0"
] | permissive | bioinfo-dirty-jobs/shiny-iatlas | 1c5577f3b021689163b75834c08087378b0dcd26 | 2f81a3d899a1e6cb53daa462a0eaafe3cb9435d6 | refs/heads/master | 2020-05-29T10:52:13.246209 | 2018-09-30T19:19:23 | 2018-09-30T19:19:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,609 | r | immunefeaturesmodule.R | immunefeatures_UI <- function(id) {
ns <- NS(id)
tagList(
titleBox("iAtlas Explorer — Immune Feature Trends"),
textBox(
width = 12,
p("This module allows you to see how immune readouts vary across your groups, and how they relate to one another.")
),
... |
7c654ecddaeedfc7961e8087edb296e1949ab546 | 13f914e94c0667a3ba32e728fac204a3901fd15c | /src/visualization/plot_mocks.R | 10be775b73a569f216d17d3520786f934251612b | [] | no_license | manutamminen/epicpcr_4 | fcaff79962d2e1df09cd4559b29c7fcf8aef2098 | 53e938f827e7ab356b756bc45d3bfa671c4bc6fa | refs/heads/main | 2023-05-31T09:54:40.421995 | 2021-06-17T10:56:55 | 2021-06-17T10:56:55 | 369,548,748 | 0 | 1 | null | 2021-06-17T10:56:55 | 2021-05-21T13:44:09 | Python | UTF-8 | R | false | false | 1,827 | r | plot_mocks.R |
library(tidyverse)
bact_bcs <-
read_tsv(snakemake@input[[1]])
euk_bcs <-
read_tsv(snakemake@input[[2]])
png(snakemake@output[[1]], units="in", width=5, height=5, res=300)
bact_bcs %>%
count(Sample, Taxonomy) %>%
filter(str_detect(Taxonomy, "Mock")) %>%
arrange(Sample, desc(n)) %>%
separate(Taxonomy, in... |
095aa71bf48bdebc06eb73ca2631b9428f676a26 | e9841bea06fe2f9372a4352209533c95af1cf41c | /cachematrix.R | a5375e599b1039d530f5d21af42cb9488c304e5e | [] | no_license | harridw/ProgrammingAssignment2 | 9df875b01a354ba148565453ff324b18fb3c6cd1 | e2adfd4b71ed72fda99a449c1b3f17004a7a548d | refs/heads/master | 2021-01-17T07:28:36.951317 | 2017-03-02T19:18:16 | 2017-03-02T19:18:16 | 83,455,503 | 0 | 0 | null | 2017-03-01T12:54:34 | 2017-02-28T16:36:20 | R | UTF-8 | R | false | false | 3,735 | r | cachematrix.R | ## Create matrix object to cache inverse matrix
## If matrix provided is not square (i.e. nrow == ncol) or otherwise non-invertible, cacheSolve will fail
## Use test matrices recommended by Alan E Berger for assignment
## m1 <- matrix(c(1/2,-1/4,-1,3/4), nrow=2, ncol=2) --> or other non-singular square matrix would wo... |
9c275a17feff25b8e837d477729a02c8641fcf49 | 5ae29ef9ebca69c844f5927be475db7c5411ac97 | /g_2.R | f91be3066076a72d40588f1939dc6f772492220f | [] | no_license | abrarShariar/cartesian-R | 9cb2441b711ca82cca1900f8d65efa2c089148dc | aac56fb2cac863add9d87646fd6649b8f7e14b17 | refs/heads/master | 2020-07-22T15:51:09.893724 | 2019-09-12T06:22:08 | 2019-09-12T06:22:08 | 207,251,404 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 204 | r | g_2.R | # generating the graph for y=x^2-500
x = -50:50
y = x^2-500
plot(x,y, type="l", col="red", xlim=c(-100,100), ylim=c(-1000, 1000))
abline(h=0, v=0)
title(main="y=x^2-500", col.main="blue", font.main=2)
|
fd0a38e84be863de78e11027733d0737a03bf82c | 2062f045bfe5eac45003e92817a7b1c5c374fb0f | /plot4.R | 291ef86d35fdd697d13679552a950de4db5bea7b | [] | no_license | nandoboy/ExData_Plotting1 | 986e399344ea5ab1a1ad80bd748067cc319d1fd8 | 2652a6e7a7b3aeb03309aa367216ed26d059d376 | refs/heads/master | 2020-06-11T00:11:54.223216 | 2017-01-04T10:54:10 | 2017-01-04T10:54:10 | 75,835,455 | 0 | 0 | null | 2016-12-07T12:49:36 | 2016-12-07T12:49:36 | null | UTF-8 | R | false | false | 2,782 | r | plot4.R | #Steps for week-1 project:
hh_pow_cons <- read.table('household_power_consumption.txt',header = TRUE,sep = ';',stringsAsFactors = FALSE,skip = 66636,nrows = 2880)
name_frame <- read.table('household_power_consumption.txt',header = TRUE,sep = ';',stringsAsFactors = FALSE,nrows = 1)
names(hh_pow_cons) <- names(name_fra... |
d4493bf247d7c540b692e551451d6d956b4cc209 | af87b7ab2c850155bfeeed32b90532dc9a94e755 | /man/StableEstim-package.Rd | 8eefaf4fe5eb33cec0eb187ea35171593e1dfd78 | [] | no_license | GeoBosh/StableEstim | 0c2b1a0a589700b6e9261c97e85a7ace51edc649 | 1e5818687cbe3b766e8fbd5a5240d369b82b14bb | refs/heads/master | 2022-08-25T11:54:09.434816 | 2022-08-07T08:59:44 | 2022-08-07T08:59:44 | 192,062,694 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,502 | rd | StableEstim-package.Rd | \name{StableEstim-package}
\alias{StableEstim-package}
\docType{package}
\title{
Stable law estimation functions
}
\description{
A collection of methods to estimate the four parameters of stable
laws. The package also provides functions to compute the
characteristic function and tools to run Monte Carlo simulat... |
774095c9b4a28c2bbb7df335c03cd34b48976094 | ed42197170d1361f8c5f76de43d2e3c04c8ce79c | /R-package/R/pulsespec.R | 6173dce7e0cb99036d24c8cf5c2596cb3b467331 | [] | no_license | BayesPulse/libpulsatile | 2ab991bbffa111d70ec6a9e36c74bbe34141a227 | 42ef4acef1f0b663faf2a7446aaa67df2fed94d9 | refs/heads/master | 2022-05-01T21:52:54.961243 | 2019-09-06T00:41:47 | 2019-09-06T00:41:47 | 115,029,164 | 2 | 2 | null | 2019-12-19T02:11:16 | 2017-12-21T17:10:48 | Objective-C | UTF-8 | R | false | false | 9,753 | r | pulsespec.R |
#-------------------------------------------------------------------------------
# Functions for creating a pulse model specification
#-------------------------------------------------------------------------------
#' pulse_spec
#'
#' Generates a pulse_spec object -- the specification object required for
#' fitting a... |
fab8a322591d7d565830d0d19e5018c7f16f725a | 7354030e192afadefd6fb89fb04473be493799bb | /run_analysis.R | b54521b47a6451b241302c03856160915833276c | [] | no_license | richbridgwater/tidy_data | 1c2508602ba8b7282957aab13eb966e41254856b | a5968db69243dfe3a9c9b8d201489b36acf826a3 | refs/heads/master | 2020-06-01T14:04:23.702808 | 2015-05-10T19:36:20 | 2015-05-10T19:36:20 | 29,826,552 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,598 | r | run_analysis.R | # This R script was created and tested on a MAC computer.
# The data folder needs to be located in your working directory and
# have the name "UCI HAR Dataset" for the script to work properly.
# Ok here we go...
# Let's first read in the features.txt file
features <- read.table("UCI HAR Dataset/features.txt") ... |
f1954ce484953b87d790684e7c93790630a1d85e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pkr/examples/AUC.Rd.R | 14cc52c6d3e22b9990f71222e2f7cad07ed5a279 | [] | 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 | 362 | r | AUC.Rd.R | library(pkr)
### Name: AUC
### Title: Calculate Area Under the Curve (AUC) and Area Under the first
### Moment Curve (AUMC) in a table format
### Aliases: AUC
### Keywords: AUC
### ** Examples
AUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"])
AUC(Theoph[Theoph$Subject==1, "Time"], Theoph[T... |
0085bd732cbce3c640513004e41c8effd8edbdb2 | 725cce758902d6d9db049e87dc211c40ff10921e | /R/test.effect.rep.R | e80d1abc10e0dd9e6791ff78c17256c4b8a6a6b7 | [] | no_license | yaomin/dptmethods | a589e21dbff91075cea72fbbed40626fa643acee | 846a42d01c05e1a27fec290498e011b0f05d6882 | refs/heads/master | 2021-01-17T10:33:38.755292 | 2013-07-11T23:54:16 | 2013-07-11T23:54:16 | 7,569,298 | 1 | 0 | null | 2014-10-13T15:59:10 | 2013-01-11T23:58:27 | R | UTF-8 | R | false | false | 4,841 | r | test.effect.rep.R | test.effect.rep <-
function(cl,wins, psig, vars, group.label, rep.label,
n.core,
contr= cbind(c(0,1,1),c(0,1,-1)),
src.file="")
{
unique.wins <- unique(wins$ID)
n.wins <- length(unique.wins)
test.effect.worker <- function(i) {
... |
036cadafdb965e8064e4c509f1bb957105ca13cf | c43d3ffc6604582707b73e500717df25409e7c97 | /Fusion/fun/diversityIdx.R | 2fadf8e5c87b6c14cbf9ccf53dab99512db187cd | [] | no_license | JAGOW/msc-phygeo-class-of-2017-JAGOW | b7f33c521256fa6a34cc7fd3978ff5906e127d18 | b7da535575d45117ba6192af45aa9dcc296b6433 | refs/heads/master | 2021-09-01T15:33:04.351840 | 2017-12-27T18:31:16 | 2017-12-27T18:31:16 | 115,546,644 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,637 | r | diversityIdx.R | # foliage height density
# Originally MacArthur & MacArthur (1961)
# Implemented after:
# Hashimoto, H., Imanishi, J., Hagiwara, A., Morimoto, Y., & Kitada, K. (2004). Estimating forest structure indices for evaluation of forest bird habitats by an airborne laser scanner. In M. Thies, B. Koch, H. Spiecker, & H. Weinack... |
fcd6ed982d20040182c5ea3269c3890963b262fa | 7f880efddddc2e5414bdcfa3998591a0161daf0a | /Loan_Default_EDA_main.R | 36ef9cca22f24066eb50a2b3430466de45c72580 | [] | no_license | shubhrakarmahe/Loan-Deafult-Customer-Analysis | f5af35a3ed813c253d06f4cdc23af009bf174b8b | 47c9a0507e0d413838c07b257dedea690596416c | refs/heads/master | 2020-03-28T17:43:03.343658 | 2019-08-09T10:27:23 | 2019-08-09T10:27:23 | 148,815,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,706 | r | Loan_Default_EDA_main.R | # -------------------------- EDA Gramaner Case Study ---------------------------------------
# Group Member 1 - Harkirat Dhillon
# Group Member 2 - Shubhra Karmahe
# Group Member 3 - Yogesh BS Raju
# Group Member 4 - Vartika Tewari
# --------------------------------------------------------------------------------------... |
72f48675fadc646bee6d19aa02cfe40972262707 | 3f19e4dc806ffd52e5ca0a660659d2700dad1623 | /R/add_milliseconds.R | 6c1d794b0ca7270fa79b8663902d524dad90155b | [
"MIT"
] | permissive | benjcunningham/subtitler | 09b2a67c976c963df4e60a59d48d915284acc985 | 4e119a633af13533e69eea5a0ceb2d6dfd215290 | refs/heads/master | 2021-01-20T11:44:10.863069 | 2017-12-28T04:24:28 | 2017-12-28T04:24:28 | 82,632,633 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 423 | r | add_milliseconds.R | #' Add Milliseconds to a SubRip (SRT) Timestamp
#'
#' Convenience method for directly adding milliseconds to a timestamp.
#' Equivalent to \code{as_timestamp(as_milliseconds(x) + ms)}.
#'
#' @param x Vector of timestamps.
#' @param ms Numeric vector of milliseconds to add.
#'
#' @return A character vector corresponding... |
411a32debc1b7a94973b4484143576799b9f6ea7 | 0489e5eb7ebc7288bf7b64805bf2a253ffc2e84d | /nibrs_extras.R | 550ae8a3545e63624d13ba98d7c144b8505841af | [
"MIT"
] | permissive | mseewaters/capstone | 223396b27fc98b4176468b2a68263cd0e30f0f73 | e43bf2b2e4b1f9cbf335c2e9bded04c2b59eb335 | refs/heads/master | 2021-01-10T21:37:47.775295 | 2015-05-02T22:57:52 | 2015-05-02T22:57:52 | 27,968,610 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,591 | r | nibrs_extras.R | ##############
trPerc = .8
data.smote.f <- SMOTE(target.harm ~ ., data.m1, perc.over = 100)
idx2 <- sample(1:nrow(data.smote.f),as.integer(trPerc*nrow(data.smote.f)))
train <- data.smote.f[idx2,]
test <- data.smote.f[-idx2,]
model.rf <- randomForest(target.harm ~ ., data=train, ntree=500, nodesize=2)
pr.rf <- predict... |
b595dafe3e29f278b981807a94b770ba57cc9420 | 7a8ae73cfd590fd83273e3ec47d37011ab4d8089 | /tsne/man/tsne.Rd | 227010b6bd7d8dd83078ccc67976f658af2c04f9 | [] | no_license | jdonaldson/rtsne | 3dc0bc8f8d82cae1508fb06c40f03dda97195817 | a33cc0087dea7dfa7671d4d6f0049dbc7b2f77c9 | refs/heads/master | 2021-01-17T08:37:47.280295 | 2019-08-27T17:50:58 | 2019-08-27T17:50:58 | 4,193,788 | 56 | 25 | null | 2019-08-21T23:40:49 | 2012-05-01T16:02:53 | R | UTF-8 | R | false | false | 3,085 | rd | tsne.Rd | \name{tsne}
\Rdversion{1.1}
\alias{tsne}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
The t-SNE method for dimensionality reduction
}
\description{
Provides a simple function interface for specifying t-SNE dimensionality reduction on R matrices or "dist" objects.
}
\usage{
tsne(X, initial_conf... |
dda4013c33a575e932c1638db3e4231e560c93a3 | d434ec91242aad694c4e2d78580b60a9da3ce29a | /tests/testthat/test_numbers2words.R | 9b913f54134c756437a5460160d701d4fd9103d8 | [
"MIT"
] | permissive | rmsharp/rmsutilityr | 01abcdbc77cb82eb4f07f6f5d8a340809625a1c5 | d5a95e44663e2e51e6d8b0b62a984c269629f76c | refs/heads/master | 2021-11-20T08:45:23.483242 | 2021-09-07T17:28:22 | 2021-09-07T17:28:22 | 97,284,042 | 0 | 2 | MIT | 2021-09-07T17:28:22 | 2017-07-15T01:17:14 | R | UTF-8 | R | false | false | 2,042 | r | test_numbers2words.R | context("numbers2words")
test_that("numbers2words forms the correct expression", {
num_1 <- 1
num_12 <- 12
num_123 <- 123
num_0 <- 0
num_0.1 <- 0.1
num_0.499 <- 0.499
num_0.5 <- 0.5
num_minus_1 <--1
num_1.2 <- 1.2
num_1.499 <- 1.499
num_1.5 <- 1.5
num_1.55 <- 1.55
num_minus_0.6 <--0.6
num... |
0541f012f55640d9135f7d165d0ec57b7eae94f7 | 8be06d2d32cf1e0b8a78ee58af10a8c68a224cad | /man/get_top10_recommendations.Rd | 3867aa66beed5679b2a37d72f8ece331f81238e0 | [
"MIT"
] | permissive | naveen-chalasani/R.vengers | ae07f0cf073b9fc06ebfa0ccef814ef221131941 | 1b8d01858304742501647783877b17aef8abfbc7 | refs/heads/main | 2023-03-18T02:16:03.513801 | 2021-02-26T04:13:54 | 2021-02-26T04:13:54 | 336,475,803 | 0 | 1 | NOASSERTION | 2021-02-26T04:13:54 | 2021-02-06T06:54:09 | R | UTF-8 | R | false | true | 883 | rd | get_top10_recommendations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_top10_recommendations.R
\name{get_top10_recommendations}
\alias{get_top10_recommendations}
\title{This function returns the attributes of Top 10 most popular movies and TV shows by Genre.}
\usage{
get_top10_recommendations(genre = "advent... |
fa48d16e3a7d17bdd26e2ab2277d50735d442403 | 91e198371a4a706c4ba7cebd4eecc487bdde32e2 | /plot2.R | fc171062285691c31fc448ffa488652995fb7a6e | [] | no_license | arnielarson/ExData_Plotting1 | f5d382cecc47df404101a03c60da245dc3ec673b | b9615ba4fbb06ce95af45a632cabeec708578481 | refs/heads/master | 2021-01-15T09:00:00.983464 | 2015-10-11T18:10:04 | 2015-10-11T18:10:04 | 43,989,383 | 0 | 0 | null | 2015-10-10T02:07:30 | 2015-10-10T02:07:30 | null | UTF-8 | R | false | false | 681 | r | plot2.R | #
# plot2.R - Arnie Larson
#
# Script for creating plots
# for Coursera Exploratory Analysis Course:
# https://class.coursera.org/exdata-033
#
# To create plot2, source('plot2.R'), then call run()
#
#
# Run script to generate plot2
# Depends on plot1.R - in cur directory
#
run <- function() {
source('plot1.R')
... |
cf31a7030631423f21bec332c5197414e949afa7 | cc27046a2efda8b361b99a2cc82238ec6b09bc78 | /hello_aliens.R | c42b00fd7b7f474d31ef7733931df692caddd6ef | [] | no_license | ybing97/36-350 | 54e4de4d5671525fc949ea626a7e0261a2352729 | 09e786dc937033100f747c82c0f9e8257ab9e24b | refs/heads/master | 2021-08-28T01:09:02.264506 | 2017-12-11T01:24:50 | 2017-12-11T01:24:50 | 109,200,702 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 435 | r | hello_aliens.R | cat("Hi Aliens! I am from the planet Earth, and have been selected as a spokesperson for all humans.
I am currently taking a course called Statistical Computing, where I get to learn R.
But you must be wondering, What is life on Earth like? Life on Earth is wonderful! How is life as an Alien?
What do you look like? Do... |
ab179cff0a885204df24845f7f53495e44d6d176 | 7e5e5139f817c4f4729c019b9270eb95978feb39 | /Introduction to Statistics in R/distributions and central limit theorem/3.R | 1b460f05f4465e68b2ec36d2fb4cac83bfab2cc5 | [] | no_license | Pranav-Polavarapu/Datacamp-Data-Scientist-with-R-Track- | a45594a8a9078076fe90076f675ec509ae694761 | a50740cb3545c3d03f19fc79930cb895b33af7c4 | refs/heads/main | 2023-05-08T19:45:46.830676 | 2021-05-31T03:30:08 | 2021-05-31T03:30:08 | 366,929,815 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 319 | r | 3.R | #3
# Calculate new average amount
new_mean <- 5000 * 1.2
# Calculate new standard deviation
new_sd <- 2000 * 1.3
# Simulate 36 sales
new_sales <- new_sales %>%
mutate(amount = rnorm(36, mean = new_mean, sd = new_sd))
# Create histogram with 10 bins
ggplot(new_sales, aes(amount)) +
geom_histogram(bins = 10)
|
32c1ad98b56a4c793a0a7193802d17dc33956813 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hipread/tests/test-list-full.R | 28013b0e463bf41d7cd1253ccb4b761c9ffafbb1 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,715 | r | test-list-full.R | library(hipread)
context("Read list")
test_that("basic example matches long format", {
data_list <- hipread_list(
hipread_example("test-basic.dat"),
list(
H = hip_fwf_widths(
c(1, 3, 3, 3, 2),
c("rt", "hhnum", "hh_char", "hh_dbl", "hh_impdbl"),
c("character", "charac... |
569bf6d3299c089fafaffecb0ef1f349743842f7 | d69867150a555a1b61dc730e54d00c2add63543b | /man/ISA_DIR.Rd | 93a25bbcec898386ba810bc7c4ff6effc78da621 | [] | no_license | cran/Metadata | 7eed851ee1e787ac17cf343f7a7213fa50cb1262 | 90103717fec6174b6110bfb17524395ab2d59653 | refs/heads/master | 2021-01-25T10:00:29.306675 | 2011-09-04T00:00:00 | 2011-09-04T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 263 | rd | ISA_DIR.Rd | \name{ISA_DIR}
\alias{ISA_DIR}
\docType{data}
\title{ Directory for ISA data
}
\description{Default directory for ISA data
}
\usage{ ISA_DIR }
\format{
The format is:
chr "ISA"
}
\examples{
print(ISA_DIR)
}
\keyword{directories}
|
f50f517964cdb6429cca9f1dce18fdec694f3112 | 681a3c635318c89a27c8df56cba0b7596d809fff | /MIGSA/R/MIGSAmGSZ.R | d1b8db421d634823ca5803b737c3c05b3440d5ab | [] | no_license | jcrodriguez1989/MIGSA_paper_SupplementarySoftware | 5cfc244a80563c233cdd65d8ec48e742e0173404 | eb38f9bdbba1d605dee010b83914f9e74447f372 | refs/heads/master | 2020-03-24T01:03:01.734016 | 2018-12-20T20:52:04 | 2018-12-20T20:52:04 | 142,320,308 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,270 | r | MIGSAmGSZ.R | #'MIGSAmGSZ
#'
#'\code{MIGSAmGSZ} is an optimized mGSZ version. It runs much faster than the
#'original mGSZ version, moreover it can run in multicore technology.
#'It allows to analyze RNAseq data by using \code{\link[limma]{voom}} function.
#'mGSZ: Gene set analysis based on Gene Set Z scoring function and asymptoti... |
c7187a7b533e36d44e15940d2ceb749b78e23368 | 13b7644d364c93056f43f7befb6689ed95ce09b8 | /server.R | a3ced1078938b8a17437be5d9040e007c4d03ebb | [] | no_license | heshuaidavid/shiny-app | 2aa6da7a8f2bc77bd60ba00bc7034fbb9866fb2e | f391f45f8cc78cb1ac938dc783b8f65cfef606e0 | refs/heads/master | 2021-01-22T02:17:22.266642 | 2017-06-02T19:43:55 | 2017-06-02T19:43:55 | 92,345,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,020 | r | server.R | source('helpers.R')
#pre-treatment
shinyServer(
function(input, output) {
observeEvent(input$check_formation, {
if (input$check_formation) {
output$pdcurve <- renderPlot({
args <- switch(input$formation_var,
"Barnett" = list(production_data, Barnett, input$... |
d3d0248d613cfe4dc4664556f2ead6f9db61f7fb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/logmult/examples/color.Rd.R | c23a5d1738357afc10de0666eb74274d4f00cb23 | [] | 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 | 175 | r | color.Rd.R | library(logmult)
### Name: color
### Title: Two Cross-Classifications of Eye Color by Hair Color
### Aliases: color
### Keywords: datasets
### ** Examples
## see ?rc
|
272b6905f378e383f6be8fd2ee4b3278e904d0b9 | 291aaf7c7b48912c4ef929f25f6e9c7d2b09e933 | /R/qtleffects_base.R | 142c3ae91495841294fde3949fdb7290b7c806fd | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ellisztamas/qtltools | d3cce1cbbf15463cf551d32b3f3435a8f869646c | a9e018741519b29beb6e97bb4d34cf3814e349eb | refs/heads/master | 2021-01-11T02:04:48.412978 | 2018-07-11T06:34:47 | 2018-07-11T06:34:47 | 70,811,342 | 0 | 0 | null | 2016-10-13T14:09:58 | 2016-10-13T13:50:24 | R | UTF-8 | R | false | false | 1,554 | r | qtleffects_base.R | #' Base plot for qtleffects
#'
#' Creates an empty plot for plotting QTL effect sizes from a qtleffects object.
#'
#' @param qtleffects A qtleffects object from qtleffects() denoting x-value positions.
#' @param y A vector of two elements denoting minimum and maximum y-vales. Equivalent to ylim argument.
#' @param ylab... |
28d4b3c1fa18acb3fc8a931601964c9835d2bb29 | f9db3b703033871888a6bda79ae1cc8ba0e38367 | /unit2/ass1.R | f830480b255a6d6c26ae6686a54fafa87ef56583 | [] | no_license | goncer/intelligentSystems | 59d62a10b35243501a2f51bee1c5c63b76f8ddd3 | dc0b2d948c5e6a3e7ff860e00e8a979ba23ea9bd | refs/heads/master | 2020-05-29T08:42:07.127326 | 2016-10-16T15:28:31 | 2016-10-16T15:28:31 | 70,087,998 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,180 | r | ass1.R | setwd("/home/gonzo/workspace/R/intelligent/intelligentSystems/unit2")
library(tm)
library(ggplot2)
library(wordcloud)
library(RWeka)
library(reshape2)
library(SnowballC)
options(mc.cores=1)
source.pos = DirSource("/home/gonzo/workspace/R/intelligent/intelligentSystems/unit2/txt_sentoken/pos", encoding = "UTF-8")
corpus... |
fe01d1a4d4d30e6f034da2979026d729235749a7 | 2d8acfab5bcf43e8f77f17e2b5943e3a741b1321 | /man-roxygen/sr.R | 1021dbb427b6d8ad4d2db6b14bd7a72c613357f2 | [] | no_license | shabbychef/SharpeR | 347b2e181ac3bafe83723df4f01b110cfd85b116 | df46933d5e0b7576ffb5a46b9fb70607f89ed0e0 | refs/heads/master | 2022-06-04T00:27:23.216085 | 2021-08-18T17:50:04 | 2021-08-18T17:50:04 | 7,334,041 | 20 | 5 | null | 2013-09-13T22:04:43 | 2012-12-27T00:52:58 | R | UTF-8 | R | false | false | 186 | r | sr.R | #' @family sr
#' @references
#'
#' Sharpe, William F. "Mutual fund performance." Journal of business (1966): 119-138.
#' \url{https://ideas.repec.org/a/ucp/jnlbus/v39y1965p119.html}
#'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.