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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f8b82be4a695151ca03e222c5bc7be433b445083 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /decido/inst/testfiles/earcut_cpp/libFuzzer_earcut_cpp/earcut_cpp_valgrind_files/1609874256-test.R | 8048e90b4c6966210867077eda2e1150d8aa9204 | [] | 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 | 687 | r | 1609874256-test.R | testlist <- list(holes = integer(0), numholes = integer(0), x = numeric(0), y = c(0, 1.78005908680576e-307, 0, 9.99544897376282e-310, 1.36361579985924e-309, 1.44282677639714e-284, 2.71623588394182e-312, 5.99897363812972e-310, 1.11998925342406e-299, 5.220109682454e-312, -3.90416067888732e+284, 0, 9.9... |
bc6ad79a5c270ae02912726b99475582521b4577 | 84ee8997f3926f143c6ad66e317c0c941c1abdba | /scripts/gphocs/gphocs_plot_fun_msp3.R | f331b50660a25e5e69f0d4119ee3adf4fb80e78f | [] | no_license | jelmerp/lemurs_msp3 | 50c527bde88619636d458e30a8a5520d007e22d0 | 81ad98e1c51ef4ff208927b150138e2c659beb04 | refs/heads/master | 2020-06-29T09:44:16.790603 | 2020-06-23T12:31:44 | 2020-06-23T12:31:44 | 200,502,209 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,198 | r | gphocs_plot_fun_msp3.R | ## This scripts contains G-PhoCS plotting wrappers specifically for
## the msp3 project.
#### PREP DF FOR DEMOGRAPHY PLOT: 3-SPECIES MODEL ------------------------------
ttprep_3sp <- function(
Log = NULL, tt = NULL, poplist, popcols = NULL,
summary.provided = FALSE,
pops.fixed = NULL, pops.fixed.size = 1,
pop... |
84d0f5a33f41a5cc33a0a3356443f228ebf7fb41 | 0c3fa446b7aa8e5f48201e139fd7e19c351ae54d | /src/prepare_ecdc_data/R/corrections_12July.R | f06e0a9d5083a27019ee6d28b59551710b3ee3cb | [] | no_license | mrc-ide/covid19-forecasts-orderly | 477b621129ebc93dbd4e75ae4d54fbda0ad1669c | 2210ea70dc7b38d91fc1678ab0c2bb9b83c5ddcb | refs/heads/main | 2023-02-06T17:58:18.937033 | 2022-08-02T16:39:50 | 2022-08-02T16:39:50 | 254,094,782 | 33 | 12 | null | 2022-08-02T16:39:51 | 2020-04-08T13:25:08 | R | UTF-8 | R | false | false | 1,207 | r | corrections_12July.R | #####################################################################
######################################################################
######################################################################
######################################################################
########### Corrections 12th July ###... |
595ed8140e56a4249070949d8ef07c16d3641427 | bbce43dd1f7436205933f617d5c9eb7113ed4dd7 | /R/tests/testdir_jira/runit_NOPASS_hex_1799_glm_nfold_parameters.R | 593298eb2592aac19559b142c90ed0b4bb280234 | [
"Apache-2.0"
] | permissive | qicst23/h2o | 16506b05c9624b2db85c683b3abea2da27e65d35 | ddb770b9e4402abda4d2c8a1786fd5429f7f1a8c | refs/heads/master | 2021-01-15T21:03:12.458544 | 2014-07-24T08:18:07 | 2014-07-24T08:18:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,414 | r | runit_NOPASS_hex_1799_glm_nfold_parameters.R | ######################################################################################
# Test for HEX-1799
# h2o.glm with nfolds >= 2 should have model parameters that match the main glm model.
######################################################################################
setwd(normalizePath(dirname(R.utils::c... |
d71396b4fc1977e81a9422cf3e43cf226d5733e1 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.security.identity/man/cognitoidentityprovider_admin_reset_user_password.Rd | bd30f99a24d8815f7dc49f41627d1bba09403b17 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 2,413 | rd | cognitoidentityprovider_admin_reset_user_password.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cognitoidentityprovider_operations.R
\name{cognitoidentityprovider_admin_reset_user_password}
\alias{cognitoidentityprovider_admin_reset_user_password}
\title{Resets the specified user's password in a user pool as an administrator}
\usage{
co... |
42a0b50e48404ad22d76d07fdd123e6f71b40f0b | 7b4dd5d358e703357184b6d9e332dc19edbf773d | /plot4.R | 375bea95838ad83854d613f06335642f3c3960fa | [] | no_license | rajatparmar/ExData_Plotting1 | 0471e58b6ef2009e45b81f0dc00f51f48cc1990a | 6c842feb82778569147d060ba93a24abf74194b5 | refs/heads/master | 2021-01-18T08:47:33.096381 | 2014-07-13T11:54:52 | 2014-07-13T11:54:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,090 | r | plot4.R | plot4 <- function() {
myFile<-read.csv("./household_power_consumption.txt",sep=";",header=T,na.strings="?")
extract<-myFile[myFile$Date=="1/2/2007" | myFile$Date=="2/2/2007",]
newtime <-(strptime(paste(extract$Date, extract$Time), "%d/%m/20%y %H:%M:%S"))
extract<-cbind(extract,newtime)
par(mfrow = c(2, 2), mar = c(4,... |
70ed2de7ef8503605f34b23ee9790e7c67a1114d | f88238988b31fb01d30b3fca17d2d274d3ef7802 | /top_n6.R | b38b403b800dd05813e370598d2dfcee8f1da441 | [] | no_license | ulbstic/eurovoc_topicmodeling | a7ee832875532fa41486851f6993acfbad3e1fde | fa3eef01302ed4573e2cd63cc7284ebdfdfdecd8 | refs/heads/master | 2020-03-09T18:01:31.038361 | 2018-06-13T22:07:16 | 2018-06-13T22:07:16 | 128,839,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 448 | r | top_n6.R | library(readr)
library(tidyverse)
English_250_composition_with_topic_label <- read_csv("C:/Users/ettor/Desktop/English_250_composition_with_topic_label.csv")
View(English_250_composition_with_topic_label)
df <-
English_250_composition_with_topic_label %>%
group_by(document) %>%
top_n(n=6, topic) %>%
arran... |
3a8e1df192b1e54ea72acf7f534d1bcc5e83b526 | a390b74357ffc5730dc3d017219c97b30b03f84a | /win-library/3.1/GenomeInfoDb/doc/GenomeInfoDb.R | 5311716a3ca78e51da81c90e36470e9de04977a2 | [] | no_license | dnyanadap/R | 2faabee9ad3bee4848f71920d04cea1a1aae7584 | e0482444e763b0a0d62c4db3fb48b37c2d985ff1 | refs/heads/master | 2021-03-22T04:18:15.148145 | 2017-10-27T23:23:51 | 2017-10-27T23:23:51 | 108,560,508 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,179 | r | GenomeInfoDb.R | ## ----style, eval=TRUE, echo=FALSE, results="asis"---------------------------------------
BiocStyle::latex()
## ----preliminaries, echo=FALSE, message=FALSE-------------------------------------------
library(GenomeInfoDb)
library(TxDb.Dmelanogaster.UCSC.dm3.ensGene)
## ----genomeStyles1------------------------------... |
8eaf26821b589f17d1c3ba7de5bbfb6494685767 | 1d0e055220bb0a5d500eaea5b0eca8446ed8c874 | /tests/testthat/test-global-option.R | e6855338dffee9aef04af6b7ec69f7ed833591e0 | [] | no_license | schoonees/yardstick | 614e97ce246408e9f71cba7abee8348f7fd3eb63 | dc07dbe58e1688b51a5eaaf65cfce6e93a59a9f0 | refs/heads/master | 2020-04-04T18:56:35.617796 | 2018-11-01T20:21:00 | 2018-11-01T20:21:00 | 156,185,946 | 0 | 0 | null | 2018-11-05T08:41:31 | 2018-11-05T08:41:31 | null | UTF-8 | R | false | false | 1,371 | r | test-global-option.R | context("Global option: yardstick.event_first")
lst <- data_altman()
pathology <- lst$pathology
path_tbl <- lst$path_tbl
###################################################################
test_that('starts true', {
expect_true("yardstick.event_first" %in% names(options()))
expect_true(getOption("yardstick.event... |
95c8e227b45c668b7b8e261e13e045b11b80ba6f | 09e90273e1005027ddba5a8fd95a9ff65a95febd | /Bond_sim.R | db270fed96defa804a4df69f0fc44f24094445d3 | [] | no_license | sakuvirtanen/poma2020E | f9d7fde4a011ff6a2a7c1bbd377570873588378a | 4b45d08b5c5f0999c6149ae852fb77f7cc2114e5 | refs/heads/main | 2023-01-22T06:27:18.114057 | 2020-11-30T12:53:43 | 2020-11-30T12:53:43 | 316,382,051 | 0 | 3 | null | 2020-11-29T20:53:24 | 2020-11-27T02:34:19 | R | UTF-8 | R | false | false | 2,190 | r | Bond_sim.R |
Bond_sim <- function(ISIN, N, Begin_Date, End_Date, Steps) {
# Date conversion for matching data ranges:
Begin_Date_ = as.yearmon(Begin_Date, "%Y-%m")
Begin_Date_ = as.Date(Begin_Date_)
Begin_Date_ = format(Begin_Date_,"%Y-%m")
class(Begin_Date_)
End_Date_ = End_Date
Sim_First_Date_ = End_Date_
# E... |
09bd1641a325da053c4d33227a3a9473a12789eb | 50b3141e6964a7e523858f6ed51cb1faa45def71 | /Book of Alexey - page 375 to 387.R | 1553ff11b9a9a313e0020f8ca2bc0b148162574a | [] | no_license | Henryfrss/Studying-R | 03fb64c67fa6461a644ad32b761e307e6fa6f0d7 | d5287bc888c57ea1ee45eb59e8594a9d95ddf5d9 | refs/heads/main | 2023-05-29T22:26:24.140977 | 2021-05-30T22:12:35 | 2021-05-30T22:12:35 | 366,582,256 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,529 | r | Book of Alexey - page 375 to 387.R | #Book of Alexey Shipunov - page 375 to 387
#Read data from bugs.txt
data <- read.table("data/bugs.txt", header = TRUE)
#Find the males with the Length higher than 10 mm
data.m.big <- data[data$SEX == 1 & data$LENGTH > 10 ,]
#Add new colum WEIGHT.R ( ratio between weight and length)
data$WEIGHT.R <- data$WEIGHT/data$... |
993806e5bd6bf7c59073962b1d1a9f0ce3b39d63 | 9ae10d78d198956cb648642554ba7512e21a5b82 | /analysis/Ch2.SI.final.OLD.R | 77184d1ecc53c355331d50fc952227b7d7a4ebb0 | [] | no_license | LaurenWild/UAF_SpermWhale_Diet | 30b7d85a9f0b64713cfdbafc390dc72ebca650c7 | 4deb4e43302c2a9fd275099fdb7878c1b6e617d9 | refs/heads/master | 2020-05-24T13:45:52.781771 | 2019-05-31T01:04:23 | 2019-05-31T01:04:23 | 187,296,462 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 57,861 | r | Ch2.SI.final.OLD.R | # This code was developed to analyze variability in stable isotope ratios of sperm whales, and their groundfish/squid prey.
# This data is part of Chapter 2 of my Ph.D. dissertation.
# Species include sperm whales, sablefish, grenadier, shortraker rockfish, spiny dogfish, skates, robust clubhook squid, magister armh... |
72fc9f690dd99ae5ff6835348e2240e16fddc1f8 | ec83cb8bde12baf50e7eef22c32c8f5c6932ecc2 | /2016_June/analysis.R | 9a5950b1924481c5af639b98c40d5ce352e3a8b7 | [
"MIT"
] | permissive | johnmyleswhite/sf_politics | b62ff68f6761057fa093031e182fbf7cec827b76 | b4fa3ea30974d1d3327a20f75ee13b7da19be91e | refs/heads/master | 2021-07-17T10:39:43.477353 | 2016-11-28T16:21:09 | 2016-11-28T16:21:09 | 59,607,979 | 2 | 2 | null | 2016-11-28T16:21:09 | 2016-05-24T20:54:24 | R | UTF-8 | R | false | false | 8,213 | r | analysis.R | ###############################################################################
#
# Set up everything for ideal point analysis.
#
###############################################################################
# We use the following packages.
library("ggplot2")
library("dplyr")
library("reshape2")
library("stringr")
l... |
3a1f48aa22fdd37abf7bd04f60e835db85b1299f | 04f8fb0f857d94f316271f10138765e24089406d | /Duane Blehm's Code/Zero Gravityƒ/ZeroGravity.R | 7db72d42b4d06b4907ca99616d4dd941a32c25f5 | [] | no_license | arcanebyte/blehm | 070f47b0ee7d99af740be0f1332d564806024caf | 32f10d0d8a3d6309aca7be40f9aa29c755f4dd10 | refs/heads/master | 2020-03-23T18:38:13.333075 | 2016-10-16T12:22:42 | 2016-10-16T12:22:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 358 | r | ZeroGravity.R | * ZeroGravity.R
ZeroGravity.rsrc
TYPE ZGRV = STR
,0
ZeroGravity ver1.0, by Duane Blehm, 2/12/87
TYPE MENU
,1
\14
About Zero...
(-
,256
File
Quit /Q
,257
Options
Help...
LoScore...
! Sound
,258
Works
Peek OffScreen
Source Code...
,259
(Any Key to Exit)
Hi!
* the rest of the resources where built ... |
8c56c5eb1b6801b00f239d0fa4d8fd322a6c9cee | b1610db6e3669527acc4767e7e36b22cbd32b3d8 | /WGCNA_top_co_expressed_genes.R | 1b66073ebf1488c56ecf11c33835c01b9f309375 | [] | no_license | rakrasnoff/RNAseqAnalysisPipelineScripts | 5d566a0fd4b89703f1560d938757355840a4c4c4 | cef81776ced87d47da1cb2368a522c84407d5b69 | refs/heads/master | 2020-04-06T07:12:12.869782 | 2016-09-07T19:06:05 | 2016-09-07T19:06:05 | 64,955,709 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,441 | r | WGCNA_top_co_expressed_genes.R | #WGCNA analysis of top-co-expressed genes
#############################################################################################################################################
#get list of genes best correlated to each index gene
getTopCor<-function(indexGene, expressionData, topNumber){
#calculate pairwise ... |
98996c2d5001c85055d47b6a8a04812ad4c655a7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fastAdaboost/examples/get_tree.Rd.R | 237735c6a2343ab4aeda90ca60fe543c211b5e8f | [] | 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 | 323 | r | get_tree.Rd.R | library(fastAdaboost)
### Name: get_tree
### Title: Fetches a decision tree
### Aliases: get_tree
### ** Examples
fakedata <- data.frame( X=c(rnorm(100,0,1),rnorm(100,1,1)), Y=c(rep(0,100),rep(1,100) ) )
fakedata$Y <- factor(fakedata$Y)
test_adaboost <- adaboost(Y~X, fakedata, 10)
tree <- get_tree(test_adaboost,5)
... |
353ebed8fbeb9311a68d8dcc6743941af40851d0 | 40472765d5b226031f97d9371e503d8b47e66904 | /R code/Auxiliary code/Resample residuals vs. outcomes.R | 386015c168fde044947bb37ac32bc2b04f228e1f | [] | no_license | guhjy/multiple_outcomes | 6157d0896d85fa23f940b834378407ca8b83ff4d | 57e5acb1e400c77271e315d16c3a890e489326e2 | refs/heads/master | 2020-04-06T08:50:35.703178 | 2018-11-13T04:08:37 | 2018-11-13T04:08:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,042 | r | Resample residuals vs. outcomes.R |
########################### REGRESSION ON ORIGINAL DATA ###########################
# simulate from multiple regression model, comparing residual resampling to full-case resampling
# super bimodal on sex
n = 1000
male = rbinom( n=n, size=1, prob=0.5 )
X = rnorm( n, mean = 4 * male, sd = 1 )
bmale = 15
bX = -1
Y = rn... |
f40e4a2ed98e3215bd6678b10018607a1655004a | 9b66d2e4bd0beb946d9dba67e6de1d219094feeb | /R/autokey.R | 69fc6ec7e93b7eb0dbc7955941441f349d828fe3 | [] | no_license | decisionpatterns/data.table.plus | 531ccd1cf567b7f046fe6f1d8d63181238d49728 | b8c45d74e4bb4afe8cbaffbe9f69506924cd0148 | refs/heads/master | 2020-08-11T06:54:58.001409 | 2020-06-10T06:02:10 | 2020-06-10T06:02:10 | 214,511,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,396 | r | autokey.R | #' Automatically set data.table keys
#'
#' Atomatically sets the keys of a data.table based on \code{options}.
#'
#' @param x data.table that will get autokeys set.
#' @param keys character; the values to set for keys if present in \code{dt}.
#'
#' \code{autokey} sets the keys for a data.table. The default is to look a... |
e1148900922c743f6d5205d640eb3489d5ca317d | fe1fab57762a61ecfcf017efd8afb26a2b81e65d | /HW2/hw2.R | b515dd3e36f4fc5e24664745b90f51e710257cf1 | [] | no_license | klinvill/CSCI-183-Data-Science | 51d057758a9aa163ecd5da2a92248cd6314de48e | 5716fdba269dd743011a1e70d9a8b71ee0bb57e7 | refs/heads/master | 2020-12-24T16:23:40.474823 | 2015-06-06T15:50:54 | 2015-06-06T15:50:54 | 33,423,379 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,984 | r | hw2.R | # Goal:
# Predict survival or death for each passenger
#
# General Observations:
# Class mattered, more 1st class people had a >50% chance of survival, 2nd class was
# roughly 50-50, 3rd class had ~25% chance of survival
# Sex mattered, a large majority of females survived while a large majority of ... |
dfbbb974ceda5f78fc62907b2db060f0fa981d1f | 432a02b2af0afa93557ee16176e905ca00b653e5 | /GSC/Thyroid_markers/Anaplastic/complete_cohort_analysis/ClusterSamplesByMarker.R | 092a87eb9a407503526ebe9291ab8522727b209d | [] | no_license | obigriffith/analysis-projects-R | 403d47d61c26f180e3b5073ac4827c70aeb9aa6b | 12452f9fc12c6823823702cd4ec4b1ca0b979672 | refs/heads/master | 2016-09-10T19:03:53.720129 | 2015-01-31T19:45:05 | 2015-01-31T19:45:05 | 25,434,074 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,871 | r | ClusterSamplesByMarker.R | library("gplots") #For advanced heatmaps
setwd("C:/Documents and Settings/obig/My Documents/Projects/Thyroid_markers/Anaplastic/complete_cohort_analysis")
datafile="ATC_all_deconvoluted_data_62markers_23JAN07_nocalcpos_primfoci.txt"
data=read.table(datafile, header = TRUE, na.strings = "NA", sep="\t")
type=da... |
e28eed5a96db708256fb3c487ba8432b9989be83 | 6e7af9b27cf18bb4633ad9d0b63a7e8ed9a887fb | /man/Sensor-class.Rd | a5855e72933777c71a78609a5f6e35c0a0f99819 | [
"MIT"
] | permissive | ApfeldLab/SensorOverlord | 0fc62dd3c11b702cd477d0692085ea7be46911a7 | 2fbe7e0d0963561241d5c1e78dd131211e1b31a0 | refs/heads/master | 2022-12-27T15:20:27.343783 | 2020-10-13T23:28:48 | 2020-10-13T23:28:48 | 176,821,341 | 2 | 0 | null | 2020-06-14T15:37:09 | 2019-03-20T21:40:17 | R | UTF-8 | R | false | true | 591 | rd | Sensor-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Sensor_Classes.R
\docType{class}
\name{Sensor-class}
\alias{Sensor-class}
\title{An S4 class to represent a 2-state sensor}
\description{
An S4 class to represent a 2-state sensor
}
\section{Slots}{
\describe{
\item{\code{Rmin}}{To represent... |
dd561dc93f1ce432c3bb55a2c4d1c58a98df0a51 | 369c181cab199cb4b41c670dc1556056118facb6 | /R/lca.R | 6ba59482b377bde21c2d0741e93e185693549172 | [] | no_license | igollini/lvm4net | 8c8d6ff6ca03a07203e42997465cfccbccf95fc4 | 0ecbf03a723841daa885b9a288da86806cd5cbea | refs/heads/master | 2021-12-14T01:50:06.764045 | 2019-06-19T10:01:11 | 2019-06-19T10:01:11 | 28,144,907 | 12 | 5 | null | 2021-12-10T18:24:51 | 2014-12-17T16:17:28 | R | UTF-8 | R | false | false | 2,779 | r | lca.R | #' Latent Class Analysis
#'
#' Latent class analysis (LCA) can be used to find groups in the sender nodes (with the condition of independence within the groups). For more details see Gollini, I. (in press) and Gollini, I., and Murphy, T. B. (2014).
#'
#' @param X (\code{N} x \code{M}) binary incidence matrix
#' @param ... |
220960b42bbfba2fb479af290f353a6734c39300 | 8c24bcf06c173551b1546b432069575d733df87f | /r/an_descriptive_stats_tables.R | 9ad7dd920b2971edab86664da24c7c46fd206fd7 | [
"MIT"
] | permissive | HDRUK/comix_covid-19-first_wave | 8d01f201171294526546ec166ce0373f829a498e | 5cb79c5043c605f41f8d1297af17e9ba5b3ed1a9 | refs/heads/master | 2022-04-13T08:43:10.334586 | 2020-04-13T20:41:53 | 2020-04-13T20:41:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,636 | r | an_descriptive_stats_tables.R | ## Descriptive values for the paper
library(socialmixr)
library(data.table)
library(ggplot2)
part <- readRDS('data/clean_participants.rds')
contacts <- readRDS('data/clean_contacts.rds')
household <- readRDS('data/clean_households.rds')
## Mean cases per person
## Number of participants
nrow(part)
## Number of co... |
e575f47f2cde8d5bbf62892d8325fa3024ea5897 | 75e241d972a201b2867eefea84ba3b0f4ded0475 | /man/plotFocals.Rd | 72a3b463e25625f05c954470a83471685d84e8e2 | [] | no_license | bernatgel/FindFocals | d75b8a69a22235d94c166b933ca79caaa80f2f00 | 485033c77b27ba8ea8d5a94f078c1a3638621b3a | refs/heads/master | 2021-01-23T06:05:40.212579 | 2017-09-14T15:53:16 | 2017-09-14T15:53:16 | 102,488,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,314 | rd | plotFocals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotFocals.R
\name{plotFocals}
\alias{plotFocals}
\title{plotFocals}
\usage{
plotFocals(find.focal.results,
plot.gain=TRUE, plot.gain.points=FALSE, gain.col="#FFBD07AA", gain.border.col="#FFBD07AA",
plot.del=TRUE, plot.del.points=FALSE, del.c... |
bb974a49f489f73dc94545b35a7d51ca93c38699 | 3a50e82d1796b6d80d384b38e45fdce6a72c2c64 | /Lectures/Lecture 5 - Functions.R | f267f8e025e4af3a85c08ac2890375669f429d0c | [] | no_license | senanarci/CMPE140 | 5362161ac19ab9416f4f8c02049d9277a2c1fd22 | b564832bbce66c32ad20208036f483348660a6cb | refs/heads/master | 2020-03-19T12:16:20.291400 | 2018-05-15T08:56:36 | 2018-05-15T08:56:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,444 | r | Lecture 5 - Functions.R | # In the context of computer programming, a _function_ is a piece of code that takes _input arguments_, performs a specific task, and _returns its output_.
#
# A first example
# ==============
# Let us define a function that returns the square of a given number.
square <- function(x) {
return(x^2)
}
# We call t... |
bb9a30a289bc7b20c5735b048a230e6983f754f9 | 6ae8053b99c90a0b4bef5ee069efe4b008dc046d | /plot3.R | 639c93193e996d5b5548c5327161aab5025bb4b2 | [] | no_license | rui-r-duan/ExData_Plotting1 | 47730d5737a9fa3eaea3f1048827251c67794ca9 | b13d644a0e19931b42c49e4f5dd2a113eec488f9 | refs/heads/master | 2021-07-19T06:53:34.432211 | 2017-03-13T05:10:11 | 2017-03-13T05:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 750 | r | plot3.R | source("loaddata.R")
# Drawing on the fixed size PNG directly makes the size of the legend beautiful.
# If we draw it on the screen device and then dev.copy(png,...), the legend will be ugly.
# The example images in "figure" directory are 504 * 504. I choose 500 * 500 to make
# a slight difference.
png("plot3.png", wi... |
9995d4f44de0ebc3c55ed01b0f46e9767af5d545 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlepubsubv1beta1a.auto/man/Subscription.Rd | 35544492fa6c85de1cb511a4360b67aa06480ee9 | [
"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 | 833 | rd | Subscription.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pubsub_objects.R
\name{Subscription}
\alias{Subscription}
\title{Subscription Object}
\usage{
Subscription(name = NULL, topic = NULL, pushConfig = NULL,
ackDeadlineSeconds = NULL)
}
\arguments{
\item{name}{Name of the subscription}
\item{t... |
23585b374821ea0edc57c240b6dc3f2a66268231 | 20a1c0fb795a8bea4ad2469f89ec3c7c9cd121f1 | /man/backward.glm.Rd | 32ce0817791dcbde94e78d56631cb8fcf1c11c81 | [] | no_license | Oleksandr-Soloshenko/StepwiseBinaryLogisticRegression | a3901e7de000330ae67a7562b261c5e77b56beed | 3e2dbaa107550d833d355d6e6c6018c005c7af36 | refs/heads/master | 2022-04-24T02:03:58.254849 | 2020-04-21T08:49:20 | 2020-04-21T08:49:20 | 257,266,469 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,451 | rd | backward.glm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/backward.glm.R
\name{backward.glm}
\alias{backward.glm}
\title{Backward variable selection using given full model}
\usage{
backward.glm(model, sls = 0.05, printing = TRUE)
}
\arguments{
\item{model}{A full 'glm' model preliminarily built with... |
ba230f802cc9fe1e967d3071f884033d4f9aa644 | 74e9751fa7839d3924543fa474acf2f69d6443ce | /dissinfl.R | cfb59ae5069f9d76ba06109d4b65f8a4a99b85e1 | [] | no_license | grojasmatute/mexico | 2d372a179fd8da8a71d5c8bd391c9b39069cd24d | 157f976fbfbee0f9d32e26d9d5fe2971eeb79894 | refs/heads/master | 2020-05-17T16:41:01.174329 | 2019-04-27T16:45:48 | 2019-04-27T16:45:48 | 183,826,532 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,451 | r | dissinfl.R |
## inflation one year ahead
##2005
inf205_id2 <- subset(newdf,inft == "infgen_a06" & variable =="infgentmas1" & analyst == 4 )
inf205_id2
##df for only inflation of the current period
infdf0506 <- NULL # empty subset
infpon0506 <- matrix()
infidpoint0506 <- add.col(gy0506, infpon0506)
infidpoint0506
## data... |
95cfec8639eeb9dcccd3b80e2032dac4cce5cc76 | 9535af0ac6a72c149570514bf046babb6a0995a9 | /Import_copy_number.R | e5068b8706c433ba29bfb5a48c4bc7aded991947 | [] | no_license | FNLCR-DMAP/LP_epi_pred | b44e8aa33e2ded8318ad30f0e92c7a30855d78b7 | db3a7644f47f78a2c486669681621ab04f465084 | refs/heads/master | 2023-06-06T19:59:10.532415 | 2021-06-22T15:38:14 | 2021-06-22T15:38:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,054 | r | Import_copy_number.R | require(data.table)
#amplifications and deletions (ALL)
CNA_all <- fread(paste0(path_prefix,"Del_amp_conumee_bins_neuro_baselinecorrection_preprocessRaw_XYincl_sub30_GMAF1p_minwidth3.txt"),
stringsAsFactors = FALSE, check.names = FALSE, na.strings = "")
CNA_deleterious <- CNA_all[rowSums(is.na(CNA_all... |
80884501fb1f81e76437de1b2d2b542ece8d1060 | 7833e4754f301593059953421e422a3129c9f64b | /statintroRproj/Chapter4.R | 278ba9fcb8eae7e32d40ea67a253f5325c9c6549 | [] | no_license | anhnguyendepocen/Stat-Intro | a67ea5b0b197e3f47e965b1cc948651855bf5728 | 22a756bd1a9ecacbc55d2c13d7cb62e0106890e9 | refs/heads/master | 2020-11-24T11:30:45.475523 | 2019-05-14T23:32:57 | 2019-05-14T23:32:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,387 | r | Chapter4.R | library(lme4)
library(lmerTest)
photo <- read.csv(file = "Data/Prac4photosynthesis.csv")
m_noblock <- lm(PhotoRate~Temp, data=photo)
anova(m_noblock)
m_block <- lm(PhotoRate~Temp+ as.factor(Position), data=photo)
anova(m_block)
m_block_re <- lmer(PhotoRate~Temp+ (1|Position), data=photo)
anova(m_block_re)
lmerTest... |
dea7acaba25fadcdc727500ab9950864ab89e6df | 04e2b30e8ffd827c7300463280884901270cf820 | /plot6.R | 540775b63fe82678d2d7f2e692ca8866a29bc07e | [] | no_license | jpuccia/ExDataProject2 | e152be126a4b119253df0ec75c64d10e86a86cdc | e2942b3e47e76543b19bdd80742850adbb761e0e | refs/heads/master | 2016-09-09T20:55:44.045749 | 2015-07-26T21:57:23 | 2015-07-26T21:57:23 | 39,736,132 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,220 | r | plot6.R | ## plot6.R
##
## Task: Create a plot that shows the total vehicle emissions of PM2.5 in
##... Baltimore (fips=24510) and Los Angeles (fips=06037) by year to
##... determine if emissions are increasing or decreasing and to
##... compare the two cities.
##
plot6 <- function(){
library(ggplot2)
library... |
d14c8b89f11833f34fc9ce8717704dfec810e2f9 | d428f569ccad08eb2dc07e961c5ab7e33e6fc515 | /Rscripts/histogram_v5.R | 4959cbf64a0a998c6720ab86fea1fb598301ec80 | [] | no_license | sachingadakh/pyR | 1fd12ecc44609d72e072709961363073b1a668c0 | 45b12f83bfe18a8b67d2075a8e0f15f0c2d3f9b8 | refs/heads/master | 2020-04-02T21:54:54.516802 | 2018-11-02T15:46:47 | 2018-11-02T15:46:47 | 154,815,109 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,302 | r | histogram_v5.R | G600_new <- read.table("W200_G600_peak_widths.txt", header = T, row.names = NULL, sep = "\t", fill = T)
head(G600_new)
names <- colnames(G600_new)
# library(compare)
# comparison <- compare(G600_new[,"KFO6"],G600[,"H3K9me3_KFO6.Peak.Width"],allowAll=TRUE)
# comparison$tM
# a1<-as.data.frame(G600_new[,"KFO6"])
# head(a... |
7b033e3fccb7d10b359ec72cffa1ba78f794cb92 | c539c989ec430b74cb22d5b2adb07afc40ba6bdc | /FitnessStats.R | b90c51a6dba0fdb086b3c2d5dcb020fd19c0068b | [] | no_license | rachaelbay/Acropora-hyacinthus-transplant-experiment | b095b79d0f856f1daef5e7f8bd2fc015c205d229 | c0d464a4b94b20d1420d83596cc8525eab019025 | refs/heads/master | 2021-01-17T07:10:45.151353 | 2016-11-06T17:10:10 | 2016-11-06T17:10:10 | 62,743,206 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,318 | r | FitnessStats.R | library(lme4)
library(lmerTest)
library(WGCNA)
##Read in data
data <- read.delim("SuppTab1.txt",header=T)
##############
## GLMM ##
##############
###Survival
glmerControl=glmerControl(optimizer="bobyqa")
surv.full <- glmer(Survival~Origin*Location+(1|Crate)+(1|Colony),data=data,
family="binomial",control=glmerCon... |
f4a242a67573c04207897ebb5684be53bd0a0b49 | b25934d0200b909e9be4e0759ab6f1f88d659087 | /IndexSSP/session1.R | 84c82436809f375d2ce19edd3aae0a830a7fe6c4 | [] | no_license | shahar-siegman/old_projects | 8a94d67f2fd6f6f861fc903ac246b4d468395998 | 411756f7ae03e798a8376a41ce1ec57b9eda520f | refs/heads/master | 2021-10-19T04:59:14.538249 | 2015-12-22T15:18:26 | 2015-12-22T15:18:26 | 171,240,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,997 | r | session1.R | library(ggplot2)
library(gridExtra)
simulateSingleFile <- function(fname) {
auctions <- loadAuctions(fname)
performanceDF <- resultsForRange(auctions,0.01,50)
return(performanceDF)
}
loadAuctions <- function(inputFile=NA) {
if(identical(inputFile,NA))
inputFile <- "C:\\Shahar\\Projects\\IndexSSP\\data.txt... |
48f263506907767333551642aae615a0f13cadfe | c617ac82efd11fbf1e0b04a78d1fe8c341dd3bb5 | /Assign1/complete.R | f52e16f704b3d9fb451c87da9c19f65877cca4d5 | [] | no_license | kartikeyakirar/R_coursera | b94bea052e57c0d015ffa43099b0d96f61a8e318 | 5bc7fc371f565a8fa0b29b93d6a7585eef4af139 | refs/heads/master | 2020-12-31T07:09:24.525313 | 2016-05-20T18:47:24 | 2016-05-20T18:47:24 | 58,585,431 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 273 | r | complete.R | complete <- function(directory, id = 1:332) {
listoffiles<-list.files(directory,full.names = T)
da<-data.frame()
for(t in id)
{
y<-read.csv(listoffiles[t])
x<-sum(complete.cases(y))
da<-rbind(da,c(t,x))
}
colnames(da)<-c("id","nobs")
da
} |
cd5a3646aad3d56aea24773b9a0d14ea78671579 | 02409b4d40b182cf5d044ec8d571075430300908 | /man/tblStrings-package.Rd | 24b9204b4ae7a8c7e506fc0f3d799d2fe672bcaf | [
"MIT"
] | permissive | bcjaeger/tblStrings | f556cb8e070c1b7d19cfcef322b659db9d26def8 | 0ec83e28e20915e16f455992c618aa6d0b9a1c94 | refs/heads/master | 2021-01-01T02:00:42.547564 | 2020-08-13T12:27:04 | 2020-08-13T12:27:04 | 239,131,540 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 771 | rd | tblStrings-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tblStrings-package.R
\docType{package}
\name{tblStrings-package}
\alias{tblStrings}
\alias{tblStrings-package}
\title{tblStrings: What the Package Does (One Line, Title Case)}
\description{
tblStrings helps translate double and integer valued... |
be11f5ad29de3d47007d6521a1b91c9c687ffca7 | 285541e8ae77482ac7eeb5b51ce06edeb96ef246 | /man/crop_curves.Rd | 46c0cc7164c0a77db7b495b2ad8b4718456a0252 | [] | no_license | myllym/GET | 2033c4f590da7cce114b588e7e39b243b543dcdf | 72988291d9c56b468c5dddfb5bc2c23f519b6dca | refs/heads/master | 2023-08-24T23:23:14.364346 | 2023-08-15T21:33:51 | 2023-08-15T21:33:51 | 68,914,145 | 12 | 5 | null | 2022-11-16T07:55:16 | 2016-09-22T11:20:34 | R | UTF-8 | R | false | true | 1,394 | rd | crop_curves.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/crop.r
\name{crop_curves}
\alias{crop_curves}
\title{Crop the curves}
\usage{
crop_curves(curve_set, allfinite = TRUE, r_min = NULL, r_max = NULL)
}
\arguments{
\item{curve_set}{A curve_set (see \code{\link{create_curve_set}}) or
an \code{env... |
22f769beb1da36fdd2569e11c9088cfc67f9529d | 729528857dc75f00814c3aeb612544a123cdbc4b | /R_scripts/icpsr-cbp1980.R | eb7415655adc2867b309c238e004d1ae1d3640e7 | [] | no_license | Reese565/robots_polar | f52545e8c6330700a4b07f77ce4362c887cd2e05 | 0f79a8202162c5c80ba20ebe67e5451294efa7d8 | refs/heads/main | 2023-04-29T22:26:51.794970 | 2021-05-11T16:44:05 | 2021-05-11T16:44:05 | 366,448,139 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,619 | r | icpsr-cbp1980.R | # Title: ICPSR-CBP 1980
# Description: takes the raw ASCII files for the 1980 County Business Patterns
# survey and transforms them into a dataframe. The raw ASCI files are split
# for the counties by each of the nine Census Divisions.
library(stringr)
library(foreign)
widths <- c(2, 3, 1, 4, 1, 1, 12, 12, 12,
... |
3cb7ca1a612fec9d922cdc756d4131e64b39d06a | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/multivariance/man/coins.Rd | 2d881dacf3ffa4ba43e2bac1980822558d2634a1 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,038 | rd | coins.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariance-functions.R
\name{coins}
\alias{coins}
\title{dependence example: k-independent coin sampling}
\usage{
coins(N = 1000, k = 2, type = "even")
}
\arguments{
\item{N}{number of samples}
\item{k}{each k-tuple will be independent}
... |
5dab93941f1c37fffb7bc9918a8f099bd2811c31 | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /developers/LuthigerJungwirth.R | ae391b1abe56a11332db41ecff078e0a698c0cfd | [] | no_license | Derek-Jones/ESEUR-code-data | 140f9cf41b2bcc512bbb2e04bcd81b5f82eef3e1 | 2f42f3fb6e46d273a3803db21e7e70eed2c8c09c | refs/heads/master | 2023-04-04T21:32:13.160607 | 2023-03-20T19:19:51 | 2023-03-20T19:19:51 | 49,327,508 | 420 | 50 | null | null | null | null | UTF-8 | R | false | false | 6,545 | r | LuthigerJungwirth.R | #
# LuthigerJungwirth.R, 21 Sep 18
# Data from:
# Pervasive Fun
# Benno Luthiger and Carola Jungwirth
#
# Example from:
# Evidence-based Software Engineering: based on the publicly available data
# Derek M. Jones
#
# TAG developer_fun
source("ESEUR_config.r")
library("ordinal")
pal_col=rainbow(10)
# See LuthigerJu... |
1cef64f2c076ebb2b0698f6d891d60a3092ea888 | eaa91909789a4e5dd8e01f35d6164c53b2a90225 | /cachematrix.R | 0b2583cc9621c7d09296c7573e2a872ba8350d14 | [] | no_license | gxdlarson/ProgrammingAssignment2 | 7ed69c3292d9e2ec6fd6bb8e441aca176756d853 | 5e811f5f8ffe81acdb7eb1b43b502f4381f9181c | refs/heads/master | 2020-12-27T08:41:25.177204 | 2014-04-21T21:33:16 | 2014-04-21T21:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,296 | r | cachematrix.R | ## the purpose of the following two functions is to create a
## special object that stores a numeric matrix and cache's its
## inverse matrix. the inverse matrix is cached in the sense
## that it can be computed once and then stored for further use.
## the makeCacheMatrix() function will create
## a list object with ... |
4238a69512c30092771212f84457bc7afbd936a8 | 411b3724bd36e8ff2592ad4d7a28c080b9386303 | /R/mini_capture_analysis.R | f645d782ffa4cb8516770bc00abcb3041e0f1d5f | [] | no_license | NathanWhitmore/GAOSrmark | 1a290e5bb992244a4091828f70fec7f19a88c6f9 | 7f592ea3eac41d7a6888f778f01b155507a82333 | refs/heads/main | 2023-01-04T13:23:22.476354 | 2020-10-19T00:09:34 | 2020-10-19T00:09:34 | 301,903,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,019 | r | mini_capture_analysis.R | # closed capture Huggins analysis
# closed capture Huggins analysis
mini_capture_analysis <- function (path, site_species, year) {
suppressMessages(conflict_prefer("filter", "dplyr"))
suppressMessages(conflict_prefer("here", "here"))
# setwd to save
setwd(paste0(here(), "/", path, "/Results"))
# chan... |
b71a32496af751e739cab0a155bf1592ae4f54dd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/allanvar/examples/gyroz.Rd.R | ece1890b2b179519b784c387966a5dc68eb92af4 | [] | 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 | 203 | r | gyroz.Rd.R | library(allanvar)
### Name: gyroz
### Title: Gyro sensor output for one-axis simulated gyroscope
### Aliases: gyroz
### Keywords: datasets
### ** Examples
data(gyroz)
frequency(gyroz)
plot(gyroz)
|
fd4e176b26708367a0a98fd91a0f927c7f39478d | 760239720b2efdf04c2e7d8c241c481e9da1627d | /cachematrix.R | a339e51dd9536010bc8866c3a89c50327ab231ba | [] | no_license | sergbelich/ProgrammingAssignment2 | c7945482930f6b4736816a482973190505032c4a | 1604376b76b7d239801976d0a2e8e8d3ce6bdcb8 | refs/heads/master | 2021-01-16T19:34:54.327960 | 2016-02-22T05:02:48 | 2016-02-22T05:02:48 | 52,245,914 | 0 | 0 | null | 2016-02-22T04:00:49 | 2016-02-22T04:00:48 | null | UTF-8 | R | false | false | 2,331 | r | cachematrix.R | # Assignment: Caching the Inverse of a Matrix
# Matrix inversion is usually a costly computation and there may be some benefit
# to caching the inverse of a matrix rather than compute it repeatedly (there are
# also alternatives to matrix inversion that we will not discuss here).
# The assignment is to write a pair ... |
076bbab55d812b2c479712ab440e1c76a7bddd4f | 5bf8bc5fc2c3ce33658c8ff80f7047aa59aa2920 | /cachematrix.R | 759878697255f3d80bcd564bb309c63733206426 | [] | no_license | HHStarling/ProgrammingAssignment2 | 27e9459c2238190afa73c8830a4cb75c2fce62aa | 480fd99d1ec5bfcc5095bb24ad6d7ce6e747fd8a | refs/heads/master | 2021-01-17T22:43:49.589149 | 2015-09-14T17:40:50 | 2015-09-14T17:40:50 | 42,458,057 | 0 | 0 | null | 2015-09-14T15:40:39 | 2015-09-14T15:40:37 | null | UTF-8 | R | false | false | 1,776 | r | cachematrix.R | ## Functions for Programming assignment 2 - R Programming
## makeCacheMatrix and cacheSolve are used to calculate and store/cache
## the inverse of a matrix.
## programmer: HHStarling 20150914
## TO USE THE FUNCTIONS:
## 1.source this file in working directory
## 2.create matrix and assign to list of functions in make... |
433911629200f60af32f53b996cc5777e820a7a6 | f6c95bb6158e98b2d3d5a2023825cd9ebb9a76bb | /man/leaf_recode.Rd | 1a4ecd096ec37a5dfe4fd3e9da09badb4f765495 | [
"MIT"
] | permissive | rossellhayes/leafpeepr | 81bd5a2e5d9f0ad7ccd5fa79b26bf4111e3e1f41 | 70a5e54b94047fbe597d2095f7fd2ea7f7f7bbfb | refs/heads/main | 2022-06-14T20:07:27.380834 | 2020-02-28T20:50:35 | 2020-02-28T20:50:35 | 243,159,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,900 | rd | leaf_recode.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/leaf_recode.R
\name{leaf_recode}
\alias{leaf_recode}
\title{Recode columns of a data frame}
\usage{
leaf_recode(tbl, code_tbl)
}
\arguments{
\item{tbl}{Data frame to modify}
\item{code_tbl}{A data frame of recoding values, either:
\itemize{
... |
4c96346aa690983a9c8627e59870485613bd5905 | d458a443c28455a13e204fcffd2c3ebe053f5179 | /download-data.r | 2f30312fcd50ce8bead0d11c36fc57128984ac0b | [] | no_license | AndriiGnap/murders | 2fa1502eb0ed7e26d46ca83b3a4785147a93a6cb | a31284bb099a6faa1e914df4945bf35f29deab28 | refs/heads/master | 2023-02-03T22:01:25.738218 | 2020-12-25T15:47:47 | 2020-12-25T15:47:47 | 324,388,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7 | r | download-data.r | url <- |
4b7e3d74a2de61dfb298f78d9b00730a43339d6c | d0d4b8f8cd10f31cac78780429d47ef1496faaf5 | /run_analysis.R | 78e83cf6f8d1b38687e0a9cc78d024c76fe0af0e | [] | no_license | abeyg/coursera-data-science-data-cleaning | 41006ceed879653626c6bf8f1382c455fc3bdd4f | deeb6146c13e7516795a24205e56cc637de51fef | refs/heads/master | 2021-01-10T14:43:49.719511 | 2015-11-22T16:18:51 | 2015-11-22T16:18:51 | 46,595,275 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,663 | r | run_analysis.R | #### Creates tidy data from the input by applying various filtering and selection as described in the
#### problem definition of the project (which is copied below).
#### Creates an R script run_analysis.R that does the following:
####
#### 1. Merges the training and the test sets to create one data set.
#### 2. Extrac... |
1714469c0fcaab1a77edb656b53f0c3413ffac52 | 90bc0268ab54edfeb1eb2231e3d40c074b1fc784 | /man/list_named.Rd | d2797e345cc426c767c4de1b8d549dfa280336a0 | [] | no_license | jackwasey/jwutil | e920952f8f42ef609c6019f7107c4256836fb4a9 | d149051dc750a56412c8c7d7d07c1d3619d4f4b2 | refs/heads/master | 2021-01-17T09:26:51.710521 | 2020-01-18T19:58:17 | 2020-01-18T19:58:17 | 24,302,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 505 | rd | list_named.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/list.r
\name{list_named}
\alias{list_named}
\title{Make a list using input argument names as names}
\usage{
list_named(...)
}
\arguments{
\item{...}{arguments whose names become list item names, and whose values
become the values in the list}... |
0e6f6b4a24c67634b0bc76083c9adccf5c8167ac | ca1366f48b604a67cf37023c71ba69ccaf9fe556 | /R/match_font.R | 00c24d944f6592ffdb3624608059a1f9fc87bfb4 | [
"MIT"
] | permissive | jimhester/systemfonts | 89ce3c025f3956dac0cb06fc0ad2dd53e1cc61dc | e3c5febec9fa879e5524b135edfa00bd68b2464f | refs/heads/master | 2021-07-07T20:45:44.535258 | 2019-06-04T08:42:15 | 2019-06-04T08:42:15 | 190,199,514 | 0 | 0 | NOASSERTION | 2019-06-04T12:45:06 | 2019-06-04T12:45:06 | null | UTF-8 | R | false | false | 411 | r | match_font.R | #' Find a system font by name and style
#'
#' This function locates the font file best matching a name and optional style
#' (italic/bold).
#'
#' @return A path locating the font file
#'
#' @export
#'
match_font <- function(family, italic = FALSE, bold = FALSE) {
if (!is.character(family)) stop("family must be a stri... |
1d3dbc59c91f3d61dde9ea1c8e3df7884b6bf915 | 4161c9d898a85ddc9ddcf5efbd5e9806580e7d45 | /cachematrix.R | 5d62c923ecf8f63570b19fe6b289636101ae9709 | [] | no_license | gpodolan/ProgrammingAssignment2 | 73d65974cbf2376163d52667936d5ab10e30f792 | d53891385ac0ac052e42d1cc036c606c461a85a8 | refs/heads/master | 2020-04-01T04:17:59.876453 | 2018-10-13T10:49:48 | 2018-10-13T10:49:48 | 152,857,627 | 0 | 0 | null | 2018-10-13T09:46:30 | 2018-10-13T09:46:30 | null | UTF-8 | R | false | false | 1,425 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
#function to create and store a cached matrix and it's inverse
inv <- NULL #sets inverse to NULL
set <- function(y){
... |
30cb691ab418a0bf3e87574f5d5e99757a41c906 | a54619ef3136e960a8174cd8c31672f680265bca | /S24 Chunker Dataflow Folder/3-R Script Source/1 - Exploring UK Buildings - Functionised.R | efda257b190a57103a21b726aa175fc3e280406b | [] | no_license | tayoso2/pdas_mapping | 47f36791bd88fe0b3ca8fb60c9cd8faf4e0a9844 | 831895fc2ffc28f933a26e4da30bfbc23ca1ed98 | refs/heads/main | 2023-05-07T02:25:07.045575 | 2021-06-02T12:35:51 | 2021-06-02T12:35:51 | 373,146,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,334 | r | 1 - Exploring UK Buildings - Functionised.R | # All packages are loaded as part of "3 - Chunker.R"
# Data load ---------------------------------------------------------------
loadin <- function(buildingpath, n24path, crs = 27700) {
# Load in buildings
buildings <- st_read(buildingpath, stringsAsFactors = FALSE) %>%
st_zm() # remove z coordinate
st... |
b16a07da791f1df9de341a3cc6dc03831127b795 | 71ad5585118ca60ad690eb3ede66562a01cd4b16 | /lab-scripts/ordinal-logistic-regression-lab.R | dcdc3079efe20de2b5a6ff9ce7a7992796b4d46a | [
"MIT"
] | permissive | depocen/post8000 | 3c1983a7718c218cd6029d5ff82a5d810127db22 | 56f4d557d98ac10e9191758933debb86366d9db3 | refs/heads/master | 2023-04-09T16:59:36.514644 | 2021-04-20T20:54:59 | 2021-04-20T20:54:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,215 | r | ordinal-logistic-regression-lab.R | #' ---
#' title: "Ordinal Logistic Regression"
#' author: Steven V. Miller, [svmiller.com](http://svmiller.com)
#' date: 1 April 2021
#' abstract: "This is a lab script for [POST 8000](http://post8000.svmiller.com), a graduate-level quantitative methods for public policy class that I teach at Clemson University. It wil... |
3189e08ba1a76aaa19b60a3c099bec57639fb884 | 143fa3e56d6564fdccfa6b731ebe428241ee09dd | /tests/testthat/test-data-survey.R | 222a9a7d059074ad28b0f2722d5b62cbf6471ef6 | [
"MIT"
] | permissive | mrc-ide/naomi1 | 3b5484b84008cda992bab6473fdac2e895b164ca | 2cb981b9370f50641d3a8c4bc6d338e56e43877b | refs/heads/master | 2023-01-09T03:51:02.965022 | 2020-11-06T13:24:01 | 2020-11-06T13:24:01 | 310,593,762 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,185 | r | test-data-survey.R | context("test-data-survey")
test_that("cmc_date() returns correct value", {
expect_equal(cmc_date(as.Date("1987-02-11", format = "%Y-%m-%d")), 1046)
})
test_that("cmc_date() returns an error if provided non-Date argument", {
expect_error(cmc_date("foo"))
expect_error(cmc_date(1046))
expect_error(cmc_date("198... |
50e84ded84cd0a1d0840607663784d11013bf468 | 514ef1a621fba60bf920a884b2f37d3be945ba4f | /combing_night_files.R | 799571d23cf64715b40fd0d6984fa407fe0d82e0 | [] | no_license | aurielfournier/R_in_ecology | 478666737b012d8bacdac657d2239accb6a7ccbf | 05c8a96664f5bbaa4848af4f5fd1f703f8157fbd | refs/heads/master | 2021-01-10T14:02:17.148510 | 2016-02-02T00:49:10 | 2016-02-02T00:49:10 | 50,205,895 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,015 | r | combing_night_files.R |
file_names <- list.files(path="./R_in_ecology/night_files/",pattern=".csv")
# these are highly subseted files from my dissertation, I realize that latitude typically has longitude with it, but, this is all I'm using for this example.
library(tidyr)
library(dplyr)
library(auriel)
nights <- list()
for(i in 1:leng... |
ee2e5e9da3e570d75a862d02f713e1f17eec08fd | a539a580b2cfc5a19002e1ce94c8746c82e16efe | /tests/testthat/test-column.R | acef394e7ce0cd254cdcbbd7c192c83458125fdf | [] | no_license | craiggrabowski/filterr | 4bb2ed03383f7d02579d4bd89362c4997ed70c5a | 61bc35c7b44afbe61241271027d8eda272698026 | refs/heads/master | 2021-09-07T02:46:27.221736 | 2017-11-08T04:43:57 | 2017-11-08T04:43:57 | 108,204,558 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 818 | r | test-column.R | library(filterr)
context("column")
test_that("column returns a column object", {
f <- function(x) expect_true(is_column(column(x)))
xx <- list(
"x",
"y"
)
lapply(xx, f)
})
test_that("column converts to character as field name", {
f <- function(x) expect_equal(
as.character(column(x)),
x
... |
6eac3dfc1d81807773bcde9ead5d90be1af88323 | ee1b86317331e288b06e0d409a2f6eb35201d7ee | /server.R | bd9658f22dbc1942e0ba7b9ae1022fc028d26e1e | [] | no_license | usilva12/distribucion-viajes-linea2-trolebus-merida | b4bb27fef2f818aeb361bd9e87f5876155ae6f0d | d03ccf9c90b104c200de5d01c960e2d626a536aa | refs/heads/master | 2021-06-17T16:37:36.590219 | 2017-05-27T21:34:17 | 2017-05-27T21:34:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,765 | r | server.R | library(readr)
library(igraph)
source('matriz_viajes.R', local = TRUE)
source('calculo_rangos.R', local = TRUE)
viajesData <- read_csv("~/Documentos/odiseo/r-shiny/time-range-slider/viajes.csv")
conteoBuses <- read_csv("~/Documentos/odiseo/r-shiny/time-range-slider/conteo_buses.csv")
source('inicializar_nodos.R', lo... |
34d3922d34687b924fb07d8631aed08680d3c1cf | f5224269ceced4aaeb094a2a16096794c9ce2761 | /SARS-CoV-2_NCATS_ACTIV_Combo/scripts/3.1_fit_drc_dose_response.R | de2d0fc31ce135cc44fe4a61172efa61f5a2e8f9 | [
"MIT"
] | permissive | jilimcaoco/MPProjects | 2842e7c3c358aa1c4a5d3f0a734bb51046016058 | 5b930ce2fdf5def49444f1953457745af964efe9 | refs/heads/main | 2023-06-15T04:00:46.546689 | 2021-06-29T02:57:46 | 2021-06-29T02:57:46 | 376,943,636 | 0 | 0 | MIT | 2021-06-29T02:57:47 | 2021-06-14T20:08:32 | null | UTF-8 | R | false | false | 5,663 | r | 3.1_fit_drc_dose_response.R |
library(plyr)
library(tidyverse)
library(MPStats)
well_scores <- readr::read_tsv("intermediate_data/well_scores.tsv")
single_agent_well_scores <- dplyr::bind_rows(
well_scores %>%
dplyr::filter(sample_label_2 == "DMSO") %>%
dplyr::mutate(
compound = sample_label_1,
lo... |
624623ed91c43c4e7ea337e0907bea8a041cc69d | 5292d2709b99226212ab2194fcd4a60bfaaea93f | /RAnalysis/Scripts/Resp_rate_calculation.R | 1d8a7ce8eeb35dd0b5082108132cb2538449bdee | [] | no_license | SamGurr/Juvenile_geoduck_OA | 307b233c5c616c532da9fe998d5ad96ae864a5f7 | 7e48e401fbc1277d3b7c106906e952fb19955c39 | refs/heads/master | 2020-04-13T09:46:30.041264 | 2020-01-24T14:52:16 | 2020-01-24T14:52:16 | 163,120,436 | 1 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 7,224 | r | Resp_rate_calculation.R | # Project: Juvenile_Geoduck_OA
# Title: Resp_rate_calculation
# Supported by: FFAR
# Author: Sam Gurr
# Date Updated: 20190410
# Contact: samuel_gurr@uri.edu
rm(list=ls())
# Install packages if not already in your library
if ("plyr" %in% rownames(installed.packages()) == 'FALSE') install.packages('plyr')
# Load pac... |
e2aea512ac374c964a5d855b30e20b5cd631ab9a | 0b7d31819adf568850f5a9c7f3d454c39343b7ef | /ex8.R | 7c2de8957e488d5fa8ef51822975634353afc0ce | [] | no_license | cccccx/DA | e79c9d6a6d3f2127fcb41e6f27511ed53e67db19 | 47d2444c020aba5a1da80835e6144b83a3dc5e7d | refs/heads/master | 2020-05-07T22:16:16.968607 | 2015-04-23T12:37:27 | 2015-04-23T12:37:27 | 30,365,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,509 | r | ex8.R | library("NLP")
library("openNLP")
library("openNLPmodels.en")
library("tm")
library("tau")
library("koRpus")
library("SnowballC", lib.loc="/Library/Frameworks/R.framework/Versions/3.1/Resources/library")
library("topicmodels", lib.loc="/Library/Frameworks/R.framework/Versions/3.1/Resources/library")
`r2` <- read.csv("~... |
cb4375bafd0603b39be4c00308f42989c2c58d74 | 58fd3b96113e90860cc683c1dd29250c2f965e9a | /R/svy_freq.R | 284f7828e694cb10d01bad7cfd8b2b5a4dc3ae77 | [] | no_license | dacarras/r4sda | d0a75ef2f6425dc263ff8638345e0191d58f56df | 702465d57f125551eb71250a1b2c4ba106a9cca9 | refs/heads/master | 2023-01-13T07:30:45.381142 | 2022-12-29T14:23:57 | 2022-12-29T14:23:57 | 167,874,962 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,743 | r | svy_freq.R | #' svy_freq() estimates proportion for observed values of a categorical variable, from a survey object.
#'
#' @param data a survey object, or survey data frame (i.e. TSL, JKN, BRR or else)
#' @param variable selected varible from the survey object
#'
#' @return a tibble with the estimated proportion, and their 95% conf... |
584d1de74ca5b9d2f9ce6e17fc9fe0aa4700045b | 935c46d25701ca565492a61506921b144c032c8b | /group_lasso/group_lasso_old.R | 921fa3eb1c0e16bbac7943ed49ed27128b56d248 | [] | no_license | GTEx-etc-jusuE404/tissue-specific-expression | 34bdc3adcceb71616deb7583d77f142cd05d83a8 | 518f99072004afdf2791154037d78a38e27ae1e7 | refs/heads/master | 2022-05-06T15:09:21.041325 | 2016-12-10T08:41:16 | 2016-12-10T08:41:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,749 | r | group_lasso_old.R | rm(list=ls())
# load libraries
library(grplasso)
library(AUC)
library(ggplot2)
library(caret)
cv.grplasso <- function(x, y, index, nfolds = 5, nlamdas = 20, plot.error=FALSE) {
# select the parameters
lambda <- lambdamax(x, y = y, index = index, penscale = sqrt, model = LogReg()) * 0.5^seq(0,5,len=nlamdas)
N <-... |
84da040645b4b46f523dce272a125baf87e3f9e5 | 9dab19a3e8a1f11bb5de7666bf90427dcda71380 | /data-raw/MyRestaurants.R | bbbe1649c73b801449dbda01c8fedb38abe7ac2b | [] | no_license | srkwon/mdsr | 4a6aa4f2a400b069c73b538b2b964dc080ec48c3 | 389915038707052f92585d73eaf55bd13d4eb1cf | refs/heads/master | 2023-03-29T17:17:01.418014 | 2021-03-29T20:05:33 | 2021-03-29T20:05:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,159 | r | MyRestaurants.R | # MyRestaurants
# df <- read.socrata("https://data.cityofnewyork.us/resource/fhrw-4uyv.csv?$where=date_trunc_ymd(created_date)='2015-03-18'")
url <- "https://data.cityofnewyork.us/api/views/xx67-kt59/rows.csv?accessType=DOWNLOAD"
download.file(url, "data-raw/dohmh_nyc_violations.csv")
require(readr)
require(dplyr)
vi... |
46f691e11691a84456d3a9658b948a9c90eace21 | 1a5eca06828772da7009e6d160e164d223e05514 | /r_shiny/prevendo_qualidade_de_veiculos/ModeloCarros.R | ab2369b61cf2c771d98b210fec15dae9b9b21739 | [] | no_license | murilo-cremon/R-Lang | 2c4bc8ea214f2fda25c7e785e6cf96f8bdab32cb | 2d77d10bbf096c17aa03e87570d7612229f04910 | refs/heads/master | 2020-12-28T12:48:42.731279 | 2020-02-05T01:10:26 | 2020-02-05T01:10:26 | 238,333,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 181 | r | ModeloCarros.R | library(e1071)
carros <- read.csv(file = "car.data", sep = ",", header = TRUE)
modelo <- naiveBayes(class ~ ., data = carros)
saveRDS(modelo, file = "./RDS/naiveBayesCarros.rds") |
24f112e3f77da84e17b23bf1d5da0d1b4b28a432 | c666224d413bcd9d2697f39205619716b8f25a5c | /shiny/release_V3/server.R | a4466065e7d9e5937052f81afa414c987450582d | [] | no_license | xulong82/wgs | dbccd4e51da14bc169b4a3d79169e3792cddd444 | 88a7b5833ed34a1fca987e968d98b4c202ef325a | refs/heads/master | 2021-01-17T16:44:51.666100 | 2018-01-02T21:38:09 | 2018-01-02T21:38:09 | 58,670,966 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,608 | r | server.R | library(shiny)
library(ggvis)
library(dplyr)
library(ggplot2)
load("data.rdt")
for(obj in names(shinyList)) assign(obj, shinyList[[obj]])
shinyServer(function(input, output, session) {
table <- addi[c(17:22, 16, 7, 25:29, 33:35, 38, 39)]
points <- reactiveValues(selected = NULL)
output$table_1 <- ... |
e29485288b13e55baf6b98af285758bbd164332a | 47602ccc1d2720b78caca95416b5008a22d8e68f | /samplecodes/add-one.R | 59d7962a83d6c2463f534b6c48cf51c8c6c3aeb5 | [
"CC0-1.0"
] | permissive | everdark/rbasic | a71c00ba943fbebcf8dbf729717595db814aaafb | a218f864b2f595241385ff6ab1d316e7b154b3cd | refs/heads/master | 2016-09-12T23:43:42.346555 | 2016-05-13T11:48:58 | 2016-05-13T11:48:58 | 55,966,164 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 93 | r | add-one.R | #!/usr/bin/env Rscript
cmdargs <- commandArgs(trailingOnly=TRUE)
as.integer(cmdargs[1]) + 1
|
d6cb5487f308c69c711eac5df86ffeeebfea21dd | 47232a6daa897c48fbee2c0ddf2ee9c3bc0a6a1e | /R/cite-loaded-packages.R | 06287e5a9f60bcd7e45896b3f93398a72c2aa3ca | [] | no_license | mustafaascha/mustafamisc | 99643af702c5283ccc7153fa61a8494b615b918d | b8ee198dc082734643e527b2a9e9b930fa9e2f50 | refs/heads/master | 2021-01-20T12:06:53.170004 | 2018-05-01T16:27:30 | 2018-05-01T16:27:30 | 66,119,021 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 285 | r | cite-loaded-packages.R |
#' Cite all loaded packages
#'
#' @return
#' @export
#'
#' @examples
#' library(Hmisc)
#' bib_loaded_packages()
#'
bib_loaded_packages <- function(){
lp <- loaded_packages <- search()
lp <- lp[grepl("package", lp)]
lp <- gsub("package:", "", lp)
lapply(lp, citation)
}
|
2e09522b2c891dbeca7ce6f85a7302aba4a35c56 | df3fb88cef9398b02709f12a9ee91691bdf349bc | /Oman R Users/Oman R Users Script.R | 2c9ab10c90f0bb106dcd36cc43c36a43c0a12779 | [] | no_license | ggSamoora/Workshops | e9deddfa41281ea9f421ee3367fbacdb22b7fa16 | a858adfbf206778d0a90231dae9f0bb004a9f579 | refs/heads/main | 2023-04-19T01:13:05.856196 | 2022-10-17T06:16:00 | 2022-10-17T06:16:00 | 537,260,304 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,005 | r | Oman R Users Script.R | # set the locale to Arabic
Sys.setlocale("LC_ALL","Arabic")
# load necessary packages
library(tidyverse) # for data wrangling
library(rvest) # for web scraping
library(data.table) # for faster merging of data
# start out with one link
# NOTE: You may need to change the link in here, because the url may have ... |
3f22ce41bb07a263cd207cbba9462c31a6f5bd8b | 3847a390b91d02bba38c0ce92218578de2a5e9c9 | /cachematrix.R | 48efcabe673313758da4d3b942e2d327376fe27b | [] | no_license | JZirnstein/ProgrammingAssignment2 | b2373230f27b68a00c887bda7d70b48604da788b | a095e0fa93636de378d4f9e3d38097f2d974f068 | refs/heads/master | 2021-01-18T02:12:12.928664 | 2014-12-17T02:46:55 | 2014-12-17T02:46:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,169 | r | cachematrix.R | ## The following functions will satisfy the Programming Assignment 2
## of the rprog-016 class on Coursera (December 2014)
##
## They will create a special object to store a matrix and cache its inverse.
## I'm assuming all matrices presented are invertable.
## This function creates a special "matrix" object
## that c... |
8afb9a56c42975c83a0feb7b7d8a5f350d695718 | 8a9753149421692cece36951a7fcf4fe910978db | /06.treemix/06.run.r | fb1572c37a052b638ea03ee5d30bb56e62edad70 | [] | no_license | Huiying123/Populus_speciation | e9b17307a8477eb21d822d312c87415b05277edf | fb8ce330b437b0bd45b008d9872ff6360b6b24f7 | refs/heads/main | 2023-04-18T21:58:30.779900 | 2022-12-06T08:46:36 | 2022-12-06T08:46:36 | 348,393,839 | 5 | 1 | null | 2022-01-23T14:43:57 | 2021-03-16T15:13:30 | Shell | UTF-8 | R | false | false | 295 | r | 06.run.r | library(RColorBrewer)
library(R.utils)
source("plotting_funcs.R") # here you need to add the path
par(mfrow=c(4,3))
for(edge in 0:10){
plot_tree(cex=0.8,paste0(prefix,".",edge))
title(paste(edge,"edges"))
}
for(edge in 0:10){
plot_resid(stem=paste0(prefix,".",edge),pop_order="dogs.list")
} |
f8201a4cf9808e0b29c594a9add8526a7cb949ce | 701126efc2e5c4fd913fb880afc65ffc5591b4d2 | /man/plotDensities.Rd | 3052b79361d69dd9de5dee526a19baeee790ff0e | [] | no_license | timpeters82/aaRon | 340f9eb00c70879bb5f173b6433bf7ca5c74c3e3 | ea2c009121b8221740a9a04f64389306d13cb5bf | refs/heads/master | 2020-12-25T17:56:27.536462 | 2017-04-26T08:18:40 | 2017-04-26T08:18:40 | 58,909,291 | 0 | 0 | null | 2016-05-16T06:49:11 | 2016-05-16T06:34:21 | R | UTF-8 | R | false | false | 961 | rd | plotDensities.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/plotDensities.R
\name{plotDensities}
\alias{plotDensities}
\title{plotDensities}
\usage{
plotDensities(s, col = NULL, xlim = NULL, ylim = NULL, na.rm = TRUE,
main = "", xlab = "", ylab = "Relative Frequency", ...)
}
\arguments{
\i... |
2391f60ccb67a9b233c55fa6a0e866bd8b10efde | 21845f139f8c4dcc3a21b133a9d3e6620eb89bc4 | /man/cockroachALData.Rd | b81b0e3490a3ce7c48737e700fa1d22df2ba42b0 | [] | no_license | cran/STAR | 257a4e63d61f3a5b664b1fa6770d2383096cddb9 | c88668ba8a508206fdc5ef4406b6373c492f2806 | refs/heads/master | 2021-01-13T01:49:39.256279 | 2012-10-08T00:00:00 | 2012-10-08T00:00:00 | 17,693,622 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,254 | rd | cockroachALData.Rd | \name{cockroachAlData}
\alias{CAL1S}
\alias{CAL1V}
\alias{CAL2S}
\alias{CAL2C}
\alias{e060517spont}
\alias{e060517ionon}
\alias{e060817spont}
\alias{e060817terpi}
\alias{e060817citron}
\alias{e060817mix}
\alias{e060824spont}
\alias{e060824citral}
\alias{e070528spont}
\alias{e070528citronellal}
\docType{data}
\title{Spi... |
b9af70a86ed65c5fe706ce695d4d97906ee2abe8 | dc220af6e3f9d80885301728097bf14f3a425bfd | /Plot4.R | d26f66f63ecc7ac7dab9c6d35ad56a985da26913 | [] | no_license | GregRicciCPA/EExploratory-Data-Analysis-projecet | f62d628fce17fba2f6ad30e6260e736b764baabf | d825b8fd9dcdf628ff0c08a1037fd63b7f1b6c00 | refs/heads/master | 2020-05-19T10:25:18.704922 | 2019-05-05T03:11:32 | 2019-05-05T03:11:32 | 184,970,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,891 | r | Plot4.R | ## Plot1 Code
## Exploritory Data Analysis - Peer-graded Assignment: Course Project 1
## Greg Ricci
## The Dataset Dataset: Electric power consumption [20Mb]
## was downloaded and unzipped to local directory due to size
getwd()
setwd("C:/Users/Anthony/Documents/Coursera/ExpDataC4")
xdata<- read.table("hou... |
c2d81239a3bfd844f34b0274c2503b3b36a5d450 | aca1a4254acf2f73e026b732fbc57d67a246063c | /src/02b-parameterize_models.R | ed0574d55e25f454213bdbfeda9a81b5cbc011d1 | [] | no_license | timriffe/rbx2020 | 1d629a3c32fd7cac909f3396f2b1eb3568b67d75 | b1d97c58c20ad410c3be5bde8c1a839f5f36c8eb | refs/heads/main | 2023-06-06T21:03:57.879013 | 2021-07-09T15:48:48 | 2021-07-09T15:48:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,962 | r | 02b-parameterize_models.R | # Parameterize expected death models
# A list specifying all the models to be tested, and their
# parametrizations. See specify_models.R for the exact
# implementation of the models.
# Init ------------------------------------------------------------
library(dplyr)
library(here); library(glue)
wd <- here()
setwd(wd... |
3b7d1d38005d7d4af603dd439f145077b9d94bc7 | d2a7b8c2dd7a9fc2afb86703eac631f2414417e4 | /TLBC/man/loadPredictions.Rd | 1a647bcc9f5b29dbcae2494bf01594098de1704b | [] | no_license | MatthewWilletts/Activity | 2c034998fadbdd6dab1f186b43aa38d19a348ce8 | e7efb260f5e4ac532644748bc32c68a80bf1ff9c | refs/heads/master | 2021-01-21T14:23:25.701201 | 2017-01-17T22:51:41 | 2017-01-17T22:51:41 | 56,143,670 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 813 | rd | loadPredictions.Rd | \name{loadPredictions}
\alias{loadPredictions}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Load predictions
}
\description{
Function to load predictions from csv files in a directory.
}
\usage{
loadPredictions(predDir, names=NULL)
}
%- maybe also 'usage' for other objects document... |
f9a2755e37081bbb08465059a36f13544cef9676 | 67375468b45aef18d168e1d8eb21bcbda2ea144b | /revision_denovo_STOMP.R | 0999f87e431dce9d48b232d485459ee7f01cda4b | [] | no_license | ybaik10/clinicalriskscore | 2874bb4c408931258a3ad1db935ce62ed11e5686 | a8e3c40e4cd77ecb57a09de491a2c9805964ee98 | refs/heads/master | 2022-12-27T07:44:43.588369 | 2020-10-13T15:29:26 | 2020-10-13T15:29:26 | 299,670,964 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,485 | r | revision_denovo_STOMP.R | ######################################################################################################################################################################################################
################################### Xpert TB case definition ############################################################... |
be596476d38e6b41a2b8784862a296e65e8b6438 | 110731767c52d468a6eb958fe2a7bd1d76b405fb | /man/set_vlp_input.Rd | 18c0e03671bd44a27deadcea9f5dc9e691e720b1 | [] | no_license | JFernandez696/rNodal | 1a7e2fc3ab9930bbc208701688e31bac9fe84ce6 | 09bc0fedbc0f5517233b8a2d2cbe94f659e5473a | refs/heads/master | 2021-10-20T00:09:33.150787 | 2017-10-27T19:35:22 | 2017-10-27T19:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,449 | rd | set_vlp_input.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/all_generics.R, R/class-VLP.R
\docType{methods}
\name{set_vlp_input}
\alias{set_vlp_input}
\alias{set_vlp_input,VLP-method}
\title{Set the VLP input for the well}
\usage{
set_vlp_input(object, ...)
\S4method{set_vlp_input}{VLP}(object, field... |
6a6b12be79a2f69ac181183e445597f45c5c465e | 167dc4df143d856f9e361b2320f26e2253d56f73 | /bbs/bbs-spPGOccGP.R | 28e709d29395d959ecfcb71bd12c24fa5a7ec7eb | [] | no_license | doserjef/Doser_etal_2021_spOccupancy | 3bb5d930eb21c946ee518df8cedf0cb612cf5cc9 | f68bc26ee2fa8d91175039cf496e0edeb794c114 | refs/heads/main | 2023-04-11T17:46:02.564432 | 2022-04-04T10:31:07 | 2022-04-04T10:31:07 | 422,871,478 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,542 | r | bbs-spPGOccGP.R | # bbs-spPGOccGP.R: this script runs a single species spatial occupancy model for
# Black-throated Blue Warbler across the eastern US in 2018.
# The model is fit with a full Gaussian process.
# Author: Jeffrey W. Doser
# Citation:
rm(list = ls())
library(spOccupancy)
library(coda)... |
f2730b557ddd9df6f6ca2caf4f65da7e88d3ee07 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_ThornthwaiteWilmott/AFL_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1615831050-test.R | 52edd9dceac286289b7bdf5fac43165a9f68344b | [] | 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 | 604 | r | 1615831050-test.R | testlist <- list(doy = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), latitude = numeric(0), temp = c(9.61276249046606e+281, 9.61276194949246e+281, 8.44440274424104e-227, 2.37636672466555e-212, 8.5728629954997e-312, 1.56898420607264e+82, -1.39145984782891e+306, -2.4457606875069e-94, 2.79620616431139e-119,... |
bc0b331c8abbc20f407b4be0c850c1bdf860a0de | c320f24a8099951a226944cb5ca681808f6689c5 | /2a_Genome_assembly/E_assembly_evaluation/batch_table_functions.R | 9820b40fc51bd77a65c1456dbaaab0a7e9f48ad1 | [] | no_license | AsexGenomeEvol/Timema_asex_genomes | 8abb44a8eee376aaf1e9f71fa3a825a9c2850416 | d224ec578dce30799e152a9a29b134fd725e0ad5 | refs/heads/main | 2023-04-16T02:55:04.951616 | 2022-05-31T16:27:42 | 2022-05-31T16:27:42 | 313,881,475 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,624 | r | batch_table_functions.R | require(AsexStats)
read_busco <- function(asm_path){
if(is.na(asm_path)){
return(data.frame(complete = NA, duplicated = NA, fragmented = NA, missing = NA))
}
busco_file <- dir(asm_path, full.names = T, pattern = 'short_summary')
if(length(busco_file) != 1){
return(data.frame(complete = ... |
6a87bcc86eb1ef62e68ac02a0914d191d054613f | 9f3c0e3d1030a760b2ab2aaeea0c63df6f428315 | /RY-Shiny/app.R | 25d19a010488fa8a5c6b0fa31c8948a1fae120b2 | [] | no_license | ISSS608-G1-Group11/ISSS608_Group_Project | 0223db7814b00df70b8ce364c643d073d469624d | 7f63fcd8f711213e79a3f8b8e2152d218a85ef86 | refs/heads/master | 2023-07-07T15:14:26.765999 | 2021-08-15T18:17:05 | 2021-08-15T18:17:05 | 378,569,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,683 | r | app.R | library(shiny)
packages = c('raster','sf','tmap','clock','tidyverse','lubridate','ggiraph',
'ggthemes','viridis','plotly','treemapify','igraph','ggpubr',
'readr','mapview')
for (p in packages){
if(!require(p, character.only = T)){
install.packages(p)
}
library(p,character.... |
ca5060924dbbd7b875198fb6c8aa7191e29b0cde | 28259b09f412e7e2e044d4b85e74d161c9b050a4 | /man/Gauss3.Rd | 935d1e0d412e9e3f90ee40aeef7ee31e55c78665 | [] | no_license | dmbates/NISTnls | 584048b42b46e693bd017c199f78f384c77138c7 | 8ab6f2804eef9e6df10e3c88d17b39784eecde28 | refs/heads/master | 2021-01-15T13:45:10.545698 | 2012-09-05T22:34:25 | 2012-09-05T22:34:25 | 5,692,485 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,376 | rd | Gauss3.Rd | %%% $Id: Gauss3.Rd,v 1.3 2003/07/22 19:42:20 bates Exp $
\name{Gauss3}
\alias{Gauss3}
\non_function{}
\title{Generated data}
\description{
The \code{Gauss3} data frame has 250 rows and 2 columns giving generated
data of Gaussian peaks with a decaying exponential background.
}
\format{
This data frame contains the fol... |
a2a74a6886af5f55a255e5eb2ba20fdb3fa78892 | f9d6ff022b97ff2d299c8927cdb8884d51e51701 | /R/replace_on_condition.R | 63bf1aef34d6d6ba329414ab490059ba4612dc61 | [] | no_license | antchau/glider | c0571ef7e69c440ca11f99026e0725ed3e126f2b | 9deaafc9aaca9c5f1e9d4fd143d8872169824a7e | refs/heads/master | 2023-01-22T03:05:37.216056 | 2020-11-30T22:26:44 | 2020-11-30T22:26:44 | 286,846,018 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,324 | r | replace_on_condition.R | #' Mutate column given a condition
#'
#' @param df A data frame
#' @param condition An anonymous Function that evaluates to a boolean.
#' @param pattern_condition_col A regex pattern that specifies the column to test the condition. As of now, limit
#' to only one condition column
#' @param replacement_value Replacement... |
0028f10fe8caffc17dcc475bd2b0a185b0b36079 | 8f5305f4cb54ffd6e976918aee15abc88c8f2e2c | /MQMpackage/man/plot.MQMone.Rd | 0af67773fb37873d57340e1bd89be32cb1c30f84 | [] | no_license | pjotrp/qtl | 1029f7f67cfbe2301d8ee722818f454b195fa620 | 36527911f2dfb58abc7a076d5ed314cf554cbfa7 | refs/heads/master | 2016-09-06T20:11:17.419727 | 2009-04-23T12:10:54 | 2009-04-23T12:10:54 | 110,997 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,420 | rd | plot.MQMone.Rd | \name{plot.MQMone}
\alias{plot.MQMone}
\title{ plot.MQMone - Plotting routine to display the results from a MQMscan }
\description{
Plotting routine to display the results from a MQMscan
}
\usage{
plot.MQMone(result = NULL, result2=NULL, extended = 0,\dots)
}
\arguments{
\item{result}{ Results from scanMQM of t... |
93f0f24b662aef98e370a2d184b1a1f6f63f0b8d | b65ad7c3e3789f802aaddaf4825d115f679f37bb | /man/decompTSbfast.Rd | 6e2474ef2f2202e24033e739854da3ff6a7c23eb | [
"Apache-2.0"
] | permissive | RETURN-project/BenchmarkRecovery | 6f053e6db100f0aa65e49f31188a8567ef3b503b | a82dd7043185b97f6720a3e7ea7bb0d1c0d0b501 | refs/heads/master | 2023-04-19T02:44:23.632332 | 2021-07-13T12:06:04 | 2021-07-13T12:06:04 | 207,575,104 | 0 | 1 | Apache-2.0 | 2021-07-13T12:35:35 | 2019-09-10T14:00:52 | R | UTF-8 | R | false | true | 2,183 | rd | decompTSbfast.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fun_characterize.R
\name{decompTSbfast}
\alias{decompTSbfast}
\title{Decompose time series into trend, seasonality and remainder: This function decomposes time series into three components using BFAST01 functionality: trend, seasonality and r... |
4baa0150bad20325cbcd5d7e03ddc24987ba2d6d | 705584bc6ae940229a6a4f1cdd80a7e6e6adf4b7 | /HomeworkForAllele.R | f1f87d71e5db43c944e92d4b6a3ce884f63b35ea | [] | no_license | hienle215/HandsOnGenetics | f87cd386ea8205158cfc5aaa1aa6d8353e509bda | 12577814686f3b0a192863fa695e08995724d018 | refs/heads/master | 2023-01-22T13:52:37.187615 | 2020-12-03T11:45:10 | 2020-12-03T11:45:10 | 308,636,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 585 | r | HomeworkForAllele.R | ###ASSIGNMENT 3
# Make a vector were you store the genotype data
genotype <- c("A/A","A/T","T/T","A/A","A/A","A/T","A/A","A/A","A/A","A/T")
genotype
#Make the tyab function to calculate the genotype counts
```{r, prompt=TRUE}
tb <- table(genotype)
tb
```
#Use the formula for counting the allele frequencies
#Indexing a... |
fe6098b191fd4cfff73f9ccc4b6e1b518589be08 | 59814a0b78638216a579ab39fcd89922ccbb1c9e | /R/CTABLE.R | 08865fc0459f88b2a40ba422ad6e5502c84ffa51 | [] | no_license | MarkusLang1987/MPCodes | 6f900f4dbc0d946fb562c229029a095cc12b5cc3 | 8b6ff8cfdf78d1342887a984bf92ad8270577611 | refs/heads/master | 2020-03-07T10:59:03.554543 | 2018-04-19T09:23:49 | 2018-04-19T09:23:49 | 127,444,840 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,234 | r | CTABLE.R |
mp_CTable <- function(data, varx, vary, Gewichtung = FALSE, varGewicht){
a = 1
b = 2
frqtab <- table(data[[varx]], data[[vary]])
proptab <- round(prop.table(frqtab, 2), 2)
Ergframe <- data.frame(matrix(nrow = nrow(frqtab), ncol = ncol(frqtab) * 2))
for(i in 1:ncol(frqtab)) {
... |
b5d975a2758b8b0986fd53b3df192582728521f2 | afed6bdf5b2b39e61c1d108f8a856e4ce38031a7 | /05-olympics/olympics.R | 9089b01c63da71c26ea426c418a48da8d6e32d00 | [] | no_license | baifengbai/tidy-tuesday | ef97a1c1ce4ffad064f146e76a259926fb9fd773 | 97c8002212cbe76a8c330f045975eab64656938f | refs/heads/master | 2023-07-13T04:45:07.250863 | 2021-08-18T15:31:35 | 2021-08-18T15:31:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,527 | r | olympics.R |
# Setup -------------------------------------------------------------------
librarian::shelf(tidyverse, ggbump)
olympics <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-07-27/olympics.csv')
glimpse(olympics)
rank <-
olympics %>%
mutate(points = case_when(m... |
68d6b21c525690b892094e7c563c90c92eec2839 | e9d1de2290c91be3225a8d245c36ad5a1e1049f8 | /man/fretr.Rd | ecc4568403f8bd3fe099e5f36f91d316a5ebf8dd | [] | no_license | mwrowe/fretr | 895b066c596dc10d04a6df9127ff17afc1397dbb | 75fbbe16b015be89ca4ae6829b67f15ea6263d20 | refs/heads/master | 2021-03-28T00:17:56.622540 | 2020-03-16T22:42:44 | 2020-03-16T22:42:44 | 247,820,350 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,081 | rd | fretr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fretr.R
\docType{package}
\name{fretr}
\alias{fretr}
\title{Generate Fretboard Maps of Scales and Chords}
\description{
This package draws "fretboard maps", positions of notes along the fretboard
of a stringed instrument, such as a guitar. T... |
d4584208e57560c0fdafb64e2fc54c1afff24701 | 797f914f7521422905d808773693845089a7bb05 | /9_FigS6_PTEN_PI3K_PI345P3_perturbations/FigS6a.r | f42f35658b393593f1e3f922f25eef46ec3e747d | [] | no_license | LBSA-VoitLab/ENaC-regulation-by-phospholipids-and-DGK-explained-through-mathematical-modeling-main | 746ea99eba858d63ce560f82ddd2cabe89ae4bf7 | 43e20af276fa8dd391839d96ebef5a040d6a3597 | refs/heads/main | 2023-04-20T11:10:23.296179 | 2021-05-07T18:59:12 | 2021-05-07T18:59:12 | 365,327,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,985 | r | FigS6a.r | ### Please run the model first in the basolateral configuration (MK20_ENaC_7_basolateral.R) ###
# or alter the model to simulate basolateral part of the plasma membrane
# To do that, you must divide gammaPTENc_PTENa by 10
# This will decrease the PTEN ability to attach to the plasma membrane (became active)
... |
86ecb785818113b77b8202188be66587d6b8df5d | 8c0b0e9a59c7230f3a23dbe8b29d2cde68733524 | /man/speciesData.Rd | 2f2b453108c7e116f73f30af370945b8d896f4c2 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-other-copyleft",
"GPL-3.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-3.0-only"
] | permissive | RS-eco/rasterSp | 33754976f86858511ccd6562fd16d47205a9e0df | 8c007900ceb2679f8aee04aec4d936648df5191b | refs/heads/main | 2023-01-11T11:49:02.325118 | 2023-01-09T08:00:37 | 2023-01-09T08:00:37 | 225,630,913 | 19 | 7 | MIT | 2021-07-07T07:15:15 | 2019-12-03T13:48:02 | R | UTF-8 | R | false | true | 1,040 | rd | speciesData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/speciesData.R
\name{speciesData}
\alias{speciesData}
\title{Create dataframe of species presence from multiple raster files}
\usage{
speciesData(species_names = NA, path = getwd(), filename = NA, ...)
}
\arguments{
\item{species_names}{List w... |
1c63a612672a09d40f22f193ae807960ea8adb18 | 2a8b8606599677082d7210a13707158c0bc27278 | /man/check_winlinux.Rd | 79570c5b226f83fa93707dbfb2125227ccc00c73 | [
"MIT"
] | permissive | mathesong/kipettools | be223ac78bd4b80b43dfb625fdbcc98536c53988 | 98bc5564a2f28180e8ff5b477b19d3b63d26dafe | refs/heads/master | 2022-11-12T13:28:07.787173 | 2022-11-02T21:56:53 | 2022-11-02T21:56:53 | 114,106,094 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 414 | rd | check_winlinux.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/system_checks.R
\name{check_winlinux}
\alias{check_winlinux}
\title{Check if the Windows Ubuntu extension is installed and available}
\usage{
check_winlinux()
}
\value{
Logical of whether Ubuntu can be called from Windows
}
\description{
Chec... |
2c4859bb3dc54365a85647ce5575bc1234fd9639 | 2099a2b0f63f250e09f7cd7350ca45d212e2d364 | /AI-Dataset/Summary_rnd/S000437021300129X.xml.A.R | b7c82c17332adacb936018107415cf0b6d27fa22 | [] | 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 | 1,311 | r | S000437021300129X.xml.A.R | <html>
<head>
<meta name="TextLength" content="SENT_NUM:7, WORD_NUM:151">
</head>
<body bgcolor="white">
<a href="#0" id="0">To this end we first introduce fact-changing epistemic expectation models and protocol models, {a mathematical formula}MexpF and {a mathematical formula}AF, given by {a mathematical formula}〈Mexp... |
93d7bf9701b06e6e4e716146988a55f39a4c6387 | a2310bfbb79bf1ccf14f40477158ca3d26965952 | /8_IRT.R | c74fba1bf8b929060946769a9e0ed7bf4327139a | [] | no_license | dczhang1/analysisTemplates | a2ca8a46819e48ebbcb054fd1595266b82fc76e9 | c3dd65ae16d0e93be0baa89001ab53d25aa7db33 | refs/heads/master | 2023-09-02T19:33:28.603941 | 2023-08-08T22:00:46 | 2023-08-08T22:00:46 | 214,302,559 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,161 | r | 8_IRT.R | ### Item response theory
library(ltm)
### Unidimensional Graded Response Model
# df should contain only vars for the analysis
grm.model.1 <- grm(df)
summary(grm.model.1)
coef(grm.model.1)
plot(grm.model.1, type = "ICC")
plot(grm.model.1, ... |
a341a385751b9772087f48d5e536e1dad92e2404 | 255bde5d965a626504175d1800d22896f6820eed | /R/binGroupReg.r | 6873963326fd21f628ade063943892d9c64f59cd | [] | no_license | cran/binGroup | f0345d60454b835216ba4d29bbcbd193f3557f81 | 288a6aa03e33afa530fc1fd1eb3ad39f5b25427d | refs/heads/master | 2021-01-22T11:59:06.761427 | 2018-08-24T10:24:26 | 2018-08-24T10:24:26 | 17,694,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 57,826 | r | binGroupReg.r | gtreg <- function(formula, data, groupn, retest = NULL, sens = 1, spec = 1,
linkf = c("logit", "probit", "cloglog"),
method = c("Vansteelandt", "Xie"), sens.ind = NULL, spec.ind = NULL,
start = NULL, control = gt.control(...), ...) {
call <- match.call()
mf <- match.call(expand.do... |
1834f90b312ddd6bff871494021810049d4ff3f4 | cef3b5e2588a7377281a8f627a552350059ca68b | /cran/paws.application.integration/man/swf_poll_for_decision_task.Rd | c16e34fc4f57260bba4e901857f695a511c8b265 | [
"Apache-2.0"
] | permissive | sanchezvivi/paws | b1dc786a9229e0105f0f128d5516c46673cb1cb5 | 2f5d3f15bf991dcaa6a4870ed314eb7c4b096d05 | refs/heads/main | 2023-02-16T11:18:31.772786 | 2021-01-17T23:50:41 | 2021-01-17T23:50:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,959 | rd | swf_poll_for_decision_task.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/swf_operations.R
\name{swf_poll_for_decision_task}
\alias{swf_poll_for_decision_task}
\title{Used by deciders to get a DecisionTask from the specified decision
taskList}
\usage{
swf_poll_for_decision_task(domain, taskList, identity, nextPageT... |
0c197efb2e89c913726428892563eca8afa1cb48 | 14fad1c1a177ba6b91b788fd892426d51a2622ab | /code/deprecated/001_fnPopSim.R | a0cef9f9d9f734f476fafdc0d06210caa41d818f | [
"MIT"
] | permissive | Sz-Tim/kelper | 9a29b8f84a305444c755ef57dbf37677ebd176c9 | b3785c71e5b32ad5517f4e650356639f1a475c5f | refs/heads/main | 2023-08-07T12:45:39.837032 | 2023-08-01T13:38:28 | 2023-08-01T13:38:28 | 438,286,692 | 0 | 0 | MIT | 2023-08-01T13:38:29 | 2021-12-14T14:36:51 | R | UTF-8 | R | false | false | 14,563 | r | 001_fnPopSim.R | # KELPER
# Simulation functions
# Tim Szewczyk
# Population simulation functions
#' Simulate one population
#'
#' @param pars List of parameter values
#' @param N0 Vector of initial density for each stage
#' @param ndraws Number of draws from the posterior distribution to use
#'
#' @return
#' @export
#'
#' @examples... |
61022aab987d26ed51aa77a6f9e0eda4934da5e0 | 6464efbccd76256c3fb97fa4e50efb5d480b7c8c | /paws/man/workspaces_copy_workspace_image.Rd | dca9266bad09e935e48a2cf410e290ad64c051ec | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | johnnytommy/paws | 019b410ad8d4218199eb7349eb1844864bd45119 | a371a5f2207b534cf60735e693c809bd33ce3ccf | refs/heads/master | 2020-09-14T23:09:23.848860 | 2020-04-06T21:49:17 | 2020-04-06T21:49:17 | 223,286,996 | 1 | 0 | NOASSERTION | 2019-11-22T00:29:10 | 2019-11-21T23:56:19 | null | UTF-8 | R | false | true | 1,014 | rd | workspaces_copy_workspace_image.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/workspaces_operations.R
\name{workspaces_copy_workspace_image}
\alias{workspaces_copy_workspace_image}
\title{Copies the specified image from the specified Region to the current
Region}
\usage{
workspaces_copy_workspace_image(Name, Descriptio... |
2ca4c07a3aefdf016e7d5bef4157245ae08eb23c | 898abf9bf3ea541c2e70ce3a97d648f02643bd96 | /bubble_chart.R | 484c4ea322aa281c5792c32920fb0ff25627a149 | [] | no_license | 59161008/testGit | 027e68b5d15438cbae9a87b797178de45a7c6937 | d27f21f0ef2739850f82babcfda426094635d299 | refs/heads/master | 2020-05-23T02:32:28.441653 | 2019-05-14T11:25:45 | 2019-05-14T11:25:45 | 186,606,979 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,839 | r | bubble_chart.R | library(dplyr)
library(ggplot2)
library(plotly)
library(ggpubr)
library(RMySQL)
newdata = select(SourceData, Product, SalePrice, Profit)
data = newdata %>%
group_by(Product) %>%
count(SalePrice = sum(SalePrice),Profit = sum(Profit))
p = plot_ly(data, x = ~SalePrice,y = ~Profit,
type = 'scatter', mod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.