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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d19423a3f0ffc7c81089c2801e61104c4dd0d550 | 8454ae80dbf8aabab2d6efd630e19657a89443cb | /run_analysis.R | 78707ef7563867b5dc78d0f018bdf240c2b3c1cf | [
"LicenseRef-scancode-public-domain"
] | permissive | cdsk/cleanHAR | 62223f709c3e1f93ac60cb9f5b8c1ec6abf2f66a | 7ea00f80827bd952f10ff56608801aca1a90782f | refs/heads/master | 2016-09-03T06:43:20.631494 | 2015-04-26T19:47:34 | 2015-04-26T19:47:34 | 34,541,021 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,284 | r | run_analysis.R | # Step 1: Merge the training and the test sets to create one data set.
# Read features for descriptive variable names
features <- read.table('features.txt')
# some feature names have brackets "()", which when used as col.names get replaced with ".", which does not look good.
# so we strip the brackets for aesthetic re... |
797c6b83029dca476fb6c7319481af67da472848 | 2ad78a2c1408410dec2de67530b6c68de4600b64 | /Other files/maps.R | 8fa16e7e48527dfc95c41d1dec94a965148e1629 | [] | no_license | esmailansari/StatisticalAnalysis | 0e03070d2ddb6a4bcf4425dc6f633ba95c8b0190 | 5ba82b2b38aada314d92d3953775757a95aee100 | refs/heads/master | 2021-01-09T20:45:04.682701 | 2014-08-11T06:01:16 | 2014-08-11T06:01:16 | 61,708,554 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 979 | r | maps.R | rm(list=ls())
library(maps)
library(ggplot2)
library(ggmap)
mydata <- read.csv("Well-Test summary.csv", header=TRUE)
data<-mydata
mydata <- mydata[mydata$long<0,]
names(mydata)[names(mydata)=="Flow.Rate..BPD."]="Flow_Rate"
states <- map_data("county","louisiana")
#p <- ggplot(states, aes(long, lat)) +
# geom_polygo... |
376680a7af452afa6984eb6eb0cab7cd04633d08 | 3cf6e0763707036cacff70d7a4886ebec23593ca | /Chapter6lab2.R | 6566047fc23b4f77d06b12e60056669bfb9742d6 | [] | no_license | Lucky-Peter-Okonun/Stochastic-Project | dc2d4485fbefa270b092bcfaf57c24fd4df58ff7 | ba3e85b3db6fd61d6cfa62bbf22e6187e116296a | refs/heads/master | 2022-09-06T05:51:02.533224 | 2020-05-26T06:49:01 | 2020-05-26T06:49:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,471 | r | Chapter6lab2.R | setwd("C:/Users/peter/Desktop/Stochasticlabcourse2Datasets")
install.packages("splines")
library(tidyverse)
library(splines)
library(nlme)
#Question(6a)
stem.cell.data = read.table("stemcell.txt", col.names = "order")
#Implement a function that fits a regression spline for f
regression.spline = functi... |
0651c8848217fd82a04268f6b701b0a89b6b8dc8 | a515e8676ecc1407e04cdb552ee4067b1790b66b | /arealOverlapr/R/herfindahl_new.R | 8af77d3c6e47e47ae33a89f42cb6955b5aed60df | [] | no_license | jcuriel-unc/arealOverlapR | d989283b721c8aacb162ab6683ab682f8ffee281 | 2fe97898e84f53caaa7e11de4f6ef59db0278494 | refs/heads/main | 2023-07-30T05:18:29.835003 | 2021-09-14T04:43:38 | 2021-09-14T04:43:38 | 406,219,963 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,955 | r | herfindahl_new.R | #' Calculate the herfindahl index of the first level of geography
#'
#' This function takes the raw output of the weight_overlap function (also part of the arealOverlapr pkg), and calculates the
#' population overlap between two levels of geography, and the demographic information of interest from census data.
#' @p... |
46136e5066b6986dfb21353c7ca24332e4102b89 | 7040c5658e743cc2061a1c5e31597f27c20234c8 | /R/02a_tidy_senate.R | 8b6cbac00a5d36364ca0aa9a9845807a071379e3 | [] | no_license | davidluizrusso/midterms2018 | 40e520d2c3ec845327d2b3adec9255bef5275f52 | a13e32ca964acd98f8c3faa01600e274df3cc4b1 | refs/heads/master | 2020-03-22T14:47:54.831409 | 2018-07-23T03:14:38 | 2018-07-23T03:14:38 | 140,206,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 999 | r | 02a_tidy_senate.R | # 01 -------------------- Load packages
library(tidyverse)
library(data.table)
library(purrrlyr)
library(voteogram)
### 02 -------------------- Set directories
raw_data <- "input/raw"
processed_data <- "input/processed"
### 03 -------------------- Read raw senate data
raw_senate <- data.table::fread(paste(raw_data, "... |
4ea27a13b293ed2b92498d31e9adc6b9f44f7980 | 4834724ced99f854279c2745790f3eba11110346 | /man/screen_for_duplicate_individuals.Rd | 41cf472d31facc35f35f9b462867309bf1376caf | [] | no_license | mdavy86/polymapR | 1c6ac5016f65447ac40d9001388e1e9b4494cc55 | 6a308769f3ad97fc7cb54fb50e2b898c6921ddf9 | refs/heads/master | 2021-01-25T12:37:09.046608 | 2018-02-13T17:07:35 | 2018-02-13T17:07:35 | 123,487,219 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,428 | rd | screen_for_duplicate_individuals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exported_functions.R
\name{screen_for_duplicate_individuals}
\alias{screen_for_duplicate_individuals}
\title{Screen for duplicate individuals}
\usage{
screen_for_duplicate_individuals(dosage_matrix, cutoff = NULL, plot_cor = T,
log =... |
57b4f70675bc1b02a214a82c474f8fb823ff70ae | d0b8c297d95bbea604542c2ef565ac5f71cd3cd6 | /man/reg_dist.Rd | df4b969c65074e1a3d1fa385f4e3ad2ffae33dd5 | [] | no_license | dicook/nullabor | 80397dd412af96ffbb132359e1dacc30e7cae347 | 771670a486cbb750ba69f178eb22bc4d6604e3c6 | refs/heads/master | 2022-07-20T14:45:21.185860 | 2022-07-05T13:47:22 | 2022-07-05T13:47:22 | 8,078,886 | 55 | 12 | null | 2022-07-05T13:11:47 | 2013-02-07T18:35:43 | R | UTF-8 | R | false | true | 1,268 | rd | reg_dist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distances.r
\name{reg_dist}
\alias{reg_dist}
\title{Distance based on the regression parameters}
\usage{
reg_dist(X, PX, nbins = 1, intercept = TRUE, scale = TRUE)
}
\arguments{
\item{X}{a data.frame with two variables, the first column givin... |
7ff9d4ee575c763b42f2ccd02af213121e8252a5 | d716c7fda467f195ac4ed3c27940186612673636 | /Analytical CRM/Code/ACRM code.R | 4f0c35e29dce5efd834f3a97357ac343f390cc77 | [] | no_license | rohandongare-nci/Projects | 2eda693514e950c30fe485cef42ea897fac58f33 | eeb425ab130058d4f4ea124825347cc9071ccc66 | refs/heads/master | 2020-07-11T03:43:44.870276 | 2019-11-17T16:26:30 | 2019-11-17T16:26:30 | 204,437,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,232 | r | ACRM code.R | #brief analysis of the underlying data
library(scales)
library(plyr)
library(tidyverse)
library(data.table)
library(gridExtra)
library(arules)
library(ggplot2)
customer_data<-read.csv("C:/Users/rohan/OneDrive/Desktop/1.ACRM-Proposal/train.csv")
names(customer_data)<-c("u_id","p_id","gender","age","occupation","city_num... |
ee1460d81af14f6e295f0999bd3fe64c2c764c5b | e158e9992ab1d0510134ecc123aac7220c612df0 | /tests/testthat/test_getBM.R | bc4db147976232b4e8778c7c5a168cf841cc46dc | [] | no_license | grimbough/biomaRt | a7e2a88276238e71898ea70fcf5ac82e1e043afe | 8626e95387ef269ccc355dbf767599c9dc4d6600 | refs/heads/master | 2023-08-28T13:03:08.141211 | 2022-11-01T14:38:39 | 2022-11-01T14:38:39 | 101,400,172 | 26 | 8 | null | 2022-05-17T08:10:51 | 2017-08-25T12:08:50 | R | UTF-8 | R | false | false | 2,482 | r | test_getBM.R | cache <- file.path(tempdir(), "biomart_cache_test")
Sys.setenv(BIOMART_CACHE = cache)
ensembl <- Mart(biomart = "ensembl",
dataset = "hsapiens_gene_ensembl",
host = "www.ensembl.org",
attributes = data.frame(
name = c("chromosome_name", "ensembl_gene... |
ee6c2d224f18ca502d739d8a9e46e13ba128cad0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mixsep/examples/mixsep.Rd.R | 7351571c0fca216228d829891313ba573b3e7488 | [] | 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 | 337 | r | mixsep.Rd.R | library(mixsep)
### Name: mixsep
### Title: DNA mixture separation
### Aliases: mixsep
### ** Examples
## The file wang.csv in the installation directory may be used for exemplification.
## The 'wang.csv' is located in the folder quoted below:
cat(paste(find.package("mixsep"),"data",sep=.Platform$file.sep))
## Not ... |
6a97a30d67f95f909bd68745f2c4c61cabad20c8 | 04583a6fb37f2060e71836220bf8a012f2f53cc7 | /businesscase.R | 32fbbe26613f5902908910f2a23945e4576b03f5 | [] | no_license | Kedarsf/R | b2cc345fc011f5bdc0d57a5fdfabafd04be41678 | 5d19e4148208ba31d8251d50a92183534f3484a4 | refs/heads/master | 2021-04-29T12:16:38.544422 | 2018-03-26T18:58:40 | 2018-03-26T18:58:40 | 121,726,286 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,960 | r | businesscase.R | getwd()
dataset<-read.csv("C:/Users/Admin/Documents/Python_Module_Day_16.2_Network_Intrusion_Train_data.csv")
View(dataset)
# data processing
class(dataset$class)
summary(dataset)
colSums(is.na(dataset))
#removing irrelavent columns
dataset$is_host_login<-NULL
dataset$num_outbound_cmds<-NULL
#Convert n... |
617bb16001b82ac55dd09d8dec07f74166246509 | 9e6884df4d8f0e26355026761393e3bb47c4b7e8 | /mcri/LIHC.R | 406a3e4605c87127febfc4120199768e28ac6199 | [] | no_license | Shicheng-Guo/GscRbasement | f965ecc6e191175f371aa1edeae81e5c545f1759 | 8d599bed0dd8b61b455f97965c0f4bed5aae2e96 | refs/heads/master | 2022-05-01T09:20:23.072449 | 2022-03-13T18:46:04 | 2022-03-13T18:46:04 | 62,922,944 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,126 | r | LIHC.R | #################################################################################################################
#################################################################################################################
##########################################################################################... |
00eb7b63fa4e7a0c42c50c3998b4821446644587 | f12a2eabf3ff3dfadf73bbc7b01cb739719d858e | /plot/hist.R | e0070c33f2135f358aae0961dda4aec152b8068f | [] | no_license | matthewangbin/R | 6048a0aeb2517fcdcb8ed27c9515cb6d4a4fe12c | b94518711bdb42d49edf43d8477dafda7715943e | refs/heads/master | 2021-07-21T14:20:18.585703 | 2017-10-18T12:06:11 | 2017-10-18T12:06:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 502 | r | hist.R | par(mfrow=c(2,2))
hist(mtcars$mpg)
hist(mtcars$mpg,
breaks=12,
col="red",
xlab="MPG",
main="hist")
hist(mtcars$mpg,freq=FALSE,breaks=12,col="red",xlab="MPG",main="hist rug")
rug(jitter(mtcars$mpg))
lines(density(mtcars$mpg),col="blue",lwd=2)
x<-mtcars$mpg
h<-hist(x,breaks = 12,col="red",xlab="MPG",m... |
04ad0da51a6535a2a6ac93090405e65e88470752 | f4f85dc89eee48b21ade859d848ac1d7360a2482 | /Lab6/main.R | 430425ffc1cf03215c11fe0863ced0bd386a5d88 | [] | no_license | stefan-matcovici/Special-Chapters-Of-Artificial-Intelligence | e4998f31b140c0057b21f254e6abbfbb7c982658 | 35878dcc41237dea8f8eab0bced5ba5fbc12c81e | refs/heads/master | 2020-04-02T04:04:19.424664 | 2019-01-21T22:33:51 | 2019-01-21T22:33:51 | 153,998,432 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,564 | r | main.R | notes = read.table("swiss.tsv",header=TRUE)
normFunc = function(x){(x-mean(x, na.rm = T))/sd(x, na.rm = T)}
get_variance_covariance_matrix = function(data, func_to_apply) {
dims = length(data)
no_instances = nrow(data)
m = matrix(nrow = dims, ncol = dims, dimnames = list(names(data), names(data)))
normalis... |
89a6139f4e26aa84c0113cd5fb03f0cd5863f128 | ae69f22a8bdcc712dbac8057504b7044bb57ace9 | /man/tag-import.Rd | 4c0ca7c13cb26a90d742c65b1b99a4cca53ba664 | [] | no_license | kashenfelter/roxygen3 | 4fa4c61031bc3f0826ffb025eacf4751e79c6325 | 5ebffd6f41913e4737e71fb42dc5295170c8eadc | refs/heads/master | 2020-03-13T22:43:13.212468 | 2013-11-30T13:38:15 | 2013-11-30T13:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,083 | rd | tag-import.Rd | % Built by roxygen3 0.1
\docType{class}
\name{ImportClassesFromTag-class}
\alias{ImportClassesFromTag-class}
\alias{ImportFromTag-class}
\alias{ImportMethodsFromTag-class}
\alias{ImportTag-class}
\title{Namespace: tags for importing functions.}
\description{
By and large, \code{@autoImports} should be the only imports
... |
2ffba0a8cec2b09c1d8db8f605aa62be95c1c8d1 | 7b842e47b36c5eccaee6b71c77e22519b49c0168 | /tests/testthat/test-parseCategorical.R | 7c0b83810bea4087422340d66693c4739ccada0c | [] | no_license | cran/geoknife | 5dc92ca0aa7e7afe2afac3fd848e3b7fc99c07c4 | e6dba004a958f5954317cfcd7faaec1d8d094ae9 | refs/heads/master | 2023-07-20T09:34:10.506446 | 2023-07-06T07:00:12 | 2023-07-06T07:00:12 | 48,080,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,176 | r | test-parseCategorical.R | context("parse categorical")
test_that("internal parsing works", {
local.file <- system.file('extdata','csv_categorical_multifeature.csv', package = 'geoknife')
output <- parseCategorical(local.file, delim = ',')
expect_equal(output[['Driftless Area']][output$category=='Sample Count' & output$variable == 'h... |
005efff80279ba81d7b38a731cd9292abf4bd190 | fcc13976b8952fedec00b0c5d4520edc6d5103b9 | /R/matchApp.R | d3d6422f63ef96ba6b978a1c87ab90404fff0a76 | [] | no_license | anngvu/DIVE | 851173b4515ab4fd8c26e171158aa17f079785db | e80d254fc4be2c4a3c12f4a1b4507beff3fe3663 | refs/heads/master | 2023-07-26T00:30:07.924714 | 2021-09-08T15:04:34 | 2021-09-08T15:04:34 | 173,828,093 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,426 | r | matchApp.R | #' Shiny app UI for matching application
#'
#' Shiny app UI for matching application
#'
#' The application UI puts together multiple module components to enable
#' exploration and matching of two different but same-type datasets.
#' It places a \code{customDatasetInput} component for a user-uploaded input dataset in th... |
68f22f3136050dd830b85227ebfcf28fb8c83854 | 721982360f9c53e73a393b76803d8cf859e511d3 | /cachematrix.R | 214d8671793970c5d9a387ea163c747b44e4a808 | [] | no_license | imhere81/ProgrammingAssignment2 | 23c1d23ad28540ac78e9f77e8ab62128e79dcc19 | 4919755c668e251f10a966ad1b5be45af9aee7a3 | refs/heads/master | 2020-04-13T07:35:52.775849 | 2018-12-25T08:03:09 | 2018-12-25T08:03:09 | 163,056,231 | 0 | 0 | null | 2018-12-25T07:06:43 | 2018-12-25T07:06:43 | null | UTF-8 | R | false | false | 1,007 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## This function creates a special "matrix" object that can cache its inverse.
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
inverseMatrix <- NULL
set <- function (y){
x<<-y
inverseMatrix... |
a619f5f2f9113ce48d085b2aef71c92e7d4ad02c | 0d746f48f8aef6c9f80f968b60c8d8134ef4b5af | /produceFinalPlot_local.R | 1ffa28761456b0feb7b04d83b4b5d6b7605bb3a8 | [] | no_license | wan9c9/carx-zeger | 6f4a46cbfdb49655947227e51edf0f56281c04dd | 778984945ea57e1a7c7410c542f203f15ec87cd2 | refs/heads/master | 2021-01-10T01:35:07.394658 | 2015-10-09T16:16:09 | 2015-10-09T16:16:09 | 43,728,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,955 | r | produceFinalPlot_local.R | source("simulation_setting.R")
generateCL <- F
if(generateCL){
library(carx)
nObs <- 100000
simData <- carxSim(nObs=nObs,prmtrAR=prmtrAR,prmtrX=prmtrX,sigmaEps=sigma,lcl=lcl,ucl=ucl,seed=0)
cr <- c(0.01,0.05,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)
ucl <- quantile(simData$y,1-cr/2)
lcl <- quantile(simData$y,cr/2)
abs... |
bfbaf7211db8d6fc1a410b0afea0b53d3ad619d5 | bc7cb0d6281727d4283b8635143cec8e1c864287 | /man/print.GGM_bootstrap.Rd | 3b757125fd33e59c4b1b936727837f02672de155 | [] | no_license | josue-rodriguez/GGMnonreg | e8cfb3e1db1c96c226e91705642227cf4a3ee7eb | 33ecd010df57525411261a08005a4d2f946327d3 | refs/heads/master | 2021-01-02T00:30:37.231210 | 2020-01-27T20:45:52 | 2020-01-27T20:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 473 | rd | print.GGM_bootstrap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GGMboot.R
\name{print.GGM_bootstrap}
\alias{print.GGM_bootstrap}
\title{Print method for a \code{GGM_bootstrap} object}
\usage{
\method{print}{GGM_bootstrap}(x, ...)
}
\arguments{
\item{x}{An object of class \code{GGM_bootstrap}}
\item{...}{... |
ab7f47a2bca5f9180c26124ff6c9fd0bd6aa87fc | 27751c39e222146224a3c4d2c11cd698aea256f8 | /script/modelling.R | bfb142a60c44a3b90d55a826252d244744665d98 | [] | no_license | lucastancm96/uom2020_dissertation | bf5b1faf2d04e64fda50a6f5f2be6e7169086516 | 3b60b1e61c5c8a61576bd2f1306102585c5c9e09 | refs/heads/master | 2022-12-15T16:11:17.115863 | 2020-09-16T07:51:12 | 2020-09-16T07:51:12 | 295,961,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,639 | r | modelling.R | library(olsrr)
library(MASS)
library(nnet)
modtrain_ch <- read.csv("csv_data/Wellcome/modtrain_ch.csv")
modtest_ch <- read.csv("csv_data/Wellcome/modtest_ch.csv")
modtrain_ch$AGE
for (i in colnames(modtrain_ch)){
modtrain_ch$i <- factor(modtrain_ch$i, levels=sort(unique(modtrain_ch$i)))
}
class(modtrain_ch$AGE)
lr... |
a26d02c10021459330d632d93779a4176df884e2 | e0b87eb63633d601f3e9e23e35b62b72835f091c | /man/nl.lts.Rd | 9d16b70f6cc23824a2e7ed84b39788ea804c514e | [] | no_license | Allisterh/nlr | 7737c85aa80485f5173469d2479d89be72c427ba | 7f45b89f1748d356af588920b6f7ae2a5269f80d | refs/heads/master | 2022-04-02T20:53:11.162698 | 2019-07-31T11:40:02 | 2019-07-31T11:40:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,654 | rd | nl.lts.Rd | \name{nl.lts}
\alias{nl.lts}
\title{
Compute (LTS) Least Trimmed Square Estimate.
}
\description{
LTS is minimizing trimmed sum of squares.
}
\usage{
nl.lts(formula, data, start, h = NULL, control = nlr.control())
}
\arguments{
\item{formula}{
\code{\link{nl.form}} object of the nonlinear model fu... |
9fbf98d89a86e847c678b1ec5546884096a35708 | 3c0531db5f30de38f06b8dffd741c3e13a94eeb5 | /code/old/code_01_clean-saved-google-sheet.R | bab34836921e66cf6c209d98bc5bd3dcde3fb640 | [] | no_license | spoicts/ccweedmeta-analysis | df206efcbfd9d88f378e91b2aaf45eaeea28b2ba | 63abef61a9a66d92fb604fc73626f798f4ae85ee | refs/heads/master | 2023-05-08T23:19:39.195889 | 2021-06-01T20:42:55 | 2021-06-01T20:42:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,881 | r | code_01_clean-saved-google-sheet.R | #############################
##
# Author: Gina Nichols
#
# Date Created: Oct 19
#
# Date last modified: Oct 23 2018 - by Gina, fix 0s
# June 7 2019 - (Gina) use googledrive package instead of googlesheets
# added cc_type2 (2 categories of cc types)
# ... |
e5c183fe2724f68f9ded013f018d0fcb124ba406 | 54164e00cb9fd4036f0add100a925ff92267f210 | /R/SEM_Course/SEMwordsLavaanScript.R | 48513508db3f7c9b635a389d0e8e0483a8d3d505 | [] | no_license | antovich/UC-Davis | 14714d30eff4aacc1bee9fd7e6097d480960fdff | b6a4018b2103330726f3d2dfc1cfae5948160733 | refs/heads/master | 2022-03-13T11:50:33.974130 | 2019-11-25T20:53:19 | 2019-11-25T20:53:19 | 119,594,149 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 43,198 | r | SEMwordsLavaanScript.R |
data = read.table('/Users/Dylan/Graduate School/Coursework/PSC205C Struct Eq Model/Final Project/Correlation Table.csv', sep = ',')
rownames(data) = c('MLU','WordRoot','RDLSComp','RDLSExpress','ELI','VABSComm','Gender','VABSSoc','MomWordRoot','MomMLU','MomVerb','Personality','ParentAtt','ParentKnow','SES')
colnames(d... |
2b6961451f97b4638aa34cf5d13ba6f8115b7ab4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gginference/examples/ggchisqtest.Rd.R | 4837cc5b2d213b19604a7e533a452a899f0566fb | [] | 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 | 599 | r | ggchisqtest.Rd.R | library(gginference)
### Name: ggchisqtest
### Title: Plot for Pearson's Chi-squared Test for Count Data
### Aliases: ggchisqtest
### ** Examples
## Chi-squared test for given probabilities
x <- c(A = 20, B = 15, C = 25)
chisq_test <- chisq.test(x)
chisq_test
ggchisqtest(chisq_test)
x <- c(10, 86, 45, 38, 10)
p ... |
2e6f24c2422051e818148c986d04a953069b53e1 | de153ab23bbaf97d45adb6c0489ff8d76b120b0e | /man/summary.td.Rd | 23d09d22c70710eb3c0692d61d7e5a1746803918 | [] | no_license | petersteiner/tempdisagg | 22c9bcaa93be9bdd51c99ad6d0b007c9224db545 | d0b125b73c10b253c96671d33c586053becdbea7 | refs/heads/master | 2021-01-18T06:20:50.159703 | 2013-06-17T06:03:08 | 2013-06-17T06:03:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,697 | rd | summary.td.Rd | \name{summary.td}
\alias{print.summary.td}
\alias{summary.td}
\title{Summary of a Temporal Disaggregation}
\usage{
\method{summary}{td} (object, ...)
\method{print}{summary.td} (x,
digits = max(3, getOption("digits") - 3),
signif.stars = getOption("show.signif.stars"), ...)
}
\arguments{
\item{object}{an... |
4d4192b0423e39ab399871c5462260e8910e944b | 45e79381152047a7777d50271e38c726013be682 | /man/updateExperimentSampleRawData.Rd | 3112b0b78b9c59a73d4c9b2f202cbf4c0c3ea012 | [] | no_license | ceparman/Core5.3 | e13530d3fd7a457ee39935400766badddc5120bd | de8f6e946ca159332979807eba997b5efbf123d4 | refs/heads/master | 2020-03-23T08:08:06.929458 | 2019-02-06T14:24:36 | 2019-02-06T14:24:36 | 141,309,256 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,397 | rd | updateExperimentSampleRawData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/updateExperimentSampleRawData.R
\name{updateExperimentSampleRawData}
\alias{updateExperimentSampleRawData}
\title{updateExperimentSampleRawData - Update experiment sample raw data.}
\usage{
updateExperimentSampleRawData(coreApi, experimentCon... |
97715259741f1ca1e772d942e33c5eb73042ae6a | 9d3b03b16cb2cedbbfa1b293640d47dae62e8b2b | /FilesForCVPaper/Microplastics_CVSummary_2022_03_22.R | 8a5ca2cbff277865e2436efdcc1fbfed0eb5a1ae | [] | no_license | pmpk20/PhDPilotSurvey | 98e9d408a6a8ad8dd5232cefaa86b5c274838ef3 | 7941aa6f92bbcb4d314c78a35d6b8ad0cb9edfe9 | refs/heads/master | 2022-08-17T23:28:15.422613 | 2022-07-13T22:20:45 | 2022-07-13T22:20:45 | 237,419,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,578 | r | Microplastics_CVSummary_2022_03_22.R | #### Willingness-to-pay for precautionary control of microplastics, a comparison of hybrid choice models. Paper ####
## Function: Includes all models
## Author: Dr Peter King (p.m.king@kent.ac.uk)
## Last change: 22/03/2022
## TODO: add CV code
#-------------------------------
#### Replication Information ###... |
18fbca60b97e14c43570d8e16d15d76af4ae5eca | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/pablobarbera/Rfacebook/getEvents.R | 0304a0d9a6be5033fa434bbeabd622d9dc351be3 | [] | 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,559 | r | getEvents.R | #' @rdname getEvents
#' @export
#'
#' @title
#' Extract list of events from a public Facebook page or group
#'
#' @description
#' \code{getEvents} retrieves event information from a public Facebook group or page.
#'
#' @author
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getPage}}, \code{\link{fb... |
5f8f0426562dea45bd4458f6e159b26fbf2948ed | 6700f9cb775b64f532952045b72eeeba097d4e7f | /R/taxmap--class.R | 3ede0c4c90784a0362d1c53db016c04b317fd87a | [
"MIT"
] | permissive | grunwald/taxa | c3c24a19d1b3844df0dd6d7dee8e51f87859743a | 9f58cd83afb793797c362d18a48b0d77f5a931ad | refs/heads/master | 2021-01-20T12:48:54.723730 | 2017-05-03T23:56:40 | 2017-05-03T23:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,003 | r | taxmap--class.R | #' Taxmap class
#'
#' @export
#' @param ... Any number of object of class [hierarchy()] or character vectors.
#' @param data A list of tables with data associated with the taxa.
#' @return An `R6Class` object of class [taxmap()]
#'
#' @details on initialize, function sorts the taxon list based on rank (if rank
#' inf... |
7a988f6220a5332f58bfd612818a5cdd70d6dd32 | 90f2d605da66140e9068e8f301e61c88a5504d99 | /R/microclimate_model_WP.R | e34a3b59d16dd761b9db795921d763d1cd959ec3 | [] | no_license | dhduncan/Rabbit_abundance | 2f90709b0ed49371869c175cd869aae9e9991161 | 41fb341e91031a8da330471e8f561758e831efb4 | refs/heads/master | 2020-06-13T08:45:23.548188 | 2020-02-26T05:46:52 | 2020-02-26T05:46:52 | 194,604,180 | 0 | 1 | null | 2019-07-25T11:52:26 | 2019-07-01T05:16:51 | R | UTF-8 | R | false | false | 6,536 | r | microclimate_model_WP.R | ###########################################################################
## 01 - Microclimate model for WNP ##########
###########################################################################
## Background:
# Set up version of the microclimate model for and ...
## Required output: Want to feed into... |
32748cd9d2070650280dfaaa0d19e6329d7097bd | 0ae69401a429092c5a35afe32878e49791e2d782 | /trinker-lexicon-4c5e22b/man/freq_first_names.Rd | 0e0389fb47fb9cf2093c27c6bc49a919c0e6d977 | [] | no_license | pratyushaj/abusive-language-online | 8e9156d6296726f726f51bead5b429af7257176c | 4fc4afb1d524c8125e34f12b4abb09f81dacd50d | refs/heads/master | 2020-05-09T20:37:29.914920 | 2019-06-10T19:06:30 | 2019-06-10T19:06:30 | 181,413,619 | 3 | 0 | null | 2019-06-05T17:13:22 | 2019-04-15T04:45:06 | Jupyter Notebook | UTF-8 | R | false | true | 641 | rd | freq_first_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/freq_first_names.R
\docType{data}
\name{freq_first_names}
\alias{freq_first_names}
\title{Frequent U.S. First Names}
\format{A data frame with 5494 rows and 3 variables}
\usage{
data(freq_first_names)
}
\description{
A dataset containing freq... |
58c36aca71e35693eb982ab7e4ef7195a961770b | c443333be002d4399402e6bf5a6740c1b617a242 | /script.R | da5ed33385d4843174586fee8804423ce0d98e55 | [] | no_license | borjaeg/TextMiningWithR | efce679b3f396b1eb60076d1180466b351f5e0c3 | 1ba3b3d0e6f8e25852b2b2ef04ced23be62b00c3 | refs/heads/master | 2021-01-20T20:56:24.642083 | 2014-05-22T22:26:36 | 2014-05-22T22:26:36 | 20,040,281 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 277 | r | script.R | cname <- file.path(".") # Assuming this directory stores your files ;-)
cname
dir(cname) # list of files
length(dir(cname)) # list length
library(tm) # if you don't have it -> install.packages("tm")
docs <- Corpus(DirSource(cname) # Creating an object Corpus
summary(docs)
|
591fbd85766f6af614665552230b406a01a67f53 | 4f1835dc48cfe6b079a1fa53ce9a2029b3f228d2 | /man/bamWriter.Rd | c3ed6a2a8d07a7536cdb61199261016f7f993894 | [
"Artistic-2.0"
] | permissive | lmjakt/rbamtools_wokai_mj | 28d57eea979da1f31c291a1e0b726f983f0556c0 | 42fc387692ecf01a57e3b9c9cf15873259ece464 | refs/heads/master | 2021-01-01T15:55:16.853906 | 2015-03-11T05:26:12 | 2015-03-11T05:26:12 | 27,465,315 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,228 | rd | bamWriter.Rd | \name{bamWriter}
\alias{bamWriter}
\title{bamWriter: Opening a file connection to a BAM file for writing access.}
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %
% Description
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %
\description{The bamWriter funct... |
0e01b3fed6fe3e148961aa4f1619c7bc3cf7ef02 | 3315a8c52ca024f8fb5137db69b0939ec1591a30 | /20201208_day_8/exercise_2.R | 4bb9be5a3086e5372d880eefc45a9f7870888886 | [] | no_license | ericwburden/advent_of_code_2020 | 693a6bf39efd6ba39e3e8324d9c11b0e6ba67066 | fffb37c579a9161baeff3be1dff802fc2b91ab6d | refs/heads/master | 2023-04-07T02:21:14.948499 | 2021-01-02T20:00:49 | 2021-01-02T20:00:49 | 326,261,321 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,009 | r | exercise_2.R | #' **--- Part Two ---**
#'
#' After some careful analysis, you believe that exactly one instruction is
#' corrupted.
#'
#' Somewhere in the program, either a jmp is supposed to be a nop, or a nop is
#' supposed to be a jmp. (No acc instructions were harmed in the corruption of
#' this boot code.)
#'
#' The prog... |
7649241e17439922953c7e08086341a63c129e17 | 6855ac1106597ae48483e129fda6510354efa2bd | /man/is_html_output.Rd | cd27c468d9934a592db2b301ebd130e118796bfc | [
"MIT"
] | permissive | rOpenGov/iotables | ad73aae57b410396995635d1c432744c06db32db | 91cfdbc1d29ac6fe606d3a0deecdb4c90e7016b9 | refs/heads/master | 2022-10-02T13:03:54.563374 | 2022-09-24T11:47:20 | 2022-09-24T11:47:20 | 108,267,715 | 19 | 8 | NOASSERTION | 2021-12-17T15:09:35 | 2017-10-25T12:35:47 | R | UTF-8 | R | false | true | 230 | rd | is_html_output.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/is_html_output.R
\name{is_html_output}
\alias{is_html_output}
\title{Check if HTML output is required}
\description{
Check if HTML output is required
}
|
4be4f35944d176f664ff23f656a45d0e822f5389 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rchie/examples/from_aml.Rd.R | 5b766805faf7ce4098fd6aa21fe9db81ddf7f79f | [] | 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 | 489 | r | from_aml.Rd.R | library(rchie)
### Name: from_aml
### Title: Import ArchieML data from a string, file, or URL
### Aliases: from_aml from_archie
### ** Examples
from_aml(aml = "key: value")
from_aml("http://archieml.org/test/1.0/arrays.1.aml")
## No test: ## Not run:
##D # See source at:
##D # https://drive.google.com/open?id=1oY... |
4507285c6e67c4189197b9bacbc71a6f6b79c774 | 57744ab6fedc2d4b8719fc51dce84e10189a0a7f | /rrdfqbcrnd0/R/GetObservationsWithDescriptionSparqlQuery.R | 23acbd9c89bdfb4e0620468bda570204cc6789e8 | [] | no_license | rjsheperd/rrdfqbcrnd0 | 3e808ccd56ccf0b26c3c5f80bec9e4d1c83e4f84 | f7131281d5e4a415451dbd08859fac50d9b8a46d | refs/heads/master | 2023-04-03T01:00:46.279742 | 2020-05-04T19:10:43 | 2020-05-04T19:10:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,926 | r | GetObservationsWithDescriptionSparqlQuery.R | ##' SPARQL query for dimensions and attributes from RDF data cube in workbook format
##' @param forsparqlprefix PREFIX part of SPARQL query
##' @param domainName domainName for the RRDF cube
##' @param dimensions dimensions
##' @param attributes attributes
##' @return SPARQL query
##'
##' @export
GetObservationsWithD... |
7a44ff13caae344851ea3765d95cfdc4e26fd1b7 | 984715b21609050a656ada7d75732dd4bab65231 | /plot4.R | c45c45382d715b9fa65646a125975f36989d9b4d | [] | no_license | sagarchaki1/ExpData_Project2 | 7fd4fe8692b710f29aff5801cf8f61991f208ac8 | 5fafe077718c66880fc9231546b2836b5f877f9b | refs/heads/master | 2021-01-10T04:34:53.776047 | 2015-11-18T20:24:30 | 2015-11-18T20:24:30 | 46,444,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 753 | r | plot4.R | setwd("~/Nandini/Coursera/Specialization_Data Science/4.Exploratory Data Analysis/Project2")
## Reading Data into R
NEI <- readRDS("summarySCC_PM25.rds") ## 6497651 rows
SCC <- readRDS("Source_Classification_Code.rds") ##11717 rows
m <- merge(NEI,SCC,by="SCC",all.x=TRUE) ## 6497651
#as.factor(m$year)
# fetch all ... |
af19cfcfe6cd7d0ea38a5e72c0897b389430842c | a55a7ba419e1df082287bfdb39a15a503f630bbf | /5-distribucion-normal-en-R-la-regla-empirica-y-la-funcion-rnorm.R | 46f41a119bba34b4860578e24be85727a45b31e7 | [
"CC0-1.0"
] | permissive | cghv94/medidas-de-dispersion-en-R | d18acfefb9fc2b3702fecb643d03245be50a81a6 | bdf64eb65ae2b68ce6c881acef4a431933a41cad | refs/heads/master | 2022-12-23T05:35:16.732867 | 2020-09-30T13:49:26 | 2020-09-30T13:49:26 | 299,912,201 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 505 | r | 5-distribucion-normal-en-R-la-regla-empirica-y-la-funcion-rnorm.R | # UNIVERSIDAD NACIONAL AUTÓNOMA DE MÉXICO
# Facultad de Economía
# Estadística 2020-2
# Profesor: Cesar Hernández
# Medidas de dispersión
# Distribución normal en R: la regla empírica y la función rnorm()
normal <- rnorm(10000)
mean(normal)
sd(normal)
hist(normal, probability = T)
lines(density(normal),... |
c6641f7b81ba15b670be2dc79e4c24b05ce51c6c | ab2784ac467525cf52daeb0adb03fb87cf19894b | /common/.xic2jpg.R | 2f90861ff77765f83b2eb238103b3bd6c927b229 | [] | no_license | WangHong007/Diamond | 454e5d7d4375d833414ac6962c1fbc49b3de6fa9 | 3252fe1cf97416679d0e57ba3f86690500397d63 | refs/heads/master | 2023-03-21T09:23:07.074506 | 2021-03-16T14:00:34 | 2021-03-16T14:00:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,898 | r | .xic2jpg.R | Args <- commandArgs()
path=Args[6]
out.wid=10
out.hei=4
out.cnt=TOTAL_RUN_COUNT
wanted_exp=c(1:out.cnt)
library(ggplot2)
library(showtext)
library(reshape2)
font.add("DejaVu Sans","/data/gpfs02/jhan/software/dejavu/DejaVuSans.ttf")
showtext.auto() ## automatically use showtext for new devices)
theme(te... |
aa93f5fe7f85d099d33f895d6de1e996c26bc0a7 | 2c485b1c2f39fc3c269c6f578e21d698dcec63e6 | /man/stratify.Rd | cfa02c5ea85c7fdfcd8025584ded8c6e635f6735 | [] | no_license | aalfons/simFrame | 002f47cad078c93dec24c4c9fab4893e7bb56922 | 23314f0b1f6632560e0d95dc568f708f3c1286a9 | refs/heads/master | 2021-12-23T10:23:44.587577 | 2021-11-23T12:46:58 | 2021-11-23T12:46:58 | 6,717,992 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 858 | rd | stratify.Rd | \name{stratify}
\Rdversion{1.1}
\docType{methods}
\alias{stratify}
\alias{stratify-methods}
\alias{stratify,data.frame,BasicVector-method}
\title{Stratify data}
\description{Generic function for stratifying data.}
\usage{
stratify(x, design)
}
\arguments{
\item{x}{the \code{data.frame} to be stratified.}
\item{des... |
65be512331314dcb92935b99b629d16db7365fec | d822abc520852e465ea2c65b0c216c6a4bdf94bc | /R/abetadms__datatable_to_matrix.R | 6284aba30674a0f031c1a76d5dab0d7c288467fe | [
"MIT"
] | permissive | lehner-lab/abetadms | 2bbf50ba9a8c40031b7962526b7b9ac8aebce47d | 6a6bcc92d5047048ffd86f7767e5495d2cea4502 | refs/heads/master | 2021-04-13T12:41:20.380605 | 2020-04-06T18:53:35 | 2020-04-06T18:53:35 | 249,164,119 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,408 | r | abetadms__datatable_to_matrix.R |
#' abetadms__datatable_to_matrix
#'
#' Convert data.table to matrix for heatmap plotting (single AA mutants only).
#'
#' @param input_dt input data.table (required)
#' @param variable_name name of variable to use for heatmap cells (defaut:"fitness")
#'
#' @return a matrix for heamtmap plotting
#' @export
abetadms__dat... |
ef9fce0d5bfcbef4119c911f5ec1ea44df2d7b94 | 01403da4a494341c935b2af9ac9da1caa160e8e3 | /man/auc_gradient.Rd | e3a7d0374f0e0bb35f93a41fc9131367d226e3de | [
"MIT"
] | permissive | sachsmc/pseudoloss | d71e1a87bd50e4588d41c517a838f56d1a6854b1 | c7629db9d5aea4c7e2169432f31cb84c1df8eb06 | refs/heads/master | 2020-06-17T22:11:00.565749 | 2019-07-09T20:08:17 | 2019-07-09T20:08:17 | 196,075,345 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 633 | rd | auc_gradient.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/roc.R
\name{auc_gradient}
\alias{auc_gradient}
\title{Gradient of the ramp pseudo AUC}
\usage{
auc_gradient(X, pseus, rampfunc = smoothramp,
d.rampfunc = d.smoothramp)
}
\arguments{
\item{X}{numeric vector of predictions}
\item{pseus}{matr... |
ebfe0e31ffe81df52465503082074a2598e9b65e | 29585dff702209dd446c0ab52ceea046c58e384e | /RnavGraph/R/SettingClasses.R | d0aa94a6e3ab24aa7943df12f74d16493d9736ba | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,912 | r | SettingClasses.R | ##
## Classes with Color-, Interaction- & Display-Settings
########################################################
## TODO: Eventually also save tk2d settings here
setClass(
Class = "ColorSettings",
representation = representation(
background = "character",
bullet = "character",
bulletActive = "charac... |
8bfbc245cd1245e5d3ab925def5fbba695b546ca | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/XBRL/examples/xbrlDoAll.Rd.R | b0233613929ab2467012e77ba9c8845fce70da1f | [] | 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 | 681 | r | xbrlDoAll.Rd.R | library(XBRL)
### Name: xbrlDoAll
### Title: Function to do all required work on an XBRL instance and its
### associated DTS.
### Aliases: xbrlDoAll
### Keywords: XBRL high-level
### ** Examples
## Not run:
##D ## Setting stringsAsFactors = FALSE is highly recommended
##D ## to avoid data frames to create factor... |
dd3e17a29e31fbdc040082b7494631c229194365 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/entropy/examples/entropy.empirical.Rd.R | 35c60e97b0e980422d2499a848f295e5ad939239 | [] | 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,078 | r | entropy.empirical.Rd.R | library(entropy)
### Name: entropy.empirical
### Title: Empirical Estimators of Entropy and Mutual Information and
### Related Quantities
### Aliases: freqs.empirical entropy.empirical KL.empirical chi2.empirical
### mi.empirical chi2indep.empirical
### Keywords: univar
### ** Examples
# load entropy library
l... |
371c01f98b2f9635afef255dccbe260c594c01c3 | cd50b67ec9bf2bb26661c87704880c936f7726c5 | /ThesisChap3Plots.R | 092dbb76815674653624196c82bf4a04b1d6ec6b | [] | no_license | sampeel/detectionSim | 3ec37880725d40f2ec458720a732f8087e6cc5e6 | 7fc144d1763f70996cf627db88adfb2642a2c400 | refs/heads/master | 2022-11-27T02:55:15.633421 | 2020-08-06T23:42:48 | 2020-08-06T23:42:48 | 285,687,803 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56,818 | r | ThesisChap3Plots.R | # Set working directory.
setwd("/perm_storage/home/sampeel/chap2/sim2")
# Load packages and source files.
library(codetools)
library(raster)
library(spatstat)
library(multispeciesPP) # Github: sampeel version (not wfithian)
library(sp)
library(rgeos)
library(parallel)
library(vioplot)
library(R... |
d5e7a57ee18c63980c33e9db4271e4c668109498 | dbeaba5b84c9b9091c3b96def43ac44a95a878df | /R/obcp.R | 9eca946e5a9bbbfea1303014a8931f04f35f12d2 | [] | no_license | timkaye11/obcp | 3fe4e5d663c12f7240ceafdfc65cec2858eae3b0 | acb9c4c02a23daeac4f8b8325fd278ad15bdf2bc | refs/heads/master | 2021-01-23T10:44:49.499555 | 2015-01-27T04:43:31 | 2015-01-27T04:43:31 | 29,788,284 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,262 | r | obcp.R | obcp_output <- structure(list(), class = "obcp_output")
#'
#' Performs the algorithm outlined in the paper by Adams and MacKay.
#'
#' Input must be a vector. The function outputs relevant data from the simulation, including the r_t table
#'
#' @param data A vector of data to be analyzed. Must be a one-dimensional tim... |
cd74d0ca29c7994ec11623f411eb4f3356a55e24 | faaa3f61425d5ab0bac36c1a4c7911d28d4c3479 | /1.R_Courses/Introduction_to_importing_Data_in_R/4.Reproducible_Excel_work_with_XLConnect.r | f8c5014fbfea78adb0fe5989324c9e20b5e3ced3 | [] | no_license | satyamchaturvedi/datacamp | 7650ad87a53f3f43e205065236ba26c5fc68f86e | c0e9736f765a28e436c1d70be3e08ca8cc4c52b7 | refs/heads/main | 2023-04-10T01:00:45.415983 | 2021-04-16T16:00:55 | 2021-04-16T16:00:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,152 | r | 4.Reproducible_Excel_work_with_XLConnect.r | # Connect to a workbook
When working with XLConnect, the first step will be to load a workbook in your R session with loadWorkbook(); this function will build a "bridge" between your Excel file and your R session.
In this and the following exercises, you will continue to work with urbanpop.xlsx, containing urban popula... |
e7f3e545ed3c91a2a9c7a75555dac6676f115617 | 3451121d029597d1e68a5d79c9f4695bb4265b21 | /test_userManage/dataToXts.R | 137f40b0000b78ab6c78bf50729e3fc9ce7e1790 | [] | no_license | ashther/shinyApp | 922b0f9dd2798db7eb45fbf29cc46d6f26dc8c89 | 6f8e572734acd2ef93ad8d6c629154e26f3d5701 | refs/heads/master | 2021-01-16T23:33:14.673884 | 2016-12-05T02:58:11 | 2016-12-05T02:58:11 | 53,815,165 | 0 | 0 | null | 2016-07-28T00:05:45 | 2016-03-14T00:22:15 | R | UTF-8 | R | false | false | 23,061 | r | dataToXts.R |
hourly_new <- xts(hourly_login$new, order.by = hourly_login$date_time)
names(hourly_new) <- 'new'
hourly_active <- xts(hourly_login$active, order.by = hourly_login$date_time)
names(hourly_active) <- 'active'
hourly_log_in <- xts(hourly_login$login, order.by = hourly_login$date_time)
names(hourly_log_in) <- 'login'
da... |
c8f4834ce2a7ec0766516d0eb1caa18f5f0a3d4a | 429f8f159ece1946d26feec2934b022ed34be214 | /fpem01/R/create_regional_results.R | 61f5abc5668d7b596d7336c3dc93d4644064f7f3 | [] | no_license | an-h-tran/testrepo | a38da0ee9a9fff0168c74abf354fb0cfa3a146df | 76c19988e96f5bbbcc750339e936e0643e1e5d6c | refs/heads/master | 2020-04-06T11:04:33.075047 | 2018-11-18T23:41:18 | 2018-11-18T23:41:18 | 157,402,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,175 | r | create_regional_results.R | #' Summarize Regional Samples Function
#'
#' Summarize regional samples into points estimates (median), and
#' uncertainty intervals (lower and upper given by the 2.5th and 97.5th percentiles
#' of the sample, respectively)
#'
#' @param samples tibble or data frame with iso-year-samples-region-population counts
#' (iso... |
f09dbd8b09f03cdb6bee87ff913e9d662bab9b27 | 2b438ee1d8f9bdb0e9372c5a4970623afa2c6015 | /Hclustering_University.R | 96929c91cb0b006b8d04e860614a4c796d7d47a1 | [] | no_license | anurag149/Anurag-Kumar-Tiwari | 0fde3b8decbb418db7d8e9bd6c97bf0a6cff91e0 | 00a2b5f727cd925bb32b61cb28a4a78e5da91237 | refs/heads/master | 2021-02-11T18:10:10.174876 | 2020-04-28T14:28:36 | 2020-04-28T14:28:36 | 244,517,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 982 | r | Hclustering_University.R | # Load the data set
input = read.csv("E:/Day Wise/Day 18 Data Mining - Unsupervised (Clustering)/Data/Universities_Clustering.csv")
summary(input)
normalize<-function(x){
return ( (x-min(x))/(max(x)-min(x)))
}
normalized_data<-as.data.frame(lapply(input[,2:7],normalize))
summary(normalized_data)
normali... |
379758a63813b21f9c5c18e26487d7c4b181e645 | 914b474ae1536940fed953c14659ec3b3c1ca2e2 | /man/SaveDOEtoJMP.Rd | 4fe477d30474fdf09cb92ce67e4f83a68aeef7d0 | [] | no_license | neuhier/rospd | 74a16cd4b2cbce36fd954272e9eba157bb076f2a | 503b6e9fcbf856559e53507312f1d03370f75c8c | refs/heads/master | 2020-04-01T20:14:33.460189 | 2018-10-29T14:23:37 | 2018-10-29T14:23:37 | 153,595,141 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 642 | rd | SaveDOEtoJMP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SaveDOEtoJMP.R
\name{SaveDOEtoJMP}
\alias{SaveDOEtoJMP}
\title{Function to export a DOE stored in an object of class \code{\link{doeDesign-class}} to JMP.}
\usage{
SaveDOEtoJMP(doe, filepath)
}
\arguments{
\item{doe}{A list of DOEs t... |
13415018f5739bd307c24bdc56b10d54b3a91ac1 | 698196156a26603cce7d9abc5368591d0826d3ad | /man/vapour_create.Rd | 5bd661230c9757b6104ddc0c293a960e5d859337 | [] | no_license | hypertidy/vapour | 9a61e903ad66ee269381703c22964ae53c85129d | 35139e0ebf98e932496f4826ee90b069508cc1f7 | refs/heads/main | 2023-08-18T03:43:32.659491 | 2023-07-20T05:19:38 | 2023-07-20T05:19:38 | 98,496,053 | 82 | 9 | null | 2023-02-14T03:50:28 | 2017-07-27T05:08:36 | R | UTF-8 | R | false | true | 2,344 | rd | vapour_create.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/00_read_block.R
\name{vapour_create}
\alias{vapour_create}
\alias{vapour_create_options}
\title{Create raster file}
\usage{
vapour_create_options(driver = "GTiff")
vapour_create(
filename,
driver = "GTiff",
extent = c(-180, 180, -90, 9... |
ae3d90a256e80bdb5fed1b1a98c52dffab073907 | b860de1ae4f3033fabfef4c8c22b94db59083b16 | /codes_DESeq2/GBS_GBSrec.R | ab0884f2aa09ef030bf77b0ee664f774adedb565 | [] | no_license | washingtoncandeia/DESeq_IMT | 98452fbd9436567f7a061d5ff03f38324304cfb7 | 32dade178c49140ac3aba404534b4ea751a5ef54 | refs/heads/master | 2020-03-28T17:54:54.914902 | 2019-11-02T06:15:57 | 2019-11-02T06:15:57 | 148,835,008 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,223 | r | GBS_GBSrec.R | ##----------------------------------------
# IMT
# GBS Vs GBS recuperados com Controls
# Data: 31/10/2019
# Washington C. Araujo
# GSEA - fgsea Bioconductor
##----------------------------------------
library(DESeq2)
library(edgeR)
library(dplyr)
library(plyr)
library(clusterProfiler)
library(org.Hs.eg.db)
library(ggpl... |
68041c0db0b586216790ab38cadf1ca278eab450 | 2099a2b0f63f250e09f7cd7350ca45d212e2d364 | /DUC-Dataset/Summary_p100_R/D092.AP900625-0036.html.R | 9d540b71e104ddf058d453f9a94cd514caf8d6f7 | [] | no_license | Angela7126/SLNSumEval | 3548301645264f9656b67dc807aec93b636778ef | b9e7157a735555861d2baf6c182e807e732a9dd6 | refs/heads/master | 2023-04-20T06:41:01.728968 | 2021-05-12T03:40:11 | 2021-05-12T03:40:11 | 366,429,744 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 879 | r | D092.AP900625-0036.html.R | <html>
<head>
<meta name="TextLength" content="SENT_NUM:3, WORD_NUM:104">
</head>
<body bgcolor="white">
<a href="#0" id="0">The Saudi-based 46-member Organization of the Islamic Conference, an umbrella organization for the world's estimated one billion Moslems, issued an ``urgent appeal to the international community ... |
22694fd2a789c6ecb4b76bae3699ce42cda30c1e | a9ea4af2a95308527784b7df5d3c645a3b5e7d89 | /man/check_dependencies.Rd | 249b1322100345cc66371aa87d75f017e92e1012 | [] | no_license | haukelicht/politicaltweets | 3c7edee7c9fc46923fc696544f6a9ce8f832ece9 | 368922e91ceb0043d4dd2bfc6432699ad74a5a38 | refs/heads/master | 2023-06-26T08:50:58.499169 | 2023-06-15T13:12:23 | 2023-06-15T13:12:23 | 271,348,425 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 276 | rd | check_dependencies.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{check_dependencies}
\alias{check_dependencies}
\title{Check dependencies}
\usage{
check_dependencies(pkgs)
}
\value{
}
\description{
Check if package dependencies are all installed
}
|
f93976c64e216a563ca39c5e1b919cc3dad8b4b7 | 669872ed6a31695b754a6386abcf46c479412dce | /more_experiments.R | b6fd7aedcd9557cfad4858319b0432a6a47a5805 | [] | no_license | kapelner/CovBalAndRandExpDesign | 766afe315cc8a124521f648668ef105460444250 | 61e55753a93c42fc2a55d3cef2ac39ad8104a142 | refs/heads/master | 2021-07-18T01:10:57.494188 | 2019-01-18T01:57:34 | 2019-01-18T01:57:34 | 141,571,668 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,614 | r | more_experiments.R | ####calculate some Frob norm sq:
r = 10000
rd = initGreedyExperimentalDesignObject(X, r, wait = TRUE, objective = "mahal_dist", num_cores = 4)
res = resultsGreedySearch(rd, max_vectors = r)
all_vecs_opt = res$ending_indicTs
r = 10000
rd = initGreedyExperimentalDesignObject(X, r, wait = TRUE, objective = "mahal_dist",... |
6a41af5bca29a09b8ce4290337df052b68260e76 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gamclass/vignettes/figs3.R | 0353b9f474be766ed5902f0240504b7c026e4abf | [] | 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 | 17,070 | r | figs3.R | ## ----setup, cache=FALSE, echo=FALSE-----------------------------------
library(knitr)
options(replace.assign=FALSE,width=72)
opts_chunk$set(fig.path='figs/infer-', cache.path='cache/infer-',
fig.align='center', dev='pdf', fig.width=3.5,
fig.height=3.5, fig.show='hold', par=TRUE,
... |
45a54ab53683289f40c89519aac5b2d70ccc04ba | 5bb2c8ca2457acd0c22775175a2722c3857a8a16 | /man/ATT.Rd | 9a900ec48e9a0e67392b50bea1f90fee60330390 | [] | no_license | IQSS/Zelig | d65dc2a72329e472df3ca255c503b2e1df737d79 | 4774793b54b61b30cc6cfc94a7548879a78700b2 | refs/heads/master | 2023-02-07T10:39:43.638288 | 2023-01-25T20:41:12 | 2023-01-25T20:41:12 | 14,958,190 | 115 | 52 | null | 2023-01-25T20:41:13 | 2013-12-05T15:57:10 | R | UTF-8 | R | false | true | 949 | rd | ATT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers.R
\name{ATT}
\alias{ATT}
\title{Compute simulated (sample) average treatment effects on the treated from
a Zelig model estimation}
\usage{
ATT(object, treatment, treated = 1, num = NULL)
}
\arguments{
\item{object}{an object of class... |
adee61a3cc41ef9c7f07b1166460dd75c2622760 | 13af613761463c204117fed1faa169b474f49d28 | /R/save_dye_screen_model_plots.R | 713b0cd8307cbce6d5fe8ee89ea5e393d47779b2 | [
"MIT"
] | permissive | taiawu/dsfworld_package | 22908b87af3add64b45f7ddde772d4e6a83cc582 | e564d25cc5e8a60a87774e04ed23147c1033e964 | refs/heads/master | 2023-08-24T20:58:26.263206 | 2021-11-07T23:04:18 | 2021-11-07T23:04:18 | 342,920,918 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,382 | r | save_dye_screen_model_plots.R | # small adjustments to get these functions package-ready
########## YOU NEED TO UPDATE CONVERT HEIGHTS AND PULL ASSIGNMENTS IN DSFWORLD
# YOU ADDED .... ARGUMENTS TO THESE AND THEY NEED TO HAVE THEM TO WORK
##---------------- for utils.R in dsfworld package ------
#' Extract layout from labeled plate data
#'
#' Ultim... |
a8f7948c7b4457062db935ac488e6689d45f16d0 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /blorr/inst/testfiles/blr_pairs_cpp/libFuzzer_blr_pairs_cpp/blr_pairs_cpp_valgrind_files/1609955489-test.R | 0ff23cb7bfade501653a3c941860429b3add36fb | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 502 | r | 1609955489-test.R | testlist <- list(x = c(5.48663231711981e-310, -5.15273908896653e-36, -6.95715257111252e+306, NaN, NaN, NaN, NaN, NaN, 1.00496080469151e+180, -7.72435253122689e-84, 8.59674223763769e-322, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... |
a09553538ea28a59233527c39e44bf1ff2ba1361 | eabc282325f21a7b4fec1cc043915a1cb44ad7c1 | /R/SplitUplift.R | 5e9af5cb714f603c8b372128473a214c13afbdf0 | [] | no_license | cran/tools4uplift | 40a588fdad2bfa0f4e3c65a3a240ca53105eb9df | 79b2da4daf80855f3078b9ddcf3f6d80be78279c | refs/heads/master | 2021-06-19T14:03:02.472105 | 2021-01-06T15:50:02 | 2021-01-06T15:50:02 | 164,908,475 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 946 | r | SplitUplift.R | SplitUplift <- function(data, p, group){
# Splits the data with respect to uplift distribution.
#
# Args:
# data: a data frame containing the treatment, the outcome and the predictors.
# p: The desired sample size. p is a value between 0 and 1 expressed as a decimal,
# it is set to be proportio... |
18f1d6dd93df7ed74a7c2e1669757382b619b1bc | 617bd80da2f7f605ab580dfc54465c2a83c84f8e | /acutecare_nordic_ocde.R | 1574296d5fafa2c34c68528e85555167c12ccf28 | [] | no_license | wemigliari/governance | 65997565f0aca84dc1f61bb2075dffc390ad0a52 | ebb58e6ccfe27f981cf7c0d6a06ce304452f3c4c | refs/heads/master | 2023-07-05T11:57:48.998839 | 2021-08-13T21:13:20 | 2021-08-13T21:13:20 | 263,469,120 | 1 | 0 | null | 2021-01-13T23:22:21 | 2020-05-12T22:46:13 | R | UTF-8 | R | false | false | 1,878 | r | acutecare_nordic_ocde.R | library(dplyr)
library(readxl)
setwd("/Users/wemigliari/Documents/R/tabelas")
getwd()
# Have a look at the following webpage to change csv into xlsx
# http://help.snapizzi.com/en/articles/1089773-split-csv-data-into-different-columns
ac_ocde <- read_xlsx("/Users/wemigliari/Documents/R/tabelas/hb_ocde.xlsx")
ac_ocd... |
d0590966e980af16a3b7212a553b365a525855e1 | e7d6f4c26535a283b2a705ad95dbc5cdf175d86c | /Code/singleGridboxCombine.R | c025a884123f8b1331c1bbd06c94b4bbc51c3338 | [] | no_license | nlenssen/cruInvestigation | 8d7d79a4d71abe73d6a8ce17bed146c9f0b4e0d2 | af2792166ffdf24c059d831b09094f0d0fb3e560 | refs/heads/master | 2020-03-29T20:23:02.846434 | 2018-10-09T01:27:06 | 2018-10-09T01:27:06 | 150,309,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,894 | r | singleGridboxCombine.R | source("Code/namelist.Rnl")
## Parameters
# Papua New Guinea
# targetLon <- 142.8
# targetLat <- -5.6
# title <- "FMA Precipitation for Papua New Guinea"
# plotDes <- 'PNG'
# sInd <- 3
# Ethiopia
# targetLon <- 40.7
# targetLat <- 8
# title <- "JAS Precipitation for Ethiopia"
# plotDes <- 'ETH'
# sInd <- 8
# DRC
ta... |
c8772f0f913db64e1c04b4bc35ab6177691407ce | f8e58a4b8ee11502f1b07c08e93ae96de19574e1 | /R/update.setup.R | c309dfaba68a1af6f6a778d5e93fb07a3fe6df2b | [] | no_license | cran/ARTP2 | 648609beb0d95088aabe373208f0070e8bc4a863 | 3d4401daa50050ac020c4612a2b819913bd2f549 | refs/heads/master | 2021-01-15T15:25:21.875869 | 2018-11-30T20:30:03 | 2018-11-30T20:30:03 | 51,500,259 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 815 | r | update.setup.R |
update.setup <- function(setup, nperm, lambda, nthread){
if(!is.null(nperm)){
setup$options$nperm <- nperm
}
if(!is.null(nthread)){
setup$options$nthread <- nthread
}
# hyper-threading is off. Convenient for NIH biowulf users
# mightbe unnecessary for others
setup$options$nthread <- min(... |
9a89cb3905af81bc3f6b15362938081a039b9388 | a68c66075f3ffa0db6103f0c9e8529eb6fa85e62 | /man/pisa.school.Rd | 2d8071f70cabd31ed17656cd5b2eb50069fa14ba | [] | no_license | cognitivepsychology/pisa | f9d41bcc7b2e75d60bcd27b9399e5ff6e4bf8766 | ae58e6d59351b924b3e6388eb0ca5884257d966d | refs/heads/master | 2021-01-18T09:08:50.072826 | 2013-02-16T01:33:41 | 2013-02-16T01:33:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 733 | rd | pisa.school.Rd | \docType{data}
\name{pisa.school}
\alias{pisa.school}
\title{School results of the 2009 Programm of International Student Assessment.}
\format{a data frame with 17,145 ovservations of 247 variables.}
\source{
Organization for Economic Co-operation and Development
}
\description{
School results from the 2009 Program... |
791fe4174f9a7f2e71df937addcf68e7b87dcf00 | 5342d6679da825c1b13da3c496d9c89c33c7896a | /nexis-api.R | e7f19fa887d53dacc489a67f6fd2e6a8204f09e9 | [] | no_license | chiuyt19/nexis-uni | eafc2a62c47d80b73599bd663570f66f5723a84b | 2a65b21dfdef67cd39cb2003dd4604864faca52f | refs/heads/master | 2021-09-02T07:03:14.073831 | 2017-12-31T07:57:15 | 2017-12-31T07:57:15 | 115,653,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,421 | r | nexis-api.R | library(dplyr)
library(httr)
library(jsonlite)
library(RCurl)
library(XML)
base.url <-"http://advance.lexis.com/api/search?"
basic.url<-"http://advance.lexis.com/api/"
#login authentication using RCurl
loginurl = "https://signin.lexisnexis.com/lnaccess/app/signin?back=https%3A%2F%2Fadvance.lexis.com%3A443%2Fnexis-u... |
9fdf58b5c281d050dc908214c85bfa649c315673 | 99237ab7194403104ebced3219bb766f578a231c | /plot2.R | 6f84f945a4bfeeef859b430918ab4d9f9f06ac6a | [] | no_license | guerined/ExData_Plotting1 | d10ff9192e5a2c3f0498cef3ae8c45c9c9ad5b1a | 31b6df4d99f1589d95acf1f99a2a787298e4242f | refs/heads/master | 2021-01-18T20:35:42.340719 | 2015-12-11T13:52:58 | 2015-12-11T13:52:58 | 47,827,198 | 0 | 0 | null | 2015-12-11T13:06:31 | 2015-12-11T13:06:31 | null | UTF-8 | R | false | false | 439 | r | plot2.R | data <- read.table("household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors = FALSE, dec=".")
extract <- data[data$Date %in% c("1/2/2007","2/2/2007"),]
active_power <- as.numeric(extract$Global_active_power)
date <-strptime(paste(extract$Date, extract$Time, sep=" "), "%d/%m/%Y %H:%M:%S")
png("plot2.png... |
f2426f12b7edad0e96ea7fd1a09e0d56c3108025 | 334145f4753d39c1024d6e4f256d30ee50fe657e | /inst/tests/test.TSDistances.R | 807dcdb7b6072cbad070882f6219ac07bf3f0a23 | [] | no_license | cran/TSdist | 6aaefaefd78c37fbfb07efe164cdb44c19fc2f53 | d28f6f0c3aa4c5004caf33724b5c7fc064846553 | refs/heads/master | 2022-09-15T21:13:30.275246 | 2022-08-31T08:40:02 | 2022-08-31T08:40:02 | 19,747,325 | 5 | 6 | null | null | null | null | UTF-8 | R | false | false | 559 | r | test.TSDistances.R | context("TSDistances")
test_that("The TSDistances function is checked", {
x <- cumsum(rnorm(100))
y <- x
# If x and y are given as ts objects
x1 <- as.ts(x)
x2 <- as.ts(y)
expect_equal(TSDistances(x1, x2, "euclidean"), 0)
# If x and y are given as zoo objects
x1 <- as.zoo(x)
x2 <- as.zo... |
62e744f85a4f73d6fbef300c4f38dd65f52b0022 | 4640be0f41a18abd7453670d944e094a36e4181d | /man/phylo_generate_uncertainty.Rd | 5c7ffa657e91344ff9364be2da5179db34062786 | [] | no_license | gitter-badger/datelife | 534059d493b186030f0c2507ce8b35027d120dec | 94d93bb4e6cecd0884afe99571bf96b291454899 | refs/heads/master | 2020-06-16T22:49:58.916722 | 2019-06-20T16:25:11 | 2019-06-20T16:25:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,786 | rd | phylo_generate_uncertainty.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/uncertainty.R
\name{phylo_generate_uncertainty}
\alias{phylo_generate_uncertainty}
\title{Function to generate uncertainty in branch lengths using a lognormal}
\usage{
phylo_generate_uncertainty(phy, size = 100,
uncertainty_method = "other"... |
7b595536fc52baeee764a9cea7501acbb72f61e7 | 7b3ac93640ea8576ce89cf7b33e7ae87907ae855 | /RScripts/iv-playing.R | 7a83114df743eb796543b98fa1f501ad32ba9150 | [] | no_license | oleg-gunchenko/finance | 8fa0b395e0556fd0d749dd1ce3e45b2e0e859230 | ba3dabd233ec26e19bea2e7b808a2296411340a9 | refs/heads/master | 2023-06-17T15:47:23.282641 | 2020-03-03T21:32:41 | 2020-03-03T21:32:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 620 | r | iv-playing.R | library(readxl)
riData <- read_excel("D:/Work/finance/RScripts/data/RIZ8-ru.xlsx")
ri <- riData[!is.na(riData$`Цена последней сделки`), ]$`Цена первой сделки`
par(mfrow=c(3,1))
plot(ri, type = "line")
ri <- rev(ri)
size = 2
count = length(ri) - size
sigmas = array(count)
for (i in 1:count) {
sigm... |
42ad44c8025e05f552a942ed8431f06a718dbdc9 | 700d8121a4e3a9fc4c31e015db643758cb843569 | /man/mapGenomeBuilds.Rd | 65e0885938ec7cc257cbdcd173dab7262629ec84 | [] | no_license | Bioconductor/GenomeInfoDb | 727c90f03c289f692999860a12077775f4d65317 | 9dba03f8d2a4f76732e2b12beac7c0ee3230a693 | refs/heads/devel | 2023-08-09T21:33:11.074781 | 2023-06-20T21:40:39 | 2023-06-20T21:40:39 | 102,149,975 | 14 | 15 | null | 2023-03-13T17:45:24 | 2017-09-01T20:19:20 | R | UTF-8 | R | false | false | 2,561 | rd | mapGenomeBuilds.Rd | \name{mapGenomeBuilds}
\alias{mapGenomeBuilds}
\alias{genomeBuilds}
\alias{listOrganisms}
\title{Mapping between UCSC and Ensembl Genome Builds}
\description{
\code{genomeBuilds} lists the available genomes for a given
species while \code{mapGenomeBuilds} maps between UCSC and Ensemble
genome builds.
}
\usage... |
93d819e1e3eee0b51972be08aad15c318476b752 | 7f055060c92c6d4aba080868e34075d2bd4fbd87 | /demo/country-contributions.R | b95853e9a7a4bb36f82975c27e9c8aaaeb7bc6e0 | [] | no_license | mjaeugster/ISIPTA | 502a56216c42d9227486b4b67d734c480f74b906 | f783172117c09f72afd926039b80d87d3c40926e | refs/heads/master | 2020-05-20T11:10:12.824284 | 2015-07-02T21:08:36 | 2015-07-02T21:08:36 | 1,785,281 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,985 | r | country-contributions.R | ### Number of contributions by year and country.
library("ISIPTA")
library("rworldmap")
demo("authors-locations", package = "ISIPTA",
verbose = FALSE, echo = FALSE, ask = FALSE)
data("papers_authors", package = "ISIPTA")
data("authors_locations", package = "ISIPTA")
papers_authors_locations <- mer... |
125544863e2d7d77aa9b937839d9a9ae392854cf | c1cf4de1c09cb9c16d374c177717041c5b220c90 | /tests/DEPRECATED.lazy.R | 9e8e59b32feef917b675b0b9a6bcc4c83f366f07 | [] | no_license | nikolayvoronchikhin/future | dd3e7b6713980bda16048a29fcc8685c7ece1f3b | d2cb5f421d0c7a75a99d44c70cb536bb5f09e94f | refs/heads/master | 2021-01-25T06:44:50.313780 | 2017-05-26T07:48:06 | 2017-05-26T07:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 511 | r | DEPRECATED.lazy.R | source("incl/start.R")
message("*** lazy() - defunct ...")
res <- tryCatch({f <- lazy({
42L
})}, warning = identity)
stopifnot(inherits(res, "warning"))
res <- tryCatch({
plan(lazy)
}, warning = identity)
stopifnot(inherits(res, "warning"))
res <- tryCatch({
plan(list(lazy))
}, warning = identity)
stopifnot(i... |
332358d477ef4a979797ee3c721aa62ff191df17 | f0cfb9e8215a2479502b5ed90790a1b52bd9884f | /R/LKPACK/EX3-10.R | b5be8daff451cfbd665c8ede9d8a4253f11b4cbc | [
"MIT"
] | permissive | yanliangs/in-all-likelihood | f2f580445a48f675d548ee38fc565b1b804ed25b | 6638bec8bb4dde7271adb5941d1c66e7fbe12526 | refs/heads/master | 2023-07-15T09:31:16.294980 | 2020-04-17T01:58:35 | 2020-04-17T01:58:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,259 | r | EX3-10.R |
par(mfrow=c(2,2))
x <- c(0.88,1.07,1.27,1.54,1.91,2.27,3.84,4.5,4.64,9.41)
n<- length(x)
fun0<- function(mu,sigma){
a<- -n/2*log(sigma^2) -
(sum(x^2) - 2*mu*sum(x) + n*mu^2)/(2*sigma^2)
-a
}
ll<-NULL
np<-20
mu<- seq(mean(x)-3,mean(x)+3,len=np)
sx<- sqrt(var(x))
sigma<- seq(sx/2.5,sx*2,... |
c790de0b7281f9601cebe7377f189b8d05e52cec | f0ba683353c4e3faf242e56c84defda4972686e1 | /R/cv_kfold_split_file.R | ad60162960dc93ce5678464c5845ac4fc97ac292 | [
"MIT"
] | permissive | epongpipat/eepR | bf567c666eef0417b0dece4088ec95697f02cdba | 970c4699db1e005cabd282e903706239033c7b02 | refs/heads/main | 2023-04-01T22:44:23.247733 | 2023-03-28T17:42:07 | 2023-03-28T17:42:07 | 205,262,495 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,640 | r | cv_kfold_split_file.R | #' cv_kfold_split_file
#'
#' @param x_path
#' @param y_path
#' @param k_fold
#' @param out_dir
#'
#' @return
#' @export
#'
#' @examples
cv_kfold_split_file <- function(x_path, y_path, k_fold, out_dir) {
stop_if_dne(x_path)
stop_if_dne(y_path)
n_pad <- 3
k_fold_pad <- str_pad(k_fold, n_pad, "left", 0)
x <- ... |
a89fa1e1fb96be08b1163b87a8ba1fc1c166350e | 151545238b797b070372d34b3aca05fd97083d38 | /Random_Playlist_Shuffle.R | 26c23995e9573b4cdc86077b01308aaa917375f8 | [] | no_license | leventkayin/Random_Playlist_Shuffle | bfb35aa47550a194a9d67aee6ff1875495317dea | 16c4a5790d391969a2210fb294f212f9f17d80d2 | refs/heads/master | 2020-03-23T23:16:09.183492 | 2018-07-25T00:30:19 | 2018-07-25T00:30:19 | 142,225,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,457 | r | Random_Playlist_Shuffle.R | ### Simple Fisher - Yates algorithm to Shuffle Songs and Why its not ideal
# We create a random playlist of some number songs we also randomly assign them genres from A to D
number_songs = 20
songs = seq(1,number_songs)
genres = round(runif(number_songs,min = 1,max = 4))
genres = replace(genres, genres == 1,"A")
gen... |
7a8bbb4087b8dbba3d7fd73c64e4782eff418fde | a9a9af4f010a883720f70391d2af66f437cb15c3 | /man/create_database_structure.Rd | 5664afdf0f86045d8c5ab37f04d16f8d291887f8 | [] | no_license | kalden/spartanDB | ad4162c78ef54170c21c08a8a7a822fafc457636 | bc698715cdce55f593e806ac0c537c3f2d59ac7a | refs/heads/master | 2020-03-26T23:32:14.724243 | 2019-02-20T11:05:17 | 2019-02-20T11:05:17 | 145,549,860 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 712 | rd | create_database_structure.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/database_table_setup.R
\name{create_database_structure}
\alias{create_database_structure}
\title{Creates all required databases for storing experiments using a simulator}
\usage{
create_database_structure(dblink, parameters, measures)
}
\argu... |
3fd9fc0c5e618308f1173a80625067077c9389d9 | a40d7e8eb79b6f532ad833595f049cba3701f323 | /Lab 7 MvLA LDA&QDA.R | fdac06daffddc45610d06c8587833f4a22570d84 | [] | no_license | haskinsm/R-projects | 4837fd598256776a0c1a9b6b77b6e9da1263193a | 19a1668cc0ad7a529ce32b65002a25bb83651099 | refs/heads/master | 2023-08-14T14:38:26.502301 | 2021-10-20T17:23:54 | 2021-10-20T17:23:54 | 299,654,042 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,144 | r | Lab 7 MvLA LDA&QDA.R | library(MASS)
salmon = read.table("https://www.scss.tcd.ie/~arwhite/Teaching/STU33011/salmon.txt", header = TRUE)
salmon
plot(salmon[,-1], col = as.factor(salmon[,1]))
library(ellipse)
plot(salmon[,c(2,3)], col = as.factor(salmon[, 1]), xlim=c(50,190), ylim=c(290,530))
lines(ellipse(cov(salmon[c(1:50), c(2, 3)]), cent... |
df1bda4b7b37b617852eb048dc7c66c977c21bb8 | 34f5bbe3b9612d75982babb1287c813e90f50abe | /cachematrix.R | 2280a5b52aad1ad1ff7d1540353bd8aab5dd6e05 | [] | no_license | llozovaya/ProgrammingAssignment2 | fb1f735ecd2bd6d5e138375fbae14d0f26191198 | 8b6eae797d85d1800d17d59edb8d36f6027bcb85 | refs/heads/master | 2021-01-12T22:19:11.864392 | 2015-01-25T11:55:33 | 2015-01-25T11:55:33 | 29,790,099 | 0 | 0 | null | 2015-01-24T20:14:54 | 2015-01-24T20:14:54 | null | UTF-8 | R | false | false | 1,188 | r | cachematrix.R | ##
##
## A function creating a special object CacheMatrix
## consisting of four functions which are:
## get - get the value of the object, which is square invertible matrix
## set set the value to the object
## getinverse - get the inverse matrix if it was calculated, otherwise NULL
## setinverse - set the inverse ... |
b0e31fb07871c064d2fe2b1505a1986b11aa6040 | c9240ed6ccaf9fa8532aff8a2a2683c2a342f047 | /Baseline Code/3.movingAverage.R | eef19b1c277850e20dd6698e568d3443a827ab31 | [] | no_license | greycloak85/CO2Reader | 8907207657a2b950edb994ff040cb6eb3efd2f67 | d51beb5afd0ff45bca0747c23fe72c58069ed015 | refs/heads/master | 2021-01-19T11:45:14.261870 | 2015-11-12T02:20:39 | 2015-11-12T02:20:39 | 40,512,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,391 | r | 3.movingAverage.R | require(reshape2)
require(ggplot2)
require(plyr)
require(zoo)
require(caTools)
# Plotting Parameters
plotsize = 1200 # pixels
golden = 1.618 # ratio
res = 150
# Check machine and set path appropriately
if(Sys.info()["nodename"] == 'Turing.local'){
setwd('/Users/rhy/Dropbox/Work/Meemir/Respirion/Analysis/Rich Code')... |
3c4706fd6bb54863e5c39a74c84badec63c7d6cd | 90613c1a502a34ecbe3901237c8720d98cfa7e8e | /R/plot.select.parfm.R | 372f2b2b66b91012a7249a5fe526d4b382233a57 | [] | no_license | cran/parfm | 48345c471ca26c6000d72dbe10b8446a63b5ca01 | da8a1afaed7160d0b3ed3b254be27c015e52ba9b | refs/heads/master | 2023-01-24T09:09:45.168377 | 2023-01-17T21:40:02 | 2023-01-17T21:40:02 | 17,698,226 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,466 | r | plot.select.parfm.R | ################################################################################
# Plot of objects of class 'select.parfm' #
################################################################################
# ... |
0e9d741306f1b3d48d521792df59c7baabf3bccf | 1c9f01369c0a3b63ab38b5dada9e20186b3a307b | /reference_datasets/2020_Anderson/code/02-extract_filtered_signatures.R | c3a0b84a05aee0c3900154092a9a438480d2b905 | [] | no_license | fungenomics/G34-gliomas | 751fba1ceec1198a503485b265d2cf67601d0822 | a399f4e19045f81000f19b8e15b0b9b3d3639e3b | refs/heads/master | 2023-04-06T15:57:33.556507 | 2022-09-16T15:59:53 | 2022-09-16T15:59:53 | 266,608,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,958 | r | 02-extract_filtered_signatures.R | # Selin Jessa
# 2020-07-07
#
# Here I will get 100-gene signatures for the clusters, filtered
# based on gene stats
library(tidyr)
library(dplyr)
library(glue)
library(readr)
library(magrittr)
library(ggplot2)
library(purrr)
out <- "../processed_data/02"
# Load gene annotation
anno <- readr::read_tsv("../../../sjes... |
55eb3447c9641ea53034f9a88bbe0e3933a9623b | 5d7740f555e642a7679cc91ffa31193993fd911b | /R/wwratio.R | 7c56ac4c8cd6439ab8bbfb4f0aa1c8f24c2f9a1f | [] | no_license | cran/WWR | c75c0ea6b965f15502c5a616525b3de5a87c55fe | 827c382cd8e4834d87dcd236619e883a81de74c4 | refs/heads/master | 2021-01-22T05:47:06.752627 | 2017-10-25T02:40:18 | 2017-10-25T02:40:18 | 81,703,172 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,121 | r | wwratio.R | wwratio<-function(y1,y2,d1,d2,z,wty1=1,wty2=1){
d1<-ifelse(d1==0 | d1==1, d1,NA)
if (sum(is.na(d1))>0) stop("The event indicator 'd1' only takes values 0 and 1")
d2<-ifelse(d2==0 | d2==1, d2,NA)
if (sum(is.na(d2))>0) stop("The event indicator 'd2' only takes values 0 and 1")
z<-ifelse(z==0 | z==1, z... |
82a8bc633609c92e9b729f591dfdbedef1f19a13 | 1f2927efec55a43423d1b2ebdd5ddc18a0a0a3f0 | /R/readSprint.R | e4be0d2e156a8fd88afe34fd1f7c72dca62ca086 | [] | no_license | spkal/SprintData | f8b9a2d0444ca59eef07d2a27ff1c7fde4ce8cfb | ff7bb5530bf2042824bb0cbadae676c0fc9443d0 | refs/heads/master | 2021-01-10T21:21:31.713901 | 2015-10-21T01:50:23 | 2015-10-21T01:50:23 | 26,692,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 346 | r | readSprint.R | "readSprint" <- function(file = system.file("data/sprint.txt", package="SprintData")) {
sprintData <- read.table(file, sep=" ", header=TRUE, stringsAsFactors=FALSE)
sprintData$Date <- with(sprintData,
as.Date(paste(Year, Month, "15", sep="-"), format="%Y-%b-%d"))
sprintData$User <- as.factor(sprintDa... |
a940c009c5102d554d09f93d3461b26169ac75a8 | 36cbe94e3be91c4143a66dfec5d6135a95ae11d5 | /Module 7 Assignment.R | bbbec7fdc1f6552452b7bb26cc3fa726d3e68020 | [] | no_license | jonathanrprogramming/Module-7-Assignment | 12342c22e81c01a2f517aa8677d637cb0f582126 | 43950da90df5f695988d312d3ea8b7b8939ae710 | refs/heads/master | 2021-04-27T10:38:38.938631 | 2018-02-22T22:07:44 | 2018-02-22T22:07:44 | 122,541,093 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 274 | r | Module 7 Assignment.R | install.packages("statesRcontiguous")
shapefile_details
.S3methods(generic.function = "statesRcontiguous")
.S4methods(generic.function = "statesRcontiguous")
showMethods("statesRcontiguous")
typeof("statesRcontiguous")
methods(generic.function = "statesRcontiguous")
|
baea905d5a759550d21903c45864c974031d9564 | cc4697514888cddee1b02031b2bce93787979be3 | /man/informed_ds.Rd | 1c2f0c9998d2f0123dca1740cbaf4489a867c734 | [] | no_license | straussed/DynaRankR | 8d2cff9b2cb16630ba42bc66a2a55907a4a35f30 | 5d1d53767671d515917ff7026675144b060d2161 | refs/heads/master | 2020-04-09T06:25:20.698096 | 2020-02-13T14:33:37 | 2020-02-13T14:33:37 | 160,111,557 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,555 | rd | informed_ds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/informed_ds.R
\name{informed_ds}
\alias{informed_ds}
\title{David's Score method informed by prior information}
\usage{
informed_ds(contestants, convention, initial.ranks = NULL, interactions)
}
\arguments{
\item{contestants}{A dataframe with... |
0bb5179b3e10084c366a25ca7bf539d5b84a6b10 | 357c61695c0b2885916745226b5d0dc7408766c0 | /BAMMtools/man/plot.bammshifts.Rd | a264c8a38be52869d5abed4437f50d9e874b1cdf | [] | no_license | macroevolution/bammtools | 62b4f9c6dd20ea37d1df6b7dd75d10967a8f3e75 | 07a17d8260a9e17419ca4bbc27687b4b6a7164be | refs/heads/master | 2022-11-22T15:11:11.336582 | 2022-11-11T17:08:43 | 2022-11-11T17:08:43 | 17,520,404 | 7 | 7 | null | 2016-05-05T21:09:28 | 2014-03-07T16:42:06 | R | UTF-8 | R | false | true | 4,186 | rd | plot.bammshifts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.bammshifts.R
\name{plot.bammshifts}
\alias{plot.bammshifts}
\title{Plot distinct rate shift configurations on a phylogeny}
\usage{
\method{plot}{bammshifts}(
x,
ephy,
method = "phylogram",
pal = "RdYlBu",
rank = NULL,
index =... |
f45cfea07b35e8d5af3585c8b1710088c1d2a48b | a2d515e45407c9f916b5272895a841196bce4286 | /R/parseJSON.R | eb914a17dba0575cd00a5cb4cd16535ee3be3ce2 | [] | no_license | kbroman/jsonlite | 8a12345540ac46f05650687d848dc3a94004b599 | 14e251c72b557c670b288da4bdfa4d72ad58fd06 | refs/heads/master | 2021-01-21T09:34:59.883238 | 2014-12-31T01:25:36 | 2014-12-31T01:25:36 | 19,478,270 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 84 | r | parseJSON.R | #' @useDynLib jsonlite R_parse
parseJSON <- function(txt) {
.Call(R_parse, txt)
}
|
13dfe5a29654d3b26a59157a27f80182bdf1821c | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_ThornthwaiteWilmott/AFL_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1615831110-test.R | 90c6df98a0b60bfd9585314b446643486782bdf8 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 611 | r | 1615831110-test.R | testlist <- list(doy = numeric(0), latitude = numeric(0), temp = c(8.3440061638964e-309, 1.56898425373334e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, -7.91405836153987e+269, -7.9140592507382e+269, -7.9140592507382e+269, -1.18078903777427e-90, 1.86807199752012e+11... |
78272e3533a53b3f3d61cadef368c336ff013410 | a503831b442aef5547d47849a59465b26bf087c2 | /man/sieve.mm.Rd | 499fea6f8df98cebc32d6503a5fc10730def00a4 | [] | no_license | dtavern/grainsizeR | a5e99f70c6b845fdf5d44c11381a8a6900062b9e | 75554d0c0ba8daeb84f81fcf598e83111c1d1d30 | refs/heads/master | 2021-01-20T11:16:50.129819 | 2017-04-12T07:16:05 | 2017-04-12T07:16:05 | 83,947,562 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 536 | rd | sieve.mm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sieve_mm.R
\name{sieve.mm}
\alias{sieve.mm}
\title{Sieve data (mm)}
\usage{
sieve.mm(x, sieve_sizes = c(8, 11, 16, 22.6, 32, 45, 64, 90, 128, 180, 256,
360, 512, 1024))
}
\arguments{
\item{x}{a list of grain size measurements}
\item{sieve_... |
eb2e33f5271656125fcc577b32bbcb8986426542 | 0805436e0fdb8e9d28b0ce697af48baaead7b27b | /R/search_layers.R | d77676489ec639da0c66cff181d66151ce04ad79 | [] | no_license | jjvanderwal/ALA4R | 44f5c22f4da825bdb37cce7a6c30beeea5fd0dc8 | 69d3b9d6ebeeb62dac6df13655e4b38bcd761db6 | refs/heads/master | 2016-09-06T17:00:03.724946 | 2014-09-14T00:38:39 | 2014-09-14T00:38:39 | 15,890,257 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,439 | r | search_layers.R | #' Search for environmental and contextual data layers
#'
#' @author Atlas of Living Australia \email{support@@ala.org.au}
#' @references \url{http://api.ala.org.au/} \url{http://spatial.ala.org.au/layers}
#'
#' @param query text string: optional search term against layer metadata. Only layers that include this term i... |
605d6b9b22e828f77c9064f75fd61ca29eaac139 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/copBasic/examples/sectionCOP.Rd.R | e43349375d986b235a9196b323e8ddfe267e5b90 | [] | 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,157 | r | sectionCOP.Rd.R | library(copBasic)
### Name: sectionCOP
### Title: The Sections or Derivative of the Sections of a Copula
### Aliases: sectionCOP
### Keywords: visualization diagnostics copula section
### ** Examples
## Not run:
##D # EXAMPLE 1, plot the v=0.55 section and then u=0.55 section, which will overlay
##D # the other be... |
84547ee73535c307eca4e4c920970a7a4ce1e275 | fcc93b4a49a38af62678c0017025f492eb4c2ade | /man/x.Rd | 92fd889314063154711ce02490f359c2e889e15f | [] | no_license | FaridaBenchalal/MIXCLUSTERING | 0b335d1e668914420add7cefc56ea663a71a515b | b00c4644d0c05b106e8f73a5a93bcb815a0ff238 | refs/heads/main | 2023-03-29T07:22:56.440859 | 2021-03-22T13:21:34 | 2021-03-22T13:21:34 | 348,022,407 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,338 | rd | x.Rd | \name{x}
\alias{x}
\docType{data}
\title{
%% ~~ data name/kind ... ~~
DataFrame stadard of R, which represents cars
}
\description{
%% ~~ A concise (1-5 lines) description of the dataset. ~~
DataFrame of carts wich containts continious and categorical features
}
\usage{data("x")}
\format{
A ... |
10a1a382be832452d8f5f4c4e8a78c47e5007781 | e271452da9d73b3f9a4cadfc1858f7f4dfff3130 | /server.r | 4a11be903edea6bf6c3d88f96512ae8c07d0cb96 | [
"MIT"
] | permissive | simecek/GFRcalc | 1ba0fef60921d3f5b2de970ab36a18a2e700f9db | fbd0cb179f5f4e5a9a9ba255f8789264dc4b0d8f | refs/heads/master | 2021-06-01T20:50:57.500492 | 2017-08-07T09:22:45 | 2017-08-07T09:22:45 | 38,074,484 | 1 | 2 | null | 2017-10-25T17:35:38 | 2015-06-25T21:12:23 | R | UTF-8 | R | false | false | 4,853 | r | server.r | library(shiny)
library(readxl)
library(ggplot2)
source("helpers.R")
options(stringsAsFactors = FALSE)
max_plots <- 16
shinyServer(function(input, output) {
# read data file
file.upload <- reactive({
inFile <- input$GFRfile
if (!is.null(inFile)) { # if any file name is given
ext <- tools::file_ex... |
5647238a9b22f6d2ee5c0cbf30f529c8d0bdb9c4 | bfb0dd605dbe9a50903dc13ea49b04edb027a868 | /man/MGWRConfig-class.Rd | 576b7f0c2278332e4d3ff232ab93e4668dad141d | [] | no_license | GWmodel-Lab/GWmodel3 | 6492b18e70d7ab58076acd9ad7bdb58a7e40c2bf | 42e756431500fb84fc777594c80bca78a2de0f02 | refs/heads/master | 2023-08-09T15:33:12.321389 | 2023-07-25T11:18:30 | 2023-07-25T11:18:30 | 567,957,637 | 0 | 1 | null | 2023-09-14T15:35:53 | 2022-11-19T02:05:58 | R | UTF-8 | R | false | true | 1,227 | rd | MGWRConfig-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class-MGWRConfig.R
\docType{class}
\name{MGWRConfig-class}
\alias{MGWRConfig-class}
\alias{MGWRConfig}
\title{An S4 class to set Multiscale GWR configurations}
\description{
An S4 class to set Multiscale GWR configurations
}
\section{Slots}{
... |
b0da43909b9807836fddf9b4e8d3cc3b9f4d8c65 | 75070d4917747396abce56e5cce8047b4556541b | /R/STEP3_FIGURES/estimate_first_stage_fd.R | 64784893f6264579a81b00ade0e32c98660c624b | [] | no_license | abhradeepmaiti/orthoml | f8744ea5dee1a2d536706acbf3dd75dd11bb0735 | 70b6de67cd258f0e23e58033bdd295c9a455de5f | refs/heads/master | 2023-03-17T13:49:37.449417 | 2021-03-16T16:51:38 | 2021-03-16T16:51:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,164 | r | estimate_first_stage_fd.R | rm(list=ls())
# set directoryname
directoryname<-"/n/tata/orthoml/"
setwd(directoryname)
library(tidyverse)
library(gamlr)
library(xtable)
library(glmnet)
categorynames = c("Drinks", "Dairy","NonEdible","Snacks")
source(paste0(directoryname,"/R/FirstStage.R"))
treat_name="logpr"
outcome_name="logsls"
for (categoryname ... |
32bae5e70606e7b78cc0dfde7800b1e5fc2d4520 | 98b3a030e1d594ed130e656cbe9eecf0cedaf212 | /tests/testthat/test-assertions_v13.R | a742b51663b14f90016106b28915c912a29049bf | [
"MIT"
] | permissive | mrc-ide/drjacoby | a45b44db7ec43c2fb1924ce571ad17032477dfe5 | 476d94f3eb7357f8e2278834c0af04afd772cf69 | refs/heads/master | 2023-07-21T09:04:43.435509 | 2022-02-10T09:37:00 | 2022-02-10T09:37:00 | 184,567,263 | 16 | 6 | MIT | 2023-05-24T10:30:53 | 2019-05-02T11:12:41 | R | UTF-8 | R | false | false | 23,230 | r | test-assertions_v13.R |
#------------------------------------------------
test_that("nice_format working correctly", {
expect_true(nice_format(NULL) == "")
expect_true(nice_format(5) == "5")
expect_true(nice_format(1:5) == "{1, 2, 3, 4, 5}")
expect_equal(nice_format(c("foo", "bar")), "{foo, bar}")
})
#----------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.