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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a2f49d3c44fb9e79c02e1ad2d64ea424b0ef785a | 50140c9993cd0182cf187fde9042c390c753a362 | /Compound_Alignment.R | 6fc31dc33a51f2ae0eb374589435c034cb96a0ca | [] | no_license | zhengfj1994/Liquid | 9932e26d25dd22a7177d94dab00acb44eae32f72 | 578ba389b56049b89dd3a906bfed76767fbeb4df | refs/heads/master | 2020-07-27T20:36:46.446352 | 2015-03-05T15:39:39 | 2015-03-05T15:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,865 | r | Compound_Alignment.R | #This files contain all of the function modules related to Compound Alignment Algorithm
AlignmentFile_Load <- function(FileFolderPath)
{
Peak_FileName_List <-list.files(path=FileFolderPath, pattern ="Group_Annotate_Isotope_Annotate_Adduct_Refinement_RtMap.csv", full.names=TRUE)
Peak_List <- read.csv(file=Peak_FileNa... |
d39b0be6f62cf09b26f1b46e08193e5510fe24c5 | 04a7c98ebecf2db764395c90455e8058711d8443 | /data-raw/phenotypes.R | 845e049dc151f544944989b84cf9768a2daa8592 | [] | no_license | Alice-MacQueen/switchgrassGWAS | f9be4830957952c7bba26be4f953082c6979fdf2 | 33264dc7ba0b54aff031620af171aeedb4d8a82d | refs/heads/master | 2022-02-01T01:12:40.807451 | 2022-01-17T20:56:20 | 2022-01-17T20:56:20 | 198,465,914 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,202 | r | phenotypes.R | # code to create phenotypes.rda goes here
# These phenotypes were merged and then carefully checked for errors and
# outliers in the `pvdiv-phenotypes` git repository.
# Thereafter, specific phenotypes were published as part of the switchgrass
# genome paper - seven environmental phenotypes, overwinter survival at th... |
ca79e121f88cda7411333becc96fd366986831d8 | 7222a65ac496bf8e7b6ddcdd3e836765f6d9eb87 | /Batch_Future/Proposed_F.R | d356acd2d692d7f28cb089dfb98da52252a42f04 | [] | no_license | liangdai/online-experiment | 34ffc9259c03bab66cbd909ffc86b758ba297764 | 60f0cad1cf0187ddc0c15a8d4249b0b79ba18e72 | refs/heads/master | 2016-09-05T22:55:23.585430 | 2014-03-01T21:20:29 | 2014-03-01T21:20:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,842 | r | Proposed_F.R | inf = function(n,a,b){
x=0:n
#ans = sum(beta(a+x,b+n-x)*a(x,n,a,b)/(n+1)/beta(1+x,1+n-x)/beta(a,b))
ans = sum(exp(lbeta(a+x,b+n-x)-lbeta(1+x,1+n-x)-lbeta(a,b)-log(n+1)))
return(ans)
}
compute.prbopt3<-function(alpha1,beta1,alpha2,beta2){
f <- function(x){
r = x*pbeta(x,alpha2,beta2)-pbeta(x,alpha2+1,beta2)*alp... |
96919403b90f62139ed73686148e73cfb5c1e973 | 4f3fd97558d140c15dfd166eb9b2df8573a84466 | /run_analysis.R | 395497884022d3a9c7c20ab8a8046dee486fc2a1 | [] | no_license | maxreimerson/getting_and_cleaning_data | cee756d656d956176272b093aacce41f18d7bc78 | d2c0c223edd9d98005ec32f391100e2b33d6c46f | refs/heads/master | 2020-08-29T12:36:45.416195 | 2019-10-30T14:28:30 | 2019-10-30T14:28:30 | 218,033,275 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,904 | r | run_analysis.R | # 1. Merges the training and the test sets to create one data set.
base_dir = "~/coursera/getting_cleaning_data/"
file_name = paste0(base_dir,"FUCI_HAR_Dataset.zip")
if (!file.exists(file_name)) {
download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip", file_name)
}
data... |
6ace7ffb219f5b95bfff622ad50c99baa78f840d | ae61d13331aac97b5d5f1306300b254eab3f5292 | /plot2.R | f85141e462b9f120dd4fa480c5c91c5ef90d7541 | [] | no_license | KseniaCadaques/ExData_Plotting1 | 17de3f29677bd3b8beee717fa50dbb4102508f98 | 8fcd26d3d9ba13aa5806e5d09d0803302a576d99 | refs/heads/master | 2021-01-22T21:22:20.301037 | 2017-03-19T16:42:37 | 2017-03-19T16:42:37 | 85,417,344 | 0 | 0 | null | 2017-03-18T16:54:17 | 2017-03-18T16:54:17 | null | UTF-8 | R | false | false | 1,459 | r | plot2.R | fileURL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
zipfile <- "exdata%2Fdata%2Fhousehold_power_consumption.zip"
datafile <- "household_power_consumption.txt"
## Checking if the working directory with the script
## does not contain already the data files (either in txt o... |
1287c0061a8c13c2fea9d4b915d9956060ad59e7 | c12893fddae5e96acdfd8fcbc99ffde079a84857 | /slides/ml-basics/rsrc/ml-basic-riskmin-1-loss.R | 127bd8ce88641492143b46f4a564cc93d57ac2bd | [
"CC-BY-4.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-free-unknown"
] | permissive | Pizzaknoedel/lecture_i2ml | 0ddb98f02f27377bf3de73235adb5025fe6630f5 | a630c6608aa642d45439a0742511d47267a61c20 | refs/heads/master | 2023-02-24T19:10:23.075536 | 2021-01-31T11:43:20 | 2021-01-31T11:43:20 | 315,969,310 | 0 | 0 | CC-BY-4.0 | 2021-01-31T11:43:21 | 2020-11-25T14:49:45 | null | UTF-8 | R | false | false | 5,882 | r | ml-basic-riskmin-1-loss.R | ##################################################################
####################Loss in a function ###########################
##################################################################
# Aim: show loss of a single observation
#------------------------------------------------------------------
# Librari... |
e819fc0174178ee88c7c249754bdaec230c604e2 | 87b1d02bffc59280b28d211bbb62258a144c7223 | /man/theme_hmr.Rd | 1bb2acda8ac587fb6b5be2af5835a3667ad55b07 | [] | no_license | jscarlton/jscTools | 811daf35e316bf41bbc62f4a43a16496a69bd1c5 | baf1fb147f3d2db3425243f493b839e7ba0699ca | refs/heads/master | 2023-02-02T20:56:35.176730 | 2020-12-18T15:53:59 | 2020-12-18T15:53:59 | 52,059,335 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 728 | rd | theme_hmr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/theme_hmr.R
\name{theme_hmr}
\alias{theme_hmr}
\title{A theme for plots for the Half Moon Reef paper
Based on ggthemes' fivethirtyeight, but only in that I used that as a shell}
\usage{
theme_hmr(
base_size = 12,
base_family = "Whitney-Me... |
1f22b6250460d39a76d58a10a018b134e7b61623 | 611c6eff6033f6aa943349d485aa68b1a7116d4e | /man/getGBIFpoints.Rd | 18a2c5fe01f0466eb778b68ec5c72cc5cb5030c7 | [] | no_license | cmerow/occCite | 9051d4860c32a33e89af79f6d71851f4e6043800 | 64f839c23f4a1ea543deee796fa270265b266206 | refs/heads/master | 2020-03-31T01:42:32.518824 | 2018-10-06T00:52:55 | 2018-10-06T00:52:55 | 151,784,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 975 | rd | getGBIFpoints.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getGBIFpoints.R
\name{getGBIFpoints}
\alias{getGBIFpoints}
\title{Download occurrence points from GBIF}
\usage{
getGBIFpoints(taxon, GBIFLogin = GBIFLogin,
GBIFDownloadDirectory = GBIFDownloadDirectory, limit = NULL)
}
\arguments{
\item{tax... |
50a64a3a166a34ba09eb0c0ef79c28bd62c5ea13 | e93cf6300b21ad0e89fcfd5d2ce05029c3247952 | /astsa/R/SVfilter.R | 7282c5482558acd3a82df375588444ec3acd8eba | [
"GPL-3.0-only"
] | permissive | wilsonify/TimeSeries | 51a1b80afa512aad4512471d8031049699b890f1 | 0d67fc256e6a406c560711d448f2db3f66203a23 | refs/heads/master | 2023-01-08T17:43:00.863159 | 2023-01-07T16:57:55 | 2023-01-07T16:57:55 | 146,666,517 | 0 | 0 | MIT | 2018-09-25T12:50:18 | 2018-08-29T22:38:08 | Jupyter Notebook | UTF-8 | R | false | false | 1,329 | r | SVfilter.R | SVfilter = function(num,y,phi0,phi1,sQ,alpha,sR0,mu1,sR1){
#
# see: http://www.stat.pitt.edu/stoffer/booty.pdf section 2.2 for details
# y is log(return^2)
# model is h_t+1 = phi0 + phi1*h_t + w_t
# y_t = alpha + h_t + v_t
# v_t is a mixture, see (14) of the above reference... |
ab1ec03d860a70570982637bdacc3bb11215e3bd | 24be4b4c1662427892595214713eb1ffee86929f | /R Code Elementary.R | 4d1214d9a2b310bd4f99d2e047313afd0a079e13 | [] | no_license | MsRaimo/My-first-R-work | 833bb26415a384ce736fe487abd5b675f64d2d1b | 570cfd060c535ed6c4b7b47b1ae3367a6cd7a723 | refs/heads/master | 2016-09-10T08:22:03.493162 | 2015-04-21T14:40:10 | 2015-04-21T14:40:10 | 21,013,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,736 | r | R Code Elementary.R |
#//////////////////////////////////////////////////////////////////////////////
#/// ///
#/// Spring & Spring Medians - READING Grades 3-6 for Templates ///
#/// School, Grade, Program ///
#/// ///
#//////////////////////////////////////////////... |
ecda451595a26cee1b4e66c8265da9c042ee78bc | 0d7bc1c49cabb4b8b6225199413cd2ee8a4c1b93 | /plot1.R | fc3c5b51cb0ac386552bc06ebb36604e55dea094 | [] | no_license | jameshughe5/ExData_Plotting1 | 482ffbd5b4f688d5d36234a26aeca18586c693ef | 911b57669aba010240dcc22dba1a14e9fd85e1c7 | refs/heads/master | 2020-04-24T11:23:50.248382 | 2019-02-21T18:54:10 | 2019-02-21T18:54:10 | 171,923,539 | 0 | 0 | null | 2019-02-21T18:30:06 | 2019-02-21T18:30:06 | null | UTF-8 | R | false | false | 631 | r | plot1.R | # Load data set in R
setwd("~/R/ExData_Plotting1")
dat <- read.csv("~/R/ExData_Plotting1/household_power_consumption.txt", sep=";")
# Convert dates into date class and subset
dat$Date <- as.Date(dat$Date, format = "%d/%m/%Y")
dat2 <- dat[dat$Date >= "2007-02-01" & dat$Date <= "2007-02-02",]
rm(dat)
# Plot a histogr... |
02cd5e71c5e1af47a5d8b00628c151edcfc8bf61 | 4f9b276d0ca918222d7a066bab4ba27336e4581a | /processDefects.R | 12d136762481cca3edf3b8ee00cdbc421db1bbb8 | [] | no_license | traghunath98/automation | 23f86dddf527607d398d5b308868e7429729ac18 | b4d72bdf6fd696927546c43ac5c1d8ef6a0a20e3 | refs/heads/master | 2021-07-19T20:47:29.177317 | 2021-02-21T04:58:45 | 2021-02-21T04:58:45 | 38,445,545 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,631 | r | processDefects.R | ## The objective of these sets of functions are to automate the process of analysis of defects
## First we will read the defects from a CSV file into a data frame. We will then transform the
## the data frame to give us the necessary critical insights.
## All graphs must be generated at the click of a button.
##
... |
4a39b51215105b150d8c870ea2dd22c2f4184bb0 | fe705643e2a84e96b8bfb6bc906e2900c2a35427 | /R/pca_transformation_matrix.R | 33ef167cd2e0624c85cb9d840e3425c421dd5a46 | [] | no_license | cran/panelvar | 819f61afaf1c8f5d8672d4504596bc76a9b7f4d6 | fc1f301a808220594b9b7ce7edecb0beaea05f72 | refs/heads/master | 2023-01-22T10:50:46.918230 | 2023-01-05T16:40:05 | 2023-01-05T16:40:05 | 127,956,201 | 7 | 3 | null | null | null | null | UTF-8 | R | false | false | 5,481 | r | pca_transformation_matrix.R | # PCA Transformation Matrix
#
#@param corrected_instruments_F
#@param nof_categories Number of categories
#@param nof_predet_vars Number of predetermined variables
#@param nof_exog_vars Number of exogeneous variables
#@param system_instruments System GMM estimator
#@param system_constant Constant only available with t... |
c0ac44c706419fb0cb5c1b1771e88155f6abf8a8 | db3a029c4711f7bb2b469d61b3a117687f936161 | /Code/geneticPCA.R | c8f9d7af6754a6ea494692e9551c19c28e7296c9 | [] | no_license | KatiePelletier/WingShapeBSA | 455d0f6750c3ca62aae6b6044d84412ab4909eeb | 42913eb33502269b74c4728f41de18c3203b418c | refs/heads/master | 2023-02-24T09:56:51.615109 | 2023-02-14T14:32:03 | 2023-02-14T14:32:03 | 236,039,708 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,327 | r | geneticPCA.R | #trying to run SMARTPCA for the paper. Using the smartsnp package.
library(smartsnp)
library(tidyverse)
crap <- fread("../Data/wildpops_controlPool.snp")
# pathToGenoFile = system.file("extdata", "dataSNP", package = "smartsnp")
#
# my_groups <- as.factor(c(rep("A", 50), rep("B", 50))); cols = c("red", "blue")
#
... |
1a8e77bc07a23cb20c7b58eca451f13e4dbb50c2 | c44fd560a56404c54713849ecbd1cdf6a93ab10e | /specdata/pollutantmean.R | d2664490aa2d1e974e636de890ea2477b36e2418 | [] | no_license | tensoriel/GettingCleaningData | e4c3def9d568a2d53f099a5b43f78d2813cacdbb | 7aef5afb23effd92adf671b758e160244655a14e | refs/heads/master | 2016-09-10T14:08:34.430766 | 2014-09-08T23:10:50 | 2014-09-08T23:10:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 545 | r | pollutantmean.R | pollutantmean <- function(directory, pollutant, id=1:332) {
files_list <- list.files(directory, full.names=TRUE) #creates a list of files
dat <- data.frame() #creates an empty data frame
for (i in id) { #loops through the files, rbinding them together
... |
9c43d60cdebab25b981b4749b389441b486ef3e3 | 6d5a1542336fa6e14bf44121529c7b1a900d60f0 | /opt/gurobi501/linux64/examples/R/qcp.R | d931167500e489777fdb893f020586eed596ee20 | [] | no_license | revisalo/cr2 | 35566874efe3459147635c29106d7b0a7fcd0a02 | e7b3d5993d4ee0901b138e52388b146103001d51 | refs/heads/master | 2020-12-30T09:26:10.284537 | 2012-11-14T14:45:20 | 2012-11-14T14:45:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 749 | r | qcp.R | # Copyright 2012, Gurobi Optimization, Inc.
#
# This example formulates and solves the following simple QCP model:
# minimize
# x^2 + x*y + y^2 + y*z + z^2
# subject to
# x + 2 y + 3z >= 4
# x + y >= 1
# t = 0.7071
# [ x ^ 2 + y ^ 2 - t ^ 2 ] < =... |
ffde1a245443a97da64e3358f0ce508687ddacaf | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googleadexchangebuyerv13.auto/man/Account.Rd | ac2777e29f37d636b096ddf97abf09dff5e682aa | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,848 | rd | Account.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adexchangebuyer_objects.R
\name{Account}
\alias{Account}
\title{Ad Exchange Buyer API Objects
Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.}
\usa... |
de7a229786457aab7b521e97afae95496d1db4c4 | 88f22a2d2341215dacb12df2c36bbf263962e2d3 | /scripts/get_pred_stat.r | 5cd35056b872bc7069414fcdbff7b653db02fd09 | [] | no_license | pdworzynski/dropEst | a5e3c79ea28382c65f54626cb202bab1ea9ba5a5 | add6588a1cd13cd8eb809abc70da66354c005c1b | refs/heads/master | 2021-01-25T00:33:08.093011 | 2018-02-28T15:21:38 | 2018-02-28T15:21:38 | 123,300,878 | 0 | 0 | null | 2018-02-28T15:03:38 | 2018-02-28T15:03:37 | null | UTF-8 | R | false | false | 420 | r | get_pred_stat.r | #!/usr/bin/env Rscript
umigs_count <- c(1, 2, 3)
reads_count <- c(4, 5, 6)
for (i in 0:99) {
filename <- paste0('SRR1784310_cv_', i, '_0.rds')
rds <- readRDS(filename)
umigs_count <- c(umigs_count, length(rds$reads_by_umig))
reads_count <- c(reads_count, sum(rds$reads_by_umig))
print(i)
}
df <- cbind.data.... |
e2408585302ca0e3c242d3d11114d7c2450a19cf | 03724428d202ac5139940bbcaa0f9808ef6641b8 | /Practicas-R/Distancias/distancias.r | f62ce906d205aab9b60c8993e630a44bdc934803 | [] | no_license | R0beat/R | ee8c0e32eac08015e8437e1460367f4a8d1a7255 | b8d7df3548a3e52d793bc1e38aa5fb379bc22c38 | refs/heads/master | 2023-06-11T20:51:32.286181 | 2021-06-22T14:37:21 | 2021-06-22T14:37:21 | 331,485,402 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 420 | r | distancias.r | distancias1 <- read.csv('./distancias_mex1.csv',header=FALSE)
distancias2 <- read.csv('./distancias_mex2.csv',header=FALSE)
distancias3 <- read.csv('./distancias_mex2.csv',header=FALSE)
data <- rbind(distancias1,distancias2,distancias3)
################################################
set.seed(2020)
colnames(data)=dat... |
970d568d11879c1a202587a34b7a51617ed93a8d | 60e8554041e3c3d75a6afcaf9dd3b5b053cd70d1 | /R/gui-functions.R | 407931cd1c2b34d8812254cf5d79ec96ce1d8b59 | [] | no_license | dkidney/gibbonsecr | 34805be54baa87642ef10a850478cc069eff69e3 | 93b6be93bd3392ef4668511f40f2a7c139c13b7a | refs/heads/master | 2021-05-16T02:23:40.499150 | 2019-01-27T20:24:07 | 2019-01-27T20:24:07 | 41,083,427 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 21,258 | r | gui-functions.R | ## -------------------------------------------------------------------------- ##
## -------------------------------------------------------------------------- ##
# centre a tcl window
center_window = function(tt, w = 100, h = 100){
# w = as.numeric(tclvalue(tkwinfo("width", tt)))
# h = as.numeric(tclvalue(tkw... |
1883484f10604650f8da5f2c759b8234005f910c | a27bb0900bd6279e1eb919cd97ef7c90f2a03615 | /Rcode/IPMs (modified from ShethAngertPNAS)/02_Estimate_lambda_IPM.R | c6d2486f3b49b4d35da500940549f0038b1d1c9f | [] | no_license | mattjbayly/transplant_analysis | 0bbb7090121f750d5b72c0c9911e1679ab40b02a | 56fc391f061e0a46d08556d9c87ffa2ca7ede3f7 | refs/heads/master | 2021-03-27T19:57:01.807027 | 2019-04-16T14:22:31 | 2019-04-16T14:22:31 | 115,833,660 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,830 | r | 02_Estimate_lambda_IPM.R | #### PROJECT: Mimulus cardinalis northern transplant 2015-2016
#### PURPOSE: Create data frame of vital rate parameters and build integral projection models
############# Obtain estimates of lambda for each transplant site
#### AUTHOR: modified from Seema Sheth (Sheth & Angert 2018 PNAS)
#### DATE LAST MODIFIED: 20180... |
994d22f8e88ddf9c0daf6640aa7831e4d2a1439d | d33d59cc443f48e4477793a38bdfd04f833995a5 | /test/internals/libproc/tst.plddGrabPIE32.r | 7c77a2dfe69df88dbfc8ad5461a6a2ac67047fe8 | [
"UPL-1.0"
] | permissive | oracle/dtrace-utils | a1b1c920b4063356ee1d77f43a1a0dd2e5e963c3 | b59d10aa886c2e5486f935c501c3c160a17fefa7 | refs/heads/dev | 2023-09-01T18:57:26.692721 | 2023-08-30T21:19:35 | 2023-08-31T20:40:03 | 124,185,447 | 80 | 20 | NOASSERTION | 2020-12-19T13:14:59 | 2018-03-07T05:45:16 | C | UTF-8 | R | false | false | 344 | r | tst.plddGrabPIE32.r | : dyn {ptr}, bias {ptr}, LMID 0: symbol search path: (, /lib/libc.so.6, /lib/ld-linux.so.2)
/lib/libc.so.6: dyn {ptr}, bias {ptr}, LMID 0: inherited symbol search path: (, /lib/libc.so.6, /lib/ld-linux.so.2)
/lib/ld-linux.so.2: dyn {ptr}, bias {ptr}, LMID 0: inherited symbol search path: (, /lib/libc.so.6, /lib/ld-l... |
1c24617c8d8851b24ae8e606b18a6eb6913315e2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/historydata/examples/tudors.Rd.R | 4bf1c689126db9c72b351ed12bdc1b4f93a61b68 | [] | 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 | 142 | r | tudors.Rd.R | library(historydata)
### Name: tudors
### Title: Tudor dynasty
### Aliases: tudors
### Keywords: datasets
### ** Examples
data(tudors)
|
89f3fb8601191173d11e7fe1dfcd7d60aa6492ae | 0f78a0bea50983a26d16ad50446da0d882467b1e | /R/data.R | a1e275f48cf88398aa973642195ba03c68533025 | [] | no_license | samstearns/mssp | 08f5fa57d4249a3064eea1586c984794682d44a8 | e5bef6d8a2f101a4c19e5a4875f4ab7f9b53888f | refs/heads/master | 2023-01-24T07:33:07.169268 | 2023-01-14T05:57:59 | 2023-01-14T05:57:59 | 73,012,816 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,719 | r | data.R | # List of years and URLs, in descending order
years <- c(2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013);
per_capita_exps <- tolower(c("CapAnn_INP_All", "CapAnn_INP_S_trm", "CapAnn_INP_Rehab", "CapAnn_INP_Psych",
"CapAnn_HSP", "CapAnn_SNF", "CapAnn_OPD", "CapAnn_PB", "CapAnn_AmbPay",... |
6c4cafdd4f31fc48daf101a0e6425f3902dc7474 | 36332b7f1e72c0cfcb1d2b4f35bb9f7f6a785194 | /전처리 과정.R | 9debc0b19d398eb36a944543c2e71eef8ea95eac | [] | no_license | Ji2z/TextMining-Smishing_Filtering | d3d8e5c7f303fdb12c41d15fd15e3bc49b9ded01 | 90f4e37b2aa1603e8a12e9d9614bca6c284e6ce2 | refs/heads/main | 2023-06-02T03:57:18.202775 | 2021-06-25T07:44:05 | 2021-06-25T07:44:05 | 380,155,286 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,040 | r | 전처리 과정.R | ## 전처리
library(KoNLP)
library(stringr)
library(tm)
useSejongDic()
##파일 불러오기
ding <- readLines("Dingdong.txt")
head(ding)
##중복제거, 특수기호 제거
ding2 <- unique(ding)
ding2 <- str_replace_all(ding,"[^[:alpha:][:blank:]]"," ")
head(ding2)
##단어로 분리후 영어제거
ding2 <- extractNoun(ding2)
ding2 <-lapply(ding2,func... |
aaa17115580114be2ca380bf9a8be026da4eccc5 | 6713b68c912af377c741b26fe31db0fe6f6194d4 | /2nd Term/Statistics_Econometrics/Slides/Lecture 6 - Model and data issues/Model and data issues_part II.R | 2fbeecbff53e8197ae20bd68bb1eb54751b9098d | [] | no_license | Lanottez/IC_BA_2020 | 820e8d9c1dbb473ed28520450ec702f00c6684ed | 8abd40c6a5720e75337c20fa6ea89ce4588016af | refs/heads/master | 2023-08-25T05:52:08.259239 | 2021-11-03T07:27:11 | 2021-11-03T07:27:11 | 298,837,917 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,138 | r | Model and data issues_part II.R | library(ggplot2)
library(dplyr)
#### Non-random sample
load("bwght.RData")
data <- data %>% mutate(rich = ifelse(faminc > median(faminc), 1, 0))
data$rich <- as.factor(data$rich)
ggplot(data, aes(x = cigs, y = bwght, color = rich)) + geom_point() +
geom_smooth(method='lm') + scale_color_brewer(palette="Set1")
data... |
3fdbcb966559b44380abcd9686564bbb58f722e7 | d31906739e666f15ac64dc5ddc8e45522490eb5e | /ui.R | bed3bfd1593db5b6fe820ee84db3f45026a42672 | [] | no_license | michbur/butterflier | 77598a5ff718c7ac0f3c736c21f8df19662c9d89 | 8393b1ee63588527afe5c6f94a66a46b214db7ff | refs/heads/master | 2021-01-01T15:23:32.350466 | 2014-11-06T10:04:24 | 2014-11-06T10:04:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 622 | r | ui.R | library(shiny)
shinyUI(pageWithSidebar(
headerPanel("Butterflier"),
sidebarPanel(
radioButtons("what_plot", "What do you want to plot?",
c("Heart" = "heart",
"Butterfly" = "butterfly")),
numericInput("number_points", "Number of points:", 1000,
min = 100,... |
db08bd9d1a7bd8f051d047b6af60d50cc2b5382f | e655973fd50b63bdc47df5923aed1d31053344ad | /code/02_penguins.R | 4e93b7df547b7de0db4d80a59e691c10f6647f4e | [] | no_license | emmadunne/R-Basics | 128086c4c3d28d2909515c3b82699270d2280190 | ca79b9a7bdacb8b5bc8e22201ea872bddc277a3c | refs/heads/main | 2023-08-29T21:11:21.315365 | 2021-11-08T14:14:40 | 2021-11-08T14:14:40 | 311,338,463 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,111 | r | 02_penguins.R | # ******************************************************
#
# R Basics: Getting started in R & RStudio
#
# - E. Dunne 2021
#
# ______________________________________________________
#
# 2. Plotting the Palmer Penguins!
#
# ******************************************************
## For this plotting tutorial, we'll... |
48520859622a2fd1705571718182a08a48e1e847 | a6ac32e43c91a3e4594685a585455ebe89c9a04e | /man/findRoot.Rd | 108913c28262d4282deb0e0df16dd2932f09356f | [] | no_license | heibl/megaptera | 6aeb20bc83126c98603d9271a3f1ae87311eedc1 | 5e8b548b01c40b767bd3bb3eb73d89c33b0bc379 | refs/heads/master | 2021-07-08T16:44:30.106073 | 2021-01-11T13:58:04 | 2021-01-11T13:58:04 | 55,764,237 | 5 | 0 | null | 2019-02-13T13:50:43 | 2016-04-08T08:44:44 | R | UTF-8 | R | false | true | 760 | rd | findRoot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/findRoot.R
\name{findRoot}
\alias{findRoot}
\title{Lineage Down to the Root}
\usage{
findRoot(x, what)
}
\arguments{
\item{x}{An object of class \code{\link{megapteraProj}}.}
\item{what}{A character string, either \code{"ingroup"}, \code{"ou... |
f9eb5edccbe332289763fbb662e962b1469ea78c | d080effd2b36deb9be0e0e7d9fed15267adccea1 | /R/offspring.R | 4e4406feb93e1a6a94b64e0c0af01ab1b92e5dc7 | [] | no_license | xiangpin/tidytree | cf2246e2746a50b493ed0295ad35738917888087 | ea4bf11d0b2f45312a22afad10c1b3f397248a5c | refs/heads/master | 2023-08-18T02:11:11.826299 | 2023-07-15T07:57:00 | 2023-07-15T07:57:00 | 227,064,787 | 0 | 0 | null | 2019-12-10T08:19:15 | 2019-12-10T08:19:14 | null | UTF-8 | R | false | false | 2,324 | r | offspring.R | ##' @method child tbl_tree
##' @export
##' @rdname child
##' @examples
##' library(ape)
##' tree <- rtree(4)
##' x <- as_tibble(tree)
##' child(x, 4)
child.tbl_tree <- function(.data, .node, ...) {
valid.tbl_tree(.data)
if (is.character(.node)) {
.node <- .data$node[.data$label == .node]
}
.da... |
1385e2e3ea99e740bcd9584d3ce64a4ce6e4d851 | cb67ef36ed6beb359ef05e1987393a50b0717c5e | /flashcards_anki.r | f2c58d0d23c0e24655b9ea90ee92e1cbdb3edabd | [] | no_license | AMChierici/study_notes | 8b368c5eacd553281038f3e7a85bd4db82ac5fd7 | ac12f82aa9dd40e28634b43faaae0899036600e0 | refs/heads/master | 2020-04-15T11:13:52.068093 | 2013-09-19T12:32:00 | 2013-09-19T12:32:00 | 41,672,226 | 0 | 3 | null | 2015-08-31T11:40:27 | 2015-08-31T11:40:26 | null | UTF-8 | R | false | false | 565 | r | flashcards_anki.r | ct2_card_number_f <- 2*(1:{466/2}) - 1
ct2_deck <- paste("<img src=\"ct2_Page_", sprintf("%03d", ct2_card_number_f), ".png\">;<img src=\"ct2_Page_", sprintf("%03d", {ct2_card_number_f + 1}), ".png\">", collapse = "\n", sep = "")
write(deck, file = "c:/matt/temp/ct2_deck.txt")
st8_card_number_f <- 2*(1:{562/2}) - 1
... |
6efdf44f9a63a54b3e9afa5d566cedaf881d397e | e20ae46b59c09099a3b49e1ea018dfc855c11541 | /R/data_documentation.R | 5ab29f99987f06357a93f84bab1d5f7e02cb1b0d | [] | no_license | Daenecompass/eliter | a081eb7f89ab34e9f2e34c3937e791c60a776873 | 884885a2e747e6cbb9560d4b11851ddc4e7c640b | refs/heads/master | 2023-03-17T18:19:04.883599 | 2020-11-16T21:25:50 | 2020-11-16T21:25:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,698 | r | data_documentation.R | #' Danish Power Elite Careers
#'
#' A set of sequences
#' @name careers
#' @doctype data
NULL
#' Danish Elite Network 2012/2013
#'
#' A affiliation network
#'
#' @name den
#' @docType data
NULL
#' Power Elite 2013
#'
#' A propopographic dataset on the Danish power elite in 2013
#'
#' @name pe13
#' @docType data... |
7bf4d4dc5ab16279aca84d4942d4a92195f0064b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/unrepx/examples/examples.Rd.R | ca4b7916fdbcae351fe304b471543e2a52335fac | [] | 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 | 694 | r | examples.Rd.R | library(unrepx)
### Name: pdEff
### Title: Effect examples
### Aliases: pdEff bikeEff viseEff shnkEff shnkDisp
### Keywords: datasets
### ** Examples
require("unrepx")
parplot(bikeEff, method = "Zahn")
opar <- par(mfcol = c(1,2))
hnplot(shnkEff, half = FALSE, main = "Normal plot")
hnplot(shnkEff, half = TRUE,... |
d0bc3256bc00ed735cacb53b11ef800521f8a288 | 06b9d2ece554bda6b4402785bc9c7b7a627a6c2f | /man/plotZScoresForFleets.Rd | f7840ae3a0204bde3fe68c1fa7e2394ea1223347 | [
"MIT"
] | permissive | wStockhausen/rTCSAM2015 | 4f2dd392b32d9a3ea9cce4703e25abde6440e349 | 7cfbe7fd5573486c6d5721264c9d4d6696830a31 | refs/heads/master | 2020-12-26T04:56:03.783011 | 2016-09-30T01:59:06 | 2016-09-30T01:59:06 | 26,103,387 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 680 | rd | plotZScoresForFleets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotZScoresForFleets.R
\name{plotZScoresForFleets}
\alias{plotZScoresForFleets}
\title{Plot model fits to abundance, biomass and size frequencies as z-scores for fleet data components}
\usage{
plotZScoresForFleets(repObj, type = "fishery", sh... |
e6031b47d3dbbab79807a45dc2d31d4f55cd0f61 | 6096980be53d6fe90e3c189474257762eb2a1159 | /man/SamplingDist.Rd | e343a89ebf33f02dcc162ba1881b469d2a99a37e | [] | no_license | Doctor-Gunn/DSTools | 666d9e1f1600dbbf189303fd3fd25411f868bc07 | c398006865ddb114903285d571fb0d110991b253 | refs/heads/master | 2021-04-27T12:33:10.752928 | 2018-03-08T00:32:14 | 2018-03-08T00:32:14 | 122,420,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 361 | rd | SamplingDist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SamplingDist.R
\name{SamplingDist}
\alias{SamplingDist}
\title{Generates a poor man's sampling disribution}
\usage{
SamplingDist(samples = 50, sample_size = 100)
}
\arguments{
\item{samples:}{Specifcy how many samples to run}
\item{sample_si... |
1abda52aa491affc50ea2ed5194b3553e25782f1 | 2bef884993087187e8b7dd0928d595c0f99dbe29 | /man/dart.Rd | b2e67163f3d15a2f61fde7db1b0abb8d878f7eb5 | [] | no_license | dwnadler/rEHS | 5885662d3cce2d7ab7fe0fb6be145de9dcfce1b8 | aed15f6f584e244dd76ab5768e9060300d8a58d4 | refs/heads/main | 2023-08-19T09:05:09.885111 | 2021-09-24T21:00:34 | 2021-09-24T21:00:34 | 405,216,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,766 | rd | dart.Rd | \name{dart}
\alias{dart}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Days away/restricted or transfer rate
}
\description{
A calculation that describes the number of recordable injuries and illnesses per 100 full-time employees that resulted in days away from work, restricted work acti... |
c8877fb0f84b871fc8d5100ab10949840c076de5 | d3d2fbf3eaf7075f4679997c422fefaa5d524f67 | /Visualization Techniques.R | b1b54e015cfea593e56ccce750c10dbef287659e | [] | no_license | harshitsaini/Business-Analytics-Data-Mining | eaca89f755d15ecbb580be57e2ff95a725086a33 | 9a0613906c2a7f945cbd2a2855d07dc9b2e98778 | refs/heads/master | 2021-04-03T09:12:41.303022 | 2018-04-23T12:22:37 | 2018-04-23T12:22:37 | 125,231,756 | 15 | 5 | null | null | null | null | UTF-8 | R | false | false | 3,837 | r | Visualization Techniques.R | library(xlsx)
df1= read.xlsx(file.choose(),1, header= T)
df1= df1[,!apply(is.na(df1), 2,all)]
Age= 2017- df1$Mfg_Year
df1= cbind(df1,Age)
dffb= df1
df1= df1[,-c(1,2,3)]
head(df1)
str(df1)
df1$Transmission= as.factor(df1$Transmission)
df1$C_Price= as.factor(df1$C_Price)
str(df1)
summary(df1)
dfb=df1
df1=df1[-23,]
df... |
472aebb4e8339c5ac52bf9637d229a812521fcd6 | 6aaa50057d1b671b491761e6f4eb968ddf576825 | /DA_scripts/generate_most_likely_outcome.R | c4a5a54c908bd933205e14dd5affcf913841ba51 | [] | no_license | mingkaijiang/EucFACE_carbon_budget_paper | 6414e4c5c31c892ce2b56fc28cdc99b617cc2b4d | fa9c3e402c537936f6bd87fd9ac5ed46d04633c9 | refs/heads/master | 2021-08-17T03:15:22.341518 | 2020-12-28T23:10:52 | 2020-12-28T23:10:52 | 237,180,253 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,071 | r | generate_most_likely_outcome.R | generate_most_likely_outcome <- function(inDF, obs) {
### prepare output
outDF <- inDF[3,]
ncol <- ncol(outDF)
for (i in 1:ncol) {
myden <- density(inDF[,i])
outDF[1,i] <- myden$x[which.max(myden$y)]
outDF[2,i] <- mean(inDF[,i])
outDF[3,i] <- m... |
a1ceccf68601aa16df8854d96ebe21b0dc650757 | 8313157297eca4c7fe2628497268095fc0612d1f | /RHadoop/RCaseStudyUpdated/Scripts/13.r | 57de5faca06ca2d4e2d1f9751d3a77eabd501064 | [] | no_license | jayaise/bigdata-Raj | 0ea82fbf4da4020c2d80a10889d8da5eb18b0ce2 | 9bff03009522f082e9b9a6e048e209cd50d9fa0a | refs/heads/master | 2020-05-16T13:10:53.496322 | 2019-04-23T18:51:08 | 2019-04-23T18:51:08 | 183,067,349 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 739 | r | 13.r | # create table, load data
rhive.execute("create table avg_recharge as select phone_number, (total_recharge_amount/12) as monthly_avg_recharge, plan_type from RHive_Username.user_sales")
# create table, load data
rhive.execute("create table RHive_Username.combo_offer_list as select phone_number, x.monthly_recharge fr... |
07e82253f26334c5b51cfa13a0ce97d62a772d75 | 3a6894fcd504c2843d9162cc57df2b073cb92d63 | /cachematrix.R | 9f1ed4dff24370d868c0d1b72e6cc9fcfc5546a7 | [] | no_license | Batte/ProgrammingAssignment2 | 9defea8c7f3a4ced3a07cff34251af564ef7a253 | 7dad9b1ce5daaffd7122763fdcb48b477cb439c8 | refs/heads/master | 2021-01-19T20:49:02.464442 | 2014-07-27T17:48:09 | 2014-07-27T17:48:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 859 | r | cachematrix.R | ## makeCacheMatrix creates 4 atomic functions
## set the value of the supplied matrix, get the matrix
## return the inverse of the matrix, from cache if possible
## otherwise calculate the inverse and cache the results
makeCacheMatrix <- function(x = matrix()) {
s <- NULL
set <- function(t) {
x <<- t
s <<-... |
6e86202a86b69cc09480a1598ecd5c71785471c9 | aeb9c1b695b40727c7cb70019ba67a3cbbd03cf2 | /docssource/rhelp/schoolexam.Rd | 2d6bc8b96ef1e0fc6765b0a4e9764f6648e446d3 | [] | no_license | gamlj/gamlj.github.io | ed589b9ac86903902ab55ebbbacffe03afe9b5e4 | d774d46b64040cee63a834d939538a816b6db0b9 | refs/heads/master | 2023-06-14T14:27:12.453343 | 2023-06-12T17:33:25 | 2023-06-12T17:33:25 | 183,435,098 | 2 | 3 | null | 2023-06-12T16:12:02 | 2019-04-25T12:59:14 | CSS | UTF-8 | R | false | true | 405 | rd | schoolexam.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{schoolexam}
\alias{schoolexam}
\title{Clustered data for logistic regression}
\usage{
data(schoolexam)
}
\description{
Simulated data for testing logistic mixed models.
Simulation of pupils data clustered across s... |
1176050bbbfd80301c311d88cdd928e3fbefb04e | 660cdaae5d32b0abbfdbb400fa22db5ce5cefc3a | /R/prepareforest.R | 669e12612242ffdf7fad47a275ad89ebed7d42c2 | [] | no_license | Riodinino/TROLLmsc | 19d3a9ad9c762af37edab19de13c9b121b2007c2 | cf06915f673adae5a02bd2164bb2f109f472a63d | refs/heads/master | 2020-03-15T13:28:25.305461 | 2018-05-16T23:48:58 | 2018-05-16T23:48:58 | 132,167,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,867 | r | prepareforest.R | #' @import tidyverse
library(tidyverse)
#'
#' Title
#'
#' @param data data.frame ; Basically the censuses for the plot you want to work on.
#' @param year Integer. The year corresponding to your simulation startpoint.
#' @param censuscol Character. Name of the column indicating the censuses years.
#' @param label Chara... |
8b3abdfe309e4360e0ed1dc7f77b9c126860b7d5 | 43a70fcc3c3558b2fc9296eb178fa4e215d3d756 | /R/wedge_excess_mortality_array.R | 729f3afe990473417e131e89b2ac1de9ad506286 | [] | no_license | laurettemhlanga/PopulationSimulation | ef1a166b3db12866e8daee739b66a0f290fc3014 | 9e7d4c3df4438f15cf5177612ed4ab551cb7a83b | refs/heads/master | 2021-12-23T15:23:23.017571 | 2021-08-09T15:18:07 | 2021-08-09T15:18:07 | 166,325,128 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,539 | r | wedge_excess_mortality_array.R |
#' wedge_excess_mortality_matrix
#'
#' a function that returns a matrix of probabilities of mortality for each age and time step of the simulation
#'
#' @param n_age_steps the optimal age each birth cohort is reaches
#' @param list_of_times a numeric vector of length min:max; indicates the range of ages to be included... |
9304944272544feda15ba8bc5181129369dea316 | 80b3a7af905335d4e04bc1644c93589a881e3634 | /tests/testthat/test-tabulate_throughputs_by.R | 8faf214722790826e67cd254db8588daca309e05 | [] | no_license | BAAQMD/qtytools | 53a19738fcce07c9aa71d3a9cb3f605bc8eddf58 | cf396ec102f1b071f65ee0588f9b1bc0c906c14a | refs/heads/master | 2022-07-12T13:21:17.251252 | 2022-04-05T17:54:25 | 2022-04-05T17:54:25 | 131,063,856 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 399 | r | test-tabulate_throughputs_by.R | context("tabulate_throughputs_by")
test_that("tabulate throughputs by year", {
tabulated <-
tabulate_throughputs_by(
ems_and_tput,
year)
expected <-
ems_and_tput %>%
sum_throughputs_by(
year) %>%
tidyr::spread(
year,
tput_qty) %>%
dplyr::select(
`1991`,
... |
6eba240d93089783bc4810797ab1a8d5cf50eb47 | 8da9625871ae207aa2c943240a666c10f1708358 | /Noro_mash_lines.R | 9383dcf60645487cf92c09fead8c3c87fa073212 | [] | no_license | nvpatin/Norovirus_manuscript | 55f797b542e54b7e5de2a21c4f6b8109940a29ca | 767fbf7c5b1712ea521f5246722e7f11657957b9 | refs/heads/master | 2023-01-30T09:49:31.621911 | 2020-12-17T21:01:02 | 2020-12-17T21:01:02 | 289,370,477 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 899 | r | Noro_mash_lines.R | library(ggplot2)
df <- data.frame(noro_mash_T0)
line_types <- c("Mash Distance"=1, "NoV Titer"=2)
p <- ggplot(data=df, aes(x=Day, y=1000*Mash_dist, group=Individual)) +
geom_line(aes(color=factor(Individual), linetype="Mash Distance")) +
theme_classic() +
scale_x_continuous(breaks=c(0,3,6,9,12,15,18,21,24,27... |
5327c0cb67501ea6537008d0729cfc96a83026f8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/covr/examples/codecov.Rd.R | d4e6f662d3682c5d8da9b773b5224f9c32391dc7 | [] | 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 | 201 | r | codecov.Rd.R | library(covr)
### Name: codecov
### Title: Run covr on a package and upload the result to codecov.io
### Aliases: codecov
### ** Examples
## Not run:
##D codecov(path = "test")
## End(Not run)
|
9a6cc9095b4b3b456e8532c559269fc794bdba56 | 29ced85982f8f7739f6b4df28f042c2299456549 | /Navigation/CalEff.R | 1131c3d87f25a06febf6cf98433268d8e066fecc | [] | no_license | ATLAS-HUJI/R | f5a056f5b9e82b277a2c1f41ad3c9f746e585fe1 | d74b5d21c7b8e70e42620633159bad6e887b391b | refs/heads/master | 2021-01-24T02:15:51.298877 | 2018-10-16T13:11:48 | 2018-10-16T13:11:48 | 122,840,774 | 4 | 3 | null | null | null | null | UTF-8 | R | false | false | 502 | r | CalEff.R | #function to determine track efficency over a set of x,y coordinates
#code by Ingo Schiffner
CalEff <- function (x,y)
{
#remove na values
x_n<-x[!is.na(x)]
y_n<-y[!is.na(y)]
#get track length
xd<-diff(x_n)
yd<-diff(y_n)
TrackLength<-sum((xd^2 + yd^2)^0.5)
#get beeline distance
xb<-... |
3c657fecc25de857acc6bbcb4bf5580251029a4e | 54f97a3df0b3c48f511a6541eaa18b5bbc213319 | /R/utility_functions.R | 3176dec7a72bbdec021d5cb3e9b6eaa8be4f79cc | [] | no_license | ethanwhite/prism | cb73c1cbe8f1b2decad032199bc2a45ed9daf61e | 365bae6077b0ffe4eba7af8dacca9ca0177444e1 | refs/heads/master | 2021-01-24T15:06:42.263954 | 2015-07-06T21:40:57 | 2015-07-06T21:40:57 | 38,751,449 | 0 | 0 | null | 2015-08-03T13:22:07 | 2015-07-08T12:03:16 | R | UTF-8 | R | false | false | 5,462 | r | utility_functions.R | #' @title Get daily data file names for last 2 years
#' @description Utility function to download all filenames
#' for the last two years. This is to determine which are
#' currently showing as provisional, early, or stable.
#' @inheritParams get_prism_dailys
#' @param frequency \code{character} for the frequency. On... |
1f1a7a1dfd40290013af795dd0bb999fb1e87696 | 5458181b0f0baba0b924cc1178c4e9327aeb866d | /nhanes-analysis/activity.R | 8d2e19a8007e7562d2be6c618a3064d5a08f8b1b | [
"MIT"
] | permissive | creiland/demos | cd41ac2ea578a09e9467e27b74bb589524dcda22 | f419fb63288d6a0488c7752ffa5b2a104721c451 | refs/heads/master | 2021-01-12T02:02:35.421755 | 2017-03-01T19:04:37 | 2017-03-01T19:04:37 | 78,460,358 | 0 | 0 | null | 2017-01-09T19:17:14 | 2017-01-09T19:17:14 | null | UTF-8 | R | false | false | 1,345 | r | activity.R | # Calculate survey weighted estimates
# Set up
setwd('C:/Users/creil/Desktop/Winter 2017/Info498/demos/nhanes-analysis')
# library(foreign)
library(survey)
library(dplyr)
library(Hmisc)
# Load demographic data, which includes survey weights
demographics <- sasxport.get('./data/DEMO_H.XPT')
# Load alcohol use data
al... |
3f59f536b7b6c2ce2ad45d4cbefa4fe3bd9699ca | 9ee587651e82c3efdf58036364c197829ffa57e1 | /Chapter1_FineScaleAcousticSurvey/PreliminaryAnalysis_RecordingInterference/HOBODataOrganising.R | d1d53f4f0c0fef2238cd90ec78473fb7adc444f1 | [
"Apache-2.0"
] | permissive | QutEcoacoustics/spatial-acoustics | 7f0fd2af6663200ab529a2f8979eec56a0bf2e40 | 5e8eaba29576a59f85220c8013d0b083ddb70592 | refs/heads/master | 2023-04-15T09:50:44.063038 | 2023-03-14T23:36:36 | 2023-03-14T23:36:36 | 222,621,976 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,755 | r | HOBODataOrganising.R | library(tidyverse)
dir <- setwd("C:/Users/n10393021/OneDrive - Queensland University of Technology/Documents/PhD/Project/Fieldwork_Bowra/Aug2019_HOBOS/backup")
dt <- read.csv("output/HOBOTEMPRH9_BOWRA_WB.csv") %>%
mutate(., "rec" = "13", "point" = "025", "transect" = "WB") %>%
write.csv(., "output/HOBOTEMPRH9_B... |
2dac5ae5972cae3a8afd8c257e91d3217b9f9c03 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/stringi/examples/stri_match.Rd.R | 2d978758e84633ce7c5a793e1c0dddf0b8b6822d | [] | 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,267 | r | stri_match.Rd.R | library(stringi)
### Name: stri_match_all
### Title: Extract Regex Pattern Matches, Together with Capture Groups
### Aliases: stri_match_all stri_match_first stri_match_last stri_match
### stri_match_all_regex stri_match_first_regex stri_match_last_regex
### ** Examples
stri_match_all_regex("breakfast=eggs, lunch... |
5c3e2add9c279aab9e379c5bce3731e24222d0fd | 642d338221f44aad742b39230cffcbc297f48306 | /R/cbf_pcasl_Chen2011.R | 22c104d28075848f0b126dff833bd0a7ab27b657 | [] | no_license | stnava/itkImageR | 3577ccb5785893c510f6e0fabd6a68d5d6c095a2 | 8b218e81d8e3cc642c8891a4eb4c43dc941cf870 | refs/heads/master | 2016-09-05T14:29:26.851337 | 2013-11-25T22:53:34 | 2013-11-25T22:53:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,687 | r | cbf_pcasl_Chen2011.R | # chen 2011 paper pCASL --------------------------------------------------------------------------------------
cbf_pcasl_Chen2011 <- function(motionCorrectedImage, mask) {
# img <- antsImageRead( aslimg_filename , 4 , 'double' )
# moco_results <- motion_correction( img )
# img <- as.array( moco_results$moco... |
b94b385a464c1e7d0300a37fc764f91bbfb24bac | def6fc453320cea291f9359d67746f613d019760 | /man/ls_migration.Rd | 7d238a6769f9b17b9e7e82d0cfe52a05d04e7cf7 | [] | no_license | piLaboratory/GillesCom | 898380f6a10b9e04233dea867afdacda152ab47d | 63466aa2a445bc68c73ebc3b9959c443617069c2 | refs/heads/master | 2020-12-14T14:33:54.697316 | 2018-09-18T22:46:34 | 2018-09-18T22:46:34 | 44,714,587 | 1 | 0 | null | 2016-10-12T03:05:15 | 2015-10-22T01:30:31 | R | UTF-8 | R | false | true | 568 | rd | ls_migration.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Community.R
\name{ls_migration}
\alias{ls_migration}
\title{Helper functions}
\usage{
ls_migration(J, S, alpha, m)
}
\arguments{
\item{J}{expected size of metacommunity (total number of individuals)}
\item{S}{Expected number of species in th... |
aa4a35732e53864a4c7098ecd20485bec3430d10 | f8c9804e50a61d544250ecf5a1a03b357819a23a | /man/solvecov.Rd | eabd29551617d9e2e90414c35ef9dd5a8128e4f4 | [] | no_license | cran/mrds | c086ead932cd9e39c9aa7ee734bc55f0d2e8d425 | dfa8dff4d44565c0123ef6f3f1e9f0b152b6155c | refs/heads/master | 2023-07-27T08:16:08.397331 | 2023-07-06T10:30:15 | 2023-07-06T10:30:15 | 17,697,669 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 909 | rd | solvecov.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/solvecov.R
\name{solvecov}
\alias{solvecov}
\title{Invert of covariance matrices}
\usage{
solvecov(m, cmax = 1e+10)
}
\arguments{
\item{m}{a numeric symmetric matrix.}
\item{cmax}{a positive value, see above.}
}
\value{
A list ... |
d0359c981cef48fc8b3d61df972c1963bc9362dc | c656d32330dfb2d5d5af8357dcb47cd20fe1b32c | /R/Plot of number of assessments per stock.R | 62f4b0e299710d50cfea1c3a9a1f04f4e2aad9eb | [] | no_license | martinpastoors/iAdvice | 898ab6fa38a5a1c0063716f0847938421888ea4a | 5127133f69f3d05ce2f27e6a806a4eaaf3062d5d | refs/heads/master | 2023-07-22T06:49:28.836931 | 2023-07-19T05:57:00 | 2023-07-19T05:57:00 | 102,521,867 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,733 | r | Plot of number of assessments per stock.R | # -----------------------------------------------------------------------------------------------
# Analyse assessments per stock
#
# 25/09/2017 taken from ices SAG data plot
# 16/10/2017 now includes datapublished
# 15/11/2018 updated for new database layout
# 23/03/2019 updated for new database again; only source is ... |
c0580ec33f87be9c34f1a2d0285e6fe73dfe7a47 | 9c8e51eb942247ce929a0740b5b348de8cc5f862 | /test/newton.R | 5db835a8512d896c52c1ed62ab68689f24148bc3 | [] | no_license | jiangfeng1124/optimization | 2db2ecfd1c8ab7bf21c4749130ca4fa5c9244e77 | 11532e68f9155c2ab17778ed02a79fd95adc7695 | refs/heads/master | 2016-08-04T08:43:54.827349 | 2013-03-27T10:19:21 | 2013-03-27T10:19:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 696 | r | newton.R | source("src/newton.R")
cat(">>> example: 1-dimensional\n")
f <- function(x)
{
return((x[1] - 5.0)^4)
}
g <- function(x)
{
return(array(c(4.0 * (x[1] - 5.0)^3)))
}
h <- function(x)
{
return(array(c(12.0 * (x[1] - 5.0)^2)))
}
initial.x <- array(c(0.0))
results <- Newton(f, g, h, initial.x, show.trace = TRUE)
print... |
fe811fa15792b3c727c6e7bcda23cd17ef13eafc | 4e4892c47c62184e2cb00660353f3c6cf5f37474 | /man/vcfR2GTCov.Rd | 2237258d547420f2d53fcdf7e69115ecda7d8c28 | [] | no_license | OJWatson/vcfRmanip | a3b1f7e5b8976c7dcbfdceafad4dae88fa04c1f1 | cc138e49fa9749bdc10d65661a42f31e641fa9b5 | refs/heads/master | 2021-01-06T17:52:38.128739 | 2020-03-05T18:00:13 | 2020-03-05T18:00:13 | 241,425,854 | 0 | 0 | null | 2020-02-18T17:36:44 | 2020-02-18T17:36:43 | null | UTF-8 | R | false | true | 298 | rd | vcfR2GTCov.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vcf_viz.R
\name{vcfR2GTCov}
\alias{vcfR2GTCov}
\title{Plot vcf outputs collectively}
\usage{
vcfR2GTCov(vcfRobject = NULL, biallelic = T)
}
\description{
Takes a \code{vcf} or \code{vcfRobject} and plots the GT levels
}
|
c3ab5cda8f72d6010fa7a7ead9e8d148423374f4 | dc76c214102f7ce9d3f359b4728bb0e8ff335984 | /DownloadData.R | 769d3704da40e310ec65ff194a53f56fe79dc9fb | [] | no_license | pjvolders/Covid19TrendAnalysis | 552d9f0668a52ecf3db5382cc8e817ee35856a95 | 58bd8c85f7c0da815e46309bfc9d63fa96706a17 | refs/heads/master | 2021-04-13T01:50:40.257309 | 2020-04-07T09:38:26 | 2020-04-07T09:38:26 | 249,126,395 | 0 | 0 | null | 2020-03-22T06:28:07 | 2020-03-22T06:28:07 | null | UTF-8 | R | false | false | 3,757 | r | DownloadData.R | #------------------------------------
# Download and selection data Belgium
# Author: Joris Meys
# date last modified: 2020-03-08
#------------------------------------
# This file will check the latest data on the repo of John Hopkins
# It will -if necessary - download those and add the new data to
# the original file.... |
1640b3756efdf1e50d0ab70222c5bcabd32b2bb2 | 40962c524801fb9738e3b450dbb8129bb54924e1 | /DAY - 2/Class/If.R | 57158bacc9159afb0a0982f6a265c657860e9d9d | [] | no_license | klmsathish/R_Programming | 628febe334d5d388c3dc51560d53f223585a0843 | 93450028134d4a9834740922ff55737276f62961 | refs/heads/master | 2023-01-14T12:08:59.068741 | 2020-11-15T13:23:31 | 2020-11-15T13:23:31 | 309,288,498 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 72 | r | If.R | #IF condidtions
x <- c(15,8,9,45,89,23)
for (i in 1:6)
{
print(x[i])
} |
9219cb8ef176251c8be90633e50a3bbbc596f6c4 | 299bb5c4e121f9e4f95fb851fc4381eda137afd4 | /src/data-prep/download-file.R | 4e96ef8207d0365a0bbd8439886a7be5c7e39215 | [] | no_license | dogabayraktar/SickAirbnbPricesAcrossNetherlands | db8b52fc2273b2ef4fc3d2e1b9b4c10f54cd81dd | 305f59689714ab826eaa8004f6dc122400a77f90 | refs/heads/main | 2023-08-14T11:22:27.103219 | 2021-10-17T14:30:15 | 2021-10-17T14:30:15 | 404,368,240 | 2 | 2 | null | 2021-10-05T17:02:50 | 2021-09-08T13:58:00 | R | UTF-8 | R | false | false | 1,360 | r | download-file.R | ######################
### DOWNLOAD DATA ####
######################
# Creating the data folder
dir.create('../../data')
# creating a list with the download link and file names of the raw data
files = list(c(url='http://data.insideairbnb.com/the-netherlands/north-holland/amsterdam/2020-12-12/data/listings.csv.gz',
... |
df168a159f3eecc049f8375e3dd63605deea1104 | 661a2e1bdd2eaf48c3ec7f93531821ee4e574292 | /man/getAffectedRCW.Rd | a430d4d27201dff955a2acd3dbc97513c3893a7d | [] | no_license | cran/washex | dc94cae67e9654d72184e7d37bb9c1c0ce763a27 | 561ac582539d94b46c3e1020386a0712ac4c4a5d | refs/heads/master | 2023-09-04T21:38:52.121744 | 2021-11-17T15:00:02 | 2021-11-17T15:00:02 | 362,524,979 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,488 | rd | getAffectedRCW.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getAffectedRCW.R
\name{getAffectedRCW}
\alias{getAffectedRCW}
\title{Link bills to Revised Code of Washington (RCW)}
\usage{
getAffectedRCW(biennium, billId, paired = TRUE, type = c("df", "list", "xml"))
}
\arguments{
\item{biennium}... |
1e4ef896e21a0021002b4019da258ace219f6fa1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SoilR/tests/Rtest.R | 1a477ce2229207d35b724fb5eab27040ac20c874 | [] | 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,219 | r | Rtest.R | #!/usr/bin/Rscript
# vim:set ff=unix expandtab ts=2 sw=2:
source("prolog.R")
tfr <- "^runit\\..*\\.R"
#fl <- list.files(pattern=tfr)
#for (fn in fl){
# print(fn)
# source(fn)
#}
alltests <- defineTestSuite(
name="allTests",
dirs=c(".","protected"),
testFileRegexp = tfr,
#testFuncRegexp = "^test.TwopS... |
1660cc3d35f0c9bb659af9d196df59bce0520f0f | 13abd22dc69e26aeccc1f74bd406cd2842fd97aa | /man/pullBundles-HumanCellAtlas-method.Rd | e00520d4f555bb52248a062978ba6dd31a43c5a2 | [] | no_license | kevinrue/HCABrowser | dad2763c68b97e4163bf8b1e6c654c7631152b46 | d5d7df17084d4fc7195418c2194e3a038cc6b494 | refs/heads/master | 2020-04-24T04:48:18.238369 | 2019-02-20T17:15:44 | 2019-02-20T17:15:44 | 171,716,714 | 0 | 0 | null | 2019-02-20T17:14:47 | 2019-02-20T17:14:46 | null | UTF-8 | R | false | true | 530 | rd | pullBundles-HumanCellAtlas-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllClasses.R
\docType{methods}
\name{pullBundles,HumanCellAtlas-method}
\alias{pullBundles,HumanCellAtlas-method}
\title{Obtain bunlde fqids from a HumanCellAtlas object}
\usage{
\S4method{pullBundles}{HumanCellAtlas}(hca, ...)
}
\arguments{
... |
7f210a13475a3f68962686d2729d5ba8b25a86c7 | c05830a0e61d0e975374002049383f5c072e085a | /Plot4.R | ce02254592c79dfbff8ef1271b0bad820c307e81 | [] | no_license | BANEMI/Exploratory-Data-Analysis | dc39bfc00c56eca73b428988f24954ff45a11dea | 71a5c68491ad74a6a92dbdae43684edcea71a2b0 | refs/heads/master | 2021-01-24T22:20:54.406118 | 2016-04-26T02:31:22 | 2016-04-26T02:31:22 | 57,058,449 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,722 | r | Plot4.R | #### reading data file "household_power_consumption.txt" stored in WD
data <- read.csv("household_power_consumption.txt", header = T, sep = ';',quote = '\"',stringsAsFactors=F,nrows= 2075259,na.strings = "?")
#### converint date into date fromat
data$Date <- as.Date(data$Date, format = "%d/%m/%Y")
#### selecting o... |
9788b52b561d7b51c3f67328cccbafa6d38e32cd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/timetools/examples/timetools-package.Rd.R | e47068e06697a44d0d0c9b74bf4a0e1a8dd03788 | [] | 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,099 | r | timetools-package.Rd.R | library(timetools)
### Name: timetools-package
### Title: Seasonal/Sequential (Instants/Durations, Even or not) Time
### Series
### Aliases: timetools-package timetools
### Keywords: package
### ** Examples
ti1 <- TimeIntervalDataFrame (
c('2010-01-01', '2010-02-01'), c('2010-02-01', '2010-02-02'),
'UTC', data.... |
3fbbfcfd18ce8eb269f7ace8ddcc0fed6cacdfce | 5c53e88dfb1347da0133c66cac28a4d8ce2a466c | /man/getOptPathParetoFront.Rd | 3d10a762a826dbab5fee7f85b928d735e3610c4e | [] | no_license | bklppr/ParamHelpers | 3fa0342fa3919d048a33ad1dcf1dae002e1000b1 | 54ac927fcdc589711d01ad885f7a98d5791967b9 | refs/heads/master | 2021-01-20T03:53:26.526669 | 2017-04-03T12:59:50 | 2017-04-03T12:59:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,154 | rd | getOptPathParetoFront.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/OptPath_getter.R
\name{getOptPathParetoFront}
\alias{getOptPathParetoFront}
\title{Get indices of pareto front of optimization path.}
\usage{
getOptPathParetoFront(op, y.names = op$y.names, dob = op$env$dob,
eol = op$env$eol, index = FALSE)... |
373284b9b3116e4fbc70265c9f552d0be13af297 | da905bb3f941fd07a0bb1b6c2c0aecd25ff6b6d4 | /writeups/childdev_2017/save_analyses.R | 06e7f3f6f8da06441a0646ed7b2e85973110b8fd | [
"MIT"
] | permissive | langcog/metalab2 | 674a32d3d91b00154c94827d48cf35dda7e2dd1b | 3d66130ec4c4c82761acfdd18df5a18b5f5cac0a | refs/heads/master | 2021-11-20T04:22:43.074913 | 2020-11-24T14:15:20 | 2020-11-24T14:15:20 | 108,099,389 | 20 | 16 | MIT | 2020-10-29T04:27:39 | 2017-10-24T08:35:31 | HTML | UTF-8 | R | false | false | 350 | r | save_analyses.R | ## LOAD DATA AND PACKAGES ####
source("analyses/initial_data.R")
## RUN ANALYSES ####
source("analyses/sample_size.R")
source("analyses/power.R")
source("analyses/method.R")
source("analyses/p_values.R")
source("analyses/funnel.R")
source("analyses/bias.R")
## SAVE ENVIRONMENT FOR USE IN PAPER ####
save.image("educa... |
95928098403b662c57e6a142f9f451bb8fcbb099 | dc47d04bf9e44f675111284c31719dc78c46566c | /man/country2.Rd | c66f13876ccb1f236e9209dff4f6882e0dbf308a | [] | no_license | cran/eFRED | 010025cdfb7483f821e9ae9f0524f1189bf019af | ea6c449421809b52e03a51b1adb124630062fe53 | refs/heads/master | 2023-02-27T16:28:04.743335 | 2021-01-15T08:40:13 | 2021-01-15T08:40:13 | 334,104,607 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 352 | rd | country2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{country2}
\alias{country2}
\title{Country Codes}
\format{Character vector of length 249}
\source{
\url{https://en.wikipedia.org/wiki/ISO_3166}
}
\usage{
country2
}
\description{
A vector containing ISO 2-digit coun... |
fea6912a9fdca7007f8b487a08502a01c0369aab | db6765c7b12c08d5af52bea7aa3cccb4dc615e9f | /LR1.R | 2963641b8f2d11f34410648c23b5e4ec093d32c8 | [] | no_license | Zraeva-Ekaterina/s108083 | e5cfd72bc44ddd5e34fe5e557178d18ec53f19eb | b51115eebb212292824190cc07b13b72992f48b1 | refs/heads/main | 2023-02-07T15:02:14.538675 | 2020-12-28T08:56:52 | 2020-12-28T08:56:52 | 312,556,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,479 | r | LR1.R | library('Hmisc')
library('corrplot')
library('nortest')
library('knitr')
# 1.Importing data ------------------------------------------------------------
DF<-read.csv2("Data_Zraeva.csv",
encoding = "UTF-8",
stringsAsFactors = F,
na.strings = '')
View(DF)
d... |
82c797916fc5b48a60a583be81d9e44d3eb7cacb | 3f32eae1be4ce3c3904838f58d300318594ed315 | /Functions/productionsim.R | 9415d2769917c20724e1d91c01f28474c798a6ba | [
"MIT"
] | permissive | jonwilkey/uinta_basin_oil_and_gas_emissions | 2babe13429d1b94c2a2f5ce912435b09aba164e0 | bfd502cc5b044a4a1fc53e3f9ca415310e4c017b | refs/heads/master | 2021-01-19T11:39:35.011274 | 2017-04-11T23:04:07 | 2017-04-11T23:04:07 | 87,986,100 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,190 | r | productionsim.R | # Function Info -----------------------------------------------------------
# Name: productionsim.R (Production Simulation)
# Author(s): Jon Wilkey
# Contact: jon.wilkey@gmail.com
# Inputs ------------------------------------------------------------------
# wsim - data.table with information about each well
... |
7bfb8c639ed10717f1123e1257f46e9d83cf2471 | c02eaff898e8f4eedb53bd8d3872a069458f1dc3 | /R/003_configurar_proyecto.R | fd1f39abc7c8539b31d768bac98a197adbd7a747 | [] | no_license | pabloalban/IESS_petroleros | 57ef32797e79d5b2f7cfb1586b1fcac402de6aae | c442be8f1cd86770fb9fd943fb155bdb03df2a60 | refs/heads/master | 2023-01-24T04:09:45.062537 | 2020-09-19T06:04:55 | 2020-09-19T06:04:55 | 294,846,035 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,212 | r | 003_configurar_proyecto.R | # Parámetros globales R ----------------------------------------------------------------------------
message( paste( rep('-', 100 ), collapse = '' ) )
message( '\tConfiguración global de R' )
options( scipen = 99 )
setNumericRounding( 2 )
options( stringsAsFactors = FALSE )
# Parámetros ------------------------------... |
dfd5775fbeff2c8ce342b56a419dd8fe3e4e15ae | e6225189e3d812d1075cd13e6decbc009a4a681c | /ui.R | 4007d26a9a847cc84cc2933fa4b8a2edff3d0d94 | [] | no_license | calypah/datascience | dfa44ee0d8be3ffeb3056d6d812e1786cf1e9941 | a3ebe1d5fce098014e039c04e94424d0cebc06a5 | refs/heads/master | 2023-03-17T09:21:53.821214 | 2016-10-03T20:26:48 | 2016-10-03T20:26:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,437 | r | ui.R | library(shiny)
library(shinyjs)
shinyUI(fluidPage(
# init shinyjs
useShinyjs(),
# Application title
titlePanel("Word prediction using stupid backoff algorithm"),
# Sidebar
sidebarLayout(
sidebarPanel(
h4("Description"),
p("This application, given a... |
8178e89a6751d2079ce7ed6f7cdad9318d6bca88 | 59d95eeba9a85df2205084a1939a52f11198411c | /plot4.R | 2ecea35151710881bb369391d8fcfcc8a3ed0c6a | [] | no_license | sachinbb5/ExpData | 0eb7d042770c29c5398050d73ad13f64273cc5c7 | 6fec34eca78eb16cb2ce0de3b1357dae27920a40 | refs/heads/master | 2020-12-31T04:28:40.210726 | 2016-01-10T20:41:37 | 2016-01-10T20:41:37 | 49,381,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,090 | r | plot4.R | # Plot 3. Data set should be in workdir with scripts.
# Read Data
pc <- read.csv("household_power_consumption.txt", na.string="?", sep=";")
# Extract time range dataset
pc <- pc[(pc$Date=="1/2/2007" | pc$Date=="2/2/2007"),]
# Combine Date and Time
pc$DateTime <- strptime(paste(pc$Date, pc$Time, sep=" "),
... |
f971e9898901ad29fc4aab58db687b9b5ee69885 | 876670c7f171f4a30d08f2e41f491783ae9b3e23 | /plots/figure_3/figure_3_timecourse_plots.R | 8f753030a660453d4300bb3394769f255738760d | [] | no_license | Jun-Lizst/SingleCellLineage | 82f873c393e4e4f056cec03d359b274e937a19de | 20ec99b84a762fc627446b55f5453f0cdb565be4 | refs/heads/master | 2023-01-14T15:41:13.348121 | 2020-11-21T19:38:13 | 2020-11-21T19:38:13 | 327,058,591 | 1 | 0 | null | 2021-01-05T16:39:48 | 2021-01-05T16:39:47 | null | UTF-8 | R | false | false | 4,359 | r | figure_3_timecourse_plots.R | library(reshape2)
library(ggplot2)
library('ggthemes')
txt <- read.delim("/mount/vol10/CRISPR.lineage/nobackup/2016_03_05_Embryos/embryo_summary.txt",stringsAsFactors = F)
txt = txt[txt$passHMIDs > 100,]
txt$type <- sapply(txt$sample,function(x) {unlist(strsplit(x,"_"))[1]})
txt$rate <- sapply(txt$sample,function(x) ... |
e6d501f026f2c4924b1d6f68b9d6ee116b83ed30 | 5ea9a574c5a0452ecc5a8a49ffe4334936eed22b | /DMSA/R/R-Model/employee.R | 3cf43cb2566df0ba8068a238402253289a96bbe1 | [] | no_license | navalvaidya/TE-PL1 | bc4b1712f76ca1f35f370ecac89f657adfc7cd02 | e01bf8db4ac060668627dab5eca7f4d3a01c47c7 | refs/heads/master | 2021-01-10T07:02:50.883619 | 2015-10-06T15:00:56 | 2015-10-06T15:00:56 | 43,758,047 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,769 | r | employee.R | library(RJSONIO)
emp <- fromJSON("employee.json")
str(emp)
performace.obj <- c(emp[[1]]$performance,emp[[2]]$performance,emp[[3]]$performance,emp[[4]]$performance,emp[[5]]$performance,emp[[6]]$performance,emp[[7]]$performance,emp[[8]]$performance,emp[[9]]$performance,emp[[10]]$performance,emp[[11]]$performance,emp[[1... |
cb9b45345659d4a029016f1a4662e0560dd2afe1 | a37eb696509854770de107f476d6b623f7f37aa2 | /man/sntd.a.Rd | db0a4dad9bad9e9678bb376c18d576e46a24ed0f | [] | no_license | NGSwenson/lefse_0.5 | 2cff67290caca266ac1cfd46109c9892af2b80d7 | 74814e2f4f8a1f0244da8e8a48bb17897718db67 | refs/heads/master | 2021-01-10T14:59:58.336073 | 2015-11-19T23:16:07 | 2015-11-19T23:16:07 | 46,526,271 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 930 | rd | sntd.a.Rd | \name{sntd.a}
\alias{sntd.a}
\title{ Functional standard deviation of the NND with abundance weighting }
\description{ Quantifies the functional standard deviation of the nearest neighbor distance with abundance weighting }
\usage{ sntd.a(dist.mat, my.sample) }
\arguments{
\item{dist.mat}{ A trait distance matrix. }... |
98bbab991b33aed28d1476c53aea01053f791049 | 3c95609b2555c4fe1d6a08efed097fd4093d20d0 | /Visualizacion/Shiny/muestras aleatorias/UI.R | 431952f9f86112a00bf9ae76af602cf95ab6c3ff | [] | no_license | ManuelCarmonaDS/Master-in-Data-Science---CUNEF | 97e90eb948ab3931c8e6ac95de85cbb0ba1fc15f | 36a7032bbb14143121cf65b70c1841f16e4d8d82 | refs/heads/master | 2021-09-07T19:02:17.739214 | 2018-02-27T15:56:57 | 2018-02-27T15:56:57 | 109,852,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,271 | r | UI.R | library(shiny)
shinyUI(fluidPage(
titlePanel("Generacion de muestras aleatorias"),
sidebarLayout(
sidebarPanel(
numericInput("n", label = h3("Muestra"), min= 1, max= 1000... |
0d1295cccd975abfcb60871880375419b9998221 | ff8272e4d55dcada2597638fcae9d56ff80b4fc7 | /genhet script AA.r | b1c2d62dec77a3047f6c02057f369bf14268e774 | [] | no_license | AdrianAllen1977/R-code | 537c08dd29d29514661c7e3b35679bef46e96c54 | 1a1cd56007bfca2cae36a05537402b13b0df94b0 | refs/heads/master | 2023-07-20T08:25:56.300787 | 2023-07-17T18:20:42 | 2023-07-17T18:20:42 | 172,774,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 924 | r | genhet script AA.r | ### Using genhet to determine individual levels of heterozygosity
##Set working drive
setwd("Desktop/R stuff/Irish badgers/NI badger heterozygosity July 18")
### Import data file of genotypes - convert all unknown genotypes (0s) to NA
data<-read.table("NI_RTA_badger_genos.txt", sep="\t", header=T)
### Create and imp... |
9f7ca0d571d7cbfdcfeab3a4963d908ba46c7336 | 4bcfc4d7e729f5806ff4e118d46435383d1aefa0 | /man/psoriasis100.Rd | 9e038ede909ef548b1e9f98dff5b0850499b85cd | [] | no_license | cran/MBNMAdose | c2d8db8efb642d8002fd3254f7898401e51a3824 | 7147691aa7d4c4721f8c1c141318d62d8e5d2a17 | refs/heads/master | 2023-08-18T09:48:29.048696 | 2023-08-08T13:00:19 | 2023-08-08T14:31:02 | 198,422,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,553 | rd | psoriasis100.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{psoriasis100}
\alias{psoriasis100}
\title{Studies of biologics for treatment of moderate-to-severe psoriasis (100\% improvement)}
\format{
A data frame in long format (one row per arm and study), with 81... |
2ba21a90f48c2818e0f498272b4cc36edc346db9 | 0f7b338d9056c39764f6edcfcdc4ef7f041720c3 | /inst/doc/numberLines.R | 85966af927231bb7bc237dc643bc3270f6fb08fd | [] | no_license | cran/chunkhooks | 3d90589b7e1669d64d7e6ec441cea90ed0466274 | 418896d456718f737c008a6203dc7d4d1b264998 | refs/heads/master | 2022-11-26T21:19:11.250311 | 2020-08-05T14:00:02 | 2020-08-05T14:00:02 | 286,204,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 792 | r | numberLines.R | ## ----setup--------------------------------------------------------------------
library(chunkhooks)
hook_numberLines()
## -----------------------------------------------------------------------------
# By default, Source lines are numbered
"Output lines are not numbered"
## ------------------------------------------... |
87fb69a05ed719bb260fb1924d7e84670b06e2e2 | 1d8bf2931c5b530c8c11c42940ed5dc29fa4512f | /man/tau3scen1.Rd | c9d2913bdba5a17c8c9b10ceedf9f374be7bb4c0 | [] | no_license | cran/chi2x3way | ce5ad54fbd65f0699a01b8f779c18bbd55acde45 | c58f0523734bbd3d14a33b1dc6db1ea2f2ccdcc0 | refs/heads/master | 2021-01-12T10:07:23.826604 | 2017-01-23T20:11:06 | 2017-01-23T20:11:06 | 76,366,790 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,266 | rd | tau3scen1.Rd | \name{tau3scen1}
\alias{tau3scen1}
\title{
Marcotorchino's index for three-way contingency tables under Scenario 1
}
\description{
It provides the partition of the Marcotorchino's index and its related $C_M$-statistic under the Scenario 1 when probabilities are homogeneous.
}
\usage{
tau3scen1(X, pi=rep(1/di... |
0be9b31ff2397367682955422059ceb3e610bf36 | 05bb165785e0f5c697fc1d863dc8e1f862f2e639 | /Q2_Data.R | a758fbfdac9c1167f995350c4c299c39c4421632 | [] | no_license | 7446Nguyen/OLS-and-Time-Series-Prediction | 8b72393bf3f38e3a93323f1396231200e33460b8 | 49cb250d2e94d4f4c0ffc148cd263292c52afbee | refs/heads/master | 2022-02-23T07:22:45.731379 | 2019-10-07T04:35:59 | 2019-10-07T04:35:59 | 208,175,251 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,718 | r | Q2_Data.R | library(pacman)
p_load(lmtest
,dplyr
,Hmisc
,skimr
,tidyr
,na.tools
,tidyverse
,olsrr
,caret
,multcomp
,ggthemes
,MASS# for OLS
,regclass# for VIF
,stats
,glmnet
,sjPlot
,sjmisc
,ggplot2
,xlsx)
... |
4e4dadcfa15d5733ff3d8a502209a5cc9aa8ee56 | 2099a2b0f63f250e09f7cd7350ca45d212e2d364 | /DUC-Dataset/Summary_p100_R/D105.FT921-5959.html.R | 6bd546ff2f817a22dbc69aa0b296e0f53e13c081 | [] | 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 | 963 | r | D105.FT921-5959.html.R | <html>
<head>
<meta name="TextLength" content="SENT_NUM:6, WORD_NUM:105">
</head>
<body bgcolor="white">
<a href="#0" id="0">Armenians in the enclave want unification with Armenia, but Azerbaijan will not give up any territory.</a>
<a href="#1" id="1">No dates have been given for the withdrawal.</a>
<a href="#2" id="2"... |
19976dc3f9473ec7daac2212c79d0f107b8c2ccd | 3f3b5ceebbad93ad7ce83405bf74a375c6323ac7 | /Abhinaya_project.R | fda8b67cafb19ab9616d27d9abd82166ef6d9592 | [] | no_license | abhinayaiyer/Twitter-Sentiment-Analysis | 9d446751466a87374d75393fb9d86fa6ccffa7af | 93d0eafc2ddc4a79e0e0d3377452ac2846d307d1 | refs/heads/master | 2020-03-08T02:36:47.017771 | 2018-04-05T05:01:57 | 2018-04-05T05:01:57 | 127,865,132 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,168 | r | Abhinaya_project.R |
install.packages("twitteR")
install.packages("stringr")
install.packages("plyr")
library(stringr)
library(twitteR)
library(plyr)
api_key<- "GP90VZhZe4Ud0kzXzXGGxsjr2"
api_secret <- "JUr6cKf7EnFfI8zqFVBFKQJ4iEYx6Y03rnfFbAx174aJYgO9kV"
access_token <- "3302893622-K5oJ6OlZOLiSZiDvtJFWZ4c7m1OvDrSYLmnvnco"... |
201561f8d32882b4d8741f9f256297561a1d5e04 | 08ccb95ddfc2079535af02c440759d8b2f56a779 | /FIT5147/week1/R-script.R | 28cecf9e784d8655073c5adacf94bef1193cc892 | [] | no_license | xianlinfeng/Documents | 05992fcc23946fb12e17295cef14b2e5aa4782e3 | ab423cb5550de8f2c5b96cb8dfdd0926f6140fb3 | refs/heads/master | 2022-12-17T22:21:43.301752 | 2020-09-23T01:56:33 | 2020-09-23T01:56:33 | 170,238,669 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,041 | r | R-script.R | library(ggmap)
library(ggplot2)
library(maps)
library(mapproj)
# or you can try e.g. require(maps)
# map("usa")
map('state') # ninst ot necessary, just checking we can draw a map
data <- read.csv("Household-heating-by-State-2008.csv", header=T)
head(data)
names(data)
names(data)[4] <- "MobileHome... |
b31b3791f533a4dbdc18014beb0ae3fdb6e2015a | 1d9519ad72fd2a5a7aee02d591783b49f411d615 | /run_analysis.R | 002781a5cac9f582bffdb722da9f9385f9c570a2 | [] | no_license | CaoTungPHAM/GettingCleaningDataProject | 046bdaf64151fd7aeeecbdd646239f4951cd0fdc | 600740963934a00d03dd79f7e0c1135b51cf2558 | refs/heads/master | 2021-05-02T18:27:06.757016 | 2018-02-07T21:03:50 | 2018-02-07T21:03:50 | 120,664,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,815 | r | run_analysis.R | ### Download the file as a temporary file
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
temp <- tempfile()
download.file(fileUrl,destfile=temp,method="libcurl",mode="wb")
### Unzip this temporary file in a folder named "Project"
if(!file.exists("./Project")){... |
398c2e9f2f9055dd57bf7ea5e334e039a4bacfb4 | 4b9955701ca424c19bec17f0bc4b36f72cfcbcc4 | /man/is.nullcpo.Rd | 074c841b8c77cd69f18851e0ae32c05681056f5d | [
"BSD-2-Clause"
] | permissive | mlr-org/mlrCPO | c238c4ddd72ece8549f8b48a79f02f543dac60e5 | e6fc62a4aeb2001a3760c9d1126f6f2ddd98cc54 | refs/heads/master | 2022-11-21T17:30:54.108189 | 2022-11-16T16:08:10 | 2022-11-16T16:08:10 | 100,395,368 | 39 | 4 | NOASSERTION | 2022-10-18T23:46:13 | 2017-08-15T16:08:30 | R | UTF-8 | R | false | true | 549 | rd | is.nullcpo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NULLCPO.R
\name{is.nullcpo}
\alias{is.nullcpo}
\title{Check for NULLCPO}
\usage{
is.nullcpo(x)
}
\arguments{
\item{x}{[any]\cr
The object to check}
}
\value{
[\code{logical(1)}]. \code{TRUE} if \code{x} is a \code{NULLCPO}, \code{FALSE} other... |
1e9bf9d2d04a1c8758d9621da8572be61e8a10e2 | 1f4fb6044e39e1c632c13487fb79f7e5bc836175 | /docs/articles/cputools.R | fb9f4422fa767dae2c0b71280059b61049a26408 | [] | no_license | ComputationalProteomicsUnit/cputools | 777a034e14f938ded2fee6672d3da64fb171488a | 17e4584cf1cb3f874dcc60202680e7dcdf306188 | refs/heads/master | 2020-12-24T15:14:22.000702 | 2017-01-10T17:33:21 | 2017-01-10T17:33:21 | 19,713,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,369 | r | cputools.R | ## ----env, echo=FALSE-------------------------------------------------------
suppressPackageStartupMessages(library("BiocStyle"))
## ----lib-------------------------------------------------------------------
library("cputools")
## ----precommithook, eval=FALSE---------------------------------------------
# devtools... |
89dd85a0a9cbc678f03783d56e903fdb031f063c | 288b4b6998906714ab368e0ee14c70a4059be4ab | /data-raw/dat.collins1985a.r | 7d5aaa1aa54e389c1e355635167034e26502da4f | [] | no_license | qsh7950/metadat | f6243a382c8c0e3f4c9a0e2cd657edb0ffa3e018 | 5c70fa63d7acfa1f315534fb292950513cb2281e | refs/heads/master | 2021-02-26T06:42:18.937872 | 2019-10-21T21:58:33 | 2019-10-21T21:58:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 160 | r | dat.collins1985a.r | dat.collins1985a <- read.table("data-raw/dat.collins1985a.txt", header=TRUE, stringsAsFactors=FALSE)
save(dat.collins1985a, file="data/dat.collins1985a.rda")
|
1afc514a13bfe58b79c763c9694715daeb568b4c | 210d8b7e86595b4b593083eb0f5767d420b83323 | /Capstone NFL Win Prediction Script MLR.R | 5d2e8986ea1c8c53689aaf30e189383fd1b6d2d2 | [] | no_license | mlrankinseattle/NFLprediction | ee69545ce01db3266f53b9029f32169a9cc94ae8 | 1be29051275874d33e1df92a3e33603825628376 | refs/heads/master | 2020-09-16T07:51:37.465502 | 2019-11-24T07:09:03 | 2019-11-24T07:09:03 | 223,703,317 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,643 | r | Capstone NFL Win Prediction Script MLR.R | #Installed nflscrapR to support scrapping data from NFL.com
library(devtools)
devtools::install_github(repo <- "maksimhorowitz/nflscrapR", force=TRUE)
devtools::install_github("dgrtwo/gganimate", force=TRUE)
install.packages('caTools')
#Loaded proper libraries needed
library(nflscrapR)
library(tidyverse)
libr... |
cbb259f3a7cd11390a7601e230f49841e6fc9e33 | ee79ad37d2885aac5f5cecb9eea61fafee117a11 | /simultaneous-selection/analysis/R/modelAna.ev.rep.R | 63f78d2d6e59a39c1d7c8b2f6d5b9b233fe31018 | [] | no_license | vullab/ColorBinding | d33a3609b89f0916a026cae846742e1f065938ea | b3c6e718f1233ad9b4568a51f794cf3b5966145f | refs/heads/master | 2021-03-16T10:26:02.634673 | 2018-12-16T04:04:29 | 2018-12-16T04:04:29 | 65,759,803 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,993 | r | modelAna.ev.rep.R | # setwd('/Users/tflew/Google Drive/Vul_Lab/ColorBind/Colorbinding_cory/colorbindingCory/data')
data<-NULL
path = '../data_rep/'
for (file in list.files(path))
if ("1"==substr(file,nchar(file)-4,nchar(file)-4)){
subjMain <- read.csv(paste0(path,file))
if (nrow(subjMain)>=200){
subjectName <- substr(fi... |
75d077d11579dba4e0b72e3b9c1ab69f147bc20b | fcbe81388b0f883ff36a9e7173277f80789fa871 | /man/file.format_--methods.Rd | edb27dfde15536dded8db131d10402b5a64b76ba | [] | no_license | cran/crp.CSFP | 15b76b1860f47153a0909b1b9520f4357738d383 | b94ad004acd7cfb33210b5f3c74976ca7561c04a | refs/heads/master | 2021-01-10T21:24:19.961192 | 2016-09-11T18:35:59 | 2016-09-11T18:35:59 | 17,695,304 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 347 | rd | file.format_--methods.Rd | \name{file.format<-}
\docType{methods}
\alias{file.format<-}
\alias{set.file.format<-}
\alias{set.file.format<-,crp.CSFP,character-method}
\alias{file.format<--methods}
\alias{file.format<-,crp.CSFP,character-method}
\title{Set the file format}
\description{
The method changes the models value of \code{file.fo... |
6002858d8be17d5445f322b89f01707120f97fb2 | 56063be99831af5f4055fb32fefe3a2dbbcc50eb | /Code/affordability_metrics.R | 4dde667e1aab7dfe396b244130e2dad2699280ed | [
"MIT"
] | permissive | ksonda/CA-Water-Privatization | 80f3879eb1dd1c5583149fdce2c13bf991fd99ef | 77ec4d565d6bcd3bc2db5f545984fea21683ce81 | refs/heads/main | 2023-05-04T11:01:41.848681 | 2021-05-26T16:00:19 | 2021-05-26T16:00:19 | 322,007,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,348 | r | affordability_metrics.R | ---------------------------------------------------------------------------------------------------------------
#---------- This code merges in census data for counts of households by size and income, calculates "resonable
#---------- levels of consumption by household size, and constructs affordability metrics
#... |
016f7130a93fff546e3594c0a266eca71db42cba | 6af19368b56b127648e86dca3e263c9daddef0f9 | /R/phrasemachine/R/POS_tag_documents.R | 79ea9388d17e8ebb416ba5e5b44392a8482d8b9b | [
"MIT"
] | permissive | slanglab/phrasemachine | 6aaeb54bf1ac779bbde5cc8feea9a1a715d55c14 | 41cec3b727f854aa6ef8ab0b45228c3216ff0d4a | refs/heads/master | 2021-01-12T13:48:26.917358 | 2020-06-25T17:25:53 | 2020-06-25T17:25:53 | 69,607,382 | 193 | 27 | MIT | 2019-06-06T16:18:47 | 2016-09-29T20:58:34 | Python | UTF-8 | R | false | false | 2,865 | r | POS_tag_documents.R | #' @title POS tag documents
#' @description Annotates documents (provided as a character vector with one
#' entry per document) with pars-of-speech (POS) tags using the openNLP POS
#' tagger
#'
#' @param documents A vector of strings (one per document).
#' @param memory The default amount of memory (512MB) assigned to ... |
6b12cc2bf9f95b6b6cd11f2e1ae151dd2a21f400 | 34b9322c5557921ae0272c1b9edf03e17247b317 | /man/invCLR.Rd | b19f2ec51a7c333f6ae9c940e0bd85eb8d2524f4 | [] | no_license | cran/easyCODA | 19617b508ee5c490b53bb933ed85bac04747d590 | eec30261bcc0f38c8c0ffb4515e4b36363288ef0 | refs/heads/master | 2021-06-28T18:42:43.463905 | 2020-09-19T17:40:07 | 2020-09-19T17:40:07 | 135,413,733 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,091 | rd | invCLR.Rd | \name{invCLR}
\alias{invCLR}
\title{
Inverse of centred logratios
}
\description{
Given centred logratios (CLRs), compute the inverse (i.e. recover the original parts)
}
\usage{
invCLR(CLRmatrix, part.names=colnames(CLRmatrix))
}
\arguments{
\item{CLRmatrix}{
A matrix of centred logratios
}
\item{pa... |
17bbbb456072b5cdd29320cb40a462bc7ae7ceb0 | e7c0f051f47e7b0b024b4d1814832d98359fee53 | /R/utils.R | 55f4c3819ea2507f835c3b6958088389f5853fc4 | [
"BSD-3-Clause"
] | permissive | holbig/EtaModelCC | 366b12c1b565c3c319dbe945035856acbe5c2f50 | e7c0a9447b851632d3d5b5b51b7993d5229bc0a6 | refs/heads/master | 2021-06-12T14:56:38.538115 | 2021-04-01T14:02:24 | 2021-04-01T14:02:24 | 128,685,165 | 7 | 3 | BSD-3-Clause | 2021-01-13T19:12:18 | 2018-04-08T21:56:48 | CSS | UTF-8 | R | false | false | 2,152 | r | utils.R | #' @import "raster"
#' @importFrom "magrittr" "%>%"
# PROJETA API URL
projeta_api <- "https://projeta.cptec.inpe.br/api/v1/public/ETA/"
# ERRO API URL
erro_api <- "Ocorreu um erro ao tentar se conectar com a API."
# Data-frame com os dados dos modelos de mudanças climaticas
url <- "https://projeta.cptec.inpe.br/api/... |
eb750e1756c99784cf1ef40b8fc69c41099c0ca6 | 19396cd8c782fa4dc4762ecfe5c26f329c2f44f4 | /R/derivedEquations.R | 46cffeb3a4923ddd38386c22b146a2fc69be3205 | [
"MIT"
] | permissive | davidcsterratt/cOde | 65b8c3e3ef76340be34f74e3395d00c17c2e9b07 | e1e13938b7e3dad424531acb59bca733d59f4177 | refs/heads/master | 2020-04-03T10:45:43.797915 | 2018-10-29T11:47:42 | 2018-10-29T11:47:42 | 155,201,784 | 0 | 0 | null | 2018-10-29T11:39:06 | 2018-10-29T11:39:06 | null | UTF-8 | R | false | false | 12,656 | r | derivedEquations.R |
#' Compute sensitivity equations of a function symbolically
#'
#' @param f named vector of type character, the functions
#' @param states Character vector. Sensitivities are computed with respect to initial
#' values of these states
#' @param parameters Character vector. Sensitivities are computed with respect to ini... |
5d9afcacde0dca48acfaf60ec3a97dbb0b189fc2 | 7f2c9d01bfb23d4446a9241ac57613175015e471 | /Etapa_2/Lesson_1/Ejemplo_04.R | 49dcdc22f71c12eb2138f426f1e24e109b0f43fb | [] | no_license | AnaNava1996/BEDU-Banco-Santander-3-caminos-Data-Analytics | ce462e18fe254231b52c7a6bf631a07f74961b38 | cf7d3dc74376a433505e3986c9572250f4ab8812 | refs/heads/master | 2023-02-23T11:36:41.753840 | 2021-01-31T02:01:36 | 2021-01-31T02:01:36 | 308,101,201 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,354 | r | Ejemplo_04.R | # EJEMPLO 4. Descarga y lectura de data sets.
# Objetivo
# Fijar y conocer ruta de trabajo
# Lectura de ficheros CSV, locales y en repositorio
# Manejo de objetos
# Requisitos
# R, RStudio
# Prework
# Desarrollo
# Ejecutar las líneas de comando y tratar de comprender que realiza cada parte de sus entradas
# Se pued... |
347297d68e87df6565bf8584aa4c2e4246dcb1ad | fd0622e97276bba2c04d3c2fcba902cdfb65e214 | /packages/nimble/man/any_na.Rd | 9fa248829d95f00262277a1e2b260ecc8331c3fa | [
"BSD-3-Clause",
"CC-BY-4.0",
"GPL-2.0-only",
"GPL-1.0-or-later",
"MPL-2.0",
"GPL-2.0-or-later"
] | permissive | nimble-dev/nimble | 7942cccd73815611e348d4c674a73b2bc113967d | 29f46eb3e7c7091f49b104277502d5c40ce98bf1 | refs/heads/devel | 2023-09-01T06:54:39.252714 | 2023-08-21T00:51:40 | 2023-08-21T00:51:40 | 20,771,527 | 147 | 31 | BSD-3-Clause | 2023-08-12T13:04:54 | 2014-06-12T14:58:42 | C++ | UTF-8 | R | false | true | 482 | rd | any_na.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nimbleFunction_Rexecution.R
\name{any_na}
\alias{any_na}
\alias{any_nan}
\title{Determine if any values in a vector are NA or NaN}
\usage{
any_na(x)
any_nan(x)
}
\arguments{
\item{x}{vector of values}
}
\description{
NIMBLE language function... |
f4bceb61990af8d974815fa41611bb59ac58fa41 | dd16792ef4efe0266d568fc0a21bbcd5304109ce | /diversity_and_ordination.R | 9f3a59f9aaa53f1d91233e68c44bbb43f4e331e7 | [] | no_license | paulbible/microbiome_plotting_in_R | 3b5f6a2d3683bc71eb88c9a7094660c0a1dbf712 | a97880046c3cf7d67c030c1220686b84d6190b39 | refs/heads/master | 2021-01-23T07:26:26.252553 | 2017-03-31T06:00:16 | 2017-03-31T06:00:16 | 86,423,842 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,877 | r | diversity_and_ordination.R | # load needed libraries
library(vegan)
library(ggplot2)
library(reshape2)
########################
#setwd("path/to/data")
# load test data
species.table <- read.delim("microbiome_test_data_species.tsv", sep="\t", header=T, row.names = 1)
# get the groups from the first row, and covert it to a simple list (called a ve... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.